CN113987242A - File picture visualization method, device, equipment and medium - Google Patents

File picture visualization method, device, equipment and medium Download PDF

Info

Publication number
CN113987242A
CN113987242A CN202111271638.5A CN202111271638A CN113987242A CN 113987242 A CN113987242 A CN 113987242A CN 202111271638 A CN202111271638 A CN 202111271638A CN 113987242 A CN113987242 A CN 113987242A
Authority
CN
China
Prior art keywords
component
target
visual
picture
target data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111271638.5A
Other languages
Chinese (zh)
Inventor
刘敏
王波
蒋品
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Beijing Guangqiyuan Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Guangqiyuan Digital Technology Co ltd filed Critical Beijing Guangqiyuan Digital Technology Co ltd
Priority to CN202111271638.5A priority Critical patent/CN113987242A/en
Publication of CN113987242A publication Critical patent/CN113987242A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Abstract

The embodiment of the specification discloses a method, a device, equipment and a medium for visualizing a file picture, wherein the method for visualizing the file picture comprises the following steps: acquiring a target file, identifying a target picture in the target file, and identifying target data corresponding to the target picture in the target file; identifying components contained in the target picture, and determining the corresponding relation between each component and the target data; selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data; and generating visual components according to the visual component frames and the corresponding target data, and displaying the visual components.

Description

File picture visualization method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for visualizing a file and a picture.
Background
In the prior art, a file may include a static picture, and a certain information may be displayed by the static picture, but a display scene or a display effect of the static picture is still not rich enough.
In view of the above, there is a need for more efficient and effective information presentation schemes.
Disclosure of Invention
The embodiment of the specification provides a file and picture visualization method, device, equipment and medium, and aims to solve the technical problem of how to more effectively and efficiently display information.
In order to solve the above technical problem, the embodiments of the present specification provide the following technical solutions:
an embodiment of the present specification provides a file image visualization method, including:
acquiring a target file, identifying a target picture in the target file, and identifying target data corresponding to the target picture in the target file;
identifying components contained in the target picture, and determining the corresponding relation between each component and the target data; selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data;
and generating visual components according to the visual component frames and the corresponding target data, and displaying the visual components.
Optionally, determining the corresponding relationship between each component and the target data includes:
determining the sequence of each component, and determining the corresponding relation between the components and the target data according to the sequence of each component.
Optionally, determining the rank of each component includes:
determining the sequence of each component according to the position of each component in the target picture;
and/or the presence of a gas in the gas,
the order of each of the components is determined according to the type of each of the components.
Optionally, determining the corresponding relationship between each component and the target data according to the ranking of each component includes:
determining the ordering of each group of data contained in the target data;
and determining the corresponding relation between each component and each group of data contained in the target data according to the sequence of each component and the sequence of each group of data.
Optionally, determining the correspondence between each visualization component frame and the target data includes:
for any visual component frame, the target data corresponding to the visual component frame is the target data corresponding to the component corresponding to the visual component frame.
Optionally, generating the visualization component according to each of the visualization component frameworks and the corresponding target data includes:
and for any visual component frame, associating the visual component frame with corresponding target data to generate a visual component corresponding to the visual component frame.
Optionally, the method further includes:
determining component parameters of each component contained in the target picture;
generating visualization components from each of the visualization component frameworks and corresponding target data comprises:
for any visual component frame, associating the visual component frame with corresponding target data; rendering the visual component framework according to the component parameters of the component corresponding to the visual component framework to generate the visual component corresponding to the visual component framework.
An embodiment of the present specification provides a file picture visualization device, including:
the acquisition module is used for acquiring a target file, identifying a target picture in the target file and identifying target data corresponding to the target picture in the target file;
the analysis module is used for identifying the components contained in the target picture and determining the corresponding relation between each component and the target data; selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data;
and the generation module is used for generating the visual components according to the visual component frames and the corresponding target data and displaying the visual components.
An embodiment of the present specification provides a file image visualization device, including:
at least one processor;
and the number of the first and second groups,
a memory communicatively coupled to the at least one processor;
wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the document picture visualization method described above.
The present specification provides a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the method for visualizing a file picture as described above is implemented.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
according to the technical scheme, the visual assembly can be automatically generated according to the picture, so that information display is converted into information display in a visual mode through a picture mode, and the information display effect and efficiency are improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments of the present specification or the prior art will be briefly described below. It should be apparent that the drawings described below are only some of the drawings to which the embodiments described in the present specification may relate, and that other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a schematic diagram of an implementation subject of a document picture visualization method in a first embodiment of the present specification.
Fig. 2 is a flowchart illustrating a document image visualization method in a first embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a document picture visualization apparatus in a second embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings of the embodiments of the present specification. It is to be understood that the embodiments described herein are only some embodiments of the application and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
In the prior art, people can put pictures in files and display various information through the pictures. The static picture or the two-dimensional picture is used as a common picture form, is relatively easy to be touched or acquired by people, and is used in files frequently. However, the still picture or the two-dimensional picture has a problem that the information display effect is not sufficient.
A first embodiment (hereinafter referred to as "embodiment one") of this specification provides a file and picture visualization method, and an execution subject of the embodiment one may be a terminal (including but not limited to a mobile phone, a computer, a pad, a television), or a server, or an operating system, or an application program, or a file and picture visualization platform, or a file and picture visualization system, and the like, that is, the execution subject may be various and may be set, used, or transformed as needed. In addition, a third party application may assist the execution principal in executing embodiment one. For example, as shown in fig. 1, the file image visualization method in the first embodiment may be executed by a server, and an application program (corresponding to the server) may be installed on a terminal (held by a user), and data transmission may be performed between the terminal or the application program and the server, and data collection or input or output or page or information processing may be performed (to the user) through the terminal or the application program, so as to assist the server in executing the file image visualization method in the first embodiment.
As shown in fig. 2, a method for visualizing a file picture according to an embodiment includes:
s101: acquiring a target file, identifying a target picture in the target file, and identifying target data corresponding to the target picture in the target file (an execution subject);
the execution subject of the first embodiment may obtain the target file, identify the target picture included in the target file, and identify the target data corresponding to the target picture in the target file. The execution main body may acquire the file in a plurality of ways, for example, the file may be manually transferred to the execution main body of the first embodiment through the operation terminal or the application program, or the execution main body of the first embodiment may display a setting page through which a user may upload the file, or the execution main body may automatically capture the file from the terminal or the application program, and the embodiment is not limited to how the execution main body acquires the file. The execution subject of the first embodiment may use the file acquired in the above manner as the target file.
The target file may be in a format readable by the execution body of the first embodiment, such as a document format (including but not limited to doc, Excel, PDF, and PPT format documents), or the execution body of the first embodiment may perform format conversion on the target file so as to read the target file, and the format or form of the target file is not limited by the embodiment.
Of course, the target file may also be determined by another subject other than the execution subject of the first embodiment, and the execution subject of the first embodiment acquires the target file from the other subject.
The execution subject of embodiment one may identify the picture contained in the target file. The executing subject can identify the picture contained in the target file by using the existing picture identification technology, and the picture contained in the target file can be called as the target picture.
In one embodiment, the target picture includes one or more components (each component included in the target picture is hereinafter referred to as a "picture component"), such as a chart component.
The execution subject of embodiment one may identify data in the target file and use the identified data as target data. The execution subject of the first embodiment may use the data in the specific form identified from the target file as the target data. Specifically, the execution subject of the first embodiment may recognize the target data through an existing character recognition technology, the target data may be data in the form of numbers, characters, and the like, and the form of the target data is not limited in the first embodiment.
The execution subject of the first embodiment takes the target data included in the identified target file as the target data corresponding to the target picture. Specifically, the target data corresponding to the target picture is data displayed by the picture assembly in the target picture.
For example, the target picture includes a graph component (including a bar graph, a pie graph, or other graphs), and the graph component is used for displaying certain data, and then the data displayed by the graph component belongs to the target data corresponding to the target picture. For example, the target picture includes a bar graph and a pie chart for showing the turnover data and the product proportion data, and the turnover data and the product proportion data belong to the target data corresponding to the target picture. Of course, the target picture may also include other types of picture components, and data displayed by the other types of picture components also belong to the target data corresponding to the target picture.
The target picture and the target data may be independently present in the target file, respectively, for example, the target data may be independently present in the target file (outside the target picture) in a table form. The target data may also exist in the target picture, so that the execution subject of embodiment one recognizes the target data from the target picture. For example, the target picture includes a histogram component, and the 12-month turnover data is represented by 12 long bars in the histogram component, and the top end of each long bar is mapped onto the ordinate axis of the histogram by identifying the length of each long bar, and the value of the mapping point of the top end of each long bar on the ordinate axis of the histogram is the 12-month turnover data and is used as the target data. And identifying target data from the target picture as the target data corresponding to the target picture.
S103: identifying components contained in the target picture and determining the corresponding relation between each component and the target data (an execution subject); selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data;
as described above, the target picture may include one or more picture assemblies, and the execution subject of the first embodiment may identify each picture assembly included in the target picture. The execution subject of the first embodiment can identify each picture component included in the target picture by using a picture identification technology.
After identifying each image component included in the target image, the execution subject of the first embodiment may determine the component parameters of each image component included in the target image. Wherein the component parameters include, but are not limited to, one or more of component type (i.e., component name, such as a histogram component), component color, component location, and component size.
Since the target file includes the target data corresponding to the target picture, and the target picture includes the picture assemblies, the execution main body in the first embodiment may determine the corresponding relationship between each picture assembly included in the target picture and the target data in the target file.
In a first embodiment, determining a correspondence between each picture assembly included in a target picture and the target data may include: and determining the sequence of each component contained in the target picture, and determining the corresponding relation between each picture component contained in the target picture and the target data according to the sequence of each picture component contained in the target picture. Determining the correspondence between each image assembly included in the target image and the target data according to the sequence of each image assembly included in the target image may include: determining the ordering of a plurality of groups of data contained in the target data; and determining the corresponding relation between each image assembly contained in the target image and each group of data contained in the target data according to the sequence of each image assembly contained in the target image and the sequence of the plurality of groups of data.
The execution subject of the first embodiment may preset rules, and determine the ordering of the image assemblies included in the target image according to the preset rules. Wherein the preset rule may be a component type rule or a location rule. The component type rule is to determine the ordering of the image components included in the target picture according to the types of the image components, and the position rule is to determine the ordering of the image components included in the target picture according to the positions of the image components included in the target picture, for example, the ordering of the components positioned above is positioned above. Of course, the preset rule may be other rules.
In one embodiment, the target data may comprise one or more sets of data. For example, the target data is sales data for 1 to 12 months, and sales data for each month is a set of data, so the target data includes 12 sets of data.
The execution subject of the first embodiment may determine the ordering of each set of data included in the target data, for example, the target data is divided into a plurality of paragraphs, each paragraph corresponds to one set of data, and the data corresponding to the preceding paragraph is ordered in the front; for another example, the target data is divided into a plurality of rows, each row corresponds to a group of data, and the data corresponding to the front row is sorted in front.
After the ordering of each image component included in the target image and the ordering of each group of data included in the target data are determined, the corresponding relationship between each image component included in the target image and each group of data included in the target data can be determined according to the ordering of each image component included in the target image and the ordering of each group of data included in the target data. For example, a first-ordered component of a picture may correspond to a first-ordered set of data, a second-ordered component may correspond to a second-ordered set of data, and so on, and a last-ordered component may correspond to a last-ordered set of data.
The execution subject of embodiment one may pre-store resource data for visual configuration or visual presentation, where the resource data includes various types of visual component frameworks, including but not limited to visual chart component frameworks, visual shape component frameworks (e.g., shape components in svg format), three-dimensional model component frameworks, visual connecting line component frameworks, or marked points (the marked points are used for presenting some preset information or data in a preset form, such as a video, a chart, a picture, etc.). The visualization component framework itself may have visualization effects, but not associated or corresponding to specific data. Based on the visualization component framework, corresponding visualization components can be formed. For example, a visualized histogram component frame, may only include coordinate axes as a frame, but have a visualization effect, such as a three-dimensional stereoscopic effect.
After identifying the image components included in the target image, the execution subject of the first embodiment may determine a visual component frame corresponding to the "image components included in the target image". The execution main body of the first embodiment may preset a correspondence between the picture assembly and the visual assembly frame, and select the visual assembly frame corresponding to each picture assembly included in the target picture from the pre-stored resource data according to the correspondence between the picture assembly and the visual assembly frame. For example, the histogram assembly is a histogram assembly, which may correspond to a visualized histogram assembly frame; for example, the pie component is a pie chart component that may correspond to a visualized pie chart component frame.
After determining the visualization component frameworks corresponding to the "image components included in the target image", the execution subject of the first embodiment may determine the correspondence between the visualization component frameworks and the target data. Determining the corresponding relationship between each visualization component frame and the target data may include: for any visual component frame, the target data corresponding to the visual component frame is the target data corresponding to the picture component corresponding to the visual component frame. That is, for any visual component frame, what target data the picture component corresponding to the visual component frame corresponds to, what target data the visual component frame corresponds to; or the image component corresponding to the visualization component frame corresponds to which group of data, and the visualization component frame corresponds to which group of data.
It should be noted that "determining the correspondence between each image component included in the target image and the target data" and "determining the visual component frame corresponding to each image component included in the target image" have no absolute precedence.
S105: and (executing the main body) generating visual components according to the visual component frameworks and the corresponding target data, and displaying the visual components.
After determining the visual component frames corresponding to the picture components included in the target picture and the corresponding relationship between the visual component frames and the target data, the execution subject of the first embodiment may generate the visual components according to the visual component frames and the corresponding target data. Generating the visualization component according to each visualization component frame and the corresponding target data may include the method described in 1.1 or 1.2 (an embodiment is not limited to the method described in 1.1 or 1.2):
1.1, for any visual component frame, associating the visual component frame with the corresponding target data to generate the visual component corresponding to the visual component frame.
For any visualization component framework, the visualization component framework has a basic shape framework, but no associated or corresponding data. And after the visualization component framework is associated with the corresponding target data, generating the visualization component corresponding to the visualization component framework so as to visually display the target data corresponding to the visualization component framework. For example, a certain visualization component frame is a visualization line graph frame, which has a basic coordinate axis shape; and if the target data corresponding to the visual component frame is sales data of 1-12 months, associating the visual component frame with the sales data of 1-12 months corresponding to the visual component frame, and forming specific coordinate values on a coordinate axis and specific broken lines on the basis of the visual component frame, so as to generate a specific visual broken line diagram with the coordinate values and the broken lines. The generated visualization line graph is the visualization component corresponding to the visualization component framework and is used for displaying the target data corresponding to the visualization component framework, namely the sales data of 1-12 months.
1.2, for any visual component frame, associating the visual component frame with corresponding target data; rendering the visual component framework according to the component parameters of the component corresponding to the visual component framework to generate the visual component corresponding to the visual component framework.
"for any visualization component frame, associate the visualization component frame with the corresponding target data" is as described in 1.1. As described above, the component parameters of each picture component included in the target picture can be determined, so that for any visual component frame, the visual component frame can be rendered according to the component parameters of the picture component corresponding to the visual component frame. And associating the visual component frame with corresponding target data, rendering the visual component frame according to the component parameters of the component corresponding to the visual component frame, and then generating the visual component corresponding to the visual component frame so as to visually display the target data corresponding to the visual component frame, wherein the visual component corresponding to the visual component frame conforms to the component parameters of the component corresponding to the visual component frame.
For example, a certain visualization component frame is a visualization line graph frame, which has a basic coordinate axis shape; if the target data corresponding to the visual component frame is sales data of 1-12 months, on one hand, associating the visual component frame with the sales data of 1-12 months corresponding to the visual component frame, forming specific coordinate values on a coordinate axis on the basis of the visual component frame, and forming specific fold lines; on the other hand, assuming that the component parameters of the image component corresponding to the visualization component frame include a component color, a component position, and a component size, the visualization component frame is rendered according to the component parameters of the image component corresponding to the visualization component frame. After target data association and component parameter rendering, the generated visualization line graph is the visualization component corresponding to the visualization component framework and is used for displaying target data corresponding to the visualization component framework, namely sales data of 1-12 months. And the visual components corresponding to the visual component frame conform to the component colors and the component sizes contained in the component parameters of the picture components corresponding to the visual component frame. When the visual component corresponding to the visual component frame is displayed, the position of the visual component corresponding to the visual component frame on the display page conforms to the component position contained in the component parameter of the picture component corresponding to the visual component frame.
In particular, the execution subject of the first embodiment may determine the ordering of the visualization components according to the ordering of the image components included in the target image. Generally, the sequence of each image component included in the target image is the same as the sequence of each visualization component frame corresponding to each image component included in the target image, and the sequence of the visualization component corresponding to each visualization component frame is the same as the sequence of each visualization component frame. In this way, the visual components can be dynamically displayed in sequence according to the sequence of the visual components.
Because the visualization component framework has a visualization effect, the visualization component corresponding to the visualization component framework can keep the visualization effect of the visualization component framework; or, after the visualization framework is rendered by using the component parameters, the visualization effect of the visualization component corresponding to the visualization component framework may be different from the visualization effect of the visualization component framework, for example, a color change.
After the visualization components corresponding to the visualization component frames are generated, the visualization components can be displayed through the page of the execution main body or other devices in the first embodiment. The generated visualization components can be saved as a project, and the execution subject or other device of the first embodiment acquires the project to show the visualization components.
The target data corresponding to each visual component frame is the target data corresponding to the target picture, and the data associated with each visual group price frame is the target data corresponding to each visual component frame, so that the data displayed by each visual component is the target data corresponding to the target picture, that is, each visual component can display the target data to be displayed by the target picture in a visual form.
In the first embodiment, for an object file containing a picture (particularly, a picture with a chart component), the object picture and object data in the object file can be automatically identified, and a visualization component is generated and displayed, wherein the visualization component can display the object data to be displayed by the object picture through a visualization effect in a visualization scene, so that information display is automatically performed through the 'object file containing a picture', and information display is converted into information display through the visualization component in a visualization form, thereby improving the information display effect and efficiency.
In the first embodiment, the picture component and the component parameters can be automatically identified from the target picture, the component parameters are applied to the visual component framework, and the visual component framework is rendered to form the visual component, namely, the component parameters corresponding to the picture component can be used as the component parameters of the visual component, so that the parameters of the visual component do not need to be manually configured by a user, the information display efficiency is improved, and the conditions that manual configuration wastes time and labor and is easy to make mistakes are avoided.
As shown in fig. 3, a second embodiment of the present disclosure provides an apparatus for visualizing a document picture corresponding to the method of the first embodiment, including:
an obtaining module 202, configured to obtain a target file, identify a target picture in the target file, and identify target data corresponding to the target picture in the target file;
an analysis module 204, configured to identify components included in the target picture, and determine a corresponding relationship between each component and the target data; selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data;
a generating module 206, configured to generate a visualization component according to each of the visualization component frameworks and corresponding target data, and display the visualization component.
Optionally, determining the corresponding relationship between each component and the target data includes:
determining the sequence of each component, and determining the corresponding relation between the components and the target data according to the sequence of each component.
Optionally, determining the rank of each component includes:
determining the sequence of each component according to the position of each component in the target picture;
and/or the presence of a gas in the gas,
the order of each of the components is determined according to the type of each of the components.
Optionally, determining the corresponding relationship between each component and the target data according to the ranking of each component includes:
determining the ordering of each group of data contained in the target data;
and determining the corresponding relation between each component and each group of data contained in the target data according to the sequence of each component and the sequence of each group of data.
Optionally, determining the correspondence between each visualization component frame and the target data includes:
for any visual component frame, the target data corresponding to the visual component frame is the target data corresponding to the component corresponding to the visual component frame.
Optionally, generating the visualization component according to each of the visualization component frameworks and the corresponding target data includes:
and for any visual component frame, associating the visual component frame with corresponding target data to generate a visual component corresponding to the visual component frame.
Optionally, the analysis module 204 is further configured to determine component parameters of each component included in the target picture;
optionally, generating the visualization component according to each of the visualization component frameworks and the corresponding target data includes:
for any visual component frame, associating the visual component frame with corresponding target data; rendering the visual component framework according to the component parameters of the component corresponding to the visual component framework to generate the visual component corresponding to the visual component framework.
A third implementation of the present specification provides a document picture visualization apparatus, including:
at least one processor;
and the number of the first and second groups,
a memory communicatively coupled to the at least one processor;
wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to an embodiment.
A fourth embodiment of the present specification provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform the method of embodiment one.
The above embodiments may be used in combination, and the modules having the same name between different embodiments or within the same embodiment may be the same or different modules.
While certain embodiments of the present disclosure have been described above, other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily have to be in the particular order shown or in sequential order to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, device, and non-volatile computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
The apparatus, the device, the nonvolatile computer readable storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have similar advantageous technical effects to the corresponding method.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, 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.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, the present specification embodiments may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. 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 (10)

1. A file picture visualization method comprises the following steps:
acquiring a target file, identifying a target picture in the target file, and identifying target data corresponding to the target picture in the target file;
identifying components contained in the target picture, and determining the corresponding relation between each component and the target data; selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data;
and generating visual components according to the visual component frames and the corresponding target data, and displaying the visual components.
2. The method of claim 1, wherein determining a correspondence of each of the components to the target data comprises:
determining the sequence of each component, and determining the corresponding relation between the components and the target data according to the sequence of each component.
3. The method of claim 2, determining the rank of each of the components comprising:
determining the sequence of each component according to the position of each component in the target picture;
and/or the presence of a gas in the gas,
the order of each of the components is determined according to the type of each of the components.
4. The method of claim 2, wherein determining the correspondence of the components to the target data according to the ranking of each of the components comprises:
determining the ordering of each group of data contained in the target data;
and determining the corresponding relation between each component and each group of data contained in the target data according to the sequence of each component and the sequence of each group of data.
5. The method of any of claims 1 to 4, determining a correspondence of each of the visualization component frameworks to the target data, comprising:
for any visual component frame, the target data corresponding to the visual component frame is the target data corresponding to the component corresponding to the visual component frame.
6. The method of claim 1, wherein generating visualization components from each of the visualization component frameworks and corresponding target data comprises:
and for any visual component frame, associating the visual component frame with corresponding target data to generate a visual component corresponding to the visual component frame.
7. The method of claim 1, further comprising:
determining component parameters of each component contained in the target picture;
generating visualization components from each of the visualization component frameworks and corresponding target data comprises:
for any visual component frame, associating the visual component frame with corresponding target data; rendering the visual component framework according to the component parameters of the component corresponding to the visual component framework to generate the visual component corresponding to the visual component framework.
8. A document picture visualization device, comprising:
the acquisition module is used for acquiring a target file, identifying a target picture in the target file and identifying target data corresponding to the target picture in the target file;
the analysis module is used for identifying the components contained in the target picture and determining the corresponding relation between each component and the target data; selecting visual component frames corresponding to components contained in the target picture, and determining the corresponding relation between each visual component frame and the target data;
and the generation module is used for generating the visual components according to the visual component frames and the corresponding target data and displaying the visual components.
9. A document picture visualization device comprising:
at least one processor;
and the number of the first and second groups,
a memory communicatively coupled to the at least one processor;
wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the document picture visualization method of any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the document picture visualization method of any one of claims 1 to 7.
CN202111271638.5A 2021-10-29 2021-10-29 File picture visualization method, device, equipment and medium Pending CN113987242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111271638.5A CN113987242A (en) 2021-10-29 2021-10-29 File picture visualization method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111271638.5A CN113987242A (en) 2021-10-29 2021-10-29 File picture visualization method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113987242A true CN113987242A (en) 2022-01-28

