Map generation method and electronic equipment

By obtaining the user's reading progress and content information, the map of electronic books is dynamically generated and displayed, which solves the problem of difficulty in stimulating user interest in the existing technology, realizes the generation of personalized maps and community interaction, and improves the user's reading experience and Community activity.

CN118733157APending Publication Date: 2024-10-01HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310378792.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology is difficult to dynamically generate personalized maps during the electronic book reading process, and cannot effectively stimulate users' interest in reading and increase community activity.

Method used

By obtaining the user's reading progress and content information, it dynamically generates and displays a map, including descriptions of locations and features of read and unread content, allowing users to display and share personalized maps on the map, increasing the user's reading experience and community interaction.

Benefits of technology

It realizes personalized map generation, stimulates users' interest in continuous reading, improves community activity and users' sense of fun and accomplishment. By dynamically updating and sharing maps, it enhances the personalization and interactivity of the reading experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733157A_ABST
    Figure CN118733157A_ABST
Patent Text Reader

Abstract

The invention discloses a map generation method and electronic equipment, which are mainly applied to a user reading scene, taking a user reading an electronic book as an example, when the user starts to read the electronic book, a highly personalized map can be dynamically generated for the user based on information such as the reading progress of the user and the content of the electronic book, and in addition, the user experience is improved. And the advancing route of the character included in the electronic book can be dynamically displayed on the map. Therefore, the interest of continuous reading of the user can be stimulated, the user can be attracted to perform community sharing on the generated personalized map, the community activity is improved, and the pleasure and the sense of achievement are increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a map generating method and electronic device. Background Art

[0002] With the continuous development of Internet technology, electronic devices (such as mobile phones, tablets, etc.) have gradually become an indispensable part of people's lives. More and more people will use electronic devices to read e-books (such as novels, etc.) or listen to audiobooks. When e-books involve location-related content, how to generate and display the corresponding map to bring users a better reading experience is a problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a map generation method and an electronic device, which can dynamically generate a highly personalized map for a user based on the user's reading progress and reading content, thereby stimulating the user's interest in continuous reading and improving the user's reading experience.

[0004] In a first aspect, an embodiment of the present application provides a method for displaying a map, the method comprising: an electronic device obtains first content of a first document that has been read by a user, the first content including a first place and first geomorphic description information of the first place, the first document also including an Nth place and geomorphic description information of the Nth place, the Nth place and the geomorphic description information of the Nth place are content that has not been read by the user; the electronic device displays the first place and a geomorphic map of the first place in a map based on the first content, the map not including the Nth place and a geomorphic map of the Nth place.

[0005] By implementing the method provided in the first aspect, when a user starts reading a first document (such as an e-book, an audio book, etc.), a highly personalized map can be dynamically generated for the user based on the user's reading progress, the content of the first document, and other information. In this way, it can not only stimulate the user's interest in continued reading, but also attract the user to share the generated personalized map with the community, thereby improving community activity, and increasing fun and sense of accomplishment.

[0006] In a possible implementation, the method also includes: the electronic device obtains the second content of the first document that the user has read, the second content including a second location and topographic description information of the second location; the electronic device adds the second location and a topographic map of the second location to the map based on the first content and the second content.

[0007] In this way, the map can be dynamically expanded or updated incrementally from scratch based on the user's reading progress. As the user continues to read the first document, the full picture of the map will gradually emerge, stimulating the user's interest in continued reading.

[0008] In a possible implementation manner, the relative position of the second location with respect to the first location in the map is determined based on the position description information, and the position description information is obtained from the first content and the second content.

[0009] In this way, the relative position relationship between different locations can be acquired based on the content in the first document, and the relative positions of the different locations on the map can be determined based on the relative position relationship.

[0010] In a possible implementation manner, the first content includes one or more of the following: text, images, and audio describing the landform.

[0011] In this way, the modality of the content of the first document may be one or more modalities such as text, image, audio, etc., and the electronic device 100 may generate a map based on single-modal information or multi-modal information.

[0012] In a possible implementation, the second content includes second topographic description information of the first location, and the second topographic description information is different from the first topographic description information. The method further includes: the electronic device updates and displays the topographic map of the first location based on the second topographic description information.

[0013] In this way, as the user continues to read, if new topographic description information about an existing location on the map appears, the electronic device can update the topographic map of the existing location based on the new topographic description information.

[0014] In a possible implementation, before the electronic device updates and displays the topographic map of the first location based on the second topographic description information, the method further includes: the electronic device obtains authorization from the user to update and display the topographic map of the first location.

[0015] Here, “the electronic device obtains the user's authorization to update the topographic map showing the first location” may be, for example, the electronic device 100 detects that the user has requested Fig. 7E An operation (such as a click operation) of option 722 in .

[0016] In this way, the electronic device can update the topographic map of the existing location when it is determined that the user agrees to update the topographic map of the existing location, giving the user a certain right of choice.

[0017] In a possible implementation, an identifier of the third location is further displayed on the map, and the identifier is used to indicate that the content of the first document that the user has not read includes the third location and the geomorphic description information of the third location.

[0018] In this way, it is convenient for users to know in advance how many places will appear in the content to be read later, and it can also attract users to continue reading the subsequent content.

[0019] In a possible implementation manner, the first content and / or the second content includes a first character, and the method further includes: the electronic device displays a first route on a map, where the first route is a route of the first character.

[0020] In this way, the map can not only show the topography of the location, but also the character's route, increasing the amount of information on the map.

[0021] In a possible implementation manner, the first route is displayed with first identification information, and the first identification information is used to indicate that the first route is the route of the first character.

[0022] In this way, the user can easily know which character's route the route displayed on the map belongs to.

[0023] In a possible implementation, the first content and / or the second content also includes a second character, and the method further includes: the electronic device displays a second route on a map, where the second route is a route of the first character and the second character.

[0024] In this way, when the travel routes of multiple characters overlap, the travel routes of the multiple characters can be combined and displayed as one travel route.

[0025] In a possible implementation manner, the second route is displayed with second identification information, and the second identification information is used to indicate that the second route is the route of the first character and the second character.

[0026] In this way, the user can easily know which characters' routes are displayed on the map.

[0027] In a possible implementation manner, the second identification information is also used to indicate the travel relationship between the first character and the second character.

[0028] In this way, it is convenient for the user to know the travel relationship between the multiple characters on the travel routes of the multiple characters displayed on the map.

[0029] In a possible implementation, the method further includes: the electronic device detecting a first operation of the user on the second travel route; and in response to the first operation, the electronic device displaying the travel relationship between the first character and the second character.

[0030] In this way, the user can view the travel relationship between multiple characters on the travel route by performing an operation (such as a long press operation) on the travel route.

[0031] In a possible implementation, the display form of the first route or the second route is used to indicate the order in which the first route or the second route is displayed in the map, and the display form includes one or more of the following: color, transparency, and line thickness.

[0032] In this way, the display form of the travel route can be dynamically adjusted to increase the interest of reading.

[0033] In one possible implementation, the method also includes: the electronic device detects a second operation of the user on the map; in response to the second operation, the electronic device saves the map; or, the electronic device detects a third operation of the user on the map; in response to the third operation, the electronic device shares the map.

[0034] In this way, users can save and share the generated maps, improve community activity, and enhance users' fun and sense of accomplishment.

[0035] In one possible implementation, the method also includes: the electronic device detects a fourth operation performed by the user on a topographic map of the first location; in response to the fourth operation, the electronic device displays a directory, the directory includes options for one or more chapters, and the content of the one or more chapters includes information about the first location; the electronic device detects a fifth operation performed by the user on an option for a chapter in the directory; in response to the fifth operation, the electronic device displays the content of the chapter.

[0036] In this way, the user can operate (such as clicking) on ​​the topographic map of a certain place in the map to make the electronic device jump to the location of the content related to the place, which is convenient and fast, and improves the user experience.

[0037] In a possible implementation, the method further includes: the electronic device detects a sixth operation of the user on the first route; in response to the sixth operation, the electronic device displays fourth content of the first document, wherein the fourth content includes information on the first route.

[0038] In this way, the user can operate (such as clicking) a certain route in the map to make the electronic device jump to the location of the content related to the route, which is convenient and fast, and improves the user experience.

[0039] In a possible implementation, the method also includes: the electronic device displays a topographic map of the first place related to the first time based on the first time when the user reads the first content; or the electronic device displays a topographic map of the first place related to the current time based on the current time.

[0040] In this way, the topographic map of the place displayed on the map can be related to the time when the user reads about the place, or can be related to the current time. For example, the topographic map of the place during the day can be displayed during the day, and the topographic map of the place at night can be displayed at night. Therefore, when users read at different times, the generated topographic maps may also be different, thereby improving the user's personalized experience.

[0041] In the above-mentioned first aspect, the electronic device may be the electronic device 100, the first document may be an electronic book (such as a novel, etc.), an audio-visual work (such as an audio book, etc.), etc., the first content may be a part of the content that the user has read (such as the content of a chapter, etc.), the first location may be a location that appears in the first content, the Nth location may be a location in the first document that the user has not read, wherein N may be a positive integer greater than 1, the second content may be another part of the content that the user has read, the second location may be a location that appears in the second content and is different from the first location, the third location may be a location included in the content that the user has not read, and the identifier of the third location may be, for example Figure 7H The identification of the place to be unlocked is shown, the first character may be a character that appears in the content that the user has read, the first route may be a route corresponding to a single character on the map, the first identification information may be information such as the character name for identifying which character the route is, the second character may be another character that appears in the content that the user has read, the second route may be an overlapping route corresponding to multiple characters on the map, the second identification information may be information such as the character name for identifying which character the route is, or it may be information for identifying the travel relationship between multiple characters (for example, the order of travel between multiple characters), the first operation may be, for example, a long press operation, the second operation may be a save operation, the third operation may be a share operation, the fourth operation may be, for example, a click operation, the fifth operation may be, for example, a click operation, the sixth operation may be, for example, a click operation, and the first time may be the time when the user reads to the first place.

[0042] In a second aspect, an embodiment of the present application provides an electronic device, which includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method described in any possible implementation method of the first aspect above.

[0043] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on an electronic device, the electronic device executes the method described in any possible implementation of the first aspect above.

[0044] In a fourth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1A It is a schematic diagram of a communication system architecture provided by an embodiment of the present application;

[0046] Figure 1B It is a flowchart of a map generation method provided in an embodiment of the present application;

[0047] Figure 1C is a flowchart of another map generation method provided in an embodiment of the present application;

[0048] Figure 2A-2D is a set of user interface schematic diagrams provided in an embodiment of the present application;

[0049] Figure 3 This is a flowchart of processing a text file provided by an embodiment of the present application;

[0050] Figure 4 It is a schematic diagram of a process for generating a topographic map of a location on a map provided by an embodiment of the present application;

[0051] Figure 5A It is a schematic diagram of a landform mask combination provided in an embodiment of the present application;

[0052] Figure 5B is a schematic diagram of landform details provided in an embodiment of the present application;

