Business synchronization method and apparatus, and storage medium

By determining synchronization parameters between nodes and sending synchronization commands to pause data packet transmission, the problem of synchronizing multi-dimensional service sub-streams in mobile networks is solved, thus improving the user experience.

CN115696554BActive Publication Date: 2026-07-10CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2022-10-28
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

In existing technologies, mobile networks have failed to effectively guarantee the synchronization of multi-dimensional concurrent related service sub-streams, resulting in a decline in user experience.

Method used

By determining the current synchronization parameters between the first and second nodes, judging whether the synchronization difference exceeds the threshold, and sending synchronization command information to suspend the transmission of some data packets, the related services are ensured to resume synchronization.

Benefits of technology

It improves the synchronization guarantee between multi-stream services and enhances the user's business experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115696554B_ABST
    Figure CN115696554B_ABST
Patent Text Reader

Abstract

The application provides a service synchronization method and device and a storage medium, relates to the technical field of communication, and is used for guaranteeing the synchronization of associated services and improving the service experience of users. The method comprises the following steps: a first node determines a current synchronization parameter between a first service and a second service; in the case that the absolute value of the difference between the current synchronization parameter and a target synchronization parameter is greater than or equal to a preset threshold, the first node determines that the first service and the second service are not synchronized, and sends synchronization instruction information to a second node; the synchronization instruction information comprises the identification of the first service and a preset number of data packets, or the identification of the second service and a preset number of data packets; and the synchronization instruction information is used for instructing the second node to stop sending data packets of the first service with the preset number of data packets, or to stop sending data packets of the second service with the preset number of data packets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a service synchronization method, apparatus and storage medium. Background Technology

[0002] With the development of network bandwidth, industry experts predict that new holographic communication methods will emerge and gradually mature. Holographic communication, compared to current mainstream audio and video calls, not only includes visual and auditory experiences but also incorporates multi-sensory experiences such as smell, taste, and touch. For example, future food advertisements will not only allow viewers to see the color and shape of the food but also directly stimulate the nerves through taste simulators, allowing viewers to simultaneously taste the food. In short, the new holographic communication method will involve the concurrent transmission of more multi-dimensional service sub-streams. These concurrent service sub-streams require precise synchronization and coordination; that is, the service packets of each service sub-stream must arrive simultaneously to ensure the best user experience.

[0003] However, current mobile networks lack awareness between themselves and applications, and do not consider support for the aforementioned multi-dimensional concurrent related service sub-streams. Taking video call services as an example, the audio and video streams each create a separate bearer at the mobile network layer and are assigned different Quality of Services (QoS) class identifiers (QCIs). In other words, the mobile network treats the audio and video stream service packets of the same audio / video call as two unrelated service packets, forwarding them through two separate bearers. Therefore, ensuring the synchronization of these two related service sub-streams is a problem that urgently needs to be solved. Summary of the Invention

[0004] This application provides a business synchronization method, apparatus, and storage medium to ensure the synchronization of related businesses, thereby improving the user's business experience.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] Firstly, a service synchronization method is provided, applied to a multi-stream service system. The multi-stream service system includes a first node and a second node, which transmit multi-stream services. The multi-stream services include at least a first service and a second service, which are associated with each other. The method includes: the first node determining current synchronization parameters between the first service and the second service; the current synchronization parameters reflecting the current synchronization level between the first service and the second service; if the absolute value of the difference between the current synchronization parameters and the target synchronization parameters is greater than or equal to a preset threshold, the first node determines that the first service and the second service are out of sync and sends synchronization instruction information to the second node; the synchronization instruction information includes the identifier of the first service and a preset number of data packets, or the identifier of the second service and a preset number of data packets; the synchronization instruction information instructs the second node to stop sending the preset number of data packets of the first service, or to stop sending the preset number of data packets of the second service.

[0007] Optionally, the method further includes: the first node obtaining the data latency requirement index of the first service and the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service; the first node determining the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service.

