Data transmission method, related equipment and storage medium

By transmitting the context information of service applications in the wireless computing converged network, the source base station and the target base station act as agents, the data session interruption caused by the migration or redeployment of service applications is solved, and the continuous transmission of service data and the continuity of terminal access is achieved.

CN120343643APending Publication Date: 2025-07-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410064687.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In wireless computing converged networks, when business applications are migrated or redeployed, business data sessions are interrupted, affecting the quality of services and the continuity of terminal access.

Method used

By transmitting the context information of the service application between the source base station and the target base station, the source base station and the target base station serve as agents between the terminal and the service application to forward data packets to ensure that the data transmission between the terminal and the service application is not interrupted.

Benefits of technology

During the migration or redeployment of business applications, the continuity of business data sessions is ensured, the continuity of terminal access business applications and the normal operation of business services is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343643A_ABST
    Figure CN120343643A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method, first equipment, second equipment and a storage medium. The method comprises the steps that under the condition that a first service application is migrated from first equipment or deployed to second equipment, the first equipment forwards data between a terminal and the first service application based on first information, and the first information comprises context information of the first service application; and the second equipment at least can provide computing power service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to wireless communication technologies, and in particular, to a data transmission method, related devices, and storage media. Background Art

[0002] With the booming development of the Internet of Things and intelligent machines, new business forms, new scenarios, and new models are emerging continuously, posing more urgent requirements for communication and computing performance, such as low latency and deterministic performance guarantee. To meet the above requirements, computing power networks are proposed in related technologies; among them, the computing power network uses a communication network as a bridge and can provide real-time, green, and intelligent computing power for services by connecting ubiquitous computing power. In addition, in the radio access network, the trends of intelligence, cloudification, and openness are becoming increasingly clear, and wireless cloud radio access network architectures (C-RAN, Cloud-Radio Access Network), fog radio access network architectures (F-RAN, Fog-Radio Access Network), and open radio access network architectures (O-RAN, Open-Radio Access Network) are also proposed in related technologies. The radio access network is gradually becoming an edge computing power platform for the integration of communication services and computing power services (referred to as the integration of communication and computing in subsequent descriptions), with the functions of low latency and deterministic services, and is potential high-quality computing power.

[0003] However, in a wireless communication and computing integration network, business application migration or redeployment may occur, resulting in service interruption. Summary of the Invention

[0004] To solve the related technical problems, embodiments of this application provide a data transmission method, related devices, and storage media.

[0005] The technical solution of the embodiments of this application is implemented as follows:

[0006] Embodiments of this application provide a data transmission method, applied to a first device, including:

[0007] When a first service application migrates or is deployed from the first device to a second device, based on first information, forward data between a terminal and the first service application, where the first information includes context information of the first service application, and the second device can at least provide computing power services.

[0008] In the above solution, the forward of data between the terminal and the first service application based on the first information includes:

[0009] Receive a first data packet sent by the terminal;

[0010] Determine the second device based on the first information;

[0011] Forward the first data packet to the second device.

[0012] In the above solution, the first data packet includes first address information configured by the first device for the first service application; the forwarding of the first data packet to the second device includes:

[0013] Based on the first information and the first address information, determine a first identifier associated with the first service application;

[0014] Generate a second data packet, where the second data packet includes the first identifier and the first data packet;

[0015] Send the second data packet to the second device.

[0016] In the above solution, the forwarding of data between the terminal and the first service application based on the first information includes:

[0017] Receive a third data packet sent by the second device;

[0018] Determine the terminal based on the first information;

[0019] Forward the third data packet to the terminal.

[0020] In the above solution, the method further includes:

[0021] Generate second information and send the second information to the second device, where the second information includes partial context information of the first service application.

[0022] In the above solution, the method further includes:

[0023] Receive the first information sent by the second device, where the first information is obtained by updating the second information.

[0024] An embodiment of the present application further provides a data transmission method, which is applied to a second device and includes:

[0025] In the case where the first service application migrates or is deployed from the first device to the second device, based on the first information, forward data between the terminal and the first service application, where the first information includes context information of the first service application, and the second device can at least provide computing power services.

[0026] In the above solution, the forwarding of data between the terminal and the first service application based on the first information includes:

[0027] Receive a first data packet sent by the first device;

[0028] Based on the first information, replace the first address information in the first data packet with the second address information to obtain a fourth data packet, where the first address information is configured by the first device for the first service application, and the second address information is configured by the second device for the first service application;

[0029] Send the fourth data packet to the first service application.

[0030] In the above solution, the receiving of the first data packet sent by the first device includes:

[0031] Receive a second data packet sent by the first device, where the second data packet contains a first identifier and the first data packet;

[0032] The method further includes:

[0033] Use the first identifier to determine the first information.

[0034] In the above solution, the forwarding of data between the terminal and the first service application based on the first information includes:

[0035] Receive a fifth data packet sent by the first service application, where the fifth data packet contains the second address information, and the second address information is configured by the second device for the first service application;

[0036] Based on the first information, replace the second address information with the first address information to obtain a third data packet, where the first address information is configured by the first device for the first service application;

[0037] Send the third data packet to the first device.

[0038] In the above solution, the method further includes:

[0039] Receive second information sent by the first device, where the second information contains partial context information of the first service application.

[0040] In the above solution, the method further includes:

[0041] Update the second information based on third information to obtain the first information, where the third information contains information configured by the second device for the first service application;

[0042] Send the first information to the first device.

[0043] An embodiment of the present application further provides a first device, including: a first processor and a first communication interface; where,

[0044] The first processor is configured to forward data between the terminal and the first service application based on first information when the first service application migrates from or is deployed to the second device from the first device. The first information includes context information of the first service application, and the second device can at least provide computing power services.

[0045] An embodiment of the present application further provides a second device, including: a second processor and a second communication interface; wherein,

[0046] The second processor is configured to forward data between the terminal and the first service application based on first information when the first service application migrates from the first device to the second device. The first information includes context information of the first service application, and the second device can at least provide computing power services.

