Creation method for dynamically controlling display of map elements based on text

Through parallel association between text and maps and the use of animation generators, text controls map elements verbatim, making the map scene dynamically evolve, solving the problems of complex operation and discontinuous reading experience in traditional map narrative methods, improving information transmission efficiency and Reading experience.

CN119180889AInactive Publication Date: 2024-12-24成都远石信息技术有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411230356.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional methods of using maps to assist in narratives, such as ArcGIS StoryMaps, have complex operations and lead to discontinuous reading experience, making it difficult to intuitively and accurately express scene information related to strong time and place.

Method used

By establishing parallel association between text and maps, using animation generators and HTMLElement tree traversers, text controls map elements verbatim, making the map scene evolve dynamically and forming a unified and continuous scene.

Benefits of technology

It improves the efficiency of information transmission and enhances the reading experience, so that the map scene and text content are closely integrated to form a continuous scene expression, avoiding the breakdown of the reading experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119180889A_ABST
    Figure CN119180889A_ABST
Patent Text Reader

Abstract

The invention discloses a creation method for dynamically controlling display of map elements based on texts, which comprises the following steps of: S1, establishing association between characters and a map, and enabling the characters and the map to be parallel; s2, storing a display primitive, a view angle and a timestamp set by a user into an animation generator; s3, creating a HashMap type object; s4, an HTMLElement tree traversal device is established, and a SceneEventElement element is obtained, and the HTMLElement tree traversal device is established; and S5, when the characters are automatically read, querying the corresponding animation generator object from the step S3 through the ID of the SceneEventElement element obtained in the step S4, and executing a corresponding action through the animation generator. The method has the advantages that characters are parallel to the map, the text controls map elements word by word, the map scene serves as an auxiliary panel to increase reading experience, and therefore information transmission efficiency is improved, and compared with the mode that ArcGIS StoryMaps cuts the scene into a plurality of independent map scenes, the map scene dynamically evolves along with the text, and the reading experience is improved. Therefore, a uniform and continuous scene is formed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of data processing, in particular to a creation method for dynamically controlling the display of map elements based on text. Background Art

[0002] The occurrence of most events is related to time and place, and some of these events are strongly related to time and place. Traditional ways of describing events are mainly in the form of text, pictures, voice or video, but these forms are somewhat abstract and non-intuitive when describing scenes with a strong correlation between time and place, which can easily cause reading barriers, affect the efficiency of content expression, and thus damage the reading experience. In order to convey time and space information more intuitively and accurately during expression, geographic information technology can be used, that is, using maps in combination with text, so that readers can intuitively and clearly understand the information conveyed by content creators, thereby improving the reading experience.

[0003] At present, the representative company that uses maps to assist in the narration of events is ESRI. The company has a subdivided product line, ArcGIS StoryMaps, which applies map technology to the narration of events and creates another reading experience. Specifically, ArcGIS StoryMaps is a story narration completed in the form of maps or other multimedia materials inserted in the text. However, this method has the following disadvantages: First, it is difficult for operators to use and requires a certain developer thinking; second, it uses multiple map scenes interspersed in the text to express the overall event, referred to as PPT map, while what actually happens is gradual and integrated. If you forcibly use segmented map scenes to express events in series, it will inevitably cause a discontinuous reading experience and incomplete expression of the event line. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for creating a map element display based on text dynamic control.

[0005] The object of the present invention is achieved by the following technical solution: A method for creating a text-based dynamic control map element display, comprising the following steps:

[0006] S1: Establish the association between text and map, making the text and map parallel;

[0007] S2: Save the display primitives, viewing angles and timestamps set by the user to the animation generator;

[0008] S3: Create a HashMap type object;

[0009] S4: Create an HTMLElement tree traversal to obtain the SceneEventElement element;

[0010] S5: When the text is automatically read, the ID of the SceneEventElement element obtained in step S4 is used, and the corresponding animation generator object is queried from step S3, and the corresponding action is performed through the animation generator.

[0011] Preferably, in step S1, a SceneEventElement class is created by inheriting the HTMLElement class, and an event ID is created.

[0012] Preferably, in step S2, the animation generator controls the primitive object properties by creating a timer.

[0013] Preferably, in step S3, the ID in step S1 is associated with the animation ID created by the animation generator through the key-value of HashMap, and the object is serialized to the server for storage.

[0014] Preferably, in step S4, the elements in the HTMLElement tree are continuously put into a queue, and continuously taken out of the queue for traversal.

[0015] Preferably, in step S4, the elements in the HTMLElement tree are continuously put into a stack, and continuously taken out from the queue for traversal.