[0008] Optionally, the first node determines the current synchronization parameters between the first service and the second service, including: the first node obtains the number of data packets of the first service sent by the second node during the time period from the historical time to the current time, and the number of data packets of the second service sent by the second node during the time period from the historical time to the current time; the first node determines the current synchronization parameters between the first service and the second service based on the obtained number of data packets of the first service and the number of data packets of the second service.

[0009] Optionally, if the priority of the first service is greater than the priority of the second service, the synchronization instruction information includes the identifier of the first service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service. If the priority of the first service is less than the priority of the second service, the synchronization instruction information includes the identifier of the second service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the second service.

[0010] Secondly, a first node is provided, applied to a multi-stream service system. The multi-stream service system includes a first node and a second node, and the first node and the second node transmit multi-stream services. The multi-stream services include at least a first service and a second service, and the first service and the second service are associated. The first node includes a determining unit and a sending unit. The determining unit is used to determine the current synchronization parameters between the first service and the second service. The current synchronization parameters are used to reflect the current synchronization degree between the first service and the second service. The sending unit is used to determine that the first service and the second service are out of sync when the absolute value of the difference between the current synchronization parameters and the target synchronization parameters is greater than or equal to a preset threshold, and to send synchronization instruction information to the second node. The synchronization instruction information includes the identifier of the first service and a preset number of data packets, or the identifier of the second service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service, or to stop sending the preset number of data packets of the second service.

[0011] Optionally, the first node further includes an acquisition unit; the acquisition unit is used to acquire the data latency requirement index of the first service and the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service; the determination unit is further used to determine the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service.

[0012] Optionally, the determining unit is specifically used for: the first node to obtain the number of data packets of the first service sent by the second node during the time period from the historical time to the current time, and the number of data packets of the second service sent by the second node during the time period from the historical time to the current time; the first node to determine the current synchronization parameters between the first service and the second service based on the obtained number of data packets of the first service and the number of data packets of the second service.

[0013] Optionally, if the priority of the first service is greater than the priority of the second service, the synchronization instruction information includes the identifier of the first service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service. If the priority of the first service is less than the priority of the second service, the synchronization instruction information includes the identifier of the second service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the second service.

[0014] Thirdly, an electronic device is provided, comprising: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the business synchronization method of the first aspect described above.

[0015] Fourthly, a computer-readable storage medium is provided, on which instructions are stored, such that when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is able to perform the business synchronization method of the first aspect described above.

[0016] The technical solution provided in this application offers at least the following advantages: For two related services (i.e., the first service and the second service) transmitted between a first node and a second node, the first node determines the current synchronization parameters between the first service and the second service to clarify the current level of synchronization. Furthermore, if the absolute value of the difference between the current synchronization parameters and the target synchronization parameters is greater than or equal to a preset threshold, the first node determines that the first service and the second service are out of sync and sends synchronization instruction information to the second node. The synchronization instruction information includes the identifier of the first service and a preset number of data packets, or the identifier of the second service and a preset number of data packets; the synchronization instruction information instructs the second node to stop sending the preset number of data packets for the first service, or to stop sending the preset number of data packets for the second service. Therefore, upon receiving the synchronization instruction information, the second node can first pause sending the preset number of data packets for the first service or the second service to allow the first service and the second service to regain synchronization, thereby increasing the synchronization guarantee between multi-stream services and improving the user's service experience. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This application provides a schematic diagram of multi-data stream transmission in an XR service scenario.

[0019] Figure 2 A schematic diagram of the structure of a multi-stream service system provided in an embodiment of this application;

[0020] Figure 3 A flowchart illustrating a service synchronization method provided in this application embodiment. Figure 1 ;

[0021] Figure 4 This is a schematic diagram of a MAC CE structure provided in an embodiment of this application;

[0022] Figure 5 A flowchart illustrating a service synchronization method provided in this application embodiment. Figure 2 ;

[0023] Figure 6 This application provides a schematic diagram of the structure of a first node according to an embodiment of the present application;

