Scheduling method and device for TSN (Time Sensitive Network) service and storage medium

By obtaining the offset parameters measured by the base station, the initial TSCAI is corrected, which solves the problem of inaccurate parameters when SMF adjusts TSCAI, and realizes the accurate periodic scheduling of TSN services by the base station.

CN119893572APending Publication Date: 2025-04-25ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311396045.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the session management function SMF adjusts the time-sensitive communication auxiliary information TSCAI and requires reference to multiple factors, resulting in inaccurate parameters, which makes the base station unable to effectively perform periodic scheduling of TSN services.

Method used

By obtaining the offset parameters between the actual TSN service flow measured by the base station and the theoretical TSN service flow, the SMF entity corrects the initial TSCAI to obtain a target TSCAI that is more consistent with the characteristics of the actual TSN service traffic, and sends it to the base station.

Benefits of technology

The TSCAI obtained by SMF adjustment is more consistent with the actual TSN service traffic characteristics, so that the base station can perform periodic scheduling of TSN service more accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893572A_ABST
    Figure CN119893572A_ABST
Patent Text Reader

Abstract

The invention provides a scheduling method and device for a TSN (Time Sensitive Network) service and a storage medium, which are applied to a session management function (SMF) entity in a 5G communication system. The method comprises the following steps: acquiring an offset parameter between a TSN actual service flow and a TSN theoretical service flow measured by a base station; and based on the offset parameter, correcting the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI to obtain a corrected target TSCAI. And issuing the target TSCAI to the base station, so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI. According to the method and the device, the SMF can be corrected to obtain the TSCAI which is more consistent with the traffic characteristic of the actual TSN service, so that after the TSCAI is issued to the base station, the base station is assisted to more accurately schedule the TSN service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a scheduling method, device and storage medium for a time-sensitive network (TSN) service. Background Art

[0002] In the field of communications, the 3rd Generation Partnership Project (3GPP) protocol supports the integration of Time Sensitive Network (TSN) and 5G to achieve Time Sensitive Communication (TSC) in 5G. According to the 3GPP protocol, the 5G System (5GS) bridge acts as one or more TSN bridges in the TSN network. For each 5GS bridge in the TSN network, the ports on the Network Side TSN Translator (NW-TT) and the Device Side TSN Translator (DS-TT) support connection to the TSN network, thereby achieving the connection of the entire 5GS bridge to the TSN network.

[0003] Inside the 5GS bridge, the Session Management Function (SMF) sends time-sensitive communication assistance information (TSCAI) to enable the base station to periodically schedule TSN service flows.

[0004] TSCAI describes the traffic characteristics of TSN services. The TSCAI issued by SMF is adjusted based on the TSCAI basic parameters provided by the TSN application function (AF).

[0005] In the prior art, the SMF's adjustment calculation of TSCAI needs to refer to many factors. As long as any of the parameters is inaccurate, the traffic characteristics described by the TSCAI adjusted by the SMF will be inconsistent with the actual situation, and then after being sent to the base station, the base station will be unable to perform effective periodic scheduling for TSN services.

[0006] Therefore, how to enable SMF to adjust TSCAI to be more consistent with the traffic characteristics of actual TSN services is a technical problem that urgently needs to be solved. Summary of the invention

[0007] The purpose of this application is to provide a scheduling method, device and storage medium for a time-sensitive network TSN service, which can enable the SMF to adjust the TSCAI to be more consistent with the traffic characteristics of the actual TSN service.

[0008] In order to achieve the above purpose, the embodiment of the present application is implemented as follows:

[0009] In a first aspect, a scheduling method for a time-sensitive network TSN service is provided, which is applied to a session management function SMF entity in a 5G communication system, including:

[0010] Obtain the offset parameter between the actual TSN service flow measured by the base station and the TSN theoretical service flow;

[0011] Based on the offset parameter, the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI are corrected to obtain a corrected target TSCAI;

[0012] The target TSCAI is sent to the base station so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0013] In a second aspect, an embodiment of the present application provides a scheduling method for a time-sensitive network TSN service, which is applied to a base station in a 5G communication system, including:

[0014] Measure the offset parameters between the actual TSN service flow and the theoretical TSN service flow;

[0015] Sending the offset parameter to the SMF entity, so that the SMF entity corrects the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter to obtain a corrected target TSCAI;

[0016] Obtain the target TSCAI corrected by the SMF entity, and complete the scheduling of TSN services according to the traffic characteristics described by the target TSCAI.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to execute the method described in the first aspect or the second aspect.

[0018] According to a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions implement the method described in the first aspect or the second aspect when executed by a processor.

[0019] Based on the solution of this application, the SMF entity can control the offset parameter between the actual TSN service flow measured by the base station and the TSN theoretical service flow; then, the SMF entity corrects the traffic characteristics of the TSN service described by the initial time-sensitive auxiliary information TSCAI according to the offset parameter, so that the traffic characteristics described by the corrected target TSCAI are more consistent with the actual TSN service flow. Finally, the SMF entity sends the corrected target TSCAI to the base station, so that the base station can more accurately perform periodic scheduling of TSN services. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 This is a flow chart of the TSN service scheduling method in 5GS according to an embodiment of the present application.

[0022] Figure 2 A flowchart of the scheduling method of an embodiment of the present application on the SMF entity side.

[0023] Figure 3 This is a schematic diagram of the scheduling method according to an embodiment of the present application for correcting the burst arrival time of the TSN service.

[0024] Figure 4 A flowchart of the scheduling method of an embodiment of the present application on the base station side.

[0025] Figure 5 This is a first flow chart of the scheduling method of an embodiment of the present application in an application scenario.

[0026] Figure 6 This is a second flow chart of the scheduling method of an embodiment of the present application in an application scenario.

[0027] Figure 7 This is a schematic diagram of the structure of the SMF entity of an embodiment of the present application.

[0028] Figure 8 A schematic diagram of the structure of a base station according to an embodiment of the present application.

[0029] Fig. 9 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0030] As mentioned above, the current SMF adjustment calculation of TSCAI needs to refer to many factors, such as the original burst arrival time (Burst Arrival Time) and period (Periodicity), the residence time between UE and DS-TT (UE-DS-TT residence time) reported by UE, and the time offset measurement (Time Offset Measurement) and cumulative rate Ratio detected by NW-TT. As long as any of these parameters is inaccurate, the traffic characteristics described by the TSCAI adjusted by SMF will not match the actual situation, and then after being sent to the base station, the base station will not be able to perform effective periodic scheduling for TSN services.

[0031] To this end, the present application aims to provide a technical solution that enables SMF to adjust TSCAI to be more consistent with the traffic characteristics of international TSN services.

[0032] Figure 1 It is a flow chart of the entities involved in this application in 5GS. The entities mainly include: Policy Control Function (PCF), base station of Radio Access Network (RAN), and TSN AF and SMF mentioned above. In the scheme of this application, TSN AF will provide the basic parameters of TSCAI to SMF through PCF, and SMF will adjust to obtain an initial TSCAI. Afterwards, SMF will control the base station to measure the local TSN actual service flow, so as to correct the initial TSCAI according to the offset parameters between the TSN actual service flow and the TSN theoretical service flow (ie, secondary adjustment), so that the traffic characteristics described by the corrected target TSCAI are more consistent with the traffic characteristics of the TSN actual service flow. Finally, SMF sends the target TSCAI to the base station so that the base station can schedule TSN services based on the target TSCAI.

[0033] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0034] On the one hand, an embodiment of the present application provides a TSN service scheduling method. Figure 2 The following is a flow chart of the scheduling method on the SMF entity side, including:

[0035] S202, obtaining an offset parameter between the TSN actual service flow and the TSN theoretical service flow measured by the base station.

[0036] refer to Figure 1 The SMF entity of this embodiment can control the base station to measure the actual TSN service flow periodically or according to the scheduling requirements, and calculate the offset parameter between the actual TSN service flow and the theoretical TSN service flow. After that, the base station feeds back the calculated offset parameter to the SMF entity.

[0037] As one of the feasible implementation methods, after the SMF entity obtains the initial TSCAI according to the basic parameter adjustment of TSCAI provided by TSN AF, it can add a measurement instruction for measuring the offset parameter to the initial TSCAI and send it to the base station.

[0038] For the base station, the TSCAI carrying the measurement instruction is only used to measure the offset parameter, not for the periodic scheduling of TSN services. That is, after receiving the initial TSCAI sent by the SMF entity, the base station only measures the offset parameter between the actual TSN service flow and the theoretical TSN service flow according to the measurement instruction therein.

[0039] The TSN theoretical service flow can be determined based on the traffic characteristics described by the initial TSCAI. In this way, the offset parameter measured by the base station is the correction amount of the initial TSCAI.

[0040] S204: Based on the offset parameter, the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI are corrected to obtain a corrected target TSCAI.

[0041] As an example, the offset parameters of this embodiment include: the time offset between the actual TSN service flow and the theoretical TSN service flow; the traffic characteristics described by TSCAI include the burst arrival time of the TSN service. Correspondingly, this step can correct the burst arrival time described by TSCAI based on the time offset. Figure 3 As shown in the figure, the white squares represent the data packets of the TSN service actually received by the base station, and the arrow indicates the position of the burst arrival time described by TSCAI. Before the correction, if there is a time offset Δt between the burst arrival time described by the initial TSCAI and the actual time of the data packet, the base station will not be able to receive the data packet normally when performing periodic scheduling of the TSN service based on the initial TSCAI. The periodic scheduling performed by the base station based on the target TSCAI after the burst arrival time is corrected greatly improves the problem of data packets not being able to be received normally.

[0042] In addition, the offset parameters of this embodiment may also include: the cumulative frequency ratio between the actual TSN service flow and the theoretical TSN service flow; the traffic characteristics described by TSCAI may include: the period of the TSN service (the time interval between two bursts of traffic). Correspondingly, this step may correct the period described by TSCAI based on the cumulative frequency ratio. Among them, the cumulative frequency ratio is used to indicate the number of times / total number of times a certain value appears in the data, and the cumulative frequency ratio indicates the number of synchronized data packets between the actual TSN service flow and the theoretical TSN service flow / total number of data packets. Since the base station is periodically scheduled for TSN services, if there is a deviation in the period, it will also cause the base station to fail to receive data packets normally. Therefore, it is also particularly important to correct the period described by TSCAI.

[0043] S206, sending the target TSCAI to the base station so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0044] refer to Figure 4 As shown, the periodic scheduling of TSN services is completed based on the traffic characteristics described by the target TSCAI, and the data packets of TSN services can be received more accurately. It should be noted that the periodic scheduling of TSN services by the base station according to TSCAI belongs to the prior art and will not be repeated in this article.

[0045] and Figure 1 Correspondingly, Figure 2 This is a schematic diagram of the flow chart corresponding to the scheduling method of this embodiment on the base station side, including:

[0046] S402, measuring the offset parameter between the TSN actual service flow and the TSN theoretical service flow.

[0047] Based on the foregoing, after receiving the initial TSCAI carrying the measurement instruction sent by the SMF entity, the base station of this embodiment measures the offset parameter between the TSN actual service flow and the TSN theoretical service flow according to the measurement instruction.

[0048] Specifically, the base station uses the traffic characteristics described by the initial TSCAI as the traffic characteristics of the TSN theoretical service flow to determine the offset parameters based on the measured traffic characteristics of the TSN actual service flow and the traffic characteristics of the TSN theoretical service flow.

[0049] S404, sending the offset parameter to the SMF entity, so that the SMF entity corrects the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter to obtain the corrected target TSCAI.

[0050] S406, obtain the target TSCAI corrected by the SMF entity, and complete the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0051] The scheduling method of this embodiment is described in detail below in conjunction with specific application scenarios.

[0052] In this application scenario, under the 3GPP protocol, the parameters that need to be corrected for TSCAI are: Burst Arrival time and Periodicity. Among them, the Burst Arrival time needs to be corrected using the Time Offset Measurement. The Periodicity needs to be corrected using the Cumulative rate Ratio Measurement.

[0053] Figure 5 It is a flow chart of the SMF entity controlling the base station to measure Time Offset Measurement and Cumulative rateRatioMeasurement, including:

[0054] S501, the TSN AF entity sends the basic parameters of TSCAI to the PCF entity.

[0055] S502: After receiving the basic parameters of TSCAI sent by the TSN AF entity, the PCF entity directly sends them to the SMF entity without making any adjustments.

[0056] S503, after the SMF entity receives the basic parameters of TSCAI sent by the PCF entity, it calculates the initial TSCAI according to the 3GPP protocol requirements.

[0057] S504: The SMF entity adds a measurement command for Time Offset Measurement and CumulativerateRatio Measurement in the initial TSCAI.

[0058] S505, the SMF entity sends the initial TSCAI with the measurement command added to the base station.

[0059] Figure 6 It is a flow chart of the base station assisting the SMF entity to correct the initial TSCAI, including:

[0060] S601: After receiving the initial TSCAI, the base station responds to the measurement command therein and measures Time Offset Measurement and Cumulative rate Ratio Measurement.

[0061] The formulas involved in the measurement include:

[0062] 1) Time Offset Measurement=Actual Burst Arrival time–Burst Arrival time From TSCAI.

[0063] 2)Cumulative rateRatio Measurement=(rateRatio-1.0)(2^41).

[0064] In the above formula, Actual Burst Arrival time represents the arrival time of the actual TSN service flow; Burst Arrival time From TSCAI represents the arrival time of the service flow obtained from the initial TSCAI; rateRatio = TSCAIPeriodicity / Actual Periodicity; TSCAIPeriodicity represents the period of the TSN service flow obtained from the initial TSCAI; Actual Periodicity represents the period of the actual TSN service flow.

[0065] S602: The base station reports Time Offset Measurement and Cumulative rate Ratio Measurement to the SMF entity periodically or according to a certain strategy.

[0066] S603, the SMF entity corrects the initial TSCAI according to the Time Offset Measurement and CumulativerateRatio Measurement reported by the base station to obtain the target TSCAI.

[0067] The formulas involved in the correction include:

[0068] 1) Corrected Burst Arrival time = original Burst Arrival time + Time Offset Measurement;

[0069] 2) Corrected Periodicity = original Periodicity / rateRatio.

[0070] S604, the SMF entity sends the corrected target TSCAI to the base station.

[0071] In addition, another embodiment of the present application also adopts an SMF entity. Figure 7 It is a schematic diagram of the structure of the SMF entity, including

[0072] An acquisition module 710 is used to acquire an offset parameter between a TSN actual service flow and a TSN theoretical service flow measured by a base station;

[0073] A correction module 720, configured to correct the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter to obtain a corrected target TSCAI;

[0074] The sending module 730 is used to send the target TSCAI to the base station so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0075] Optionally, the offset parameter includes: the time offset between the TSN actual service flow and the TSN theoretical service flow; the traffic characteristics include: the burst arrival time of the TSN service; the correction module 720 corrects the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter, including: correcting the burst arrival time described by the TSCAI based on the time offset.

[0076] Optionally, the offset parameter includes: the cumulative frequency ratio between the TSN actual service flow and the TSN theoretical service flow; the traffic characteristics include: the period of the TSN service; the correction module 720 corrects the traffic characteristics of the TSN service described by the initial time-sensitive auxiliary information TSCAI based on the offset parameter, including: correcting the period described by the TSCAI based on the cumulative frequency ratio.

[0077] Optionally, the acquisition module 710 acquires the offset parameter between the TSN actual service flow and the TSN theoretical service flow measured by the base station, including: adding a measurement instruction for measuring the offset parameter to the initial TSCAI to send it to the base station, so that the base station responds to the measurement instruction in the initial TSCAI, measures and feeds back the offset parameter.

[0078] Optionally, the initial TSCAI is calculated by the SMF entity based on the 3rd Generation Partnership Project 3GGP protocol.

[0079] It should be noted that the SMF entity of this embodiment can be used as Figure 2 The execution subject of the method shown can thus realize Figure 2 The steps shown are not repeated here.

[0080] In addition, another embodiment of the present application also provides a 5GS base station. Figure 8 It is a schematic diagram of the structure of the base station, including:

[0081] The measurement module 810 is used to measure the offset parameter between the TSN actual service flow and the TSN theoretical service flow.

[0082] The reporting module 820 is used to send the offset parameter to the SMF entity, so that the SMF entity corrects the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter to obtain the corrected target TSCAI.

[0083] The scheduling module 830 is used to obtain the target TSCAI corrected by the SMF entity, and complete the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0084] Optionally, the measurement module 810 measures the offset parameter between the local TSN actual service flow and the TSN theoretical service flow, including: receiving the initial TSCAI carrying the measurement instruction sent by the SMF entity; based on the measurement instruction, measuring the offset parameter between the TSN actual service flow and the TSN theoretical service flow.

[0085] Optionally, the measurement module 810 measures the offset parameters between the local TSN actual business flow and the TSN theoretical business flow, including: measuring the TSN actual business flow to obtain the traffic characteristics of the TSN actual business flow; using the traffic characteristics described by the initial TSCAI as the traffic characteristics of the TSN theoretical business flow, so as to determine the offset parameters based on the measured traffic characteristics of the TSN actual business flow and the traffic characteristics of the TSN theoretical business flow.

[0086] It should be noted that the base station in this embodiment can be used as Figure 4 The execution subject of the method shown can thus be implemented as follows Figure 4 The steps shown are not repeated here.

[0087] Fig. 9 This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Fig. 9At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0088] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0089] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it.

[0090] Optionally, the processor executes a program stored in the memory and is specifically configured to perform the following operations:

[0091] Obtain the offset parameter between the TSN actual service flow measured by the base station and the TSN theoretical service flow.

[0092] Based on the offset parameter, the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI are corrected to obtain a corrected target TSCAI.

[0093] The target TSCAI is sent to the base station so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0094] Optionally, the processor executes a program stored in the memory and is specifically configured to perform the following operations:

[0095] Measures the offset parameters between the actual TSN service flow and the theoretical TSN service flow.

[0096] The offset parameter is sent to the SMF entity, so that the SMF entity corrects the traffic characteristics of the TSN service described by the initial time-sensitive auxiliary information TSCAI based on the offset parameter to obtain the corrected target TSCAI.

[0097] Obtain the target TSCAI corrected by the SMF entity, and complete the scheduling of TSN services according to the traffic characteristics described by the target TSCAI.

[0098] Based on the electronic device of this embodiment, the SMF entity can control the offset parameter between the actual TSN service flow measured by the base station and the TSN theoretical service flow; then, the SMF entity corrects the traffic characteristics of the TSN service described by the initial time-sensitive auxiliary information TSCAI according to the offset parameter, so that the traffic characteristics described by the corrected target TSCAI are more consistent with the actual TSN service flow. Finally, the SMF entity sends the corrected target TSCAI to the base station, so that the base station can more accurately perform periodic scheduling of TSN services.

[0099] The scheduling method of TSN services disclosed in the above-mentioned embodiments as shown in this specification can be applied to a processor and implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0100] Of course, in addition to software implementation, the electronic device of this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0101] In addition, an embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions.

[0102] Optionally, when the above instructions are executed by a portable electronic device including a plurality of application programs, the portable electronic device can execute Figure 2 The steps of the method shown include:

[0103] Obtain the offset parameter between the TSN actual service flow measured by the base station and the TSN theoretical service flow.

[0104] Based on the offset parameter, the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI are corrected to obtain a corrected target TSCAI.

[0105] The target TSCAI is sent to the base station so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

