Service scheduling method, device, base station and storage medium

By integrating the TSN converter function in the 5G base station and utilizing the system clock and priority scheduling mechanism, the problem of increased TSN service latency is solved, and low-latency and efficient service scheduling is achieved.

CN114615749BActive Publication Date: 2025-10-03CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011449719.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-09
Publication Date
2025-10-03
Estimated Expiration
2040-12-09

AI Technical Summary

Technical Problem

In 5G networks, the latency of TSN services increases because TSN converters are integrated into UPF network elements, making it difficult to deploy them downward, affecting service assurance capabilities.

Method used

The function of the TSN converter is moved from the UPF network element to the base station, and the system clock and priority scheduling mechanism of the base station are used to achieve efficient scheduling of TSN services and reduce latency.

Benefits of technology

By implementing the TSN converter function in the base station, the latency of TSN services is reduced, and the transmission efficiency and quality assurance of services are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615749B_ABST
    Figure CN114615749B_ABST
Patent Text Reader

Abstract

The present application discloses a service scheduling method, device, base station and storage medium, wherein the method includes: receiving TSN service data corresponding to each first terminal in at least one first terminal sent by an edge computing node; the TSN service data corresponding to each first terminal corresponds to a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol; based on the system clock of the first base station, the TSN service of the at least one first terminal is scheduled according to the corresponding first priority.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless technology, and in particular to a service scheduling method, device, base station, and storage medium. Background Art

[0002] As vertical industries continue to increase their communication demands, fifth-generation mobile communication technology (5G) networks need to improve their service assurance capabilities. Against this backdrop, the Time Sensitive Network (TSN) Ethernet protocol has become a key technology for addressing time-sensitive scenarios through time synchronization, data scheduling, and system configuration. In related technologies, TSN converters are integrated into user plane function (UPF) network elements, increasing the latency of TSN services. Summary of the Invention

[0003] To solve related technical problems, the embodiments of the present application provide a service scheduling method, device, base station and storage medium.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] An embodiment of the present application provides a service scheduling method, which is applied to a first base station. The method includes:

[0006] Receiving TSN service data corresponding to each first terminal of at least one first terminal sent by the edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol;

[0007] Based on the system clock of the first base station and according to the corresponding first priority, TSN service scheduling is performed on the at least one first terminal.

[0008] In the above solution, before receiving TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node, the method further includes:

[0009] receiving a TSN service request sent by each first terminal of the at least one first terminal;

[0010] The received TSN service request is sent to the edge computing node, so that the edge computing node parses the corresponding TSN service data based on the TSN service request.

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

[0012] Determining a first duration based on the system clock; the first duration represents a time interval between data arriving at the first base station and data being sent from the first base station;

[0013] Time synchronization is performed with the first terminal based on the first duration.

[0014] In the above solution, the performing TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority includes:

[0015] Putting the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue; wherein the first base station creates at least two sending queues; each sending queue in the at least two sending queues corresponds to a first priority;

[0016] Based on the system clock of the first base station and the first priority corresponding to each sending queue, each sending queue is controlled to send TSN service data.

[0017] In the above solution, when placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the method further includes:

[0018] Based on the order in which the first base station receives the TSN service data, the TSN service data corresponding to each first terminal in the at least one first terminal is arranged and placed into a corresponding sending queue.

[0019] In the above solution, when the TSN service data corresponding to each first terminal in the at least one first terminal is arranged and placed into the corresponding sending queue based on the order in which the first base station receives the TSN service data, the method further includes:

[0020] The TSN service data with the highest priority is directly placed into the corresponding sending queue.

[0021] In the above solution, the TSN service data sent by the edge computing node carries a first field representing the corresponding first priority;

[0022] Before placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the method further includes:

[0023] The first field in the TSN service data is removed.

[0024] The embodiment of the present application further provides a service scheduling device, including:

[0025] A receiving unit, configured to receive TSN service data corresponding to each first terminal of at least one first terminal sent by an edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol;

[0026] A scheduling unit is configured to perform TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority.