[0053] Figure 6A-Figure 6I A set of schematic diagrams involved in the process of executing the map generation method provided in the embodiment of the present application;

[0054] Figure 7A-7H is another set of schematic diagrams involved in the process of executing the map generation method provided in the embodiment of the present application;

[0055] Figure 8A-8D is another set of user interface schematic diagrams provided in an embodiment of the present application;

[0056] Fig. 9 It is a schematic diagram of a process of generating and displaying a route of a character on a map provided by an embodiment of the present application;

[0057] Fig. 10A It is a schematic diagram of a spectrum provided in an embodiment of the present application;

[0058] Fig. 10B This is a schematic diagram of the relationship between the travel routes of a character provided in an embodiment of the present application;

[0059] Figure 10C-10L is another set of schematic diagrams involved in the process of executing the map generation method provided in the embodiment of the present application;

[0060] Fig.11 is a schematic diagram of the internal modules of the electronic device 100 and possible cooperation modes between the internal modules involved in the process of executing the map generation method provided in the embodiment of the present application;

[0061] Fig.12 It is a structural diagram of an algorithm module provided in an embodiment of the present application;

[0062] Fig.13 is a schematic diagram of a software architecture of an electronic device 100 provided in an embodiment of the present application;

[0063] Fig.14 It is a structural diagram of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0065] It should be understood that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0066] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0067] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0068] At present, maps are mainly used in the real world, gaming, and e-books.

[0069] In the real world, map applications usually obtain map information data through field measurements, self-collected data, user feedback, supplier provision, etc., and store the data on the server. When a user requests data, the user's current location information can be obtained based on the Global Positioning System (GPS), and the map information data near the user's current location can be returned, and the map within a certain range of the current location can be rendered on the user's device. At the same time, map applications also provide route depiction tools, and users can display their routes on the map based on field arrival or path planning tools. For example, users can continuously and regularly transmit data to the server based on their own field footprint tracking, and the server will correct the route for possible drift and errors in positioning, match the drifting path points to the road, and thus generate a more realistic route map.

[0070] It can be seen that in the above-mentioned real-world areas, map applications store map information data on the server, and the data requested by different users at the same location is consistent, and it is impossible to display it in a personalized way based on some personalized needs of users; in addition, the generation of routes requires users to collect data continuously and regularly, and only supports the display of the current user's route. It is impossible to obtain the relationship between multiple users, and it is impossible to process and render overlapping routes based on user relationships.

[0071] In the field of gaming, most maps in games rely on maps that have been pre-edited offline by artists, and are loaded and returned when a request is received. In terms of automatic map generation, some solutions are to obtain local maps from recorded game sample images, and continuously splice and update these local maps to generate a global game map; some solutions are to obtain the game scene corresponding to the instruction after the user issues an instruction to generate a game map, set the target model in the game scene to the corresponding color based on the preset model type and color information, and take an aerial photo of the game scene after the color is set to generate an initial bitmap. Further, a map corresponding to the game scene is generated based on the initial bitmap, so as to achieve incremental expansion and generation of the corresponding game scene map based on the original map.

[0072] It can be seen that in the above-mentioned game field, the generated game scene map is only a specific small scene map expanded on the basis of the original map. It does not have geographic information features and cannot grasp the positional relationship of the small scene in the entire large scene. In addition, it only relies on preset model type and color information, but does not take into account the user's own personalized information, and cannot provide users with personalized experience.

[0073] In the field of e-books, for e-books such as fictional novels, since the locations are all fictitious and there is no counterpart in reality, most of them are designed and drawn by novel lovers based on the content of the novel through auxiliary software, which requires a lot of energy and time. In terms of human-computer interaction in the process of reading e-books, some solutions are to establish a branch novel management system to display the chapter branch directory of the novel when the user is reading, so that the user can jump directly to the corresponding chapter, and can realize targeted charging for the plot development of the novel; some solutions are to establish a global mind map (including at least two plot lines) based on the plot line in the novel, and display it in the interface, and the user can enter different plot lines through operation options; some solutions are to establish and display a map related to the plot of the novel. When there are multiple different plot routes on the map, the user can choose one of the routes and determine the map mark point on the route. When clicking on the map mark point, you can jump directly to the corresponding plot segment. In this way, the user can choose different plot directions based on the plot route on the map, and switch between the plot segments corresponding to different plot routes.

[0074] It can be seen that in the above-mentioned e-book field, the data requested by users are uniformly returned by the server side, and different users see the same data. Information such as the user's viewing / reading time and environment is not taken into consideration, and there is no personalized feature. In addition, some of the above-mentioned solutions only display plot points / map markers on each route, but do not display the routes, locations, events, etc. of the main characters in the novel at the current viewing / reading progress.

[0075] Based on the above problems, the embodiment of the present application provides a map generation method, which is mainly used in user reading scenarios. Taking the user reading an e-book as an example, when the user starts reading an e-book, a highly personalized fictional map can be dynamically expanded and generated for the user based on the user's reading progress, the content of the e-book, the cover illustration, audio and other multimodal information (for example, when the user reads to a certain place, the map of this place can be incrementally generated). In addition, the overlapping routes can be aggregated based on the relationship between the characters in the e-book, and the route information and character information that match the user's reading progress can be highlighted in combination with the timeline in the e-book. In this way, it can not only stimulate the user's interest in continuous reading, but also attract users to share the generated personalized fictional map with the community, improve community activity, and increase fun and sense of accomplishment.

[0076] It should be noted that in the embodiments of the present application, only the electronic book of the novel genre is used as an example to illustrate the map generation method provided in the embodiments of the present application, which should not constitute a limitation on the present application. Not limited to the genre of novels, the map generation method provided in the embodiments of the present application can also be applied to electronic books of other genres (such as poetry, prose, drama, travel notes, etc.), audio and video works (such as audio books, film and television dramas, etc.), etc.

[0077] The map generation method provided in the embodiment of the present application mainly includes the following two solutions:

[0078] Solution 1 (ie, the following embodiment 1, which describes how to dynamically generate and expand a map based on the user's reading progress):

[0079] When a user reads a chapter of a novel, the location information of one or more places included in the chapter on the map (such as the relative direction and relative distance between different places) can be determined based on the content data of the chapter (such as multimodal information such as text, pictures, audio, etc.) and the user's historical reading behavior (such as reading time). A topographic map of the above one or more places can also be generated based on the content data of the chapter, and the topographic map can be rendered on the map based on the above location information. The complete map can only be obtained after the user has finished reading the entire novel (that is, the locations of all places included in the novel and their topographic maps can be presented on the map).

[0080] Solution 2 (ie, the following second embodiment, which describes how to render the travel routes of different characters in the novel onto a map based on the user's reading progress):

[0081] First, the chapter currently being read by the user is obtained, and the time points and characters are extracted based on the content analysis of the chapter, and the location of the character's recent appearance (i.e., the current location) is determined based on the current time point, and then the character's historical location is connected to the current location as the character's latest route. At the same time, the route of the same character can be rendered in different shades of color based on the time distance from the current time point, and in the case where the routes of multiple characters overlap between two locations, the relationship between the routes of multiple characters can be analyzed based on the plot of the novel (such as traveling together, chasing, unrelated, etc.), and different relationships can be rendered in different styles.

[0082] It is easy to understand that the above-mentioned solution 2 is to further render the routes of different characters on the historical timeline on the map obtained by the above-mentioned solution 1.

[0083] The above two solutions will be described in detail in the subsequent embodiments, which will not be expanded here.

[0084] The map generation method provided in the embodiment of the present application can be applied to Figure 1A The communication system shown includes an electronic device 100 and a server 200. The electronic device 100 may be installed with a reading application (i.e., an application that provides an electronic book reading function), and the server 200 may be a server corresponding to the reading application. In the embodiment of the present application, the map may be generated by the server 200 or by the electronic device 100.

[0085] In one possible implementation, when the map is generated by the server 200, the electronic device 100 can obtain the content data read by the user from the server 200 for display for the user to read. After the user starts reading, the electronic device 100 can obtain the user's reading progress in real time and report the user's reading progress to the server 200 in real time. The server 200 can generate a map based on the user's reading progress and the content data read by the user, and send the generated map to the electronic device 100, which can display the map.

[0086] In another possible implementation, when the map is generated by the electronic device 100, the electronic device 100 can obtain data related to map generation (such as content data read by the user, algorithm data required for map generation, etc.) from the server 200. After the user starts reading, the electronic device 100 can obtain the user's reading progress in real time, and generate and display the map based on the user's reading progress and the acquired data related to map generation.

[0087] In the embodiment of the present application, the electronic device 100 may also be referred to as a terminal device, a user equipment (UE), a user terminal, or a terminal. The electronic device 100 in the embodiment of the present application may be a mobile phone, a tablet computer (Pad), a desktop computer, a laptop computer, a handheld computer, a notebook computer, a smart screen, an augmented reality (AR) device, a virtual reality (VR) device, etc. The embodiment of the present application does not limit the specific type of the electronic device 100. The server 200 may be a traditional server or a cloud server, which is not limited in the embodiment of the present application.

[0088] Example 1 (introducing how to dynamically generate and expand a map based on a user's reading progress)

[0089] Figure 1B The specific process of a map generation method provided in an embodiment of the present application is exemplified.

[0090] like Figure 1B As shown, the method can be applied to the electronic device 100. Taking the user reading a novel using the electronic device 100 as an example, after the user starts reading a novel, the electronic device 100 can obtain the content data (such as text files, illustration files, audio files, etc.) that the user has read in the novel, so as to subsequently generate a topographic map of one or more locations based on the content data and render it on the map.

[0091] The specific steps of this method are described in detail below:

[0092] S101. The electronic device 100 obtains content data (eg, multimodal information such as text, image, audio, etc.) that a user has read.

[0093] Specifically, the electronic device 100 may be installed with an application for providing an electronic book reading function, for example, a reading application. Figure 2A The user interface 210 is a user interface displayed by the electronic device 100, and the user interface may include one or more application icons (such as the icon 211 of the reading application, etc.). If the user wants to use the reading application to read an electronic book (such as a novel, etc.), then the electronic device 100 can detect the user's operation on the icon 211 (such as a click operation). In response to the operation, the electronic device 100 can display Figure 2B The user interface 220 shown in the example may be a user interface of a reading application. For example, if a user wants to read the novel A recommended today in the user interface 220, the electronic device 100 may detect the user's operation (e.g., a click operation) on option 221. In response to the operation, the electronic device 100 may display Figure 2C The user interface 230 shown as an example may include basic information of novel A (such as cover, title, category, synopsis, author, word count, etc.), and may also include one or more options (such as option 231, etc.). Option 231 may be used for the user to enter the reading interface and start reading novel A. The electronic device 100 may detect the user's operation on option 231 (such as a click operation). In response to the operation, the electronic device 100 may display Figure 2D The user interface 240 shown in the example may be a reading interface of novel A, which may include a reading page, and the reading page may include the chapter number (for example, "Chapter 1") currently read by the user, part or all of the content of the chapter (for example, "XXXX..."), and the user may read other contents of the chapter or other chapters by turning pages (for example, swiping left). The user interface may also include a map display window 241, which may be used to display a map dynamically generated using the method provided in the embodiment of the present application.

[0094] It should be noted that the embodiment of the present application does not limit the display position and display size of the map display window 241 on the display screen. In some examples, the electronic device 100 may also support the user to automatically adjust the display position and display size of the map display window 241 on the display screen. In other examples, the electronic device 100 may also display the reading page and the map display window 241 in a split screen.

[0095] It should be noted that the timing of triggering the execution of the map generation method provided in the embodiment of the present application can be a default or a user-manual setting, and the embodiment of the present application does not limit this. For example, after the user enters the reading interface, the execution can be automatically triggered by default; for another example, after the user enters the reading interface, a pop-up window can be displayed to prompt the user to execute the map generation method provided in the embodiment of the present application; for another example, the user can manually set the timing of triggering the execution in the setting interface of the reading application.

[0096] The content that the user has read may be the content of one or more chapters in the novel A that the user has read, or may be the content of one or more paragraphs in the novel A that the user has read. Figure 2C As shown, after the user clicks option 231, Figure 2D The contents of the multiple paragraphs on the first page of the first chapter of the novel A shown (eg, "XXXX ...") may be considered as the contents that the user has read.

[0097] After detecting that the user starts reading novel A, the electronic device 100 can obtain data 1 to be processed, which may include content data in novel A that the user has read, such as text files, picture files, audio reading files (audio novels may include audio reading files), etc.

[0098] In some examples, the data to be processed 1 may also include data such as the cover image, title, category, and introduction of novel A, which may be used to determine the style features of the generated map.

[0099] It is easy to understand that for comic novels, since the novels are all comic pictures, relevant algorithms (such as optical character recognition (OCR) algorithm) can be used to extract text content from comic pictures, and then a map that conforms to the text content can be generated based on the text content.

[0100] S102: The electronic device 100 processes the content data that the user has read, and obtains information about one or more places (such as place names, locations, landforms, and other descriptive information) included in the content data that the user has read.

[0101] The above-mentioned “the electronic device 100 processes the content data that the user has read” may include: the electronic device 100 processes the text file of the content data that the user has read, the electronic device 100 processes the picture file of the content data that the user has read, and the electronic device 100 processes the audio file of the content data that the user has read.

[0102] The one or more locations included in the content data that the user has read may be all the locations included in the content data that the user has read, or may be locations that appear more frequently in the content data that the user has read, which is not limited in this embodiment of the present application.

[0103] In the embodiment of the present application, the purpose of the electronic device 100 processing the text file of the content data that the user has read is to obtain the names of one or more places (i.e., place names) included in the content data that the user has read, the topographic description information of one or more places, and the relative position relationship between different places (such as relative orientation, relative distance); the purpose of the electronic device 100 processing the picture file and the audio file of the content data that the user has read is to obtain information such as illustrations and voice dubbing included in the content data that the user has read, so as to determine the style of the subsequently generated topographic map of one or more places included in the content data that the user has read based on the information.

[0104] A possible implementation of the electronic device 100 processing the text file of the content data that the user has read may be as follows: Figure 3 The implementation of steps S102a to S102e is shown as an example. The following is a detailed description:

[0105] S102a (optional step): the electronic device 100 summarizes the long text in the content data that the user has read to obtain a short text.

[0106] In the case where the content data read by the user includes a long text, the electronic device 100 can execute step S102a to extract text content related to map generation (such as place names, landforms, locations, etc.) from the long text and filter out irrelevant text content. Since the subsequent steps are executed based on these text contents related to map generation, executing step S102a can improve the execution efficiency of the subsequent steps.

[0107] Specifically, the electronic device 100 may use a relevant algorithm (eg, a summary extraction algorithm) to extract a summary of the long text in the content data that the user has read, extract the text content related to map generation, and obtain a short text.

[0108] For example, for a long text in the content data that users have read, "Character A led character B straight to a cliff, where a stone tablet was erected with the three characters "Huoyun Cave" engraved on it. Characters A and B both admired the extraordinary scenery here. The ancient road here was quiet and peaceful. In the distance, there were black cranes playing, monkeys howling, birds singing, flowers and trees were beautiful, pine trees were green, mist was filled, and mountains were continuous, just like a fairyland. Just as characters A and B were intoxicated by the beautiful scenery, they saw a cave, and suddenly a ball of fire spurted out of the hole in front of them. Thick smoke burst out, flames started, and firelight poured out. The cave entrance was soon filled with fireworks. Seeing this, Character A and Character B did not panic, but immediately thought of taking emergency measures to put out the fire." We can extract the summary and get the short text "Character A led Character B to the stone cliff, in front of which stood a stone tablet with the three characters "Huoyun Cave" engraved on it. The scenery here is extraordinary, the ancient road is quiet and peaceful, and in the distance there are black cranes playing, monkeys howling, birds singing, flowers and trees are strange, pines are green, smoke and haze are everywhere, mountains are continuous, and suddenly a ball of fire spurted out of a cave entrance, and the cave entrance was filled with fireworks."

[0109] S102b: The electronic device 100 obtains all place names included in the content data that the user has read.

[0110] Specifically, the electronic device 100 may use a related algorithm (eg, a named entity recognition algorithm) to obtain all place names that appear in the content data that the user has read. For example, the electronic device 100 may extract all place names included in the short text based on the short text obtained in step S102a above.

[0111] It is easy to understand that in some cases, a certain place appearing in the novel may correspond to multiple different place names. For example, the novel may have multiple places 1, which may be described by place name 1, place name 2, place name 3, etc. In this case, the electronic device 100 can obtain the multiple different place names. For example, taking the above short text "Character A led character B to the stone cliff, and a stone tablet was erected in front of the stone cliff. The three characters "Huoyun Cave" were engraved on the stone tablet. The scenery here is extraordinary, the ancient road is quiet and peaceful, and there are black cranes playing in the distance, monkeys are howling, birds are singing, flowers and trees are strange, pine trees are green, smoke and haze are everywhere, mountains are continuous, and a ball of fire suddenly erupted from a cave, and the cave was filled with smoke and fire" as an example, it can be seen that there are multiple place names in the short text, such as "Stone Cliff", "Huoyun Cave", "Cave Entrance", so the place names obtained by the electronic device 100 are the multiple place names appearing in the short text.

[0112] S102c: The electronic device 100 obtains geomorphic description information related to each place name based on all place names included in the content data that the user has read.

[0113] Specifically, after obtaining all the place names included in the content data that the user has read, the electronic device 100 can use relevant algorithms (such as a part-of-speech tagging algorithm based on regular expressions) to obtain adjective descriptions or text fragments related to each place name, thereby obtaining the topographic description information related to each place name.

[0114] Similarly, taking the above short text "Character A leads character B to a cliff, where a stone tablet is erected with the three characters "Huoyun Cave" engraved on it. The scenery here is extraordinary, the ancient road is quiet and peaceful, black cranes are playing in the distance, monkeys are howling, birds are singing, flowers and trees are beautiful, pines are verdant, mist is everywhere, and mountains are endless. Suddenly, a ball of fire spurted out of a cave, and the cave entrance was filled with smoke and fireworks" as an example, the electronic device 100 can obtain the description related to "Huoyun Cave" based on the place name "Huoyun Cave" "The ancient road is quiet and peaceful, black cranes are playing in the distance, monkeys are howling, birds are singing, flowers and trees are beautiful, pines are verdant, mist is everywhere, and mountains are endless", and can also obtain the sentence related to "cave entrance" "The cave entrance is filled with fireworks" based on "cave entrance", and further obtain the modifier "fireworks" contained in the sentence, thereby obtaining the description related to "cave entrance" "fireworks are everywhere".

[0115] S102d: The electronic device 100 simplifies different names of the same place (ie, the same place can be described by one place name).

[0116] Specifically, the electronic device 100 may use a related algorithm (eg, a coreference resolution algorithm) to simplify different names of the same place, that is, to remove duplicate place names.

[0117] For example, in the above short text "Character A leads character B to a stone cliff, where a stone tablet is erected with the three characters "Huoyun Cave" engraved on it. The scenery here is extraordinary, the ancient road is quiet and peaceful, black cranes are playing in the distance, monkeys are howling, birds are singing, flowers and trees are beautiful, pine trees are green, mist is everywhere, mountains are continuous, and a ball of fire suddenly spurted out of a cave, and the cave was filled with smoke and fire" three place names "Shiya", "Huoyun Cave" and "Dongkou" appear. It can be seen that these three place names refer to the same place together, so these three place names can be merged, and one of them can be selected to describe the place. Furthermore, the landform description information related to each place name can also be merged. For example, the geomorphic description information related to "Huoyun Cave" is "the ancient road is quiet and peaceful, with black cranes frolicking in the distance, monkeys howling, birds singing, beautiful flowers and trees, verdant pines, mist and haze, and continuous mountains", and the geomorphic description information related to "cave entrance" is "the air is filled with fireworks", then the merged geomorphic description information related to the place is "the ancient road is quiet and peaceful, with black cranes frolicking in the distance, monkeys howling, birds singing, beautiful flowers and trees, verdant pines, mist and haze, continuous mountains, and mist and fireworks". Assuming that "Huoyun Cave" is selected to describe the place, then the geomorphic description information related to "Huoyun Cave" is the above-mentioned merged geomorphic description information related to the place.

[0118] S102e: The electronic device 100 obtains the relative position relationship between different locations.

[0119] Specifically, the content data that the user has read may include multiple different locations. The electronic device 100 can also use relevant algorithms (such as keyword phrase extraction, component syntactic analysis, etc.) to extract entity relationships, thereby obtaining the relative position relationship between different locations (such as relative orientation, relative distance).

[0120] For example, assuming that "Huoyun Cave" is location 1, for a certain text in the content data that the user has read, "After completing the task in Huoyun Cave, Character A and Character B were unwilling to stay long and wanted to head west immediately. The people in Huoyun Cave wanted to host a banquet for Character A and Character B to express their gratitude, but Character A and Character B did not accept and said goodbye to everyone and left, embarking on a long journey to Location 2", using algorithms such as component syntactic analysis, it can be obtained that the above text includes the directional preposition "west", and the directional preposition "west" can indicate that Location 2 is to the west of Huoyun Cave, thereby obtaining the relative location of Huoyun Cave and Location 2.

[0121] In an embodiment of the present application, the relative positions between different locations can be obtained through text content (such as directional prepositions that may appear in the text); the relative distances between different locations can be obtained through text content (such as distance description words between two locations that may appear in the text), and can also be obtained through the reading time of the user from one location to another (such as reading from the first appearance of one location in the text to the first appearance of another location in the text).

[0122] For example, the base map of the map is a grid, and each grid is a unit distance. The distance between two locations can be expressed by the number of grids between the two locations. Assuming that the system sets the user's reading time from one location to another to be half an hour, it means that the two locations are 1 grid apart. Then, if the user's reading time from location 1 to location 2 is 1.5 hours, it means that location 1 and location 2 are 3 grids apart.

[0123] It can be seen that by using reading time to calculate the distance between two locations, the generated map will be different with the user's different reading behaviors, with personalized features, which increases the fun of reading.

[0124] In an embodiment of the present application, the above-mentioned reading time may refer to the effective reading time, and does not include invalid reading time (for example, the time when the user exits the reading interface midway during the reading process, the time when the electronic device 100 turns off the screen midway during the reading process, the time when the user leaves midway during the reading process, etc.).

[0125] In some examples, the relative positions between different locations in the content data that the user has read can also be obtained through other unread content of novel A. For example, the relative positions between different locations can be obtained by traversing the content of the entire novel.

[0126] The electronic device 100 processes the image files of the content data that the user has read, which can be that the electronic device 100 uses a convolutional neural network algorithm (such as UNet, ViT and other algorithms) to extract features (such as main color, texture content and other features) of the image files of the content data that the user has read (i.e., all illustration files), and assigns corresponding weights to the style features of each illustration according to the specific situation, thereby obtaining the fusion features of all the illustrations, and finally using the fusion features to predict the classification of the illustration style (i.e., the painting style category, such as Chinese ink style, cyberpunk style, comic style, etc.).

[0127] In some examples, the electronic device 100 may also use the above method to process the cover image of novel A, so that based on the image file of the content data that the user has read, the cover image of novel A may be combined to comprehensively predict the painting style category.

[0128] The electronic device 100 processes the audio file of the content data that has been read by the user by using relevant algorithms (such as voiceprint recognition, sentiment analysis and other algorithms) to extract the timbre features of the audio file of the content data that has been read by the user, and then predict the style features of novel A. For example, a heavy timbre is considered to be a dark style, a child's voice is considered to be a comic style, and so on.

[0129] In some examples, based on the audio file of the content data that the user has read, the electronic device 100 can also combine the category, title, introduction and other information of the novel A to comprehensively predict the style characteristics of the novel A. For example, the biography type is considered to be realistic style.

[0130] S103 . The electronic device 100 determines the positions of the one or more places on the map 1 based on the position description information of the one or more places included in the content data read by the user.

[0131] In some examples, the above step S103 may also be performed after the following step S104, that is, firstly generating a topographic map of the location, then determining the location of the location on the map, and finally displaying the topographic map at the location.

[0132] S104: The electronic device 100 generates a geomorphic map of the one or more places based on the geomorphic description information of the one or more places included in the content data that the user has read.

[0133] In an embodiment of the present application, the above-mentioned landform description information may include a text description of the landform and a text description of the style of the landform map, wherein the text description of the landform may be obtained by the electronic device 100 processing a text file of content data that the user has read, and the text description of the style of the landform map may be obtained by the electronic device 100 processing a picture file or an audio file of the content data that the user has read.

[0134] In the embodiment of the present application, a possible implementation of the above step S104 may be as follows: Figure 4 The implementation of steps S104a, S104b, S104c and S104c' shown as examples (i.e., how to generate a topographic map for different locations based on multimodal information such as text, pictures, and audio) is described in detail below:

[0135] S104a: The electronic device 100 obtains a text description of the topography of one or more places included in the content data that the user has read. The text description may be obtained based on text information in the content data that the user has read.

[0136] The text description of the landform may be obtained by processing the text file of the content data that the user has read by the electronic device 100 in the aforementioned step S102.

[0137] S104b: The electronic device 100 obtains a text description of the style of the topographic map of one or more locations included in the content data that the user has read. The text description may be obtained based on the picture information and audio information in the content data that the user has read.

[0138] The text description of the style of the topographic map may be obtained by processing the image file and the audio file of the content data that the user has read by the electronic device 100 in the aforementioned step S102.

[0139] In some examples, the electronic device 100 may process the image files and audio files of the content data that the user has read in step S104b instead of in the aforementioned step S102.

[0140] After executing the above steps S104a and S104b, the electronic device 100 may generate a topographic map of the one or more locations based on the text description of the topography of the one or more locations and the text description of the style of the topographic map included in the content data that has been obtained and has been read by the user. Specifically, the following two schemes may be included (i.e., scheme A shown in the following step S104c and scheme B shown in the following step S104c'):

[0141] Option A:

[0142] S104c, the electronic device 100 generates an overall text description of the one or more places based on the text description of the topography of the one or more places and the text description of the style of the topographic map included in the content data that the user has read, and generates a topographic map of the one or more places based on the overall text description of the one or more places.

[0143] Taking the generation of a topographic map of a certain location (such as location 1) as an example, first, the electronic device 100 can summarize and splice the acquired text description of the topography of the location and the text description of the style of the topographic map to obtain a prompt sentence (promt). For example, Location 1 is "a mountain surrounded by green trees, streams everywhere, towering into the clouds, and in a fantasy style". Then, the electronic device 100 can use a text-to-image algorithm (such as a diffusion model, a generative adversarial network, a variational autoencoder network, and other algorithms) to process the prompt sentence to generate a topographic map of the location. It can be seen that the scheme generates a topographic map entirely based on text descriptions, without the need for image matching and splicing, which is simple and convenient, and saves computing costs.

[0144] Option B:

[0145] S104c', the electronic device 100 generates a masked composite map of the one or more locations based on the text description of the topography of the one or more locations included in the content data that the user has read and the text description of the style of the topographic map, and generates a topographic map of the one or more locations based on the masked composite map of the one or more locations.

[0146] Taking the generation of a topographic map of a certain location (e.g., location 1) as an example, first, the electronic device 100 can convert the text description of the topography of the location into a pre-made color mask (i.e., different objects in the text description of the topography are mapped to corresponding masks), and these masks are spliced ​​according to certain rules and added to the canvas to obtain a mask combination map (i.e., a rough topographic map, e.g., Figure 5A The exemplary mask combination map shown, different colors represent different objects, such as gray represents a mountain, and green represents a grassland). Finally, the electronic device 100 can use the picture-to-picture algorithm to process the mask combination map (i.e., the input of the picture-to-picture algorithm) to generate a detailed high-definition topographic map of the location (i.e., the output of the picture-to-picture algorithm, such as Figure 5B Detailed relief map shown as an example).

[0147] S105 . The electronic device 100 renders a topographic map of one or more locations included in the content data that the user has read onto the map 1 .

[0148] The above steps S101 to S104 are all about the process of the electronic device 100 performing internal processing on the data used to generate the map. This process is invisible to the user. Figure 6A-Figure 6I Let's introduce the process of dynamically displaying the generated map based on the user's reading progress, which is visible to the user. The following is a detailed description:

[0149] Specifically, after the electronic device 100 detects that the user starts reading novel A, it can create a Fig. 6A The example shown in the map 1 (at this time, the map 1 is a blank map, which can also be called a blank canvas. A landform map can be rendered on the canvas later to generate a complete map 1) is Figure 2D The exemplary map is displayed in the map display window 241. Fig. 6A , the blank map may be pre-set with grids, which may be visible to the user or invisible to the user. When the electronic device 100 detects that the user reads the first location in novel A, assuming that the first location is location 1, since location 1 is the first location to appear, its location has no other location as a reference, therefore, the electronic device 100 may select a default location on map 1 as the location of location 1 on map 1 (e.g. Figure 6B After generating the topographic map of the location 1, the electronic device 100 can Figure 6C The exemplary illustration shows that a topographic map 611 of location 1 is rendered onto map 1 .

[0150] In some examples, before rendering the topographic map 611 of the location 1 onto the map 1, the electronic device 100 may also determine whether the user is satisfied with the generated topographic map of the location 1. For example, the electronic device 100 may display Fig.6D The exemplary window 610 may include a generated topographic map 611 of the location 1, a prompt message 612 (e.g., “Are you satisfied with the generated virtual topographic map of the location 1? If not, you can regenerate it”), an option 613 (e.g., “Yes”), and an option 614 (e.g., “No”). If yes (e.g., the electronic device 100 detects the user's operation on option 613), the electronic device 100 may Figure 6C As shown in the example, the topographic map 611 of location 1 is rendered onto map 1; if not (for example, the electronic device 100 detects the user's operation on option 614), the electronic device 100 can regenerate the topographic map of location 1, and determine again whether the user is satisfied with the regenerated topographic map of location 1, until the user is satisfied. It is easy to understand that for a text-to-image algorithm or a picture-to-image algorithm, even if the input data (i.e., topographic description information) is the same each time, the output data (i.e., topographic map) each time may be different. Therefore, for different users, even if the topographic description information is the same, the generated topographic maps may be different. For the same user, different topographic maps can be generated multiple times based on the same topographic description information, giving the user a personalized experience.

[0151] Similarly, assuming that the content data that the user has read also includes other places besides place 1, such as place 2, after rendering place 1 on map 1, when the electronic device 100 detects that the user has read novel A and place 2 appears, it can determine the position of place 2 on map 1 based on the relative position relationship between place 2 and place 1 (for example, the relative orientation and relative distance determined by the aforementioned step S102e). Assuming that place 2 is to the west of place 1 (the default map 1 is north at the top, south at the bottom, west on the left, and east on the right), and is 3 grids away from place 1, then the position of place 2 on map 1 can be Fig. 6E For example, after generating the topographic map of location 2, the electronic device 100 can also Fig. 6F The exemplary illustration shows that the topographic map 621 of the location 2 is rendered onto the map 1. It is easy to understand that the topographic map of the location 2 is generated by the electronic device 100 based on the content data that the user has read.

[0152] In some examples, before rendering the topographic map 621 of the location 2 onto the map 1, the electronic device 100 may also determine whether the user is satisfied with the generated topographic map of the location 2. For example, the electronic device 100 may display Figure 6G The exemplary window 620 may include a generated topographic map 621 of the location 2, a prompt message 622 (e.g., “Are you satisfied with the generated virtual topographic map of the location 2? If not, you can regenerate it”), an option 623 (e.g., “Yes”), and an option 624 (e.g., “No”). If yes (e.g., the electronic device 100 detects the user's operation on option 623), the electronic device 100 may Fig. 6F As shown in the example, the topographic map 621 of location 2 is rendered onto map 1; if not (for example, the electronic device 100 detects the user's operation on option 624), the electronic device 100 can regenerate the topographic map of location 2 and determine again whether the user is satisfied with the regenerated topographic map of location 2 until the user is satisfied.

[0153] By analogy, as the user continues to read, the topographic maps of all the places included in novel A can be incrementally generated and displayed from scratch, until the entire novel A is read, and the topographic maps of all the places included in novel A are all generated and displayed without the need for any pre-made maps. Different users' different reading behaviors (such as the length of time reading from one place to another) will generate different maps (for example, the distance between two places may be different), which increases the user's interest in continued exploration and reading.

[0154] In actual applications, each time a user reads a location, they may be Fig.6D or Figure 6G The window prompt shown in the figure will disturb the user's reading process and distract the user's attention when reading. Therefore, in some examples, the window prompt can be displayed after the user finishes reading each chapter. Fig.6D or Figure 6G The window prompt shown allows the user to batch confirm whether they are satisfied with the topographic maps of one or more locations included in the chapter. After confirming that the user is satisfied with the topographic maps of the one or more locations, the topographic maps of the one or more locations are rendered onto map 1.

[0155] In some examples, the electronic device 100 may also generate a map in combination with the user's reading environment. Different users may generate different maps in different reading environments. For example, for a topographic map of the same location, if some users read in the morning and some users read in the evening, the corresponding topographic maps of the location may be different. When reading in the morning, the topographic map of the location may be displayed in daytime mode (for example, the map may be displayed in daytime mode). Figure 6HThe sun logo shown in the example, or the display background of the topographic map is brighter), that is, the topographic map of the location rendered is the topographic map of the location during the day. When reading at night, the topographic map of the location may be displayed in night mode (for example, Fig.6I In some examples, the user reads location 1 in the morning and location 2 in the evening. Then, when the user reads location 2, the electronic device 100 can update the rendered location 1 during the day to a location 1 at night. In other words, the location's location map can be determined based on the time when the user reads the location's content. When the user continues to read new content, the location's location map can also be updated based on the current user's reading time.

[0156] In some examples, when the content that the user has read does not include location-related information, the electronic device 100 may not display the map display window first, for example, the blank map may not be displayed first.

[0157] In some examples, the electronic device 100 may not render the topographic map of a location on the map upon detecting that the user has read a location, but may render the topographic maps of all locations included in the chapter on the map in batches upon detecting that the user has read an entire chapter.

[0158] Figure 1C The specific process of another map generation method provided in an embodiment of the present application is exemplified.

[0159] like Figure 1C As shown, the method can be applied to the electronic device 100. Taking the case where a user uses the electronic device 100 to read a novel as an example, when the user starts to read a novel, the electronic device 100 can obtain content data (such as text files, illustration files, audio files, etc.) corresponding to the reading progress in the novel based on the user's reading progress, so as to subsequently generate a topographic map of one or more locations based on the content data and render it on the map.

[0160] The above “obtaining content data corresponding to the reading progress of the novel based on the user’s reading progress” may refer to obtaining content data corresponding to the current chapter of the novel when detecting that the user is reading a chapter of the novel; or it may refer to obtaining content data corresponding to one or more paragraphs of the novel when detecting that the user is reading one or more paragraphs of the novel (for example, when the user is reading a page, the content data corresponding to one or more paragraphs of the page may be obtained), which is not limited in the embodiments of the present application. Figure 1CIn the illustrated embodiment, the acquisition of content data in units of chapters is described as an example.

[0161] exist Figure 1C In the illustrated embodiment, after the electronic device 100 has finished reading a certain chapter and displayed a topographic map of one or more places included in the chapter on the map 1, if the electronic device 100 detects that the user has started to read another chapter, the electronic device 100 can add a topographic map of one or more places included in the other chapter to the map 1 based on the other chapter that the user has started to read. In this way, after the user has finished reading these two chapters, the map 1 can display the topographic maps of all the places included in these two chapters.

[0162] The specific steps of this method are described in detail below:

[0163] S201. The electronic device 100 detects that the user finishes reading a chapter (e.g., chapter a) in novel A and then starts reading another chapter (e.g., chapter b) in novel A. In response to the operation, the electronic device 100 obtains content data of chapter b (e.g., multimodal information such as text, pictures, and audio).

[0164] Specifically, after the user finishes reading chapter a of novel A, the electronic device 100 can detect that the user starts reading chapter b of novel A (for example, the user turns the page from the last page of chapter a to the first page of chapter b). In response to this operation, the electronic device 100 can obtain data to be processed 2, which may include content data in chapter b, such as text files, picture files, audio reading files (audio reading files may be included in audio novels), etc.

[0165] In some examples, the data to be processed 2 may also include data such as the cover image, title, category, and introduction of novel A, which may be used to determine the style features of the generated map later.

[0166] In other examples, when the electronic device 100 has obtained data such as the cover image, title, category, and introduction of novel A when reading chapter a, the electronic device 100 can also save these data, and there is no need to re-acquire these data when starting to read chapter b.

[0167] S202. The electronic device 100 processes the content data of chapter b, obtains information of one or more places included in chapter b (such as descriptive information such as place name, location, and topography), and determines whether the one or more places are new places (i.e., places that appear in chapter b but have not appeared in other read chapters, such as chapter a) or existing places (i.e., places that appear in chapter b and have also appeared in other read chapters, such as chapter a).

[0168] The electronic device 100 processes the content data of chapter b in a similar manner to the aforementioned electronic device 100 processes the content data that the user has read. The specific process can refer to the aforementioned text description of step S102 and will not be repeated here.

[0169] After the electronic device 100 processes the content data of chapter b, since chapter b is not the first chapter read by the user, the places appearing in chapter b may include places that have appeared in other read chapters. The electronic device 100 can determine whether one or more places appearing in chapter b are new places or existing places based on other read chapters, such as places appearing in chapter a and places appearing in chapter b, so that the position of the new place on map 1 can be determined later based on the existing places.

[0170] S203: The electronic device 100 determines the position of the new location on the map 1 based on the relative orientation and relative distance between the new location and the existing location.

[0171] Specifically, when it is necessary to determine the position of a new place on map 1, the electronic device 100 can first obtain one or more existing places on map 1 that are related to the new place, and then the electronic device 100 can determine the position of the new place on map 1 based on the one or more existing places and the location description information of the new place determined in the above step S202 (for example, the description information of the relative direction and relative distance between the new place and other places).

[0172] There are multiple ways for the electronic device 100 to obtain one or more existing places related to the new place on the map 1. One possible way is that the electronic device 100 obtains one or more existing places related to the new place by parsing the content data of the acquired chapter b. Another possible way is that the location description information of the new place determined in the above step S202 includes the new place and the existing places related to the new place, and the electronic device 100 can obtain the existing places related to the new place based on the location description information.

[0173] The relative position between the new location and the existing location can be obtained through text content (such as directional prepositions that may appear in the text); the relative distance between the new location and the existing location can be obtained through text content (such as distance description words between two locations that may appear in the text), or can be obtained through the reading time of the user from the existing location to the new location (for details, please refer to the text description of the aforementioned step S102). The calculation process of the relative distance between the new location and the existing location can be performed in the aforementioned step S203.

[0174] It is easy to understand that in some cases, for a new location, there may be no existing location or other new location as a reference, then the electronic device 100 can select a default location as the location of the new location on the map 1.

[0175] In some examples, the position of a new location on the map 1 may also be determined based on the relative orientation and relative distance between the new location and other new locations that appeared before the new location.

[0176] In some examples, the above step S203 may also be performed after the following step S204, that is, firstly generating a topographic map of the location, then determining the location of the location on the map 1, and finally displaying the topographic map at the location.

[0177] S204: The electronic device 100 generates a topographic map of the new location based on the topographic description information of the new location.

[0178] Among them, step S204 is similar to the aforementioned step S104. The specific process can refer to the aforementioned text description of step S104, which will not be repeated here.

[0179] S205 . The electronic device 100 renders the topographic map of the new location onto the map 1 .

[0180] The above steps S201 to S204 are all about the process of the electronic device 100 performing internal processing on the data used to generate the map. This process is invisible to the user. Figure 7A-7H Let's introduce the process of dynamically displaying the generated map based on the user's reading progress, which is visible to the user. The following is a detailed description:

[0181] Specifically, after the electronic device 100 detects that the user has finished reading chapter a and then started reading chapter b, it can continue to render on the map 1 generated after reading chapter a, that is, based on the user's reading progress, the topographic map including one or more new locations in chapter b can continue to be rendered on map 1. For example, when the electronic device 100 detects that the user has read the first new location included in chapter b, assuming that the new location is location 3, the electronic device 100 can determine the location of location 3 on map 1 based on the location description information of location 3 (such as the relative direction and relative distance between location 3 and an existing location). Assuming that location 3 is to the north of location 1 and is 3 grids away from location 1, the location of location 3 on map 1 can be Fig. 7A For the exemplary location shown, after generating the topographic map of location 3, the electronic device 100 can Figure 7B The exemplary rendering of the topographic map 711 of the location 3 onto the map 1 is shown.

[0182] In some examples, before rendering the topographic map 711 of the location 3 onto the map 1, the electronic device 100 may also determine whether the user is satisfied with the generated topographic map of the location 3. For example, the electronic device 100 may display Figure 7C The exemplary window 710 may include a generated topographic map 711 of the location 3, a prompt message 712 (e.g., “Are you satisfied with the generated virtual topographic map of the location 3? If not, you can regenerate it”), an option 713 (e.g., “Yes”), and an option 714 (e.g., “No”). If yes (e.g., the electronic device 100 detects the user's operation on option 713), the electronic device 100 may Figure 7B As shown in the example, the topographic map 711 of location 3 is rendered onto map 1; if not (for example, the electronic device 100 detects the user's operation on option 714), the electronic device 100 can regenerate the topographic map of location 3 and determine again whether the user is satisfied with the regenerated topographic map of location 3 until the user is satisfied.

[0183] By analogy, as the user continues to read chapter b, the topographic maps of all new places included in chapter b can be incrementally generated and displayed from scratch until the entire chapter b is read. Fig.7D The topographic maps of the two remaining locations, location 4 and location 5, except location 3, included in the exemplary chapter B are all generated and displayed without the need for any pre-made maps. In addition, the maps generated corresponding to different reading behaviors of different users (such as the reading time from one location to another) are also different (for example, the distance between two locations may be different), which increases the user's interest in continued exploration and reading.

[0184] In the novel, for an existing location in a read chapter (e.g., chapter a), its geomorphic description information may be updated in a new chapter (e.g., chapter b). In this case, the electronic device 100 may also update the generated geomorphic map of the existing location based on the updated geomorphic description information. A possible implementation method may be the following implementation method of steps S206 to S208:

[0185] S206 . The electronic device 100 obtains location information of an existing location on the map 1 .

[0186] The above-mentioned location information may be coordinate information of an existing location (eg, location 1) on map 1.

[0187] In some examples, before executing the above step S206, the electronic device 100 may also determine whether the user agrees to update the topographic map of the existing location based on the topographic description information of the existing location in chapter b. If so, the above step S206 may be executed again. If not, steps S206 to S208 may not be executed. For example, assuming that the existing location is location 1 in chapter a, after the electronic device 100 obtains and processes the content data of chapter b, if it is determined that chapter b has updated the topographic description information of location 1 relative to chapter a, then the electronic device 100 may determine whether the user agrees to update the topographic map of the existing location based on the topographic description information of location 1 in chapter b. For example, the electronic device 100 may display Fig. 7E The exemplary window 720 may include a prompt message 721 (e.g., "Location 1 has a new landform description. Do you agree to update the virtual landform map of Location 1"), option 722 (e.g., "Yes"), and option 723 (e.g., "No"). If yes (e.g., the electronic device 100 detects the user's operation on option 722), the electronic device 100 may execute the above-mentioned step S206. If no (e.g., the electronic device 100 detects the user's operation on option 723), the electronic device 100 may cancel the display of window 720 and not execute steps S206-S208.

[0188] S207. The electronic device 100 generates a new topographic map of the existing location based on the topographic description information of the existing location in section b.

[0189] Among them, step S207 is similar to the aforementioned step S104. The specific process can refer to the aforementioned text description of step S104, which will not be repeated here.

[0190] In some examples, the above step S207 may also be performed before the above step S206.

[0191] In some examples, before executing the above step S207, the electronic device 100 may also determine whether the user is satisfied with the generated new topographic map of the existing location. If so, the following step S208 may be executed. If not, the above step S207 may be continued to be executed to regenerate a new topographic map of the existing location. For example, taking the existing location as location 1, the electronic device 100 may display Figure 7FThe exemplary window 730 may include a new topographic map 731 of the generated location 1, prompt information 732 (e.g., "Are you satisfied with the new virtual topographic map of the generated location 1? If not, you can regenerate it"), option 733 (e.g., "Yes"), and option 734 (e.g., "No"). If yes (e.g., the electronic device 100 detects the user's operation on option 733), the electronic device 100 may execute the following step S208; if no (e.g., the electronic device 100 detects the user's operation on option 734), the electronic device 100 may regenerate a new topographic map of location 1, and again determine whether the user is satisfied with the regenerated new topographic map of location 1, until the user is satisfied.

[0192] S208 . The electronic device 100 renders a new topographic map of the existing location onto the map 1 .

[0193] Specifically, the electronic device 100 can render the new topographic map of the existing location to the corresponding position of the map 1 based on the location information of the existing location that has been obtained. For example, taking the existing location as location 1, assuming that the new topographic description information of location 1 includes a coconut grove, then the coconut grove can be added to the topographic map of the updated location 1. For example, the electronic device 100 can Figure 7G As an example, a new topographic map of the location 1 with a coconut grove will be shown (eg Figure 7F The exemplary topographic map 731) is rendered to the position corresponding to location 1 in map 1.

[0194] It is easy to understand that the above process of updating the topographic map of an existing location (for example, the execution process of the above steps S206-S208) can be executed when the electronic device 100 detects that the user has read an existing location whose topographic map needs to be updated, or it can be executed when the electronic device 100 detects that the user has read the entire new chapter, or it can be executed when the electronic device 100 detects that the user has started to read a new chapter. The embodiments of the present application are not limited to this.

[0195] In some examples, for the places that the user has not read yet, the electronic device 100 may not display them on the map first, or may display them as follows: Figure 7H As shown in the example, the locations to be unlocked are displayed on the map. For example, after the user starts reading chapter B, but has not yet read the locations of locations 3, 4, 5 and their corresponding geomorphic descriptions in the above chapter B, the electronic device 100 can first determine the display positions of locations 3, 4, and 5 on the map based on the content data of chapter B that has been acquired, and display locations 3, 4, and 5 on the map as locations to be unlocked. This allows the user to know in advance how many locations will appear in the content to be read later, and can also attract the user to continue reading the subsequent content.

[0196] In the embodiment of the present application, the electronic device 100 may also support the user to interact with the generated map. Fig. 8A The electronic device 100 can display the generated map in real time in the map display window. After the user has read all the chapters, the full picture of the map will be displayed in the map display window. The electronic device 100 can support the user to view the enlarged version of the map. For example, the electronic device 100 can detect the user's Fig. 8A In response to the operation (eg, a click operation) of the exemplary map display window, the electronic device 100 may Figure 8B The electronic device 100 can also support the user to operate the enlarged version of the map, for example, continue to refer to Figure 8B , the electronic device 100 can detect the user's operation (such as a click operation) on a certain location (such as location 1) in the map, and in response to the operation, the electronic device 100 can display Figure 8C The exemplary window 810 (also referred to as the directory 810) may include one or more options, which are options corresponding to the chapter where the location appears. The user can click on the corresponding option to jump to the chapter where the location appears or the first location of the location in the chapter where the location appears. Figure 8B , the electronic device 100 may detect a user operation on the map (eg, a long press operation), and in response to the operation, the electronic device 100 may display Fig.8D The exemplary window 820 may include one or more options (such as a save option and a share option). The user can save or share the generated map by clicking on the corresponding option. Figure 8B The user can also perform corresponding operations on the map (such as a zoom-in operation triggered by moving two fingers apart) to zoom in on the map so that the high-definition details of the map can be viewed, or perform corresponding operations on the map (such as a zoom-out operation triggered by moving two fingers together) to zoom out on the map so that the map can highlight the specific location of each place and weaken the display of the terrain of each place.

[0197] By implementing the above Figure 1B and Figure 1CThe method provided by the illustrated embodiment can dynamically expand or update the map incrementally from scratch based on the novel content and the user's reading progress without any pre-made map. As the user continues to read the novel, the full picture of the map will gradually emerge, and the generated map will be different based on the different reading behaviors and different reading progress of different users (for example, the relative distance between two locations can be determined based on the user's reading time, and the relative distance between two locations obtained by different reading times is also different), which can increase the user's interest in continuous reading. Moreover, user interaction is added when generating / updating the topographic map of the location. The topographic map can be generated / updated based on the novel content and the user's preferences, reflecting the differences between different users, and generating a dynamically changing map with personalized characteristics. This can attract users to share the generated map with the community through social tools, thereby improving community activity and enhancing the user's fun and sense of accomplishment.

[0198] Example 2 (introducing how to render the routes of different characters in a novel onto a map based on the user's reading progress)

[0199] Fig. 9 The specific process of a map generation method provided in an embodiment of the present application is exemplified.

[0200] like Fig. 9 As shown, the method can be applied to the electronic device 100. Also, taking the user reading novel A using the electronic device 100 as an example, Fig. 9 The embodiment shown is in the aforementioned Figure 1B and Figure 1C In the illustrated embodiment, on the basis of rendering a topographic map of a location on a map based on the user's reading progress, the travel routes of the characters in the novel are simultaneously rendered on the map.

[0201] The specific steps of this method are described in detail below:

[0202] S901. The electronic device 100 extracts the time, place, and character role relationships included in the text content based on the full text content, and generates a full graph.

[0203] Specifically, after the electronic device 100 detects that the user starts to read novel A, it can first obtain the full text content of novel A (i.e., the text content of the entire novel A), and use relevant algorithms (such as named entity recognition, keyword phrase extraction, etc.) to extract the time (which may include chapter number, time point corresponding to the chapter content), place name (i.e., name of the place), and person name (i.e., name of the character) included in the text content. For example, for a certain text content in chapter a (assuming that chapter a is chapter 1), "Character A came to location 1 and looked at it carefully. Character A exclaimed that location 1 was indeed a good place, and it was spring time, and he saw...", the above-mentioned relevant algorithms can be used to extract the relationship group of time, place name, and person name: time (chapter a or chapter 1, spring time) + place name (location 1) + person name (character A). Then, the electronic device 100 can use a relevant algorithm (such as a coreference resolution algorithm) to unify the nouns pointing to the same entity character or place in the extracted relationship groups of time, place names, and names. For example, the same character may correspond to different names. For example, character A may correspond to multiple different names (such as name 1, name 2, etc.). In this case, these multiple different names can be unified into one of the names (such as name 1) to describe character A. Similarly, the same place may correspond to different place names. For example, place 1 may correspond to multiple different place names (such as place name 1, place name 2, etc.). In this case, these multiple different place names can be unified into one of the names (such as place name 1) to describe place 1. Finally, the electronic device 100 can merge and simplify all the relationship groups of the extracted time, place names, and names, and delete duplicate relationship groups (i.e., relationship groups with the same time, place, and characters). For example, assuming that the place names corresponding to place 1 are place name 1 and place name 2, the names corresponding to role A are person name 1 and person name 2, relationship group 1 is: Chapter a, Spring Season + Place Name 1 + Person Name 1, and relationship group 2 is: Chapter a, Spring Season + Place Name 2 + Person Name 2. It can be seen that relationship group 1 and relationship group 2 are repeated relationship groups. Then, they can be merged and simplified, and one of the relationship groups in relationship group 1 and relationship group 2 can be deleted, and only one of them needs to be retained.

[0204] It is easy to understand that after extracting the time, place, and character relationships included in the full text content according to the above process, a full graph can be obtained (that is, the graph corresponding to all chapters in novel A, for example Fig. 10A The graph shown as an example), the full graph may include a graph corresponding to each chapter in novel A, wherein the graph corresponding to each chapter may be generated by all relationship groups (time+place name+person name) included in each chapter.

[0205] In some examples, after detecting that the user starts reading novel A, the electronic device 100 may not obtain the full text content of novel A, but instead obtain the text content of the current chapter that the user is reading, and extract the graph corresponding to the current chapter based on the text content of the current chapter. In this way, based on the user's reading progress, the graph corresponding to each chapter can be gradually extracted until the user reads the last chapter and a full graph is generated.

[0206] S902. The electronic device 100 determines, based on the generated graph, whether there is overlap in the travel routes of multiple characters in the same time period and the same route. If so, the following step S903 can be executed; if not, the following step S904 can be executed.

[0207] The overlap of the travel routes of multiple characters may mean that in the same route, the time periods during which the multiple characters pass through the route are the same; otherwise, the travel routes of the multiple characters do not overlap (for example, in the same route, the time periods during which the multiple characters pass through the route are different).

[0208] Specifically, after generating the graph, the electronic device 100 can firstly aggregate the relationship groups included in the graph based on the information of time and place included in the graph. For example, assuming that the graph corresponding to chapter a includes relationship group 1 and relationship group 2, relationship group 1 is: chapter a+place 1+role A, relationship group 2 is: chapter a+place 1+role B. Since the time (i.e., chapter a) and place (i.e., place 1) in relationship group 1 and relationship group 2 are the same, relationship group 1 and relationship group 2 can be aggregated, and after the aggregation process, they are chapter a+place 1+(role A, role B). By analogy, the relationship groups included in each chapter can be aggregated. Then, the electronic device 100 can determine whether there is a situation where the travel routes of multiple characters overlap based on the results of the aggregation processing. If there is a situation where the travel routes of multiple characters overlap, for example, the two relationship groups after the aggregation processing are: chapter a+location 1+(character A, character B), chapter b+location 2+(character A, character B). It can be seen that character A and character B both passed through the section from location 1 to location 2 during the period from chapter a to chapter b, that is, in the same route, character A and character B passed through this route in the same period of time. Therefore, the travel routes of character A and character B overlap. Then, the electronic device 100 can execute the following step S903, otherwise (that is, there is no situation where the travel routes of multiple characters overlap), the electronic device 100 can execute the following step S904.

[0209] S903. The electronic device 100 determines the relationship between the travel routes of multiple characters based on the relevant content data (for example, traveling together, chasing, no relationship, etc.), and determines to merge / separate the travel routes of the multiple characters based on the relationship, and determines the information that needs to be noted corresponding to the travel routes (for example, character information, the order of the characters in a chasing relationship, etc.).

[0210] Specifically, when the electronic device 100 determines that the routes of multiple characters overlap in the same time period and the same route, it can further determine the relationship between the routes of the multiple characters based on relevant content data (such as text, pictures, audio and other content data). The relationship between the routes of the multiple characters may include: Fig. 10B The three types of relationships shown in the example are: a traveling relationship, a catching-up relationship, and no relationship. In the case of a traveling relationship, the routes of the multiple characters can be merged into one route (for example, Fig. 10B In the case of a walking relationship, the routes of character A and character B are merged into one route), and the information that needs to be noted for the route is determined (the role information can be noted, such as character A and character B in the walking relationship); in the case of a chasing relationship, the routes of these multiple characters can also be merged into one route (for example, Fig. 10B The routes of character A and character B in a chasing relationship are merged into one route), and the information that needs to be noted for the route is determined (character information can be noted, such as character A and character B in a chasing relationship, and the order of the characters chasing each other can also be noted, such as character A (front), character B (back)); when there is no relationship, it can be determined that the routes of these multiple characters are separate (for example, Fig. 10B There is no need to merge the two separate routes when there is no relationship between them, and determine the information that needs to be noted for each of these multiple routes (the role information can be noted, such as role A and role B when there is no relationship).

[0211] Among them, the relationship between the travel routes of the above-mentioned multiple characters can be determined based on content data. For example, for the pursuit relationship, for example, for the text "Role A walks forward quickly, and character B follows closely behind", it can be analyzed based on relevant algorithms (such as syntactic analysis, keyword extraction, etc.) that in the same time and space, there is a relationship of character B chasing character A; for the traveling relationship, for example, multiple characters with related relationships (such as master-apprentice relationship, parent-child relationship, etc.) pass the same route in the same period of time, and no keywords related to chasing appear, which indicates that there is a traveling relationship between these multiple characters; for no relationship, it can be that there is neither a pursuit relationship nor a traveling relationship between these multiple characters. For example, multiple characters with no related relationship (such as multiple characters who are strangers to each other) pass the same route in the same period of time, and no keywords related to chasing appear in the content, which indicates that there is no relationship between these multiple characters.

[0212] S904: The electronic device 100 determines a newly added route and information that needs to be noted (such as role information, etc.) corresponding to the route.

[0213] Specifically, when the electronic device 100 determines that there is no overlap in the travel routes of multiple characters in the same time period and the same route, for example, in a certain time period, only one character (for example, character A) passes through a certain route, then the electronic device 100 can determine to add a new route and determine the information that needs to be noted for the route (the character information such as character A can be noted).

[0214] S905. The electronic device 100 obtains the time point corresponding to the content currently being read by the user, and determines the display form of the route (eg, the color of the route, etc.) based on the time point.

[0215] In an embodiment of the present application, the electronic device 100 can gradually render the character's route on the map based on the user's reading progress. In order to highlight the route of the character related to the current reading content (such as the current chapter, paragraph, etc.), the electronic device 100 can obtain the time point corresponding to the user's current reading content, and determine the display form of the route that has been rendered on the map (i.e., the route of the character in the read chapter) and the display form of the route to be rendered on the map (i.e., the route of the character in the current chapter) based on the time point (such as the color of the route, transparency, line thickness, etc.). For example, the color depth of the route can be determined based on the distance from the current time point. The color of the route at the current time point can be set to a darker color, and the color of the route before the current time point can be adjusted to a lighter color (for example, the farther from the current time point, the lighter the color).

[0216] In some examples, the above step S905 may not be performed. In this case, the display format of all routes on the map (such as the color, transparency, line thickness, etc. of the routes) may be consistent.

[0217] S906 . The electronic device 100 renders the travel route onto the map 1 .

[0218] The above steps S901 to S905 all describe the process of the electronic device 100 performing internal processing on the data used to generate the character's route. This process is invisible to the user. Figure 10C-10G The process of dynamically displaying the topographic map of the location on the map 1 and synchronously displaying the route of the characters in the novel based on the user's reading progress is introduced, and the process is visible to the user. The following is a detailed description:

[0219] See also Fig. 10C After rendering the topographic maps of location 1 and location 2 on map 1, the electronic device 100 can render the character's route between location 1 and location 2. Assuming that there are no overlapping routes of multiple characters on the route between location 1 and location 2, and only character A passes through the route, then the route of character A rendered by the electronic device 100 on map 1 can be Fig. 10C The exemplary travel route is shown (i.e., the character information indicates that it is the travel route of character A).

[0220] It should be noted that the route connecting two locations can be represented by a straight line or a curve, and the embodiment of the present application is not limited to this. The embodiment of the present application uses a straight line with an arrow as an example to represent the route.

[0221] After rendering is completed Fig. 10C After the character's path is shown, as the user continues reading, see Fig. 10D After continuing to render the topographic map of location 3 on map 1, the electronic device 100 can render the character's route between location 3 and existing locations (e.g., location 1 and location 2). Taking rendering the character's route between location 3 and location 2 as an example, assuming that there are multiple characters with overlapping routes on the route between location 3 and location 2, for example, the routes of character A and character B overlap, and character A and character B are in a traveling relationship, then the routes of character A and character B rendered on map 1 by the electronic device 100 can be Fig. 10D The example route shown (i.e. the route indicated as the route of character A and character B in the character information). Fig. 10D The electronic device 100 can also adjust the display format of the travel route that has been rendered on the map 1. For example, the electronic device 100 can Fig. 10C The route shown for character A is determined by Fig. 10C The darker colors shown are adjusted to Fig. 10D The lighter color shown above and the current route of role A and role B are set to a darker color to highlight the route related to the current reading content.

[0222] After rendering is completed Fig. 10D After the character's path is shown, as the user continues reading, see Fig.10EAfter continuing to render the topographic map of location 4 on map 1, the electronic device 100 can render the character's route between location 4 and existing locations (e.g., location 1, location 2, and location 3). Taking rendering the character's route between location 4 and location 3 as an example, assuming that there are multiple characters with overlapping routes on the route between location 4 and location 3, for example, the routes of character A and character B overlap, and character A and character B are in a catching-up relationship, then the routes of character A and character B rendered by the electronic device 100 on map 1 can be Fig.10E The exemplary route shown (i.e. the character information is marked as character A and character B, and the order of the characters chasing each other is marked as character A in front and character B in the back). Fig.10E The electronic device 100 can also adjust the display format of the travel route that has been rendered on the map 1. For example, the electronic device 100 can Fig. 10D The route shown for characters A and B is composed of Fig. 10D The darker colors shown are adjusted to Fig.10E The lighter color shown is used, and the current pursuit route of character A and character B is set to a darker color to highlight the route related to the current reading content.

[0223] After rendering is completed Fig.10E After the character's path is shown, as the user continues reading, see Fig.10F After continuing to render the topographic map of location 5 on map 1, the electronic device 100 can render the character's route between location 5 and existing locations (e.g., location 1, location 2, location 3, and location 4). Taking rendering the character's route between location 5 and location 4 as an example, assuming that there are multiple characters with overlapping routes on the route between location 5 and location 4, for example, the routes of character A and character B overlap, and the relationship between the routes of character A and character B is no relationship, then the routes of character A and character B rendered by the electronic device 100 on map 1 can be Fig.10F The exemplary travel routes are shown (i.e., two separate travel routes, with the character information of the characters A and B respectively indicated). Fig.10F The electronic device 100 can also adjust the display format of the travel route that has been rendered on the map 1. For example, the electronic device 100 can Fig.10E The chase route of character A and character B shown is composed of Fig.10E The darker colors shown are adjusted to Fig.10F The lighter color shown, and the current unrelated route of role A and role B is set to a darker color to highlight the route related to the current reading content.

[0224] In the above Figure 10D-10FIn some examples, the electronic device 100 sets the current route to a darker color, and all routes before the current route have the same color, which is set to a lighter color. In some examples, the electronic device 100 can also set the color depth of all routes before the current route according to the distance from the current time point (i.e., the time point corresponding to the current route) (for example, the farther from the current time point, the lighter the color). For example, see Figure 10G , Figure 10G What is shown is the route whose color depth changes gradually with the distance from the current time point. It can be seen that the two routes from location 4 to location 5 are the routes at the current time point and have the darkest colors, and the route from location 1 to location 2 is the route farthest from the current time point and has the lightest color.

[0225] In the embodiment of the present application, the electronic device 100 can support the user to interact with the travel route displayed on the generated map. Fig. 10H , the electronic device 100 can detect that the user is moving along a certain route in the map (for example Fig. 10H In response to the operation, the electronic device 100 can jump to the location of the relevant content corresponding to the route and display the relevant content (such as the route corresponding to the chasing relationship shown). Fig.10I ).

[0226] In the embodiment of the present application, the routes of multiple characters in a traveling relationship or a catching-up relationship are combined into one route for display. In some examples, multiple separate routes can also be used to represent the route. Figure 10G For example, take the route where character A and character B are traveling together. Fig.10J , the routes of character A and character B may not be combined into one route, but may be two separate routes (for example, a solid line represents the route of character A, and a dotted line represents the route of character B). Figure 10K As shown, the electronic device 100 can support the user to select a certain route (eg Figure 10K In response to the operation (e.g., a long press operation) of selecting the route of character A or the route of character B in the figure, the electronic device 100 may display the relationship between the routes of different characters (e.g., Fig.10LIn some examples, the above-mentioned method of triggering the display of the relationship between the routes of different characters is also applicable to the aforementioned situation where the routes of multiple characters in a walking relationship or a chasing relationship are combined into one route for display. In this case, for the routes of multiple characters in a chasing relationship, the information used to identify the chasing relationship (such as Figure 10G The user can view the relationship between the routes of these multiple characters by operating the routes (such as long pressing the routes).

[0227] By implementing the above Fig. 9 The method provided by the illustrated embodiment can dynamically display the character's route based on the user's reading progress, based on the dynamic display of the topographic map of the location on the map, and use the route to reflect the character information and relationships, thereby increasing the amount of information on the map. In addition, the display format of the route (such as the color of the route, etc.) can be dynamically adjusted based on the time point corresponding to the current reading content. When the user reads the content of the novel's recollection part, the characters, routes, and topography on the map seen by the user may change, thereby increasing the interest of reading.

[0228] It can be seen that using the above Fig. 9 The route displayed on the map by the method provided by the illustrated embodiment can solve problems that current map / sports applications cannot solve. For example, the route displayed by current map / sports applications is only the route of a certain user and cannot reflect the relationship between the routes of multiple users. Moreover, the end point of the route is the last place where the user appeared, and cannot show the route at the future moment.

[0229] The following introduces an internal module of the electronic device 100 involved in executing the above-mentioned map generation method and possible collaboration methods between the internal modules provided by an embodiment of the present application.

[0230] Fig.11 The embodiment of the present application exemplifies the internal modules of the electronic device 100 involved in executing the above-mentioned map generation method and possible cooperation modes between the internal modules.

[0231] like Fig.11 As shown, the electronic device 100 may include an information input module, a style feature extraction module, an algorithm module, a reading time statistics module, a multimodal fusion and image generation module, and a map output module.

[0232] The information input module can be used to obtain the specific content of the e-book, such as the content data (such as text, pictures, audio, etc.) of one or more chapters (such as read chapters, chapters being read); it can also be used to obtain the basic information of the e-book, such as the cover image, title, category, introduction, etc. of the e-book; it can also be used to send the obtained data (such as the specific content and basic information of the e-book) to other modules (such as style feature extraction module, algorithm module, reading time statistics module); and so on.

[0233] The style feature extraction module can be used to receive data sent by the information input module (such as the specific content and basic information of the e-book); it can also be used to process the data sent by the information input module (mainly image files and audio files) in order to determine the style features of the subsequently generated map. For example, the style feature extraction module can use a convolutional neural network algorithm to extract the style features of the image file to determine the style category. For example, the style feature extraction module can use voiceprint recognition, emotion classification and other algorithms to extract the timbre features of the audio file to determine the style of the e-book; it can also be used to send processed data (such as feature information such as the style category and the style of the e-book) to the multimodal fusion and image generation module.

[0234] The algorithm module can be used to receive data sent by the information input module (such as the specific content and basic information of the electronic book); it can also be used to process the data sent by the information input module (mainly text files); it can also be used to send processed data to the multimodal fusion and image generation module; in the embodiment of the present application, Fig.12 As shown in the example, the algorithm module may include a summary extraction module, a named entity recognition module, a coreference resolution module, an entity relationship extraction module, a natural language processing module, and a content understanding module. Among them:

[0235] The synopsis extraction module can be used to condense a long text story into a short text, which can include description information of an event that occurred at a certain place and description information of the place (such as place name, landform, location, etc.).

[0236] The named entity recognition module can be used to identify entities such as place names and personal names from text information.

[0237] The coreference resolution module can be used to unify and resolve different names for the same character or place, ultimately pointing to the same entity.

[0238] The entity relationship extraction module can be used to extract the relative position relationship (such as relative orientation) between different locations through algorithms such as keyword extraction and syntactic analysis.

[0239] The natural language processing module can be used to extract relevant features of a place (such as geomorphic features, etc.) through a natural language processing algorithm (such as a part-of-speech tagging algorithm, etc.).

[0240] The content understanding module can be used to extract the location of the character on the map at the current reading progress.

[0241] The reading time statistics module can be used to receive data sent by the information input module (such as the content currently read by the user); it can also be used to count the reading time spent by the user in the text chapter between two locations, and based on this, the relative distance between the two locations on the map can be planned; it can also be used to send the acquired feature information (such as the relative distance between the two locations) to the multimodal fusion and image generation module;

[0242] The multimodal fusion and image generation module can be used to receive data sent by the style feature extraction module, the algorithm module, and the reading time statistics module (for example, feature information obtained through data processing); it can also be used to fuse these feature information to dynamically generate and expand the map. Optionally, a landform mask can also be used to generate a new map with new locations based on the map of the previous location using an image generation algorithm; it can also be used to send the generated map to the map output module.

[0243] The map output module can be used to receive and output the map generated by the multimodal fusion and image generation module so that the map can be displayed for users to view.

[0244] For more details about the functions of the various internal modules of the electronic device 100, please refer to the relevant content in the above embodiments, which will not be repeated here.

[0245] It is easy to understand that when the map is generated by the server 200, the above-mentioned information input module, style feature extraction module, algorithm module, reading time statistics module, multimodal fusion and image generation module can be modules in the server 200. After the server 200 generates the map, the map can be sent to the electronic device 100 for display by the electronic device 100.

[0246] Understandably, Fig.11 and Fig.12 The illustrated structure does not constitute a specific limitation on the electronic device 100. In other examples of the present application, the electronic device 100 may have a Fig.11 and Fig.12 More or less components shown in the figure may be combined with two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0247] The following introduces a software structure of an electronic device 100 provided in an embodiment of the present application.

[0248] Fig.13 The software structure of an electronic device 100 provided in an embodiment of the present application is exemplified.

[0249] like Fig.13 As shown, the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 100 is exemplified.

[0250] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. The system is divided into four layers, from top to bottom: application layer, application framework layer, Android Runtime and system library, and kernel layer.

[0251] The application layer can include a series of application packages.

[0252] like Fig.13 As shown, the application package may include camera, gallery, calendar, call, map, reading, WLAN, Bluetooth, music, short message, and other applications.

[0253] Among them, the reading application can be used to provide functions such as e-book reading, dynamically generating and expanding maps based on the content of the e-book and the user's reading progress, reading behavior, reading environment, etc. For example, in an embodiment of the present application, the reading application can extract the reading time spent by the user from one location to another based on the novel content and user reading statistics, determine the relative distance between the two locations based on a certain calculation method, and extract the locations of multiple characters in the novel at the current reading progress, existing travel routes, events, etc., so as to generate a map with user personalized characteristics.

[0254] The application framework layer provides API and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0255] like Fig.13 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, an activity manager, and the like.

[0256] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0257] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0258] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0259] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0260] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0261] The notification manager enables applications to display notification information in the status bar (such as the pull-down notification bar). It can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0262] The activity manager is responsible for managing activities, starting, switching, and scheduling components in the system, as well as managing and scheduling applications. The activity manager can be called by upper-level applications to open corresponding activities.

[0263] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.

[0264] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0265] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0266] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0267] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0268] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0269] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0270] A 2D graphics engine is a drawing engine for 2D drawings.