[0047] An embodiment of the present application further provides a first device, including: a first processor and a first memory for storing a computer program that can run on the processor,

[0048] Wherein, when the first processor is used to run the computer program, it executes the steps of any of the above methods on the first device side.

[0049] An embodiment of the present application further provides a second device, including: a second processor and a second memory for storing a computer program that can run on the processor,

[0050] Wherein, when the second processor is used to run the computer program, it executes the steps of any of the above methods on the second device side.

[0051] An embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of any of the above methods on the first device side, or implements the steps of any of the above methods on the second device side.

[0052] The data transmission method, related devices and storage medium provided by the embodiments of the present application, when the first service application migrates from or is deployed to the second device from the first device, the first device and the second device forward data between the terminal and the first service application based on the first information. The first information includes context information of the first service application, and the second device can at least provide computing power services. The technical solution provided by the embodiments of the present application, in the scenario where the service application migrates or is redeployed, the source base station (i.e., the first device) and the target base station (i.e., the second device) act as proxies between the terminal and the service application, and can forward the transmitted data packets according to the context information of the service application. In this way, it is possible to ensure that the session carrying the service application data is not interrupted when the service application migrates or is redeployed, thereby ensuring the normal operation of the service. Brief Description of the Drawings

[0053] Figure 1 It is a system architecture diagram for the migration or deployment of a service application in the related art;

[0054] Figure 2 It is a schematic flowchart of the first data transmission method in the embodiments of the present application;

[0055] Figure 3 It is a schematic flowchart of the second data transmission method in the embodiments of the present application;

[0056] Figure 4 It is a schematic flowchart of the method for creating service application context information in the application example of the present application;

[0057] Figure 5 It is a schematic flowchart of the method for uploading service data in the application example of the present application;

[0058] Figure 6 It is a schematic flowchart of the method for downloading service data in the application example of the present application;

[0059] Figure 7 It is a schematic structural diagram of the first data transmission device in the embodiments of the present application;

[0060] Figure 8 It is a schematic structural diagram of the second data transmission device in the embodiments of the present application;

[0061] Figure 9 It is a schematic structural diagram of the first device in the embodiments of the present application;

[0062] Figure 10 It is a schematic structural diagram of the second device in the embodiments of the present application;

[0063] Figure 11 It is a schematic structural diagram of the data transmission system in the embodiments of the present application. Detailed Description of the Embodiments

[0064] The present application will be further described in detail below with reference to the drawings and embodiments.

[0065] Mobility management is a basic function of a wireless network, which can ensure that users can obtain services without interruption while moving. In a wireless communication and computing convergence network, a base station can provide both wireless connection and computing power services (which can also be understood as a computing power base station). Correspondingly, mobility management involves service handover and service migration to ensure that connected users can continuously obtain connection services and computing power services during the movement process. However, the related network can only support service handover, and how to perform mobility management between base stations to ensure user service performance requires further research.

[0066] In practical applications, in a wireless communication and computing integrated network, service applications can be deployed at the base station computing power (which can also be understood as the base station sharing its computing power with service applications). At the same time, the base station transparently transmits the data packets of the service application without awareness; that is to say, the wireless communication and computing integrated network is unaware of the service application, and the terminal is transparent to the base station when accessing the service application. In the above situation, there may be migrations or deployments of service applications.

[0067] Specifically, when the terminal switches and accesses a new base station, the service application continues to be provided by the source base station. In this way, there will be cross-station transmission of service data, resulting in the service quality no longer meeting the requirements. Therefore, the service application needs to be migrated or deployed to other base stations. Additionally, when the number of users in the cell where the terminal is located increases, the base station protocol stack requires more computing resources to process communication services, and it is also necessary to migrate or deploy the service application to the computing power of other base stations.

[0068] In the scenario where a service application migrates or is deployed, as Figure 1 shown, when the service application is deployed at the new base station, a new access address (i.e., an Internet Protocol (IP) address, which can be understood as a new IP address) needs to be allocated. However, since the terminal is unaware of the change in the access address of the service application, it will continue to send data packets to the source base station, that is, the destination address of the data packet is the IP address allocated by the source base station for the service application (which can be understood as the old IP address). In this case, it may lead to a deterioration in the service quality of the service application, or the data packet cannot be transmitted to the service application deployed at the new base station, thereby causing the session carrying the data packet to be interrupted and affecting the service experience.

[0069] Based on this, in various embodiments of the present application, in the scenario of base station computing power design (which can be understood as the base station being able to provide computing power services) and introducing service application context information, when the service application migrates or is deployed from the source base station to the target base station, the source base station and the target base station can forward the data packets between the terminal and the service application according to the service application context information, so that the session carrying the data packet is not interrupted, thus ensuring the operation of the service.

[0070] An embodiment of the present application provides a data transmission method, which is applied to a first device, as Figure 2 shown. The method includes:

[0071] Step 201: In the case where a first service application migrates or is deployed from the first device to a second device, based on first information, forward the data between the terminal and the first service application, where the first information includes the context information of the first service application, and the second device can at least provide computing power services.

[0072] Among them, in actual application, the first device can provide computing power services and communication services, and the first device may include a base station capable of providing computing power; the second device can provide computing power services and communication services, and the second device may include a base station capable of providing computing power. In addition, the first device may be referred to as the source base station, and the second device may be referred to as the target base station. The embodiments of the present application do not limit the names of the first device and the second device, as long as their functions are realized.

[0073] Here, in actual application, the first service application may also be referred to as the first computing task, the first application, etc. The embodiments of the present application do not limit the name of the first service application. When the first service application is deployed on the first device, the first service application can use the computing power (which can be referred to as computing power) of the first device to perform data transmission with the terminal; when the first service application migrates to the second device (which can also be understood as the first service application is redeployed on the second device), the first service application can use the computing power of the second device to perform data transmission with the terminal.