[0016] The present invention has the following advantages: the present invention uses text and map in parallel, so that the text controls the map elements word by word, and uses the map scene as an auxiliary panel to increase the reading experience, thereby improving the efficiency of information transmission. Compared with ArcGIS StoryMaps which cuts the scene into multiple separate map scenes, the map scene of the present invention dynamically evolves with the text, thereby forming a unified and continuous scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A structural diagram of the process of creating a method for dynamically controlling the display of map elements for text;

[0018] Figure 2 It is a schematic diagram of the structure of the application of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0020] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0022] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0023] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use, or the positions or positional relationships commonly understood by those skilled in the art, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0024] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0025] In this embodiment, if Figure 1 and Figure 2 As shown, a method for creating a text-based dynamic control map element display includes the following steps:

[0026] S1: Establish the association between text and map, making the text and map parallel;

[0027] S2: saving the display primitive, viewing angle and timestamp set by the user to the animation generator; preferably, the animation generator controls the primitive object properties by creating a timer.

[0028] S3: Create a HashMap type object;

[0029] S4: Create an HTMLElement tree traversal to obtain the SceneEventElement element;

[0030] S5: When the text is automatically read, the ID of the SceneEventElement element obtained in step S4 is used, and the corresponding animation generator object is queried from step S3, and the corresponding action is performed by the animation generator. By running the text and the map in parallel, the text controls the map elements word by word, and the map scene is used as an auxiliary panel to increase the reading experience, thereby improving the efficiency of information transmission. Compared with ArcGIS StoryMaps, which cuts the scene into multiple separate map scenes, the map scene of the present invention dynamically evolves with the text to form a unified and continuous scene. In this embodiment, the specific reading experience of the invention for map events is: when the reader reads on the screen (mobile phone, computer, tablet), the default screen will be divided into two parts, one for the map and the other for the text. When the reader reads a certain place or a certain spatial object appears during traditional text reading, the map field of view will dynamically move to the corresponding place and display the corresponding object; when the next object is read, the map will also undergo corresponding dynamic changes.

[0031] Furthermore, in step S1, the SceneEventElement class is created by inheriting the HTMLElement class, and an event ID is created. Specifically, the SceneEventElement class creates an event ID by extending a custom attribute, and puts the text or action that the user needs to control into the element.

[0032] Furthermore, in step S3, the ID in step S1 is associated with the animation ID created by the animation generator through the key-value of the HashMap, and the object is serialized to the server for storage. Specifically, the main function of this object is to associate the event in the text with the animation in the map.

[0033] In this embodiment, in step S4, the elements in the HTMLElement tree are continuously placed in a queue, and continuously taken out of the queue for traversal. In another embodiment, in step S4, the elements in the HTMLElement tree are continuously placed in a stack, and continuously taken out of the queue for traversal. Specifically, the main function of the HTMLElement tree traverser is to increase the speed of traversing the HTMLElement tree, so that SceneEventElement elements can be quickly obtained during animation playback and text editing.

[0034] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for creating a text-based dynamic control map element display, characterized in that: The following steps are involved: S1: Establish the association between text and map, making the text and map parallel; S2: Save the display primitives, viewing angles and timestamps set by the user to the animation generator; S3: Create a HashMap type object; S4: Create an HTMLElement tree traversal to obtain the SceneEventElement element; S5: When the text is automatically read, the ID of the SceneEventElement element obtained in step S4 is used, and the corresponding animation generator object is queried from step S3, and the corresponding action is performed through the animation generator.

2. The method for creating a text-based dynamic control map element display according to claim 1, characterized in that: In the step S1, the SceneEventElement class is created by inheriting the HTMLElement class, and an event ID is created.

3. The method for creating a text-based dynamic control map element display according to claim 2, characterized in that: In step S2, the animation generator controls the primitive object properties by creating a timer.

4. The method for creating a text-based dynamic control map element display according to claim 3, characterized in that: In step S3, the ID in step S1 is associated with the animation ID created by the animation generator through the key-value of the HashMap, and the object is serialized to the server for storage.

5. The method for creating a text-based dynamic control map element display according to claim 4, characterized in that: In step S4, the elements in the HTMLElement tree are continuously put into a queue, and continuously taken out of the queue for traversal.

6. The method for creating a text-based dynamic control map element display according to claim 4, characterized in that: In step S4, the elements in the HTMLElement tree are continuously put into the stack, and continuously taken out from the queue for traversal.

Citation Information

Patent Citations

  • System and method for customizing and displaying webpage character map interaction

    CN114722136A

  • Animation editor and animation design method based on three-dimensional map visualization platform

    CN116778038A

  • System and method for providing to storytelling type area information of panorama image base

    KR1020120133011A

  • Apparatus and method for creating literary macrames

    US20070204211A1

  • Synchronized maps in ebooks using virtual GPS channels

    US20170124733A1