[0271] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0272] The following is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application.

[0273] Fig.14 The structure of an electronic device 100 provided in an embodiment of the present application is exemplarily shown.

[0274] like Fig.14As shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0275] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0276] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0277] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0278] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0279] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0280] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0281] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0282] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0283] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0284] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0285] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0286] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0287] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0288] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0289] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0290] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0291] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0292] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0293] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0294] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0295] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0296] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0297] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0298] In the embodiment of the present application, the display screen 194 can be used to display the map generated by the map generation method provided by the embodiment of the present application, as well as the content of the electronic book (such as a novel) read by the user. The processor 110 can be used to call a related program, such as an implementation program of the map generation method provided by one or more embodiments of the present application, and execute the instructions contained in the program.

[0299] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0300] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, etc. of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0301] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0302] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0303] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0304] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0305] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0306] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0307] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0308] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0309] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0310] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0311] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0312] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0313] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0314] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0315] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0316] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0317] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0318] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0319] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0320] It should be understood that Fig.14 The electronic device 100 shown is only an example, and the electronic device 100 may have more Fig.14 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Fig.14 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0321] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0322] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0323] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for displaying a map, characterized in that: The method comprises: The electronic device obtains first content of a first document that has been read by a user, the first content including a first location and first geomorphic description information of the first location, the first document also including an Nth location and geomorphic description information of the Nth location, the Nth location and geomorphic description information of the Nth location are content that has not been read by the user; The electronic device displays the first location and a topographic map of the first location on a map based on the first content, and the map does not include the Nth location and a topographic map of the Nth location.

2. The method according to claim 1, characterized in that The method further comprises: The electronic device obtains second content of the first document that has been read by the user, where the second content includes a second location and geomorphic description information of the second location; The electronic device adds the second location and a topographic map of the second location to the map based on the first content and the second content.

3. The method according to claim 2, characterized in that The relative positions of the second location and the first location in the map are determined based on position description information, and the position description information is obtained from the first content and the second content.

4. The method according to any one of claims 1 to 3, characterized in that: The first content includes one or more of the following: text, images, and audio describing the landform.

5. The method according to any one of claims 2 to 4, characterized in that: The second content includes second landform description information of the first location, the second landform description information is different from the first landform description information, and the method further includes: The electronic device updates and displays a topographic map of the first location based on the second topographic description information.

6. The method according to claim 5, characterized in that Before the electronic device updates and displays the geomorphic map of the first location based on the second geomorphic description information, the method further includes: The electronic device obtains authorization from the user to update the topographic map showing the first location.

7. The method according to any one of claims 1 to 6, characterized in that: The map also displays an identifier of a third location, and the identifier is used to indicate that the content of the first document that the user has not read includes the third location and geomorphic description information of the third location.

8. The method according to any one of claims 2 to 7, characterized in that: The first content and / or the second content includes a first character, and the method further includes: The electronic device displays a first travel route on the map, where the first travel route is a travel route of the first character.

9. The method according to claim 8, characterized in that The first route is displayed with first identification information, and the first identification information is used to indicate that the first route is the route of the first character.

10. The method according to claim 8 or 9, characterized in that: The first content and / or the second content further includes a second role, and the method further includes: The electronic device displays a second travel route on the map, where the second travel route is a travel route of the first character and the second character.

11. The method according to claim 10, characterized in that The second route is displayed with second identification information, and the second identification information is used to indicate that the second route is the route of the first character and the second character.

12. The method according to claim 11, characterized in that The second identification information is also used to indicate the travel relationship between the first character and the second character.

13. The method according to any one of claims 10 to 12, characterized in that: The method further comprises: The electronic device detects a first operation of the user on the second travel route; In response to the first operation, the electronic device displays a progress relationship between the first character and the second character.

14. The method according to any one of claims 10 to 13, characterized in that: The display form of the first route or the second route is used to indicate the order in which the first route or the second route is displayed in the map, and the display form includes one or more of the following: color, transparency, and line thickness.

15. The method according to any one of claims 1 to 14, characterized in that: The method further comprises: The electronic device detects a second operation of the user on the map; In response to the second operation, the electronic device saves the map; or, The electronic device detects a third operation performed by the user on the map; In response to the third operation, the electronic device shares the map.

16. The method according to any one of claims 1 to 15, characterized in that: The method further comprises: The electronic device detects a fourth operation performed by the user on the topographic map of the first location; In response to the fourth operation, the electronic device displays a catalog, the catalog including options of one or more chapters, and the content of the one or more chapters includes information of the first place; The electronic device detects a fifth operation of the user on an option of a chapter in the catalog; In response to the fifth operation, the electronic device displays content of the chapter.

17. The method according to any one of claims 8 to 16, characterized in that: The method further comprises: The electronic device detects a sixth operation performed by the user on the first travel route; In response to the sixth operation, the electronic device displays fourth content of the first document, where the fourth content includes information about the first travel route.

18. The method according to any one of claims 1 to 17, characterized in that: The method further comprises: The electronic device displays a topographic map of the first location related to a first time based on a first time when a user reads the first content; or, The electronic device displays a topographic map of the first location related to the current time based on the current time.

19. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 1-18.

20. A computer storage medium, characterized in that The computer storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 18.

Citation Information

Cited By

  • E-book character relationship construction method and related device

    CN121118883A