[0024] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0026] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0027] It should also be noted that in the embodiments of this application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be pointed out that when their differences are not emphasized, their meanings are consistent.

[0028] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.

[0029] Before providing a detailed explanation of the embodiments of this application, some related technologies involved in the embodiments of this application will be introduced first.

[0030] Extended reality (XR) refers to an interactive environment that combines real and virtual elements, created through computer technology and wearable devices. XR is based on augmented reality (AR), virtual reality (VR), and mixed reality (MR).

[0031] Understandably, to avoid confusion, XR is actually a general term that includes AR, VR, and MR. The purpose of XR services is to utilize high-speed networks, along with technologies such as 360-degree imaging, to achieve interactive and immersive experiences.

[0032] XR is one of the more important media applications of 5G (5th generation mobile communication technology) currently being considered by the industry. In the XR use cases discussed in the 3GPP SA4 standards group of the 3rd Generation Partnership Project (3GPP), video streams, audio streams, and UE gesture / control flows all need to be sent or received by the UE. It is important to note that the periodicity of these flows may differ; for example, video streams may generate at 60, 90, or 120 frames per second, while audio streams have a packet generation time of 20 milliseconds. Their sensitivities to packet loss and latency may also differ; in other words, they have different Quality of Service (QoS) requirements. Therefore, it is inappropriate to centralize all their traffic in a single data stream, as this would force the gNB to process them identically. Therefore, it is crucial to process multiple data streams with different QoS requirements separately.

[0033] Related technologies break down XR services into multiple data streams and define different QoS requirements for each stream to ensure performance. However, these technologies do not consider how to ensure synchronization between these multiple data streams. Figure 1 The diagram illustrates a multi-data stream transmission scenario in an XR service context. Multiple data streams are transmitted between the terminal device and the base station device. These streams include data stream 1 (corresponding to service 1), data stream 2 (corresponding to service 2), data stream 3 (corresponding to service 3), and data stream 4 (corresponding to service 4). Since the QoS requirements of services 1, 2, 3, and 4 are different, discrepancies between the data streams can easily occur. For example, if data stream 1 is transmitted faster, data streams 2, 3, and 4 may not have arrived by the time data stream 1 reaches the base station device.

[0034] Therefore, how to enhance the synchronization guarantee between business flows on the basis of existing technology to ensure QoS, so as to better guarantee the user experience of XR services, is an urgent problem to be solved.

[0035] The business synchronization method provided in this application embodiment is used to ensure the synchronization of related services, thereby improving the user's service experience. The business synchronization method provided in this application embodiment can be applied to multi-stream service systems. Figure 2 A schematic diagram of the structure of this multi-stream service system is shown. For example... Figure 2 As shown, the multi-stream service system 10 includes a first node 11 and a second node 12. The first node 11 and the second node 12 are connected. The first node 11 and the second node 12 can be connected via a wired or wireless connection; this embodiment does not limit the connection in this way.

[0036] The first node 11 can be either a terminal device or a base station device. The second node 12 can also be either a terminal device or a base station device. The first node 11 and the second node 12 perform multi-stream service transmission (including the first node 11 sending data to the second node 12, or the first node 11 receiving data sent by the second node 12). The multi-stream service includes at least two related services, such as a first service and a second service.

[0037] Terminal devices can be either wireless or wired. Wireless terminal devices can be devices that provide voice and / or data connectivity to users, handheld devices with wireless connectivity, or other processing devices connected to a wireless modem. Terminal devices communicate with access network devices using some air interface technology (e.g., NR or LTE). Terminal devices can also communicate with each other using some air interface technology (e.g., NR or LTE). Wireless terminal devices can communicate with one or more core network devices via access network devices, such as with AMF, SMF, etc. Terminal devices can be mobile terminal devices, such as mobile phones (or "cellular" phones), smartphones, satellite wireless devices, wireless terminal devices in industrial control, wireless terminal devices in autonomous driving, wireless terminal devices in remote surgery, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, wireless terminal devices in smart homes, wireless modem cards, and computers with mobile terminal devices (e.g., laptop, portable, pocket, handheld, computer-embedded, or vehicle-mounted mobile devices) that exchange voice and / or data with access network equipment. For example, wireless terminal devices can be personal communication service (PCS) phones, mobile phones, tablets, computers with wireless transceiver capabilities, AR terminal devices, VR terminal devices, MR terminal devices, XR terminal devices, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), machine-type communication terminal devices, etc. In vehicle-to-everything (V2X) communication, the communication equipment mounted on the vehicle is a type of terminal equipment, as can the roadside unit (RSU). Communication equipment mounted on an unmanned aerial vehicle (UAV) can also be considered a type of terminal equipment. Terminal equipment can also be referred to as user equipment (UE), terminal, mobile terminal (MT), subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, access terminal, user terminal, user agent, etc.

[0038] Base station equipment can be a device that provides wireless communication functions for terminal devices. Examples of base station equipment include, but are not limited to: next-generation base stations (gnodeB, gNB) in 5G, evolved node B (eNB), radio network controller (RNC), node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home-evolved nodeB, or home node B, HNB), baseband unit (BBU), transmitting and receiving point (TRP), transmitting point (TP), mobile switching center, etc.

[0039] Terminal devices and base station equipment can interact at the Media Access Control (MAC) layer via MAC control elements (MAC CEs). The TS38.321 protocol specification defines various MAC CEs for 5G uplink and downlink based on the Local Area Identifier (LCID) type in the MAC header, as shown in Table 1. Terminal devices and base station equipment assist each other in processing certain procedures by exchanging MAC CEs, thereby achieving certain functions.

[0040] Table 6.2.1-2 Values ​​of LCID for UL-SCH

[0041]

[0042] The following is combined with Figure 2 The multi-stream service system shown illustrates the service synchronization method provided in the embodiments of this application.

[0043] Figure 3 This is a flowchart illustrating a service synchronization method according to some exemplary embodiments. In some embodiments, the above-described service synchronization method can be applied to, for example... Figure 2 The first and second nodes shown can also be applied to other similar devices.

[0044] like Figure 3 As shown, the service synchronization method provided in this application embodiment includes the following S201-S202.

[0045] S201. The first node determines the current synchronization parameters between the first service and the second service.

[0046] The current synchronization parameter reflects the current level of synchronization between the first service and the second service.

[0047] As one possible implementation, the first node obtains the number of data packets for the first service received from the second node during the time period from a historical moment to the current moment, and the number of data packets for the second service received from the second node during the same time period. Further, the first node determines the current synchronization parameters between the first and second services based on the obtained numbers of data packets for the first and second services.

[0048] It should be noted that a historical moment is any moment before the current moment. The time interval from a historical moment to the current moment can be considered as a period T.

[0049] The first service and the second service can be any two related QoS services. For example, a movie typically consists of video data and audio data; the video service corresponding to the video data and the audio service corresponding to the audio data are two related services.

[0050] For example, when the first node is a base station device and the second node is a terminal device, the base station device can count the number of uplink data packets for service A sent by the terminal device within period T, denoted as NUM. pduA The number of uplink data packets for service B received from the terminal device within period T is counted and denoted as NUM. pduB Furthermore, the base station equipment calculates the current synchronization parameters between service A and service B. Q is a preset coefficient, which is set by the maintenance personnel in advance. The value range is a number between 0 and 100 (e.g., to take one decimal place, it can be set to 1.1, 50.9, etc.).

[0051] The case where the first node is a terminal device and the second node is a base station device is similar to the example above. The difference is that the base station device counts the number of downlink data packets for service A, which will not be elaborated here.

[0052] S202. If the absolute value of the difference between the current synchronization parameter and the target synchronization parameter is greater than or equal to a preset threshold, the first node determines that the first service and the second service are out of sync and sends a synchronization instruction to the second node.