[0074] In actual application, before the first service application migrates or is deployed, the first service application is deployed on the first device; in this case, when the terminal accesses the first service application, the first device can generate context information for the first service application.

[0075] Based on this, in an embodiment, the method may further include:

[0076] Step 200: Generate second information and send the second information to the second device, where the second information includes partial context information of the first service application.

[0077] Among them, the second information can be understood as the context information generated by the first device for the first service application, and specifically may include the first service application name, the first service application version information, the first service application identifier, the first address information configured by the first device for the first service application, the terminal identifier (such as the terminal IP address or the terminal group identifier), the base station list, the source deployment base station of the first service application (that is, the base station where the first service application was deployed before migration), the terminal resident base station, etc. The embodiments of the present application do not limit the specific content of the second information.

[0078] In actual application, when the first service application needs to be migrated or deployed (for example, the computing power of the first device cannot support the normal operation of the first service application or the terminal switches), the first device can select an access network device that can provide computing power for the first service application, and use the selected access network device as the second device; by sending a service application request to the second device to request to deploy the first service application on the second device, the migration of the first service application is realized.

[0079] During the migration or deployment of the first service application, the first device can also provide the second information to the second device, and the second device updates (or can be understood as supplements) the second information.

[0080] Based on this, in an embodiment, the method may further include:

[0081] Receiving the first information sent by the second device, where the first information is obtained by updating the second information.

[0082] Wherein, in actual application, the first information is obtained by the second device updating the second information, or can be understood as being supplemented by the second device to the second information; wherein, the first information may include the first service application name, the first service application version information, the first service application identifier, the first address information, the terminal identifier, the base station list, the first service application source deployment base station, the second address information configured by the second device for the first service application, the first service application target deployment base station (i.e., the base station where the first service application is deployed after migration), the terminal resident base station, and other information.

[0083] That is to say, after the second device updates the second information by using the second address information and the first service application target deployment base station (i.e., the second device), it can synchronize the obtained first information with the first device, and at the same time, can also inform the first device that the deployment of the first service application is completed, so that the first device can release the first service application (which can be understood as uninstalling the first service application) to save computing resources.

[0084] In actual application, in order to ensure that the migration or deployment of the first service application does not affect the terminal, the terminal is not aware of the change in the access address of the first service application. In this way, it can ensure that the session carrying service data is not interrupted, thereby maintaining the continuity of the terminal's access to the service application. In this case, when the terminal accesses the first service application, it will send a data packet to the first device, and the first device and the second device forward the data packet to the first service application based on the first information.

[0085] Here, in step 201, when the terminal is unaware of the change in the access address of the first service application, the first device may forward the uplink data between the terminal and the first service application according to the first information.

[0086] Specifically, in one embodiment, the forwarding of data between the terminal and the first service application based on the first information includes:

[0087] Receiving a first data packet sent by the terminal;

[0088] Determining the second device based on the first information;

[0089] Forwarding the first data packet to the second device.

[0090] Here, in actual application, when the terminal accesses the first service application, it sends the first data packet to the first device; wherein, the first data packet may include first address information and third address information, the first address information is configured by the first device for the first service application, and the third address information is the address information of the terminal.

[0091] In actual application, the first device may determine the target deployment base station of the first service application, that is, the second device, according to the first address information and the first information; then, forward the first data packet to the second device; wherein, the data forwarding between the first device and the second device may be implemented through the Xn interface, which is not limited in this embodiment of the present application.

[0092] Here, when the first device forwards the first data packet, the forwarded data packet may also carry a service application identifier, so that the second device can know the service application corresponding to the data packet without parsing the data packet.

[0093] Based on this, in one embodiment, the forwarding of the first data packet to the second device includes:

[0094] Determining a first identifier associated with the first service application based on the first information and the first address information;

[0095] Generating a second data packet, the second data packet including the first identifier and the first data packet;

[0096] Sending the second data packet to the second device.

[0097] Wherein, the first identifier is associated with the first service application, and it can also be understood that the first identifier is the first service application identifier.

[0098] In actual application, the first device may determine a first identifier according to the first address information and the first information; in other words, the first device determines the first identifier from the first information according to the first address information; then, a data packet carrying the first identifier, that is, a second data packet, is sent to the second device, so that the second device can forward the second data packet to the first service application subsequently.

[0099] In actual application, in step 201, when the terminal is unaware of the change in the access address of the first service application, the first device may forward the downlink data between the terminal and the first service application according to the first information.

[0100] Specifically, in one embodiment, the forwarding of data between the terminal and the first service application based on the first information includes:

[0101] Receiving a third data packet sent by the second device;

[0102] Determining the terminal based on the first information;

[0103] Forwarding the third data packet to the terminal.

[0104] In actual application, during the process that the first service application sends a data packet to the terminal, after receiving the third data packet sent by the first service application, the second device forwards the third data packet to the first device; wherein, the third data packet may contain the first identifier. In this way, the first device can know the service application corresponding to the third data packet based on the first identifier without parsing the data packet, and then, using the first identifier and the first information, determine the terminal, so as to forward the third data packet to the terminal.

[0105] Correspondingly, an embodiment of the present application further provides a data transmission method, which is applied to a second device, as Figure 3 shown, and this method includes:

[0106] Step 301: When the first service application migrates or is deployed from the first device to the second device, based on the first information, forward the data between the terminal and the first service application, the first information includes the context information of the first service application, and the second device can at least provide computing power services.

[0107] In actual application, before step 301, during the migration or deployment of the first service application, the second device may receive the second information provided by the first device, and the second device updates the second information.

[0108] Based on this, in one embodiment, the method may further include:

[0109] Step 300: Receive the second information sent by the first device, where the second information includes partial context information of the first service application.

[0110] In actual application, after receiving the second information, the second device may update the second information to obtain the updated second information.

[0111] Based on this, in one embodiment, the method may further include:

[0112] Update the second information based on the third information to obtain the first information, where the third information includes information configured by the second device for the first service application;

[0113] Send the first information to the first device.

[0114] Here, when the first service application migrates or is deployed to the second device, the second device may configure the third information for the first service application and supplement the third information into the second information to generate the first information; where the third information may include the second address information configured by the second device for the first service application and the target deployment base station of the first service application (i.e., the second device).

[0115] After generating the first information, the second device may send the first information to the first device to achieve information synchronization of the first information.

[0116] Here, in step 301, when the terminal is unaware of the change in the access address of the first service application, the second device may forward the uplink data between the terminal and the first service application according to the first information.

[0117] Specifically, in one embodiment, the forwarding of data between the terminal and the first service application based on the first information includes:

[0118] Receive the first data packet sent by the first device;

[0119] Based on the first information, replace the first address information in the first data packet with the second address information to obtain a fourth data packet, where the first address information is configured by the first device for the first service application, and the second address information is configured by the second device for the first service application;

[0120] Send the fourth data packet to the first service application.

[0121] In actual application, during the process of receiving the first data packet, the second device may also receive the first identifier, so as to determine the first information without parsing the first data packet, thereby realizing the forwarding of the first data packet.

[0122] Specifically, in one embodiment, receiving the first data packet sent by the first device includes:

[0123] Receiving a second data packet sent by the first device, where the second data packet contains a first identifier and the first data packet;

[0124] The method further includes:

[0125] Using the first identifier to determine the first information.

[0126] In actual application, after receiving the first identifier, the second device may use the first identifier to determine the first information, thereby obtaining the second address information in the first information. Since the terminal is not aware of the change in the access address of the first service application, the destination address of the first data packet sent by the terminal is the first address information; in this case, the second device may replace the first address information in the first data packet with the second address information to obtain the fourth data packet; through the second address information of the fourth data packet, forward the fourth data packet to the first service application.

[0127] Here, in step 301, when the terminal is not aware of the change in the access address of the first service application, the second device may forward the downlink data between the terminal and the first service application according to the first information.

[0128] Specifically, in one embodiment, forwarding data between the terminal and the first service application based on the first information includes:

[0129] Receiving a fifth data packet sent by the first service application, where the fifth data packet contains second address information, and the second address information is configured by the second device for the first service application;

[0130] Based on the first information, replacing the second address information with the first address information to obtain a third data packet, where the first address information is configured by the first device for the first service application;

[0131] Sending the third data packet to the first device.

[0132] In actual application, when the first service application sends the fifth data packet, the source address in the fifth data packet is the second address information. To avoid the impact on the terminal caused by the migration or deployment of the first service application, it is necessary to replace the source address in the fifth data packet so that the terminal cannot perceive the change in the access address of the first service application. In this case, after receiving the fifth data packet, the second device uses the second address information and the first information to determine the first address information and the first device respectively, replaces the second address information in the fifth data packet with the first address information to obtain a third data packet, and then sends the third data packet to the first device.

[0133] In addition, the second device can also use the second address information and the first information to determine the first identifier, and carry the first identifier through the third data packet; that is to say, the third data packet can include the first identifier. In this way, the first device can know the service application corresponding to the third data packet without parsing the third data packet, and then forward the third data packet to the terminal.

[0134] The data transmission method provided by the embodiments of the present application, in the case where the first service application migrates or is deployed from the first device to the second device, the first device and the second device forward the data between the terminal and the first service application based on the first information, the first information includes the context information of the first service application, and the second device can at least provide computing power services. The technical solution provided by the embodiments of the present application, in the scenario where the service application migrates or is redeployed, the source base station and the target base station act as proxies between the terminal and the service application, and can forward the transmitted data packets according to the context information of the service application. In this way, when the service application migrates or is redeployed, the session carrying the service application data can be ensured not to be interrupted, thus ensuring the normal operation of the service.

[0135] The following further describes the present application in detail with application examples.

[0136] In the wireless communication and computing convergence network, communication processing and service application processing are in a state of competing for computing resources. Therefore, it is easy to migrate or redeploy service applications, resulting in changes in the IP addresses of service applications. In this way, it usually causes the session between the terminal and the service application to be interrupted.

[0137] In this application example, a solution to the above problem is proposed, which is a scheme for updating the access address of wireless communication and computing integrated network services. Specifically, through the design of base station computing power and the introduction of service application context information (i.e., the above-mentioned first information), a wireless distributed service access mode is established to solve the service interruption problem caused by the redeployment or migration of service applications in the base station computing power when the terminal accesses service applications.

[0138] Here, in the wireless communication and computing integrated network, the terminal can interact with the base station to exchange service application-related information for deploying service applications on the base station (which can also be understood as offloading service applications on the base station side); among them, in order to ensure service continuity, the base station can create service application context information for service applications (which can also be called computing task context information).

[0139] Specifically, as Figure 4 shown, the process of creating service application context information includes the following steps:

[0140] Step 401: The terminal sends a service application offloading request (which can also be called a computing task offloading request) to the base station;

[0141] Step 402: After receiving the terminal service application offloading request, the base station deploys the service application and generates service application context information, and then executes Step 403;

[0142] Here, the service application context information can include the following information:

[0143] Service application name;

[0144] Service application version;

[0145] Service application identifier (i.e., the above-mentioned first identifier); among them, the service application identifier can be the identifier assigned after the base station deploys the service application, and the base station identifier (gNBID) can be used as the prefix information to ensure the global uniqueness of the service application identifier;

[0146] Service application IP address (i.e., the above-mentioned first address information); among them, the service application IP address is the IP address assigned to the service application by the source base station when deploying the service application, that is, the IP address used by the terminal to access the service application;

[0147] Terminal identifier; among them, the terminal identifier includes the IP address of the terminal, the identifier of the group to which the terminal belongs, etc.;

[0148] Base station list; the base station where the service application is located;

[0149] Service application source deployment base station, that is, the base station where the service application was originally deployed;

