CN112003667B - Time sequence management method, equipment and system - Google Patents

Time sequence management method, equipment and system Download PDF

Info

Publication number
CN112003667B
CN112003667B CN201910446930.2A CN201910446930A CN112003667B CN 112003667 B CN112003667 B CN 112003667B CN 201910446930 A CN201910446930 A CN 201910446930A CN 112003667 B CN112003667 B CN 112003667B
Authority
CN
China
Prior art keywords
terminal
information
intermediate node
operation information
control node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910446930.2A
Other languages
Chinese (zh)
Other versions
CN112003667A (en
Inventor
黄曲芳
罗海燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910446930.2A priority Critical patent/CN112003667B/en
Priority to PCT/CN2020/091625 priority patent/WO2020238764A1/en
Publication of CN112003667A publication Critical patent/CN112003667A/en
Application granted granted Critical
Publication of CN112003667B publication Critical patent/CN112003667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a time sequence management method, a device and a system, wherein the system comprises a control node, an intermediate node and at least one terminal communicated with the intermediate node, the control node and the intermediate node are positioned in a first clock synchronization area, the intermediate node and the at least one terminal are positioned in a second clock synchronization area, and the method comprises the following steps: the intermediate node receives task information from the control node, wherein the task information comprises at least one of starting information and ending information of at least one task; the intermediate node determines operation information of the terminal according to the task information and local clock information, wherein the operation information comprises time for the terminal to execute at least one operation, and the local clock information comprises clock information maintained by the intermediate node; and the intermediate node sends the operation information to the terminal. The clock synchronization method and the clock synchronization device can improve the clock synchronization precision between the terminals.

Description

Time sequence management method, equipment and system
Technical Field
The embodiment of the application relates to the technical field of mobile communication, in particular to a time sequence management method, equipment and a system.
Background
The internet of things is a new stage which continuously integrates various acquisition and control sensors or controllers with sensing and monitoring capabilities, mobile communication, intelligent analysis and other technologies into each link of an industrial production process, so that the manufacturing efficiency is greatly improved, the product quality is improved, the product cost and the resource consumption are reduced, and the traditional industry is finally promoted to be intelligent.
In the internet of things, mobile communication is generally employed to transmit data required for industrial control. In a specific implementation process, since an operation sequence between each operation device generally needs to follow a certain time relationship, a clock used by a control node of the industrial control and a clock used by the operation device are required to be synchronized. Fig. 1 is a schematic diagram of an internet of things system provided in the prior art. As shown in fig. 1, the control node directs three operation arms to work: the operation arm 1 is caused to perform a certain motion at a time point T1, the operation arm 2 is caused to perform a certain motion at a time point T2, and the operation arm 3 is caused to perform a certain motion at a time point T3, respectively. Since the three time points of T1/T2/T3 are closely spaced, and the minimum interval is 1us, the clocks maintained by the three operation arms are required to be precisely synchronized with the clock maintained by the control node, and the clock error between the operation arms is less than 1 us. At present, a control node and an operation arm are in the same clock synchronization area, the control node sends its own clock information to the operation arm, the content of the clock information is, for example, "the current time is several minutes and seconds", the information reaches the operation arm through the transmission of a wireless communication network, and after receiving the clock information, the operation arm adjusts its own maintained clock according to the clock information and the transmission delay, so that its own clock is synchronized with the clock of the control node.
However, the time delay for transmitting the clock information by the wireless communication network is far greater than the accuracy of the "clock information", and in addition, the measured transmission time delay accuracy is also insufficient, so the clock synchronization between the operation arms cannot meet the working requirement.
Disclosure of Invention
The embodiment of the application provides a time sequence management method, a device and a system, and can improve the clock synchronization precision between terminals.
In a first aspect, an embodiment of the present application provides a timing management method, which is applied to a timing management system, where the timing management system includes a first clock synchronization area and at least one second clock synchronization area, a control node and at least one intermediate node are arranged in the first clock synchronization area, and each second clock synchronization area is provided with a corresponding intermediate node and at least one terminal; the intermediate node receives task information from the control node, wherein the task information comprises at least one of starting information and ending information of at least one task; in a possible implementation, the start information includes a start time, and the end information includes an end time; the intermediate node may be, for example, a relay device or a terminal; the intermediate node determines respective operation information of a plurality of terminals managed by the intermediate node according to the task information and the local clock information, wherein the operation information of each terminal comprises the time for the terminal to execute at least one operation, and the local clock information comprises information which is maintained by the intermediate node and used for a clock synchronized with the control node and the terminal; the intermediate node sends the operation information to the terminal.
According to the embodiment of the application, the clock synchronization of the intermediate node and the control node is realized in the first clock synchronization region through the hierarchical clock synchronization, and the intermediate node and the control node do not need high clock synchronization precision, so that the distance can be long. And the clock synchronization between the control node and the terminal is realized in the second clock synchronization region, and the distance between the control node and the terminal is short, so that the higher clock synchronization precision can be met.
In a possible implementation manner, the local clock information includes information of a first local clock and information of a second local clock, the first local clock corresponds to a first synchronization region, the first local clock is used for synchronizing the intermediate node with the control node, the second local clock corresponds to a second synchronization region, and the second local clock is used for synchronizing the intermediate node with the terminal.
The intermediate node maintains the first local clock and the second local clock in a grading way, the synchronization of the intermediate node and the control node with lower precision does not affect the working requirement, meanwhile, the synchronization requirement of the intermediate node and the terminal with higher precision is met, and the clock synchronization between the terminals is ensured.
In a possible implementation manner, the determining, by the intermediate node, the operation information of the terminal according to the task information and the local clock information includes:
the intermediate node determines the corresponding relation between the first local clock and the second local clock according to the local clock information;
the intermediate node determines the operation information of the terminal according to the task information and the corresponding relation; the task information takes the first local clock as a time reference, and the time of the terminal executing each operation takes the second local clock as a time reference.
When the first local clock and the second local clock correspond to the same real time, the values of the first local clock and the second local clock may be the same or different. When the values of the first local clock and the second local clock are the same, the corresponding relation between the first local clock and the second local clock is that the time value of the first local clock directly corresponds to the time value of the second local clock; and when the values of the first local clock and the second local clock are different, the corresponding relation between the first local clock and the second local clock is that the first local clock and the second local clock correspond to the same real time point.
According to the task information and the corresponding relation, the intermediate node can convert the time indicated by the control node into the local time of the terminal, the operation information can be sent to the terminal according to the local time of the terminal, the terminal does not need to convert the time, the operation can be directly carried out according to the time indicated by the operation information, and the processing efficiency of the terminal is improved.
In one possible implementation, the method further includes:
the intermediate node receives clock synchronization information from the control node, wherein the clock synchronization information comprises the current time of the control node; and the intermediate node updates the first local clock maintained by the intermediate node according to the clock synchronization information and the time delay information between the control node and the intermediate node. The intermediate node may also update the first local clock and the second local clock at regular times or when an update condition is satisfied.
The time accuracy of the first local clock of the intermediate node is ensured through the clock synchronization process of the intermediate node and the control node.
In a second aspect, an embodiment of the present application provides a timing management method, which is applied to a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal in communication with the intermediate node, where the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, and the method includes:
the control node determines task information, wherein the task information comprises at least one of starting information and ending information of at least one task;
and the control node sends the task information to the intermediate node, wherein the task information is used for enabling the intermediate node to send first operation information to the terminal so as to indicate the time for the terminal to execute at least one first operation.
The clock synchronization of the intermediate nodes and the control nodes is realized in the first clock synchronization region through the hierarchical clock synchronization, the task information sent to each intermediate node by the control nodes is independent, the synchronization precision is low, and the operation of the intermediate nodes is not influenced. And the clock synchronization of the intermediate node and the terminal is realized in the second clock synchronization region, and the distance between the intermediate node and the terminal is short, so that the higher clock synchronization precision can be met.
In a third aspect, an embodiment of the present application provides a timing management method, which is applied to a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal that communicates with the intermediate node, where the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, and the method includes:
the control node determines second operation information, wherein the second operation information is used for instructing the terminal to execute at least one second operation;
and the control node sends second operation information to the terminal.
The control node directly sends the second operation information to the terminal, and the terminal executes corresponding operation according to the second operation information, namely under some conditions, the control node can quickly control the terminal without passing through an intermediate node, so that the control of the control node on the terminal is ensured, and the timeliness can be ensured under emergency.
In one possible implementation manner, the sending, by the control node, the second operation information to the terminal includes:
the control node sends the second operation information to the terminal through a first bearer; wherein the first bearer is a bearer for the intermediate node to send the first operation information to the terminal. The control node and the intermediate node share the first bearer, and no additional bearer needs to be configured for the control node, so that the configuration process is reduced, and the bearer resource is saved.
In one possible implementation manner, the sending, by the control node, the second operation information to the terminal includes:
and the control node sends the second operation information to the terminal through a second bearer, and the intermediate node sends the first operation information to the terminal through a first bearer.
The intermediate node sends the second operation information to the terminal through the first bearer, the control node sends the first operation information to the terminal through the second bearer, namely the two adopt mutually independent bearers to send the operation information, and the control node does not need to carry out signaling interaction with the intermediate node when sending the second operation information, so that the independence of the two operations is ensured.
In a possible implementation manner, before the controlling node sends the second operation information to the terminal, the method further includes:
the control node receives clock synchronization information sent by the intermediate node, wherein the clock synchronization information comprises the current time of a local clock maintained by the intermediate node, and the local clock is used for synchronizing the intermediate node and the terminal;
and the control node determines the second operation information according to the clock synchronization information, wherein the second operation information comprises the time for the terminal to execute the at least one second operation, and the time for the second operation takes the local clock as a time reference.
The time for executing the second operation in the second operation information is based on the local time of the terminal, the terminal does not need to perform time conversion, and the terminal can directly perform the operation according to the time indicated by the operation information, so that the processing efficiency of the terminal is improved.
In a possible implementation manner, if the control node sends the second operation information to the terminal through a first bearer, the second operation information does not include a sequence number of a protocol data unit of a packet data convergence protocol layer.
The control node does not need to add serial numbers to the protocol data units, so that the processing flow of the control node is reduced, and the processing efficiency of the control node is improved.
In a possible implementation manner, the control node receives sequence information sent by the intermediate node, where the sequence information includes a first sequence number of last data sent by the intermediate node to the terminal;
and the control node determines the second operation information according to the sequence information, wherein the second operation information comprises a second sequence number, and the second sequence number is a sequence number which is subsequent to the first sequence number and is continuous with the first sequence number.
The control node and the intermediate node share the sequence number of the protocol data unit, so that the orderliness of data transmission is ensured.
In a fourth aspect, an embodiment of the present application provides a timing management method, which is applied to a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal in communication with the intermediate node, where the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, and the method includes:
the terminal receives first operation information from the intermediate node, wherein the first operation information comprises the time of the terminal for executing at least one first operation, and the time of the first operation is based on the local time of the terminal;
and the terminal executes the at least one first operation according to the first operation information.
The clock synchronization of the intermediate nodes and the control nodes is realized in the first clock synchronization region through the hierarchical clock synchronization, the task information sent to each intermediate node by the control nodes is independent, the synchronization precision is low, and the operation of the intermediate nodes is not influenced. And the clock synchronization of the intermediate node and the terminal is realized in the second clock synchronization area, the distance between the intermediate node and the terminal is short, and the clock synchronization precision of the terminal and the control node is higher, so that the clock synchronization precision between the terminals is higher, namely the terminals in the same second clock synchronization area have the same time.
In a fifth aspect, an embodiment of the present application provides a timing management method, which is applied to a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal in communication with the intermediate node, where the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, and the method includes:
the terminal receives second operation information from the control node, wherein the second operation information is used for instructing the terminal to execute at least one second operation;
and after receiving the second operation information, the packet data convergence protocol PDCP entity of the terminal preferentially submits the second operation information to an application layer entity.
The terminal directly receives the second operation information from the control node, and the terminal executes corresponding operation according to the second operation information, namely, under some conditions, the control node can quickly control the terminal without an intermediate node, so that the control of the control node on the terminal is ensured, and the timeliness can be ensured under emergency conditions.
In a possible implementation manner, after receiving the second operation information, the PDCP entity of the terminal preferentially submits the second operation information to an application layer entity, including:
after receiving the second operation information, the terminal directly submits the second operation information to the application layer entity if determining that the second operation information does not include the sequence number of the protocol data unit of the PDCP layer.
After the terminal identifies the protocol data unit without the sequence number, the terminal immediately submits the data to the application layer entity, so that the application layer entity can quickly execute the second operation, and the timeliness of the second operation is ensured.
In one possible implementation, the method further includes:
the terminal receiving second operation information from the control node, the second operation information including a time at which the terminal performs at least one second operation;
and the terminal submits the second operation information to the application layer entity according to the time for executing at least one second operation.
The time of the second operation is based on the local clock of the terminal, and the terminal submits the second operation information to the upper layer according to the execution time of the second operation, so that the terminal can execute the second operation at the corresponding execution time, and the second operation of the terminal has time accuracy.
In one possible implementation manner, the receiving, by the terminal, the second operation information from the control node includes:
and the terminal receives the second operation information from the control node through a first bearer, wherein the first bearer is a bearer for the terminal to receive the first operation information from an intermediate node.
The terminal receives the data sent by the control node and the intermediate node from the same bearer, only one queue is maintained by the terminal, two queues are not needed for realization, and the processing flow of the terminal is simplified.
And the terminal receives the second operation information from the control node through a second bearer, and the terminal receives the first operation information from the intermediate node through a first bearer.
The terminal receives the first operation message and the second operation message respectively through the two bearers, so that the independence of data processing is ensured, the two can be carried out in parallel, and the data processing efficiency is improved.
In one possible implementation manner, the receiving, by the terminal, the first operation information from the intermediate node includes: the terminal receives first operation information from the intermediate node through a first bearer, wherein the first operation information comprises a first sequence number;
the terminal receives second operation information from the control node, including:
the terminal receives the second operation information from the intermediate node through the first bearer, wherein the second operation information comprises a second sequence number;
the terminal submits the second operation information to an application layer entity, and the method comprises the following steps:
and the terminal submits the second operation information to an application layer entity according to the sequence relation of the first sequence number and the second sequence number.
The control node and the intermediate node share the sequence number of the protocol data unit, and the terminal delivers the data to the application layer entity according to the sequence number in sequence, thereby ensuring the orderliness of data transmission.
In a sixth aspect, an embodiment of the present application provides an intermediate node, which is applied to a timing management system, where the timing management system includes a control node, the intermediate node, and at least one terminal in communication with the intermediate node, the control node and the intermediate node are located in a first clock synchronization area, the intermediate node and the at least one terminal are located in a second clock synchronization area, and the intermediate node includes:
a receiving module, configured to receive task information from the control node, where the task information includes at least one of start information and end information of at least one task;
a processing module, configured to determine operation information of the terminal according to the task information and local clock information, where the operation information includes time for the terminal to perform at least one operation, and the local clock information includes information of a clock maintained by the intermediate node; and
and the sending module is used for sending the operation information to the terminal.
In a possible implementation manner, the local clock information includes information of a first local clock and information of a second local clock, where the first local clock is used for the intermediate node to synchronize with the control node, and the second local clock is used for the intermediate node to synchronize with the terminal.
In a possible implementation manner, the processing module is specifically configured to:
determining the corresponding relation between the first local clock and the second local clock according to the local clock information;
determining operation information of the terminal according to the task information and the corresponding relation; the task information takes the first local clock as a time reference, and the time for the terminal to execute the at least one operation takes the second local clock as a time reference.
In one possible implementation manner, the receiving module is further configured to: receiving clock synchronization information from the control node, the clock synchronization information including a current time of the control node;
the processing module is further configured to: and updating the first local clock maintained by the intermediate node according to the clock synchronization information and the time delay information between the control node and the intermediate node.
In a seventh aspect, an embodiment of the present application provides a control node, which is applied to a timing management system, where the timing management system includes the control node, an intermediate node, and at least one terminal that communicates with the intermediate node, the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, and the control node includes:
the processing module is used for determining task information, wherein the task information comprises at least one of starting information and ending information of at least one task;
a sending module, configured to send the task information to the intermediate node, where the task information is used to enable the intermediate node to send first operation information to the terminal, so as to indicate a time for the terminal to perform at least one first operation.
In an eighth aspect, an embodiment of the present application provides a control node, which is applied to a timing management system, where the timing management system includes the control node, an intermediate node, and at least one terminal that communicates with the intermediate node, the control node and the intermediate node are located in a first clock synchronization area, the intermediate node and the at least one terminal are located in a second clock synchronization area, and the control node includes:
the processing module is used for determining second operation information, and the second operation information is used for indicating the terminal to execute at least one second operation;
and the sending module is used for sending the second operation information to the terminal.
In a possible implementation manner, the sending module is specifically configured to: sending the second operation information to the terminal through a first bearer; wherein, the first bearer is a bearer for the intermediate node to send the first operation information to the terminal; or
And sending the second operation information to the terminal through a second bearer, and sending the first operation information to the terminal through a first bearer by the intermediate node.
In a possible implementation manner, the control node further includes a receiving module, configured to receive clock synchronization information sent by the intermediate node before the control node sends second operation information to the terminal, where the clock synchronization information includes a current time of a local clock maintained by the intermediate node, and the local clock is used for the intermediate node to synchronize with the terminal;
the processing module is specifically configured to determine the second operation information according to the clock synchronization information, where the second operation information includes a time when the terminal performs the at least one second operation, and the time of the second operation takes the local clock as a time reference.
In a possible implementation manner, if the control node sends the second operation information to the terminal through a first bearer, the second operation information does not include a sequence number of a protocol data unit of a packet data convergence protocol layer.
In one possible implementation manner, the receiving module is further configured to: receiving sequence information sent by the intermediate node, wherein the sequence information comprises a first sequence number of the last data sent to the terminal by the intermediate node;
the processing module is specifically configured to: and determining the second operation information according to the sequence information, wherein the second operation information comprises a second sequence number, and the second sequence number is a sequence number which is subsequent to the first sequence number and is continuous with the first sequence number.
In a ninth aspect, an embodiment of the present application provides a terminal, which is applied to a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal in communication with the intermediate node, the control node and the intermediate node are located in a first clock synchronization region, the intermediate node and the at least one terminal are located in a second clock synchronization region, and the terminal includes:
a receiving module, configured to receive first operation information from the intermediate node, where the first operation information includes a time for the terminal to perform at least one first operation;
and the processing module is used for executing the at least one first operation according to the first operation information.
In a tenth aspect, an embodiment of the present application provides a terminal, which is applied to a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal in communication with the intermediate node, the control node and the intermediate node are located in a first clock synchronization region, the intermediate node and the at least one terminal are located in a second clock synchronization region, and the terminal includes:
a receiving module, configured to receive second operation information from the control node, where the second operation information is used to instruct the terminal to perform at least one second operation;
and the processing module is used for preferentially submitting the second operation information to an application layer entity after the packet data convergence protocol PDCP entity receives the second operation information.
In a possible implementation manner, the processing module is specifically configured to: after receiving the second operation information, if it is determined that the second operation information does not include the sequence number of the protocol data unit of the PDCP layer, directly submitting the second operation information to the application layer entity.
In one possible implementation manner, the receiving module is further configured to: receiving second operation information from the control node, the second operation information including a time at which the terminal performed the at least one second operation;
the processing module is further configured to: and submitting the second operation information to the application layer entity according to the time for executing the at least one second operation.
In a possible implementation manner, the receiving module is specifically configured to:
receiving the second operation information from the control node through a first bearer, wherein the first bearer is a bearer for the terminal to receive the first operation information from an intermediate node;
and receiving the second operation information from the control node through a second bearer, and receiving the first operation information from the intermediate node through a first bearer by the terminal.
In a possible implementation manner, the receiving module is specifically configured to: receiving first operation information from the intermediate node through a first bearer, the first operation information including a first sequence number;
receiving the second operation information from the intermediate node through the first bearer, the second operation information including a second sequence number;
the processing module is specifically configured to: and submitting the second operation information to an application layer entity according to the sequence relation of the first sequence number and the second sequence number.
In an eleventh aspect, an embodiment of the present application provides a timing management system, where the timing management system includes a control node, an intermediate node, and at least one terminal in communication with the intermediate node, where the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area;
the intermediate node is configured to perform the method as set forth in the first aspect or various possible designs of the first aspect above;
the control node is configured to perform the method according to the second aspect above, or according to various possible designs of the third or fourth aspect above;
the terminal is adapted to perform the method according to the fourth aspect above, or according to the fifth aspect or the various possible designs of the fifth aspect above.
In a twelfth aspect, an embodiment of the present application provides an intermediate node, including: a memory for storing a computer program and a processor for calling and executing the computer program from the memory, such that the processor executes the computer program to perform the timing management method as set forth in the first aspect or various possible designs of the first aspect.
In a thirteenth aspect, an embodiment of the present application provides a control node, including: a memory for storing a computer program and a processor for calling and executing the computer program from the memory, so that the processor executes the computer program to perform the timing management method as described in the second aspect, the third aspect, or various possible designs of the third aspect.
In a fourteenth aspect, an embodiment of the present application provides a terminal, including: a memory for storing a computer program and a processor for calling and executing the computer program from the memory, so that the processor executes the computer program to execute the timing management method according to the fourth aspect, the fifth aspect or the fifth aspect.
In a fifteenth aspect, an embodiment of the present application provides a storage medium, where the storage medium includes a computer program, where the computer program is used to implement the timing management method according to the first aspect or various possible designs of the first aspect.
In a sixteenth aspect, an embodiment of the present application provides a storage medium, where the storage medium includes a computer program, and the computer program is configured to implement the timing management method according to the second aspect, the third aspect, or various possible designs of the third aspect.
In a seventeenth aspect, embodiments of the present application provide a storage medium including a computer program for implementing the timing management method according to the above-described fourth aspect, fifth aspect, or various possible designs of the fifth aspect.
The time sequence management method, the time sequence management equipment and the time sequence management system provided by the embodiment of the application comprise a control node, an intermediate node and a terminal, the time sequence management system is divided into two clock synchronization areas by adding the intermediate node, the control node and the intermediate node are positioned in a first clock synchronization area, the intermediate node and at least one terminal are positioned in a second clock synchronization area, hierarchical control is achieved, the clock synchronization areas needing accurate synchronization are limited in a smaller geographical range, and the intermediate node is close to the terminal and has short transmission delay with the terminal, so that the clock synchronization between the terminals can be guaranteed to meet the precision requirement. The intermediate node receives task information from the control node, wherein the task information comprises at least one of start information and end information of a task; the intermediate node determines the operation information of the terminal according to the task information and the local clock information, wherein the operation information comprises the time for the terminal to execute each operation.
Drawings
Fig. 1 is a schematic diagram of an internet of things system provided in the prior art;
fig. 2 is a schematic diagram of a timing management system according to an embodiment of the present application;
fig. 3 is a signaling flow diagram of a timing management method according to an embodiment of the present application;
FIG. 4 is a timing diagram illustrating timing management according to an embodiment of the present application;
fig. 5 is a flowchart of a timing management method according to an embodiment of the present application;
FIG. 6A is a timing diagram illustrating timing management according to an embodiment of the present application;
fig. 6B is a schematic diagram of an operation information processing scheme according to an embodiment of the present application;
fig. 7A is a schematic diagram of a timing management system according to an embodiment of the present application;
FIG. 7B is a timing diagram illustrating timing management according to an embodiment of the present application;
FIG. 7C is a schematic diagram of an operation information processing scheme according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an intermediate node according to an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of an intermediate node according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a control node according to an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of a control node according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 13 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present application.
Detailed Description
The network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The timing management system provided by the embodiment of the application can be any system which needs clock synchronization, and the system can ensure the clock synchronization of at least part of devices in the system, so that one device can control the operation of the other device. The timing management system may be, for example, a clock synchronization system such as an internet of things system or a communication system. In the embodiment of the present application, for convenience of description, the internet of things is taken as an example for detailed description.
The internet of things realizes flexible configuration of manufacturing raw materials, execution of a manufacturing process as required, reasonable optimization of a manufacturing process and quick adaptation of a manufacturing environment through network interconnection, data intercommunication and system interoperation of industrial resources, and achieves efficient utilization of resources.
The realization of the internet of things can comprise intelligent sensing control, comprehensive interconnection and intercommunication, deep data application and the like. The intelligent sensing control mainly realizes the terminal intelligent sensing of the physical network, for example, the intelligent sensing control can be composed of various acquisition and control modules including various sensors, wireless radio frequency identification, wireless sensor networks and the like, the sensing devices can measure or sense the state and the change of a specific object and convert the state and the change into electronic signals or information in other forms which can be transmitted, processed and stored, and the intelligent sensing control is the first link for realizing the automatic detection and the automatic control of the industrial process in the internet of things.
The comprehensive interconnection and intercommunication means that the communication between the controlled terminal and the control node is realized by means of industrial Ethernet, a wireless communication network, a wired communication network and the like. Industrial ethernet refers to the related components and technologies that apply ethernet in automation control and process control in industrial environments. The wireless communication network is a technology for networking the sensors and transmitting data by using a wireless technology, and the application of the wireless network technology can greatly reduce the wiring cost of the industrial sensor and is beneficial to the expansion of the functions of the sensors. The heart of industrial wireless technology includes clock synchronization, deterministic scheduling, and the like.
Deep data application refers to that a control node (such as a server) performs data modeling, analysis and optimization by using technical means such as data mining and data warehouse based on a cloud computing platform, so as to optimize the operation of a terminal.
Fig. 2 is a schematic diagram of a timing management system according to an embodiment of the present application. As shown in fig. 2, the timing management system provided in the embodiment of the present application includes: control node, wireless communication network, intermediate node and terminal. The control node may be a device or a platform that can perform deep data application, such as a server, a service platform, and a processing platform, and can send data or information related to industrial control to the terminal.
The wireless communication network may be implemented by a wireless communication system including, but not limited to: narrowband band-internet of things (NB-IoT), global system for mobile communications (GSM), enhanced data rates for GSM evolution (EDGE), Wideband Code Division Multiple Access (WCDMA) system, code division multiple access (code division multiple access 2000, CDMA2000) system, time division-synchronous code division multiple access (TD-SCDMA) system, Long Term Evolution (LTE) system, and next generation 5G mobile communication system. Those skilled in the art will appreciate that any wireless communication network that enables the control node to communicate with the intermediate node may be applied to the embodiments of the present application.
The intermediate node may be a relay device or a terminal. The intermediate node is far away from the control node in physical distance, the intermediate node can carry out data communication with the control node through a wireless communication network, and the transmission delay between the intermediate node and the control node is long. The intermediate node is close to the terminal in physical distance, the intermediate node can carry out data communication with the terminal through wireless communication or wired communication, and the transmission delay between the intermediate node and the terminal is short. The above-mentioned wireless communication network may also be used when the intermediate node performs wireless communication with the terminal, which is not described herein again.
The terminal may be an end sensor, a robot on a production line, a robotic arm, etc. Among them, the robot arm is an automated mechanical device that is most widely put to practical use in the field of robotics, and is widely used in the fields of industrial manufacturing, medical treatment, entertainment service, military, semiconductor manufacturing, space exploration, and the like. Although they have different forms, they all have a common feature of being able to receive commands to precisely locate a point in three-dimensional (or two-dimensional) space for work. The present embodiment does not particularly limit the type of robot arm and the operation performed.
Referring to fig. 2, the timing management system of the embodiment of the present application includes two clock synchronization areas, a first clock synchronization area and a second clock synchronization area. The first clock synchronization area is provided with a control node (such as a server) and at least one intermediate node, wherein each intermediate node and at least one terminal communicating with the intermediate node form a second clock synchronization area. That is, the second clock synchronization region is provided with an intermediate node and at least one terminal, and the intermediate node communicates with the at least one terminal.
In a possible implementation manner, the clock synchronization between the control node and the intermediate node in the first clock synchronization region and the clock synchronization between the intermediate node and the terminal in the second clock synchronization region are both the clock synchronization of the application layer. The application layer is generally located at the top layer of the protocol stack, and can directly provide services for application programs and the like and directly execute the layer of corresponding operations. The protocol stack may further include an IP layer, a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Medium Access Control (MAC) layer, a physical layer (PHY) layer, and the like, which are located below the application layer, and the specific type and implementation manner of the protocol stack are not particularly limited in this embodiment.
In the embodiment of the present application, one first clock synchronization region is shown, and those skilled in the art can understand that in a specific implementation process, the number of the first clock synchronization regions may also be two or more, and the embodiment is not limited herein. And in the first clock synchronization region, the control node and the intermediate node realize clock synchronization. In the first clock synchronization region, since the transmission delay between the intermediate node and the control node is long, the requirement on the synchronization accuracy in the first clock synchronization region is low, for example, the synchronization accuracy is in the order of ms.
In the present embodiment, two second clock synchronization regions, i.e., a second clock synchronization region a and a second clock synchronization region B, are shown, and it can be understood by those skilled in the art that the number of the second clock synchronization regions may be one or more, and the present embodiment is not limited herein. In each second clock synchronization area, an intermediate node and at least one terminal are provided. The intermediate node achieves clock synchronization with the at least one terminal. In the second clock synchronization region, since the transmission delay between the intermediate node and the terminal is short, the requirement on the synchronization accuracy, for example, the synchronization accuracy is us level, is high in the second clock synchronization region.
The intermediate node is located in both the first clock synchronization region and the second clock synchronization region. The local clock information corresponding to the intermediate node comprises information of two clocks. The local clock information may include information of the first local clock and information of the second local clock. The first local clock is used for synchronizing the intermediate node and the control node, the time value of the first local clock is the same as that of the local clock of the control node, the second local clock is used for synchronizing the intermediate node and the terminal, and the time value of the second local clock is the same as that of the local clock of the terminal. It will be appreciated that when the intermediate node is connected to a plurality of terminals, the time values of the local clocks of the plurality of terminals are the same. The time values corresponding to the first local clock and the second local clock can be the same or different; even if the time values are different, the real time represented by the two is the same. For example, in the first clock synchronization region, the time value of the intermediate node synchronized with the control node is T1, in the second clock synchronization region, the time value of the intermediate node synchronized with the terminal is T2, the values of T1 and T2 may be the same or different, and when T1 and T2 are different, the values of T and T are different, and the times represented by T and T are the same, and they correspond to the same real time.
The intermediate node may also update the first local clock and the second local clock periodically or when an update condition is satisfied. For example, the intermediate node may update the first local clock every M1 times and the second local clock every M2 times. The M1 and M2 may be the same or different. The update condition may be that at least one of the first local clock and the second local clock is updated when the change in the position of the intermediate node satisfies a preset condition. For example, when the position of the intermediate node changes and the distance variation between the intermediate node and the control node exceeds a preset variation, the intermediate node may receive clock synchronization information from the control node, where the clock synchronization information includes the current time of the control node, and the intermediate node updates the first local clock maintained by the intermediate node according to the delay information and the clock synchronization information. The time delay information may be obtained by measuring, and the like, and this embodiment is not limited in this respect. The intermediate node can accumulate the transmission delay on the basis of the current time of the control node to adjust the first local clock maintained by the intermediate node, so that the intermediate node and the control node complete clock synchronization.
Similarly, the intermediate node may also update the second local clock, and the intermediate node updates the second local clock according to the current time of the terminal. In one possible implementation, a target terminal may be determined among the plurality of terminals, the target terminal having a master synchronization clock, the target terminal sending its current time to the intermediate node and the other terminals to achieve clock synchronization of the target terminal with the intermediate node and clock synchronization between the target terminal and the other terminals, thereby achieving clock synchronization of the intermediate node with each terminal within the second clock synchronization area.
The following describes in detail an implementation process of the timing management method provided in the embodiment of the present application with an architecture shown in fig. 2.
Fig. 3 is a signaling flowchart of a timing management method according to an embodiment of the present application. As shown in fig. 3, the method includes:
s301, the control node determines task information, wherein the task information comprises at least one of starting information and ending information of at least one task.
The control node can determine the task of the terminal and at least one of the start information and the end information of the task according to the user instruction, the process flow, the process parameters and the like. The task may be a task for the terminal to perform some operation. For example, taking the internet of things as an example of an automobile assembly line for the automobile manufacturing industry, the task may be welding, painting, assembling and the like.
Each terminal may perform one or more tasks accordingly. When the terminal correspondingly executes a task, the task information comprises at least one of the start information and the end information of the task. When the terminal correspondingly executes two or more tasks, the task information may include at least one of start information and end information of each task, and an identifier of each task. When the production line is a parallel operation production line, different terminals can execute the same task at the same time.
Wherein the start information may include a start time. The end information may include an end time. In possible implementations, a task may begin at a desired start time, or end at a desired end time, or both.
The start information may also include a jitter range for the start time. The jitter range of the start time may include a time value N, and if the start time is T, the task may start in a time range of [ T-N, T + N ]. The jitter range of the start time may also include two values, e.g., N1 and N2, and if the start time is T, the task may start in the start time range of [ T-N1, T + N2 ]. The end information may also include a jitter range for the end time. The jitter range of the ending time is similar to the jitter range of the starting time, and this embodiment is not described herein again. In possible implementations, a task may begin within a required start time frame, or end within a required end time frame, or begin within a required start time frame and end within a required end time frame.
S302, the control node sends the task information to the intermediate node.
S303, the intermediate node receives task information from the control node.
After the control node determines the task information, the control node sends the task information to the intermediate node, and the intermediate node receives the task information from the control node. Those skilled in the art will understand that S302 and S303 may be the same step, and in this embodiment, the transmission angle of the control node and the receiving angle of the intermediate node are described separately.
As shown in fig. 2, the second synchronous clock region a and the second synchronous clock region B are two independent regions, and the requirement on the timing relationship is not high, so that the required synchronization precision in the first synchronous clock region is low. Therefore, even if the control node is far away from the intermediate node and the transmission delay is long, the clock synchronization precision of the intermediate node a and the intermediate node B is low, but the actual operation of the terminal is not affected.
S304, the intermediate node determines first operation information of the terminal according to the task information and the local clock information, wherein the first operation information comprises time for the terminal to execute at least one first operation, and the local clock information comprises information of a clock maintained by the intermediate node.
After receiving the task information, the intermediate node determines, according to the task information and the local clock information, an operation that at least one terminal managed by the intermediate node needs to execute and an operation time of each terminal, thereby determining first operation information of the terminal. The first operation information includes a time when the terminal performs at least one first operation. Each terminal may perform one or more first operations, and the present embodiment does not particularly limit the number of first operations performed by the terminal. In this embodiment, the time when the terminal performs the first operation may be a time when the terminal starts performing the first operation, may also be a time when the terminal ends the first operation, or may also be a time when the terminal starts performing the first operation and a time when the terminal ends the first operation.
In this embodiment, the local clock information includes information of a first local clock used for the intermediate node to synchronize with the control node and information of a second local clock used for the intermediate node to synchronize with the terminal. I.e. the intermediate node maintains the first local clock and the second local clock simultaneously.
For the intermediate node, since the task information is based on the first local clock maintained locally, the task information needs to be converted into the first operation information based on the second local clock, and then the first operation information is notified to the terminal, and the terminal performs the operation at the time point based on the second local clock.
In a possible implementation manner, the intermediate node determines a corresponding relationship between the first local clock and the second local clock according to the local clock information; and determining first operation information of the terminal according to the task information and the corresponding relation between the first local clock and the second local clock. The task information takes the first local clock as a time reference, and the time of the terminal executing each first operation takes the second local clock as a time reference. In the embodiment of the present application, details will be described by taking fig. 4 as an example.
Fig. 4 is a time-axis diagram of timing management according to an embodiment of the present application. Referring to fig. 4, the clocks in the first clock synchronization region are represented by solid lines, the clocks in the second clock synchronization region a are represented by first dotted line segments, the lengths of the line segments included in the first dotted line segments are different, and the clocks in the second clock synchronization region B are represented by second dotted line segments, and the lengths of the line segments included in the second dotted line segments are the same. As can be seen from the above discussion of fig. 2, since the intermediate node a and the intermediate node B are both located in two clock synchronization areas at the same time, each intermediate node has two local clocks, which are represented by two time lines, the time line of the intermediate node a is represented by a real line and a first imaginary line, and the time line of the intermediate node B is represented by a real line and a second imaginary line.
The terminal A1, the terminal A2 and the terminal A3 are located in the same production line, and the operation needs to meet a certain time sequence relation; the terminal B1, the terminal B2 and the terminal B3 are located in the same production line, and the operation needs to meet a certain time sequence relation. However, terminals A1-A3 and terminals B1-B3 belong to two different second clock synchronization regions, respectively, so terminals A1-A3 and terminals B1-B3 do not need to be clock synchronized.
After the intermediate node receives the task information, the intermediate node converts T1 and T2 indicated by solid bars notified by the control node into time information indicated by a clock used by the terminal on its local production line. The intermediate node a translates T1 to T1 ', T1 ' corresponding to a point in time on the first dashed segment, from the perspective of intermediate node a, T1 and T1 ' represent the same real time instant. The intermediate node B translates T2 to T2 ', T2 ' corresponding to a point in time on the second dashed segment, from the perspective of intermediate node B, T2 and T2 ' representing the same real time instant.
The following description will take the intermediate node a as an example, and the intermediate node B has similar implementation principles, and the description of this embodiment is omitted here. In this embodiment, the values of the first local clock and the second local clock may be the same or different for the same real time.
When the values of the first local clock and the second local clock are the same, the corresponding relationship between the first local clock and the second local clock is that the time value of the first local clock directly corresponds to the time value of the second local clock, when the task information includes the end time of the task, the end time is 19:00, and the first local clock and the second local clock are both 18:00, the intermediate node a controls the terminal a1 to complete the operation 11, controls the terminal a2 to complete the operation 12, and controls the terminal A3 to complete the operation 13 before 19:00 of the second local clock.
And when the values of the first local clock and the second local clock are different, the corresponding relation between the first local clock and the second local clock is that the first local clock and the second local clock correspond to the same real time point. For example, when the second local clock maintained by the intermediate node is time synchronization between the intermediate node and the terminal, and the time of the terminal is used as the synchronization time, the values of the first local clock and the second local clock may be different. For other situations where the values of the two are different, this embodiment will not be described herein.
For example, if the first local clock is 13:00 and the second local clock is 15:00 at the current time point, the first local clock 13:00 corresponds to the second local clock 15:00 at the current time point, which can also be understood as the first local clock TM1And a second local clock TM2Has a corresponding relationship of TM2=TM1+2 hours.
When the control node sends task information to the intermediate node by taking the first local clock as a reference, and the task information indicates that the ending time of the task is 14:00, the intermediate node sends task information to the intermediate node according to the corresponding relation, T, between the first local clock and the second local clockM2=TM1+2, it can be obtained that the end time of the task with reference to the second local clock is 16:00, the intermediate node a is at 16: before 00, control terminal a1 completes operation 11, control terminal a2 completes operation 12, and control terminal A3 completes operation 13.
S305, the intermediate node sends first operation information to the terminal, wherein the first operation information comprises the time for the terminal to execute at least one first operation.
S306, the terminal receives the first operation information from the intermediate node.
S307, the terminal executes the at least one first operation according to the first operation information.
After the intermediate node determines the first operation information, the intermediate node sends the first operation information to the terminal, and the terminal executes at least one first operation according to the first operation information.
When the terminal can execute a first operation, the first operation information comprises the time for the terminal to execute the first operation; when the terminal is capable of performing two or more first operations, the first operation information includes an identification of each first operation and a time of each first operation. And the terminal executes corresponding first operation according to the first operation information. When the production line is a parallel operation production line, different terminals may also perform the same first operation at the same time.
The time sequence management method provided by the embodiment of the application is applied to a time sequence management system, the time sequence management system comprises a control node, an intermediate node and a terminal, the time sequence management system is divided into two clock synchronization areas by adding the intermediate node, the control node and the intermediate node are positioned in a first clock synchronization area, the intermediate node and the terminal are positioned in a second clock synchronization area, hierarchical control is achieved, the clock synchronization areas needing accurate synchronization are limited in a smaller geographical range, and the intermediate node is close to the terminal and short in transmission delay with the terminal, so that the clock synchronization between the terminals can be guaranteed to meet the precision requirement. The intermediate node receives task information from the control node, wherein the task information comprises at least one of starting information and ending information of at least one task; the intermediate node determines first operation information of the terminal according to the task information and the local clock information, wherein the first operation information comprises time for the terminal to execute at least one first operation, and the intermediate node which is close to the terminal and has short transmission delay with the terminal is adopted to determine the first operation information of the terminal, so that the first operation information can accurately indicate the time for the terminal to execute at least one first operation by using the clock of the terminal, and the clock synchronization between the terminals is ensured to meet the high precision requirement.
Fig. 5 is a flowchart of a timing management method according to an embodiment of the present application. In the embodiment shown in fig. 5, on the basis that the intermediate node sends the first operation information to the terminal, in this embodiment of the present application, the control node may also directly send second operation information to the terminal, and after receiving the second operation information, the terminal submits data from the control node to the application layer entity, and executes an operation executed by the second operation information. The method specifically comprises the following steps:
s501, the control node determines second operation information, and the second operation information is used for instructing the terminal to execute at least one second operation.
S502, the control node sends second operation information to the terminal.
And S503, the terminal receives second operation information from the control node.
Those skilled in the art will understand that S502 and S503 may be the same step, and in this embodiment, the transmission angle of the control node and the receiving angle of the terminal are described separately.
S504, the PDCP entity of the terminal submits the second operation information to the application layer entity of the terminal, and the application layer entity controls the terminal to execute at least one second operation.
It is to be understood that the PDCP entity of the terminal may deliver the second operation information to the application layer entity of the terminal directly or through other protocol layer entities. In some cases, the control node may request the terminal to perform some operations preferentially, and the control node may send the second operation information directly to the terminal. For example, when the pipeline in which the terminal is located fails or parts of the terminal become loose, the control node may send the second operation information to the terminal to control the operation performed by the terminal. The implementation process of the control node determining the second operation information is not particularly limited in this embodiment.
In one possible implementation, the user plane protocol stack of the terminal may be, for example, a physical PHY layer, a MAC layer, an RLC layer, a PDCP layer, an IP layer, and an application layer from bottom to top. The PDCP entity of the PDCP layer is responsible for compressing and decompressing an IP header, transmitting data, and maintaining a Sequence Number (SN) of each Protocol Data Unit (PDU), and submitting the protocol data unit to the application layer entity according to the sequence number, and when the IP layer exists, the protocol data unit is submitted to the application layer entity through the IP layer, and when the IP layer does not exist, the protocol data unit is directly submitted to the application layer entity.
When the terminal receives the second operation information from the control node, the PDCP entity delivers the second operation information to the application layer entity, and the application layer entity performs the second operation.
In a possible implementation manner, when the terminal is capable of performing a second operation, the second operation information is instruction information for instructing the terminal to perform the second operation. When the terminal is capable of performing two or more second operations, the second operation information includes identifications of the two or more second operations. The second operation information may not include the time when the terminal performs the second operation, and the second operation information may not include the implementation manner of the time when the terminal performs the second operation, which may be specifically referred to the embodiment shown in fig. 6A and 6B described below.
In a possible implementation manner, the second operation information may also include a time when the terminal performs the second operation. When the terminal can execute a second operation, the second operation information comprises the time for the terminal to execute the second operation; when the terminal is capable of performing two or more second operations, the second operation information includes an identification of each second operation and a time of each second operation. And the terminal executes corresponding second operation according to the second operation information. When the production line is a parallel operation production line, different terminals may also perform the same second operation at the same time. The implementation manner of the second operation information including the time when the terminal performs the second operation may specifically refer to the embodiments shown in fig. 7A, 7B, and 7C described below.
According to the time sequence management method provided by the embodiment of the application, the control node directly sends the second operation information to the terminal, and the terminal executes at least one corresponding second operation according to the second operation information, namely under some conditions, the control node can quickly control the terminal without passing through an intermediate node, so that the control of the control node on the terminal is ensured, and the timeliness can be ensured under emergency conditions.
Some possible implementations are exemplarily given below to illustrate the process of the control node sending the second operation information to the terminal.
Fig. 6A is a schematic time-axis diagram of timing management according to an embodiment of the present application, and fig. 6B is a schematic diagram of an operation information processing scheme according to an embodiment of the present application. As shown in fig. 6A and 6B, the second operation information sent by the control node to the terminal does not carry the execution time information. After receiving the second operation information, the PDCP entity of the terminal preferentially submits the second operation information to an application layer entity, and the application layer entity performs the at least one second operation.
In a possible implementation manner, as shown in the first scheme, a first bearer is established in advance for data transmission between the intermediate node and the terminal, and a second bearer is established for data transmission between the control node and the terminal. The terminal maintains a queue for each bearer, so the terminal maintains two queues, the data of the queue one comes from the intermediate node and corresponds to the first bearer, and the data of the queue two comes from the control node and corresponds to the second bearer. The bearer according to the embodiments of the present application may be, for example, a radio bearer, and may also be referred to as a data bearer or a data radio bearer.
In a possible implementation manner, the establishing process of the first bearer may send, for example, a first configuration parameter to the terminal for the intermediate node, where the first configuration parameter carries parameters such as a logical channel identifier, a physical channel identifier, and a transmission power, and then the terminal establishes the first bearer according to the first configuration parameter. The establishing process of the second bearer may be that the control node sends a second configuration parameter to the terminal, where the second configuration parameter is similar to the first configuration parameter, and the terminal establishes the second bearer according to the second configuration parameter.
It should be understood that, for a bearer, the PDCP layer of the terminal configures a PDCP entity to process data of the bearer. Correspondingly, the intermediate node and the terminal configure respective first PDCP entities for the first bearer respectively; and the control node and the terminal configure respective second PDCP entities for the second bearer respectively. Specifically, the first PDCP entity of the terminal may process the data in the first queue to obtain the sequence number of the data, sequence the received data according to the sequence numbers of the multiple data received within a period of time, and submit the data to the application layer entity in sequence. For the data in the queue two, the control node sends data to the terminal, the data may have a sequence number or may not have a sequence number, and regardless of whether the data has a sequence number, the second PDCP entity of the terminal preferentially submits the data to the application layer entity, that is, the second PDCP entity submits the data to the application layer entity upon receiving one data, without receiving a plurality of data and submitting the data to the application layer entity in sequence after sequencing the data according to the sequence number. In this embodiment, data in the queue may also be referred to as a data packet, where the data is data transmitted between protocol entities and may be referred to as protocol data units, that is, each protocol data unit corresponds to one sequence number.
In this embodiment, the intermediate node sends the first operation information to the terminal through the first bearer, the control node sends the second operation information to the terminal through the second bearer, that is, the two adopt mutually independent bearers to send the operation information, the control node does not need to perform signaling interaction with the intermediate node when sending the second operation information, so that the independence of the operations of the two is ensured, the terminal processes the data of the intermediate node through the first queue by maintaining the two queues, processes the data of the control node through the second queue, so that the independence of data processing is ensured, the two can be performed in parallel, and the data processing efficiency is improved.
In another possible implementation manner, as shown in the second scheme, it is not necessary to establish a separate bearer for data transmission between the control node and the terminal in advance, and the data transmission between the control node and the terminal may multiplex the bearer for data transmission between the intermediate node and the terminal. That is, the control node sends the second operation information to the terminal through the first bearer, where the first bearer is a bearer for the intermediate node to send the first operation information to the terminal. Correspondingly, the control node, the intermediate node and the terminal configure their PDCP entities for the first bearer respectively. Specifically, the control node obtains a first configuration parameter of a first bearer between the intermediate node and the terminal, and the PDCP entity of the control node sends the second operation information to the terminal through the first bearer according to the first configuration parameter. At this time, the sequence number of the data is not included in the second operation information. For example, the PDCP entity of the control node does not add the sequence number of the PDCP protocol data unit to the header when encapsulating the second operation information.
Thus, the terminal maintains a queue. The data from the intermediate node is processed by the PDCP entity of the intermediate node, and the protocol data unit has a sequence number, so that the data received by the PDCP entity of the terminal from the intermediate node is submitted to the application layer entity in sequence according to the sequence number. And the PDCP entity of the control node does not have the sequence number when processing the data from the control node, so the PDCP entity of the terminal receives the protocol data unit without the sequence number and preferentially submits the data to the application layer entity, namely, the PDCP entity of the terminal receives the data from the control node and submits the data to the application layer entity.
Those skilled in the art can understand that the data sent by the control node may also carry other indication information, as long as the indication information can identify that the data is from the control node, but not from the intermediate node, and the PDCP entity preferentially delivers the data to the application layer entity when the terminal receives the data from the control node. For example, the indication information may be an identifier of the control node or information that is pre-agreed by the control node and the terminal.
In the implementation mode, the PDCP entity of the control node does not need to add a serial number to the data, the processing flow of the control node is simplified, meanwhile, the terminal only maintains one queue, the PDCP entity of the terminal preferentially submits the data from the control node to the application layer entity, the implementation is realized without two queues, and the processing flow of the terminal is also simplified.
Fig. 7A is a schematic diagram of a timing management system according to an embodiment of the present application, fig. 7B is a schematic diagram of a time axis of timing management according to an embodiment of the present application, and fig. 7C is a schematic diagram of an operation information processing scheme according to an embodiment of the present application.
In this embodiment, the control node interacts with the intermediate node periodically, so that the control node can synchronize with the terminal, and therefore, in an emergency, the control node sends the second operation information to the terminal, so that the terminal can operate at the execution time of the second operation.
In this embodiment, the time when the terminal performs the second operation may be a time when the terminal starts performing the second operation, a time when the terminal ends the second operation, or a time when the terminal starts performing the second operation and a time when the terminal ends the second operation.
In one possible implementation, as shown in fig. 7A, the control node acquires the clock of the terminal by interacting with the intermediate node. Specifically, the control node receives clock synchronization information sent by the intermediate node, where the clock synchronization information includes a current time of a second local clock maintained by the intermediate node, and the second local clock is used for the intermediate node to synchronize with the terminal. As shown in fig. 7B, the control node determines second operation information according to the clock synchronization information, where the second operation information includes a time when the terminal performs at least one second operation, and the time of the at least one second operation is based on the second local clock, that is, the time of the local clock synchronized with the terminal by the intermediate node, that is, the local clock of the terminal.
Thus, in the illustration of FIG. 7A, the control node maintains three clocks at the same time, the control node's own clock, the clock of intermediate node A synchronized with terminals A1-A3, and the clock of intermediate node B synchronized with terminals B1-B3. The time when the terminal performs at least one second operation in the second operation information is based on the time of the terminal itself.
The second operation information is received by the terminal synchronized with the clock of the intermediate node a. The control node receives clock synchronization information sent by the intermediate node, the time carried in the clock synchronization information is 12:00, and the time carried in the clock synchronization information is 12:00 is the current time of the terminal. And thisWhen the time is short, the current time of the control node is 15:00, so that the time T of the control node is knownN1Time T with terminalN2Has a corresponding relationship of TN2=TN13 hours, when the control node needs the terminal to start executing the second operation at the time of 15:03, the start execution time of the second operation information sent by the control node to the terminal is 12:03 minutes, and after the terminal receives the second operation information, the terminal does not need to perform time conversion and directly starts executing at least one second operation at 12:03 minutes.
There may be various ways for the control node to send the second operation information to the terminal. As shown in fig. 7C, the method of the first scheme may be adopted, that is, a first bearer is established in advance for data transmission between the intermediate node and the terminal, and a second bearer is established for data transmission between the control node and the terminal. This scheme one is similar to the scheme one shown in fig. 6B described above. For the bearer establishment process, reference may be made to the foregoing embodiments, which are not described herein.
For a bearer, the PDCP layer of the terminal configures a PDCP entity to process data of the bearer. Correspondingly, the intermediate node and the terminal configure respective first PDCP entities for the first bearer respectively; and the control node and the terminal configure respective second PDCP entities for the second bearer respectively. The first PDCP entity of the terminal may process the data in the first queue to obtain a sequence number of the data, sequence the received data according to the sequence numbers of the multiple data received within a period of time, and submit the data to the application layer entity in sequence. For the data in the queue two, the control node sends the data to the terminal, and since the second operation information carries the execution time of the second operation, the second PDCP entity of the terminal only needs to submit the data to the application layer entity before the start time, and if the time of the second operation does not include the start time, but is the end time, the control node forwards recurs the preset time according to the end time to obtain the start time. The implementation manner of obtaining the start time is not particularly limited in this embodiment, and the data in the queue two may have a sequence number or may not have a sequence number, regardless of whether there is a sequence number, and this embodiment only needs to submit the data to the application layer entity before the start time.
As can be understood by those skilled in the art, for a terminal, when different first bearers and second bearers are respectively adopted by the two bearers, the upper layer, for example, an application layer corresponds to the same access point, that is, the two bearers access to an application layer entity of the terminal through the same access point, that is, the number of the application layer entities is one, and in the access layer, for example, a PDCP layer, the terminal corresponds to the two bearers, there are two PDCP entities corresponding to two protocol stacks, one PDCP entity receives data sent by a control node, and the other PDCP entity receives data sent by an intermediate node.
In this embodiment, the intermediate node and the control node adopt mutually independent bearers to send operation information, the control node does not need to perform signaling interaction with the intermediate node when sending the second operation information, so that the independence of the operation of the intermediate node and the control node is ensured, the terminal processes the data of the intermediate node through the first queue and processes the data of the control node through the second queue, so that the independence of data processing is ensured, the intermediate node and the control node can be performed in parallel, the data processing efficiency is improved, the terminal can also execute the operation according to the time of executing at least one second operation by the terminal included in the second operation information, and the time accuracy of executing the operation by the terminal is improved.
In some implementations, the scheme shown as scheme two in fig. 7C may also be employed. In the second scheme, it is not necessary to establish a separate bearer for data transmission between the control node and the terminal in advance, and the data transmission between the control node and the terminal may multiplex the bearer for data transmission between the intermediate node and the terminal. That is, the control node sends the second operation information to the terminal through the first bearer, where the first bearer is a bearer for the intermediate node to send the first operation information to the terminal. Correspondingly, the control node, the intermediate node and the terminal configure their PDCP entities for the first bearer respectively. At this time, the sequence number of the data is not included in the second operation information.
The terminal maintains a queue, and the processing manner of the terminal for the data from the intermediate node and the data from the control node is similar to the second scheme shown in fig. 6B, which is not described herein again in this embodiment.
Or, when the terminal maintains a queue, the PDCP entity of the terminal delivers the second operation information to the application layer entity according to the time for performing the second operation, by obtaining data from the control node. Here, the time when the terminal performs the second operation is a start time when the terminal performs the second operation. If the time of the second operation does not include the start time, but is the end time, the start time is obtained according to the end time, which may be specifically referred to in the above embodiments, and this embodiment is not described herein again.
The PDCP entity of the terminal may deliver the data to the application layer entity before the start time, e.g., the PDCP entity of the terminal may deliver the data to the application layer entity according to a preset advance time and start time. For example, the start time is 15:00, and the preset advance time is 1 minute, the PDCP entity of the terminal delivers the data to the application layer entity at 14: 59.
In the implementation mode, the PDCP layer entity of the control node does not need to add a sequence number to the data, so that the processing flow of the control node is simplified, and meanwhile, the terminal only maintains one queue, and the PDCP entity of the terminal submits the data from the control node to the application layer entity according to the execution time of the second operation, so that the processing flow of the terminal is simplified, and the timeliness of the second operation is also ensured.
In some implementations, the scheme shown as scheme three in fig. 7C may also be employed. The control node and the intermediate node multiplex the first bearer.
In a possible implementation manner, the establishing process of the first bearer may send a first configuration parameter to the terminal for the intermediate node or the control node, where the first configuration parameter carries parameters such as a logical channel identifier, a physical channel identifier, and a transmission power, and the terminal establishes the first bearer according to the first configuration parameter.
If the control node sends the first configuration parameter to the terminal to establish the first bearer, the control node also sends the first configuration parameter to the intermediate node; if the intermediate node sends the first configuration parameter to the terminal to establish the first bearer, the intermediate node also sends the first configuration parameter to the control node. When the control node and the intermediate node communicate with the terminal according to the same first configuration parameter, the control node and the intermediate node multiplex the first bearer.
The control node, the intermediate node and the terminal configure respective PDCP entities for the first bearer respectively, and the PDCP entity of the control node receives sequence number information sent by the PDCP entity of the intermediate node, wherein the sequence number information comprises a first sequence number of the last data sent to the terminal by the intermediate node; and the control node determines second operation information according to the sequence number information, wherein the second operation information comprises a second sequence number, and the second sequence number is a sequence number which is subsequent to the first sequence number and is continuous with the first sequence number. For the first bearer, the terminal configures a PDCP entity to receive data from both the control node and the intermediate node.
In the specific implementation process, the intermediate node and the control node exchange the sequence number information of the data unit. Therefore, the intermediate node and the control node can acquire the service condition of the serial number of the current data unit, when the control node needs to directly send an instruction to the terminal, a serial number can also be allocated for the data, and after the terminal receives the second operation information, the PDCP entity of the terminal can deliver the data to the application layer entity according to the serial number of the data unit in sequence. For example, if the sequence number of the data sent by the intermediate node to the control node is 6, the sequence number corresponding to the second operation information sent by the control node to the terminal may be 7.
In this implementation manner, for the terminal, the terminal does not need to distinguish whether the data is from the control node or the intermediate node, and the PDCP entity of the terminal only needs to submit the data to the application layer entity in sequence according to the sequence number of the received data, thereby simplifying the operation of the terminal and reducing the processing requirement on the terminal. In a possible implementation manner, if the second operation information includes the execution time of the second operation, the application layer entity executes the corresponding operation according to the execution time of the second operation after receiving the data submitted by the PDCP layer entity.
According to the time sequence management method provided by the embodiment of the application, the control node sends the second operation information to the terminal, the second operation information comprises the time for the terminal to execute the second operation, the time for the second operation is based on the local clock of the terminal, the terminal preferentially submits the second operation information to the application layer entity, or submits the second operation information to the upper layer according to the time for the second operation, the terminal is guaranteed to execute the second operation at the corresponding execution time, and the second operation of the terminal is enabled to have time accuracy.
Fig. 8 is a schematic structural diagram of an intermediate node according to an embodiment of the present application. As shown in FIG. 8, the intermediate node 80 includes
A receiving module 801, configured to receive task information from the control node, where the task information includes at least one of start information and end information of at least one task;
a processing module 802, configured to determine operation information of the terminal according to the task information and local clock information, where the operation information includes time for the terminal to perform at least one operation, and the local clock information includes information of a clock maintained by the intermediate node; and
a sending module 803, configured to send the operation information to the terminal.
In a possible implementation manner, the local clock information includes information of a first local clock and information of a second local clock, where the first local clock is used for the intermediate node to synchronize with the control node, and the second local clock is used for the intermediate node to synchronize with the terminal.
In a possible implementation manner, the processing module 802 is specifically configured to:
determining the corresponding relation between the first local clock and the second local clock according to the local clock information;
determining operation information of the terminal according to the task information and the corresponding relation; the task information takes the first local clock as a time reference, and the time for the terminal to execute the at least one operation takes the second local clock as a time reference.
In a possible implementation manner, the receiving module 801 is further configured to: receiving clock synchronization information from the control node, the clock synchronization information including a current time of the control node;
the processing module 802 is further configured to: and updating the first local clock maintained by the intermediate node according to the clock synchronization information and the time delay information between the control node and the intermediate node.
Fig. 9 is a schematic hardware structure diagram of an intermediate node according to an embodiment of the present application. As shown in fig. 9, the intermediate node 90 includes: a processor 901 and a memory 902; wherein
A memory 902 for storing a computer program;
the processor 901 is configured to execute the computer program stored in the memory to implement the timing management method executed by the intermediate node in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 902 may be separate or integrated with the processor 901.
When the memory 902 is a separate device from the processor 901, the intermediate node 90 may further include:
a bus 903 for connecting the memory 902 and the processor 901.
The intermediate node 90 shown in fig. 9 may further comprise a receiver 904 for receiving data or signals from the control node and a transmitter 905 for transmitting data or signals to the control node or the terminal.
In one possible implementation, the processing module described in fig. 8 may be implemented by being integrated in the processor 901, the receiving module may be implemented by being integrated in the receiver 904, and the transmitting module may be implemented by being integrated in the transmitter 905.
The intermediate node provided in the embodiment of the present application may be configured to execute the method executed by the intermediate node in the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a control node according to an embodiment of the present application. As shown in fig. 10, the control node 100 includes:
a processing module 1001, configured to determine task information, where the task information includes at least one of start information and end information of at least one task;
a sending module 1002, configured to send the task information to the intermediate node, where the task information is used to enable the intermediate node to send first operation information to the terminal, so as to indicate a time for the terminal to execute at least one first operation.
In a possible implementation manner, the processing module 1001 is further configured to determine second operation information, where the second operation information is used to instruct the terminal to perform at least one second operation;
the sending module 1002 is further configured to send second operation information to the terminal.
In a possible implementation manner, the sending module 1002 is specifically configured to: sending the second operation information to the terminal through a first bearer; wherein, the first bearer is a bearer for the intermediate node to send the first operation information to the terminal; or
And sending the second operation information to the terminal through a second bearer, and sending the first operation information to the terminal through a first bearer by the intermediate node.
In a possible implementation manner, the control node further includes a receiving module 1003, configured to receive, before the control node sends the second operation information to the terminal, clock synchronization information sent by the intermediate node, where the clock synchronization information includes a current time of a local clock maintained by the intermediate node, and the local clock is used for the intermediate node to synchronize with the terminal;
the processing module 1001 is specifically configured to determine the second operation information according to the clock synchronization information, where the second operation information includes a time when the terminal performs the at least one second operation, and the time of the second operation takes the local clock as a time reference.
In a possible implementation manner, if the control node sends the second operation information to the terminal through a first bearer, the second operation information does not include a sequence number of a protocol data unit of a packet data convergence protocol layer.
In a possible implementation manner, the receiving module 1003 is further configured to: receiving sequence information sent by the intermediate node, wherein the sequence information comprises a first sequence number of the last data sent to the terminal by the intermediate node;
the processing module 1001 is specifically configured to: and determining the second operation information according to the sequence information, wherein the second operation information comprises a second sequence number, and the second sequence number is a sequence number which is subsequent to the first sequence number and is continuous with the first sequence number.
Fig. 11 is a schematic diagram of a hardware structure of a control node according to an embodiment of the present application. As shown in fig. 11, the control node 110 includes: a processor 1101 and a memory 1102; wherein
A memory 1102 for storing a computer program;
the processor 1101 is configured to execute the computer program stored in the memory to implement the timing management method executed by the control node in the above embodiment. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 1102 may be separate or integrated with the processor 1101.
When the memory 1102 is a device separate from the processor 1101, the control node 110 may further include:
a bus 1103 for connecting the memory 1102 and the processor 1101.
The control node 110 shown in fig. 11 may further comprise a receiver 1104 for receiving data or signals from an intermediate node and a transmitter 1105 for transmitting data or signals to a terminal.
In one possible implementation, the processing module described in fig. 10 may be implemented integrally in the processor 1101, the receiving module may be implemented integrally in the receiver 1104, and the transmitting module may be implemented integrally in the transmitter 1105.
The control node provided in the embodiment of the present application may be used to execute the method executed by the control node in the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 12, the terminal 120 includes:
a receiving module 1201, configured to receive first operation information from the intermediate node, where the first operation information includes a time for the terminal to perform at least one first operation;
a processing module 1202, configured to execute the at least one first operation according to the first operation information.
In a possible implementation manner, the receiving module 1201 is further configured to receive second operation information from the control node, where the second operation information is used to instruct the terminal to perform at least one second operation;
the processing module 1202 is further configured to, after the packet data convergence protocol PDCP entity receives the second operation information, preferentially submit the second operation information to an application layer entity.
In a possible implementation manner, the processing module 1202 is specifically configured to: after receiving the second operation information, if it is determined that the second operation information does not include the sequence number of the protocol data unit of the PDCP layer, directly submitting the second operation information to the application layer entity.
In a possible implementation manner, the receiving module 1201 is further configured to: receiving second operation information from the control node, the second operation information including a time at which the terminal performed the at least one second operation;
the processing module 1202 is further configured to: and submitting the second operation information to the application layer entity according to the time for executing the at least one second operation.
In a possible implementation manner, the receiving module 1201 is specifically configured to:
receiving the second operation information from the control node through a first bearer, wherein the first bearer is a bearer for the terminal to receive the first operation information from an intermediate node;
and receiving the second operation information from the control node through a second bearer, and receiving the first operation information from the intermediate node through a first bearer by the terminal.
In a possible implementation manner, the receiving module 1201 is specifically configured to: receiving first operation information from the intermediate node through a first bearer, the first operation information including a first sequence number;
receiving the second operation information from the intermediate node through the first bearer, the second operation information including a second sequence number;
the processing module 1202 is specifically configured to: and submitting the second operation information to an application layer entity according to the sequence relation of the first sequence number and the second sequence number.
Fig. 13 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present application. As shown in fig. 13, the terminal 130 includes: a processor 1301 and a memory 1302; wherein
A memory 1302 for storing a computer program;
a processor 1301, configured to execute the computer program stored in the memory, to implement the timing management method executed by the terminal in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 1302 may be separate or integrated with the processor 1301.
When the memory 1302 is a device separate from the processor 1301, the control node 130 may further include:
and a bus 1303 for connecting the memory 1302 and the processor 1301.
The terminal 130 shown in fig. 13 may further comprise a receiver 1304, wherein the receiver 1304 is configured to receive data or signals from an intermediate node or a control node.
In one possible implementation, the processing module described in fig. 13 may be implemented by being integrated in the processor 1301, and the receiving module may be implemented by being integrated in the receiver 1304.
The terminal provided in the embodiment of the present application may be configured to execute the method executed by the terminal in the above method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
An embodiment of the present application provides a storage medium including a computer program for implementing the timing management method executed by the above intermediate node.
The embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a communication device installed with the chip executes the timing management method implemented by the intermediate node.
Embodiments of the present application further provide a computer program product, which includes computer program code, and when the computer program code runs on a computer, the computer is caused to execute the timing management method implemented by the intermediate node in the above embodiments.
An embodiment of the present application provides a storage medium including a computer program for implementing the timing management method executed by the above control node.
The embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a communication device installed with the chip executes the timing management method implemented by the control node.
Embodiments of the present application further provide a computer program product, where the computer program product includes computer program code, and when the computer program code runs on a computer, the computer is caused to execute the timing management method implemented by the control node in the above embodiments.
An embodiment of the present application provides a storage medium, which includes a computer program, where the computer program is used to implement the timing management method executed by the terminal.
The embodiment of the application further provides a chip, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the communication device provided with the chip executes the time sequence management method realized by the terminal.
An embodiment of the present application further provides a computer program product, where the computer program product includes computer program code, and when the computer program code runs on a computer, the computer is caused to execute the timing management method implemented by the terminal in the above embodiment.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.

Claims (26)

1. A timing management method applied to a timing management system, wherein the timing management system includes a control node, an intermediate node and at least one terminal communicating with the intermediate node, the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, the method comprising:
the intermediate node receives task information from the control node, wherein the task information comprises at least one of starting information and ending information of at least one task;
the intermediate node determines first operation information of the terminal according to the task information and local clock information, wherein the first operation information comprises time for the terminal to execute at least one operation, and the local clock information comprises clock information maintained by the intermediate node; and
the intermediate node sends the first operation information to the terminal;
the intermediate node is configured to send the first operation information to the terminal through a first bearer, where the first bearer is a bearer for the intermediate node to send the first operation information to the terminal;
the control node is configured to send second operation information to the terminal through a second bearer, where the second operation information is used to instruct the terminal to perform at least one second operation.
2. The method of claim 1, wherein the local clock information comprises information of a first local clock used for the intermediate node to synchronize with the control node and information of a second local clock used for the intermediate node to synchronize with the terminal.
3. The method of claim 2, wherein the intermediate node determining the operational information of the terminal based on the task information and the local clock information comprises:
the intermediate node determines the corresponding relation between the first local clock and the second local clock according to the local clock information;
the intermediate node determines the operation information of the terminal according to the task information and the corresponding relation; the task information takes the first local clock as a time reference, and the time for the terminal to execute the at least one operation takes the second local clock as a time reference.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
the intermediate node receiving clock synchronization information from the control node, the clock synchronization information including a current time of the control node;
and the intermediate node updates the first local clock maintained by the intermediate node according to the clock synchronization information and the time delay information between the control node and the intermediate node.
5. A timing management method applied to a timing management system, wherein the timing management system includes a control node, an intermediate node and at least one terminal communicating with the intermediate node, the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, the method comprising:
the control node determines task information, wherein the task information comprises at least one of starting information and ending information of at least one task;
the control node sends the task information to the intermediate node, wherein the task information is used for enabling the intermediate node to send first operation information to the terminal so as to indicate the time for the terminal to execute at least one first operation;
the method further comprises the following steps:
and the control node sends second operation information to the terminal, wherein the second operation information is used for indicating the terminal to execute at least one second operation.
6. The method according to claim 5, wherein the controlling node sends second operation information to the terminal, including:
the control node sends the second operation information to the terminal through a first bearer; wherein, the first bearer is a bearer for the intermediate node to send the first operation information to the terminal; or
And the control node sends the second operation information to the terminal through a second bearer, and the intermediate node sends the first operation information to the terminal through a first bearer.
7. The method according to claim 5 or 6, wherein before the control node sends the second operation information to the terminal, the method further comprises:
the control node receives clock synchronization information sent by the intermediate node, wherein the clock synchronization information comprises the current time of a local clock maintained by the intermediate node, and the local clock is used for synchronizing the intermediate node and the terminal;
and the control node determines the second operation information according to the clock synchronization information, wherein the second operation information comprises the time for the terminal to execute the at least one second operation, and the time for the second operation takes the local clock as a time reference.
8. The method of claim 6, wherein if the control node sends the second operation information to the terminal through a first bearer, a sequence number of a protocol data unit of a Packet Data Convergence Protocol (PDCP) layer is not included in the second operation information.
9. A timing management method applied to a timing management system, wherein the timing management system includes a control node, an intermediate node and at least one terminal communicating with the intermediate node, the control node and the intermediate node are located in a first clock synchronization area, and the intermediate node and the at least one terminal are located in a second clock synchronization area, the method comprising:
the terminal receiving first operation information from the intermediate node, the first operation information including a time at which the terminal performed at least one first operation;
the terminal executes the at least one first operation according to the first operation information;
the method further comprises the following steps:
the terminal receives second operation information from the control node, wherein the second operation information is used for instructing the terminal to execute at least one second operation;
and after receiving the second operation information, the packet data convergence protocol PDCP entity of the terminal preferentially submits the second operation information to an application layer entity.
10. The method of claim 9, wherein the PDCP entity of the terminal, after receiving the second operation information, preferentially delivers the second operation information to an application layer entity, and wherein the method comprises:
after receiving the second operation information, the terminal directly submits the second operation information to the application layer entity if determining that the second operation information does not include the sequence number of the protocol data unit of the PDCP layer.
11. The method of claim 9, further comprising:
the terminal receiving second operation information from the control node, the second operation information including a time at which the terminal performs at least one second operation;
and the terminal submits the second operation information to an application layer entity according to the time for executing the at least one second operation.
12. The method according to claim 9 or 10, wherein the terminal receives second operation information from the control node, comprising:
the terminal receives the second operation information from the control node through a first bearer, wherein the first bearer is a bearer for the terminal to receive the first operation information from an intermediate node;
and the terminal receives the second operation information from the control node through a second bearer, and the terminal receives the first operation information from the intermediate node through a first bearer.
13. An intermediate node for use in a timing management system, the timing management system comprising a control node, the intermediate node and at least one terminal in communication with the intermediate node, the control node and the intermediate node being located in a first clock synchronization area, the intermediate node and the at least one terminal being located in a second clock synchronization area, the intermediate node comprising:
a receiving module, configured to receive task information from the control node, where the task information includes at least one of start information and end information of at least one task;
a processing module, configured to determine first operation information of the terminal according to the task information and local clock information, where the first operation information includes time for the terminal to perform at least one operation, and the local clock information includes information of a clock maintained by the intermediate node; and
a sending module, configured to send the first operation information to the terminal;
the intermediate node is configured to send the first operation information to the terminal through a first bearer, where the first bearer is a bearer for the intermediate node to send the first operation information to the terminal;
the control node is configured to send second operation information to the terminal through a second bearer, where the second operation information is used to instruct the terminal to perform at least one second operation.
14. Intermediate node according to claim 13, characterized in that the local clock information comprises information of a first local clock for the intermediate node to synchronize with the control node and information of a second local clock for the intermediate node to synchronize with the terminal.
15. The intermediate node of claim 14, wherein the processing module is specifically configured to:
determining the corresponding relation between the first local clock and the second local clock according to the local clock information;
the intermediate node determines the operation information of the terminal according to the task information and the corresponding relation; the task information takes the first local clock as a time reference, and the time for the terminal to execute the at least one operation takes the second local clock as a time reference.
16. A control node for use in a timing management system, the timing management system comprising the control node, an intermediate node and at least one terminal in communication with the intermediate node, the control node and the intermediate node being located in a first clock synchronization region, the intermediate node and the at least one terminal being located in a second clock synchronization region, the control node comprising:
the processing module is used for determining task information, wherein the task information comprises at least one of starting information and ending information of at least one task;
a sending module, configured to send the task information to the intermediate node, where the task information is used to enable the intermediate node to send first operation information to the terminal, so as to indicate a time for the terminal to perform at least one first operation;
the sending module is further configured to:
and sending second operation information to the terminal, wherein the second operation information is used for indicating the terminal to execute at least one second operation.
17. The control node according to claim 16, wherein the sending module is further specifically configured to:
sending the second operation information to the terminal through a first bearer; wherein, the first bearer is a bearer for the intermediate node to send the first operation information to the terminal; or
And sending the second operation information to the terminal through a second bearer, and sending the first operation information to the terminal through a first bearer by the intermediate node.
18. The control node according to claim 16 or 17, further comprising: a receiving module;
the receiving module is configured to receive clock synchronization information sent by the intermediate node before sending second operation information to the terminal, where the clock synchronization information includes a current time of a local clock maintained by the intermediate node, and the local clock is used for synchronizing the intermediate node with the terminal;
the processing module is specifically configured to determine the second operation information according to the clock synchronization information, where the second operation information includes a time when the terminal performs the at least one second operation, and the time of the second operation takes the local clock as a time reference.
19. A terminal applied to a timing management system, wherein the timing management system comprises a control node, an intermediate node and at least one terminal communicating with the intermediate node, the control node and the intermediate node are located in a first clock synchronization region, the intermediate node and the at least one terminal are located in a second clock synchronization region, and the terminal comprises:
a receiving module, configured to receive first operation information from the intermediate node, where the first operation information includes a time for the terminal to perform at least one first operation;
the processing module is used for executing the at least one first operation according to the first operation information;
the receiving module is further configured to: receiving second operation information from the control node, the second operation information being used for instructing the terminal to execute at least one second operation;
the processing module is further configured to, after the packet data convergence protocol PDCP entity of the terminal receives the second operation information, preferentially submit the second operation information to an application layer entity.
20. The terminal of claim 19, wherein the receiving module is further configured to: receiving second operation information from the control node, the second operation information including a time at which the terminal performs at least one second operation;
the processing module is further configured to: and submitting the second operation information to an application layer entity according to the time for executing the at least one second operation.
21. The terminal according to claim 19 or 20, wherein the receiving module is further specifically configured to:
receiving the second operation information from the control node through a first bearer, wherein the first bearer is a bearer for the terminal to receive the first operation information from an intermediate node;
and receiving the second operation information from the control node through a second bearer, and receiving the first operation information from the intermediate node through a first bearer by the terminal.
22. A timing management system comprising a control node, an intermediate node, and at least one terminal in communication with the intermediate node, the control node and the intermediate node being located in a first clock synchronization region, the intermediate node and the at least one terminal being located in a second clock synchronization region;
the intermediate node is configured to perform the method of any of claims 1-4;
the control node is configured to perform the method of any of claims 5-8;
the terminal is adapted to perform the method of any of claims 9-12.
23. An intermediate node, comprising: a memory for storing a computer program and a processor for calling and executing the computer program from the memory, such that the processor executes the computer program to perform the timing management method of any of claims 1-4.
24. A control node, comprising: a memory for storing a computer program and a processor for calling and executing the computer program from the memory, such that the processor executes the computer program to perform the timing management method of any of claims 5-8.
25. A terminal, comprising: a memory for storing a computer program and a processor for calling and executing the computer program from the memory, such that the processor executes the computer program to perform the timing management method of any of claims 9-12.
26. A storage medium characterized in that the storage medium includes a computer program for causing a computer to realize any of:
the timing management method of any one of claims 1-4;
the timing management method of any one of claims 5-8;
the timing management method of any one of claims 9-12.
CN201910446930.2A 2019-05-27 2019-05-27 Time sequence management method, equipment and system Active CN112003667B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910446930.2A CN112003667B (en) 2019-05-27 2019-05-27 Time sequence management method, equipment and system
PCT/CN2020/091625 WO2020238764A1 (en) 2019-05-27 2020-05-21 Time sequence management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910446930.2A CN112003667B (en) 2019-05-27 2019-05-27 Time sequence management method, equipment and system

Publications (2)

Publication Number Publication Date
CN112003667A CN112003667A (en) 2020-11-27
CN112003667B true CN112003667B (en) 2021-12-31

Family

ID=73461385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910446930.2A Active CN112003667B (en) 2019-05-27 2019-05-27 Time sequence management method, equipment and system

Country Status (2)

Country Link
CN (1) CN112003667B (en)
WO (1) WO2020238764A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114050883A (en) * 2021-10-28 2022-02-15 北方天途航空技术发展(北京)有限公司 Method for carrying out air route task accurate time synchronization by unmanned aerial vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026703A (en) * 2017-05-19 2017-08-08 北京航天自动控制研究所 A kind of tandem type method for synchronizing time in hybrid network
CN109672510A (en) * 2017-10-13 2019-04-23 华为技术有限公司 Communication means and communication device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421495C (en) * 2005-06-27 2008-09-24 华为技术有限公司 Method and device synchronous operating time in equipment management
JP4840455B2 (en) * 2009-02-05 2011-12-21 横河電機株式会社 Field control system
CN104683055B (en) * 2014-12-03 2017-01-25 国家电网公司 Time synchronization method and time synchronization device
EP3270531B1 (en) * 2016-07-11 2022-07-06 ADVA Optical Networking SE System and method of synchronizing a distributed clock in a packet-compatible network
CN106331120B (en) * 2016-08-26 2019-06-21 自连电子科技(上海)有限公司 Realize the System and method for of cooperating between different internet of things equipment
CN109150451B (en) * 2017-06-16 2023-06-20 华为技术有限公司 Communication method, network node and radio access network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026703A (en) * 2017-05-19 2017-08-08 北京航天自动控制研究所 A kind of tandem type method for synchronizing time in hybrid network
CN109672510A (en) * 2017-10-13 2019-04-23 华为技术有限公司 Communication means and communication device

Also Published As

Publication number Publication date
CN112003667A (en) 2020-11-27
WO2020238764A1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
CN110971329A (en) Techniques for managing internal time synchronization
TW202025808A (en) Inter-working between a time-sensitive network and a cellular communication network
JP6527289B2 (en) Time synchronization method, sensor accommodating terminal, and sensor network system
CN109150559B (en) Time-triggered Ethernet simulation system
US11564187B2 (en) Method and device for supporting configuration of time synchronization network in mobile communication network
WO2015196685A1 (en) Clock synchronization method and apparatus
JP6449430B2 (en) Time synchronization method, device and time synchronization server for network device
CN109996325B (en) Clock synchronization system and method of wireless sensor network
WO2020063269A1 (en) Service transmission method and device
WO2021197353A1 (en) Data distribution method and apparatus, and device and medium
CN112003667B (en) Time sequence management method, equipment and system
CN112417255A (en) Method and device for receiving online state, storage medium and electronic device
US10536393B2 (en) Mail obtaining method, terminal, and system
US11556100B2 (en) Control method, related device, and system
EP4036669A1 (en) Control system, information processing device, and program
CN111614424B (en) Subnet fusion method, device, node and storage medium
CN115021852A (en) Method, device and system for configuring port state
CN115277311B (en) Software definition system and communication control method of multimode gateway
CN111102689A (en) Method and device for adjusting clock synchronization
Miranda et al. The quality-aware and vertical-tailored management of wireless time-sensitive networks
CN116009488A (en) Distributed robot construction method, distributed robot and storage medium
CN112688984B (en) Method, equipment and medium for issuing and executing instructions to network node
CN111181678B (en) Time synchronization method applied to time-triggered FC network
CN111132096B (en) Wireless edge cooperative communication method and device
CN116599871B (en) Network time delay determining method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant