Engine system of digital twin city based on multi-capability component
By using multi-capacity components to respond to the matching degree processing of terminals in the digital twin city engine system, the problem of differences in the capability components of different engines is solved, and flexible construction of digital twin scenarios and data compatibility is achieved.
Patent Information
- Application Number
- CN202411795508.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-12-09
AI Technical Summary
In the process of building a digital twin city, there are differences in the capability components provided by different engines, making it difficult to choose a capability component configuration solution that meets the digital twin scenario construction requests and improves data compatibility, affecting the efficiency and quality of scenario construction.
Using a multi-capability component-based engine system, the communication connection between the capability call terminal and multiple capability component response terminals is carried out, and the terminal response capability matching degree is processed based on the digital twin scenario construction request information, and the most matching capability component response terminal is selected to generate a target. Digital twin scenarios to ensure compatibility and efficiency.
It realizes flexible digital twin scenario construction, reduces data format differences, improves data compatibility and construction efficiency, and ensures effective construction of different types of scenarios.
Smart Images

Figure CN119272540A_ABST
Abstract
Description
Background Art
[0002] The construction of digital twin cities requires the integration of multiple technical capabilities such as model building, rendering, analysis and calculation, simulation, etc., involving various types of engine products in the industry, such as GIS (Geographic Information System) engines, BIM (Building Information Modeling) engines, game engines, WebGL (Web Graphics Library, a Web application development framework or toolkit that uses WebGL technology to render 3D graphics) engines, simulation engines, IOT (Internet of Things) engines, etc. In order to better support various needs such as urban planning, construction, management, emergency response, transportation, and energy, the existing digital twin construction work is accelerating the process of multi-engine integration to achieve the goals of each engine taking advantage of its strengths, complementing each other's advantages, and being compatible with each other. Figure 3 As shown in the figure, digital twins require 9 major capabilities, which will require one or more existing industry-level rule engines in various industries (such as water flow simulation, vehicle flow simulation, and pedestrian flow simulation) to jointly support implementation. At the same time, each large industry-level rule engine contains multiple more detailed capability requests, which means that one or more detailed capability components of the capability component layer (such as graphics rendering visualization and twin geometry, etc.) are required to jointly support implementation. Finally, these configured capability components and the collected metadata of the twin are used to generate the corresponding digital twin scene.
[0003] In current practical applications, different engines correspond to different technical fields. Usually, no terminal can provide all capability engines. In addition, since different terminals are good at different technical fields, the capabilities of all capability components in the same capability engine in different terminals will also have different performances. For example, the engine corresponding to image rendering and visualization includes detailed capability components such as parsing rendering, scene construction, and camera management. Therefore, in the process of building a digital twin city, the capability components required to build different types of digital twin scenes are also different. How to select a capability component configuration solution that can better meet the digital twin scene construction request and improve data compatibility among multiple capability response terminals has become a technical issue that affects the efficiency and quality of digital twin scene construction. Summary of the invention
[0004] In view of the above technical problems, the technical solution adopted by the present invention is: According to one aspect of the present invention, there is provided an engine system for a digital twin city based on multiple capability components, the system comprising a capability calling terminal and a plurality of capability component response terminals, the plurality of capability component response terminals being communicatively connected to the capability calling terminal; each capability component response terminal comprising a plurality of capability components, each capability component being used to generate a type of attribute value of an entity object, the attribute value being used to generate a digital twin object corresponding to the entity object; the capability calling terminal calls an API of a corresponding capability component according to a construction request of a digital twin, so as to generate a corresponding digital twin scene; The capability call terminal operates as follows: According to the digital twin scene construction request information and the capability response information of each capability component response terminal, the terminal response capability matching degree is processed to generate the response matching degree corresponding to each sub-construction capability request class of each capability component response terminal; the digital twin scene construction request information includes multiple different sub-construction capability request classes, and each sub-construction capability request class includes multiple capability request values; the capability request value represents the attribute value of the corresponding type and its importance to the generation of the target digital twin scene; If the response matching degree of the capability component response terminal to the sub-construct capability request class is greater than the first matching degree threshold, determining the capability component response terminal as a candidate capability response terminal of the sub-construct capability request class; If each sub-construct capability request class has at least one capability response terminal to be selected, the capability response terminal with the largest number among all the capability response terminals to be selected is determined as the target capability response terminal; Call the API of the corresponding capability component in the target capability response terminal to generate the target digital twin scenario; Terminal response capability matching processing, including: Generate a response matching degree corresponding to each sub-structure capability request class by each capability component response terminal according to the capability request value included in each sub-structure capability request class and the capability response value of the corresponding capability component in each capability component response terminal; the capability response value indicates the accuracy of the corresponding attribute value generated by the capability component; Among them, the response matching degree P of the ath capability component response terminal to the bth sub-construct capability request class a b The following conditions must be met: ; Among them, X i b is the capability request value of the i-th capability request included in the b-th sub-constructed capability request class, , CX i b For X i b The corresponding initial value, Xi b For CX i b The normalized value of G i a The ath capability component responds to the terminal for providing X i b The capability response value of the capability component corresponding to the capability request; f(b) is the total number of capability requests included in the b-th sub-construct capability request class, i=1, 2, …, f(b).
[0005] Further, if the response matching degree of the capability component response terminal to the sub-construct capability request class is greater than the first matching degree threshold, after determining the capability component response terminal as a candidate capability response terminal of the sub-construct capability request class, the method further includes: If there is an empty set of candidate capability response terminals corresponding to the sub-construct capability request class, then update each response matching degree corresponding to the sub-construct capability request class to generate an updated response matching degree corresponding to each response matching degree; Determine the candidate capability response terminal corresponding to the sub-construct capability request class according to the update response matching degree; The update process includes: According to the original response matching degree and the number of capability component response terminals corresponding to the original response matching degree in the existing candidate capability response terminals, an updated response matching degree corresponding to the original response matching degree is generated; wherein, P a b The corresponding update response matching degree GP a b The following conditions must be met: GP a b =P a b × (1+K 1 ×DX a ); Among them, K 1 is the update coefficient, K 1 ∈[0.1,0.5]; DX a is the number of the ath capability component response terminals among the available capability response terminals.
[0006] Furthermore, after the first update process, the method further includes: If there is still an empty set of to-be-selected capability response terminals corresponding to the sub-construct capability request class, double response terminal matching processing is performed on the low-level sub-construct capability request class to generate a first capability response terminal and a second capability response terminal corresponding to the low-level sub-construct capability request class; the first capability response terminal and the second capability response terminal respectively provide corresponding capability component support for the main capability request and the secondary capability request included in the low-level sub-construct capability request class; the low-level sub-construct capability request class is a sub-construct capability request class with the smallest maximum response matching degree among multiple sub-construct capability request classes whose current to-be-selected capability response terminals are empty sets; Using the currently available capability response terminal to be selected, the first capability response terminal and the second capability response terminal, each response matching degree corresponding to a plurality of sub-constructed capability request classes whose current capability response terminal to be selected is an empty set is updated, and an updated response matching degree corresponding to each response matching degree is generated; According to the corresponding update response matching degrees, the candidate capability response terminals of the current plurality of sub-construct capability request classes are determined.
[0007] Furthermore, the dual response terminal matching process includes: The capability request whose capability request value in the low-level sub-construct capability request class is greater than the request threshold is regarded as the main capability request; The capability requests whose capability request values in the low-level sub-construct capability request class are less than or equal to the request threshold are regarded as secondary capability requests; Normalize the capability request values corresponding to the primary capability request and the secondary capability request respectively; According to the normalized capability request value, a first capability response terminal and a second capability response terminal corresponding to the primary capability request and the secondary capability request are respectively obtained.
[0008] Further, according to the normalized capability request value, respectively obtaining the first capability response terminal and the second capability response terminal corresponding to the primary capability request and the secondary capability request, including: Generate a first response matching degree of each capability component response terminal to the main capability request according to each normalized capability request value corresponding to the main capability request and the capability response value of the corresponding capability component in each capability component response terminal; Among them, the first response matching degree P of the ath capability component response terminal to the main capability request a 1 The following conditions must be met: ; Among them, ZX n is the capability request value of the nth capability request included in the main capability request, G n a The ath capability component responds to the terminal for providing ZXn The capability response value of the capability component corresponding to the capability request; f(ZX) is the total number of capability requests included in the main capability request, n=1, 2, …, f(ZX); ; If the first response matching degree of the capability component response terminal to the main capability request is greater than the second matching degree threshold, the capability component response terminal is determined as the first capability response terminal of the main capability request; the second matching degree threshold is less than or equal to the first matching degree threshold.
[0009] Further, the method for acquiring the second capability response terminal corresponding to the secondary capability request is the same as the method for acquiring the first capability response terminal corresponding to the primary capability request.
[0010] Furthermore, the request threshold Y corresponding to the low-level sub-construction capability request class satisfies the following conditions: Y=10 / f(d); where f(d) is the total number of capability requests contained in the low-level sub-construct capability request class.
[0011] Further, the request threshold is greater than a median of capability request values included in the low-level sub-construct capability request class.
[0012] Furthermore, the capability request values corresponding to the primary capability request and the secondary capability request are normalized, including: The normalized value of the capability request value corresponding to the main capability request meets the following conditions: ; Among them, ZG n For ZX n The corresponding normalized value.
[0013] Furthermore, K 1 =0.2.
[0014] The present invention has at least the following beneficial effects: In the present invention, by calling the API (Application Programming Interface), the capability components of different capability response terminals can be flexibly called according to the actual construction request of the digital twin scene. Thus, the construction request of different types of digital twin scenes can be supported more flexibly and comprehensively.
[0015] At the same time, due to the differences in data formats between different capability response terminals, data incompatibility problems may occur during subsequent use. Therefore, in the present invention, when configuring the capability component for the twin scene construction request, on the one hand, the most matching capability response terminal is found by calculating the response matching degree as the candidate capability response terminal. At the same time, when determining the target capability response terminal, the capability response terminal with the largest number of all candidate capability response terminals is determined as the target capability response terminal. Thus, it is possible to ensure as much as possible that the construction requests of the same digital twin scene are completed using the capability components in the same capability response terminal, thereby avoiding the problem of data format differences as much as possible, reducing the differences in data formats in multiple aspects obtained through capability components, and thus improving compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic diagram of the structure of an engine system for a digital twin city based on multi-capable components provided by an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of a method for executing a capability invoking terminal provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of multi-capability fusion support when constructing a digital twin scene in the background technology of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0019] As a possible embodiment of the present invention, Figure 1As shown, an engine system for a digital twin city based on multiple capability components is provided, the system includes a capability calling terminal and multiple capability component response terminals, and the multiple capability component response terminals are all connected to the capability calling terminal in communication. Each capability component response terminal includes multiple capability components, each capability component is used to generate a type of attribute value of an entity object, and the attribute value is used to generate a digital twin object corresponding to the entity object. The capability calling terminal calls the API of the corresponding capability component according to the construction request of the digital twin scene to generate the corresponding digital twin scene.
[0020] like Figure 2 As shown, the capability calling terminal operates as follows: S100: Perform terminal response capability matching processing according to the digital twin scene construction request information and the capability response information of each capability component response terminal, and generate the response matching degree corresponding to each sub-construction capability request class of each capability component response terminal. The digital twin scene construction request information includes multiple different sub-construction capability request classes, and each sub-construction capability request class includes multiple capability request values. The capability request value represents the attribute value of the corresponding type and its importance to the generation of the target digital twin scene.
[0021] For example, let's take the construction request of a digital twin scene corresponding to a vehicle operation scene on a certain road section as an example. The construction request may include the following sub-construction capability request classes, such as road real-time data acquisition, vehicle identification, motion relationship simulation, video rendering and other capability classes. At the same time, these capability classes will include a variety of more detailed capability requirements. For example, road real-time data acquisition will include detailed requests such as sensor data acquisition, data denoising, data transmission and data storage, and the capability response terminal will have corresponding capability components to implement these detailed requests. For example, a terminal that provides navigation services has all the components to implement the above detailed requests.
[0022] Specifically, the terminal response capability matching process includes: S101: Generate a response matching degree corresponding to each sub-structure capability request class by each capability component response terminal according to the capability request value included in each sub-structure capability request class and the capability response value of the corresponding capability component in each capability component response terminal. The capability response value indicates the accuracy of the corresponding attribute value generated by the capability component.
[0023] The evaluation of the capability response values of all capability components can be obtained by setting the corresponding evaluation criteria in advance. Therefore, by setting a unified standard, the capability response value of each capability component can be determined more accurately, and the determined capability response value can more accurately represent the capability degree of the corresponding capability component, thereby ensuring the accuracy of the subsequent calculation of the response matching degree. If the capability component response terminal does not have a corresponding capability component, its corresponding capability response value is 0.
[0024] Among them, the response matching degree P of the ath capability component response terminal to the bth sub-construct capability request class a b The following conditions must be met: .
[0025] Among them, X i b is the capability request value of the i-th capability request included in the b-th sub-constructed capability request class, , CX i b For X i b The corresponding initial value, X i b For CX i b The normalized value of G i a The ath capability component responds to the terminal for providing X i b The capability response value of the capability component corresponding to the capability request. f(b) is the total number of capability requests included in the b-th sub-construct capability request class, i=1, 2, …, f(b).
[0026] In this embodiment, the capability request value is equivalent to the weight coefficient of each detailed capability request, and thus the response matching degree of the capability component response terminal to the sub-constructed capability request class is calculated by weighted summation. In addition, in this embodiment, the capability request value is normalized so that each capability request value included in a sub-constructed capability request class can more accurately reflect the importance of the corresponding request type, and at the same time, it can also ensure that the more important capability types can occupy a higher proportion.
[0027] S200: If the response matching degree of the capability component response terminal to the sub-construct capability request class is greater than a first matching degree threshold, the capability component response terminal is determined as a candidate capability response terminal of the sub-construct capability request class.
[0028] Specifically, the first matching degree threshold can be set according to actual use. Through the threshold screening method, the capability providing terminals with a high matching degree with the current sub-construct capability request class can be screened out as the terminals to be selected.
[0029] Furthermore, after S200, the method further includes: S201: If the candidate capability response terminal corresponding to the sub-constructed capability request class is an empty set, each response matching degree corresponding to the sub-constructed capability request class is updated to generate an updated response matching degree corresponding to each response matching degree.
[0030] The update process includes: S211: Generate an updated response matching degree corresponding to the original response matching degree according to the original response matching degree and the number of capability component response terminals corresponding to the original response matching degree in the available capability response terminals. a b The corresponding update response matching degree GP a b The following conditions must be met: GP a b =P a b × (1+K 1 ×DX a ).
[0031] Among them, K 1 is the update coefficient, K 1 ∈[0.1,0.5], such as, K 1 =0.2.DX a is the number of the ath capability component response terminals among the available capability response terminals.
[0032] S202: Determine the candidate capability response terminal corresponding to the sub-construct capability request class according to the update response matching degree.
[0033] The update process in this embodiment is to improve the initial response matching degree between the corresponding capability providing terminal and other types of requests according to the screened terminals. For example, the candidate capability response terminals include a, a, c, a, b, a and b. The initial response matching degrees between a certain sub-construct capability request class and each capability response terminal are: a: 60, b: 70, c: 55, d: 60, and the first matching degree threshold is 80. After the update process, the updated response matching degrees between the sub-construct capability request class and each capability response terminal are: a: 60×(1+0.2×4)=108, b: 70×(1+0.2×2)=98, c: 55×(1+0.2×1)=66, d: 60×(1+0.2×0)=60. It can be seen that after the update process, the more the number of a certain candidate capability response terminal, the more the initial response matching degree corresponding to the corresponding capability response terminal will be improved, and it will be easier to exceed the first matching degree threshold and become a candidate capability response terminal. Therefore, when the existing capability response terminals cannot have a high degree of match with the capability request of a sub-construction capability request class, the capability response terminal that appears most frequently among the existing candidate capability response terminals can be updated to become the candidate capability response terminal corresponding to the sub-construction capability request class. In addition, at the expense of a certain degree of accuracy, all functional requests of a digital twin scene construction request can be met by only one capability response terminal, reducing data differences and improving system data compatibility.
[0034] S300: If each sub-structure capability request class has at least one capability response terminal to be selected, the capability response terminal with the largest number among all the capability response terminals to be selected is determined as the target capability response terminal.
[0035] S400: Call the API of the corresponding capability component in the target capability response terminal to generate a target digital twin scenario.
[0036] In the present invention, by calling the API (Application Programming Interface), the capability components of different capability response terminals can be flexibly called according to the actual digital twin construction request. Thus, the construction requests for different types of digital twins can be supported more flexibly and comprehensively.
[0037] As another possible embodiment of the present invention, after the first update process, the operation method of the capability calling terminal further includes: S310: If there is still an empty set of to-be-selected capability response terminals corresponding to the sub-construct capability request class, double response terminal matching is performed on the low-level sub-construct capability request class to generate a first capability response terminal and a second capability response terminal corresponding to the low-level sub-construct capability request class. The first capability response terminal and the second capability response terminal provide corresponding capability component support for the main capability request and the secondary capability request included in the low-level sub-construct capability request class, respectively. The low-level sub-construct capability request class is the sub-construct capability request class with the smallest maximum response matching degree among the multiple sub-construct capability request classes whose current to-be-selected capability response terminals are empty sets. The low-level sub-construct capability request class in this embodiment, that is, no capability response terminal can fully provide the functional components of all the detailed requests in the sub-construct capability request class. Therefore, multiple capability response terminals are required to work together to provide capability support for it.
[0038] Specifically, the dual response terminal matching process includes: S311: The capability request whose capability request value in the low-level sub-construct capability request class is greater than the request threshold is taken as the main capability request.
[0039] S312: The capability requests in the low-level sub-construct capability request class whose capability request values are less than or equal to the request threshold are taken as secondary capability requests.
[0040] Specifically, on the one hand, the request threshold Y corresponding to the low-level sub-construction capability request class can meet the following conditions: Y = 10 / f(d). Where f(d) is the total number of capability requests contained in the low-level sub-construct capability request class.
[0041] Since, as the total number of capability requests contained in the low-level sub-construction capability request class increases, the capability request value corresponding to each capability request will also become smaller accordingly, the mean value can be used as the threshold. Since the normalized sum of the capability request values in this embodiment is 10, Y=10 / f(d).
[0042] On the other hand, the request threshold is greater than the median of the capability request values included in the low-level sub-construct capability request class. Specifically, the specific value of the request threshold can be set manually. In this embodiment, when determining the primary capability request and the secondary capability request, they can also be divided manually according to the importance of each request type.
[0043] S313: Normalize the capability request values corresponding to the primary capability request and the secondary capability request respectively.
[0044] Specifically, the capability request values corresponding to the primary capability request and the secondary capability request are normalized, including: The normalized value of the capability request value corresponding to the main capability request meets the following conditions: .
[0045] Among them, ZG n For ZX n The corresponding normalized value.
[0046] After the two-category division into primary and secondary, it is necessary to normalize the multiple values corresponding to the primary and secondary values separately, and re-determine the importance of the capability request value in the multiple capability request values of the primary capability request, and the importance of the capability request value in the multiple capability request values of the secondary capability request. This will make the subsequent calculation of the first response matching degree and the second response matching degree more accurate. The normalization method in this embodiment is the same as the normalization method for the initial value of the capability request value described above, and the normalization range is also the same.
[0047] S314: According to the normalized capability request value, obtain the first capability response terminal and the second capability response terminal corresponding to the primary capability request and the secondary capability request respectively.
[0048] Furthermore, S314 includes: S324: Generate a first response matching degree of each capability component response terminal to the main capability request according to each normalized capability request value corresponding to the main capability request and the capability response value of the corresponding capability component in each capability component response terminal.
[0049] Among them, the first response matching degree P of the ath capability component response terminal to the main capability request a 1 The following conditions must be met: .
[0050] Among them, ZX n is the capability request value of the nth capability request included in the main capability request, G n a The ath capability component responds to the terminal for providing ZX n The capability response value of the capability component corresponding to the capability request. f(ZX) is the total number of capability requests included in the main capability request, n=1, 2, …, f(ZX). .
[0051] S334: If the first response matching degree of the capability component response terminal to the primary capability request is greater than a second matching degree threshold, the capability component response terminal is determined as the first capability response terminal of the primary capability request. The second matching degree threshold is less than or equal to the first matching degree threshold.
[0052] The method for acquiring the second capability response terminal corresponding to the secondary capability request is the same as the method for acquiring the first capability response terminal corresponding to the primary capability request.
[0053] According to S324 and S334, two capability response terminals (i.e., the first capability response terminal and the second capability response terminal) corresponding to the low-level sub-structure capability request class can be determined respectively. In order to avoid the difference in data format caused by introducing multiple capability response terminals as much as possible in the dual response terminal matching process, only two capability response terminals are used to meet the functional request of the low-level sub-structure capability request class.
[0054] S320: using the currently available candidate capability response terminal, the first capability response terminal and the second capability response terminal, updating each response matching degree corresponding to a plurality of sub-constructed capability request classes whose current candidate capability response terminal is an empty set, and generating an updated response matching degree corresponding to each response matching degree.
[0055] S330: Determine the candidate capability response terminals of the current plurality of sub-construct capability request classes according to the corresponding update response matching degrees.
[0056] Since two capability response terminals corresponding to the low-level sub-constructed capability request class can be generated by using the dual response terminal matching process, the response matching degree of the sub-constructed capability request class whose candidate capability response terminal is an empty set can be further improved by updating the response matching degree again. So that the candidate capability response terminal of the sub-constructed capability request class whose candidate capability response terminal is an empty set can be determined by the first matching degree threshold.
[0057] The low-level sub-construction capability request class in this embodiment is the sub-construction capability request class with the lowest maximum response matching degree among the multiple sub-construction capability request classes whose current candidate capability response terminal is an empty set. Therefore, by coordinating the dual-response terminal matching process with the update process, on the one hand, starting from the sub-construction capability request class with the lowest matching degree, by configuring a dual-capability response terminal for it, or further improving the lower response matching degree, the corresponding candidate capability response terminal can be configured for the multiple sub-construction capability request classes whose current candidate capability response terminal is an empty set.
[0058] In addition, since the low-level sub-construction capability request class is the sub-construction capability request class with the worst matching degree, the detailed requests are split and matched separately. Although adding more capability response terminals may increase data differences, there will be a greater accuracy improvement in the construction of digital twins, and a better construction effect will be obtained. Therefore, the technical solution of the present invention can better comprehensively consider the twin construction accuracy effect and system compatibility, so that the final configuration solution is more reasonable.
[0059] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0060] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0061] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0062] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0063] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0064] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).
[0065] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.
[0066] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).
[0067] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0068] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
[0069] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication may be performed through an input / output (I / O) interface. In addition, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter. The network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0070] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0071] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0072] The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0073] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0074] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0075] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0076] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0077] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0078] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An engine system for a digital twin city based on multi-capable components, characterized in that: The system includes a capability calling terminal and multiple capability component response terminals, and the multiple capability component response terminals are all communicatively connected to the capability calling terminal; each capability component response terminal includes multiple capability components, and each capability component is used to generate a type of attribute value of an entity object, and the attribute value is used to generate a digital twin object corresponding to the entity object; the capability calling terminal calls the API of the corresponding capability component according to the construction request of the digital twin to generate the corresponding digital twin scene; The capability calling terminal operates as follows: According to the digital twin construction request information and the capability response information of each capability component response terminal, the terminal response capability matching degree is processed to generate the response matching degree corresponding to each sub-construction capability request class of each capability component response terminal; the digital twin scene construction request information includes multiple different sub-construction capability request classes, and each sub-construction capability request class includes multiple capability request values; the capability request value represents the attribute value of the corresponding type and the importance of generating the target digital twin scene; If the response matching degree of the capability component response terminal to the sub-construct capability request class is greater than a first matching degree threshold, determining the capability component response terminal as a candidate capability response terminal for the sub-construct capability request class; If each sub-construct capability request class has at least one capability response terminal to be selected, the capability response terminal with the largest number among all the capability response terminals to be selected is determined as the target capability response terminal; Calling the API of the corresponding capability component in the target capability response terminal to generate a target digital twin scenario; The terminal response capability matching process includes: Generate a response matching degree corresponding to each sub-structure capability request class by each capability component response terminal according to the capability request value included in each sub-structure capability request class and the capability response value of the corresponding capability component in each capability component response terminal; the capability response value indicates the accuracy of the corresponding attribute value generated by the capability component; Among them, the response matching degree P of the ath capability component response terminal to the bth sub-construct capability request class a b The following conditions must be met: ; Among them, X i b is the capability request value of the i-th capability request included in the b-th sub-constructed capability request class, , CX i b For X i b The corresponding initial value, X i b For CX i b The normalized value of G i a The ath capability component responds to the terminal for providing X i b The capability response value of the capability component corresponding to the capability request; f(b) is the total number of capability requests included in the b-th sub-construct capability request class, i=1, 2, …, f(b).
2. According to claim 1, a digital twin city engine system based on multi-capability components is characterized in that: If the response matching degree of the capability component response terminal to the sub-construct capability request class is greater than a first matching degree threshold, after determining the capability component response terminal as a candidate capability response terminal for the sub-construct capability request class, the method further includes: If there is an empty set of candidate capability response terminals corresponding to the sub-construct capability request class, updating each response matching degree corresponding to the sub-construct capability request class to generate an updated response matching degree corresponding to each response matching degree; Determining, according to the update response matching degree, a candidate capability response terminal corresponding to the sub-construct capability request class; The update process includes: According to the original response matching degree and the number of capability component response terminals corresponding to the original response matching degree in the available capability response terminals, an updated response matching degree corresponding to the original response matching degree is generated; wherein, P a b The corresponding update response matching degree GP a b The following conditions must be met: GP a b =P a b ×(1+K1×DX a ); Among them, K1 is the update coefficient, K1∈[0.1,0.5]; DX a is the number of the ath capability component response terminals among the available capability response terminals.
3. According to claim 1, the engine system of a digital twin city based on multi-capability components is characterized in that: After the first update process, the method further includes: If there is still an empty set of to-be-selected capability response terminals corresponding to the sub-construct capability request class, a double response terminal matching process is performed on the low-level sub-construct capability request class to generate a first capability response terminal and a second capability response terminal corresponding to the low-level sub-construct capability request class; the first capability response terminal and the second capability response terminal respectively provide corresponding capability component support for the primary capability request and the secondary capability request included in the low-level sub-construct capability request class; the low-level sub-construct capability request class is a sub-construct capability request class with the smallest maximum response matching degree among multiple sub-construct capability request classes whose current to-be-selected capability response terminals are empty sets; Using the currently available capability response terminal to be selected, the first capability response terminal and the second capability response terminal, each response matching degree corresponding to a plurality of sub-constructed capability request classes whose current capability response terminal to be selected is an empty set is updated, and an updated response matching degree corresponding to each response matching degree is generated; According to the corresponding update response matching degrees, the candidate capability response terminals of the current plurality of sub-construct capability request classes are determined.
4. According to claim 3, the engine system of a digital twin city based on multi-capability components is characterized in that: The dual response terminal matching process includes: Taking the capability request whose capability request value is greater than the request threshold in the low-level sub-construct capability request class as the main capability request; Taking the capability requests whose capability request values in the low-level sub-construct capability request class are less than or equal to the request threshold as secondary capability requests; Normalize the capability request values corresponding to the primary capability request and the secondary capability request respectively; According to the normalized capability request value, a first capability response terminal and a second capability response terminal corresponding to the primary capability request and the secondary capability request are respectively obtained.
5. According to claim 4, the engine system of a digital twin city based on multi-capability components is characterized in that: According to the normalized capability request value, respectively obtaining a first capability response terminal and a second capability response terminal corresponding to the primary capability request and the secondary capability request, including: Generate a first response matching degree of each capability component response terminal to the main capability request according to each normalized capability request value corresponding to the main capability request and the capability response value of the corresponding capability component in each capability component response terminal; Among them, the first response matching degree P of the ath capability component response terminal to the main capability request a 1The following conditions are met: ; Among them, ZX n is the capability request value of the nth capability request included in the main capability request, G n a The ath capability component responds to the terminal for providing ZX n The capability response value of the capability component corresponding to the capability request; f(ZX) is the total number of capability requests included in the main capability request, n=1, 2, …, f(ZX); ; If the first response matching degree of the capability component response terminal to the main capability request is greater than the second matching degree threshold, the capability component response terminal is determined as the first capability response terminal of the main capability request; the second matching degree threshold is less than or equal to the first matching degree threshold.
6. The engine system of a digital twin city based on multi-capability components according to claim 5 is characterized in that: The method for acquiring the second capability response terminal corresponding to the secondary capability request is the same as the method for acquiring the first capability response terminal corresponding to the primary capability request.
7. According to claim 4, the engine system of a digital twin city based on multi-capability components is characterized in that: The request threshold Y corresponding to the low-level sub-construction capability request class satisfies the following conditions: Y=10 / f(d); where f(d) is the total number of capability requests contained in the low-level sub-construct capability request class.
8. According to claim 4, the engine system of a digital twin city based on multi-capability components is characterized in that: The request threshold is greater than the median of the capability request values included in the lower-level subconstruct capability request class.
9. The engine system of a digital twin city based on multi-capable components according to claim 4 is characterized in that: The capability request values corresponding to the primary capability request and the secondary capability request are normalized, including: The normalized value of the capability request value corresponding to the main capability request meets the following conditions: ; Among them, ZG n For ZX n The corresponding normalized value.
10. The engine system of a digital twin city based on multi-capable components according to claim 2, characterized in that: K1=0.2。
Citation Information
Patent Citations
Deployment method and system of digital twin scene
CN115034030A
Urban space planning method, medium and system
CN116756828A
Task-driven geodigital twinning scene enhancement visualization method and system
CN117237574A
Automated model based guided digital twin synchronization
WO2024043874A1