A visual data conversion method, device, equipment and medium
By generating data visualization simulation pages and running videos or documents, the problem of limited dissemination of data visualization products is solved, efficient dissemination and sharing of data visualization products is achieved, and the dissemination efficiency and effect are enhanced.
Patent Information
- Application Number
- CN202011611447.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2040-12-30
AI Technical Summary
In the prior art, data visualization products can only be run through specific software or web pages, which limits their dissemination and sharing, resulting in low dissemination efficiency.
By generating data visualization simulation pages and running videos or documents, simulate the content of data visualization products, and use the convenient dissemination methods of videos and documents to realize the dissemination and sharing of data visualization products.
It improves the dissemination efficiency and effect of data visualization products, can conveniently disseminate or share between different users and devices, and reflects the content characteristics of data visualization products through videos and documents, enhancing simulation efficiency and effect.
Smart Images

Figure CN112685120B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a visual data conversion method, device, equipment and medium. Background Art
[0002] Data visualization is a way of processing and presenting data, which can provide rich display effects. In the prior art, running or viewing data visualization products can only be done through specific software or web pages, which limits the dissemination of data visualization products.
[0003] In view of this, more effective and efficient data visualization product communication solutions are needed. Summary of the invention
[0004] The embodiments of this specification provide a visual data conversion method, device, equipment and medium to solve the technical problem of how to disseminate data visualization products more effectively and efficiently.
[0005] To solve the above technical problems, the embodiments of this specification provide the following technical solutions:
[0006] The embodiment of this specification provides a visual data conversion method, including:
[0007] Obtaining a data conversion request, and determining a data visualization target product according to the data conversion request;
[0008] Generate one or more data visualization simulation pages and determine the operation rules of the one or more data visualization simulation pages; wherein the one or more data visualization simulation pages are used to simulate the data visualization target product;
[0009] After the video generation condition is triggered, the one or more data visualization simulation pages are run according to the running rules, and the running video of the one or more data visualization simulation pages is recorded; and,
[0010] After the document generation instruction is triggered, the one or more data visualization simulation pages are configured into a data visualization document according to the operation rules.
[0011] The embodiment of this specification provides a visual data conversion device, including:
[0012] A positioning module, used to obtain a data conversion request and determine a data visualization target product according to the data conversion request;
[0013] A simulation module, used to generate one or more data visualization simulation pages and determine the operation rules of the one or more data visualization simulation pages; wherein the one or more data visualization simulation pages are used to simulate the data visualization target product;
[0014] a conversion module, configured to run the one or more data visualization simulation pages according to the operation rules and record the operation video of the one or more data visualization simulation pages after the video generation condition is triggered; and
[0015] After the document generation instruction is triggered, the one or more data visualization simulation pages are configured into a data visualization document according to the operation rules.
[0016] The embodiment of this specification provides a visual data conversion device, including:
[0017] at least one processor;
[0018] as well as,
[0019] a memory communicatively coupled to the at least one processor;
[0020] in,
[0021] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned visual data conversion method.
[0022] An embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the above-mentioned visual data conversion method is implemented.
[0023] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0024] The embodiments of this specification simulate the data visualization product through the data visualization simulation page, and generate the running video and data visualization document of the data visualization simulation page, and present the content of the data visualization product through the running video and data visualization document of the data visualization simulation page. Since the dissemination or sharing of videos and documents between users and devices is more convenient, as long as the user's device has the video playback or document viewing function, the use of running videos or data visualization documents instead of data visualization products for dissemination or sharing can improve the dissemination efficiency of data visualization products. In this embodiment, the data visualization simulation page and the running process of the data visualization simulation page can be freely customized through the data visualization configuration. The running video and data visualization document of the generated data visualization simulation page can better reflect the content characteristics of the data visualization product, thereby improving the simulation efficiency and effect of data visualization, and then improving the dissemination efficiency and effect of the data visualization product. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments of this specification or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 It is a schematic diagram of the execution body of the visual data conversion method in the first embodiment of this specification.
[0027] Figure 2 It is a flowchart of the visual data conversion method in the first embodiment of this specification.
[0028] Figure 3 It is a structural diagram of a visual data conversion device in the second embodiment of this specification. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0030] Data visualization is a common way of processing and presenting data. It can form rich display effects, such as two-dimensional or three-dimensional charts or animations. In the prior art, running or viewing data visualization products can only be done through specific software or web pages (web data visualization systems). Data visualization products cannot be spread or shared between different users and different terminal devices, which limits the spread and development of data visualization.
[0031] The first embodiment of this specification (hereinafter referred to as "this embodiment") provides a visual data conversion method. The execution subject of this embodiment can be a terminal (including but not limited to mobile phones, computers, pads, televisions) or a server or an operating system or a data conversion platform based on data visualization or a data conversion system or application based on data visualization, etc., that is, the execution subject can be various and can be set, used or changed as needed. In addition, there can also be a third-party application to assist the execution subject in executing this embodiment. For example Figure 1As shown, the visual data conversion method in this embodiment can be executed by a server, and an application corresponding to the server can be installed on a terminal (held by a user). Data can be transmitted between the terminal or the application and the server, and data can be collected, input or output, or pages or information can be displayed or processed (to the user) through the terminal or the application, thereby assisting the server in executing the visual data conversion method in this embodiment.
[0032] like Figure 2 As shown, the visual data conversion method provided in this specification includes:
[0033] S101: (Executing entity) obtains a data conversion request, and determines a data visualization target product according to the data conversion request;
[0034] In this embodiment, the execution subject may have a display screen. For example, if the execution subject is a terminal or an application on the terminal, the terminal has a display screen; if the execution subject is a server, as mentioned above, the application may communicate with the server with the help of the display screen of the terminal where the application is located. The information display of the execution subject can be performed through the display screen.
[0035] In this embodiment, the execution subject may obtain the data conversion request. For example, the execution subject may display a corresponding function button, and trigger the data conversion function or data conversion condition by clicking the function button, so that the execution subject obtains the data conversion request, that is, obtaining the data conversion request may be triggered by the user. This embodiment does not limit how to trigger the data conversion function or data conversion condition.
[0036] After the execution subject obtains the data conversion request, the visualization target product can be determined according to the data conversion request. Specifically, the data visualization target product can be determined according to the data conversion request in the following manner as described in 1.1 and / or 1.2 (this embodiment is not limited to the manner described in 1.1 and / or 1.2):
[0037] 1.1. Data conversion requests include data visualization products
[0038] After the data conversion condition is triggered, the execution subject may display a visualization configuration item, which is used to configure the data visualization display data. The user may configure the data visualization display data through the visualization configuration item by selection or input or other means, for example, the visualization configuration item may have options for the user to select, or the visualization configuration item may have an input box for the user to input.
[0039] Correspondingly, after the user operates the visualization configuration item (including but not limited to the above-mentioned selection or input operation), the execution subject will obtain the visualization configuration item feedback data according to the user's operation, and the visualization configuration item feedback data is included in the data conversion request. Among them, if the execution subject is a terminal or an application on the terminal, the execution subject will obtain the visualization configuration item feedback data after the user operates the terminal or the application on the terminal; if the execution subject is a server, after the user operates the terminal or the application on the terminal, the terminal or the application on the terminal will generate the visualization configuration item feedback data and send it to the server, so that the server obtains the visualization configuration item feedback data.
[0040] In this embodiment, the user can import a data visualization product through a data visualization configuration item or select a data visualization product from (from the local storage of the execution subject). The data visualization product selected or imported by the user is included in the visualization configuration item feedback data, which is also included in the data conversion request obtained by the execution subject. If the execution subject determines that the data conversion request includes a data visualization product, the data visualization product in the data conversion request can be used as a data visualization target product.
[0041] 1.2. Data conversion requests include data visualization product identification
[0042] In this embodiment, the user can input the data visualization product identifier through the visualization configuration item or select the data visualization product identifier (from the local storage of the execution subject). The data visualization product identifier selected or input by the user is included in the visualization configuration item feedback data, which is also included in the data conversion request obtained by the execution subject. If the execution subject determines that the data conversion request includes the data visualization product identifier, the data visualization product corresponding to the data visualization product identifier can be used as the data visualization target product. The data visualization product corresponding to the data visualization product identifier can be a data visualization product stored locally by the execution subject, or it can be a data visualization product stored by other subjects other than the execution subject (including but not limited to terminals or servers).
[0043] If the data visualization product corresponding to the data visualization product identifier is stored in a subject other than the execution subject, the execution subject may communicate with the storage subject of the data visualization product corresponding to the data visualization product identifier, so that the storage subject of the data visualization product corresponding to the data visualization product identifier sends the data visualization product corresponding to the data visualization product identifier to the execution subject. In this case, the user can select or input the storage subject or storage address of the data visualization product corresponding to the data visualization product identifier through the visualization configuration item, so that the execution subject can determine the storage subject of the data visualization product corresponding to the data visualization product identifier.
[0044] In this embodiment, the data visualization product can specifically be a data visualization product constructed using existing data visualization tools (such as data visualization software), and the data visualization target product is the "targeted" data visualization product, that is, the data visualization product targeted by data conversion.
[0045] S103: (Executing subject) generating one or more data visualization simulation pages and determining operation rules of the one or more data visualization simulation pages; wherein the one or more data visualization simulation pages are used to simulate the data visualization target product;
[0046] After the execution subject determines the data visualization target product, it can generate one or more data visualization simulation pages, and can determine the operating rules of the generated one or more data visualization simulation pages. Among them, each data visualization simulation page can have one or more page elements (page elements can also be called data visualization elements), and the page elements are components of the page, including but not limited to models, animations, audio, video, charts, and characters. Among them, the page elements contained in each data visualization simulation page can be configured by the user through the above-mentioned visualization configuration items. For example, the user can select or input the page elements through the operation of the above-mentioned visualization configuration items, or can select the page element materials stored by the execution subject.
[0047] The page elements configured by the user are included in the visualization configuration item feedback data, and the data conversion request obtained by the execution subject includes the page elements determined by the user, so that the execution subject generates one or more data visualization simulation pages, which may include: generating one or more data visualization simulation pages according to the page elements included in the data conversion request.
[0048] In this embodiment, before generating one or more data visualization simulation pages, the execution subject may determine one or more data visualization elements, and the data visualization elements are used to generate the data visualization simulation pages. Wherein, determining one or more data visualization elements may include: decomposing the data visualization target product to obtain one or more data visualization elements.
[0049] Specifically, decomposing the data visualization target product to obtain one or more data visualization elements may include:
[0050] S1031: Determine, according to the data conversion request, a data visualization element type after decomposing the data visualization target product;
[0051] The user can select or input the required data visualization element type through the visualization configuration item. The data visualization element type selected or input by the user is included in the visualization configuration item feedback data, which is also included in the data conversion request, so that the execution subject can determine the data visualization element type required by the user according to the data conversion request, and also determine the data visualization element type after decomposing the data visualization target product. Among them, the data visualization elements include (but are not limited to) one or more of models, animations, audio, video, charts, and characters, and the data visualization element types include (but are not limited to) one or more of models, animations, audio, video, charts, and characters.
[0052] S1033: Decompose the data visualization target product to obtain one or more data visualization elements that conform to the data visualization element type.
[0053] After determining the above data visualization element types, the execution entity can decompose the data visualization target product to obtain one or more data visualization elements that conform to the data visualization element types. It should be noted that the data visualization elements decomposed from the data visualization target product do not necessarily conform to all of the above data visualization element types. For example, the data visualization element types selected by the user include models, animations, audio, video, charts, and characters, but the data visualization elements obtained by decomposing the data visualization target product only conform to one or more of the types of models, animations, audio, video, charts, and characters. In other words, the data visualization target product does not necessarily have all the types of data visualization elements selected by the user.
[0054] The above content illustrates that the one or more data visualization elements determined according to the data conversion request are from the data visualization target product.
[0055] In this embodiment, generating one or more data visualization simulation pages may include:
[0056] Generate one or more data visualization simulation pages using the data visualization elements. Wherein, generating one or more data visualization simulation pages using the data visualization elements may adopt the following methods described in 2.1 and / or 2.2 (this embodiment is not limited to the methods described in 2.1 and / or 2.2):
[0057] 2.1. Configure the data visualization elements corresponding to the same page into a data visualization simulation page;
[0058] The data conversion request may include pages corresponding to each data visualization element (configured by the user through visualization configuration items), or the pages corresponding to each data visualization element may be determined according to the position or appearance order of each data visualization element in the data visualization target product (for example, the data visualization target product has a building model, and a building data chart will appear when the building model is clicked, then it can be determined that the page corresponding to the building data chart data visualization element is after the page corresponding to the building model data visualization element), so that the data visualization elements corresponding to the same page can be configured into a data visualization page; for example, a chart and a paragraph of characters are data visualization elements, and both correspond to the same data visualization page, then the two can be configured into a data visualization page; that is, the data visualization elements corresponding to the same data visualization page together constitute the data visualization page.
[0059] 2.2. According to the arrangement order of the data visualization elements, the one or more data visualization elements are configured into one or more data visualization simulation pages.
[0060] The arrangement order of data visualization elements can be defined according to the content of the data visualization target product (for example, if the data visualization target product has a building model, and a building data chart will appear when the building model is clicked, then the order of the building data chart data visualization element can be determined to be after the building model data visualization element), and several data visualization elements are selected in sequence according to the arrangement order to generate various data visualization simulation pages. For example, the 1st to 3rd data visualization elements are selected to generate (assemble into) the first data visualization simulation page, the 4th to 6th data visualization elements are selected to generate (assemble into) the second data visualization simulation page, and so on.
[0061] Alternatively, in addition to generating each data visualization simulation page simply according to the arrangement order, each data visualization simulation page can also be generated in combination with the type and arrangement order of the data visualization elements. Specifically, configuring the one or more data visualization elements into one or more data visualization simulation pages according to the arrangement order of the data visualization elements can include: determining the data visualization simulation page corresponding to each data visualization element according to the type of each data visualization element and the arrangement order of the data visualization elements; wherein, according to the arrangement order of the data visualization elements, several data visualization elements of the same type can be selected in turn to generate each data visualization simulation page. Various types of data visualization elements can have priorities. For example, the data visualization elements of animation type have the highest priority, then among all the data visualization elements of animation type, select the 1st to 3rd (only examples, the same below) data visualization elements of animation type to generate (assemble into) the first data visualization simulation page, select the 4th to 6th data visualization elements of animation type to generate (assemble into) the second data visualization simulation page, and so on, until all the data visualization elements of animation type have corresponding data visualization simulation pages; the data visualization elements of chart type have the second highest priority, then among all the data visualization elements of chart type, select the 1st to 3rd data visualization elements of chart type to generate (assemble into) a data visualization simulation page, select the 4th to 6th data visualization elements of chart type to generate (assemble into) the next data visualization simulation page, and so on. In this way, the data visualization simulation page corresponding to each of the data visualization elements can be determined according to the type and arrangement order of each of the data visualization elements, for example, the data visualization elements of the 1st to 3rd animation types are located on the first data visualization simulation page, the data visualization elements of the 4th to 6th animation types are located on the second data visualization simulation page, and so on.
[0062] In this embodiment, the execution subject may determine the operation rules of the one or more data visualization simulation pages. The operation rules may include the jump logic of the one or more data visualization simulation pages, and the jump logic includes the jump order and / or jump animation. That is, the one or more data visualization simulation pages generated above can jump to each other during operation, that is, jump from a certain data visualization simulation page to another data visualization simulation page. The data visualization simulation page follows the above jump logic when jumping, which may include:
[0063] The data visualization simulation page follows the above jump order when jumping, that is, there is a sequence between the one or more data visualization simulation pages. For example, this embodiment generates five pages, namely A1 to A5, and the determined jump order may be A1→A2→A5→A4→A3.
[0064] The data visualization simulation page follows the above jump animation when jumping, that is, the jump between any two data visualization simulation pages can have animation effects. Using the above example, if the jump sequence is A1→A2→A5→A4→A3, the jump animations of A1→A2, A2→A5, A5→A4, and A4→A3 can be determined respectively.
[0065] In addition, the jump animation mentioned above may also include a start animation and an end animation.
[0066] The above jump sequence and / or jump animation can be configured by the user according to the visualization configuration item and included in the visualization configuration item feedback data.
[0067] S105: (Execution subject) After the video generation condition is triggered, the one or more data visualization simulation pages are run according to the operation rules, and the operation video of the one or more data visualization simulation pages is recorded; and after the document generation instruction is triggered, the one or more data visualization simulation pages are configured into a data visualization document according to the operation rules.
[0068] In this embodiment, the data visualization target product can be converted into a video and a document, which are described below respectively:
[0069] 1. Video Conversion
[0070] In this embodiment, the execution subject can preset (data visualization) video generation conditions. When the user triggers the video generation condition (for example, the user clicks a button on the terminal or application page to trigger the video generation condition), the data visualization product simulation is performed. This embodiment does not limit how to trigger the video generation condition.
[0071] After the video generation condition is triggered, the execution subject can run the one or more data visualization simulation pages according to the above operation rules. Since the one or more data visualization simulation pages are used to simulate data visualization products, the content of the data visualization products corresponding to the one or more data visualization simulation pages can be simulated by running the one or more data visualization simulation pages according to the operation rules.
[0072] Using the above example, assume that the data visualization product simulated by the data visualization simulation pages A1 to A5 is the actual operation process of the elevator in a five-story building in a certain period of time. The data visualization product includes the operation process of the elevator from the first floor to the fifth floor of the building, and there are four passengers entering the elevator on the first floor, and one passenger exiting the elevator on the second, third, fourth, and fifth floors. After the execution subject obtains the data conversion request, it generates five data visualization simulation pages A1 to A5. A1 to A5 respectively indicate that the elevator is located on the first floor to the fifth floor. A1 to A5 all contain page elements such as elevators and passengers. Of course, the page elements representing passengers in A1 to A5 are not the same. For example, the page element representing passengers in A1 is four passengers getting on the elevator, the page element representing passengers in A2 is one passenger exiting the elevator and three passengers staying in the elevator, the page element representing passengers in A3 is one passenger exiting the elevator and two passengers staying in the elevator, the page element representing passengers in A4 is one passenger exiting the elevator and one passenger staying in the elevator, and the page element representing passengers in A5 is one passenger exiting the elevator.
[0073] If the jump order of data visualization simulation pages A1 to A5 is determined to be A1→A2→A3→A4→A5, the jump animations of A1→A2, A2→A5, A5→A4, and A4→A3 are B1, B2, B3, and B4 respectively, the start animation is B0, and the end animation is B5, as shown in Table 1:
[0074] project Animation start B0 A1→A2 B1 A2→A5 B2 A5→A4 B3 A4→A3 B4 Finish B5
[0075] Table 1
[0076] After the video generation condition is triggered, the execution body first plays the start animation B0 in the above-mentioned display screen, then jumps to the data visualization simulation page A1, and then jumps to the data visualization simulation page A2 through the animation effect B1, and then jumps to the data visualization simulation page A5 through the animation effect B2, and then jumps to the data visualization simulation page A4 through the animation effect B3, and then jumps to the data visualization simulation page A3 through the animation effect B4, and then plays the end animation B5, thereby simulating the data visualization products corresponding to the data visualization simulation pages A1 to A5, that is, the operation process of the elevator from the first floor to the fifth floor of the above-mentioned building.
[0077] Of course, if there is no start animation, the execution body directly plays the data visualization simulation page A1 in the display screen, and the rest is as above. In addition, the data visualization simulation pages A1 to A5 may also have page elements representing walls, corridors, elevator background music, elevator advertising text, etc., which will not be repeated in this embodiment.
[0078] It should be noted that if the execution entity is a terminal or an application on the terminal, the execution entity directly runs the above-mentioned one or more data visualization simulation pages on its display screen; if the execution entity is a server, then as mentioned above, the application can communicate with the server, and the server sends instructions to the application, and runs the above-mentioned one or more data visualization simulation pages with the help of the display screen of the terminal where the application is located.
[0079] In this embodiment, after the video generation condition is triggered, the one or more data visualization simulation pages can be run in the playback panel, and the one or more data visualization simulation pages do not necessarily need to be run in full screen on the display screen. The above-mentioned data conversion request may include playback panel parameters, and the playback panel parameters can be used to limit the playback panel (the playback panel parameters can be configured by the user using the visualization configuration items and included in the visualization configuration item feedback data). Among them, the playback panel configuration parameters may include playback panel position parameters and / or playback panel size parameters. Through the playback panel configuration parameters, the execution subject can generate a playback panel (or playback window) of corresponding size at the corresponding position of the display screen, which is used to run the above-mentioned data visualization simulation page according to the operation rules.
[0080] In this embodiment, after the video generation condition is triggered, while the execution subject runs the one or more data visualization simulation pages according to the operation rules, the execution subject will record the operation process of the one or more data visualization simulation pages (whether the operation process includes the start animation or the end animation can be configured by the user through the visualization configuration item), that is, record the operation video of the one or more data visualization simulation pages. Since the one or more data visualization simulation pages can be simulated by running the one or more data visualization simulation pages according to the operation rules, the data visualization products corresponding to the one or more data visualization simulation pages can be simulated, then the recorded operation video of the one or more data visualization simulation pages is a description or simulation video of the data visualization products corresponding to the one or more data visualization simulation pages, that is, a video used to describe or simulate "the content of the data visualization products corresponding to the one or more data visualization simulation pages" (that is, a data visualization video).
[0081] Continuing with the above example, after the video generation condition is triggered, the execution entity can record the process of "first playing the start animation B0 in the above display screen, then jumping to the data visualization simulation page A1, then jumping to the data visualization simulation page A2 through animation effect B1, then jumping to the data visualization simulation page A5 through animation effect B2, then jumping to the data visualization simulation page A4 through animation effect B3, then jumping to the data visualization simulation page A3 through animation effect B4, and then playing the end animation B5" to generate an operation video of the data visualization simulation pages A1 to A5, thereby forming a descriptive video of the operation process of the elevator from the first floor to the fifth floor of the above building.
[0082] If the one or more data visualization simulation pages are run in the above-mentioned playback panel, the one or more data visualization simulation pages are run according to the running rules, and recording the running video of the one or more data visualization simulation pages may include:
[0083] By playing the running process of the one or more data visualization simulation pages through the playback panel and recording the playback content of the playback panel, the running video of the one or more data visualization simulation pages is also recorded.
[0084] The execution subject has the corresponding recording function. For example, if the execution subject is a terminal, the terminal has the recording function; if the execution subject is an application, the application has the recording function; if the execution subject is a server, as mentioned above, the application can communicate with the server with the help of the recording function of the application.
[0085] 2. Document Conversion
[0086] After obtaining each data visualization page, each data visualization page can be configured into a data visualization document. For example, each data visualization simulation page can be assembled into a document in sequence. The order of each data visualization simulation page can be configured through visualization configuration items, or can be determined according to the content of the data visualization target product or the arrangement order of data visualization elements in the data visualization simulation page. For example, if the arrangement order of data visualization elements of a data visualization simulation page is at the front, then the data visualization simulation page is at the front.
[0087] The following is an example to further illustrate document conversion:
[0088] Assuming that the data visualization target product is the process of people entering and leaving the main entrance of a building from 8 am to 10 pm, the data visualization target product can be decomposed, and the decomposed data visualization elements can include the main entrance model, people entering and leaving animations, etc., then each person entering and leaving animation has a time sequence, that is, an arrangement order. For example, at 9 am, one person enters the building, and at 10 am, two people leave the building, then "the person entering and leaving animation representing one person entering the building" is arranged before "the person entering and leaving animation representing two people leaving the building". Fifteen pages corresponding to each hour from 8 am to 10 pm can be generated, each page includes a main entrance model and a person entering and leaving animation, wherein the person entering and leaving animations of each page are allocated according to the above arrangement order. A data visualization document is generated from the fifteen pages to describe or simulate the content of the data visualization target product.
[0089] Since the data visualization elements all come from the data visualization target product, the data visualization simulation page is generated by the data visualization elements, and the data visualization document is generated by the data visualization simulation page, the data visualization document can accurately and completely reflect the content characteristics of the data visualization target product. In other words, the data visualization document obtained in this embodiment is a description or simulation document of the data visualization target product, that is, a document used to describe or simulate the content of the data visualization target product.
[0090] It should be noted that each data visualization element obtained in this embodiment is a separate element, so each data visualization element is editable, that is, models, animations, audio, video, charts, characters, and other types of data visualization elements are all editable, for example, the content of a chart, the font of a character, etc. Each data visualization element in a data visualization document is also editable.
[0091] In this embodiment, after recording the running video of the one or more data visualization simulation pages, this embodiment may further include:
[0092] The execution subject stores the operation video and generates a storage link of the operation video;
[0093] Or, the running video is sent to a server for storage, and a storage link of the server corresponding to the running video is obtained.
[0094] Specifically, the execution subject may store the operation video of the one or more data visualization simulation pages. For example, if the execution subject is a terminal or an application on the terminal, the operation video may be stored locally in the terminal or sent to a server for storage; if the execution subject is a server, the server may store the operation video.
[0095] Regardless of the execution subject, a storage link of the running video can be generated. If the execution subject is a terminal or an application on the terminal, if the running video is sent to a server for storage, the server can generate a storage link of the running video and feed it back to the execution subject, so that the execution subject obtains the storage link of the server corresponding to the running video.
[0096] When it is necessary to download or play the running video, the execution entity can obtain the above storage link, access the above storage link, and view, download or play the data visualization simulation page running video corresponding to the obtained storage link.
[0097] In this embodiment, after configuring the one or more data visualization elements into a data visualization document according to the configuration rule, this embodiment may further include:
[0098] The execution subject stores the data visualization document and generates a storage link of the data visualization document;
[0099] Alternatively, the data visualization document is sent to a server for storage, and a storage link of the server corresponding to the data visualization document is obtained.
[0100] Specifically, the execution subject may store the data visualization document. For example, if the execution subject is a terminal or an application on the terminal, the data visualization document may be stored locally in the terminal or sent to a server for storage; if the execution subject is a server, the server may store the data visualization document.
[0101] Regardless of the execution subject, a storage link of the data visualization document can be generated. If the execution subject is a terminal or an application on the terminal, if the data visualization document is sent to a server for storage, the server can generate a storage link of the data visualization document and feed it back to the execution subject, so that the execution subject obtains the storage link of the server corresponding to the data visualization document.
[0102] When it is necessary to download or display the data visualization document, the execution entity can obtain the above storage link, access the above storage link, and view, download or display the data visualization document corresponding to the obtained storage link.
[0103] In this embodiment, the data visualization product is simulated through a data visualization simulation page, and a running video of the data visualization simulation page (hereinafter referred to as "data visualization video") and a data visualization document are generated, and the content of the data visualization product is presented through the data visualization video or the data visualization document. Since the dissemination or sharing of videos or documents between users and devices is more convenient, as long as the user's device has a video playback or document viewing function, and the user's device is not required to have a specific application for running or viewing the data visualization product, the use of the data visualization video or document instead of the data visualization product for dissemination or sharing can improve the dissemination efficiency of the data visualization product. In this embodiment, the data visualization simulation page and the running process of the data visualization simulation page can be freely customized through the data visualization configuration, and the generated data visualization video and data visualization document can accurately and completely reflect the content characteristics of the data visualization product, thereby improving the simulation efficiency and effect of data visualization, and then improving the dissemination efficiency and effect of the data visualization product.
[0104] In this embodiment, the above-mentioned data visualization video or data visualization document can be directly transmitted or shared between different users and different devices, or the above-mentioned storage link can be transmitted or shared. Compared with transmitting or sharing running videos, the storage link has a smaller capacity and is more convenient to transmit or share. Different users can access, download or view (play or display) data visualization videos or data visualization documents through storage links.
[0105] like Figure 3 As shown, the second embodiment of this specification provides a visual data conversion device, including:
[0106] A positioning module 202 is used to obtain a data conversion request and determine a data visualization target product according to the data conversion request;
[0107] A simulation module 204, used to generate one or more data visualization simulation pages and determine the operation rules of the one or more data visualization simulation pages; wherein the one or more data visualization simulation pages are used to simulate the data visualization target product;
[0108] The conversion module 206 is used to run the one or more data visualization simulation pages according to the operating rules and record the operating video of the one or more data visualization simulation pages after the video generation condition is triggered; and to configure the one or more data visualization simulation pages into a data visualization document according to the operating rules after the document generation instruction is triggered.
[0109] Optionally, the device further comprises:
[0110] A storage module, used for storing the operation video or data visualization document, and generating a storage link of the operation video or data visualization document;
[0111] or,
[0112] The operation video or data visualization document is sent to a server for storage, and a storage link of the server corresponding to the operation video or data visualization document is obtained.
[0113] Optionally, the storage module is also used to: view, download or display the operation video or data visualization document corresponding to the acquired storage link.
[0114] Optionally, the simulation module 204 is further used to: before generating one or more data visualization simulation pages, decompose the data visualization target product to obtain one or more data visualization elements.
[0115] Optionally, decomposing the data visualization target product to obtain one or more data visualization elements includes:
[0116] Determine, according to the data conversion request, a data visualization element type after decomposing the data visualization target product;
[0117] The data visualization target product is decomposed to obtain one or more data visualization elements that conform to the data visualization element type.
[0118] Optionally, generating one or more data visualization simulation pages includes:
[0119] One or more data visualization simulation pages are generated using the data visualization elements.
[0120] Optionally, generating one or more data visualization simulation pages using the data visualization element includes:
[0121] configuring the data visualization elements corresponding to the same page into a data visualization simulation page;
[0122] and / or,
[0123] The one or more data visualization elements are configured into one or more data visualization simulation pages according to the arrangement order of the data visualization elements.
[0124] Optionally, running the one or more data visualization simulation pages according to the running rules, and recording the running videos of the one or more data visualization simulation pages includes:
[0125] The operation process of the one or more data visualization simulation pages is played in the playback panel according to the operation rules, and the playback content of the playback panel is recorded to record the operation video of the one or more data visualization simulation pages.
[0126] Optionally, the operation rules include jump logic of the one or more data visualization simulation pages.
[0127] Optionally, determining a data visualization target product according to the data conversion request includes:
[0128] If the data conversion request includes a data visualization product, the data visualization product in the data conversion request is used as a data visualization target product;
[0129] and / or,
[0130] If the data conversion request includes a data visualization product identifier, the data visualization product corresponding to the data visualization product identifier is used as the data visualization target product.
[0131] The third embodiment of this specification provides a visual data conversion device, including:
[0132] at least one processor;
[0133] as well as,
[0134] a memory communicatively coupled to the at least one processor;
[0135] in,
[0136] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor, so that the at least one processor can execute the visual data conversion method described in the first embodiment.
[0137] A fourth embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the visual data conversion method described in the first embodiment is implemented.
[0138] The above embodiments may be used in combination, and modules with the same name between different embodiments or within the same embodiment may be the same or different modules.
[0139] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0140] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0141] The apparatus, device, non-volatile computer-readable storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatus, device, and non-volatile computer storage medium will not be repeated here.
[0142] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0143] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0144] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0145] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0146] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0147] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0150] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0151] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0152] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0153] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0154] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0155] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0156] The above is only an embodiment of this specification and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A visual data conversion method, characterized in that: include: Obtaining a data conversion request, and determining a data visualization target product according to the data conversion request; Decomposing the data visualization target product according to the data conversion request to obtain one or more data visualization elements; Determine the arrangement order of the one or more data visualization elements according to the content of the data visualization target product, select a number of data visualization elements of the same type in turn according to the arrangement order, generate one or more data visualization simulation pages, and determine the operation rules of the one or more data visualization simulation pages; wherein the one or more data visualization simulation pages are used to simulate the data visualization target product; After the video generation condition is triggered, the one or more data visualization simulation pages are run according to the running rules, and the running video of the one or more data visualization simulation pages is recorded; and, After the document generation instruction is triggered, the one or more data visualization simulation pages are configured into a data visualization document according to the operation rules.
2. The method according to claim 1, characterized in that Decomposing the data visualization target product according to the data conversion request to obtain one or more data visualization elements includes: Determine, according to the data conversion request, a data visualization element type after decomposing the data visualization target product; The data visualization target product is decomposed to obtain one or more data visualization elements that conform to the data visualization element type.
3. The method according to claim 1, characterized in that Generating one or more data visualization simulation pages includes: One or more data visualization simulation pages are generated using the data visualization elements.
4. The method according to claim 3, characterized in that The generating one or more data visualization simulation pages by using the data visualization element comprises: configuring the data visualization elements corresponding to the same page into a data visualization simulation page; and / or, The one or more data visualization elements are configured into one or more data visualization simulation pages according to the arrangement order of the data visualization elements.
5. The method according to claim 1, characterized in that Running the one or more data visualization simulation pages according to the running rules and recording the running videos of the one or more data visualization simulation pages includes: The operation process of the one or more data visualization simulation pages is played in the playback panel according to the operation rules, and the playback content of the playback panel is recorded to record the operation video of the one or more data visualization simulation pages.
6. The method according to claim 1, characterized in that The operation rules include the jump logic of the one or more data visualization simulation pages.
7. The method according to claim 1, characterized in that Determining the data visualization target product according to the data conversion request includes: If the data conversion request includes a data visualization product, the data visualization product in the data conversion request is used as a data visualization target product; and / or, If the data conversion request includes a data visualization product identifier, the data visualization product corresponding to the data visualization product identifier is used as the data visualization target product.
8. A visual data conversion device, characterized in that: include: A positioning module, used to obtain a data conversion request and determine a data visualization target product according to the data conversion request; A simulation module, used for decomposing the data visualization target product according to the data conversion request to obtain one or more data visualization elements; Determine the arrangement order of the one or more data visualization elements according to the content of the data visualization target product, select a number of data visualization elements of the same type in turn according to the arrangement order, generate one or more data visualization simulation pages, and determine the operation rules of the one or more data visualization simulation pages; wherein the one or more data visualization simulation pages are used to simulate the data visualization target product; a conversion module, for running the one or more data visualization simulation pages according to the operation rules and recording the operation video of the one or more data visualization simulation pages after the video generation condition is triggered; and After the document generation instruction is triggered, the one or more data visualization simulation pages are configured into a data visualization document according to the operation rules.
9. A visual data conversion device, comprising: at least one processor; as well as, a memory communicatively coupled to the at least one processor; in, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the visual data conversion method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the visual data conversion method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Visual video generation method and system based on tabular data
CN110532427A
Data display method, device and equipment and medium
CN112000329A