[0106] Optionally, when the above instructions are executed by a portable electronic device including a plurality of application programs, the portable electronic device can execute Figure 4 The steps of the method shown include:

[0107] Measures the offset parameters between the actual TSN service flow and the theoretical TSN service flow.

[0108] The offset parameter is sent to the SMF entity, so that the SMF entity corrects the traffic characteristics of the TSN service described by the initial time-sensitive auxiliary information TSCAI based on the offset parameter to obtain the corrected target TSCAI.

[0109] Obtain the target TSCAI corrected by the SMF entity, and complete the scheduling of TSN services according to the traffic characteristics described by the target TSCAI.

[0110] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0111] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0112] The above are only embodiments of this specification and are not intended to limit this specification. For those skilled in the art, this specification may be subject to various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the scope of the claims of this specification. In addition, all other embodiments obtained by ordinary technicians in this field without creative work shall fall within the scope of protection of this document.

Claims

1. A scheduling method for a time-sensitive network TSN service, applied to a session management function SMF entity in a 5G communication system, characterized in that: include: Obtain the offset parameter between the actual TSN service flow measured by the base station and the TSN theoretical service flow; Based on the offset parameter, the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI are corrected to obtain a corrected target TSCAI; The target TSCAI is sent to the base station so that the base station completes the scheduling of the TSN service according to the traffic characteristics described by the target TSCAI.

2. The method according to claim 1, characterized in that The offset parameter includes: the time offset between the actual TSN service flow and the theoretical TSN service flow; the traffic characteristics include: the burst arrival time of the TSN service; The modifying of the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter includes: Based on the time offset, the burst arrival time described by the TSCAI is corrected.

3. The method according to claim 1, characterized in that The offset parameter includes: the cumulative frequency ratio between the actual TSN service flow and the theoretical TSN service flow; the traffic characteristics include: the period of the TSN service; The modifying of the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter includes: Based on the achieved cumulative frequency ratio, the period described by the TSCAI is modified.

4. The method according to any one of claims 1 to 3, characterized in that: The obtaining of the offset parameter between the TSN actual service flow measured by the base station and the TSN theoretical service flow includes: A measurement instruction for measuring the offset parameter is added to the initial TSCAI to be sent to the base station, so that the base station measures and feeds back the offset parameter in response to the measurement instruction in the initial TSCAI.

5. The method according to any one of claims 1 to 3, characterized in that: The initial TSCAI is calculated by the SMF entity based on the 3rd Generation Partnership Project 3GGP protocol.

6. A scheduling method for a time-sensitive network TSN service, applied to a base station in a 5G communication system, characterized in that: include: Measure the offset parameters between the actual TSN service flow and the theoretical TSN service flow; Sending the offset parameter to the SMF entity, so that the SMF entity corrects the traffic characteristics of the TSN service described by the initial time sensitive auxiliary information TSCAI based on the offset parameter to obtain a corrected target TSCAI; Obtain the target TSCAI corrected by the SMF entity, and complete the scheduling of TSN services according to the traffic characteristics described by the target TSCAI.

7. The method according to claim 6, characterized in that The measuring of the offset parameter between the local TSN actual service flow and the TSN theoretical service flow includes: Receiving the initial TSCAI carrying the measurement instruction sent by the SMF entity; Based on the measurement instruction, an offset parameter between the TSN actual service flow and the TSN theoretical service flow is measured.

8. The method according to claim 7, characterized in that The measuring the offset parameter between the TSN actual service flow and the TSN theoretical service flow includes: Measuring the actual TSN service flow to obtain traffic characteristics of the actual TSN service flow; The traffic characteristics described by the initial TSCAI are used as the traffic characteristics of the TSN theoretical service flow, so as to determine the offset parameters based on the measured traffic characteristics of the TSN actual service flow and the traffic characteristics of the TSN theoretical service flow.

9. An electronic device, comprising a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor executes the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, wherein the computer-executable instructions implement the method according to any one of claims 1 to 8 when executed by a processor.