Digital twin pool system oriented to mobile edge computing and data synchronization method
Through the digital twin pool system and data synchronization method, the problem of digital twin object storage delay and migration overhead in mobile edge computing scenarios is solved, and low-latency, high-efficiency data synchronization and resource reuse are achieved.
Patent Information
- Application Number
- CN202411557210.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-11
AI Technical Summary
In mobile edge computing scenarios, digital twin objects have a large communication delay when stored in cloud servers, while frequent migrations when stored in edge servers lead to large network resource overhead.
A digital twin pool system and data synchronization method are proposed. By allocating and recycling digital twin objects in the digital twin pool, and providing digital twin object switching services on different edge servers, avoiding frequent migration and reducing data synchronization delay.
It effectively reduces the latency of digital twin data synchronization, avoids frequent migration of digital twin objects, saves network resource overhead, and improves the service performance of edge servers.
Smart Images

Figure CN119416519A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile edge computing and digital twin technologies, and in particular to a digital twin pool system and a data synchronization method for mobile edge computing. Background Art
[0002] Digital twin technology maps the entities of the physical world to the virtual digital world, establishes digital twin objects of physical entities in the digital world, and provides decision support such as monitoring and predictive analysis of physical entities. At present, the application scenarios of digital twin technology in mobile edge computing are gradually enriched. In the mobile edge computing scenario, each wireless access point is configured with an edge server. The digital twin object corresponding to the mobile terminal is generally stored in the cloud server or edge server. The disadvantage of storing digital twin objects in the cloud server is that the communication delay is relatively large. Therefore, in order to reduce the communication delay, the digital twin object can be stored in the edge server, and those applications that need to query the real-time data of the digital twin object can directly access the edge server to obtain data. However, the disadvantage of storing digital twin objects in the edge server is that as the mobile terminal moves in the geographical location, the mobile terminal constantly leaves the signal coverage range of the current wireless access point and enters the signal coverage range of the next wireless access point. If the digital twin object is not migrated, the geographical distance between the mobile terminal and its digital twin object will increase, the number of communication transfers will increase, and the communication delay will also increase. To this end, the digital twin objects can be migrated to edge servers that are closer to the mobile terminals, but frequent migration of digital twin objects requires a large amount of network resource overhead.
[0003] How to solve the above technical problems is the subject faced by the present invention. Summary of the invention
[0004] In order to reduce the large delay caused by storing all digital twin objects in cloud servers, and to avoid the network resource overhead caused by frequent migration of digital objects in edge servers, the present invention proposes a digital twin pool system and a data synchronization method based on the digital twin pool. Through the allocation and recycling of digital twin objects in the digital twin pool, and on different edge servers, digital twin object switching services are provided for mobile terminals within the signal coverage range of wireless access points, that is, the wireless access points recorded in the present invention do not include macro base stations, which effectively avoids the frequent migration of digital twin objects in edge servers and reduces the data synchronization delay of the data twin system.
[0005] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is specifically: a digital twin pool system for mobile edge computing scenarios, the digital twin pool system includes the following modules:
[0006] Available digital twin object modules, each element of which is a digital twin object, in an idle state, dormant in memory, and can be allocated to mobile terminals in need at any time, switched to an active digital twin object, and provide digital twin services;
[0007] The active digital twin object module, in which each element is a digital twin object, runs in memory, is in working state, has been assigned to a mobile terminal, and is providing periodic digital twin synchronization services and query services to the mobile terminal.
[0008] The invalid digital twin object module, in which each element is a digital twin object, still runs in the memory, but because its corresponding mobile terminal has left the effective signal coverage of the current wireless access point, the digital twin object no longer provides digital twin services for the mobile terminal that has left.
[0009] The management module of the digital twin pool is used to manage the digital twin pool and includes the following submodules:
[0010] The configuration submodule is used to configure the capacity of the digital twin pool and dynamically adjust the capacity. The capacity of the digital twin pool is equal to the sum of the number of elements in the available digital twin object set, the active digital twin object set and the invalid digital twin object set.
[0011] The allocation submodule is used to allocate a digital twin object from the available digital twin object set to the mobile terminal requesting the digital twin service.
[0012] The recycling submodule is used to recycle failed digital twin objects and put them back into the set of available digital twin objects, thereby reusing the digital twin objects.
[0013] The monitoring submodule is used to monitor and count the usage of the digital twin pool, so as to provide a decision-making basis for the configuration submodule to dynamically adjust the capacity of the digital twin pool.
[0014] Under the action of the allocation submodule in the digital twin pool management module, the elements in the available digital twin object set will become elements in the active digital twin object set, and these active digital twin objects will become invalid after the corresponding mobile terminal leaves the effective signal coverage area of the current wireless access point, and will be added to the invalid digital twin object set. These invalid digital twin objects will be re-added to the available digital twin object set under the action of the recovery submodule in the digital twin pool management module. The above process is as follows Figure 3 shown.
[0015] In order to better achieve the above-mentioned invention object, the present invention also provides a data synchronization method based on a digital twin pool system for a mobile edge computing scenario, comprising the following steps:
[0016] (1) Establish and initialize a digital twin pool on the edge server, in which the digital twin objects are used to store the short-term status information of the mobile terminal, that is, the status information of the mobile terminal from the time the mobile terminal enters the effective signal coverage range of the current wireless access point to the time the mobile terminal leaves the effective signal coverage range of the current wireless access point.
[0017] (2) Establishing a long-term digital twin object library on the cloud server, in which the digital twin objects are used to store the historical status information of the mobile terminal over a long period of time;
[0018] (3) Listening to the digital twin service request of the mobile terminal at the wireless access point;
[0019] (4) When the wireless access point receives the above request message, the allocation submodule in the management module of the digital twin pool will allocate the digital twin object to the corresponding mobile terminal. This step specifically includes:
[0020] (4.1) When there are still unassigned digital twin objects in the set of available digital twin objects in the digital twin pool, a digital twin object is allocated to the requesting mobile terminal, and the set of available digital twin objects is updated;
[0021] (4.2) When all elements of the available digital twin object set in the digital twin pool have been used up, the digital twin service request of the mobile terminal is sent to the cloud server, and the corresponding digital twin object in the long-term digital twin library of the cloud server provides data synchronization service. Each mobile terminal participating in the calculation in the mobile edge computing scenario corresponds to a unique digital twin object in the long-term digital twin library of the cloud server, which is used to store the long-term historical status data of the mobile terminal for analysis and decision-making.
[0022] (5) Switching of the digital twin object of the mobile terminal in the digital twin pools of different edge servers. This step specifically includes: when the mobile terminal leaves the effective signal coverage of the current wireless access point and enters the effective signal coverage of the next wireless access point, the digital twin object of the mobile terminal is switched from the edge server of the current wireless access point to the digital twin pool where the edge service of the next wireless access point is located. The specific switching steps are divided into the following two cases:
[0023] (5.1) When the signal coverage of the wireless access point that the mobile terminal is about to leave and is about to enter overlaps, as shown in the Appendix of this manual. Figure 2 shown. Figure 2The dotted circle indicates the signal coverage of a wireless access point, and the overlapping part of the two dotted circles is the overlapping area covered by the signals of the two wireless access points. The mobile terminal detects the change in the strength of the signals of the two wireless access points in the overlapping area. When the signal strength of the incoming wireless access point A is greater than the signal strength of the outgoing wireless access point B, the mobile terminal immediately sends a digital twin service request to the wireless access point A, requesting the allocation of a digital twin object in the digital twin pool of the edge server of the wireless access point A, and at the same time sends a command to close the digital twin service connection to the outgoing wireless access point B, and at the same time caches the mobile terminal's own periodically collected status information locally in the mobile terminal. Once the mobile terminal successfully receives the request response from the wireless access point A, the local status cache information of the mobile terminal and the real-time periodic status information are sent to the wireless access point A and synchronized to the newly allocated digital twin object.
[0024] (5.2) When the signal coverage of the wireless access point that the mobile terminal is about to leave and is about to enter does not overlap, as shown in the attached manual. Figure 3 As shown in the figure, the area without signal coverage of wireless access points is called a "blind area". Mobile terminals can cross the "blind area" in the following ways:
[0025] As the mobile terminal moves, it gradually leaves the signal coverage of the current wireless access point, but does not detect the signal of the new wireless access point. When the mobile terminal detects that the signal strength of the wireless access point drops to the set threshold, it immediately sends a command to close the digital twin service connection to the wireless access point, and caches its own periodic status data locally, preparing to cross the "blind spot". All digital twin applications of mobile terminals are set with a global parameter bzCrossTimeTh, which represents the "blind spot crossing time threshold". The mobile terminal caches its own status information collected periodically in the local mobile terminal within the bzCrossTimeTh time. Once it can cross the "blind spot" within the bzCrossTimeTh time range and detects the signal of the next new wireless access point, it immediately establishes a connection relationship with the newly assigned digital twin object through the new wireless access point, and synchronizes the data cached by the mobile terminal when crossing the "blind spot" to the corresponding digital twin object. If the mobile terminal fails to cross the "blind spot" within the bzCrossTimeTh time, the mobile terminal immediately enables the cellular communication of the local macro base station to establish a connection with the corresponding digital twin object in the cloud server, and synchronizes the data cached by the mobile terminal when crossing the "blind spot" to the digital object, and performs periodic real-time synchronization. As the mobile terminal moves, after the mobile terminal enters the signal coverage of the next wireless access point, the mobile terminal switches from cellular communication to communication with the wireless access point, and prioritizes data synchronization with the digital twin objects in the digital twin pool of the edge server configured by the wireless access point, and sends a command to the cloud server to close the real-time digital twin service connection. The setting of the global parameter "blind spot crossing time threshold" bzCrossTimeTh value depends on the specific application scenario.
[0026] (6) Due to the movement of the mobile terminal, the digital twin objects in the digital twin pool that stores the short-term status of the mobile terminal are also switched on different edge servers. After the switch, the original digital twin objects will become invalid. The occurrence of the failure is divided into the following two situations:
[0027] Case 1: The digital twin object in the digital twin pool receives a command from a mobile terminal to close the digital twin service connection.
[0028] Case 2: Although the active digital twin object in the digital twin pool has not received the command from the mobile terminal to close the digital twin service connection, it has not received the corresponding mobile terminal's periodic status synchronization data within the specified time range, which means that the mobile terminal has entered the signal "blind zone" and lost contact with the original wireless access point. In this case, the digital twin object is also invalid.
[0029] (7) The failed digital twin objects are not destroyed, but are reused through recycling and reset to an idle state to serve new digital twin data synchronization requests from mobile terminals.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] (1) Reduced latency in digital twin data synchronization:
[0032] First, as the mobile terminal moves, it will continue to roam within the signal coverage of different wireless access points. The mobile terminal will prioritize the digital twin objects in the digital twin pool of the local edge server for data synchronization, and will only synchronize data with the digital objects in the cloud server when there are no available digital twin objects in the digital twin pool. Compared with all mobile terminals directly synchronizing with the digital twin objects in the cloud server, the communication distance and number of relays when synchronizing data with the digital twin objects in the digital twin pool in the edge server are relatively short, and the latency is low. Figure 4 This is the result of Matlab simulation, which compares the delay between the synchronization method of the digital twin pool and the pure cloud synchronization method. The computational time of thread scheduling is not considered here, only the delay between the mobile terminal to the wireless access point and the wireless access point to the cloud server. The main simulation parameters are as follows: 6 roadside units RSU are distributed on the highway with a range of 2000m to represent the wireless access point. Each RSU is equipped with 4 antennas. The interval between RSU and RSU is 400 meters. Each RSU is equipped with an edge server. 80 car nodes are randomly distributed on the highway with a range of 2000m to represent mobile terminals. The maximum transmission power of the car node is 0.5 watts, and the noise power is 10 -18 Watts, the signal path loss formula between the vehicle node and the RSU is 128.1+37.6log 10 d, where d is the distance between the vehicle node and the RSU in kilometers.
[0033] Second, the available digital twin objects in the digital twin pool on the edge server are created and deployed on the server in advance, stored in the server's memory, and in a dormant state when idle, occupying very few computing resources. Once a digital twin service request is received from a mobile terminal, it immediately switches from a dormant state to an active state, avoiding the time consumption of waiting to create a digital twin object.
[0034] (2) The reuse technology of the digital twin pool is conducive to improving the service performance of the edge server. As the mobile terminal moves, it will continue to roam within the signal coverage of different wireless access points. When there are sufficient digital twin objects available in the digital twin pool of the edge server, the digital twin object corresponding to the mobile terminal will switch between the digital twin objects in the digital twin pools of different edge servers, and the original digital twin object will become invalid after the switch. In order to improve resource utilization and avoid the computing resource overhead of frequent creation and destruction of digital twin objects, for the invalid digital twin object, the recovery submodule of the digital twin pool synchronizes the short-term status data of the mobile terminal stored in the invalid digital twin object to the digital twin object corresponding to the cloud server, clears the short-term data stored in the invalid digital twin object, sets its status to idle, and adds it to the collection of available digital twin objects in the digital twin pool, providing digital twin services for the mobile terminal that subsequently enters the wireless access point. By reusing the invalid digital twin objects, the computing resource consumption caused by frequent creation and destruction of digital twin objects is avoided, which is conducive to improving the performance of the edge server.
[0035] (3) Digital twin pool technology avoids frequent migration of digital twin objects, which is beneficial to saving network resource overhead, maintaining data consistency and security, and enhancing system maintainability. If the digital twin pool is not used on the edge server, and the digital twin object corresponding to the mobile terminal is deployed on the edge server, then as the mobile terminal moves, it will leave the signal coverage of the current wireless access point and enter the signal coverage of other wireless access points. The mobile terminal is getting farther and farther away from the edge server where its digital twin object is deployed, and the communication needs to go through multiple relays, resulting in an increase in the delay in synchronizing the state data of the mobile terminal with its corresponding digital twin object. In order to reduce the synchronization delay, the commonly used method in current research is the migration of digital twin objects, which migrates the digital twin object corresponding to the mobile terminal to an edge server that is closer to the mobile terminal through the network. The migration of digital twin objects can reduce the communication latency to a certain extent, but the migration of digital twin objects will also bring some side effects: 1) Data consistency issues: During the migration process, data may be out of sync, resulting in data inconsistency between the source system and the target system; 2) Performance issues: The migration process may affect system performance, especially when the amount of data is large, which may cause the system to respond slowly or temporarily unavailable; 3) Security risks: During the migration process, data may face the risk of unauthorized access or leakage, especially when migrating across networks; 4) Increased complexity: The migration of digital twins involves multiple systems, platforms and technologies, which increases the complexity of the overall architecture and may make management and maintenance more difficult.
[0036] (4) The digital twin pool system and its data synchronization method proposed in the present invention can fully reuse and timely switch the digital twin objects in the local digital twin pool, as well as the cloud-edge collaboration mechanism, which can avoid the migration of digital twin objects, reduce latency, and maintain data consistency and security. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0038] Figure 1 Schematic diagram of the overall structure of the digital twin pool according to an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of an application scenario of an embodiment of the present invention;
[0040] Figure 3 The area without signal coverage of the wireless access point in the present invention is called a "blind area", and the mobile terminal crosses the "blind area" in the following manner;
[0041] Figure 4 This is a schematic diagram of the results of the Matlab simulation used in the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Of course, the specific embodiments described here are only used to explain the present invention and are not used to limit the present invention.
[0043] Example 1
[0044] Figure 2 and Figure 3 Each wireless access point is configured with an edge server, and the digital twin pool system is enabled on each edge server. Each wireless access point is connected to the cloud server through the backbone network, and the digital twin objects of all mobile terminal historical data are stored on the cloud server. The digital twin objects in the digital twin pool in the edge service maintain the real-time or short-term status data of the mobile terminal. These data are incrementally synchronized to the corresponding digital twin objects in the cloud server after the digital twin objects in the digital twin pool fail. The edge servers of each wireless access point are connected through a wired transmission network.
[0045] The available digital twin object sets, active digital twin object sets, and invalid digital twin object sets in the digital twin pool can be represented by container-class data types during implementation, including linked lists, queues, arrays, dictionaries, and mapping types, and the digital twin object types must have the feature of supporting multi-threading.
[0046] When the digital twin pool is initialized, the configuration submodule is called to set the initial capacity of the digital twin pool. The monitoring submodule monitors the operating status of the digital twin pool and dynamically adjusts the capacity of the digital twin pool when the number of available digital twin objects exceeds the set threshold.
[0047] When the digital twin data synchronization connection request of the mobile terminal is sent to the edge server, the allocation submodule of the digital twin pool starts to allocate available digital twin objects. The specific allocation process is as follows:
[0048] Determine the remaining number of available digital twin objects in the digital twin pool. If it is greater than 1, allocate a digital twin object to the mobile terminal from the set of available digital twin objects, and return the long connection of the digital twin object to the mobile terminal. The remaining number of available digital twin objects is reduced by 1. When the mobile terminal moves within the signal coverage of the wireless access point where the digital twin object is located, the data synchronization between the mobile terminal and the corresponding digital twin object is carried out through this long connection. If the remaining number of available digital twin objects is less than 1, the digital twin data synchronization connection request of the mobile terminal is forwarded to the cloud server. The long-term digital twin object corresponding to the mobile terminal is deployed in the cloud server. After receiving the data synchronization connection request, it returns the long connection of the long-term digital twin object, and the mobile terminal synchronizes the digital twin data through the long connection.
[0049] As the mobile terminal moves, it is getting farther and farther away from the current wireless access point. When the mobile terminal gradually leaves the effective signal coverage of the current wireless access point and gradually enters the effective signal coverage of the next wireless access point, the digital twin object corresponding to the mobile terminal needs to be switched in the digital twin pool of the edge server of different wireless access points. In specific implementation, it is necessary to switch the digital twin object of the mobile terminal from the edge server of the current wireless access point to the digital twin pool where the edge service of the next wireless access point is located. As shown in the attached manual Figure 2 and Figure 3 As shown in the figure, the dotted circle in the figure represents the signal coverage range of a wireless access point. If there is an overlap between two dotted circles, then this overlap is the overlap area covered by the signals of the two wireless access points; if there is no overlap between the two dotted circles, then there is a wireless access point signal "blind spot" between the signal coverage areas of the two adjacent wireless access points. Therefore, the specific implementation of digital twin object switching needs to be divided into the following two situations:
[0050] Case 1: When the signal coverage of adjacent wireless access points overlaps, the specific process is as follows:
[0051] Step 1: The mobile terminal detects the strength change of the wireless access point signal in the overlapping area.
[0052] When the signal strength of the new wireless access point A is greater than the signal strength of the original wireless access point B, the mobile terminal immediately sends a digital twin service request to the wireless access point A, and at the same time sends a command to close the digital twin service connection to the wireless access point B, and caches the status information periodically collected by the mobile terminal locally on the mobile terminal.
[0053] Step 2: Establish a data synchronization connection between the mobile terminal and the digital twin object, and synchronize data in real time.
[0054] When the new wireless access point receives a digital twin service request from a newly joined mobile terminal, the allocation submodule in the digital twin pool in its edge server starts to allocate a digital twin object to the mobile terminal according to the allocation process described above, thereby establishing a data synchronization connection between the mobile terminal and the digital twin object, and periodically synchronizing data in real time.
[0055] Case 2: When there is no overlapping area in the signal coverage of adjacent wireless access points, that is, when there is a wireless access point signal "blind spot", the specific process of digital twin object switching is as follows:
[0056] Step 1: As the mobile terminal moves, when it detects that the signal strength of the wireless access point where it is located drops to the set threshold, it immediately sends a command to the wireless access point to close the digital twin service connection, and locally caches its own periodic status data, preparing to cross the "blind spot".
[0057] Step 2: There are two situations when the mobile terminal passes through the wireless access point signal "blind area":
[0058] Case 1: The mobile terminal can cross the "blind spot" within the specified time. This specified time is the "blind spot crossing time threshold". The mobile terminal can cross the "blind spot" within this threshold time range, and detects the signal of the next new wireless access point, and immediately sends a digital twin service request to the new wireless access point. The new wireless access point allocates the corresponding digital twin object to the mobile terminal according to the digital twin object allocation process described above, and establishes a data synchronization connection. The mobile terminal immediately synchronizes the data cached when crossing the "blind spot" to the corresponding digital twin object, and performs real-time periodic data synchronization.
[0059] Case 2: The time for the mobile terminal to cross the "blind spot" has timed out. If the mobile terminal cannot cross the "blind spot" within the time range specified by the "blind spot crossing time threshold", it means that the "blind spot" is large, which will affect the real-time performance of the digital twin application. To this end, the mobile terminal immediately enables the cellular communication of the local macro base station to request and establish a data synchronization connection with the corresponding digital twin object in the cloud server, and synchronizes the data cached by the mobile terminal when crossing the "blind spot" to the digital twin object of the cloud server, and performs periodic real-time synchronization. As the mobile terminal continues to move, if the mobile terminal enters the signal coverage of the next wireless access point, and there is an available digital twin object in the digital twin pool of the edge server of the wireless access point, the mobile terminal will switch from the digital twin synchronization service with the cloud server through the macro base station to the digital twin synchronization service with the edge server through the wireless access point. The specific switching process includes: first, the mobile terminal sends a request for the digital twin service to the wireless access point. After the allocation submodule in the digital twin pool of the edge server allocates the available digital twin objects according to the allocation process described above and establishes a data synchronization connection, the mobile terminal sends a command to close the data twin service connection to the cloud server, thereby switching the digital twin object of the mobile terminal to the digital twin pool of the edge server.
[0060] As the mobile terminal moves, after the digital twin objects in the digital twin pools of different edge servers are switched, the new digital twin objects take over the services of the original digital twin objects. The original digital twin objects become invalid immediately in the following two cases:
[0061] Case 1: When the original digital twin object receives a command from the mobile terminal to close the digital twin service connection, it becomes invalid immediately and is added to the set of invalid digital twin objects.
[0062] Case 2: Synchronization data packet timeout. Specifically, due to poor signal quality of the communication network or some unpredictable reasons, the original digital twin object did not receive the command from the mobile terminal to close the digital twin service connection, and did not receive any data synchronization signal from the mobile terminal within the specified time range. In this case, the original digital twin object will become invalid immediately and be added to the invalid digital twin object set.
[0063] After the digital twin object fails, the recovery submodule synchronizes the short-term status data of the mobile terminal contained in the failed digital twin object to the corresponding digital twin object of the cloud server through incremental synchronization, and then resets the failed digital twin object to its initial state. Then, it is added to the set of available digital twin objects, ready to serve the mobile terminal's new digital twin request at any time.
[0064] The monitoring submodule in the digital twin pool is implemented in the form of a wizard thread and runs in the background. It monitors and counts the operation status of the digital twin pool at all times. When it monitors that the number of available digital twin objects remaining in the set of available digital twin objects in the digital twin pool is lower than or higher than the set threshold, the configuration submodule is called to increase or decrease the capacity of the digital twin pool.
[0065] In specific intelligent transportation application scenarios, the mobile terminal is the vehicle node, the wireless access point is the roadside unit RSU, and the vehicle node has corresponding digital twin objects in the digital twin pool of the edge server and the cloud server. The digital twin object synchronizes the real-time information of the current vehicle node, such as speed, direction, and position. The digital twin application module of the edge server of the wireless access point will check the real-time data of the digital twin object in the digital twin pool in real time, push the real-time status information of nearby vehicles to the on-board display screen of the vehicle node within the signal coverage range through the RSU and the on-board communication unit, and give driving speed recommendations, as well as the distance prompts of surrounding vehicles when the vehicle node merges into the main road from the ramp to ensure driving safety.
[0066] Embodiment 2: Switching digital twin objects after multiple wireless access points are separated
[0067] The difference between Example 2 and Example 1 is that each edge server switches the digital twin object of the mobile terminal, and other parts are the same. The specific differences are as follows:
[0068] In Example 1, as the mobile terminal moves, each time the mobile terminal leaves the signal coverage of the current wireless access point and enters the signal coverage of the next adjacent wireless access point, the digital twin object must be switched. In specific applications, on the premise of meeting the real-time requirements of digital twin services in specific different application scenarios, a method of switching digital twin objects in the digital twin pool after multiple wireless access points can be adopted. Because the edge servers of each wireless access point are connected through a wired transmission network, when the mobile terminal moves to the signal coverage of the next wireless access point, it can still synchronize with the digital twin object in the digital twin pool in the edge server of the previous wireless access point through the new wireless access point, but as the mobile terminal passes through multiple wireless access points, the delay in communicating with the digital twin object in the digital twin pool of the edge server of the previous wireless access point will increase. When this delay exceeds the set threshold, the digital twin object corresponding to the mobile terminal is switched to the digital twin object in the digital twin pool of the nearest edge server.
[0069] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A digital twin pool system for mobile edge computing, characterized in that: Includes the following modules: An available digital twin object module for storing digital twin objects in an idle state in the memory of the edge server; An active digital twin object module, used to store a collection of digital twin objects that are providing digital twin services to mobile terminals in the memory of the edge server; A failed digital twin object module, used to store failed digital twin objects in the memory of the edge service; The digital twin pool manager is used to configure and maintain the global parameters of the digital twin pool, allocate available digital twin objects, recycle and reuse failed digital twin objects, and monitor the digital twin pool. This module includes the following submodules: The configuration submodule is used to configure the capacity of the digital twin pool and dynamically adjust the capacity of the digital twin pool according to the utilization rate of the digital twin pool; An allocation submodule, used to allocate an available digital twin object from the digital twin pool to the mobile terminal requesting the digital twin service; The recycling submodule is used to recycle the failed digital twin objects and add them to the set of available digital twin objects after resetting; The monitoring submodule is used to monitor the usage rate of the digital twin pool.
2. The digital twin pool system for mobile edge computing according to claim 1, characterized in that: Each element in the available digital twin object module supports multi-threaded scheduling function, has been loaded into the memory of each edge server, has not been allocated to any mobile terminal, and is in a dormant state.
3. The digital twin pool system for mobile edge computing according to claim 1, characterized in that: Each element in the active digital twin object module has been loaded into the edge server memory, a long connection service has been established with a mobile terminal, and digital twin data synchronization services are being provided.
4. The digital twin pool system for mobile edge computing according to claim 1, characterized in that: The available digital twin object modules, active digital twin object modules and failed digital twin object modules are represented using container class data types, including linked lists, queues, arrays, dictionaries and mapping types.
5. The digital twin pool system for mobile edge computing according to claim 1, characterized in that: The configuration submodule can dynamically adjust the capacity of the digital twin pool within the maximum capacity of the digital twin pool allowed by the edge server: when the number of remaining available digital twin objects in the available digital twin object module drops to or exceeds the set threshold, the capacity of the digital twin pool will be increased or decreased by a self-set proportion.
6. The digital twin pool system for mobile edge computing according to claim 1, characterized in that: When allocating available digital twin objects to mobile terminals, the allocation submodule returns an established network long connection, through which periodic data synchronization is performed.
7. The digital twin pool system and data synchronization method for mobile edge computing according to claim 1, characterized in that: When a digital twin object in the digital twin pool receives a command from a mobile terminal to close the digital twin service connection, or when an active digital twin object in the digital twin pool does not receive synchronization data from the mobile terminal within a specified time range, the digital twin object in the digital twin pool becomes invalid; Each mobile terminal corresponds to a unique digital twin object on the cloud server, which synchronizes the long-term status data of the mobile terminal. The active digital twin objects in the digital twin pool on each edge server store the current short-term status data of the mobile terminal. The recycling submodule will not destroy the failed digital twin object or recycle its memory. Instead, it will synchronize the incremental short-term status data of the mobile terminal contained in the failed digital twin object to the digital twin object corresponding to the cloud server, and then reset it to the initial state, put it into sleep, and add it to the available digital twin object set for reuse; The monitoring submodule monitors the usage rate of the digital twin pool. When the usage rate exceeds a certain set threshold, the configuration submodule will be called to dynamically adjust the capacity of the digital twin pool. The capacity of the digital twin pool refers to the sum of the number of elements in the available digital twin object set, the active digital twin object set, and the failed digital twin set; the utilization rate of the digital twin pool refers to the ratio of the number of elements in the active digital twin object set to the capacity of the digital twin pool.
8. A digital twin data synchronization method for cloud-edge collaboration, characterized in that: The following steps are involved: Step 1: The mobile terminal is within the effective coverage of the wireless access point signal and sends a digital twin object service request to the wireless access point. After receiving the digital twin object access request from the mobile terminal, the wireless access point first checks whether the available digital twin object set in the digital twin pool of the local edge server contains unallocated elements. If so, an available digital twin object element is allocated from the digital twin pool of the local edge server to the requesting mobile terminal; otherwise, the wireless access point forwards the service request of the digital twin object of the mobile terminal to the cloud server, and the digital twin object of the cloud server provides the digital twin service for the mobile terminal; Step 2: Processing of failed digital twin objects: Synchronize the short-term status data of the mobile terminal contained in the failed digital twin object to the digital twin object of the cloud server.