[0150] The serving base station, i.e., the base station where the terminal camps, will be used when the terminal performs handover.

[0151] Step 403: The base station sends a service application offloading response (which can also be referred to as a computing task offloading response) to the terminal.

[0152] Among them, the service application offloading response carries service application context information. In this way, the terminal can obtain the access address of the service application through the service application context information, that is, the IP address allocated by the target base station for the service application.

[0153] In actual applications, when the terminal moves and needs to migrate the service application to ensure the quality requirements of the service, or when the traffic volume of the base station increases and the computing power of the base station cannot support the operation of the service application, etc., the service application needs to be migrated or deployed at other base stations to continue to provide services for the terminal. In this case, the source base station (i.e., the above-mentioned first device) needs to maintain the service application context information with the target base station (i.e., the above-mentioned second device) so as to perform data transmission between the terminal and the service application based on the service application context information subsequently.

[0154] Specifically, the process of the source base station and the target base station maintaining the service application context information includes the following steps:

[0155] Step 1: The source base station selects a base station that can provide computing resources and uses the selected base station as the target base station;

[0156] Step 2: The source base station provides the service application context information (i.e., the above-mentioned second information) to the target base station;

[0157] Here, the source base station also sends a service application deployment request to the target base station to request the target base station to deploy the service application.

[0158] Step 3: After receiving the service application deployment request, the target base station deploys a new instance of the service application and assigns a service application local IP address (i.e., the above-mentioned second address information) to the service application;

[0159] In actual applications, after the target base station assigns a service application local IP address to the service application, it updates the service application context information; specifically, the service application target deployment base station (i.e., the target base station) and the service application local IP address are added to the service application context information.

[0160] Step 4: The target base station notifies the source base station that the deployment of the new instance of the service application is completed and sends the updated service application context information to the source base station;

[0161] Step 5: After receiving the updated service application context information, the source base station releases the service application to recycle the computing resources for other communication services;

[0162] Step 6: The source base station and the target base station perform data transmission between the terminal and the service application based on the service application context information.

[0163] In actual application, in order to ensure that the migration of services and the deployment of services to the computing power of the new base station do not affect the terminal, the terminal is unaware of the change in the destination address of the service application access.

[0164] In the case where the terminal is unaware of the change in the IP address of the service application access, the transmission process of the uplink data packet is as Figure 5 shown and includes the following steps:

[0165] Step 501: The terminal accesses the service application;

[0166] Among them, the service application is deployed in the source base station, and when the terminal accesses the service application, it will perform service data interaction with the source base station.

[0167] Step 502: During the process of performing service data interaction with the terminal, the source base station decides to migrate the service application to other base stations, that is, redeploy the service application to other base stations;

[0168] Here, when the terminal moves and the service application needs to be migrated to ensure the quality requirements of the service, or when the base station traffic increases and the computing power of the base station cannot support the operation of the service application, etc., the source base station can determine to migrate or redeploy the service application to other base stations.

[0169] Step 503: The source base station selects the target base station and sends the service application context information and information such as deploying the service application to the target base station;

[0170] Step 504: After receiving the service context information and the information on deploying the service application, the target base station deploys a new instance of the service application and supplements the local IP address of the service application and the target deployment base station of the service application in the service application context information, that is, updates the service application context information, and then performs Step 505;

[0171] Step 505: The target base station notifies the source base station that the service application deployment is completed and transmits the updated service application context information to the source base station;

[0172] Step 506: After receiving the notification, the source base station releases the service application and gives the obtained computing resources to the communication service for use, and at the same time, maintains the service application context information;

[0173] Step 507: The terminal continues to access the service application and sends a data packet (i.e., the above-mentioned first data packet) to the source base station;

[0174] Among them, the source address in the data packet sent by the terminal is the IP address of the terminal (UE-IP), and the destination address is the service application IP address.

[0175] Step 508: After the source base station receives the data packet sent by the terminal, it determines the target base station in the service application co-context information according to the destination address, so as to forward the data packet to the target base station. At the same time, the forwarded data packet (i.e., the above-mentioned second data packet) carries the service application identifier.

[0176] Among them, the source base station forwards the data packet through the Xn interface.

[0177] Step 509: After the target base station receives the data packet, it finds the service application context information through the service application identifier and finds the service application local IP address corresponding to the service application. Then, it replaces the destination address of the data packet from the service application IP address with the service application local IP address to obtain the replaced data packet (i.e., the above-mentioned fourth data packet).

[0178] Step 510: The target base station sends the replaced data packet to the service application.

[0179] Among them, the source address of the replaced data packet is the IP address of the terminal, and the destination address is the service application local IP address.

[0180] In the case where the terminal does not perceive the change of the service application access IP address, the transmission process of the downlink data packet is as Figure 6 shown, including the following steps:

[0181] Step 601: The service application sends a data packet (i.e., the above-mentioned fifth data packet) to the target base station.

[0182] Among them, the source address in the data packet is the service application local IP address, and the destination address is the IP address of the terminal.

[0183] Step 602: After the target base station receives the data packet, it obtains the service application identifier, the service application IP address, and the service application source deployment base station by querying the service application context information, and updates the source address of the data packet to the service application IP address; then, it executes Step 603.

[0184] Step 603: The target base station passes the replaced data packet (i.e., the above-mentioned third data packet) to the source base station.

[0185] Among them, the replaced data packet carries the service application identifier.

[0186] Step 604: The source base station finds the service application context information according to the service application identifier, and finds the terminal identifier according to the service application context.

[0187] Step 605: The source base station sends a data packet to the terminal.

[0188] As can be seen from the above description, the terminal can be unaware of the IP address changes caused by the migration or redeployment of the service application. Therefore, it can maintain the session carrying the data packet without interruption, thus ensuring the continuity of access to the service application.

[0189] Application Example 1

