CN113868518A - Thermodynamic diagram generation method and device, electronic equipment and storage medium - Google Patents

Thermodynamic diagram generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113868518A
CN113868518A CN202111089043.8A CN202111089043A CN113868518A CN 113868518 A CN113868518 A CN 113868518A CN 202111089043 A CN202111089043 A CN 202111089043A CN 113868518 A CN113868518 A CN 113868518A
Authority
CN
China
Prior art keywords
thermodynamic diagram
blocks
thermodynamic
area
determining
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
CN202111089043.8A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111089043.8A priority Critical patent/CN113868518A/en
Publication of CN113868518A publication Critical patent/CN113868518A/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The disclosure provides a thermodynamic diagram generation method and device, electronic equipment and a storage medium, and relates to the technical field of computers, in particular to the technical field of artificial intelligence such as cloud computing and big data processing. The specific implementation scheme is as follows: responding to the generation request, analyzing and obtaining the thermodynamic diagram area from the generation request, and determining a block group corresponding to the thermodynamic diagram area, wherein the block group comprises: the method comprises the steps of obtaining a plurality of blocks, obtaining a plurality of thermodynamic diagram data corresponding to the blocks respectively, and rendering the plurality of thermodynamic diagram data corresponding to the blocks respectively to obtain a target thermodynamic diagram.

Description

