Business synchronization method and apparatus, and storage medium
By determining synchronization parameters between nodes and sending synchronization commands, the synchronization problem of multi-dimensional concurrent business sub-streams is solved, improving the user experience.
Patent Information
- Application Number
- CN202211336516.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-10-28
AI Technical Summary
In existing technologies, mobile networks have failed to effectively guarantee the synchronization of multi-dimensional concurrent related service sub-streams, resulting in a poor user experience.
By determining the current synchronization parameters between the first and second nodes, and sending a synchronization instruction message when the difference exceeds a preset threshold, the second node is instructed to suspend sending data packets for a certain service in order to restore the synchronization of multi-stream services.
It improves the synchronization guarantee between multi-stream services and enhances the user's business experience.
Smart Images

Figure CN115696553B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, and in particular to a service synchronization method and device and storage medium. BACKGROUND
[0002] With the development of network bandwidth, the industry predicts that a new holographic communication mode will also appear and gradually mature. The so-called holographic communication not only includes visual and auditory experience compared to the current mainstream audio and video calls, but also introduces multi-sensory experience including olfactory, gustatory and tactile experience. For example, in the future, food advertisements will not only allow viewers to see the color and shape of the food, but also directly stimulate the nerves through a taste simulator, so that the viewer can taste the food at the same time. In short, the new holographic communication mode will have more dimensional concurrent service sub-streams, and these concurrent service sub-streams need to be accurately synchronized and coordinated, that is, the service packets of each service sub-stream at the same time need to be transmitted at the same time, so as to ensure the best experience of the user.
[0003] However, there is a lack of awareness between the current mobile network and the application, and the support for the above multi-dimensional concurrent associated service sub-streams is not considered. Taking a video call service as an example, the audio stream and the video stream of the video call service create a bearer respectively at the mobile network layer, and assign different quality of services (QoS) class identifiers (QCI). That is, the mobile network treats the audio stream service packets and the video stream service packets of the same audio and video call as two unrelated service packets, and transmits them through two unrelated bearers. Therefore, how to ensure the synchronization of the two associated service sub-streams is a problem to be solved. SUMMARY
[0004] The present application provides a service synchronization method and device and storage medium for guaranteeing the synchronization of associated services to improve the service experience of the user.
[0005] To achieve the above object, the present application adopts the following technical solutions:
[0006] In a first aspect, a service synchronization method is provided and applied to a multi-flow service system. The multi-flow service system includes a first node and a second node. The first node and the second node perform multi-flow service transmission. The multi-flow service includes at least a first service and a second service. The first service is associated with the second service. The method includes: determining, by the first node, a current synchronization parameter between the first service and the second service. The current synchronization parameter reflects a current synchronization degree between the first service and the second service. In a case where an absolute value of a 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 the second node. The synchronization instruction information includes an identifier of the first service and a stop time of the first service, or an identifier of the second service and a stop time of the second service. The synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service, or to stop sending data packets of the second service according to the stop time of the second service.
[0007] Optionally, the method further includes: obtaining, by the first node, a data delay requirement index of the first service and a data packet loss rate requirement index of the first service, a data delay requirement index of the second service and a data packet loss rate requirement index of the second service; and determining, by the first node, the target synchronization parameter between the first service and the second service according to the data delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data delay requirement index of the second service and the data packet loss rate requirement index of the second service.
[0008] Optionally, the first node determining the current synchronization parameter between the first service and the second service includes: obtaining, by the first node, a number of data packets of the first service sent by the second node in a time period from a historical time to a current time, and a number of data packets of the second service sent by the second node in the time period from the historical time to the current time; and determining, by the first node, the current synchronization parameter between the first service and the second service according to the obtained number of data packets of the first service and the number of data packets of the second service.
[0009] Optionally, in a case where a priority of the first service is greater than a priority of the second service, the synchronization instruction information includes the identifier of the first service and the stop time of the first service. The synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service. In a case where 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 the stop time of the second service. The synchronization instruction information is used to instruct the second node to stop sending data packets of the second service according to the stop time of the second service.
[0010] In a second aspect, a first node is provided for use in a multi-flow service system, the multi-flow service system comprising the first node and a second node, the first node and the second node performing transmission of a multi-flow service, the multi-flow service comprising at least a first service and a second service, the first service being associated with the second service; the first node comprising a determining unit and a sending unit; the determining unit being configured to determine a current synchronization parameter between the first service and the second service; the current synchronization parameter being used to reflect a current synchronization degree between the first service and the second service; the sending unit being configured to, in a case where an absolute value of a difference between the current synchronization parameter and a target synchronization parameter is greater than or equal to a preset threshold, determine that the first service and the second service are not synchronized, and send synchronization instruction information to the second node; the synchronization instruction information comprising an identifier of the first service and a stop time of the first service, or an identifier of the second service and a stop time of the second service; the synchronization instruction information being used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service, or to stop sending data packets of the second service according to the stop time of the second service.
[0011] Optionally, the first node further comprises an obtaining unit; the obtaining unit being configured to obtain a data delay requirement index of the first service and a data packet loss rate requirement index of the first service, a data delay requirement index of the second service and a data packet loss rate requirement index of the second service; and the determining unit is further configured to determine the target synchronization parameter between the first service and the second service according to the data delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data delay 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 configured to: obtain, by the first node, a number of data packets of the first service sent by the second node in a time period from a historical time to a current time, and a number of data packets of the second service sent by the second node in the time period from the historical time to the current time; and determine, by the first node, the current synchronization parameter between the first service and the second service according to the obtained number of data packets of the first service and the number of data packets of the second service.
[0013] Optionally, in a case where a priority of the first service is greater than a priority of the second service, the synchronization instruction information comprises the identifier of the first service and the stop time of the first service, and the synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service; in a case where the priority of the first service is less than the priority of the second service, the synchronization instruction information comprises the identifier of the second service and the stop time of the second service, and the synchronization instruction information is used to instruct the second node to stop sending data packets of the second service according to the stop time of the second service.
[0014] In a third aspect, an electronic device is provided, comprising a processor and a memory storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the service synchronization method of the first aspect.
[0015] In a fourth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores instructions. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the service synchronization method of the first aspect.
[0016] The technical solutions provided in the present application have at least the following beneficial effects: For two associated services (i.e., the first service and the second service) transmitted by the first node and the second node, the first node determines the current synchronization parameter between the first service and the second service to determine the current synchronization degree between the first service and the second service. Further, 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, the first node determines that the first service and the second service are not synchronized, and sends synchronization instruction information to the second node. The synchronization instruction information includes the identifier of the first service and the stop time of the first service, or the identifier of the second service and the stop time of the second service; the synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service, or to stop sending data packets of the second service according to the stop time of the second service. Therefore, after receiving the synchronization instruction information, the second node can first pause sending data packets of the first service or the second service, so as to restore the synchronization of the first service and the second service, thereby increasing the synchronization guarantee between multiple flow services and improving the service experience of users. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0018] Figure 1 A multi-data flow transmission schematic diagram in an XR service scenario provided by an embodiment of the present application;
[0019] Figure 2 A structure schematic diagram of a multi-flow service system provided by an embodiment of the present application;
[0020] Figure 3 A flowchart of a service synchronization method provided by an embodiment of the present application Figure 1 ;
[0021] Figure 4 A MAC CE structure schematic diagram provided for an embodiment of the present application;
[0022] Figure 5 A service synchronization method flowchart provided for an embodiment of the present application Figure 2 ;
[0023] Figure 6 A first node structure schematic diagram provided for an embodiment of the present application;
[0024] Figure 7 An electronic device structure schematic diagram provided for an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0026] It should be noted that in the embodiments of the present application, the words such as "exemplary" or "for example" are used to mean serving as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design schemes. Rather, the words such as "exemplary" or "for example" are used in the specific manner to present the relevant concept.
[0027] It should also be noted that in the embodiments of the present application, "of", "corresponding" and "corresponding" can be used interchangeably at times. It should be pointed out that when the distinction is not emphasized, the meanings expressed are consistent.
[0028] In order to clearly describe the technical solutions in the embodiments of the present application, in the embodiments of the present application, the words such as "first", "second" and the like are used to distinguish the same or similar items or items with basically the same function and role. Those skilled in the art can understand that the words such as "first", "second" and the like are not used to limit the quantity and execution order.
[0029] Before the embodiments of the present application are explained in detail, some related technologies involved in the embodiments of the present application are introduced.
[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 conceptual 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 increase the guarantee of the synchronization between the service flows on the basis of the guarantee of the QOS in the prior art to better guarantee the user experience of the XR service is an urgent problem to be solved.
[0035] The service synchronization method provided by the embodiments of the present application is used for guaranteeing the synchronization of the associated services to improve the service experience of the user. The service synchronization method provided by the embodiments of the present application can be applied to a multi-flow service system, Figure 2 A structural schematic diagram of the multi-flow service system is shown. As shown in the figure, Figure 2 The multi-flow service system 10 includes a first node 11 and a second node 12. The first node 11 is connected with the second node 12. The first node 11 and the second node 12 can be connected in a wired manner or in a wireless manner, which is not limited in the embodiments of the present application.
[0036] The first node 11 can be a terminal device or a base station device. The second node 12 can be a terminal device or a base station device. The first node 11 and the second node 12 perform the transmission of the multi-flow service (including that the first node 11 sends data to the second node 12 or the first node 11 receives the data sent by the second node 12), and the multi-flow service includes at least two associated services, for example, a first service and a second service.
[0037] The terminal device can be a wireless terminal device or a wired terminal device. The wireless terminal device can refer to a device that provides voice and / or data connectivity to a user, a handheld device having wireless connection capability, or other processing devices connected to a wireless modem. The terminal device and the access network device communicate with each other using some air interface technology (for example, NR technology or LTE technology). The terminal device and the terminal device can also communicate with each other using some air interface technology (for example, NR technology or LTE technology). The wireless terminal device can communicate with one or more core network devices, such as AMF, SMF, etc., through the access network device. The terminal device can be a mobile terminal device, such as a mobile phone (or called "cellular" phone), a smart phone, a satellite wireless device, a wireless terminal device in industrial control, a wireless terminal device in unmanned driving, a wireless terminal device in remote surgery, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in smart city, a wireless terminal device in smart home, a wireless modem card, and a computer (for example, a laptop, portable, pocket, handheld, computer built-in or vehicle-mounted mobile device) with a mobile terminal device, which exchanges voice and / or data with the access network device. For example, the wireless terminal device can be a personal communication service (PCS) phone, a handset, a tablet computer, a computer with wireless transceiver function, an AR terminal device, a VR terminal device, a MR terminal device, an XR terminal device, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a machine type communication terminal device, etc. In vehicle-to-everything communication, the communication device loaded on the vehicle is a terminal device, and the road side unit (RSU) can also be a terminal device. The communication device loaded on the unmanned aerial vehicle can also be regarded as a terminal device. The terminal device 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] The base station device can be a device that provides a terminal device with a wireless communication function. The base station device includes, for example, but is not limited to, a next generation base station (gnodeB, gNB) in 5G, an evolved nodeB (eNB), a radio network controller (RNC), a nodeB (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved nodeB, or a home node B, HNB), a baseband unit (BBU), a transmitting and receiving point (TRP), a transmitting point (TP), a mobile switching center, and the like.
[0039] The terminal device and the base station device can interact with each other through a media access control (MAC control element, MAC CE) in a media access control layer (MAC). In the TS38.321 protocol specification, a plurality of MAC CEs are respectively defined on the uplink and downlink of 5G according to the area setting identifier (LCID) type of the MAC header, as shown in Table 1. The terminal device and the base station device assist each other in processing some processes through mutual sending of MAC CEs, so as to realize some functions.
[0040] Table 1 Table 6.2.1-2 Values of LCID for UL-SCH
[0041]
[0042] The service synchronization method provided by the embodiments of the present application will be described below in combination with the multi-flow service system shown in Figure 2
[0043] Figure 3 is a flow diagram of a service synchronization method according to some example embodiments. In some embodiments, the service synchronization method described above can be applied to the first node, the second node as shown in Figure 2
[0044] As shown in Figure 3 The service synchronization method provided by the embodiments of the present application includes the following S201-S202.
[0045] S201, the first node determines a current synchronization parameter between the first service and the second service.
[0046] The current synchronization parameter is used to reflect a current synchronization degree between the first service and the second service.
[0047] As a possible implementation, the first node obtains a number of data packets of the first service sent by the second node in a time period from a historical time to a current time, and a number of data packets of the second service sent by the second node in the time period from the historical time to the current time. Further, the first node determines the current synchronization parameter between the first service and the second service according to the obtained number of data packets of the first service and the number of data packets of the second service.
[0048] It should be noted that the historical time is any time before the current time. The time period from the historical time to the current time can be a period T.
[0049] The first service and the second service can be any two associated QOS services. For example, a movie is usually composed of video data and audio data, and the video data corresponds to a video service and the audio data corresponds to an audio service, which are two associated services.
[0050] For example, in the case that the first node is a base station device and the second node is a terminal device, the base station device can count a number of uplink data packets of a service A sent by the terminal device in the period T, denoted as NUM pduA , and count a number of uplink data packets of a service B sent by the terminal device in the period T, denoted as NUM pduB . Further, the base station device calculates a current synchronization parameter between the service A and the service B wherein Q is a preset coefficient, which is preset by an operation and maintenance personnel, and the value range is a number between 0 and 100 (for example, one decimal place can be set, i.e., 1.1, 50.9, etc.).
[0051] In the case that the first node is a terminal device and the second node is a base station device, the case is similar to the above example, except that the base station device counts a number of downlink data packets of the service A, which is not described herein again.
[0052] S202, in the case that an absolute value of a 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 the second node.
[0053] The synchronization instruction information includes an identifier of the first service and a stop time of the first service, or an identifier of the second service and a stop time of the second service, and is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service or to stop sending data packets of the second service according to the stop time of the second service.
[0054] As a possible implementation, the first node calculates a difference between the current synchronization parameter and the target synchronization parameter. Further, the first node compares an absolute value of the calculated difference with a preset threshold to determine whether the absolute value is greater than or equal to the preset threshold. In the case where 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 synchronization, and sends the synchronization instruction information to the second node.
[0055] It should be noted that the target synchronization parameter can be pre-set in the first node by an operation and maintenance personnel, or can be pre-calculated by the first node (which can be referred to in subsequent embodiments). Similarly, the preset threshold is also pre-set in the first node by the operation and maintenance personnel.
[0056] For example, the target synchronization parameter is denoted as targetSyn, the current synchronization parameter is denoted as SynPDU, and the preset threshold is denoted as Threshold. If |SynPDU-targetSyn|≥Threshold, the first node determines that the first service and the second service are out of synchronization, and sends the synchronization instruction information to the second node.
[0057] In an example, the synchronization instruction information can be sent by the first node to the second node in the form of a MAC CE. For example, a new MAC CE is introduced to implement the synchronization function between multiple service flows, and the MAC CE is named as "syn qos". When a terminal device or a base station device receives a MAC CE named as syn qos, it is determined as the synchronization instruction information.
[0058] For example, the format of the MAC CE named as "syn qos" is as shown in Figure 4 wherein QOS ID is an identity document (ID) corresponding to a QOS service for which data packet sending needs to be stopped, and Time represents a time length for which the QOS service needs to be stopped. The time length can be a configured fixed value, such as 5 ms, 10 ms, 100 ms, etc. The specific value is selected according to parameter configuration. When a fixed value is used, the base station device triggers the sending of the "syn qos" MAC CE to the terminal device once every time the two QOS services are out of synchronization, and the terminal device stops sending data packets of the QOS service according to the Time in the MAC CE. After the time elapses, the terminal device continues to send.
[0059] The technical scheme provided by the embodiments of the present application at least brings the following beneficial effects: for two associated services (i.e., the first service and the second service) transmitted by the first node and the second node, the first node determines the current synchronization parameter between the first service and the second service, to explicitly determine the current synchronization degree between the first service and the second service. Further, in the case that 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 not synchronized, and sends synchronization instruction information to the second node. The synchronization instruction information includes the identifier of the first service and the stop time of the first service, or the identifier of the second service and the stop time of the second service; the synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service, or to stop sending data packets of the second service according to the stop time of the second service. Therefore, after receiving the synchronization instruction information, the second node can first pause sending data packets of the first service or the second service, so as to restore the synchronization of the first service and the second service, thereby increasing the synchronization guarantee between multiple flow services and improving the service experience of users.
[0060] In a design, in order to obtain the target synchronization parameter, as shown in the following formula (1), the embodiments of the present application provide a service synchronization method further comprising the following S301-S302. Figure 5
[0061] S301, the first node obtains the data delay requirement index of the first service and the data packet loss rate requirement index of the first service, the data delay requirement index of the second service and the data packet loss rate requirement index of the second service.
[0062] As a possible implementation manner, the first node obtains the data delay requirement index of the first service and the data packet loss rate requirement index of the first service, the data delay requirement index of the second service and the data packet loss rate requirement index of the second service from a preset QOS service configuration table.
[0063] It should be noted that the QOS service configuration table includes QOS parameters corresponding to a plurality of 5G quality of service identifiers (5G QOS identifier, 5QI), wherein one 5QI corresponds to one 5G service type supported by the 3GPP protocol defined, and different 5QI represents different service bearer types.
[0064] As shown in Table 2, a mapping relationship table between 5QI and QOS parameter is shown.
[0065] Table 2
[0066]
[0067]
[0068]
[0069]
[0070]
[0071] In the table, it can be seen that QOS services are divided into guaranteed bit rate (GBR) services and non-GBR services, and both services are provided with packet delay budget (PDB) and packet error loss rate (PELR). Therefore, the first node can obtain the corresponding packet delay budget and packet error loss rate from the table according to the identification (such as 5QI) of the service, and determine the packet delay budget as the data delay requirement index and the packet error loss rate as the data packet loss rate requirement index.
[0072] S302, the first node determines the target synchronization parameter between the first service and the second service according to the data delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data delay requirement index of the second service, and the data packet loss rate requirement index of the second service.
[0073] As a possible implementation, the first node calculates the target synchronization parameter between the first service and the second service according to the data delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data delay requirement index of the second service, and the data packet loss rate requirement index of the second service.
[0074] For example, the first node queries the PDB of the QOS service from Table 2 through the 5QI of the QOS service, which is recorded as TablePDB, and queries the PELR of the QOS service from Table 2 through the 5QI of the QOS service, which is recorded as TablePELR. The target synchronization parameter of the two synchronization QOS services is
[0075] Wherein, K and M are coefficients, which are set by the operation and maintenance personnel according to the situation, and the value range is a number between 0 and 100 (such as 1.1, 50.9, etc.)
[0076] In some embodiments, when the two QOS services are out of synchronization, the first node can instruct the second node to stop sending data packets of the QOS service with high priority. If the priorities of the two QOS services are the same, the service with high PDB requirement is stopped. If the PDBs are also the same, the service with high PELR requirement is stopped. If the above parameters are the same, the service with high number of currently received data packets is stopped.
[0077] The above embodiments mainly introduce the scheme provided by the embodiments of the present application from the perspective of the device (apparatus). It can be understood that, in order to implement the above method, the device or apparatus contains corresponding hardware structure and / or software module for executing each method process, which can constitute a material information determination device. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments of the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or in the form of computer software driving hardware depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0078] The embodiments of the present application can divide the device or apparatus into functional modules according to the above method examples, for example, the device or apparatus can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical functional division. There can be another division manner in actual implementation.
[0079] Figure 6 is a structural schematic diagram of a first node according to an example embodiment. Referring to Figure 6 The first node 40 provided by the embodiments of the present application is applied to a multi-flow service system, the multi-flow service system includes a first node and a second node, the first node and the second node perform multi-flow service transmission, the multi-flow service at least includes a first service and a second service, the first service and the second service are associated; the first node 40 includes a determination unit 401 and a sending unit 402.
[0080] The determination unit 401 is configured to determine a current synchronization parameter between the first service and the second service; the current synchronization parameter is used to reflect a current synchronization degree between the first service and the second service; the sending unit 402 is configured to determine that the first service and the second service are not synchronized in a case that an absolute value of a difference between the current synchronization parameter and a target synchronization parameter is greater than or equal to a preset threshold, and send synchronization instruction information to the second node; the synchronization instruction information includes an identifier of the first service and a stop time of the first service, or an identifier of the second service and a stop time of the second service; the synchronization instruction information is used to instruct the second node to stop sending a data packet of the first service according to the stop time of the first service, or to stop sending a data packet of the second service according to the stop time of the second service.
[0081] Optionally, the first node further comprises an obtaining unit 403; the obtaining unit 403 is configured to obtain the data delay requirement index of the first service and the data packet loss rate requirement index of the first service, the data delay requirement index of the second service and the data packet loss rate requirement index of the second service; and the determining unit 401 is further configured to determine the target synchronization parameter between the first service and the second service according to the data delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data delay 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 configured to: the first node obtains the number of data packets of the first service sent by the second node in a time period from a historical time to a current time, and the number of data packets of the second service sent by the second node in the time period from the historical time to the current time; and the first node determines the current synchronization parameter between the first service and the second service according to the obtained number of data packets of the first service and the number of data packets of the second service.
[0083] Optionally, in the case that the priority of the first service is greater than the priority of the second service, the synchronization instruction information comprises the identifier of the first service and the stop time of the first service, and the synchronization instruction information is used to instruct the second node to stop sending the data packets of the first service according to the stop time of the first service; in the case that the priority of the first service is less than the priority of the second service, the synchronization instruction information comprises the identifier of the second service and the stop time of the second service; and the synchronization instruction information is used to instruct the second node to stop sending the data packets of the second service according to the stop time of the second service.
[0084] Figure 7 is a structural schematic diagram of an electronic device provided by the present application. As shown in Figure 7 The electronic device 50 can comprise 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 can further comprise a communication bus 503 and at least one communication interface 504.
[0086] The processor 501 can be a central processing unit (CPU), a micro processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs of the present application.
[0087] The communication bus 503 can comprise a path for transmitting information between the above 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, the electronic device 50 may include multiple processors, such as... Figure 7The processors 501 and 507 can each be a single-CPU processor or a multi-CPU processor. The processor herein can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0094] In a specific implementation, as an example, the electronic device 50 can further include an output device 505 and an input device 506. The output device 505 is in communication with the processor 501 and can display information in various ways. For example, the output device 505 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, a projector, or the like. The input device 506 is in communication with the processor 501 and can accept input from a user in various ways. For example, the input device 506 can be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
[0095] Those skilled in the art can understand that the structure shown in the Figure 7 The structure shown in the above does not constitute a limitation on the electronic device 50, and can include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
[0096] In addition, the present application also provides a computer readable storage medium, when the instructions in the computer readable storage medium are executed by the processor of the electronic device, the electronic device can execute the service synchronization method provided by the above embodiment.
[0097] In addition, the present application also provides a computer program product, including computer instructions, when the computer instructions run on the electronic device, the electronic device executes the service synchronization method provided by the above embodiment.
[0098] Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the present application cover any and all variations of the application that are within its scope as defined by the claims and their equivalents. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application indicated by the following claims.
Claims
1. A service synchronization method, characterized by, The application is applied to a multi-flow service system, the multi-flow service system comprises a first node and a second node, the first node and the second node perform multi-flow service transmission, the multi-flow service comprises at least a first service and a second service, the first service is associated with the second service; the method comprises: The first node determines a current synchronization parameter between the first service and the second service; the current synchronization parameter is used to reflect a current synchronization degree between the first service and the second service; In the case that an absolute value of a 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 the second node; the synchronization instruction information comprises an identifier of the first service and a stop time of the first service, or an identifier of the second service and a stop time of the second service; the synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service, or to stop sending data packets of the second service according to the stop time of the second service; The synchronization instruction information is sent by the first node to the second node in the form of a MAC CE; the MAC CE is composed of a QOS ID and a Time; the QOS ID is an identity certificate identifier corresponding to a QOS service which needs to stop data packet transmission; the Time is a time length of stopping transmission of the QOS service which needs to stop data packet transmission.
2. The service synchronization method of claim 1, wherein, The method further comprises: The first node acquires a data delay requirement index of the first service and a data packet loss rate requirement index of the first service, a data delay requirement index of the second service and a data packet loss rate requirement index of the second service; The first node determines the target synchronization parameter between the first service and the second service according to the data delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data delay requirement index of the second service and the data packet loss rate requirement index of the second service.
3. The service synchronization method of claim 1, wherein, The first node determines the current synchronization parameter between the first service and the second service, comprising: The first node acquires a number of data packets of the first service sent by the second node in a time period from a historical time to a current time, and a number of data packets of the second service sent by the second node in the time period from the historical time to the current time; The first node determines the current synchronization parameter between the first service and the second service according to the acquired number of data packets of the first service and the number of data packets of the second service.
4. The service synchronization method according to any one of claims 1-3, characterized by, In the case that the priority of the first service is greater than the priority of the second service, the synchronization instruction information comprises the identifier of the first service and the stop time of the first service, and the synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service. In a case that the priority of the first service is less than the priority of the second service, the synchronization instruction information comprises an identifier of the second service and a stop time of the second service; and the synchronization instruction information is used to instruct the second node to stop sending data packets of the second service according to the stop time of the second service.
5. A first node, characterized in that, The application is applied to a multi-flow service system, the multi-flow service system comprising the first node and a second node, the first node and the second node performing multi-flow service transmission, the multi-flow service comprising at least a first service and a second service, the first service being associated with the second service; the first node comprising a determination unit and a sending unit; The determination unit is configured to determine a current synchronization parameter between the first service and the second service; the current synchronization parameter being used to reflect a current synchronization degree between the first service and the second service. The sending unit is configured to, in a case that an absolute value of a difference between the current synchronization parameter and a target synchronization parameter is greater than or equal to a preset threshold, determine that the first service and the second service are not synchronized, and send synchronization instruction information to the second node; the synchronization instruction information comprising an identifier of the first service and a stop time of the first service, or an identifier of the second service and a stop time of the second service; the synchronization instruction information being used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service, or to stop sending data packets of the second service according to the stop time of the second service. The synchronization instruction information is sent by the first node to the second node in the form of a MAC CE; the MAC CE is composed of a QOS ID and a Time; the QOS ID is an identity certificate corresponding to a QOS service that needs to stop data packet sending; and the Time is a time length for which the QOS service that needs to stop data packet sending needs to stop sending.
6. The first node of claim 5, wherein, The first node further comprises an acquisition unit. The acquisition unit is configured to acquire a data time delay requirement index of the first service and a data packet loss rate requirement index of the first service, a data time delay requirement index of the second service and a data packet loss rate requirement index of the second service. The determination unit is further configured to determine the target synchronization parameter between the first service and the second service according to the data time delay requirement index of the first service, the data packet loss rate requirement index of the first service, the data time delay requirement index of the second service and the data packet loss rate requirement index of the second service.
7. The first node of claim 5, wherein, The determination unit is specifically configured to: The first node acquires a number of data packets of the first service sent by the second node in a time period from a historical time to a current time, and a number of data packets of the second service sent by the second node in the time period from the historical time to the current time; The first node determines the current synchronization parameter between the first service and the second service according to the acquired number of data packets of the first service and the number of data packets of the second service.
8. The first node of any of claims 5-7, wherein, In a case where the priority of the first service is greater than the priority of the second service, the synchronization instruction information comprises an identifier of the first service and a stop time of the first service, and the synchronization instruction information is used to instruct the second node to stop sending data packets of the first service according to the stop time of the first service. In a case where the priority of the first service is less than the priority of the second service, the synchronization instruction information comprises an identifier of the second service and a stop time of the second service, and the synchronization instruction information is used to instruct the second node to stop sending data packets of the second service according to the stop time of the second service.
9. An electronic device, comprising: Comprise: A processor, a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the service synchronization method of any one of claims 1-4.
10. A computer-readable storage medium having stored thereon instructions, the instructions comprising, When the instructions in the computer readable storage medium are executed by the processor of the electronic device, the electronic device can execute the service synchronization method as claimed in any one of claims 1-4.
Citation Information
Patent Citations
Multi-stream associated transmission method, device and system
CN114205839A