[0027] The embodiment of the present application further provides a first base station, comprising: a first processor and a first communication interface; wherein,

[0028] The first communication interface is used to receive TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol;

[0029] The first processor is configured to perform TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority.

[0030] The embodiment of the present application further provides a first base station, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,

[0031] The first processor is configured to execute the steps of any of the above methods when running the computer program.

[0032] An embodiment of the present application further provides a storage medium on which a computer program is stored, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0033] The service scheduling method, device, base station, and storage medium provided in the embodiments of the present application are configured such that the base station receives TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node, wherein the TSN service data corresponding to each first terminal has a first priority, and the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol. The first base station performs TSN service scheduling for the at least one first terminal based on the system clock and the first priority corresponding to the TSN service. That is, in the embodiments of the present application, the first base station implements the function of the TSN converter, thereby sinking the deployment of the TSN converter from the UPF network element to the base station, reducing the latency of the TSN service. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1A schematic diagram of the system architecture combining TSN and 5G is provided for related technologies.

[0035] Figure 2 This is a schematic diagram of a system architecture combining TSN and 5G according to an embodiment of the present application;

[0036] Figure 3 This is a flowchart of a service scheduling method according to an embodiment of the present application;

[0037] Figure 4 This is a schematic diagram of some Ethernet protocol fields in the related art;

[0038] Figure 5 Schematic diagram of the transmission queue opening and closing gate mechanism of the first base station in an embodiment of the present application;

[0039] Figure 6 This is a flowchart of a service scheduling method according to an embodiment of the present application;

[0040] Figure 7 This is a schematic diagram of the structure of a business scheduling device for this application;

[0041] Figure 8 This is a structural diagram of the first base station in an embodiment of the present application. DETAILED DESCRIPTION

[0042] As vertical industries' demand for communications continues to increase, 5G networks need to improve their service assurance capabilities. Against this backdrop, the TSN Ethernet protocol has become an important technology for solving time-sensitive scenarios through time synchronization, data scheduling, and system configuration. Figure 1 The system architecture of TSN combined with 5G in the related technology is shown, in which time synchronization and Ethernet protocol functions are achieved by adding a TSN converter, namely the network side TSN converter (NW-TT, Network TSN Translator) in the UPF network element. Figure 1 Under the system architecture, the UPF network element schedules TSN services based on different priorities, providing transmission-level guarantees for TSN services. Due to the high cost and complex operation and maintenance of UPF network elements, they are difficult to deploy in 5G networks. Therefore, when scheduling TSN services, base stations need to connect to the UPF network element located in the core network. In addition, in time-sensitive environments, the transmission delay of data packets passing through the UPF network element will increase, resulting in increased latency for TSN services.

[0043] Based on this, the service scheduling method, device, base station and storage medium provided in the embodiments of the present application are configured such that the base station receives TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node, wherein the TSN service data corresponding to each first terminal has a first priority, and the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol. The first base station performs TSN service scheduling for the at least one first terminal based on the system clock and the first priority corresponding to the TSN service. That is to say, in the embodiments of the present application, the first base station implements the function of the TSN converter, thereby sinking the deployment of the TSN converter from the UPF network element to the base station, reducing the latency of the TSN service.

[0044] The present application is described in further detail below with reference to the accompanying drawings and embodiments.

[0045] Figure 2 The system architecture of TSN combined with 5G provided by the embodiment of the present application is shown. Figure 1 The NW-TT function has been integrated into the 5G base station (gNB) instead of the UPF network element, performing Ethernet-IP protocol conversion. This allows TSN services flowing through the 5G system to be synchronized with the TSN system clock, leveraging the 5G system's precise timing. Furthermore, a local scheduling module has been added to the gNB to collect TSN service priorities and implement unified queue management for packets requiring transmission, enabling early transmission of high-priority packets.

[0046] based on Figure 2 The system architecture shown in FIG. 1 is a diagram illustrating a service scheduling method applied to a first base station. Figure 3 As shown, the method includes:

[0047] Step 301: Receive TSN service data corresponding to each first terminal in at least one first terminal sent by an edge computing node.

[0048] The TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol.

[0049] Here, the edge computing node is a business platform built on the edge of the network close to the terminal side, which can provide storage, computing, network and other resources to reduce the bandwidth and delay loss caused by network transmission and multi-level forwarding. In an embodiment of the present application, the edge computing node receives a TSN service request from the terminal, uses a deep parsing method to perform TSN service identification on the TSN service request, obtains TSN service data related to the TSN service request, and parses the first priority of the corresponding TSN service based on the Ethernet protocol. Afterwards, the edge computing node encapsulates the TSN service data and sends the encapsulated data packet to the first base station, wherein the encapsulated data packet carries the first priority of the corresponding TSN service.

[0050] In actual application, such as Figure 4 As shown in the figure, the Ethernet protocol defines a 3-bit priority code point (PCP), which can represent 8 different priorities. The edge computing node can determine the first priority corresponding to the TSN service by parsing the PCP code.

[0051] In actual application, the terminal accesses the first base station, and the first base station forwards the terminal's TSN service request to the edge computing node. Based on this, in one embodiment, before receiving the TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node, the method further includes:

[0052] receiving a TSN service request sent by each first terminal of the at least one first terminal;

[0053] The received TSN service request is sent to the edge computing node, so that the edge computing node parses the corresponding TSN service data based on the TSN service request.

[0054] Here, a first terminal connected to a first base station sends a TSN service request to the first base station. The first base station sends the received TSN service request to the edge computing node. In this way, after receiving the TSN service request, the edge computing node obtains the corresponding TSN service data and the corresponding first priority based on deep analysis. In actual application, the first base station can forward TSN service requests sent by multiple first terminals separately, and the edge computing node performs deep analysis on each received TSN service request.

[0055] Step 302: Based on the system clock of the first base station and according to the corresponding first priority, perform TSN service scheduling for the at least one first terminal.

[0056] Based on the analysis result of the edge computing node, the first base station combines its own system clock to uniformly schedule the TSN services requested by each first terminal based on the corresponding first priority.

[0057] In one embodiment, the performing TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority includes:

[0058] Putting the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue; wherein the first base station creates at least two sending queues; each sending queue in the at least two sending queues corresponds to a first priority;

[0059] Based on the system clock of the first base station and the first priority corresponding to each sending queue, each sending queue is controlled to send TSN service data.

[0060] Here, when scheduling TSN services, the first base station sets up multiple sending queues, that is, data transmission channels, and each sending queue corresponds to a first priority. Based on the first priority, the first base station sends the TSN service data to the corresponding sending queue and controls the data output of each sending queue through the switch gate mechanism, thereby realizing TSN service scheduling. Figure 5 The on / off gate mechanism controls the on / off state of each transmit queue at each moment. TSN service data in a transmit queue can only be sent when the corresponding transmit queue opens its gate. Therefore, based on the first base station's system clock, the first base station controls the corresponding transmit queue with the highest priority to open its gate first, and the corresponding transmit queue with the lowest priority to open its gate later, thus prioritizing the transmission of high-priority TSN service data and implementing TSN service scheduling based on the highest priority.

[0061] In one embodiment, when placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the method further includes:

[0062] Based on the order in which the first base station receives the TSN service data, the TSN service data corresponding to each first terminal in the at least one first terminal is arranged and placed into a corresponding sending queue.

[0063] Here, the first base station puts the first received TSN service data into the corresponding sending queue first and the later received TSN service data into the corresponding sending queue later based on the first-come-first-served order, so as to ensure the orderly processing of TSN service data.

[0064] In addition, to ensure that high-priority TSN services are scheduled first, in one embodiment, when arranging the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue based on the order in which the first base station receives the TSN service data, the method further includes:

[0065] The TSN service data with the highest priority is directly placed into the corresponding sending queue.

[0066] That is to say, in actual application, a threshold is reserved for the TSN service data with the highest first priority. The TSN service data does not need to queue in a first-come-first-served order to enter the corresponding sending queue. When the first base station receives the corresponding TSN service data with the highest first priority, the TSN service data is directly sent to the corresponding sending queue to ensure that the corresponding TSN service can be scheduled first with the minimum delay.

[0067] In actual application, in order to ensure that high-priority TSN services can have higher data carrying capacity, the first base station will uniformly schedule TSN services and wireless side services, that is, unify the TSN service priority and the wireless side service priority. Based on this, in one embodiment, before placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the method further includes:

[0068] The first field in the TSN service data is removed.

[0069] The first field is the first field representing the corresponding first priority carried in the TSN service data sent by the edge computing node to the first base station. Here, the first base station removes the first field carried in the TSN service data before sending the TSN service data to the corresponding sending queue. In this way, in actual application, TSN services and wireless side services can be scheduled through a unified sending queue setting, realizing unified scheduling of TSN services and wireless side services.

[0070] During the entire process of TSN service scheduling by the first base station, the system clock of the first base station is used as the time reference. In order to ensure clock synchronization between the first base station and the terminal, in one embodiment, the method further includes:

[0071] Determining a first duration based on the system clock; the first duration represents a time interval between data arriving at the first base station and data being sent from the first base station;

[0072] Time synchronization is performed with the first terminal based on the first duration.

[0073] For example, the clock of a 5G base station is precisely timed by the 5G core network. By calculating the required residence time of data at the gNB from the time it arrives at the gNB to the time it is sent from the gNB, the gNB can achieve precise time synchronization with the terminal.

[0074] Figure 6 The schematic diagram of the service scheduling process provided by the application embodiment of the present application is shown. Figure 6 :

[0075] Step 1: The UE initiates a service request to the edge computing node via the eNB, and carries the TSN Ethernet protocol in the service request.

[0076] Step 2: Based on the service request, the edge computing node identifies that the UE requests a local TSN service.

[0077] Step 3: The edge computing node performs in-depth analysis based on the service request to obtain the corresponding TSN service data and the corresponding first priority.

[0078] Step 4: The edge computing node encapsulates the deep analysis results to obtain a TSN service data packet and sends it to the eNB. The TSN service data packet carries a corresponding field representing the TSN service priority that can be identified by the eNB.

[0079] Step 5: The eNB sorts the received TSN service data packets based on the field representing the TSN service priority and sends them to the corresponding sending queue.

[0080] Step 6: The eNB controls each sending queue through the switch gate mechanism to schedule TSN services.

[0081] In actual application, for example, based on the TSN service scheduling of the first base station, the 5G terminal can be connected to one or more devices outside the 5G system, such as a robotic arm, a programmable logic controller (PLC), and other devices through a terminal-side TSN converter (DS-TT) to achieve further TSN scenario applications.

[0082] The service scheduling method provided in the embodiment of the present application uses the first base station to implement the TSN converter function, thereby sinking the deployment of the TSN converter from the UPF network element to the base station, reducing the latency of TSN services. In addition, through in-depth analysis of the edge computing node, the first base station can achieve autonomous base station-side bearer triggered by TSN priority, and can provide different levels of service quality assurance for the transmission of TSN services without going through the core network.

[0083] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a service scheduling device, which is set on the first base station, such as Figure 7 As shown, the device includes:

[0084] The first receiving unit 701 is configured to receive TSN service data corresponding to each first terminal of at least one first terminal sent by the edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol;

[0085] The scheduling unit 702 is configured to perform TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority.

[0086] In one embodiment, the device further comprises:

[0087] A second receiving unit, configured to receive a TSN service request sent by each first terminal of the at least one first terminal;

[0088] The sending unit is used to send the received TSN service request to the edge computing node, so that the edge computing node parses the corresponding TSN service data based on the TSN service request.

[0089] In one embodiment, the apparatus further comprises:

[0090] a determining unit, configured to determine a first duration based on the system clock; the first duration representing a time duration between data arriving at the first base station and data being sent from the first base station;

[0091] A synchronization unit is configured to perform time synchronization with the first terminal based on the first duration.

[0092] In one embodiment, the scheduling unit is configured to:

[0093] Putting the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue; wherein the first base station creates at least two sending queues; each sending queue in the at least two sending queues corresponds to a first priority;

[0094] Based on the system clock of the first base station and the first priority corresponding to each sending queue, each sending queue is controlled to send TSN service data.

[0095] In one embodiment, when the scheduling unit places the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, it is further configured to:

[0096] Based on the order in which the first base station receives the TSN service data, the TSN service data corresponding to each first terminal in the at least one first terminal is arranged and placed into a corresponding sending queue.

[0097] In one embodiment, when the scheduling unit arranges the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue based on the order in which the first base station receives the TSN service data, the scheduling unit is further configured to:

[0098] The TSN service data with the highest priority is directly placed into the corresponding sending queue.

[0099] In one embodiment, the TSN service data sent by the edge computing node carries a first field representing the corresponding first priority;

[0100] The device further comprises:

[0101] A removing unit is used to remove the first field in the TSN service data.

[0102] In actual application, the first receiving unit 701, the second receiving unit, the sending unit, can be implemented by the communication interface in the service scheduling device, the determination unit and the removal unit can be implemented by the processor in the service scheduling device, and the scheduling unit 702 and the synchronization unit can be implemented by the processor in the service scheduling device in combination with the communication interface.

[0103] It should be noted that the service scheduling device provided in the above embodiment only uses the division of the above-mentioned program modules as an example to illustrate service scheduling. In actual applications, the above-mentioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the above-mentioned processing. In addition, the service scheduling device provided in the above embodiment and the service scheduling method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0104] Based on the hardware implementation of the above program modules, and in order to implement the service scheduling method of the embodiment of the present application, the embodiment of the present application also provides a first base station, such as Figure 8 As shown, the first base station 800 includes:

[0105] The first communication interface 801 is capable of exchanging information with other network nodes;

[0106] The first processor 802 is connected to the first communication interface 801 to implement information exchange with other network nodes and is used to execute the method provided by one or more of the above technical solutions when running a computer program. The computer program is stored in the first memory 803.

[0107] Specifically, the first communication interface 801 is used to receive TSN service data corresponding to each first terminal of at least one first terminal sent by the edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol;

[0108] The first processor 802 is configured to perform TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority.

[0109] In one embodiment, the first communication interface 801 is further configured to:

[0110] Before receiving the TSN service data corresponding to each first terminal in the at least one first terminal sent by the edge computing node, receiving a TSN service request sent by each first terminal in the at least one first terminal;

[0111] The received TSN service request is sent to the edge computing node, so that the edge computing node parses the corresponding TSN service data based on the TSN service request.

[0112] In one embodiment, the first processor 802 is further configured to:

[0113] Determining a first duration based on the system clock; the first duration represents a time interval between data arriving at the first base station and data being sent from the first base station;

[0114] The first communication interface 801 is further configured to perform time synchronization with the first terminal based on the first duration.

[0115] In one embodiment, the first processor 802 performs TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority, including:

[0116] Putting the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue; wherein the first base station creates at least two sending queues; each sending queue in the at least two sending queues corresponds to a first priority;

[0117] Based on the system clock of the first base station and the first priority corresponding to each sending queue, each sending queue is controlled to send TSN service data.

[0118] In one embodiment, when placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the first processor 802 is further configured to:

[0119] Based on the order in which the first base station receives the TSN service data, the TSN service data corresponding to each first terminal in the at least one first terminal is arranged and placed into a corresponding sending queue.

[0120] In one embodiment, when the first processor 802 arranges the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue based on the order in which the first base station receives the TSN service data, it is further configured to:

[0121] The TSN service data with the highest priority is directly placed into the corresponding sending queue.

[0122] In one embodiment, the TSN service data sent by the edge computing node carries a first field representing the corresponding first priority;

[0123] Before placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the first processor 802 is further configured to:

[0124] The first field in the TSN service data is removed.

[0125] It should be noted that the specific processing process of the first processor 802 and the first communication interface 801 can be understood by referring to the above method.

[0126] Of course, in actual application, the various components in the first base station 800 are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .

[0127] The first memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the first base station 800. Examples of such data include: any computer program used to operate on the first base station 800.

[0128] The methods disclosed in the above embodiments of the present application can be applied to the first processor 802 or implemented by the first processor 802. The first processor 802 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the first processor 802. The above first processor 802 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 802 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium located in the first memory 803. The first processor 802 reads the information in the first memory 1203 and completes the steps of the above method in combination with its hardware.

[0129] In an exemplary embodiment, the first base station 800 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0130] It can be understood that the first memory 803 of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0131] In an exemplary embodiment, the present application also provides a storage medium, namely, a computer storage medium, specifically, a computer-readable storage medium, including, for example, a first memory 803 storing a computer program. The computer program can be executed by the first processor 802 of the first base station 800 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

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

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

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

Claims

1. A service scheduling method, characterized in that: Applied to a first base station, the method includes: Receiving time-sensitive network TSN service data corresponding to each first terminal of at least one first terminal sent by the edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol; Based on the system clock of the first base station and according to the corresponding first priority, TSN service scheduling is performed on the at least one first terminal to implement a TSN converter function.

2. The method according to claim 1, characterized in that Before receiving TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node, the method further includes: receiving a TSN service request sent by each first terminal of the at least one first terminal; The received TSN service request is sent to the edge computing node, so that the edge computing node parses the corresponding TSN service data based on the TSN service request.

3. The method according to claim 1, characterized in that The method further comprises: Determining a first duration based on the system clock; the first duration represents a time interval between data arriving at the first base station and data being sent from the first base station; Time synchronization is performed with the first terminal based on the first duration.

4. The method according to claim 1, wherein The performing TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority includes: Putting the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue; The first base station creates at least two sending queues; each of the at least two sending queues corresponds to a first priority; Based on the system clock of the first base station and the first priority corresponding to each sending queue, each sending queue is controlled to send TSN service data.

5. The method according to claim 4, characterized in that When placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the method further includes: Based on the order in which the first base station receives the TSN service data, the TSN service data corresponding to each first terminal in the at least one first terminal is arranged and placed into a corresponding sending queue.

6. The method according to claim 5, characterized in that When arranging the TSN service data corresponding to each first terminal in the at least one first terminal into a corresponding sending queue based on the order in which the first base station receives the TSN service data, the method further includes: The TSN service data with the highest priority is directly placed into the corresponding sending queue.

7. The method according to claim 4, characterized in that The TSN service data sent by the edge computing node carries a first field representing the corresponding first priority; Before placing the TSN service data corresponding to each first terminal in the at least one first terminal into the corresponding sending queue, the method further includes: The first field in the TSN service data is removed.

8. A service scheduling device, characterized in that: Applied to a first base station, comprising: A receiving unit, configured to receive TSN service data corresponding to each first terminal of at least one first terminal sent by an edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol; A scheduling unit is configured to perform TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority, so as to implement a TSN converter function.

9. A first base station, characterized in that: include: A first processor and a first communication interface; wherein, The first communication interface is used to receive TSN service data corresponding to each first terminal in at least one first terminal sent by the edge computing node; the TSN service data corresponding to each first terminal has a first priority; the first priority represents the priority of the corresponding TSN service parsed based on the Ethernet protocol; The first processor is configured to perform TSN service scheduling for the at least one first terminal based on the system clock of the first base station and according to the corresponding first priority, so as to implement a TSN converter function.

10. A first base station, characterized in that: include: a first processor and a first memory for storing a computer program capable of being executed on the processor, Wherein, when the first processor is used to run the computer program, it executes the steps of the method according to any one of claims 1 to 7.

11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Data processing method and device based on service quality and computer storage medium

    CN110740481A

  • Time-triggered data transmission method without time synchronization

    CN111585895A