Thermodynamic diagram generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of artificial intelligence technologies such as cloud computing and big data processing, and in particular, to a thermodynamic diagram generation method and apparatus, an electronic device, and a storage medium.
Background
Artificial intelligence is the subject of research that makes computers simulate some human mental processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, a machine learning technology, a deep learning technology, a big data processing technology, a knowledge map technology and the like.
In the related art, a thermodynamic diagram is usually rendered on a map based on coordinate points and heat values corresponding to the coordinate points.
Disclosure of Invention
The present disclosure provides a thermodynamic diagram generation method, apparatus, electronic device, storage medium, and computer program product.
According to a first aspect of the present disclosure, there is provided a thermodynamic diagram generation method, including: responding to a generation request, and analyzing a thermodynamic diagram area from the generation request; determining a grouping of blocks corresponding to the thermodynamic diagram area, the grouping of blocks comprising: a plurality of blocks; acquiring a plurality of thermodynamic diagram data respectively corresponding to the plurality of blocks; and rendering a plurality of corresponding thermodynamic diagram data in the plurality of blocks respectively to obtain a target thermodynamic diagram.
According to a second aspect of the present disclosure, there is provided a thermodynamic diagram generation apparatus including: the analysis module is used for responding to a generation request and analyzing the generation request to obtain a thermodynamic diagram area; a determination module to determine a grouping of blocks corresponding to the thermodynamic diagram area, the grouping of blocks including: a plurality of blocks; an obtaining module, configured to obtain a plurality of thermodynamic diagram data corresponding to the plurality of blocks, respectively; and the rendering module is used for rendering a plurality of corresponding thermodynamic diagram data in the plurality of blocks respectively so as to obtain the target thermodynamic diagram.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the thermodynamic diagram generation method of the embodiments of the present disclosure.
According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute a method of generating a thermodynamic diagram of an embodiment of the present disclosure is presented.
According to a fifth aspect of the present disclosure, a computer program product is presented, comprising a computer program which, when executed by a processor, implements the thermodynamic diagram generation method of an embodiment of the present disclosure.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure;
FIG. 2 is a schematic diagram of thermodynamic diagram region partitioning according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram according to a second embodiment of the present disclosure;
FIG. 4 is a schematic diagram of concurrent rendering according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram according to a third embodiment of the present disclosure;
FIG. 6 is a schematic diagram according to a fourth embodiment of the present disclosure;
FIG. 7 is a schematic diagram according to a fifth embodiment of the present disclosure;
fig. 8 shows a schematic block diagram of an example electronic device that may be used to implement the thermodynamic diagram generation method of embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram according to a first embodiment of the present disclosure.
It should be noted that the executing subject of the thermodynamic diagram generating method of this embodiment is a thermodynamic diagram generating device, which may be implemented by software and/or hardware, and the device may be configured in an electronic device, and the electronic device may include, but is not limited to, a terminal, a server, and the like.
The embodiment of the disclosure relates to the technical field of artificial intelligence such as cloud computing and big data processing.
Wherein, Artificial Intelligence (Artificial Intelligence), english is abbreviated as AI. The method is a new technical science for researching and developing theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
Cloud Computing (Cloud Computing) is a kind of distributed Computing, and means that a huge data Computing processing program is decomposed into countless small programs through a network "Cloud", and then the small programs are processed and analyzed by a system composed of a plurality of servers to obtain results and are returned to a user.
The big data processing refers to a process of analyzing and processing large-scale data in an artificial intelligence mode, and the big data can be summarized into 5V, and has large data Volume (Volume), high speed (Velocity), multiple types (Velocity), Value (Value) and authenticity (Veracity).
It should be noted that the data acquisition, storage, processing and use involved in the embodiments of the present disclosure are all in compliance with the regulations of the relevant laws and regulations, and do not violate the customs of the public order.
As shown in fig. 1, the thermodynamic diagram generation method includes:
s101: and analyzing the thermodynamic diagram area from the generation request in response to the generation request.
The request for generating the thermodynamic diagram may be referred to as a generation request, and the generation request may be, for example, a request interface provided by the thermodynamic diagram generation apparatus in advance and based on a request for generating the thermodynamic diagram received by the generation request interface.
The map area used for loading and rendering the thermodynamic data may be referred to as a thermodynamic area, and the area may be, for example, a beijing city area, a shanghai city area, a jiangsu province area, or the like in the map, which is not limited thereto.
That is, after receiving the generation request, the generation request may be parsed to obtain a map area used for loading and rendering the thermodynamic data in the generation request as a thermodynamic area, and then the thermodynamic area may be correspondingly processed to generate a thermodynamic diagram of the area.
S102: determining a block grouping corresponding to the thermodynamic diagram area, wherein the block grouping comprises the following steps: a plurality of blocks.
Fig. 2 is a schematic diagram Of division Of thermodynamic diagram regions according to an embodiment Of the present disclosure, that is, the thermodynamic diagram regions may be divided into a plurality Of blocks by taking a boundary Of a road, a Point Of Interest (POI), or a natural feature (e.g., a river) in the real world as a boundary, and the blocks may form different block groups.
In some embodiments, the blocks corresponding to the thermodynamic diagram areas may be determined according to the manner of dividing the administrative areas, that is, after the thermodynamic diagram areas are divided into a plurality of blocks, the manner of dividing the administrative areas corresponding to the thermodynamic diagram areas may be determined, and the manner of dividing the administrative areas corresponding to the thermodynamic diagram areas is used as the blocks corresponding to the thermodynamic diagram areas, which is not limited herein.
For example, after determining that the thermodynamic diagram area is a hai lake area, the hai lake area may be divided into a plurality of blocks, and then the hai lake area may be divided into a plurality of towns such as a sudoku town, a spa town, a chinese holly town, a north tai-zhen town, and the like according to the way of dividing the towns, and accordingly, the block group corresponding to the hai lake area may be a town group.
In other embodiments, the thermodynamic diagram area may be divided into a plurality of blocks, and the blocks with the same number may form a block group, and accordingly, the blocks with the same number in the plurality of blocks corresponding to the thermodynamic diagram area may be determined to determine the block group corresponding to the thermodynamic diagram area, which is not limited herein.
S103: a plurality of thermodynamic diagram data corresponding to the plurality of blocks are acquired.
The data describing the thermodynamic diagrams corresponding to the blocks may be referred to as thermodynamic diagram data, and the thermodynamic diagram data may be, for example, a heat value, which is not limited herein.
In some embodiments, the obtaining of the plurality of thermodynamic diagram data corresponding to the plurality of blocks may be obtaining a plurality of calorific values corresponding to the plurality of blocks, and using the obtained plurality of calorific values as the plurality of thermodynamic diagram data corresponding to the plurality of blocks.
In other embodiments, the plurality of thermodynamic diagrams corresponding to the plurality of blocks are obtained, or a plurality of heat values corresponding to the plurality of blocks are obtained, the plurality of heat values corresponding to the plurality of blocks are accumulated, and the heat values obtained after the accumulation are used as the plurality of thermodynamic diagrams corresponding to the plurality of blocks, which is not limited.
S104: rendering a plurality of corresponding thermodynamic diagram data in a plurality of blocks respectively to obtain a target thermodynamic diagram.
After obtaining the plurality of thermodynamic diagrams data corresponding to the plurality of blocks, the plurality of thermodynamic diagrams data corresponding to the plurality of blocks may be rendered to obtain a plurality of rendered thermodynamic diagrams, which may be referred to as target thermodynamic diagrams.
In some embodiments, the rendering of the plurality of corresponding thermodynamic diagrams in the plurality of blocks may be sequentially performed on the plurality of thermodynamic diagrams corresponding to the plurality of blocks, respectively, to obtain the target thermodynamic diagram, or the rendering of the plurality of thermodynamic diagrams corresponding to the plurality of blocks, respectively, by using a thermodynamic diagram renderer, to obtain the target thermodynamic diagram, which is not limited to this.
In this embodiment, in response to the generation request, the thermodynamic diagram area is obtained by analyzing the generation request, and the block grouping corresponding to the thermodynamic diagram area is determined, where the block grouping includes: the method comprises the steps of obtaining a plurality of blocks, obtaining a plurality of thermodynamic diagram data corresponding to the blocks respectively, and rendering the plurality of thermodynamic diagram data corresponding to the blocks respectively to obtain a target thermodynamic diagram.
Fig. 3 is a schematic diagram according to a second embodiment of the present disclosure.
As shown in fig. 3, the thermodynamic diagram generation method includes:
s301: and analyzing the thermodynamic diagram area from the generation request in response to the generation request.
For the description of S301, reference may be made to the above embodiments, which are not described herein again.
S302: a reference area level corresponding to the thermodynamic area is determined.
In some embodiments, the thermodynamic diagram area may be divided in an administrative division manner, that is, the thermodynamic diagram area may be divided in an administrative division manner into a plurality of prefecture-level areas, a plurality of county-level areas or a plurality of county-level areas, which is not limited to this.
After dividing the thermodynamic diagram area into a plurality of areas according to an administrative division, the area may have a corresponding administrative area hierarchy, which may be referred to as a reference area hierarchy, and the reference area hierarchy may be, for example, a local level, a district level, a county level, a township level, and the like, which is not limited thereto.
Accordingly, determining the reference area hierarchy corresponding to the thermodynamic diagram area may be determining an administrative area hierarchy corresponding to the thermodynamic diagram area and taking the administrative area hierarchy as the reference area hierarchy, for example, if the thermodynamic diagram area is a beijing city area, the reference area hierarchy corresponding to the beijing city area is a prefecture level.
S303: and determining a block group corresponding to the thermodynamic diagram area according to the reference area level.
After the administrative region hierarchy corresponding to the thermodynamic diagram region is determined, the block groups corresponding to the thermodynamic diagram regions can be determined according to the administrative region hierarchy.
In this embodiment, after the administrative area hierarchy corresponding to the thermodynamic diagram area is determined, the administrative area hierarchy corresponding to the thermodynamic diagram area may be grouped as a block corresponding to the thermodynamic diagram area, which is not limited herein.
For example, if it is determined that the administrative region hierarchy corresponding to the thermodynamic diagram region is at the metro level, the blocks corresponding to the thermodynamic diagram region may be determined to be grouped into metro-level groups.
S304: a plurality of coordinate location points corresponding to the block is determined.
The coordinates of the plurality of points correspondingly included in the block may be referred to as coordinate location points, and the coordinate location points may be, for example, longitude and latitude coordinates, which is not limited herein.
That is, in the embodiment of the present disclosure, longitude and latitude coordinates of a plurality of points corresponding to a block may be determined and used as a plurality of coordinate location points.
S305: a plurality of thermal data corresponding to the plurality of coordinate location points, respectively, is determined.
After the coordinate position points corresponding to the block are determined, a plurality of heat values corresponding to the coordinate position points may be determined, and the heat values may be referred to as heat data.
In the disclosed embodiment, a plurality of coordinate position points [ (x) corresponding to the block are determined0,y0),(x1,y1),(x2,y2),...(xn,yn)]Thereafter, a plurality of heat value corresponding to the plurality of coordinate location points, respectively, may be determined:
[(x0,y0,hot0),(x1,y1,hot1),(x2,y2,hot2),...,(xn,yn,hotn)]。
s306: and aggregating the plurality of thermodynamic data corresponding to the block to obtain thermodynamic diagram data corresponding to the block.
In the embodiment of the present disclosure, after determining the plurality of pieces of thermal data corresponding to the plurality of coordinate position points corresponding to the block, the plurality of pieces of thermal data [ (x) may be obtained for the plurality of coordinate position points corresponding to the block0,y0,hot0),(x1,y1,hot1),(x2,y2,hot2),...(xn,yn,hotn)]Performing aggregation processing to obtain thermodynamic diagram data corresponding to the blocks:
[(r0,hot0),(r1,hot1),(r2,hot2),...,(rk,hotk)]。
in this embodiment, the accuracy and reliability of the thermodynamic diagram data can be effectively improved by determining the plurality of coordinate position points corresponding to the block, determining the plurality of thermodynamic data corresponding to the plurality of coordinate position points, and performing aggregation processing on the plurality of thermodynamic data corresponding to the block to obtain the thermodynamic diagram data corresponding to the block.
S307: and rendering a plurality of corresponding thermodynamic diagram data on the plurality of blocks respectively by adopting a rendering method corresponding to the block grouping so as to obtain the target thermodynamic diagram.
That is to say, different block groupings may correspond to different rendering methods, and a rendering method corresponding to the block grouping may be adopted to render the thermodynamic diagram data of a plurality of corresponding blocks in the block grouping to obtain a target thermodynamic diagram.
Optionally, in some embodiments, a rendering method corresponding to the grouping of the blocks is adopted, and the plurality of corresponding thermodynamic diagrams are rendered in the plurality of blocks respectively to obtain the target thermodynamic diagram, and a concurrent rendering method may be adopted, and the plurality of corresponding thermodynamic diagrams are rendered in the plurality of blocks respectively, so that the efficiency of rendering the thermodynamic diagram data can be effectively improved while the effect of rendering the thermodynamic diagram data is effectively ensured.
For example, taking the thermodynamic diagram area as the hai lake area, the hai lake area may be divided into a suo-jia lump town, a hot spring town, a chinese green town, a north tai village town, and the like, it may be determined that the blocks corresponding to the thermodynamic diagram area are grouped into village and town groups, each village and town group may include a plurality of blocks (for example, a plurality of blocks included in each village and town group may be determined according to streets), and accordingly, a concurrent rendering method is adopted to respectively render a plurality of corresponding thermodynamic diagram data in the plurality of blocks, which may be to concurrently render street blocks under the village and town to obtain the target thermodynamic diagram, as shown in fig. 4, fig. 4 is a concurrent rendering schematic diagram according to the embodiment of the present disclosure.
In this embodiment, by analyzing and obtaining the thermodynamic diagram area from the generation request in response to the generation request, determining the reference area hierarchy corresponding to the thermodynamic diagram area, and then determining the block grouping corresponding to the thermodynamic diagram area according to the reference area hierarchy, it is possible to determine the block grouping corresponding to the thermodynamic diagram area based on a clear and scalable dimension, thereby effectively ensuring the accuracy of the block grouping, and by determining a plurality of coordinate position points corresponding to the blocks, determining a plurality of thermodynamic data corresponding to the plurality of coordinate position points, respectively, and then performing aggregation processing on the plurality of thermodynamic data corresponding to the blocks, so as to obtain the thermodynamic diagram data corresponding to the blocks, thereby effectively improving the accuracy and reliability of the thermodynamic diagram data, because the plurality of thermodynamic data corresponding to the plurality of coordinate position points, respectively, are converted into the thermodynamic data corresponding to the blocks, in the execution process of the subsequent thermodynamic diagram generation method, the data processing amount can be effectively reduced, the thermodynamic diagram generation efficiency can be effectively improved, then the rendering method corresponding to the block grouping is adopted, the corresponding thermodynamic diagram data are rendered in the blocks respectively to obtain the target thermodynamic diagram, or a concurrent rendering method is adopted, the corresponding thermodynamic diagram data are rendered in the blocks respectively, and therefore the rendering efficiency of the thermodynamic diagram data can be effectively improved while the effect of rendering the thermodynamic diagram data is effectively guaranteed.
Fig. 5 is a schematic diagram according to a third embodiment of the present disclosure.
As shown in fig. 5, the thermodynamic diagram generation method includes:
s501: and analyzing the thermodynamic diagram area from the generation request in response to the generation request.
S502: a reference area level corresponding to the thermodynamic area is determined.
For the description of S501-S502, reference may be made to the above embodiments, which are not described herein again.
S503: if the reference area level is the target area level, a plurality of blocks corresponding to the thermodynamic area are determined, and a block group is formed according to the plurality of blocks.
The lowest administrative hierarchy may be referred to as a target region hierarchy, and the target region hierarchy may be, for example, a township hierarchy, which is not limited thereto.
Further, when the reference area level corresponding to the thermodynamic area is the target area level, a plurality of blocks corresponding to the thermodynamic area may be determined, and a block group may be formed according to the plurality of blocks.
In the embodiment of the disclosure, when it is determined that the reference region hierarchy corresponding to the thermodynamic diagram region is a township hierarchy, a plurality of blocks corresponding to the thermodynamic diagram region may be determined,
s504: if the reference region level is not the target region level, a plurality of candidate region levels to which the reference region level refers are determined.
The administrative hierarchy between the reference hierarchy and the lowest hierarchy may be referred to as a candidate hierarchy.
For example, if the reference regional level is a local level, the candidate regional level may be a county-level administrative regional level between the local level and the lowest regional level (township level), which is not limited thereto.
S505: and determining a block group corresponding to the thermodynamic diagram area according to a plurality of candidate area levels.
In this embodiment, when the reference area hierarchy is the target area hierarchy, a plurality of blocks corresponding to the thermodynamic diagram area are determined, and block groups are formed according to the plurality of blocks, and when the reference area hierarchy is not the target area hierarchy, a plurality of candidate area hierarchies related to the reference area hierarchy are determined, and the block groups corresponding to the thermodynamic diagram area are determined according to the plurality of candidate area hierarchies, so that the block groups corresponding to the thermodynamic diagram area can be determined in a targeted manner based on the plurality of area hierarchies, so that the block groups can be adapted to the plurality of area hierarchies, and the accuracy of the block groups is effectively guaranteed.
Optionally, in some embodiments, the block grouping corresponding to the thermodynamic diagram area is determined according to a plurality of candidate area hierarchies, the thermodynamic diagram area is divided according to the plurality of candidate area hierarchies to obtain thermodynamic diagram sub-areas corresponding to the plurality of candidate area hierarchies, a plurality of block groupings corresponding to the plurality of thermodynamic diagram sub-areas are determined, and the plurality of block groupings are used as block groupings corresponding to the thermodynamic diagram area.
That is, when the reference region hierarchy is the candidate region hierarchy, the thermodynamic diagram region may be divided according to the plurality of candidate region hierarchies to obtain thermodynamic diagram regions corresponding to the plurality of candidate region hierarchies, where the thermodynamic diagram regions may be referred to as thermodynamic diagram sub-regions, and then a plurality of block groups corresponding to the thermodynamic diagram sub-regions may be determined, and the plurality of block groups may be regarded as block groups corresponding to the thermodynamic diagram regions.
S506: a plurality of thermodynamic diagram data corresponding to the plurality of blocks are acquired.
S507: rendering a plurality of corresponding thermodynamic diagram data in a plurality of blocks respectively to obtain a target thermodynamic diagram.
For the description of S506-S507, reference may be made to the above embodiments, which are not described herein again.
In the embodiment, by analyzing the thermodynamic diagram area from the generation request in response to the generation request, determining a reference area level corresponding to the thermodynamic diagram area, determining a plurality of blocks corresponding to the thermodynamic diagram area when the reference area level is a target area level, forming block groups according to the blocks, determining a plurality of candidate area levels related to the reference area level when the reference area level is not the target area level, and determining the block groups corresponding to the thermodynamic diagram area according to the candidate area levels, the block groups corresponding to the thermodynamic diagram area can be determined in a targeted manner based on the plurality of area levels, so that the block groups can be adapted to the plurality of area levels, the accuracy of the block groups can be effectively guaranteed, then acquiring a plurality of thermodynamic data corresponding to the blocks respectively, and rendering the corresponding thermodynamic data on the blocks respectively, therefore, the memory consumption in the thermodynamic diagram generation process can be effectively reduced, the thermodynamic diagram generation efficiency is effectively improved, and the semantic expression effect of the thermodynamic diagram is effectively improved.
Fig. 6 is a schematic diagram according to a fourth embodiment of the present disclosure.
As shown in fig. 6, the thermodynamic diagram generating apparatus 60 includes:
the analysis module 601 is used for responding to the generation request and analyzing the thermodynamic diagram area from the generation request;
a determining module 602, configured to determine a block grouping corresponding to the thermodynamic diagram area, where the block grouping includes: a plurality of blocks;
an obtaining module 603, configured to obtain a plurality of thermodynamic diagram data corresponding to a plurality of blocks respectively; and
the rendering module 604 is configured to render a plurality of corresponding thermodynamic diagrams in the plurality of blocks, respectively, so as to obtain a target thermodynamic diagram.
In some embodiments of the present disclosure, as shown in fig. 7, fig. 7 is a schematic diagram according to a fifth embodiment of the present disclosure, the thermodynamic diagram generation apparatus 70 includes: the system comprises an analysis module 701, a determination module 702, an acquisition module 703 and a rendering module 704, wherein the determination module 702 comprises:
a first determination sub-module 7021 configured to determine a reference region level corresponding to the thermodynamic region;
the second determining sub-module 7022 is configured to determine the block groups corresponding to the thermodynamic diagram areas according to the reference area hierarchy.
In some embodiments of the present disclosure, among others, the second determining submodule 7022 includes:
a first determining unit 70221, configured to determine, when the reference area level is a target area level, a plurality of blocks corresponding to the thermodynamic diagram area, and form a block group according to the plurality of blocks;
a second determining unit 70222, configured to determine, when the reference area level is not the target area level, a plurality of candidate area levels referred to by the reference area level;
a third determining unit 70223 is configured to determine the block groups corresponding to the thermodynamic diagram areas according to the plurality of candidate area hierarchies.
In some embodiments of the present disclosure, the third determining unit 70223 is specifically configured to:
performing region division on the thermodynamic diagram region according to the candidate region levels to obtain a plurality of thermodynamic diagram sub-regions respectively corresponding to the candidate region levels;
and determining a plurality of block groups respectively corresponding to the plurality of thermodynamic diagram sub-areas, and taking the plurality of block groups as the block groups corresponding to the thermodynamic diagram areas.
In some embodiments of the present disclosure, the obtaining module 703 is specifically configured to:
determining a plurality of coordinate position points corresponding to the blocks;
determining a plurality of thermal data respectively corresponding to the plurality of coordinate position points;
and aggregating the plurality of thermodynamic data corresponding to the block to obtain thermodynamic diagram data corresponding to the block.
In some embodiments of the present disclosure, the rendering module 704 is specifically configured to:
and rendering a plurality of corresponding thermodynamic diagram data on the plurality of blocks respectively by adopting a rendering method corresponding to the block grouping so as to obtain the target thermodynamic diagram.
In some embodiments of the present disclosure, the rendering module 704 is specifically configured to:
and respectively rendering a plurality of corresponding thermodynamic diagram data in a plurality of blocks by adopting a concurrent rendering method.
It is understood that the thermodynamic diagram generating device 70 in fig. 7 of the present embodiment and the thermodynamic diagram generating device 60 in the foregoing embodiment, the parsing module 701 and the parsing module 601 in the foregoing embodiment, the determining module 702 and the determining module 602 in the foregoing embodiment, the obtaining module 703 and the obtaining module 603 in the foregoing embodiment, and the rendering module 704 and the rendering module 604 in the foregoing embodiment may have the same functions and structures.
It should be noted that the foregoing explanation of the thermodynamic diagram generation method is also applicable to the thermodynamic diagram generation apparatus of the present embodiment, and is not repeated herein.
In this embodiment, in response to the generation request, the thermodynamic diagram area is obtained by analyzing the generation request, and the block grouping corresponding to the thermodynamic diagram area is determined, where the block grouping includes: the method comprises the steps of obtaining a plurality of blocks, obtaining a plurality of thermodynamic diagram data corresponding to the blocks respectively, and rendering the plurality of thermodynamic diagram data corresponding to the blocks respectively to obtain a target thermodynamic diagram.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
Fig. 8 shows a schematic block diagram of an example electronic device that may be used to implement the thermodynamic diagram generation method of embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 executes the respective methods and processes described above, such as the thermodynamic diagram generation method. For example, in some embodiments, the thermodynamic diagram generation method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto device 800 via ROM 802 and/or communications unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the thermodynamic diagram generation method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the thermodynamic diagram generation method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable thermodynamic diagram generating apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (17)

1. A thermodynamic diagram generation method, comprising:
responding to a generation request, and analyzing a thermodynamic diagram area from the generation request;
determining a grouping of blocks corresponding to the thermodynamic diagram area, the grouping of blocks comprising: a plurality of blocks;
acquiring a plurality of thermodynamic diagram data respectively corresponding to the plurality of blocks; and
rendering a plurality of corresponding thermodynamic diagram data in the plurality of blocks respectively to obtain a target thermodynamic diagram.
2. The method of claim 1, wherein the determining a grouping of tiles corresponding to the thermodynamic map region comprises:
determining a reference region level corresponding to the thermodynamic diagram region;
and determining a block group corresponding to the thermodynamic diagram area according to the reference area level.
3. The method of claim 2, wherein the determining, from the reference region hierarchy, a grouping of blocks corresponding to the thermodynamic map region comprises:
determining a plurality of blocks corresponding to the thermodynamic diagram area and forming the block grouping according to the plurality of blocks if the reference area level is a target area level;
determining a plurality of candidate region levels to which the reference region level relates if the reference region level is not the target region level;
and determining a block group corresponding to the thermodynamic diagram area according to the candidate area hierarchies.
4. The method of claim 3, wherein the determining, from the plurality of candidate region hierarchies, a grouping of tiles corresponding to the thermodynamic area comprises:
performing region division on the thermodynamic diagram region according to the candidate region hierarchies to obtain a plurality of thermodynamic diagram sub-regions respectively corresponding to the candidate region hierarchies;
determining a plurality of block groups respectively corresponding to the plurality of thermodynamic diagram sub-areas, and taking the plurality of block groups as the block groups corresponding to the thermodynamic diagram areas.
5. The method of claim 1, wherein the obtaining a plurality of thermodynamic diagram data corresponding to the plurality of blocks, respectively, comprises:
determining a plurality of coordinate location points corresponding to the block;
determining a plurality of thermal data respectively corresponding to the plurality of coordinate position points;
and aggregating the plurality of thermodynamic data corresponding to the block to obtain thermodynamic diagram data corresponding to the block.
6. The method of claim 1, wherein the rendering a corresponding plurality of thermodynamic diagrams data in the plurality of blocks, respectively, to obtain a target thermodynamic diagram, comprises:
and rendering the corresponding thermodynamic diagrams data on the blocks respectively by adopting a rendering method corresponding to the block grouping so as to obtain a target thermodynamic diagram.
7. The method of claim 6, wherein the rendering the corresponding thermodynamic diagram data in the tiles by the rendering method corresponding to the tile grouping comprises:
and respectively rendering the corresponding thermodynamic diagram data in the blocks by adopting a concurrent rendering method.
8. A thermodynamic diagram generation apparatus comprising:
the analysis module is used for responding to a generation request and analyzing the generation request to obtain a thermodynamic diagram area;
a determination module to determine a grouping of blocks corresponding to the thermodynamic diagram area, the grouping of blocks including: a plurality of blocks;
an obtaining module, configured to obtain a plurality of thermodynamic diagram data corresponding to the plurality of blocks, respectively; and
and the rendering module is used for rendering a plurality of corresponding thermodynamic diagram data in the plurality of blocks respectively so as to obtain the target thermodynamic diagram.
9. The apparatus of claim 8, wherein the means for determining comprises:
a first determination submodule for determining a reference region level corresponding to the thermodynamic diagram region;
and the second determining submodule is used for determining the block groups corresponding to the thermodynamic diagram areas according to the reference area levels.
10. The apparatus of claim 9, wherein the second determination submodule comprises:
a first determination unit configured to determine a plurality of blocks corresponding to the thermodynamic diagram area when the reference area level is a target area level, and form the block group from the plurality of blocks;
a second determining unit configured to determine, when the reference region hierarchy is not the target region hierarchy, a plurality of candidate region hierarchies to which the reference region hierarchy refers;
and the third determining unit is used for determining the block groups corresponding to the thermodynamic diagram areas according to the candidate area hierarchies.
11. The apparatus according to claim 10, wherein the third determining unit is specifically configured to:
performing region division on the thermodynamic diagram region according to the candidate region hierarchies to obtain a plurality of thermodynamic diagram sub-regions respectively corresponding to the candidate region hierarchies;
determining a plurality of block groups respectively corresponding to the plurality of thermodynamic diagram sub-areas, and taking the plurality of block groups as the block groups corresponding to the thermodynamic diagram areas.
12. The apparatus according to claim 8, wherein the obtaining module is specifically configured to:
determining a plurality of coordinate location points corresponding to the block;
determining a plurality of thermal data respectively corresponding to the plurality of coordinate position points;
and aggregating the plurality of thermodynamic data corresponding to the block to obtain thermodynamic diagram data corresponding to the block.
13. The apparatus of claim 8, wherein the rendering module is specifically configured to:
and rendering the corresponding thermodynamic diagrams data on the blocks respectively by adopting a rendering method corresponding to the block grouping so as to obtain a target thermodynamic diagram.
14. The apparatus of claim 13, wherein the rendering module is specifically configured to:
and respectively rendering the corresponding thermodynamic diagram data in the blocks by adopting a concurrent rendering method.
15. An electronic device, comprising:
at least one processor; and
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 method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
17. A computer program product comprising a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-7.
CN202111089043.8A 2021-09-16 2021-09-16 Thermodynamic diagram generation method and device, electronic equipment and storage medium Pending CN113868518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111089043.8A CN113868518A (en) 2021-09-16 2021-09-16 Thermodynamic diagram generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111089043.8A CN113868518A (en) 2021-09-16 2021-09-16 Thermodynamic diagram generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113868518A true CN113868518A (en) 2021-12-31

Family

ID=78996262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111089043.8A Pending CN113868518A (en) 2021-09-16 2021-09-16 Thermodynamic diagram generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113868518A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117556110A (en) * 2024-01-12 2024-02-13 成都四方伟业软件股份有限公司 Thermodynamic diagram data processing method, thermodynamic diagram generation method and thermodynamic diagram generation device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117556110A (en) * 2024-01-12 2024-02-13 成都四方伟业软件股份有限公司 Thermodynamic diagram data processing method, thermodynamic diagram generation method and thermodynamic diagram generation device

Similar Documents

Publication Publication Date Title
CN112560496A (en) Training method and device of semantic analysis model, electronic equipment and storage medium
CN112233240B (en) Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment
US11861919B2 (en) Text recognition method and device, and electronic device
CN113377890B (en) Map quality inspection method and device, electronic equipment and storage medium
CN114357105A (en) Pre-training method and model fine-tuning method of geographic pre-training model
CN113221565A (en) Entity recognition model training method and device, electronic equipment and storage medium
CN109509257A (en) Indoor floor rank components pattern forming method, terminal and storage medium
CN115203340A (en) Method, device, equipment and storage medium for determining companion relationship
CN113868518A (en) Thermodynamic diagram generation method and device, electronic equipment and storage medium
CN113904943A (en) Account detection method and device, electronic equipment and storage medium
EP4155670A1 (en) Intersection vertex height value acquisition method and apparatus, electronic device and storage medium
US20220128372A1 (en) Method for path planning, electronic device and storage medium
CN115757674A (en) Map processing method, map processing device, map processing equipment and storage medium
CN115423919A (en) Image rendering method, device, equipment and storage medium
CN112948517B (en) Regional position calibration method and device and electronic equipment
CN115511999A (en) Line measurement segmentation method, device, equipment and medium
CN114111813A (en) High-precision map element updating method and device, electronic equipment and storage medium
CN113762397A (en) Detection model training and high-precision map updating method, device, medium and product
CN114691691A (en) Geohash-based spatial data processing method and device and electronic equipment
CN113723405A (en) Method and device for determining area outline and electronic equipment
CN113704256A (en) Data identification method and device, electronic equipment and storage medium
CN112527943A (en) Map rendering method, map rendering device, map rendering equipment and storage medium
CN116991693B (en) Test method, device, equipment and storage medium
CN113553407B (en) Event tracing method and device, electronic equipment and storage medium
CN115412595B (en) Request processing method and device, electronic equipment and storage medium

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