[0053] The synchronization instruction information includes the identifier of the first service and the preset number of data packets, or the identifier of the second service and the preset number of data packets; the synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service, or to stop sending the preset number of data packets of the second service.

[0054] As one possible implementation, the first node calculates the difference between the current synchronization parameters and the target synchronization parameters. Further, the first node compares the absolute value of the calculated difference with a preset threshold to determine if the absolute value is greater than or equal to the preset threshold. If the absolute value is greater than or equal to the preset threshold, the first node determines that the first service and the second service are out of sync and sends a synchronization instruction to the second node.

[0055] It should be noted that the target synchronization parameters can be pre-set by the operations and maintenance personnel in the first node, or they can be pre-calculated by the first node (see subsequent embodiments). Similarly, the preset threshold is also pre-set by the operations and maintenance personnel in the first node.

[0056] For example, the target synchronization parameter is denoted as targetSyn, the current synchronization parameter is denoted as SynPDU, and the preset threshold is Threshold. If |SynPDU-targetSyn|≥Threshold, the first node determines that the first service and the second service are out of sync and sends a synchronization instruction to the second node.

[0057] In one example, synchronization command information can be sent from the first node to the second node in the form of a MAC CE. For instance, a new MAC CE can be introduced to implement synchronization between multiple service flows. This MAC CE can be named "syn qos". When a terminal device or base station device receives a MAC CE named "syn qos", it is identified as synchronization command information.

[0058] For example, the format of a MAC CE named "syn qos" is as follows: Figure 4As shown, the QoS ID is the identity document (ID) corresponding to the QoS service whose data packet transmission needs to be stopped, and NumPDU represents the number of data packets (such as the number of packet data units (PDUs)) that the QoS service needs to stop transmitting. The number of data packets to be stopped can be a fixed value configured, such as 5, 10, 100, etc. The specific value is selected according to the parameter configuration. When using a fixed value, each time two QoS services become out of sync, the base station device triggers a "syn qos" MAC CE and sends it to the terminal device. The terminal device stops transmitting the number of data packets for that QoS service according to the NumPDU in the MAC CE. After the number of packets is reached, the terminal device continues to transmit.

[0059] The technical solution provided in this application provides at least the following beneficial effects: For two related services (i.e., the first service and the second service) transmitted between the first node and the second node, the first node determines the current synchronization parameters between the first service and the second service to clarify the current synchronization level between them. Further, if the absolute value of the difference between the current synchronization parameter and the target synchronization parameter is greater than or equal to a preset threshold, the first node determines that the first service and the second service are out of sync and sends synchronization instruction information to the second node. The synchronization instruction information includes the identifier of the first service and a preset number of data packets, or the identifier of the second service and a preset number of data packets; the synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets for the first service, or to stop sending the preset number of data packets for the second service. Therefore, after receiving the synchronization instruction information, the second node can first pause sending the preset number of data packets for the first service or the second service so that the first service and the second service can resume synchronization, thereby increasing the synchronization guarantee between multi-stream services and improving the user's service experience.

[0060] In one design, in order to obtain the target synchronization parameters, such as Figure 5 As shown, the service synchronization method provided in this application embodiment also includes the following S301-S302.

[0061] S301, the first node obtains the data latency requirement index and the data packet loss rate requirement index of the first service, the data latency requirement index and the data packet loss rate requirement index of the second service.

[0062] As one possible implementation, the first node obtains the data latency requirement index and data packet loss rate requirement index of the first service, the data latency requirement index and data packet loss rate requirement index of the second service from the preset QoS service configuration table.

[0063] It should be noted that the QoS service configuration table includes QoS parameters corresponding to multiple 5G Quality of Service Identifiers (5G QoS identifiers, 5QIs). Each 5QI corresponds to a 5G-supported service type defined by the 3GPP protocol, and different 5QIs represent different service bearer types.

[0064] Table 2 shows a mapping relationship between 5QI and QOS parameters.

[0065] Table 2

[0066]

[0067]

[0068]

[0069]

[0070]

[0071] As shown in Table 2, QoS services are divided into guaranteed bit rate (GBR) services and non-GBR services. Both types of services specify a data delay budget (PDB) and a packet error loss rate (PELR). Therefore, the first node can retrieve the corresponding data delay and packet error loss rate from this table based on the service identifier (e.g., 5QI), and determine the data delay as the data delay requirement and the packet error loss rate as the packet error loss rate requirement.

[0072] S302. The first node determines the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service, and the data packet loss rate requirement index of the second service.

[0073] As one possible implementation, the first node calculates the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service, and the data packet loss rate requirement index of the second service.

[0074] For example, the first node retrieves the PDB of the QoS service from Table 2 using the 5QI of the QoS service, denoted as TablePDB, and retrieves the PELR of the QoS service from Table 2 using the 5QI of the QoS service, denoted as TablePELR. Then the target synchronization parameters of the two QoS services are...

[0075] Where K and M are coefficients, set by the operations and maintenance personnel according to the situation, and their values ​​are all between 0 and 100 (e.g., values ​​such as 1.1, 50.9, etc. can be set).

[0076] In some embodiments, when two QoS services are out of sync, the first node can instruct the second node to stop sending data packets for the higher-priority QoS service. If the two QoS services have the same priority, the service with the higher PDB requirement is stopped. If the PDB is also the same, the service with the higher PLER requirement is stopped. If all the above parameters are the same, the service with the higher number of currently received data packets is stopped.

[0077] The above embodiments mainly describe the solutions provided by the embodiments of this application from the perspective of an apparatus (device). It is understood that, in order to implement the above methods, the apparatus or device includes hardware structures and / or software modules corresponding to the execution of each method flow. These hardware structures and / or software modules corresponding to the execution of each method flow can constitute a material information determination apparatus. Those skilled in the art should readily recognize that, in conjunction with the algorithm steps of the various examples described in the embodiments of the invention herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0078] This application embodiment can divide the device or equipment into functional modules according to the above method examples. For example, the device or equipment can be divided into functional modules corresponding to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0079] Figure 6 This is a schematic diagram illustrating the structure of a first node according to an exemplary embodiment. (Refer to...) Figure 6As shown, the first node 40 provided in this application embodiment is applied to a multi-stream service system. The multi-stream service system includes a first node and a second node. The first node and the second node transmit multi-stream services. The multi-stream service includes at least a first service and a second service, and the first service and the second service are associated. The first node 40 includes a determining unit 401 and a sending unit 402.

[0080] The determining unit 401 is used to determine the current synchronization parameters between the first service and the second service; the current synchronization parameters are used to reflect the current synchronization degree between the first service and the second service; the sending unit 402 is used to determine that the first service and the second service are out of sync when the absolute value of the difference between the current synchronization parameters and the target synchronization parameters is greater than or equal to a preset threshold, and to send synchronization instruction information to the second node; the synchronization instruction information includes the identifier of the first service and a preset number of data packets, or the identifier of the second service and a preset number of data packets; the synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service, or to stop sending the preset number of data packets of the second service.

[0081] Optionally, the first node further includes an acquisition unit 403; the acquisition unit 403 is used to acquire the data latency requirement index of the first service and the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service; the determination unit 401 is further used to determine the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service.

[0082] Optionally, the determining unit 401 is specifically used for: the first node to obtain the number of data packets of the first service sent by the second node during the time period from the historical time to the current time, and the number of data packets of the second service sent by the second node during the time period from the historical time to the current time; the first node to determine the current synchronization parameters between the first service and the second service based on the obtained number of data packets of the first service and the number of data packets of the second service.

[0083] Optionally, if the priority of the first service is greater than the priority of the second service, the synchronization instruction information includes the identifier of the first service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service. If the priority of the first service is less than the priority of the second service, the synchronization instruction information includes the identifier of the second service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the second service.

[0084] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this application. For example... Figure 7 The electronic device 50 may include at least one processor 501 and a memory 502 for storing processor-executable instructions, wherein the processor 501 is configured to execute the instructions in the memory 502 to implement the service synchronization method in the above embodiments.

[0085] In addition, the electronic device 50 may also include a communication bus 503 and at least one communication interface 504.

[0086] Processor 501 may be a processor (central processing unit, CPU), microprocessor unit, ASIC, or one or more integrated circuits for controlling the execution of programs according to the present application.

[0087] The communication bus 503 may include a path for transmitting information between the aforementioned components.

[0088] Communication interface 504 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0089] Memory 502 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory may exist independently and be connected to processor 501 via a bus. Memory may also be integrated with processor 501.

[0090] The memory 502 stores instructions for executing the scheme of this application, and the processor 501 controls the execution. The processor 501 executes the instructions stored in the memory 502 to realize the functions of the method of this application.

[0091] As an example, combined Figure 6 The functions implemented by the determining unit 401 and the sending unit 402 in the first node 40 are the same as those implemented by the first node 40. Figure 7 The processor 501 in it has the same function.

[0092] In a specific implementation, as one example, the processor 501 may include one or more CPUs, for example... Figure 7 CPU0 and CPU1 in the CPU.

[0093] In a specific implementation, as one example, electronic device 50 may include multiple processors, such as... Figure 7 Processors 501 and 507 are shown in the diagram. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0094] In a specific implementation, as one embodiment, the electronic device 50 may further include an output device 505 and an input device 506. The output device 505 communicates with the processor 501 and can display information in various ways. For example, the output device 505 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 506 communicates with the processor 501 and can accept input from user objects in various ways. For example, the input device 506 may be a mouse, keyboard, touchscreen device, or sensing device, etc.

[0095] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on the electronic device 50, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0096] In addition, this application also provides a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by the processor of an electronic device, enables the electronic device to perform the service synchronization method provided in the above embodiments.

[0097] In addition, this application also provides a computer program product, including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the business synchronization method provided in the above embodiments.

[0098] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention described herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not invented herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.

Claims

1. A business synchronization method, characterized in that, The method is applied to a multi-stream service system, which includes a first node and a second node. The first node and the second node transmit multi-stream services, which include at least a first service and a second service, wherein the first service and the second service are associated. The first node determines the current synchronization parameters between the first service and the second service; the current synchronization parameters are used to reflect the current degree of synchronization between the first service and the second service; If the absolute value of the difference between the current synchronization parameter and the target synchronization parameter is greater than or equal to a preset threshold, the first node determines that the first service and the second service are out of sync and sends a synchronization instruction message to the second node. Where the priority of the first service is greater than that of the second service, the synchronization instruction information includes the identifier of the first service and a preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets for the first service; or... When the priority of the first service is lower than that of the second service, the synchronization instruction information includes the identifier of the second service and the preset number of data packets; the synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets for the second service; or, When the priority of the first service is equal to the priority of the second service, and the data latency requirement of the first service is different from that of the second service, the synchronization instruction information includes the identifier of the service with the higher data latency requirement among the first service and the second service; the synchronization instruction information is used to instruct the second node to stop sending the service with the higher data latency requirement among the first service and the second service. When the priority of the first service is equal to the priority of the second service, the data latency requirement of the first service is the same as that of the second service, and the data packet loss rate requirement of the first service is different from that of the second service, the synchronization instruction information includes the identifiers of the services with higher data packet loss rate requirements in the first and second services; the synchronization instruction information is used to instruct the second node to stop sending the services with higher data packet loss rate requirements in the first and second services. When the priority of the first service is equal to the priority of the second service, the data latency requirement of the first service is the same as the data latency requirement of the second service, and the data packet loss rate requirement of the first service is the same as the data packet loss rate requirement of the second service, the synchronization instruction information includes the identifier of the service with the higher number of data packets among the first service and the second service; the synchronization instruction information is used to instruct the second node to stop sending the service with the higher number of data packets among the first service and the second service.