Family

ID=79744322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111271638.5A Pending CN113987242A (en) 2021-10-29 2021-10-29 File picture visualization method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113987242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579524A (en) * 2022-05-06 2022-06-03 成都大学 Method and system for processing image data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579524A (en) * 2022-05-06 2022-06-03 成都大学 Method and system for processing image data
CN114579524B (en) * 2022-05-06 2022-07-15 成都大学 Method and system for processing image data

Similar Documents

Publication Publication Date Title
CN108010112B (en) Animation processing method, device and storage medium
EP3279866A1 (en) Method and apparatus for generating synthetic picture
CN107766349B (en) Method, device, equipment and client for generating text
CN111752557A (en) Display method and device
CN105528418B (en) A kind of design documentation generation method and device
CN110032314B (en) Long screen capture method and device, storage medium and terminal equipment
CN105517681A (en) Chart conversion system using metadata and method therefor
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
CN111459501A (en) SVG-based Web configuration picture storage and display system, method and medium
CN107613046B (en) Filter pipeline system, image data processing method and device and electronic equipment
CN114359533B (en) Page number identification method based on page text and computer equipment
CN107122104B (en) Data display method and device
CN113987242A (en) File picture visualization method, device, equipment and medium
CN111368902A (en) Data labeling method and device
CN107766703B (en) Watermark adding processing method and device and client
CN107621951B (en) View level optimization method and device
CN109271607A (en) User Page layout detection method and device, electronic equipment
JP7020628B2 (en) Automatic image display device for patent documents
CN106155754B (en) Display template processing method and device
CN109358919B (en) Dynamic configuration method and device for universal page, computer equipment and storage medium
CN108519986B (en) Webpage generation method, device and equipment
CN107193815A (en) A kind of processing method of page code, device and equipment
CN113849676A (en) Picture visualization method, device, equipment and medium
CN115170695A (en) Method and device for generating chart picture, electronic equipment and storage medium
US20120086723A1 (en) Dynamic Cropping of Visual Content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220713

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Applicant after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 100102 Room 203, 14 and 19, floor 2, building 19, Wangjing Dongyuan seventh district, Chaoyang District, Beijing

Applicant before: Beijing Guangqiyuan Digital Technology Co.,Ltd.

TA01 Transfer of patent application right