[0190] The terminal offloads the image recognition application to the source base station. As the communication traffic of the source base station grows, more computing resources are required for communication services. Therefore, the source base station decides to migrate or redeploy the image recognition application to the target base station. The image recognition application can continuously provide services to the terminal, that is, the business access process of the terminal is not interrupted.

[0191] In actual application, after the source base station migrates or redeploys the image recognition application to the target base station, the source base station and the target base station act as proxies between the terminal and the image recognition application, enabling data transmission between the terminal and the image recognition application. The principle of the proxy is the service application context information.

[0192] Specifically, for the uplink data sent from the terminal to the image recognition application, the source base station needs to provide the service application identifier to the target base station so that the target base station can determine (or understand as address) the service application context information. Correspondingly, the target base station needs to replace the service application IP address in the data packet with the service application local IP address and then send the data packet to the new instance of the service application.

[0193] For the downlink data sent from the image recognition application to the terminal, the target base station needs to replace the source address of the data packet from the service application local IP address with the service application IP address according to the service application context information to send the data packet to the source base station. Correspondingly, the source base station needs to find the service application context information through the service application identifier, obtain the terminal identifier and send the data packet to the terminal so that the terminal can process the data packet.

[0194] Application Example 2

[0195] When the terminal offloads the image recognition application to the source base station and the terminal undergoes a handover, the terminal will access the image recognition application across base stations.

[0196] After the terminal switches to the target base station, the data packets for the terminal to access the image recognition application come from the target base station. This requires that the source base station transfer the service application context information to the target base station during the handover. After obtaining the service application context information, the target base station can determine information such as the service application identifier, the service application IP address, the source deployment base station of the service application, and the terminal identifier from the service application context.

[0197] In actual application, for the uplink data sent from the terminal to the service application, after the target base station receives the data packet sent by the terminal, it determines the service application context information according to the service application IP address, so as to obtain the service application identifier, the source deployment base station of the service application, and the terminal identifier from the service application context information. Then, the target base station forwards the data packet to the source base station, that is, the base station where the image recognition application is deployed, according to the service application identifier and the source deployment base station in the service application context information.

[0198] For the downlink data sent from the service application to the terminal, the source base station sends the data packet to the base station where the terminal camps, that is, the target base station after the terminal handover, according to the service application context information; after receiving the data packet, the target base station determines the terminal information according to the service application identifier and the service application context information, and thus sends the data packet to the terminal.

[0199] In this application example, the base station (specifically including the source base station and the target base station) creates and maintains the service application context information, and updates the source address and destination address of the data packet based on the service application context information. In the above case, when the terminal accesses the service application, it does not perceive the IP address change caused by the service application migration or redeployment, so that the session can be uninterrupted, and the continuity of the service application access is maintained.

[0200] To implement the method of the embodiment of the present application, the embodiment of the present application also provides a data transmission device, which is set on the first device, as Figure 7 shown, the device includes:

[0201] A first forwarding unit 701, configured to forward data between the terminal and the first service application based on first information in the case where the first service application migrates or is deployed from the first device to the second device, where the first information includes the context information of the first service application, and the second device can at least provide computing power services.

[0202] Wherein, in one embodiment, the first forwarding unit 701 is configured to:

[0203] Receive a first data packet sent by the terminal;

[0204] Determine the second device based on the first information;

[0205] Forward the first data packet to the second device.

[0206] In one embodiment, the first data packet includes first address information configured by the first device for the first service application, and the first forwarding unit 701 is configured to:

[0207] Determine a first identifier associated with the first service application based on the first information and the first address information;

[0208] Generate a second data packet, where the second data packet includes the first identifier and the first data packet;

[0209] Send the second data packet to the second device.

[0210] Wherein, in one embodiment, the first forwarding unit 701 is configured to:

[0211] Receive a third data packet sent by the second device;

[0212] Determine the terminal based on the first information;

[0213] Forward the third data packet to the terminal.

[0214] In one embodiment, the apparatus further includes: a first processing unit 702; wherein,

[0215] The first processing unit 702 is configured to generate second information and send the second information to the second device, and the second information includes partial context information of the first service application.

[0216] In one embodiment, the first processing unit 702 is further configured to receive the first information sent by the second device, and the first information is obtained by updating the second information.

[0217] In actual application, the first forwarding unit 701 and the first processing unit 702 can be implemented by a communication interface in a data transmission device in combination with a processor.

[0218] To implement the method of the embodiments of the present application, the embodiments of the present application further provide a data transmission device, which is arranged on the second device, as Figure 8 shown, the device includes:

[0219] A second forwarding unit 801, configured to forward data between the terminal and the first service application based on first information in the case where the first service application migrates or is deployed from the first device to the second device, the first information includes context information of the first service application, and the second device can at least provide computing power services.

[0220] Wherein, in one embodiment, the second forwarding unit 801 is configured to:

[0221] Receive a first data packet sent by the first device;

[0222] Based on the first information, replace the first address information in the first data packet with the second address information to obtain a fourth data packet. The first address information is configured by the first device for the first service application, and the second address information is configured by the second device for the first service application;

[0223] Send the fourth data packet to the first service application.

[0224] In an embodiment, the apparatus may further include: a second processing unit 802; wherein,

[0225] The second forwarding unit 801 is configured to receive a second data packet sent by the first device. The second data packet includes a first identifier and the first data packet;

[0226] The second processing unit 802 is configured to determine the first information by using the first identifier.

[0227] Wherein, in an embodiment, the second forwarding unit 801 is configured to:

[0228] Receive a fifth data packet sent by the first service application. The fifth data packet includes the second address information, and the second address information is configured by the second device for the first service application;

[0229] Based on the first information, replace the second address information with the first address information to obtain a third data packet. The first address information is configured by the first device for the first service application;

[0230] Send the third data packet to the first device.

[0231] In an embodiment, the second processing unit 802 is further configured to receive second information sent by the first device. The second information includes partial context information of the first service application.

[0232] In an embodiment, the second processing unit 802 is further configured to:

[0233] Update the second information based on third information to obtain the first information. The third information includes information configured by the second device for the first service application;

[0234] Send the first information to the first device.

[0235] In actual application, the second forwarding unit 801 and the second processing unit 802 may be implemented by a communication interface in a data transmission device.

[0236] It should be noted that: when the data transmission device provided in the above embodiments performs data transmission, only the division of the above program modules is used as an example for illustration. In practical applications, the above processing can be allocated to different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the data transmission device provided in the above embodiments and the embodiments of the data transmission method belong to the same concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.

[0237] Based on the hardware implementation of the above program modules and in order to implement the method on the first device side in the embodiments of the present application, the embodiments of the present application also provide a first device, as Figure 9 shown, the first device 900 includes:

[0238] A first communication interface 901 capable of interacting with a second device;

[0239] A first processor 902 connected to the first communication interface 901 to implement information interaction with the second device, and when running a computer program, execute the method provided by one or more technical solutions on the first device side;

[0240] A first memory 903, where the computer program is stored on the first memory 903.

[0241] Specifically, the first processor 902 is used to, in the case where the first service application migrates or is deployed from the first device to the second device, forward data between the terminal and the first service application based on first information, where the first information includes context information of the first service application, and the second device can at least provide computing power services.

[0242] Wherein, in one embodiment, the first processor 902 is used to:

[0243] Receive a first data packet sent by the terminal through the first communication interface 901;

[0244] Determine the second device based on the first information;

[0245] Forward the first data packet to the second device through the first communication interface 901.

[0246] In one embodiment, the first data packet includes first address information configured by the first device for the first service application; the first processor 902 is used to:

[0247] Determine a first identifier associated with the first service application based on the first information and the first address information;

[0248] Generate a second data packet, where the second data packet includes the first identifier and the first data packet;

[0249] Send the second data packet to the second device through the first communication interface 901.

[0250] Wherein, in one embodiment, the first processor 902 is configured to:

[0251] Receive a third data packet sent by the second device through the first communication interface 901;

[0252] Determine the terminal based on the first information;

[0253] Forward the third data packet to the terminal through the first communication interface 901.

[0254] In one embodiment, the first processor 902 is further configured to:

[0255] Generate second information and send the second information to the second device through the first communication interface 901, where the second information includes partial context information of the first service application.

[0256] In one embodiment, the first communication interface 901 is configured to:

[0257] Receive the first information sent by the second device, where the first information is obtained by updating the second information.

[0258] It should be noted that: the specific processing procedures of the first processor 902 and the first communication interface 901 can be understood with reference to the above method.

[0259] Of course, in actual application, each component in the first device 900 is coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 9 all kinds of buses are labeled as the bus system 904.

[0260] The first memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the first device 900. Examples of these data include: any computer program for operating on the first device 900.

[0261] The method disclosed in the embodiments of the present application can be applied to or implemented by the first processor 902. The first processor 902 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed through the integrated logic circuit of the hardware in the first processor 902 or instructions in the form of software. The above-mentioned first processor 902 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 902 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. Combining the steps of the method disclosed in the embodiments of the present application, it can be directly embodied as being completed by the execution of the hardware decoding processor, or by the combination of the hardware and software modules in the decoding processor. The software module may be located in the storage medium, and this storage medium is located in the first memory 903. The first processor 902 reads the information in the first memory 903 and combines its hardware to complete the steps of the foregoing method.

[0262] In an exemplary embodiment, the first device 900 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic components for executing the foregoing method.

[0263] Based on the hardware implementation of the above program module, and in order to implement the method on the second device side in the embodiments of the present application, the embodiments of the present application further provide a second device, as Figure 10 shown. The second device 1000 includes:

[0264] A second communication interface 1001 capable of interacting with the first device for information;

[0265] A second processor 1002 connected to the second communication interface 1001 to implement information interaction with the first device. When running a computer program, it is used to execute the method provided by one or more technical solutions on the second device side;

[0266] A second memory 1003, on which the computer program is stored.

[0267] Specifically, the second processor 1002 is used to forward data between the terminal and the first service application based on the first information in the case where the first service application migrates or deploys from the first device to the second device. The first information includes the context information of the first service application, and the second device can at least provide computing power services.

[0268] Among them, in one embodiment, the second processor 1002 is configured to:

[0269] Receive a first data packet sent by the first device through the second communication interface 1001;

[0270] Based on the first information, replace the first address information in the first data packet with second address information to obtain a fourth data packet, where the first address information is configured by the first device for the first service application, and the second address information is configured by the second device for the first service application;

[0271] Send the fourth data packet to the first service application through the second communication interface 1001.

[0272] In one embodiment, the second communication interface 1001 is further configured to receive a second data packet sent by the first device, where the second data packet includes a first identifier and the first data packet;

[0273] Correspondingly, the second processor 1002 is further configured to determine the first information by using the first identifier.

[0274] Among them, in one embodiment, the second processor 1002 is configured to:

[0275] Receive a fifth data packet sent by the first service application through the second communication interface 1001, where the fifth data packet includes second address information, and the second address information is configured by the second device for the first service application;

[0276] Based on the first information, replace the second address information with first address information to obtain a third data packet, where the first address information is configured by the first device for the first service application;

[0277] Send the third data packet to the first device through the second communication interface 1001.

[0278] In one embodiment, the second communication interface 1001 is further configured to receive second information sent by the first device, where the second information includes partial context information of the first service application.

[0279] In one embodiment, the second processor 1002 is further configured to update the second information based on third information to obtain the first information, where the third information includes information configured by the second device for the first service application;

[0280] Correspondingly, the second communication interface 1001 is further configured to send the first information to the first device.

[0281] It should be noted that: The specific processing procedures of the second communication interface 1001 and the second processor 1002 can be understood with reference to the above method.

[0282] Of course, in actual applications, the various components in the second device 1000 are coupled together through the bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 10 all kinds of buses are labeled as the bus system 1004.