2. The business synchronization method according to claim 1, characterized in that, The method further includes: The first node acquires the data latency requirement index of the first service and the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service; The first node determines the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service, and the data packet loss rate requirement index of the second service.

3. The business synchronization method according to claim 1, characterized in that, The first node determines the current synchronization parameters between the first service and the second service, including: The first node receives the number of data packets for the first service sent by the second node during the time period from the historical time to the current time, and the number of data packets for the second service sent by the second node during the time period from the historical time to the current time. The first node determines the current synchronization parameters between the first service and the second service based on the number of data packets of the first service and the number of data packets of the second service.

4. A first node, characterized in that, This is applied to a multi-stream service system, which includes a first node and a second node. The first node and the second node transmit multi-stream services. The multi-stream services include at least a first service and a second service, and the first service is associated with the second service. The first node includes a determining unit and a sending unit. The determining unit is used to determine the current synchronization parameters between the first service and the second service; the current synchronization parameters are used to reflect the current degree of synchronization between the first service and the second service; The sending unit is configured to determine that the first service and the second service are out of sync when the absolute value of the difference between the current synchronization parameter and the target synchronization parameter is greater than or equal to a preset threshold, and to send synchronization instruction information to the second node; the synchronization instruction information includes the identifier of the first service and a preset number of data packets, or the identifier of the second service and the preset number of data packets; the synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets of the first service, or to stop sending the preset number of data packets of the second service. Where the priority of the first service is greater than that of the second service, the synchronization instruction information includes the identifier of the first service and the preset number of data packets. The synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets for the first service; or, When the priority of the first service is lower than that of the second service, the synchronization instruction information includes the identifier of the second service and the preset number of data packets; the synchronization instruction information is used to instruct the second node to stop sending the preset number of data packets for the second service; or, When the priority of the first service is equal to the priority of the second service, and the data latency requirement of the first service is different from that of the second service, the synchronization instruction information includes the identifier of the service with the higher data latency requirement among the first service and the second service; the synchronization instruction information is used to instruct the second node to stop sending the service with the higher data latency requirement among the first service and the second service. When the priority of the first service is equal to the priority of the second service, the data latency requirement of the first service is the same as that of the second service, and the data packet loss rate requirement of the first service is different from that of the second service, the synchronization instruction information includes the identifiers of the services with higher data packet loss rate requirements in the first and second services; the synchronization instruction information is used to instruct the second node to stop sending the services with higher data packet loss rate requirements in the first and second services. When the priority of the first service is equal to the priority of the second service, the data latency requirement of the first service is the same as the data latency requirement of the second service, and the data packet loss rate requirement of the first service is the same as the data packet loss rate requirement of the second service, the synchronization instruction information includes the identifier of the service with the higher number of data packets among the first service and the second service; the synchronization instruction information is used to instruct the second node to stop sending the service with the higher number of data packets among the first service and the second service.

5. The first node according to claim 4, characterized in that, The first node further includes an acquisition unit; The acquisition unit is used to acquire the data latency requirement index of the first service and the data packet loss rate requirement index of the first service, the data latency requirement index of the second service and the data packet loss rate requirement index of the second service. The determining unit is further configured to determine the target synchronization parameters between the first service and the second service based on the data latency requirement index of the first service, the data packet loss rate requirement index of the first service, the data latency requirement index of the second service, and the data packet loss rate requirement index of the second service.

6. The first node according to claim 4, characterized in that, The determining unit is specifically used for: The first node receives the number of data packets for the first service sent by the second node during the time period from the historical time to the current time, and the number of data packets for the second service sent by the second node during the time period from the historical time to the current time. The first node determines the current synchronization parameters between the first service and the second service based on the number of data packets of the first service and the number of data packets of the second service.

7. An electronic device, characterized in that, include: A processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the service synchronization method according to any one of claims 1-3.

8. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the service synchronization method as described in any one of claims 1-3.