[0283] The second memory 1003 in the embodiments of the present application is used to store various types of data to support the operation of the second device 1000. Examples of these data include: any computer program for operating on the second device 1000.

[0284] The method disclosed in the embodiments of the present application above can be applied to or implemented by the second processor 1002. The second processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the second processor 1002 or by instructions in the form of software. The above-mentioned second processor 1002 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 1002 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. Combining the steps of the method disclosed in the embodiments of the present application, it can be directly embodied as being executed and completed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and this storage medium is located in the second memory 1003. The second processor 1002 reads the information in the second memory 1003 and combines its hardware to complete the steps of the foregoing method.

[0285] In an exemplary embodiment, the second device 1000 can be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components for performing the foregoing method.

[0286] It can be understood that the memories (the first memory 903 and the second memory 1003) in the embodiments of the present application can be volatile memories or non-volatile memories, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), an electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), a ferromagnetic random access memory (FRAM, ferromagnetic random access memory), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM, Random Access Memory), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as a static random access memory (SRAM, Static Random Access Memory), a synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), a dynamic random access memory (DRAM, Dynamic Random Access Memory), a synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), a double data rate synchronous dynamic random access memory (DDR SDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), an enhanced synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), a sync link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), a direct rambus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but not limited to, these and any other suitable types of memories.

[0287] To implement the method provided by the embodiments of the present application, the embodiments of the present application further provide a data transmission system, as Figure 11 shown, the system includes: a first device 1101 and a second device 1102.

[0288] Here, it should be noted that: the specific processing procedures of the first device 1101 and the second device 1102 have been described in detail above and will not be elaborated here.

[0289] In an exemplary embodiment, the embodiments of the present application further provide a storage medium, namely a computer storage medium, specifically a computer-readable storage medium. For example, it includes a first memory 903 storing a computer program, and the above computer program can be executed by a first processor 902 of the first device 900 to complete the steps described in the foregoing method on the first device side. Another example is a second memory 1003 storing a computer program, and the above computer program can be executed by a second processor 1002 of the second device 1000 to complete the steps described in the foregoing method on the second device side. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.

[0290] It should be noted that: "first", "second", etc. are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence.

[0291] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.

[0292] The above is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A data transmission method, characterized in that, Applied to a first device, including: In the case where a first service application is migrated or deployed from the first device to a second device, based on first information, perform forwarding of data between a terminal and the first service application, the first information including context information of the first service application, and the second device being capable of providing at least computing power services.

2. The method according to claim 1, wherein The performing of forwarding of data between a terminal and the first service application based on the first information includes: Receive a first data packet sent by the terminal; Determine the second device based on the first information; Forward the first data packet to the second device.

3. The method according to claim 2, characterized in that, The first data packet includes first address information configured by the first device for the first service application; the forwarding of the first data packet to the second device includes: Based on the first information and the first address information, determine a first identifier associated with the first service application; Generate a second data packet, the second data packet including the first identifier and the first data packet; Send the second data packet to the second device.

4. The method according to claim 1, characterized in that, The performing of forwarding of data between a terminal and the first service application based on the first information includes: Receive a third data packet sent by the second device; Determine the terminal based on the first information; Forward the third data packet to the terminal.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Generate second information and send the second information to the second device, the second information including partial context information of the first service application.

6. The method according to claim 5, wherein The method further includes: Receive the first information sent by the second device, the first information being an update of the second information.

7. A data transmission method, characterized in that, Applied to a second device, including: In the case where a first service application is migrated or deployed from a first device to the second device, based on first information, perform forwarding of data between a terminal and the first service application, the first information including context information of the first service application, and the second device being capable of providing at least computing power services.

8. The method according to claim 7, wherein The performing of forwarding of data between a terminal and the first service application based on the first information includes: Receive a first data packet sent by the first device; Based on the first information, replace the first address information in the first data packet with second address information to obtain a fourth data packet, the first address information being configured by the first device for the first service application, and the second address information being configured by the second device for the first service application; Send the fourth data packet to the first service application.

9. The method according to claim 8, characterized in that, The receiving of the first data packet sent by the first device includes: Receive a second data packet sent by the first device, the second data packet including a first identifier and the first data packet; The method further includes: Use the first identifier to determine the first information.

10. The method according to claim 7, wherein The performing of forwarding of data between a terminal and the first service application based on the first information includes: Receive a fifth data packet sent by the first service application, the fifth data packet including second address information configured by the second device for the first service application; Based on the first information, replace the second address information with the first address information to obtain a third data packet, where the first address information is configured by the first device for the first service application; Send the third data packet to the first device.

11. The method according to any one of claims 7 to 10, characterized in that, The method further includes: Receive the second information sent by the first device, where the second information includes partial context information of the first service application.

12. The method according to claim 11, wherein The method further includes: Update the second information based on the third information to obtain the first information, where the third information includes the information configured by the second device for the first service application; Send the first information to the first device.

13. A first device, characterized in that, Includes: A first processor and a first communication interface; wherein, The first processor is configured to, when the first service application migrates or is deployed from the first device to the second device, forward data between the terminal and the first service application based on the first information, where the first information includes the context information of the first service application, and the second device can at least provide computing power services.

14. A second device, characterized in that, Includes: A second processor and a second communication interface; wherein, The second processor is configured to, when the first service application migrates or is deployed from the first device to the second device, forward data between the terminal and the first service application based on the first information, where the first information includes the context information of the first service application, and the second device can at least provide computing power services.

15. A first device, characterized in that, Includes: A first processor and a first memory for storing a computer program that can run on the processor, wherein, when the first processor is used to run the computer program, it executes the steps of the method according to any one of claims 1 to 6.

16. A second device, characterized in that, Includes: A second processor and a second memory for storing a computer program that can run on the processor, wherein, when the second processor is used to run the computer program, it executes the steps of the method according to any one of claims 7 to 12.

17. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 6, or implements the steps of the method according to any one of claims 7 to 12.