WO2020063535A1 - 一种参考时间确定方法及装置 - Google Patents

一种参考时间确定方法及装置 Download PDF

Info

Publication number
WO2020063535A1
WO2020063535A1 PCT/CN2019/107292 CN2019107292W WO2020063535A1 WO 2020063535 A1 WO2020063535 A1 WO 2020063535A1 CN 2019107292 W CN2019107292 W CN 2019107292W WO 2020063535 A1 WO2020063535 A1 WO 2020063535A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
information
terminal
reference information
network device
Prior art date
Application number
PCT/CN2019/107292
Other languages
English (en)
French (fr)
Inventor
徐小英
黄曲芳
曾清海
娄崇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19868116.5A priority Critical patent/EP3849110A4/en
Publication of WO2020063535A1 publication Critical patent/WO2020063535A1/zh
Priority to US17/213,576 priority patent/US11777629B2/en

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/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay
    • H04W56/0045Synchronisation arrangements compensating for timing error of reception due to propagation delay compensating for timing error by altering transmission time
    • 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
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • 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
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0673Clock or time synchronisation among packet nodes using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method and a device for determining a reference time.
  • a control device can send control instructions to various industrial robots through a wireless network, so that each industrial machine can execute the control instructions at a preset time to complete the set action; and in most intelligent manufacturing scenarios, multiple industries Robots need to work together to ensure that they can perform unified actions together; for example, in the industrial control workshop scene, multiple industrial robots are required to move together at a certain time to assemble a certain part, and cooperate with multiple industrial robots Pre-defined actions need to be performed at an absolute time point to cooperate with each other to complete the entire assembly process.
  • any industrial robot's perception of time is not the same as that of other robots, which will lead to the wrong start time of an intermediate action, will cause the assembly process to fail, and may even damage parts. Therefore, it is necessary for the coordinated industrial robots to have a consistent understanding of time, and the absolute time between the coordinated industrial robots must be synchronized, that is, the time synchronization requirement between the robots.
  • the network equipment in the wireless network can keep the industrial robots synchronized with the network equipment. This can ensure that each industrial robot has a uniform reference time with the network equipment. be consistent.
  • the reference time of the network equipment and the control equipment may be different. There is a time deviation between the reference time of the network equipment and the control equipment; the control instructions sent by the control equipment are executed in The moment of action should be the moment at the reference time of the control device.
  • the industrial robot can only execute the control instruction based on the reference time synchronized with the network device; making the industrial robot unable to perform as expected Execution of control instructions results in differences in the timing of control instruction execution.
  • the execution time of the control instruction is different.
  • the present application provides a method and a device for determining a reference time, which are used to solve the problem that the execution time of a control instruction is different due to the inconsistency between the reference time of the terminal and the reference time of the control device.
  • an embodiment of the present application provides a method for determining a reference time.
  • the method may be applied to a terminal or a chip inside the terminal.
  • the method includes: the terminal may receive multiple time references sent by a network device. Information; when the terminal receives the instruction information from the network device, the terminal may select the time reference information from a plurality of time reference information as the first time reference information according to the instruction information, and the function of the instruction information is to indicate the first time reference information; After the first time reference information, the terminal may determine the reference time of the terminal according to the first time reference information.
  • the terminal may determine the first time reference information from the received multiple time reference information according to the indication information of the network device, and then, the terminal may determine the reference time of the terminal according to the first time reference information, so that the terminal ’s reference The time can be consistent with the reference time of the control device, which can reduce the time difference between the time when the terminal executes the determined instruction and the time expected by the control device.
  • one of the plurality of time reference information may indicate a reference time of at least one control device.
  • the plurality of time reference information includes first time reference information, and the first time reference information indicates The reference time of the first control device; by using the foregoing method, the terminal can determine the reference time of at least one control device by using the time reference information. Further, the reference time of the terminal can be the same as the reference time of the control device.
  • the time reference information may indicate the reference time of the control device through the information cell carried.
  • the time reference information may include a reference time cell and an identification cell.
  • the reference time cell may carry a specific time value of the reference time of the control device;
  • the identification cell may include part or all of the following information: device information of the control device, identification information of the clock, and an index of time reference information.
  • the time reference information in the multiple time reference information may also indicate a time deviation between the reference time of the control device and the reference time of the network device.
  • the multiple time reference information includes the first time reference information
  • the first time reference information indicates a time deviation between the reference time of the first control device and the reference time of the network device; by using the above method, the terminal can determine the time deviation of the reference time of the network device by using the time reference information. Further, the reference time of the terminal can be made the same as the reference time of the control device.
  • the terminal may also receive time reference information of the network device from the network device, where the time reference information of the network device indicates the reference time of the network device.
  • the terminal may use the first time reference information and the network device.
  • the time reference information of the terminal determines the reference time of the terminal.
  • the time reference information may indicate the time deviation between the reference time of the control device and the reference time of the network device through the information element carried.
  • the time reference information may include a time offset cell and an identification cell.
  • the time offset cell can carry a specific time value of the time offset.
  • the identification information element may include part or all of the following information: device information of the control device, identification information of the clock, and an index of time reference information.
  • multiple time reference information and indication information may be placed in different messages, or may be carried in one message.
  • the indication information when indicating the first time reference information, may include part or all of the following: device information of the first control device, identification information of the first clock, and an index of the first time reference information, where The first clock is a clock of the first control device.
  • an embodiment of the present application provides a method for determining a reference time.
  • the method may be applied to a terminal or a chip inside the terminal.
  • the method includes: the terminal may obtain first time reference information first, The time reference information does not indicate the reference time of the network device. After acquiring the first time reference information, the terminal may determine the reference time of the terminal according to the first reference time indicated by the first reference time.
  • the terminal after the terminal obtains the first time reference information, the terminal can determine the reference time of the terminal according to the first time reference information by itself, so that the reference time of the terminal can be consistent with the time indicated by the first time reference information. Therefore, the time difference between the time when the terminal executes the determined instruction and the time expected by the control device can be reduced.
  • the terminal when the terminal obtains the first time reference information, it may receive only the first time reference information from the network device; it may also receive multiple time reference information from the network device, and then from multiple time references
  • the time reference information is selected as the first time reference information in the information, that is, the plurality of time reference information includes the first time reference information.
  • the terminal may also receive instruction information from the network device, and the first time reference information indicated by the instruction information may be used.
  • the first time may be determined according to the instruction information. Reference Information.
  • the first time reference information may indicate a reference time of the first control device; in a case where the terminal receives multiple time reference information from the network device, one time reference information of the multiple time reference information may indicate The reference time of at least one control device, and correspondingly, the plurality of time reference information includes first time reference information.
  • the first time reference information may indicate the reference time of the first control device through the information element carried.
  • the first time reference information may include a reference time cell and an identification cell.
  • the reference time cell may carry a specific time value of the reference time of the first control device;
  • the identification cell may include part or all of the following information: device information of the first control device, identification information of the first clock, or first time reference The index of the information.
  • the first time reference information may indicate a time deviation between a reference time of the first control device and a reference time of the network device; in a case where the terminal receives multiple time reference information from the network device, the multiple time reference The time reference information in the information may also indicate a time deviation between the reference time of the control device and the reference time of the network device.
  • the multiple time reference information includes first time reference information.
  • the first time reference information may indicate the time deviation between the reference time of the first control device and the reference time of the network device through the information element carried.
  • the first time reference information may include a time offset cell and an identification cell.
  • the time deviation cell may carry a specific time value of a time deviation between a reference time of the first control device and a reference time of the network device;
  • the identification cell may include part or all of the following information: device information of the first control device, and a first clock The identification information, or the index of the first time reference information.
  • the terminal may also receive time reference information of the network device from the network device, where the time reference information of the network device indicates the reference time of the network device.
  • the terminal may use the first time reference information and the network device The time reference information of the terminal determines the reference time of the terminal.
  • the terminal can determine the reference time of the first control device and the time deviation between the reference time of the network device and the sum of the reference time of the network device more conveniently and quickly. The reference time of the terminal.
  • multiple time reference information and indication information may be placed in different messages, or may be carried in one message.
  • the indication information when indicating the first time reference information, may include part or all of the following: device information of the first control device, identification information of the first clock, and an index of the first time reference information, where The first clock is a clock of the first control device.
  • the indication information when indicating the first time reference information, may include part or all of the following: device information of the first control device, identification information of the first clock, and an index of the first time reference information, where The first clock is a clock of the first control device.
  • an embodiment of the present application provides a method for determining a reference time.
  • the method may be applied to a network device or a chip inside the network device.
  • the method includes: the network device first determines a time offset, and the time offset Characterizes the time difference between the reference time of the control device and the reference time of the network device; if the network device receives a data packet from the control device, the data packet carries a time stamp; the network device can modify the time stamp according to the time deviation ; After that, the network device sends the data packet carrying the modified timestamp to the terminal device.
  • the network device can correct the timestamp in the data packet from the control device according to the time deviation, so that when the terminal receives the data packet, the terminal can correct the corrected timestamp based on the reference time of the terminal
  • the analysis can further reduce the time difference between the execution time of the instruction and the time expected by the control device.
  • the present application provides a data processing apparatus, including: a unit or a means for performing each step of the first aspect, the second aspect, or the third aspect above.
  • the present application provides a reference time determination device, including at least one processor, configured to connect to a memory, and read and execute a program in the memory to execute the above-mentioned first, second, or third aspect. method.
  • the present application provides a reference time determining device, including at least one processor and an interface circuit. At least one processor communicates with other devices through the interface circuit, and is configured to execute the above first aspect, second aspect, or third aspect. Provided methods.
  • the present application provides a reference time determination program, which when executed by a processor is used to execute the method of the first aspect, the second aspect, or the third aspect above.
  • An eighth aspect provides a program product, such as a computer-readable storage medium, including the program of the seventh aspect.
  • FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present application.
  • FIG. 2A is a schematic diagram of a network architecture according to an embodiment of the present application.
  • FIG. 2B is a schematic diagram of another network architecture according to an embodiment of the present application.
  • 3 to 9 are schematic diagrams of a method for determining a reference time provided by the present application.
  • FIG. 10A is a schematic diagram of a method for determining a TA provided by the present application.
  • FIG. 10B is a schematic diagram of another reference time determination method provided by the present application.
  • 11 to 12 are schematic structural diagrams of a reference time determining device provided by the present application.
  • FIG. 13 is a schematic structural diagram of a terminal provided by this application.
  • FIG. 14 is a schematic structural diagram of a network device provided by this application.
  • FIG. 15 is a schematic structural diagram of another network device provided by the present application.
  • a terminal also called user equipment (UE), mobile station (MS), mobile terminal (MT), etc.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • a terminal is a device that provides voice / data connectivity to users.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • some examples of terminals are: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (augmented reality) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids
  • Wireless terminals wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and the like.
  • a network device is a device in a wireless network, such as a radio access network (RAN) node that connects a terminal to the wireless network.
  • RAN nodes are: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), and node B (Node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home NodeB, or home NodeB, HNB), baseband unit , BBU), or wireless fidelity (Wifi) access point (access point, AP), etc.
  • a network device may include a centralized unit (CU) node, a distributed unit (DU) node, or a RAN device including a CU node and a DU node.
  • a network device can provide core network (CN) equipment that supports service for the terminal.
  • CN core network
  • Common core network equipment has access and mobility management functions (AMF) entities and session management functions.
  • SMSF session management function
  • UPF user plane function
  • the AMF entity is responsible for access management and mobility management of the terminal; the SMF entity is responsible for session management, such as user session establishment; and the UPF entity is a functional entity of the user plane and is mainly responsible for connecting to an external network.
  • Either a RAN device or a CN device can be used as the network device to execute the method performed by the network device in the embodiment of the present application.
  • Multiple means two or more, and other quantifiers are similar.
  • And / or describes the association relationship of related objects, and indicates that there can be three kinds of relationships. For example, A and / or B can mean: there are three cases where A exists alone, A and B exist simultaneously, and B exists alone.
  • the control device is a device that communicates with the terminal through a wireless network.
  • the control device may be a programmable logic controller (PLC).
  • PLC programmable logic controller
  • the control device may send a data packet to the terminal through the wireless network.
  • the data packet may include an action execution instruction and a timestamp, where the timestamp is used to indicate a time for performing the action, and the time for executing the action may be specific to a year, month, day, hour, minute, and second, that is, , The execution time can be specific to a certain moment of a certain day. Specific indication manners
  • the embodiments of the present application are not limited.
  • Time reference information In the embodiment of the present application, the time reference information may be specifically divided into two types, one is time reference information used to indicate a reference time of the control device, and the other is used to indicate The time reference information of the time deviation between the reference time of the control device and the reference time of the network device; the specific indication method may be by carrying a cell, such as a reference time cell or a time deviation cell; the reference time cell indicates control The reference time of the device. The time deviation cell indicates the time difference between the reference time of the control device and the reference time of the network device.
  • a time reference information corresponds to a reference time of a control device or a time deviation between a reference time of a control device and a network device reference time.
  • each time reference information corresponds to a reference time of one control device or a time deviation between a reference time of a control device and a network device reference time.
  • one time reference information may correspond to a reference time of more than one control device, or a time deviation between the reference time of more than one control device and a network device reference time, and the reference times of these control devices are the same.
  • the time concept (such as the reference time of the control device, the reference time of the network device, the reference time of the terminal, etc.) in the embodiments of the present application is based on the year, month, day, hour, minute, second, or even more. A moment concept of small time unit measurement.
  • Reference time and clock In the embodiments of the present application, the concepts of reference time and clock are not distinguished.
  • the reference time and clock can be regarded as equivalent concepts.
  • the reference time of a control device is taken as an example. The concept of the control device is described.
  • the reference time of the control device refers to the time reference for the control device to perform actions or determine the timestamp. It is the reference time for the control device to measure the time.
  • the reference time of different devices is different.
  • the reference time may be different. If the current time needs to be recorded, the time recorded under the reference time reference of the control device may be different from the time recorded under the reference time reference of the network equipment, similar to the time recorded under Beijing time and The time recorded in London time is different.
  • Different reference times can result in different time precisions. For example, the accuracy of the reference time of the control device is 1 microsecond, and the accuracy of the reference time provided by the network device is 1 ms. The reason for the difference in reference time accuracy may be that the time accuracy provided by different clock sources is different
  • the reference time of the terminal is the same as the reference time of the network equipment.
  • the time reference information sent by the terminal from the network device determines the reference time of the terminal.
  • Time deviation In the embodiment of the present application, when the reference times of two devices are different, there is a difference between the reference times of the two devices. The difference is called a time deviation, and the time deviation can be regarded as a time period.
  • the time deviation involved in the embodiment of the present application is the time deviation between the reference time of the control device and the reference time of the network device.
  • the value of the reference time of the control device minus the reference time of the network device is the time deviation, and the time deviation may be a positive value. Indicates that the reference time of the control device is faster than the reference time of the network device; the time deviation can also be negative, indicating that the reference time of the control device is slower than the reference time of the network device.
  • the time deviation between the reference time of the control device and the reference time of the network device may be the value of the reference time of the network device minus the reference time of the control device, and the time deviation may be a negative value, which indicates that the reference time of the control device is less than that of the network device.
  • the reference time is fast; the time deviation can also be a positive value, indicating that the reference time of the control device is slower than the reference time of the network device.
  • time accuracy can indicate the smallest unit of time, such as time accuracy is seconds, subtle, milliseconds, etc .; time with different time accuracy is different, the minimum unit of time is different; time in the embodiment of this application Larger precision means the smallest unit of time, which represents a coarse-grained time. Smaller precision means a smaller unit of time, which represents a fine-grained time.
  • the terminal 130 accesses a wireless network to obtain a service of an external network (for example, the Internet) through the wireless network, or communicates with other devices through the wireless network, for example, it can communicate with a control device.
  • the wireless network includes RAN 110 and CN 120, where RAN 110 is used to connect terminal 130 to the wireless network, and CN 120 is used to manage the terminal and provide a gateway for communication with the external network.
  • CN120 may include multiple CN devices, such as an AMF entity, a UPF entity, or an SMF entity. Or CN120 may include a mobility management entity (MME) and a serving gateway (S-GW).
  • MME mobility management entity
  • S-GW serving gateway
  • the communication system shown in FIG. 1 may further include a control device, and the control device may send a data packet to the terminal 130 through the RAN 110 and the CN 120 in the wireless network.
  • the network architecture includes a CN device and a RAN device.
  • the RAN device includes a baseband device and a radio frequency device.
  • the baseband device can be implemented by one node or multiple nodes.
  • the radio frequency device can be implemented independently from the baseband device remotely, can also be integrated into the baseband device, or part of the remote part Integrated in the baseband device.
  • a RAN device eNB
  • eNB includes a baseband device and a radio frequency device, where the radio frequency device can be remotely arranged relative to the baseband device, such as a remote radio unit.
  • RRU is arranged remotely relative to the BBU.
  • the control plane protocol layer structure may include a radio resource control (RRC) layer, a packet data convergence layer protocol (PDCP) layer, a radio link control (RLC) layer, and a media interface. Functions of the protocol layer such as the media access control (MAC) layer and the physical layer.
  • RRC radio resource control
  • PDCP packet data convergence layer protocol
  • RLC radio link control
  • Functions of the protocol layer such as the media access control (MAC) layer and the physical layer.
  • the user plane protocol layer structure may include the functions of the protocol layers such as the PDCP layer, the RLC layer, the MAC layer, and the physical layer; in one implementation, the PDCP layer may also include a service data adaptation (SDAP) layer .
  • SDAP service data adaptation
  • a RAN device can implement radio resource control (RRC), packet data convergence layer protocol (PDCP), radio link control (RLC), and media access control (RPC) from one node. media, access control (MAC), and other protocol layer functions; or multiple nodes can implement the functions of these protocol layers; for example, in an evolved structure, a RAN device can include a centralized unit (CU) and a distribution unit (CU). distributed unit (DU), multiple DUs can be centrally controlled by a CU. As shown in FIG. 2A, the CU and DU can be divided according to the protocol layer of the wireless network. For example, the functions of the PDCP layer and above are set in the CU, and the functions of the protocol layers below PDCP, such as the RLC layer and the MAC layer are set in the DU.
  • RRC radio resource control
  • PDCP packet data convergence layer protocol
  • RLC radio link control
  • RPC media access control
  • MAC media, access control
  • MAC media, access control
  • MAC media, access control
  • This division of the protocol layer is only an example. It can also be divided at other protocol layers, for example, at the RLC layer.
  • the functions of the RLC layer and above are set in the CU, and the functions of the protocol layers below the RLC layer are set in the DU.
  • it is divided in a certain protocol layer, for example, setting some functions of the RLC layer and functions of the protocol layer above the RLC layer in the CU, and setting the remaining functions of the RLC layer and the functions of the protocol layer below the RLC layer in the DU.
  • it can also be divided in other ways, for example, by delay, and the function that needs to meet the delay requirement in processing time is set in the DU, and the function that does not need to meet the delay requirement is set in the CU.
  • the radio frequency device can be remote, not placed in the DU, or integrated in the DU, or part of the remote can be integrated in the DU, without any restrictions here.
  • control plane (CP) and user plane (UP) of the CU can also be separated and divided into different entities to implement, respectively, the control plane CU entity (CU-CP entity) ) And the user plane CU entity (CU-UP entity).
  • the signaling generated by the CU can be sent to the terminal through the DU, or the signaling generated by the terminal can be sent to the CU through the DU.
  • the DU can directly transmit to the terminal or the CU through protocol layer encapsulation without parsing the signaling. If the following embodiments involve the transmission of such signaling between the DU and the terminal, at this time, the sending or receiving of the signaling by the DU includes this scenario.
  • the signaling at the RRC or PDCP layer will eventually be processed as the PHY layer signaling and sent to the terminal, or it will be transformed from the received PHY layer signaling.
  • the RRC or PDCP layer signaling can also be considered to be sent by the DU, or sent by the DU and the radio frequency.
  • the CU is divided into network equipment on the RAN side.
  • the CU may also be divided into network equipment on the CN side, which is not limited herein.
  • the devices in the following embodiments of the present application may be located in a terminal or a network device according to the functions they implement.
  • the network device may be a CU node, or a DU node, or a RAN device including a CU node and a DU node.
  • the control device when the control device needs to send a data packet to the terminal, the control device first sends the data packet to the RAN device, and then the RAN device forwards the data packet to the terminal, and the data packet sent by the control device Includes a timestamp.
  • the timestamp is used to indicate a specific time.
  • a data packet can be a control instruction.
  • the timestamp in the data packet is used to indicate the time to execute the control instruction, but the timestamp in the data packet is the control device.
  • the reference time is set as the reference.
  • the terminal will actually receive multiple data packets from different control devices. That is to say, the terminal will be controlled by multiple different control devices.
  • the terminal is also based on the reference time of the terminal, and the reference of different control devices
  • the time is generally different, and the reference time of different control devices is not necessarily the same as the reference time of the terminal, so that the terminal may have errors in parsing the time stamps in the data packets from different control devices.
  • the reference time of the terminal is consistent with the reference time of the RAN device.
  • the reference time of each device (such as a RAN device and a CN device) in the wireless network is also consistent.
  • this application provides a reference time determination method , Specifically divided into the following three possible implementation modes:
  • the network device sends time reference information used to indicate the reference time of the control device to the terminal. After receiving the time reference information used to indicate the reference time of the control device, the terminal according to the reference of the control device The time can determine the reference time of the terminal.
  • the number of time reference information is not limited.
  • each time reference information represents a reference time of one of the control devices.
  • the network device may send multiple time reference information to the terminal; after receiving multiple time reference information, the terminal may determine one time reference information from it (in the embodiment of the present application, the first time reference information is used to indicate the time reference determined by the terminal from the time reference information. Information), and the reference time of the terminal is determined according to the determined time reference information; the first time reference information may also be determined from the indication information of the network device, and the reference time of the terminal is determined according to the first time reference information.
  • the terminal may receive one or more time reference information, and determine the first time reference information according to the received one or more time reference information. After that, the terminal may determine the reference time of the terminal according to the first time reference information.
  • the reference time of the terminal can be consistent with the reference time of the control device, and the time for executing the instruction can be consistent with the time expected by the control device.
  • the network device sends time reference information for indicating a time difference between the reference time of the control device and the reference time of the network device to the terminal, and the terminal receives the reference time and network for indicating the control device.
  • the reference time provided by the network device may be modified according to the time deviation indicated by the time reference information, so as to determine the reference time of the terminal.
  • the number of time reference information is not limited.
  • Each time reference information represents the reference time and network of one control device. Time deviation of the reference time of the device.
  • the network device may send multiple time reference information to the terminal; after receiving multiple time reference information, the terminal may determine one time reference information from it (in the embodiment of the present application, the first time reference information is used to indicate the time reference determined by the terminal from the time reference information. Information), and determine the reference time of the terminal according to the first time reference information; the first time reference information may also be determined from the indication information of the network device, and the reference time of the terminal may be determined according to the first time reference information.
  • the terminal may receive one or more time reference information, and determine the first time reference information according to the received one or more time reference information. After that, the terminal may determine the reference time of the terminal according to the first time reference information.
  • the terminal can control the time difference between the reference time of the control device and the reference time of the network device, so that the reference time of the terminal can be consistent with the reference time of the control device, which can further synchronize the time between the terminal and the control device, and improve the execution of instructions accuracy.
  • the time stamp in the data packet may be corrected according to a time deviation between the reference time of the control device and the reference time of the network device, and thereafter Send the data packet carrying the modified timestamp to the terminal.
  • the network device can correct the timestamp in the data packet from the control device according to the time deviation, so that when the terminal receives the data packet, the terminal can correct the corrected timestamp based on the terminal's reference time. Analysis can further improve the time accuracy of instruction execution.
  • Case 1 Sending multiple time reference information to the terminal for the network device
  • Case 2 Sending time reference information to the terminal for the network device, where the time reference
  • the information is used to characterize the reference time of the control device.
  • a time reference information may characterize the reference time of a control device; or a time reference information may characterize the reference time of more than one control device.
  • the reference time of these control devices is the same. The following describes the two situations in the first possible implementation mode:
  • a method for determining a reference time includes:
  • Step 301 The network device determines multiple time deviations, and each time deviation represents a time difference between a reference time of at least one control device and a reference time of the network device.
  • the control device communicates with the terminal through the network device, such as sending data packets, there are multiple control devices.
  • the network device can determine a time offset.
  • the time deviation is the time difference between the reference time of the control device and the reference time of the network device.
  • the network device may have the ability to determine the time offset itself, that is, the network device may determine multiple time offsets; the network device may also determine multiple time offsets through other network devices.
  • the RAN device can determine multiple time offsets; the RAN device can also determine multiple time offsets through a CN device (such as an AMF entity or a UPF entity), that is, the CN device is determining After multiple time offsets, multiple time offsets are sent to the network device.
  • a CN device such as an AMF entity or a UPF entity
  • the RAN device determines multiple time offsets or the core network device determines multiple time offsets; there are many ways to determine the time offset for any time offset, and one of the methods for determining the time offset is described below:
  • the clocks of the network device and the control device are different.
  • the network device and the control device can determine the time deviation by means of information interaction.
  • the control device sends a first synchronization message to the network device, and the time at which the control device sends the first synchronization message is T1, and T1 is a time under the master clock reference.
  • the network device receives the first synchronization message from the control device.
  • the time when the network device receives the first synchronization message is T2, and T2 is a time under the reference of the secondary clock.
  • the network device sends a second synchronization message to the control device.
  • the time when the network device sends the second synchronization message is T3, and T3 is a time under the reference of the secondary clock.
  • the control device receives the second synchronization message from the network device, and the time when the control device receives the second synchronization message is T4, and T4 is a time referenced by the master clock.
  • T1, T2, T3, T4, offset, and delay have the following relationship:
  • T2 T1 + offset + delay
  • T4 T3-offset + delay
  • the foregoing method for determining the time offset is merely an example. In fact, there are many methods for determining the time offset. This application does not limit the method for determining the time offset. Any method that can determine the time offset is applicable to the embodiments of the present application.
  • the network device and the CN device interact to obtain the time difference between them.
  • the network device receives the multiple time offsets sent by the CN device, it corrects multiple time offsets according to the time offset between the network device and the CN device.
  • the network device After determining a plurality of time deviations, the network device executes step 302.
  • Step 302 For any time deviation, the network device determines a time reference information according to the time deviation and the reference time of the network device, and the time reference information is used to represent a reference time of at least one control device.
  • the difference between the reference time of the network device and the time offset is the reference time of at least one control device, that is, the reference time of the control device is equal to the reference time of the network device minus the time offset;
  • the network device can determine a time reference information, which is used to characterize the reference time of at least one control device; taking a time reference information to characterize the reference time of a control device as an example, due to multiple time deviations
  • the network device can determine the reference time of multiple control devices through multiple time deviations and the reference time of the network device.
  • the network device can determine multiple time reference information, and any of the time reference information can indicate a control device's Reference time, that is, a time reference message corresponds to a reference time of a control device.
  • the network device can compose multiple time reference information into a list and send it in one message.
  • the multi cell in the message can indicate the number of time reference information, and each time reference information will be described later.
  • the clock reference 1 is the first time reference information, which can indicate the time reference information of the control device 1.
  • the message may not indicate the control device 1 and directly carry the reference time of the control device 1;
  • the clock reference 2 is the second time reference information and may indicate the time reference information of the control device 2 and the control device 3, and directly carry the control device 2 and the control The reference time of the device 3;
  • the time reference 3 is the third time reference information, which can indicate the time reference information of the control device 4.
  • the message may not directly indicate the control device 4, but directly carries the value of the reference time of the control device 4.
  • the time reference information may include a reference time cell, and the reference time cell may indicate a reference time of at least one control device; since the network device may determine multiple time reference information, in order to distinguish different time reference information, the time reference information It may also include identification cells.
  • the identification cell can include some or all of the following:
  • Control device information clock identification information, time reference information index, time accuracy information.
  • the time reference information may include a reference time cell, and the reference time cell may indicate a reference time of at least one control device; since the network device may determine multiple time reference information, in order to distinguish the time accuracy of different time reference information,
  • the identification cell may also include time accuracy information.
  • the network device may form a list of multiple time reference information and carry it in one message.
  • the multi cell in the message can indicate the number of time reference information, and each time reference information will be described later.
  • clock reference 1 is the reference time cell of the first time reference information, which is used to indicate the control device 1.
  • identification cell 1 is the identification cell of the first time reference information
  • clock reference 2 is the reference time information cell of the second time reference information, and is used to indicate the reference time of the control device 2 and the control device 3
  • Identification cell 2 is the identification cell of the second time reference information
  • clock reference 3 is the reference time cell of the third time reference information, which is used to indicate the reference time of the control device 4
  • identification cell 3 is the third Cell of time reference information.
  • one time reference information can be used to characterize the reference time of different control devices.
  • the identification cell in the time reference information can identify different control devices, as shown in Table 2 2 and the identification cell 2 may collectively represent the time reference information of the control device 2 and the control device 3.
  • the terminal when the terminal receives the time reference information, the terminal may also receive a reference system frame number (SFN) corresponding to the time reference information.
  • SFN reference system frame number
  • the SFN corresponding to the time reference information may indicate that the reference time indicated by the time reference information is a specific time of a time node corresponding to the SFN.
  • the network device can send the time reference information to the terminal by broadcasting in the system message.
  • the terminal receives the system message. If the system message does not indicate the reference system frame number corresponding to the time reference information, the reference system corresponding to the time reference information
  • the frame number can be the end boundary of the system information window where the system message is located or the reference system frame number where the end of the system information window is located.
  • the time reference information may include a reference time cell, and the reference time cell may indicate a reference time of at least one control device; since the network device may determine multiple time reference information.
  • the time reference information can be determined in the following two ways.
  • the reference time for a control device may correspond to multiple time reference information, and any one of the time reference information corresponding to the multiple time reference information may include time accuracy information.
  • some of the time reference information may be time accuracy comparison.
  • Large time reference information, such as time reference information with a time accuracy of 10ms or 1ms, part of the time reference information can be time reference information with a small time accuracy, such as time reference information with a time precision of 1 microsecond, 10 microseconds, or nanoseconds .
  • the reference time of a control device can correspond to time reference information with different time accuracy.
  • Network devices can send time reference information with different time accuracy by broadcasting, and can also send time reference information with different sending methods. For example, time reference information with greater time accuracy can be sent by broadcast, and unicast can be used. This method sends time reference information with less time accuracy.
  • the time reference information can be divided into two parts of time information.
  • the first part of time information can be time with greater time accuracy. For example, it can be accurate to 10 milliseconds in the reference time of the control device.
  • the second part of time information can be Based on the time information of the first part, the time with less time accuracy, such as the second part of the time, can control the reference time of the device to 1 microsecond.
  • the first part of the time information may represent X points, Y minutes, and Z seconds in the reference time of the control device
  • the second part of the time information may represent M microseconds in the reference time of the control device.
  • the time information can determine that the reference time of the reference control device is X points, Y minutes, Z seconds, and M microseconds.
  • the terminal When the terminal requires the reference time of the terminal to be accurate, the terminal only needs to read the first time information in the time reference information; when the terminal requires the reference time of the terminal to be accurate to the subtle time, the terminal needs to read the time reference information.
  • the first part of the time information and the second part of the time information are the first part of the time information and the second part of the time information.
  • the time reference information includes two parts of information as an example.
  • the time reference information may include multiple parts of the time letter, which respectively represent different times in the reference time of the control information. Accurate time information to meet the time accuracy requirements of the terminal's reference time from different terminals.
  • the device information of the control device can be the identification of the control device, such as the MAC address or IP address; it can also be the device number, name, model, or type of the Ethernet protocol used, etc. Both are applicable to the embodiments of the present application; when the identification information element includes the device information of the control device, different time reference information can be distinguished by the device information of the control device to further determine the reference time indicated by the reference time cell in the time reference information Corresponds to the reference time of which control device.
  • the clocks of different control devices can be the same or different.
  • the reference time of the control device is also the same. Therefore, the reference time of different control devices can be distinguished by the clock: that is, In other words, the identification cell may also include identification information of the clock, and the identification information of the clock may be the clock source information of the clock, or the time accuracy information of the clock.
  • different time reference information can be distinguished by the identification information of the clock, to further determine which clock reference time corresponds to the reference time indicated by the reference time cell in the time reference information.
  • the clock source information of the clock can be used to distinguish the time reference information of different clock sources to further determine which clock corresponds to the reference time indicated by the reference time cell in the time reference information.
  • the reference time of the source For example, a global positioning system (GPS) clock, a coordinated universal time (UTC) clock, a local controller clock 1, a local controller clock 2 and the like.
  • GPS global positioning system
  • UTC coordinated universal time
  • the time reference information of different accuracy can be distinguished by the time accuracy information of the clock to further determine which accuracy reference corresponds to the reference time indicated by the reference time cell in the time reference information.
  • time may be 10 milliseconds, 1 millisecond, 10 microseconds, 1 microsecond, 100 nanoseconds, or the like.
  • the time reference information includes multiple time information with different time accuracy.
  • the first part of the time reference information is time information with a time accuracy of 10 milliseconds. It is used to indicate the reference time of the control device is accurate to 10 milliseconds.
  • the second part of the time reference information is time information of other time accuracy, which represents the time of other time accuracy in the reference time of the control device.
  • the multi-cell in the message can indicate the number of time information with other time accuracy.
  • the second part of the time reference information includes a time reference of 1 millisecond, a time reference of 1 microsecond, and a time reference of 100 nanoseconds.
  • the time reference of 1 ms is time information with a time accuracy of 1 millisecond and is used to indicate The reference time of the control device is accurate to 1 millisecond;
  • the time reference of 1 microsecond is time information with a time accuracy of 1 microsecond, which is used to indicate the reference time of the control device is accurate to 1 microsecond; 100 nanoseconds
  • the time reference is time information with a time accuracy of 100 nanoseconds, and is used to indicate that the reference time of the control device is accurate to 100 nanoseconds.
  • the terminal may determine the reference time of the time accuracy required by the terminal according to the first part and the second part.
  • the network device can set indexes on the multiple time reference information to distinguish different time reference information.
  • the identification cell may include an index of the time reference information.
  • the network The device can number time reference information, for example, from 1 to N, and each value can be used as an index of time reference information.
  • the time reference information can be used to distinguish different time reference information, and further distinguish the reference time cell in the time reference information.
  • the identification information element may include any of the device information of the control device, the identification information of the clock, or the index of the time reference information, and may also include the device information of the control device, the identification information of the clock, or the index of the time reference information. There are many types, and the embodiments of the present application are not limited.
  • Step 303 The network device sends multiple time reference information to the terminal.
  • the network device may send multiple time reference information to the terminal.
  • the network device may send multiple time reference information in a broadcast manner.
  • each time reference information can be broadcast separately, or multiple time reference information can be carried in one broadcast message and sent.
  • the control device sends data packets to the terminal through the network device, that is, the network device can receive data packets from different control devices, and then forward the data packet to the corresponding terminal.
  • the network device can receive data packets from different control devices, and then forward the data packet to the corresponding terminal.
  • network devices can determine the reference time of all control devices and determine the corresponding Time reference information, and then broadcast all time reference information to the terminal, so that any terminal can receive time reference information, the reference time indicated by all time reference information must include the specific one or more control devices
  • the reference time allows the terminal to determine the reference time of a specific control device or devices, and the terminal can determine the reference time of the terminal based on multiple time reference information, which can keep the terminal synchronized with the control device. Further, it can be Receive accurate data packets Timestamp of packet parsing.
  • the network device may send multiple time reference information in a unicast manner.
  • each time reference information can be carried in a dedicated signaling and sent to the terminal; multiple time reference information can also be carried in a dedicated signaling and sent to terminal.
  • the proprietary signaling is a message sent by a network device to a specific terminal.
  • the network device can determine the reference time of all control devices and determine the corresponding time reference information, and then send all time reference information to the terminal through unicast, so that the terminal can receive all time reference information, all
  • the reference time indicated by the time reference information includes the reference time of the specific one or more control devices, so that the terminal can determine the reference time of the specific one or more control devices, and the terminal can determine the terminal's Reference time;
  • the network device may also selectively send some time reference information to the terminal, for example, send time reference information indicating the reference time of a specific control device or devices to the corresponding terminal; thus, the terminal can Determine the reference time of a specific one or more control devices, and then the terminal can determine the reference time of the terminal according to the time reference information, so that the terminal device can keep time synchronized with the specific one or more control devices. Achieve The accurate analysis of the time stamp in the data packet can correctly determine the execution time of the instruction.
  • step 304 may be performed.
  • Step 304 The terminal determines the first time reference information from the plurality of time reference information.
  • the terminal receives multiple time reference information, and determines one time reference information as the first time reference information from the multiple time reference information.
  • the terminal determines the first time reference information from a plurality of time reference information according to the preset configuration information.
  • the terminal may only receive data packets from a specific control device or devices, and at a specific time or time period, the terminal will only receive specific data packets from a control device, a specific one
  • the device information, time or time period information of the control device or multiple devices can be pre-configured in the terminal; when the terminal needs to determine the first time reference information from multiple time reference information, a time can be determined according to the preset configuration information
  • the reference information is used as the first time reference information.
  • the first time reference information is determined from a plurality of time reference information according to a time accuracy requirement required by the terminal. This accuracy requirement can be pre-configured.
  • the first time reference information with the same time accuracy in the data packet is determined from multiple time reference information.
  • the terminal is configured with device information of a control device in advance, and the identification information includes the device information of the control device as an example.
  • the terminal receives multiple time reference information, the terminal can control the device of the device according to a pre-configured device.
  • the information is traversed from the identification cells of the plurality of time reference information, and it is determined that the time reference information of the device information of the control device is the first time reference information.
  • the above description only uses the preset configuration information as the device information of a control device as an example.
  • the terminal can only receive data packets from one control device.
  • the preset The configuration information may include device information of the control device; the terminal may also receive a data packet from a control device at a specific time period or time.
  • the preset configuration information may include device information of the control device And the time period or time information, when determining the first time reference information, the terminal may determine the first time reference information based on the preset configuration information based on the current time or time period in which the terminal is located.
  • the preset configuration information is used as the device information of the control device as an example.
  • the preset configuration information may also be other information, such as clock identification information.
  • the embodiment of the present application is not limited, and any configuration information that enables the terminal to determine the first time reference information is applicable to the embodiment of the present application.
  • the terminal determines the first time reference information from the plurality of time reference information according to the instruction information of the network device.
  • the network device may send instruction information to the terminal, the instruction information is used to indicate the first time reference information, the terminal receives the instruction information, and determines the first time reference information from a plurality of time reference information according to the instruction information.
  • the indication information and multiple time reference information may be sent separately, or may be carried in a message and sent to the terminal.
  • a network device may broadcast multiple time reference information to a terminal, and then send indication information to the terminal through proprietary signaling.
  • the network device may carry the indication information and multiple time reference information to a terminal in a dedicated signaling.
  • the reference time indicated by the reference time cell in the first time reference information is the reference time of the first control device, and the indication information may include part or all of the following information:
  • the device information of the first control device the identification information of the first clock, the index of the first time reference information, and the accuracy information of the first time reference.
  • the first clock is a clock of the first control device.
  • the identification information of the first clock For descriptions of the device information of the first control device, the identification information of the first clock, and the index of the first time reference information, refer to the related description of the identification cell in the time reference information, and details are not described herein again.
  • the type of information carried in the indication information needs to overlap with the type of information carried by the identification cell in the time reference information.
  • the identification cell in the time reference information includes the device information of the control device and the time reference.
  • the indication information needs to carry some or all of the device information of the first control device and the index of the first time reference information, so that after receiving the indication information and multiple time reference information, the terminal can The first time reference information is successfully determined among the plurality of time reference information.
  • Step 305 The terminal determines the reference time of the terminal according to the first time reference information.
  • the terminal may modify the reference time of the terminal according to the reference time cell in the first time reference information, so that the reference time indicated by the reference time cell in the first time reference information is used as the reference of the terminal.
  • Time so that the reference time of the first control device is consistent with the reference information of the terminal, that is, the time of the first control device is synchronized with the terminal.
  • the network device may send multiple time reference information to the terminal, and after receiving the multiple time reference information, the terminal determines the first time reference information, and then may determine the reference time of the terminal, Because the reference time of the control device indicated by the time reference information, the reference time of the terminal determined according to the first time reference information can be the same as the reference time of the control device, so that the holding time of the terminal and the control device is synchronized.
  • Case 2 As shown in FIG. 4, a method for determining a reference time is provided for an embodiment of the application, and the method includes:
  • Step 401 The network device determines a time deviation, and the time deviation represents a time difference between a reference time of the first control device and a reference time of the network device.
  • the network device may determine only one time offset. For the manner in which the network device determines the time offset, see the related step 301. The description is not repeated here.
  • Step 402 The network device determines the first time reference information according to the time deviation and the reference time of the network device.
  • the first time reference information is used to indicate the reference time of the first control device.
  • the difference between the reference time of the network device and the time deviation is the reference time of the first control device, and further, the first time reference information may be determined.
  • the first time reference information may include a reference time cell. Since the network device only sends the first time reference information to the terminal, the first time reference information may include an identification cell or may not include an identification cell. This application Not limited.
  • step 402 For the description of the time reference cell and the identification cell, refer to the related description in step 402, which is not repeated here.
  • Step 403 The network device sends the first time reference information to the terminal.
  • the network device may send the first time reference information in a broadcast manner, or may send the first time reference information in a unicast manner.
  • step 404 may be performed.
  • Step 404 The terminal determines the reference time of the terminal according to the first time reference information.
  • the terminal may modify the reference time of the terminal according to the reference time cell in the first time reference information, and may use the reference time indicated by the reference time cell in the first time reference information as the terminal ’s Reference time, which can make the reference time of the first control device consistent with the reference information of the terminal, and achieve time synchronization between the terminal and the first control device.
  • the terminal is a UE
  • the network device is a UPF entity
  • the control device is a PLC
  • FIG. 3 or FIG. 5 The embodiment shown in FIG. 3 or FIG. 5 is further described below:
  • only one PLC represents one or more PLCs, which is a reference time determination method according to an embodiment of the present application.
  • the method includes:
  • Step 501 The UPF entity interacts with the PLC to determine a time offset between the PLC and the UPF entity.
  • Step 502 The UPF entity sends a time offset to the RAN device.
  • Step 503 After receiving the time deviation, the RAN device determines time reference information according to the time deviation and the reference time of the RAN device.
  • Step 504 The RAN device sends time reference information to the UE.
  • Step 505 After receiving the time reference information, the UE determines the reference time of the UE according to the time reference information.
  • Case 1 The network device sends multiple time reference information to the terminal; Case 2.
  • Case 2. The network device sends a time reference information to the terminal, where the time reference information is used
  • Case 2 For the time difference between the reference time of the control device and the reference time of the network device, the following describes two situations in the second possible implementation manner:
  • a reference time determination method provided by an embodiment of the application includes:
  • Step 601 The network device determines multiple time reference information, and any time reference information indicates a time deviation between a reference time of at least one control device and a reference time of the network device.
  • control device communicates with the terminal through a network device, such as sending data packets
  • the network device can determine the control device. The time deviation between the reference time of the network device and the reference time of the network device, and the time deviation is equal to the time difference between the reference time of the control device and the reference time of the network device.
  • step 301 For a manner in which the network device determines a time deviation between the reference time of any control device and the reference time of the network device, refer to step 301, and details are not described herein again.
  • the network device can determine multiple time reference information through multiple time deviations.
  • the time reference information may include a time deviation information element, and the time deviation information element may indicate a time deviation between a reference time of a control device and a reference time of a network device; since the network device may determine multiple time reference information, in order to distinguish different Time reference information, and the time reference information may further include an identification cell.
  • the identification cell can include some or all of the following:
  • the identification information element may include any one of the device information of the control device, the identification information of the clock, and the index of the time reference information, and may also include multiple types of the device information of the control device, the identification information of the clock, and the index of the time reference information.
  • the embodiments of the present application are not limited.
  • the network device After determining the time deviation between the reference time of any control device and the reference time of the network device, the network device can determine multiple time deviation information, and then execute step 602.
  • Step 602 The network device sends multiple time reference information to the terminal.
  • the network device may send multiple time reference information to the terminal; for a manner in which the network device sends multiple time reference information to the terminal, refer to the related description of step 303, which is not described again here.
  • step 603 may be performed.
  • Step 603 The terminal determines the first time reference information from the plurality of time reference information.
  • the first time reference information is used to indicate a time deviation between the reference time of the first control device and the reference time of the network device.
  • time deviation 1 is the first time reference information, which can indicate the reference time of the control device 1 and the network device.
  • Time deviation of the reference time is the first time reference information, which can indicate the reference time of the control device 1 and the network device.
  • time deviation 2 is the second time reference information, which can represent the time deviation of the reference time of the control device 2 or control device 3 and the reference time of the network device;
  • time deviation 3 is the third time reference information Can represent the time deviation between the reference time of the control device 4 and the reference time of the network device.
  • Step 304 the terminal needs to determine one time reference information from the multiple time reference information as the first time reference information; for a manner in which the terminal determines the first time reference information from the multiple time reference information, see Step 304 is not repeated here.
  • the network device may also send the time reference information of the network device to the terminal, and the time reference information of the network device is used to indicate the reference time of the network device.
  • the embodiment of the present application does not limit the manner in which the network device sends the time reference information of the network device.
  • the network device may send the time reference information of the network device to the terminal in a broadcast manner, or may send the network device to the terminal in a unicast manner.
  • the time reference information, and any method that can send the time reference information of the network device is applicable to the embodiments of the present application.
  • the time reference information of the network device and the time reference information of the network device may be sent separately, or may be sent in a message, which is not limited in the embodiment of the present application.
  • step 604A or 604B may be performed.
  • Step 604A The terminal determines the reference time of the terminal according to the first time reference information.
  • the terminal After receiving the time reference information of the network device and the first time reference information, the terminal may determine the reference time of the terminal according to the first time reference information.
  • the terminal may determine the reference time of the terminal according to the difference between the time deviation indicated by the time deviation cell in the first time reference information and the reference time of the network device; because the time deviation is the first control
  • the time deviation between the reference time of the device and the reference time of the network device, and the reference time of the terminal determined based on the difference between the time deviation indicated by the time deviation cell in the first time reference information and the reference time of the network device should be different from the first
  • the reference time of the control device is the same.
  • the terminal can parse the timestamp in the data packet from the first control device based on the reference time of the terminal, and can determine the time more accurately. Poke the indicated time.
  • Step 604B The terminal corrects the time stamp of the data packet from the first control device according to the first time reference information.
  • the terminal may modify the timestamp of the data packet from the first control device according to the first time reference information. Specifically, the terminal may use the time offset information element in the first time reference information. The sum of the indicated time deviation and the time indicated by the timestamp is used as the corrected timestamp. In this case, the reference time of the terminal is not modified, and remains the same as the reference time of the network device. Because the modified time stamp is based on the time stamp before the correction, the time deviation is increased, and The time deviation between the reference time of the first control device and the reference time of the network device enables the terminal to accurately parse the modified timestamp based on the reference time of the current terminal.
  • the network device may send multiple time reference information to the terminal, and after receiving the multiple time reference information, the terminal determines the first time reference information, and then may determine the reference time or Correct the time stamp in the data packet from the first control device.
  • the terminal determines the first time reference information, and then may determine the reference time or Correct the time stamp in the data packet from the first control device.
  • any time reference information is used to indicate the time deviation between the reference time of the control device and the reference time of the network device, according to the first time reference information and the reference time of the network device
  • the determined reference time of the terminal can be consistent with the reference time of the first control device, so that the holding time of the terminal and the first control device are synchronized; if the terminal corrects the time stamp, the terminal can also compare the corrected time stamp Accurate parsing.
  • Case 2 As shown in FIG. 7, a method for determining a reference time is provided for an embodiment of the application, and the method includes:
  • Step 701 The network device determines first time reference information, where the first time reference information is used to indicate a time deviation between the reference time of the first control device and the reference time of the network device.
  • the network device may determine only the first time reference information. Or in a case where the control device that communicates with the network device has the same reference time, the network device may determine only the first time reference information.
  • the network device may determine only the first time reference information. For the manner in which the network device determines the time offset, refer to the related description in step 301, and details are not described herein again.
  • the first time reference information may include a time deviation information element.
  • the time deviation information element is used to indicate a time deviation between a reference time of the first control device and a reference time of the network device.
  • Information, the first time reference information may include identification cells, or may not include identification cells, which is not limited in this application.
  • step 302 For the description of the time reference cell and the identification cell, refer to the related description in step 302, which is not repeated here.
  • Step 702 The network device sends the first time reference information to the terminal.
  • the network device may send the first time reference information in a broadcast manner, or may send the first time reference information in a unicast manner.
  • step 703A or step 703B may be performed.
  • Step 703A The terminal determines the reference time of the terminal according to the first time reference information.
  • step 604A For a description of the terminal determining the reference time of the terminal according to the first time reference information, refer to step 604A, and details are not described herein again.
  • Step 703B The terminal corrects the time stamp of the data packet from the first control device according to the first time reference information.
  • the terminal corrects the time stamp of the data packet from the first control device according to the first time reference information. For step 604B, details are not described herein again.
  • the terminal is a UE
  • the network device is a UPF entity
  • the control device is a PLC
  • FIG. 7 or FIG. 6 The embodiment shown in FIG. 7 or FIG. 6 is further described below:
  • only one PLC represents one or more PLCs, which is a reference time determination method in this embodiment of the present application.
  • the method includes:
  • Step 801 The UPF entity interacts with the PLC to determine the time offset between the PLC and the UPF entity.
  • Step 802 The UPF entity sends a time offset to the RAN device.
  • Step 803 After receiving the time deviation, the RAN device determines time reference information.
  • Step 804 The RAN device sends time reference information to the UE.
  • Step 805 The RAN device sends the time reference information of the RAN device to the UE, and the time reference information of the RAN device is used to indicate the reference time of the RAN device.
  • This embodiment of the present application does not limit the execution order of steps 804 and 805, and steps 804 and 805 may be performed sequentially or simultaneously.
  • Step 806 After receiving the time reference information, the UE determines the reference time of the UE according to the time reference information and the reference time of the RAN device.
  • a third possible implementation manner is a method for determining a reference time provided by an embodiment of the application.
  • the method includes:
  • Step 901 The network device determines a time deviation between the reference time of the control device and the reference time of the network device.
  • step 301 For the manner in which the network device determines the time offset, refer to the related description in step 301, and details are not described herein again.
  • Step 902 The network device receives a data packet from the control device, and the data packet carries a time stamp.
  • the control device may send a data packet to the terminal through the network device. Specifically, the control device first sends the data packet to the network device. After the network device receives the data packet, it performs step 903.
  • Step 903 The network device corrects the time stamp according to the time deviation.
  • the timestamp indicates the time based on the reference time of the control device.
  • the network device needs to modify the timestamp; Since the reference time of the terminal is consistent with the reference time of the network device, the network device corrects the timestamp according to the time deviation. Specifically, the network device can perform the timestamp according to the sum or difference between the time deviation and the time indicated by the timestamp. The correction uses the sum of the time deviation and the time indicated by the timestamp as the time indicated by the corrected timestamp; after the timestamp is corrected, the network device may perform step 904.
  • Step 904 The network device sends a data packet to the terminal.
  • the data packet includes a modified time stamp.
  • the network device When the network device is a core network device, the network device can send data packets to the terminal through other network devices, such as a RAN device.
  • the network device can send data packets to the terminal through other network devices, such as a RAN device.
  • the RAN device After the network device can send the data packet to the RAN device, the RAN device sends the data packet to the terminal.
  • the network device When the network device is a RAN device, the network device can directly send a data packet to the terminal.
  • the transmission delay may be considered, and the reference time may be corrected by using the transmission delay to further improve the accuracy of the reference time.
  • the network equipment in order to orthogonalize the uplink transmission and reduce intra-cell interference, the network equipment requires that the resources from the same subframe but different frequency domain resources (RB)
  • RB frequency domain resources
  • the time of arrival of signals from different terminals to network devices is basically aligned.
  • Network equipment can correctly decode uplink data when it receives uplink data sent by the terminal within the range of Cyclic Prefix (CP). Therefore, uplink synchronization requires that signals from different terminals in the same subframe arrive at the network equipment.
  • CP Cyclic Prefix
  • the network device sends a downlink signal at time T0, and after a period of transmission, the terminal receives a downlink (download, DL) signal at time T1.
  • the terminal receives an uplink (UL) signal at time T2, and the uplink signal is transmitted to the network device at time T0 after a period of time transmission.
  • the difference between T2 and T1 is the TA value. Assuming that the delays of the uplink and the downlink are the same, the deviation of the transmission delay is estimated to be TA / 2.
  • the accuracy of adjusting the TA of a NR (New Generation Radio Access Technology) or Long Term Evolution (LTE) system cannot reach microsecond or higher accuracy at all subcarrier intervals supported by the wireless system.
  • the format of the TA (timing advance) command Introduce a message used to notify the transmission delay between the network device and the terminal.
  • the transmission delay can be TA / 2.
  • the precision of this value is set according to the precision required by the terminal.
  • the message notifying the transmission delay between the network device and the terminal may be a newly added MAC control element (CE), PDCP control signaling, or RRC signaling.
  • CE MAC control element
  • PDCP control signaling PDCP control signaling
  • RRC Radio Resource Control
  • One implementation is to introduce a new MAC CE to send a higher accuracy TA value.
  • the network side can configure which precision MAC CE the terminal uses to receive the TA value.
  • the type of the MAC may also be indicated by setting an LCE ID.
  • a message for notifying a transmission delay between the network device and the terminal is introduced, for example, the transmission delay may be TA / 2.
  • the precision of this value is set according to the precision required by the terminal.
  • the message notifying the transmission delay between the network device and the terminal may be a newly added MAC control element (CE), PDCP control signaling, or RRC signaling.
  • CE MAC control element
  • PDCP control signaling PDCP control signaling
  • RRC Radio Resource Control
  • FIG. 10B is a schematic diagram of a reference time determination method according to another embodiment of the present application.
  • Step 1001 The network device sends time reference information to the terminal; the terminal receives time reference information sent by the network device.
  • the time reference information may be the above first time reference information, that is, the time reference information of the control device, or may be the time reference information of the network device, that is, the information indicating the reference time of the network device.
  • Step 1002 The network device sends a TA command to the terminal, where the TA command is used to indicate a TA adjustment value or a half (or 1/2) of the TA adjustment value.
  • the network device may determine the TA adjustment value according to information transmitted between the network device and the terminal. Reference may be made to existing methods for determining the TA adjustment value, which is not limited in this application. For example, the network device may determine the TA adjustment value according to a reference signal sent by the terminal, or may determine the TA adjustment value according to a random access preamble.
  • the accuracy of the TA adjustment value is MTs, M is a positive integer less than or equal to 16, Ts is a time unit, and the value is 1 / 30.72 ⁇ s.
  • the network device may also send a TA offset value to the terminal, the accuracy of the TA offset value is NTs, and N is a non-negative integer less than M.
  • the network device sends a TA adjustment value and a TA offset value to the terminal, where the accuracy of the TA adjustment value is less than the accuracy of the TA offset value.
  • the TA offset value may be sent using a MAC CE.
  • an LCH identifier may be set to indicate that the MACCE is used to send a TA offset value, and the TA offset value is used to modify the reference time of the terminal.
  • the TA offset value may be transmitted using PDCP control signaling.
  • a PDU type may be added, that is, an indication field in the PDU is used to indicate that the PDU is used to send a TA offset value, and the TA offset The value is used to modify the reference time of the terminal.
  • the indication field may use an existing indication field in the PDU, and add a value to indicate that the PDU is used to send a TA offset value; or, an indication field may be added to indicate that the PDU is used to send a TA offset value .
  • Step 1003 The terminal determines the reference time of the terminal according to the time reference information and the TA command; or, the terminal determines the reference time of the terminal according to the time reference information, the TA command, and the TA offset value.
  • the terminal determines a reference time according to the time reference signal, adds TA / 2, and adds a TA offset value to determine the reference time of the terminal.
  • the terminal and the network device include a hardware structure and / or a software module corresponding to each function.
  • the embodiments of this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application of the technical solution and design constraints. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the technical solutions of the embodiments of the present application.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • An embodiment of the present application further provides an apparatus for implementing any one of the foregoing reference time determination methods.
  • the embodiment of the present application provides an apparatus including a unit for implementing each step performed by a terminal in any one of the foregoing methods. Or means).
  • An embodiment of the present application further provides another apparatus, including a unit (or means) for implementing each step performed by a network device in any one of the foregoing methods.
  • an embodiment of the present application provides a reference time determining device 1100.
  • the reference time determining device 1100 can be applied to a terminal.
  • FIG. 11 is a schematic structural diagram of a reference time determining device 1100 according to an embodiment of the present application.
  • the device 1100 includes a receiving unit 1101 and a processing unit 1102.
  • the processing unit 1102 is configured to determine the first time reference information from the plurality of time reference information; and determine the reference time of the terminal according to the first time reference information.
  • the time reference information may represent one of the following two types of information:
  • the first, time reference information is used to indicate the reference time of the control device.
  • the first time reference information is used to indicate a reference time of the first control device.
  • any time reference information includes a reference time cell and an identification cell.
  • the reference time cell is used to indicate the reference time of the control device.
  • the identification cell may include some or all of the following information:
  • Control device information clock identification information, time reference information index, time accuracy information.
  • the time reference information is used to indicate a time deviation between the reference time of the control device and the reference time of the network device
  • the first time reference information is used to indicate the time deviation of the reference time of the first control device and the reference time of the network device.
  • any time reference information includes a time deviation cell and an identification cell.
  • the time deviation information element is used to indicate a time deviation between the reference time of the control device and the reference time of the network device.
  • the identification cell may include some or all of the following information:
  • Control device information clock identification information, time reference information index, time accuracy information.
  • the first time reference information may be determined from multiple time reference information according to preset configuration information, or may be referenced from multiple times according to the instruction information of the network device.
  • the first time reference information is determined in the information.
  • the processing unit 1102 determines the first time reference information from a plurality of time reference information according to the instruction information of the network device
  • the receiving unit 1101 in the processing unit 1102 determines Before determining the first time reference information, the indication information may be received from the network device; the indication information is used to indicate the first time reference information, and the plurality of time reference information needs to include the first time reference information.
  • multiple time reference information and indication information may be sent separately or carried in the same message.
  • the instruction information indicates the first time reference information, it may be indicated by carrying part or all of the following information:
  • the index of the device information of the first control device the identification information of the first clock, and the first time reference information.
  • the multiple control devices indicated by the multiple time reference information include a first control device, and the first clock is a clock of the first control device.
  • the receiving unit 1101 may also receive time reference information of the network device.
  • the time reference information is used to indicate the reference time of the network device.
  • the processing unit 1102 may determine the reference time of the terminal according to the first time reference information and the time reference information of the network device.
  • the reference time determining device 1100 when configured to execute the method executed by the terminal in the embodiments shown in FIG. 4, FIG. 5, FIG. 7, and FIG. 8.
  • the receiving unit 1101 is configured to receive first time reference information; the processing unit 1102 is configured to determine a reference time of the terminal according to the first time reference information.
  • the first time reference information does not indicate the reference time of the network device.
  • the first time reference information may be characterized by the following two types of information:
  • the first and first time reference information is used to indicate a reference time of the first control device.
  • the first time reference information includes a reference time cell and an identification cell.
  • the reference time cell is used to indicate a reference time of the first control device.
  • the identification cell may include some or all of the following information:
  • the device information of the first control device the identification information of the first clock, the index of time reference information, and time accuracy information; wherein the first clock is the clock of the first control device.
  • the second and first time reference information is used to indicate a time deviation between the reference time of the first control device and the reference time of the network device.
  • the first time reference information includes a time deviation information element and an identification information element.
  • the time deviation information element is used to indicate a time deviation between the reference time of the first control device and the reference time of the network device.
  • the identification cell may include some or all of the following information:
  • the device information of the first control device the identification information of the first clock, the index of time reference information, and time accuracy information; wherein the first clock is the clock of the first control device.
  • the receiving unit 1101 may also receive time reference information of the network device.
  • the time reference information is used to indicate the reference time of the network device.
  • the processing unit 1102 may determine the reference time of the terminal according to the first time reference information and the time reference information of the network device.
  • the receiving unit 1101 is configured to receive time reference information; and receive a TA command.
  • the processing unit 1102 is configured to determine the reference time of the terminal according to the time reference information and the TA command; or, the terminal determines the reference time of the terminal according to the time reference information, the TA command, and the TA offset value.
  • an embodiment of the present application further provides a reference time determining device 1200.
  • the reference time determining device 1200 can be applied to a network device.
  • FIG. 12 is a schematic structural diagram of a reference time determining device 1200 according to an embodiment of the present application. Referring to FIG. 12, the device 1200 includes a processing unit 1201 and a sending unit 1202.
  • the processing unit 1201 may be configured to execute any one of the following two types: :
  • the processing unit 1201 is configured to determine multiple time deviations, and any time deviation represents a time difference between a reference time of at least one control device and a reference time of a network device; and for any time deviation, according to the time deviation and The reference time of the network device determines a time reference information, wherein any time reference information indicates a reference time of at least one control device.
  • the processing unit 1201 is configured to determine a plurality of time reference information, and any time reference information indicates a time deviation between a reference time of at least one control device and a reference time of a network device.
  • the sending unit 1202 is configured to send multiple time reference information to the terminal.
  • the reference information at any time has the following two representation modes:
  • the time reference information is used to indicate the reference time of the control device, and the first time reference information indicates the reference time of the first control device.
  • any time reference information includes a reference time cell and an identification cell.
  • the reference time cell is used to indicate the reference time of the control device.
  • the identification cell may include some or all of the following information:
  • Control device information clock identification information, time reference information index, time accuracy information.
  • the time reference information is used to indicate a time deviation between the reference time of the control device and the reference time of the network device, and the first time reference information indicates the reference time of the first control device and the The time deviation of the reference time.
  • any time reference information includes a time deviation cell and an identification cell.
  • the time deviation information element is used to indicate a time deviation between the reference time of the control device and the reference time of the network device.
  • the identification cell may include some or all of the following information:
  • Control device information clock identification information, time reference information index, time accuracy information.
  • the sending unit 1202 is further configured to send indication information to the terminal, where the indication information is used to indicate the first time reference information, and the multiple time reference information needs to include the first time reference information.
  • multiple time reference information and indication information may be sent separately or carried in the same message.
  • the instruction information indicates the first time reference information, it may be indicated by carrying part or all of the following information:
  • the device information of the first control device the identification information of the first clock, and the index of the first time reference information; wherein the first clock is the clock of the first control device.
  • the multiple control devices indicated by the multiple time reference information include a first control device, and the first clock is a clock of the first control device.
  • the sending unit 1202 may also send the time reference information of the network device to the terminal.
  • the device's time reference information is used to indicate the reference time of the network device.
  • the processing unit 1201 may be configured to execute any one of the following two types: :
  • the processing unit 1201 is configured to determine a time deviation, and the time deviation represents a time difference between a reference time of the first control device and a reference time of the network device; and determine the first time reference information according to the time deviation and the reference time of the network device The first time reference information is used to indicate a reference time of the first control device.
  • the processing unit 1201 is configured to determine first time reference information, and the first time reference information is used to indicate a time deviation between a reference time of the first control device and a reference time of the network device.
  • the sending unit 1202 is configured to send the first time reference information to the terminal.
  • the first time reference information has the following two representation modes:
  • the first time reference information is used to indicate a reference time of the first control device.
  • the first time reference information includes a reference time cell and an identification cell.
  • the reference time cell is used to indicate a reference time of the first control device.
  • the identification cell may include some or all of the following information:
  • the device information of the first control device the identification information of the first clock, the index of the first time reference information, and time accuracy information; wherein the first clock is the clock of the first control device.
  • the first time reference information is used to indicate a time deviation between the reference time of the first control device and the reference time of the network device.
  • the first time reference information includes a time deviation information element and an identification information element.
  • the time deviation cell is used to indicate a time deviation between the reference time of the first control device and the reference time of the network device.
  • the identification cell may include some or all of the following information:
  • the device information of the first control device the identification information of the first clock, the index of time reference information, and time accuracy information; wherein the first clock is the clock of the first control device.
  • the sending unit 1202 may further send the time of the network device to the terminal.
  • Reference information The time reference information of the network device is used to indicate the reference time of the network device.
  • the reference application determination device may further include a receiving unit 1203.
  • the processing unit 1201 is configured to determine a time deviation between the reference time of the control device and the reference time of the network device.
  • the receiving unit 1203 is configured to receive a data packet from the control device, and the data packet carries a time stamp.
  • the processing unit 1201 is further configured to correct the timestamp according to the time offset.
  • the sending unit 1202 is configured to send a data packet to the terminal, and the data packet includes a modified time stamp.
  • the sending unit 1202 is configured to send time reference information to the terminal; and send a TA command to the terminal.
  • the processing unit 1201 is configured to determine the time reference information.
  • the method used by the processing unit 1201 to determine the time reference information refer to the manner in which the network device determines the time reference information in any of the foregoing method embodiments, and details are not described herein again.
  • the processing unit 1201 is further configured to determine a TA adjustment value according to information transmitted between the network device and the terminal.
  • each unit in the above device can be a separately established processing element, or it can be integrated and implemented in a certain chip of the device.
  • it can also be stored in the form of a program in the memory and called and executed by a certain processing element of the device.
  • all or part of these units can be integrated together or can be implemented independently.
  • the processing element here can become a processor, which can be an integrated circuit with signal processing capabilities.
  • each step of the above method or each of the above units may be implemented by an integrated logic circuit of hardware in a processor element or in a form called by software through a processing element.
  • the unit in any of the above devices may be one or more integrated circuits configured to implement the above method, for example: one or more application-specific integrated circuits (ASICs), or, one or Multiple microprocessors (DSPs), or one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
  • ASICs application-specific integrated circuits
  • DSPs Multiple microprocessors
  • FPGAs field programmable gate arrays
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or another processor that can call a program.
  • CPU central processing unit
  • these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • the above unit for receiving is an interface circuit of the device for receiving signals from other devices.
  • the receiving unit is an interface circuit that the chip uses to receive signals from other chips or devices.
  • the above unit for sending is an interface circuit of the device for sending signals to other devices.
  • the sending unit is an interface circuit that the chip uses to send signals to other chips or devices.
  • the network device exchanges information with the terminal through an interface protocol with the terminal, for example, sends multiple time reference information or first time reference information; the wireless connection between the network device and the terminal, and the network device exchanges information with the terminal through the wireless interface, For example, sending multiple time reference information or first time reference information.
  • FIG. 13 is a schematic structural diagram of a terminal according to an embodiment of the present application. It may be the terminal in the above embodiments, and is used to implement the operation of the terminal in the above embodiments.
  • the terminal includes: an antenna 1301, a radio frequency portion 1302, and a signal processing portion 1303.
  • the antenna 1301 is connected to the radio frequency part 1302.
  • the radio frequency part 1302 receives the information sent by the network device through the antenna 1301, and sends the information sent by the network device to the signal processing part 1303 for processing.
  • the signal processing section 1303 processes the information of the terminal and sends it to the radio frequency section 1302.
  • the radio frequency section 1302 processes the information of the terminal and sends it to the network device via the antenna 1301.
  • the signal processing section 1303 may include a modulation and demodulation subsystem to implement processing of each communication protocol layer of the data; it may also include a central processing subsystem to implement processing of the terminal operating system and the application layer; in addition, it may also include Other subsystems, such as multimedia subsystem, peripheral subsystem, etc. Among them, the multimedia subsystem is used to control the terminal camera and screen display, and the peripheral subsystem is used to achieve connection with other devices.
  • the modem subsystem can be a separately set chip.
  • the above device for a terminal may be located in the modem subsystem.
  • the modem subsystem may include one or more processing elements 13031, for example, including a main control CPU and other integrated circuits.
  • the modulation and demodulation subsystem may further include a storage element 13032 and an interface circuit 13033.
  • the storage element 13032 is used to store data and programs, but the program for executing the method executed by the terminal in the above method may not be stored in the storage element 13032, but stored in a memory other than the modem subsystem, and used When the modem subsystem is loaded and used.
  • the interface circuit 13033 is used to communicate with other subsystems.
  • the above device for a terminal may be located in a modem subsystem.
  • the modem subsystem may be implemented by a chip.
  • the chip includes at least one processing element and an interface circuit, and the processing element is configured to execute any method performed by the terminal.
  • Each step of the interface circuit is used to communicate with other devices.
  • the unit that the terminal implements each step in the above method may be implemented in the form of a processing element scheduler.
  • a device applied to a terminal includes a processing element and a storage element, and the processing element calls a program stored by the storage element to execute the above.
  • the storage element may be a storage element whose processing element is on the same chip, that is, an on-chip storage element.
  • the program for executing the method executed by the terminal in the above method may be a storage element on a different chip from the processing element, that is, an off-chip storage element.
  • the processing element calls or loads the program from the off-chip storage element to the on-chip storage element to call and execute the method executed by the terminal in the foregoing method embodiments.
  • a unit applied to a terminal to implement each step in the above method may be configured as one or more processing elements, and these processing elements are provided on a modulation and demodulation subsystem.
  • the processing elements here may be Integrated circuits, for example: one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
  • the unit that implements each step in the above method in the terminal may be integrated together and implemented in the form of a system-on-a-chip (SOC), which is used to implement the above method.
  • SOC system-on-a-chip
  • At least one processing element and storage element may be integrated in the chip, and the method executed by the above terminal may be implemented by the processing element calling the stored program of the storage element; or, at least one integrated circuit may be integrated in the chip to implement the above terminal execution.
  • the functions of some units are implemented in the form of a program called by a processing element, and the functions of some units are implemented in the form of an integrated circuit.
  • the above apparatus applied to a terminal may include at least one processing element and an interface circuit, where at least one processing element is configured to execute any method performed by the terminal provided by the foregoing method embodiments.
  • the processing element may execute a part or all of the steps executed by the terminal in a manner of calling the program stored in the storage element in a first manner; or a method of integrating the logic of the hardware in the processor element with the instruction in a second manner: Some or all of the steps performed by the terminal are performed in a manner; of course, some or all of the steps performed by the terminal may also be performed in combination with the first and second methods.
  • the processing elements here are the same as described above, and may be general-purpose processors, such as a CPU, or one or more integrated circuits configured to implement the above methods, such as: one or more ASICs, or one or more micro-processing Processor DSP, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
  • general-purpose processors such as a CPU
  • integrated circuits configured to implement the above methods, such as: one or more ASICs, or one or more micro-processing Processor DSP, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
  • a storage element may be a single memory or a collective term for multiple storage elements.
  • FIG. 14 is a schematic structural diagram of a network device according to an embodiment of the present application. It is used to implement the operation of the network device in the above embodiments.
  • the network device includes: an antenna 1401, a radio frequency device 1402, and a baseband device 1403.
  • the antenna 1401 is connected to the radio frequency device 1402.
  • the radio frequency device 1402 receives the information sent by the terminal through the antenna 1401, and sends the information sent by the terminal to the baseband device 1403 for processing.
  • the baseband device 1403 processes the information of the terminal and sends it to the radio frequency device 1402.
  • the radio frequency device 1402 processes the information of the terminal and sends it to the terminal via the antenna 1401.
  • the baseband device 1403 may include one or more processing elements 14031, for example, including a main control CPU and other integrated circuits.
  • the baseband device 1403 may further include a storage element 14032 and an interface circuit 14033.
  • the storage element 14032 is used to store programs and data.
  • the interface circuit 14033 is used to exchange information with the radio frequency device 1402.
  • the interface circuit is, for example, a common public wireless interface (common public interface (CPRI).
  • CPRI common public interface
  • the above device applied to the network device may be located in the baseband device 1403.
  • the above device applied to the network device may be a chip on the baseband device 1403.
  • the chip includes at least one processing element and an interface circuit, where the processing element is used to execute the above network.
  • the device executes each step of any method, and the interface circuit is used to communicate with other devices.
  • the unit that the network device implements each step in the above method may be implemented in the form of a processing element scheduler.
  • a device applied to a network device includes a processing element and a storage element, and the processing element calls a program stored by the storage element to The method performed by the network device in the foregoing method embodiment is performed.
  • the storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element, or a storage element on a different chip from the processing element, that is, an off-chip storage element.
  • a unit applied to a network device to implement each step in the above method may be configured as one or more processing elements, which are disposed on a baseband device, and the processing elements herein may be integrated circuits.
  • the processing elements herein may be integrated circuits.
  • a unit that implements each step in the above method of a network device may be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • a baseband device includes the SOC chip to implement the above method.
  • At least one processing element and storage element may be integrated in the chip, and the method executed by the above network device may be implemented by the processing element calling a stored program of the storage element; or, at least one integrated circuit may be integrated in the chip to implement the above network
  • the method executed by the device or, in combination with the above implementation manner, the functions of some units are implemented in the form of a program called by a processing element, and the functions of some units are implemented in the form of an integrated circuit.
  • the above apparatus applied to a network device may include at least one processing element and an interface circuit, where at least one processing element is configured to execute any method performed by the network device provided by the foregoing method embodiment.
  • the processing element can execute some or all of the steps performed by the network device in the first way: by calling a program stored by the storage element; or in the second way: by using the integrated logic circuit of the hardware in the processor element to combine instructions
  • Some or all of the steps performed by the network device are performed in the manner described above; of course, some or all of the steps performed by the above network device may also be performed in combination with the first and second methods.
  • the processing elements here are the same as described above, and may be general-purpose processors, such as a CPU, or one or more integrated circuits configured to implement the above methods, such as: one or more ASICs, or one or more micro-processing Processor DSP, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
  • general-purpose processors such as a CPU
  • integrated circuits configured to implement the above methods, such as: one or more ASICs, or one or more micro-processing Processor DSP, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
  • a storage element may be a single memory or a collective term for multiple storage elements.
  • FIG. 15 is a schematic structural diagram of another network device according to an embodiment of the present application. It may be the network device in the above embodiment, and is used to implement the operation of the network device in the above embodiment.
  • the network device includes a processor 1510, a memory 1520, and an interface 1530, and the processor 1510, the memory 1520, and the interface 1530 are signally connected.
  • the above reference time determining device is located in the network device, and the functions of each unit may be implemented by the processor 1510 calling a program stored in the memory 1520. That is, the above reference time determination device includes a memory and a processor. The memory is used to store a program, and the program is called by the processor to execute the method in the foregoing method embodiment.
  • the processor here may be an integrated circuit having a signal processing capability, such as a CPU. Or the functions of the above units may be implemented by one or more integrated circuits configured to implement the above method. For example: one or more ASICs, or one or more microprocessor DSPs, or one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Alternatively, the above implementations can be combined.
  • this application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

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

Abstract

一种参考时间确定方法及装置,用以解决现有技术中由于终端的参考时间与控制设备的参考时间不一致,导致控制指令执行的时间存在差异的问题。本申请实中终端可以接收网络设备发送的多个时间参考信息;终端在从网络设备接收到指示信息,终端可以根据指示信息从多个时间参考信息中选择时间参考信息作为第一时间参考信息,指示信息的作用是指示第一时间参考信息;在确定了第一时间参考信息之后,终端可以根据第一时间参考信息确定终端的参考时间。使得终端的参考时间可以与控制设备的参考时间一致,进而可以使得终端在确定的指令执行的时间与控制设备预期的时间的时间差异减少。

Description

一种参考时间确定方法及装置
相关申请的交叉引用
本申请要求在2018年09月27日提交中国专利局、申请号为201811133717.8、申请名称为“一种参考时间确定方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种参考时间确定方法及装置。
背景技术
随着工业自动化的发展,工业机器人被广泛的应用于生产线中,用以实现智能制造。比如,控制设备可以通过无线网络向各个工业机器人发送控制指令,以使得各个工业机器可以在预设的时刻执行控制指令,完成设定的动作;而在大多数的智能制造场景中,多个工业机器人是需要协同工作的,以保证可以共同完成统一的动作;例如在工业控制的车间场景内,需要多个工业机器人一起在某个时间同时动作,来组装某一个零件,协作的多个工业机器人需要在某个绝对时间点执行预先定义好的一些动作,互相配合,来完成整个组装过程。其中,任何一个工业机器人对时间的认知与其他机器人不相同,就会导致中间某个动作的发起时刻错误,会导致组装过程的失败,甚至会损坏零件。因此需要各个协作的工业机器人对时间的认知要一致,要求协作的工业机器人之间的绝对时间要同步,即机器人之间的时间同步需求。
鉴于无线通信技术中低时延、高可靠性的优点,无线网络中的网络设备可以使工业机器人均与网络设备保持时间同步,如此可以保证各个工业机器人对参考时间是统一的,且与网络设备保持一致。由工业机器人、网络侧设备以及控制设备构成的生产系统中,网络设备以及控制设备的参考时间可能不同,网络设备的参考时间和控制设备的参考时间存在时间偏差;控制设备发送的控制指令中执行动作的时刻应为控制设备参考时间下的时刻,而当控制指令通过网络设备发送到工业机器人后,工业机器人只能以与网络设备同步的参考时间为基础,执行控制指令;使得工业机器人不能如期执行控制指令,导致控制指令执行的时间存在差异。
综上,现有的生产系统中,由于终端的参考时间与控制设备的参考时间不一致,导致控制指令执行的时间存在差异。
发明内容
本申请提供一种参考时间确定方法及装置,用以解决现有技术中由于终端的参考时间与控制设备的参考时间不一致,导致控制指令执行的时间存在差异的问题。
第一方面,本申请实施例提供了一种参考时间确定方法,该方法可以应用于终端,或者也可以应用于终端内部的芯片,在该方法包括:终端可以接收网络设备发送的多个时间参考信息;终端在从网络设备接收到指示信息,终端可以根据指示信息从多个时间参考信 息中选择时间参考信息作为第一时间参考信息,指示信息的作用是指示第一时间参考信息;在确定了第一时间参考信息之后,终端可以根据第一时间参考信息确定终端的参考时间。
可见,在第一方面,终端可以根据网络设备的指示信息从接收到多个时间参考信息中确定第一时间参考信息,之后,可以根据第一时间参考信息确定终端的参考时间,使得终端的参考时间可以与控制设备的参考时间一致,进而可以使得终端在确定的指令执行的时间与控制设备预期的时间的时间差异减少。
一种可能的设计中,多个时间参考信息中的一个时间参考信息可以指示至少一个控制设备的参考时间,相应的,多个时间参考信息中包括第一时间参考信息,第一时间参考信息指示第一控制设备的参考时间;通过上述方法,终端可以通过时间参考信息确定至少一个控制设备的参考时间,进一步,可以使得终端的参考时间能够与控制设备的参考时间相同。
一种可能的设计中,时间参考信息可以通过携带的信元指示控制设备的参考时间。比如,时间参考信息中可以包括参考时间信元和标识信元。参考时间信元可以携带控制设备的参考时间的具体时间值;标识信元可以包括下列信息的部分或全部:控制设备的设备信息、时钟的标识信息、时间参考信息的索引。通过上述方法,时间参考信息可以通过携带的信元较为灵活、简便的指示至少一个控制设备的参考时间。
一种可能的设计中,多个时间参考信息中的时间参考信息还可以指示控制设备的参考时间与网络设备的参考时间的时间偏差,相应的,多个时间参考信息中包括第一时间参考信息,第一时间参考信息指示第一控制设备的参考时间与网络设备的参考时间的时间偏差;通过上述方法,终端可以通过时间参考信息确定至少一个控制设备的参考时间网络设备的参考时间的时间偏差,进一步,可以使得终端的参考时间能够与控制设备的参考时间相同。
一种可能的设计中,终端还可以从网络设备接收网络设备的时间参考信息,其中,网络设备的时间参考信息指示的是网络设备的参考时间。
一种可能的设计中,在多个时间参考信息中的时间参考信息还可以指示控制设备的参考时间与网络设备的参考时间的时间偏差的情况下,终端可以根据第一时间参考信息和网络设备的时间参考信息,确定终端的参考时间;通过上述方法,终端可以通过第一控制设备的参考时间与网络设备的参考时间的时间偏差、和网络设备的参考时间的和值较为方便、快捷的确定终端的参考时间。
一种可能的设计中,时间参考信息可以通过携带的信元指示控制设备的参考时间与网络设备的参考时间的时间偏差。比如,时间参考信息中可以包括时间偏差信元和标识信元。时间偏差信元可以携带时间偏差的具体时间值。标识信元可以包括下列信息的部分或全部:控制设备的设备信息、时钟的标识信息、时间参考信息的索引。通过上述方法,时间参考信息可以通过携带的信元较为灵活、简便的指示至少一个控制设备的参考时间与网络设备的参考时间的时间偏差。
一种可能的设计中,多个时间参考信息和指示信息可以分别放置在不同的消息中,也可以携带在一个消息中。
一种可能的设计中,指示信息在指示第一时间参考信息时,可以包括如下的部分或全部:第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引,其中,第一时钟为第一控制设备的时钟。
第二方面,本申请实施例提供了一种参考时间确定方法,该方法可以应用于终端,或 者也可以应用于终端内部的芯片,在该方法包括:终端可以先获取第一时间参考信息,第一时间参考信息指示的并不是网络设备的参考时间,终端在获取了第一时间参考信息后,可以根据第一参考时间指示的第一参考时间确定终端的参考时间。
可见,在第二方面,终端在获取了第一时间参考信息,之后,可以自行根据第一时间参考信息确定终端的参考时间,使得终端的参考时间可以与第一时间参考信息指示的时间保持一致,进而可以减少终端在确定的指令执行的时间与控制设备预期的时间的时间差异。
一种可能的设计中,终端在获取第一时间参考信息时,可以是从网络设备只接收到第一时间参考信息;也可以是从网络设备接收多个时间参考信息,再从多个时间参考信息中选择时间参考信息作为第一时间参考信息,也就是说,多个时间参考信息中包括第一时间参考信息。通过上述方法,终端可以方便、灵活的自行从多个时间参考信息确定第一时间参考信息,进而,使得终端可以较为高效的根据第一时间参考信息确定终端的参考时间。
一种可能的设计中,终端也可以从网络设备接收指示信息,指示信息指示的第一时间参考信息,在终端从网络设备接收多个时间参考信息的情况下,可以根据指示信息确定第一时间参考信息。
一种可能的设计中,第一时间参考信息可以指示第一控制设备的参考时间;在终端从网络设备接收多个时间参考信息的情况下,多个时间参考信息中的一个时间参考信息可以指示至少一个控制设备的参考时间,相应的,多个时间参考信息中包括第一时间参考信息。
一种可能的设计中,第一时间参考信息可以通过携带的信元指示第一控制设备的参考时间。比如,第一时间参考信息中可以包括参考时间信元和标识信元。参考时间信元可以携带第一控制设备的参考时间的具体时间值;标识信元可以包括下列信息的部分或全部:第一控制设备的设备信息,第一时钟的标识信息,或第一时间参考信息的索引。通过上述方法,第一时间参考信息可以通过携带的信元较为灵活、简便的指示第一控制设备的参考时间。
一种可能的设计中,第一时间参考信息可以指示第一控制设备的参考时间和网络设备的参考时间的时间偏差;在终端从网络设备接收多个时间参考信息的情况下,多个时间参考信息中的时间参考信息还可以指示控制设备的参考时间与网络设备的参考时间的时间偏差,相应的,多个时间参考信息中包括第一时间参考信息。
一种可能的设计中,第一时间参考信息可以通过携带的信元指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。比如,第一时间参考信息中可以包括时间偏差信元和标识信元。时间偏差信元可以携带第一控制设备的参考时间与网络设备的参考时间的时间偏差的具体时间值;标识信元可以包括下列信息的部分或全部:第一控制设备的设备信息,第一时钟的标识信息,或第一时间参考信息的索引。通过上述方法,第一时间参考信息可以通过携带的信元较为灵活、简便的指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
一种可能的设计中,终端还可以从网络设备接收网络设备的时间参考信息,其中,网络设备的时间参考信息指示的是网络设备的参考时间。
一种可能的设计中,在第一时间参考信息中的时间参考信息指示第一控制设备的参考时间与网络设备的参考时间的时间偏差的情况下,终端可以根据第一时间参考信息和网络设备的时间参考信息,确定终端的参考时间;通过上述方法,终端可以通过第一控制设备的参考时间与网络设备的参考时间的时间偏差、和网络设备的参考时间的和值较为方便、 快捷的确定终端的参考时间。
一种可能的设计中,多个时间参考信息和指示信息可以分别放置在不同的消息中,也可以携带在一个消息中。
一种可能的设计中,指示信息在指示第一时间参考信息时,可以包括如下的部分或全部:第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引,其中,第一时钟为第一控制设备的时钟。
一种可能的设计中,指示信息在指示第一时间参考信息时,可以包括如下的部分或全部:第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引,其中,第一时钟为第一控制设备的时钟。
第三方面,本申请实施例提供了一种参考时间确定方法,该方法可以应用于网络设备,或者也可以应用于网络设备内部的芯片,在该方法包括:网络设备先确定时间偏差,时间偏差表征的是控制设备的参考时间与网络设备的参考时间的时间差值;若网络设备接收到来自控制设备的数据包,数据包中携带时间戳;网络设备可以根据时间偏差,对时间戳进行修正;之后,网络设备将携带了修正后的时间戳了的数据包发送给终端设备。
可见,在第三方面,网络设备可以根据时间偏差对来自控制设备的数据包中的时间戳进行修正,使得终端接收到数据包时,终端可以基于终端的参考时间对修正后的时间戳进行正确的解析,进而,能够有效减少指令执行的时间与控制设备预期的时间之间的时间差异。
第四方面,本申请提供一种数据处理装置,包括:包括用于执行以上第一方面、第二方面或第三方面各个步骤的单元或手段(means)。
第五方面,本申请提供一种参考时间确定装置,包括至少一个处理器,用于与存储器连接,读取并执行存储器中的程序以执行以上第一方面、第二方面或第三方面提供的方法。
第六方面,本申请提供一种参考时间确定装置,包括至少一个处理器和接口电路,至少一个处理器通过接口电路与其它装置通信,并用于执行以上第一方面、第二方面或第三方面提供的方法。
第七方面,本申请提供一种参考时间确定程序,该程序在被处理器执行时用于执行以上第一方面、第二方面或第三方面的方法。
第八方面,提供一种程序产品,例如计算机可读存储介质,包括第七方面的程序。
附图说明
图1为本申请实施例提供的一种通信系统的示意图;
图2A为本申请实施例提供的一种网络架构的示意图;
图2B为本申请实施例提供的另一种网络架构的示意图;
图3~图9为本申请提供的一种参考时间确定方法示意图;
图10A为本申请提供的一种确定TA的方法示意图;
图10B为本申请提供的另一种参考时间确定方法示意图;
图11~图12为本申请提供的一种参考时间确定装置的结构示意图;
图13为本申请提供的一种终端的结构示意图;
图14为本申请提供的一种网络设备的结构示意图;
图15为本申请提供的另一种网络设备的结构示意图。
具体实施方式
首先,对本申请中的部分用语进行说明,以便使本领域技术人员理解。
1、终端,又称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。
2、网络设备是无线网络中的设备,例如将终端接入到无线网络的无线接入网(radio access network,RAN)节点。目前,一些RAN节点的举例为:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。在一种网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点的RAN设备。又例如网络设备可以为所述终端提供业务支持的核心网(core network,CN)设备,常见的核心网设备有接入和移动性管理功能(access and mobility management function,AMF)实体、会话管理功能(session management function,SMF)实体、用户面功能(user plane function,UPF)实体等等,此处不一一列举。
其中,所述AMF实体负责终端的接入管理和移动性管理;所述SMF实体负责会话管理,如用户的会话建立等;所述UPF实体是用户面的功能实体,主要负责连接外部网络。
无论是RAN设备还是CN设备均可以作为所述网络设备,执行本申请实施例中网络设备执行的方法。
3、“多个”是指两个或两个以上,其它量词与之类似。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
4、控制设备,为通过无线网络与所述终端通信的设备,所述控制设备可以是可编程逻辑控制器(programmable logic controller,PLC),控制设备可以通过无线网络向终端发送数据包,例如,所述数据包中可以包括动作执行指令和时间戳,所述时间戳用于指示执行动作的时间,所述执行动作的时间可以具体到年、月、日、时、分、秒,也就是说,执行动作的时间可以具体到某一天的某一个时刻。具体的指示方式本申请实施例并不限定。
5、时间参考信息,在本申请实施例中,所述时间参考信息具体可以分为两种,一种是用于指示所述控制设备的参考时间的时间参考信息;另一种是用于指示所述控制设备的参考时间与网络设备参考时间的时间偏差的时间参考信息;具体的指示方式可以是通过携 带信元的方式,如参考时间信元或时间偏差信元;参考时间信元指示控制设备的参考时间,时间偏差信元指示控制设备的参考时间与网络设备参考时间的时间偏差。
一个时间参考信息对应的是一个控制设备的参考时间或一个控制设备的参考时间与网络设备参考时间的时间偏差。当存在多个控制设备时,则存在多个时间参考信息,每一个时间参考信息对应其中一个控制设备的参考时间或一个控制设备的参考时间与网络设备参考时间的时间偏差。或者,一个时间参考信息可以对应多于一个控制设备的参考时间,或者多于一个控制设备的参考时间与网络设备参考时间的时间偏差,且这些控制设备的参考时间相同。
需要说明的是,本申请实施例中所涉及的时间概念(如控制设备的参考时间、网络设备的参考时间、终端的参考时间等)是以年、月、日、时、分、秒甚至更小的时间单元计量的一个时刻概念。
6、参考时间、时钟(clock),在本申请实施例中不区分参考时间和时钟的概念,可以将参考时间和时钟看做是等同的概念,以控制设备的参考时间为例,对参考时间的概念进行说明,控制设备的参考时间是指控制设备执行动作或确定时间戳的时间参考,是控制设备衡量时间的基准;不同的设备的参考时间不同,如控制设备的参考时间与网络设备的参考时间可能不同,如需要记录当前的时刻,在控制设备的参考时间的基准下的记录的时刻可能与在网络设备的参考时间的基准下记录的时刻不同,类似如北京时间下记录的时刻和伦敦时间下记录的时刻不同。参考时间不同可以是时间的精度不同。例如,控制设备的参考时间的精度是1微妙,网络设备提供参考时间的精度是1ms。参考时间精度不同的原因可能是来自不同的时钟源的提供的时间精度不同。
终端由于会与无线网络保持时间同步,终端的参考时间是网络设备的参考时间是一致的。例如,终端从网络设备发送的时间参考信息确定终端的参考时间。
7、时间偏差,在本申请实施例中,当两个设备的参考时间不同,两个设备的参考时间之间就存在差值,该差值称为时间偏差,时间偏差可以看做一个时间段,在本申请实施例涉及的时间偏差为控制设备的参考时间与网络设备的参考时间的时间偏差,控制设备的参考时间减去网络设备的参考时间的值为时间偏差,时间偏差可以是正值,表示控制设备的参考时间比网络设备的参考时间快;时间偏差也可以是负值,表示控制设备的参考时间比网络设备的参考时间慢。或者,控制设备的参考时间与网络设备的参考时间的时间偏差可以为网络设备的参考时间减去控制设备的参考时间的值,时间偏差可以是负值,表示控制设备的参考时间比网络设备的参考时间快;时间偏差也可以是正值,表示控制设备的参考时间比网络设备的参考时间慢。
8、时间精度,时间精度可以指示时间的最小单位,如时间精度为秒、微妙、毫秒等;不同时间精度的时间是不同的,表现在时间的最小单位存在差别;在本申请实施例中时间精度较大是指时间的最小单位较大,表征的是一种粗粒度的时间,时间精度较小是指时间的最小单位较小,表征的是一种精细粒度的时间。
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。
如图1所示,其为本申请实施例提供的一种通信系统的示意图。终端130接入到无线网络,以通过无线网络获取外网(例如因特网)的服务,或者通过无线网络与其它设备通信,如可以与控制设备通信。该无线网络包括RAN110和CN120,其中RAN110用于将终 端130接入到无线网络,CN120用于对终端进行管理并提供与外网通信的网关。
CN120中可以包括多个CN设备,如AMF实体、UPF实体、或SMF实体等。或者CN120中可以包括移动性管理实体(mobility management entity,MME)和服务网关(serving gateway,S-GW)。
尽管未示出,如1图所示的通信系统中还可以包括控制设备,控制设备可以通过无线网络中的RAN110和CN120向终端130发送数据包。
请参考图2A,其为本申请实施例提供的一种网络架构的示意图。如图2A所示,该网络架构包括CN设备和RAN设备。其中RAN设备包括基带装置和射频装置,其中基带装置可以由一个节点实现,也可以由多个节点实现,射频装置可以从基带装置拉远独立实现,也可以集成基带装置中,或者部分拉远部分集成在基带装置中。例如,在长期演进(Long Term Evolution,LTE)通信系统中,RAN设备(eNB)包括基带装置和射频装置,其中射频装置可以相对于基带装置拉远布置,例如射频拉远单元(remote radio unit,RRU)相对于BBU拉远布置。
RAN设备和终端之间的通信遵循一定的协议层结构。例如控制面协议层结构可以包括无线资源控制(radio resource control,RRC)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理层等协议层的功能。用户面协议层结构可以包括PDCP层、RLC层、MAC层和物理层等协议层的功能;在一种实现中,PDCP层之上还可以包括业务数据适配(service data adaptation protocol,SDAP)层。
RAN设备可以由一个节点实现无线资源控制(radio resource control,RRC)、分组数据汇聚层协议(packet data convergence protocol,PDCP)、无线链路控制(radio link control,RLC)、和媒体接入控制(media access control,MAC)等协议层的功能;或者可以由多个节点实现这些协议层的功能;例如,在一种演进结构中,RAN设备可以包括集中单元(centralized unit,CU)和分布单元(distributed unit,DU),多个DU可以由一个CU集中控制。如图2A所示,CU和DU可以根据无线网络的协议层划分,例如PDCP层及以上协议层的功能设置在CU,PDCP以下的协议层,例如RLC层和MAC层等的功能设置在DU。
这种协议层的划分仅仅是一种举例,还可以在其它协议层划分,例如在RLC层划分,将RLC层及以上协议层的功能设置在CU,RLC层以下协议层的功能设置在DU;或者,在某个协议层中划分,例如将RLC层的部分功能和RLC层以上的协议层的功能设置在CU,将RLC层的剩余功能和RLC层以下的协议层的功能设置在DU。此外,也可以按其它方式划分,例如按时延划分,将处理时间需要满足时延要求的功能设置在DU,不需要满足该时延要求的功能设置在CU。
此外,射频装置可以拉远,不放在DU中,也可以集成在DU中,或者部分拉远部分集成在DU中,在此不作任何限制。
请继续参考图2B,相对于图2A所示的架构,还可以将CU的控制面(CP)和用户面(UP)分离,分成不同实体来实现,分别为控制面CU实体(CU-CP实体)和用户面CU实体(CU-UP实体)。
在以上网络架构中,CU产生的信令可以通过DU发送给终端,或者终端产生的信令可以通过DU发送给CU。DU可以不对该信令进行解析而直接通过协议层封装而透传给终端或CU。以下实施例中如果涉及这种信令在DU和终端之间的传输,此时,DU对信令的 发送或接收包括这种场景。例如,RRC或PDCP层的信令最终会处理为PHY层的信令发送给终端,或者,由接收到的PHY层的信令转变而来。在这种架构下,该RRC或PDCP层的信令,即也可以认为是由DU发送的,或者,由DU和射频发送的。
在以上实施例中CU划分为RAN侧的网络设备,此外,也可以将CU划分为CN侧的网络设备,在此不做限制。
本申请以下实施例中的装置,根据其实现的功能,可以位于终端或网络设备。当采用以上CU-DU的结构时,网络设备可以为CU节点、或DU节点、或包括CU节点和DU节点的RAN设备。
以如图1所示的通信系统为例,当控制设备需要向终端发送数据包时,控制设备会先将数据包发送给RAN设备,之后由RAN设备转发给终端,控制设备发送的数据包中包括时间戳,时间戳用于指示一个具体时间,例如,数据包可以为一个控制指令,则数据包中的时间戳用于表示执行控制指令的时间,但数据包中的时间戳是以控制设备的参考时间为基准设置的,当终端接收到数据包后,终端在解析数据包中的时间戳时,是以终端的参考时间为基准的,若终端的参考时间与控制设备的参考时间不一致,则会导致终端对数据包中的时间戳的解析存在误差,也就是会使得执行控制指令的时刻会比控制设备预期的时刻超前或退后,使得终端无法按照控制设备的预期执行控制指令;除此之外,在具体的实施中,终端实际上会接收到多个来自不同控制设备的数据包,也就是说,终端会受到多个不同的控制设备的控制,基于现有终端对数据包中时间戳的解析方式,终端也都是均以终端的参考时间为基准的,而不同的控制设备的参考时间一般是不同的,不同的控制设备的参考时间与终端的参考时间也不一定相同,使得终端对来自不同的控制设备的数据包中的时间戳的解析均会存在误差。
当终端与无线网络中的RAN设备时间同步的情况下,终端的参考时间与RAN设备的参考时间是保持一致的。可选的,无线网络中的各个设备(例如RAN设备和CN设备)的参考时间也都是一致的。
为了使得终端的参考时间与控制设备的参考时间保持一致,尽量减少由于终端的参考时间与控制时间的参考时间不一致导致的指令执行的时间存在差异的问题,本申请提供了一种参考时间确定方法,具体分为如下三种可能的实施方式:
第一种可能的实施方式、网络设备将用于指示控制设备的参考时间的时间参考信息发送给终端,终端在接收到用于指示控制设备的参考时间的时间参考信息后,根据控制设备的参考时间可以确定终端的参考时间。
在该种方式中,并不限定时间参考信息的数量,当存在多个控制设备时,则存在多个对应的时间参考信息,每个时间参考信息表征的是其中一个控制设备的参考时间。网络设备可以向终端发送多个时间参考信息;终端在接收到多个时间参考信息后,可以从中确定一个时间参考信息(在本申请实施例中用第一时间参考信息表示终端从中确定的时间参考信息),并根据确定的一个时间参考信息确定终端的参考时间;也可以根据网络设备的指示信息从中确定第一时间参考信息,并根据第一时间参考信息确定终端的参考时间。
通过该种方式,终端可以接收一个或多个时间参考信息,并根据接收到的一个或多个时间参考信息确定第一时间参考信息,之后,可以根据第一时间参考信息确定终端的参考时间,使得终端的参考时间可以与控制设备的参考时间一致,进而可以使得指令执行的时间与控制设备预期的时间一致。
第二种可能的实施方式、网络设备将用于指示控制设备的参考时间与网络设备的参考时间的时间偏差的时间参考信息发送给终端,终端在接收到用于指示控制设备的参考时间与网络设备的参考时间的时间偏差的时间参考信息后,可以根据时间参考信息指示的时间偏差,对网络设备的提供的参考时间进行修正,进而确定终端的参考时间。
在该种方式中,并不限定时间参考信息的数量,当存在多个控制设备时,则存在多个对应的时间参考信息,每个时间参考信息表征的是其中一个控制设备的参考时间与网络设备的参考时间的时间偏差。网络设备可以向终端发送多个时间参考信息;终端在接收到多个时间参考信息后,可以从中确定一个时间参考信息(在本申请实施例中用第一时间参考信息表示终端从中确定的时间参考信息),并根据第一时间参考信息确定终端的参考时间;也可以根据网络设备的指示信息从中确定第一时间参考信息,并根据第一时间参考信息确定终端的参考时间。
通过该种方式,终端可以接收一个或多个时间参考信息,并根据接收到的一个或多个时间参考信息确定第一时间参考信息,之后,可以根据第一时间参考信息确定终端的参考时间,也就是说终端可以通过控制设备的参考时间与网络设备的参考时间的时间偏差,使得终端的参考时间可以与控制设备的参考时间一致,进而可以使得终端与控制设备时间同步,可以提高指令执行的准确性。
第三种可能的实施方式、网络设备在将来自控制设备的数据包转发给终端之前,可以根据控制设备的参考时间与网络设备的参考时间的时间偏差对数据包中的时间戳进行修正,之后将携带有修正后的时间戳的数据包发送给终端。
在该种方式中,网络设备可以根据时间偏差对来自控制设备的数据包中的时间戳进行修正,使得终端接收到数据包时,终端可以基于终端的参考时间对修正后的时间戳进行正确的解析,进而,能够改善指令执行的时间精度。
下面结合附图对本申请实施例提供的上述三种方式进行具体说明。
第一种可能的实施方式中,具体可分为两种情况:情况一、为网络设备向终端发送多个时间参考信息;情况二、为网络设备向终端发送一个时间参考信息,其中,时间参考信息用于表征控制设备的参考时间,一个时间参考信息可以表征一个控制设备的参考时间;或者一个时间参考信息可以表征多于一个控制设备的参考时间,当表征多于一个控制设备的参考时间时,这些控制设备的参考时间相同。下面分别对第一种可能的实施方式中的两种情况进行介绍:
情况一、如图3所示,为申请实施例提供的一种参考时间确定方法,该方法包括:
步骤301:网络设备确定多个时间偏差,每个时间偏差表征至少一个控制设备的参考时间与网络设备的参考时间的时间差值。
由于控制设备都是通过网络设备与终端进行通信,如发送数据包,则存在有多个控制设备的情况,当存在多个控制设备时,针对任一控制设备,网络设备均可以确定一个时间偏差,时间偏差为该控制设备的参考时间与网络设备的参考时间的时间差值。
网络设备可以本身具有确定时间偏差的能力,也就是说,网络设备可以确定多个时间偏差;网络设备也可以是通过其他网络设备确定多个时间偏差。
例如,当网络设备为RAN设备时,RAN设备可以确定多个时间偏差;RAN设备也可以通过CN设备(如AMF实体或UPF实体等)确定多个时间偏差,也就是说,CN设备在确定了多个时间偏差后,向网络设备发送多个时间偏差。
无论是RAN设备确定多个时间偏差,还是核心网设备确定多个时间偏差;针对任一时间偏差,确定时间偏差的方式有许多种,下面介绍其中一种确定时间偏差的方式:
网络设备和控制设备的时钟不同,网络设备与控制设备可以通过信息交互的方式确定时间偏差。
以所述控制设备的时钟为主时钟(master clock),网络设备的时钟的辅时钟(slave clock)为例。
控制设备向网络设备发送第一同步消息,控制设备发送第一同步消息的时刻为T1,T1为主时钟参考下的一个时刻。
网络设备从控制设备接收第一同步消息,网络设备接收第一同步消息的时刻为T2,T2为辅时钟参考下的一个时刻。
网络设备向控制设备发送第二同步消息,网络设备发送第二同步消息的时刻为T3,T3为辅时钟参考下的一个时刻。
控制设备从网络设备接收第二同步消息,控制设备接收第二同步消息的时刻为T4,T4为主时钟参考的一个时刻。
具体的,时间偏差为offset,控制设备与网络设备之间消息交互的时延为delay,则T1、T2、T3、T4、offset、delay存在如下关系:
T2=T1+offset+delay
T4=T3-offset+delay
时间偏差可以根据如下公式计算:offset=[(T2-T1)+(T3-T4)]/2
上述确定时间偏差的方式仅是举例说明,事实上,确定时间偏差的方式有许多种,本申请并不限定确定时间偏差的方式,凡是可以确定时间偏差的方式均适用于本申请实施例。
可选的,若CN设备和网络设备之间也存在时间偏差,那么网络设备和CN设备交互获得他们之间的时间偏差。网络设备收到CN设备发送的多个时间偏差后,再根据网络设备和CN设备之间的时间偏差修正多个时间偏差。
网络设备在确定了多个时间偏差后,执行步骤302。
步骤302:针对任一时间偏差,网络设备根据该时间偏差和网络设备的参考时间确定一个时间参考信息,时间参考信息用于表征至少一个控制设备的参考时间。
针对任一时间偏差,网络设备的参考时间与该时间偏差的差值为至少一个控制设备的参考时间,也就是说,控制设备的参考时间等于网络设备的参考时间减去该时间偏差;在每确定一个时间偏差后,网络设备可以确定一个时间参考信息,时间参考信息用来表征至少一个控制设备的参考时间;以一个时间参考信息表征一个控制设备的参考时间为例,由于存在多个时间偏差,网络设备可以通过多个时间偏差与网络设备的参考时间确定多个控制设备的参考时间,相应的,则网络设备可以确定多个时间参考信息,其中任一时间参考信息可以指示一个控制设备的参考时间,也就是说,一个时间参考信息对应一个控制设备的参考时间。
如表1所示,为网络设备发送多个时间参考信息的一种消息组成方式,网络设备可以将个多个时间参考信息组成一个列表携带在一个消息中发送。消息中的multi信元,可以表示时间参考信息的个数,之后对每个时间参考信息进行说明,例如,时钟参考1为第一个时间参考信息,可以表示控制设备1的时间参考信息,在消息中可以不指示控制设备1,直接携带控制设备1的参考时间;时钟参考2为第二个时间参考信息,可以表示控制设备 2和控制设备3的时间参考信息,直接携带控制设备2和控制设备3的参考时间;时间参考3为第三个时间参考信息,可以表示控制设备4的时间参考信息,在消息中可以不指示控制设备4,直接携带控制设备4的参考时间的值。
表1
Figure PCTCN2019107292-appb-000001
具体的,时间参考信息中可以包括参考时间信元,参考时间信元可以指示至少一个控制设备的参考时间;由于网络设备会确定多个时间参考信息,为了区分不同的时间参考信息,时间参考信息中还可以包括标识信元。
标识信元可以包括下列的部分或全部:
控制设备的设备信息、时钟的标识信息、时间参考信息的索引、时间精度信息。
具体的,时间参考信息中可以包括参考时间信元,参考时间信元可以指示至少一个控制设备的参考时间;由于网络设备会确定多个时间参考信息,为了区分不同的时间参考信息的时间精度,标识信元还可以包括时间精度信息。
如表2所示,为网络设备发送多个时间参考信息的一种消息组成方式,网络设备可以将多个时间参考信息组成一个列表携带在一个消息中。消息中的multi信元,可以表示时间参考信息的个数,之后对每个时间参考信息进行说明,例如,时钟参考1为第一个时间参考信息的参考时间信元,用于表示控制设备1的参考时间,标识信元1为第一个时间参考信息的标识信元;时钟参考2为第二个时间参考信息的参考时间信息信元,用于表示控制设备2和控制设备3的参考时间,标识信元2为第二个时间参考信息的标识信元;时钟参考3为第三个时间参考信息的参考时间信元,用于表示控制设备4的参考时间,标识信元3为第三个时间参考信息的标识信元。
当不同的控制设备的参考时间相同时,可以用一个时间参考信息表征不同的控制设备的参考时间,时间参考信息中的标识信元可以对不同的控制设备进行标识,如表2中的时间参考2和标识信元2可以共同表示控制设备2和控制设备3的时间参考信息。
作为一种可能的实现方式,终端在接收了时间参考信息的情况下,也还可以接收时间参考信息所对应的参考系统帧号(system frame number,SFN)。时间参考信息所对应的SFN可以表明时间参考信息指示的参考时间为SFN对应的时间节点的具体时间。
网络设备可以将时间参考信息携带在系统消息中通过广播的方式发送给终端,终端接收到系统消息,若系统消息中没有指示时间参考信息对应的参考系统帧号,则时间参考信息对应的参考系统帧号可以是系统消息所在系统信息窗口的结束边界或在结束边界之后所在的参考系统帧号。
表2
Figure PCTCN2019107292-appb-000002
具体的,时间参考信息中可以包括参考时间信元,参考时间信元可以指示至少一个控制设备的参考时间;由于网络设备会确定多个时间参考信息。
由于不同的终端对终端的参考时间的时间精度要求不同,例如,有的终端要求终端的参考时间需要精确到微妙,有的终端则要求终端的参考时间只需要精确到妙。
为了使得时间参考信息可以满足不同终端对终端的参考时间的精度要求,可以采用如下两种方式确定时间参考信息。
方式一、针对一个控制设备的参考时间可以对应多个时间参考信息,对应多个时间参考信息中的任一个时间参考信息中可以包括时间精度信息,如其中一部分的时间参考信息可以是时间精度较大的时间参考信息,如时间精度为10ms或1ms的时间参考信息,一部分的时间参考信息可以是时间精度较小的时间参考信息,如时间精度为1微妙、10微妙或纳秒的时间参考信息。
也就是说,一个控制设备的参考时间可以对应不同时间精度的时间参考信息。网络设备可以采用广播的方式发送不同时间精度的时间参考信息,也可以采用不同的发送方法发送时间参考信息,例如,可以采用广播的方式发送时间精度较大的时间参考信息,可以采用单播的方式发送时间精度较小的时间参考信息。
方式二、时间参考信息可以分为两部分时间信息,第一部分时间信息可以是时间精度较大的时间,如可以是控制设备的参考时间中精确到10毫秒时间;第二部分时间信息可以是在第一部分时间信息的基础上,时间精度较小的时间,如第二部分时间可以控制设备的参考时间中精确到1微妙时间。
例如,第一部分时间信息可以表征控制设备的参考时间中的X点Y分Z秒,第二部分时间信息可以表征控制设备的参考时间中的M微秒,则根据第一部分时间信息和第二部分时间信息可以确定参考控制设备的参考时间为X点Y分Z秒M微秒。
当终端要求终端的参考时间需要精确到妙,则终端只需读取时间参考信息中的第一部分时间信息;当终端要求终端的参考时间需要精确到微妙,则终端需读取时间参考信息中的第一部分时间信息和第二部分时间信息。
在方式二的说明中,仅是时间参考信息中包括两部分信息为例进行说明,在实际应用中,时间参考信息可以包括多个部分的时间信,分别表征控制信息的参考时间中不同的时间精度的时间信息,以满足不同的终端对终端的参考时间的时间精度的要求。
下面对上述三种信息分别进行介绍:
1、控制设备的设备信息。
控制设备的设备信息可以是控制设备的标识,如MAC地址、或IP地址等;还可以是控制设备的设备编号、名称、型号或所使用的以太协议类型等等,凡是可以表征控制设备的信息均适用于本申请实施例;当标识信元中包括控制设备的设备信息时,可以通过控制设备的设备信息区分不同的时间参考信息,进一步确定时间参考信息中的参考时间信元指示的参考时间对应的是哪个控制设备的参考时间。
2、时钟的标识信息。
由于不同的控制设备的时钟可以是相同的,也可以是不同的,当控制设备的时钟相同时,控制设备的参考时间也相同,所以,可以通过时钟区分不同的控制设备的参考时间:也就是说,标识信元还可以包括时钟的标识信息,时钟的标识信息可以是时钟的时钟源信息,还可以是时钟的时间精度信息。
当标识信元中包括时钟的标识信息时,可以通过时钟的标识信息区分不同的时间参考信息,进一步确定时间参考信息中的参考时间信元指示的参考时间对应的是哪个时钟下的参考时间。
当标识信元中包括时钟的时钟源信息时,可以通过时钟的时钟源信息区分不同的时钟源的时间参考信息,进一步确定时间参考信息中的参考时间信元指示的参考时间对应的是哪个时钟源的参考时间。例如,全球定位系统(global positioning system,GPS)时钟,协调世界时间(coordinated universal time,UTC)时钟,本地控制器时钟1,本地控制器时钟2等。
当标识信元中包括时钟的时间精度信息时,可以通过时钟的时间精度信息区分不同精度的时间参考信息,进一步确定时间参考信息中的参考时间信元指示的参考时间对应的是哪个精度的参考时间。例如,时间精度可以是10毫秒、1毫秒、10微妙、1微秒或100纳秒等。
如表3所示,为网络设备发送时间参考信息的一种消息组成方式,时间参考信息中包括多个不同时间精度的时间信息,时间参考信息的第一部分是时间精度为10毫秒的时间信息,用于表示控制设备的参考时间中精确到10毫秒的时间,时间参考信息的第二部分是其他时间精度的时间信息,其表征控制设备的参考时间中其他时间精度的时间,在表3中,消息中的multi信元,可以表示其他时间精度的时间信息的个数。
其中,时间参考信息的第二部分包括有1毫秒的时间参考、1微秒的时间参考和100纳秒的时间参考;其中,1ms的时间参考为时间精度为1毫秒的时间信息,用于指示控制设备的参考时间中精确到1毫秒的时间;1微秒的时间参考为时间精度为1微秒的时间信息,用于指示控制设备的参考时间中精确到1微妙的时间;100纳秒的时间参考为时间精度为100纳秒的时间信息,用于指示控制设备的参考时间中精确到100纳秒的时间。
终端在接收到时间参考信息后,可以根据第一部分和第二部分确定终端所需的时间精度的参考时间。
表3
Figure PCTCN2019107292-appb-000003
Figure PCTCN2019107292-appb-000004
3、时间参考信息的索引。
由于网络设备要向终端发送多个时间参考信息,网络设备可以对多个时间参考信息设置索引,以区分不同的时间参考信息,此时,标识信元可以包括时间参考信息的索引,例如,网络设备可以对时间参考信息进行编号,如从1~N,进行排序,每个数值可以作为一个时间参考信息的索引。
当标识信元中包括时间参考信息的索引时,可以通过时间参考信息的索引区分不同的时间参考信息,进一步区分时间参考信息中的参考时间信元。
标识信元可以包括控制设备的设备信息、时钟的标识信息、或时间参考信息的索引中的任一种,也可以包括控制设备的设备信息、时钟的标识信息、或时间参考信息的索引中的多种,本申请实施例并不限定。
步骤303:网络设备向终端发送多个时间参考信息。
网络设备在确定了多个时间参考信息后,可以向终端发送多个时间参考信息。
作为一种可能的实施方式,网络设备可以通过广播的方式发送给多个时间参考信息。
网络设备在广播多个时间参考信息时,可以分别广播每个时间参考信息,也可以将多个时间参考信息携带在一条广播信息中发送。
在实际应用中,控制设备会通过网络设备将数据包发送给终端,也就是说网络设备可以接收来自不同的控制设备的数据包,之后,在将数据包转发给对应的终端,一般来说,针对任一终端,可能会只接收特定的一个或多个控制设备的数据包,不同的终端可能会接收来自不同的控制设备的数据包;网络设备可以确定所有控制设备的参考时间,并确定对应的时间参考信息,之后将所有时间参考信息广播给与终端,这样可以使得任一终端可以接收到时间参考信息,全部的时间参考信息指示的参考时间中必然包括特定的一个或多个控制设备的参考时间,使得终端可以确定出特定的一个或多个控制设备的参考时间,进而终端可以根据多个时间参考信息确定终端的参考时间,可以使得终端与控制设备保持同步,进一步,可以在后续再接收到数据包时,能够准确的对数据包中的时间戳进行解析。
作为另一种可能的实施方式,网络设备可以通过单播的方式发送给多个时间参考信息。
网络设备在发送多个时间参考信息时,可以分别将每个时间参考信息携带在一个专有信令中,发送给终端;也可以将多个时间参考信息携带在一个专有信令中发送给终端。可以理解,专有信令是网络设备发送给一个特定的终端的消息。
在实际应用中,网络设备可以确定所有控制设备的参考时间,并确定对应的时间参考信息,之后将所有时间参考信息通过单播的方法发送给终端,这样终端可以接收到所有时间参考信息,所有时间参考信息指示的参考时间中包括特定的一个或多个控制设备的参考时间,使得终端可以确定出特定的一个或多个控制设备的参考时间,进而终端可以根据多个时间参考信息确定终端的参考时间;网络设备也可以有选择的将部分时间参考信息发送给终端,例如,将用于指示特定的一个或多个控制设备的参考时间的时间参考信息发送给相应的终端;如此,终端可以确定特定的一个或多个控制设备的参考时间,进而终端可以根据时间参考信息确定终端的参考时间,使得终端设备与特定的一个或多个控制设备保持 时间同步,之后可以基于终端的参考时间可以实现对数据包中的时间戳的准确解析,能够正确的确定指令的执行时间。
上述发送多个时间参考信息的方式均是举例说明,本申请实施例并不限定,凡是可以将多个时间参考信息发送给终端的方式均适用于本申请实施例。
终端从网络设备接收到多个时间参考信息后,可以执行步骤304。
步骤304:终端从多个时间参考信息中确定第一时间参考信息。
终端接收到多个时间参考信息,且从多个时间参考信息中确定出一个时间参考信息作为第一时间参考信息。
终端从多个时间参考信息中确定第一时间参考信息的依据有许多,下面列举其中两种方式:
1、终端根据预设的配置信息从多个时间参考信息中确定第一时间参考信息。
针对任一终端,终端可能只接收特定的一个或多个控制设备的数据包,而在特定的一个时刻或时间段里,终端只会接收到特定的来自一个控制设备的数据包,特定的一个或多个控制设备的设备信息、时刻或时间段的信息可以预先配置在终端中;当终端需要从多个时间参考信息中确定第一时间参考信息时,可以根据预设的配置信息确定一个时间参考信息,作为第一时间参考信息。
可选的,针对终端,根据终端所需的时间精度需求确定从多个时间参考信息中确定第一时间参考信息。该精度需求可以预先配置的。
作为一种可能的实现方式,针对终端,根据接收的数据包中的时间信息的精度从多个时间参考信息中确定数据包的中时间精度等同的第一时间参考信息。
下面以终端预先配置一个控制设备的设备信息,且标识信元中包括控制设备的设备信息为例进行说明,当终端接收到多个时间参考信息时,终端可以根据预先配置的一个控制设备的设备信息从多个时间参考信息的标识信元中进行遍历,确定标识信元为控制设备的设备信息的时间参考信息为第一时间参考信息。
为了方便说明,在上述说明中仅是以预设的配置信息为一个控制设备的设备信息为例,在事实上,终端可以只接收来自一个控制设备的数据包,在这种情况下,预设的配置信息可以包括控制设备的设备信息;终端也可以在某一特定的时间段或时刻接收来自一个控制设备的数据包,在这种情况下,预设的配置信息可以包括控制设备的设备信息,以及时间段或时刻的信息,终端在确定第一时间参考信息时,可以基于当前终端所处的时刻或时间段,根据预设的配置信息确定第一时间参考信息。
在上述说明中仅是以预设的配置信息为控制设备的设备信息为例,在事实上,预设的配置信息也可以是其他信息,如时钟的标识信息等。本申请实施例并不限定,凡是使终端可以确定第一时间参考信息的配置信息均适用于本申请实施例。
2、终端根据网络设备的指示信息从多个时间参考信息中确定第一时间参考信息。
网络设备可以向终端发送指示信息,指示信息用于指示第一时间参考信息,终端接收指示信息,并根据指示信息从多个时间参考信息中确定第一时间参考信息。
指示信息和多个时间参考信息可以是分别发送,也可以携带在一个消息中发送给终端。
例如,网络设备可以向终端广播多个时间参考信息,再通过专有信令向终端发送指示信息。
又例如,网络设备可以将指示信息和多个时间参考信息携带在一个专有信令中发送给终端。
其中,第一时间参考信息中的参考时间信元指示的参考时间是第一控制设备的参考时间,指示信息中可以包括下列信息的部分或全部:
第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引、第一时间参考的精度信息。其中第一时钟为第一控制设备的时钟。
关于第一控制设备的设备信息、第一时钟的标识信息以及第一时间参考信息的索引的描述可参见时间参考信息中的标识信元的相关描述,此处不再赘述。
需要说明的,指示信息中携带的信息类型需要与时间参考信息中的标识信元携带的信息类型有重合的信息类型,如时间参考信息中的标识信元中包括控制设备的设备信息以及时间参考信息的索引,指示信息则需要携带第一控制设备的设备信息以及第一时间参考信息的索引中的部分或全部,使得终端在接收到指示信息和多个时间参考信息后,可以根据指示信息从多个时间参考信息中成功确定第一时间参考信息。
步骤305:终端根据第一时间参考信息确定终端的参考时间。
终端在确定了第一时间参考信息后,可以根据第一时间参考信息中的参考时间信元修正终端的参考时间,使第一时间参考信息中的参考时间信元指示的参考时间作为终端的参考时间,这样可以使得第一控制设备的参考时间与终端的参考信息保持一致,也就是说,第一控制设备与终端保持时间同步,如此,当终端接收到来自第一控制设备的数据包后,在解析数据包中的时间戳时,以确定的终端的参考时间为基准,确定数据包中的时间戳中指示的时间,使得可以对来自第一控制设备的数据包中的时间戳进行准确解析。
在如图3所示的实施例中,网络设备可以向终端发送多个时间参考信息,且终端在接收到多个时间参考信息后,确定第一时间参考信息,之后可以确定终端的参考时间,由于时间参考信息指示的控制设备的参考时间,根据第一时间参考信息确定的终端的参考时间能够与控制设备的参考时间相同,使得终端与控制设备的保持时间同步。
情况二、如图4,为申请实施例提供的一种参考时间确定方法,该方法包括:
步骤401:网络设备确定时间偏差,时间偏差表征第一控制设备的参考时间与网络设备的参考时间的时间差值。
在网络设备只与第一控制设备通信,或终端只接收来自第一控制设备的数据包的情况下,网络设备可以只确定一个时间偏差,网络设备确定时间偏差的方式可参见步骤301中的相关描述,此处不再赘述。
步骤402:网络设备根据时间偏差和网络设备的参考时间确定第一时间参考信息,第一时间参考信息用于指示第一控制设备的参考时间。
网络设备的参考时间与时间偏差的差值为第一控制设备的参考时间,进而,可以确定第一时间参考信息。
具体的,第一时间参考信息中可以包括参考时间信元,由于网络设备只向终端发送第一时间参考信息,第一时间参考信息可以包括标识信元,也可以不包括标识信元,本申请并不限定。
关于时间参考信元和标识信元的描述,可参见步骤402中的相关描述,此处不再赘述。
步骤403:网络设备向终端发送第一时间参考信息。
网络设备可以通过广播的方式发送第一时间参考信息,也可以通过单播的方式发送第 一时间参考信息。
终端从网络设备获取第一时间参考信息后,可执行步骤404。
步骤404:终端根据第一时间参考信息确定终端的参考时间。
终端在确定了第一时间参考信息后,可以根据第一时间参考信息中的参考时间信元修正终端的参考时间,可以将第一时间参考信息中的参考时间信元指示的参考时间作为终端的参考时间,这样可以使得第一控制设备的参考时间与终端的参考信息保持一致,实现了终端与第一控制设备的时间同步。
下面以终端为UE,网络设备为UPF实体,以控制设备为PLC,存在一个或多个PLC,对如图3或图5所示的实施例进行进一步说明:
如图5所示,仅以一个PLC代表一个或多个PLC,为本申请实施例一种参考时间确定方法,该方法包括:
步骤501:UPF实体与PLC进行交互,确定PLC与UPF实体的时间偏差。
步骤502:UPF实体向RAN设备发送时间偏差。
步骤503:RAN设备在接收到时间偏差后,根据时间偏差和RAN设备的参考时间确定时间参考信息。
步骤504:RAN设备向UE发送时间参考信息。
步骤505:UE接收到时间参考信息后,根据时间参考信息确定UE的参考时间。
第二种可能的实施方式中,具体可分为两种情况:情况一、网络设备向终端发送多个时间参考信息;情况二、网络设备向终端发送一个时间参考信息,其中,时间参考信息用于控制设备的参考时间与网络设备的参考时间的时间偏差,下面分别对第二种可能的实施方式中的两种情况进行介绍:
情况一、如图6所示,为申请实施例提供的一种参考时间确定方法,该方法包括:
步骤601:网络设备确定多个时间参考信息,任一时间参考信息指示至少一个控制设备的参考时间与网络设备的参考时间的时间偏差。
由于控制设备都是通过网络设备与终端进行通信,如发送数据包,则存在有多个控制设备的情况,当存在多个控制设备时,针对任一控制设备,网络设备均可以确定该控制设备的参考时间与网络设备的参考时间的时间偏差,时间偏差等于该控制设备的参考时间与网络设备的参考时间的时间差值。
网络设备确定任一控制设备的参考时间与网络设备的参考时间的时间偏差的方式可参见步骤301,此处不再赘述。
由于存在不同控制设备的参考时间与网络设备的参考时间的时间偏差,也就是存在多个时间偏差,网络设备可以通过多个时间偏差确定多个时间参考信息。
具体的,时间参考信息中可以包括时间偏差信元,时间偏差信元可以指示一个控制设备的参考时间与网络设备的参考时间的时间偏差;由于网络设备会确定多个时间参考信息,为了区分不同的时间参考信息,时间参考信息中还可以包括标识信元。
标识信元可以包括下列的部分或全部:
控制设备的设备信息、时钟的标识信息、时间参考信息的索引。
关于上述三种信息的说明可以参见步骤302中的相关描述,此处不再赘述。
标识信元可以包括控制设备的设备信息、时钟的标识信息、时间参考信息的索引中的任一种,也可以包括控制设备的设备信息、时钟的标识信息、时间参考信息的索引中的多 种,本申请实施例并不限定。
网络设备在确定了任一控制设备的参考时间与网络设备的参考时间的时间偏差,就可以确定多个时间偏差信息,之后执行步骤602。
步骤602:网络设备向终端发送多个时间参考信息。
网络设备在确定了多个时间参考信息后,可以向终端发送多个时间参考信息;网络设备向终端发送多个时间参考信息的方式可以参见步骤303的相关说明,此处不再赘述。
终端从网络设备接收的多个时间参考信息后,可以执行步骤603。
步骤603:终端从多个时间参考信息中确定第一时间参考信息,第一时间参考信息用于指示第一控制设备的参考时间和网络设备的参考时间的时间偏差。
表4
Figure PCTCN2019107292-appb-000005
如表4所示,为网络设备发送多个时间参考信息的一种消息组成方式,网络设备可以将多个时间参考信息组成一个列表,携带在一个消息中。消息中的multi信元,可以表示时间参考信息的个数,之后对每个时间参考信息进行说明,例如,时间偏差1为第一个时间参考信息,可以表示控制设备1的参考时间与网络设备的参考时间的时间偏差;时间偏差2为第二个时间参考信息,可以表示控制设备2或控制设备3的参考时间与网络设备的参考时间的时间偏差;时间偏差3为第三个时间参考信息,可以表示控制设备4的参考时间与网络设备的参考时间的时间偏差。
由于终端接收到多个时间参考信息,终端需要从多个时间参考信息中确定出一个时间参考信息作为第一时间参考信息;终端从多个时间参考信息中确定第一时间参考信息的方式可参见步骤304,此处不再赘述。
网络设备还可以向终端发送网络设备的时间参考信息,网络设备的时间参考信息用于指示网络设备的参考时间。
本申请实施例并不限定网络设备发送网络设备的时间参考信息的方式,例如网络设备可以采用广播的方式向终端发送网络设备的时间参考信息,也可以采用单播的方式向终端发送网络设备的时间参考信息,凡是可以发送网络设备的时间参考信息的方式均适用于本申请实施例。
网络设备的时间参考信息与网络设备的时间参考信息可以分别发送,也可以携带在一个消息中发送,本申请实施例并不限定。
在终端接收到第一时间参考信息之后,可以执行步骤604A或604B。
步骤604A:终端根据第一时间参考信息确定终端的参考时间。
终端在接收到网络设备的时间参考信息以及第一时间参考信息后,可以根据第一时间参考信息确定终端的参考时间。
终端在确定了第一时间参考信息后,可以根据第一时间参考信息中的时间偏差信元指示的时间偏差和网络设备的参考时间的差值确定终端的参考时间;由于时间偏差为第一控制设备的参考时间与网络设备的参考时间的时间偏差,而根据第一时间参考信息中的时间偏差信元指示的时间偏差和网络设备的参考时间的差值确定的终端的参考时间应与第一控制设备的参考时间一致,之后,终端在接收到来自第一控制设备的数据包之后,终端可以基于终端的参考时间解析来自第一控制设备的数据包中的时间戳,能够较为精确的确定时间戳指示的时间。
步骤604B:终端根据第一时间参考信息对来自第一控制设备的数据包的时间戳进行修正。
终端在接收到第一时间参考信息之后,可以根据第一时间参考信息对来自第一控制设备的数据包的时间戳进行修正,具体的,终端可以根据第一时间参考信息中的时间偏差信元指示的时间偏差和时间戳指示的时间的和值作为修正后的时间戳。在这种情况下,终端的参考时间并未进行修正,仍然与网络设备的参考时间保持一致,由于修正后的时间戳是在修正前的时间戳的基础上增加了时间偏差,且时间偏差为第一控制设备的参考时间与网络设备的参考时间的时间偏差,使得终端可以基于当前终端的参考时间精确解析修正后的时间戳。
在如图6所示的实施例中,网络设备可以向终端发送多个时间参考信息,且终端在接收到多个时间参考信息后,确定第一时间参考信息,之后可以确定终端的参考时间或修正来自第一控制设备的数据包中的时间戳,由于任一时间参考信息用于指示控制设备的参考时间与网络设备的参考时间的时间偏差,根据第一时间参考信息以及网络设备的参考时间确定的终端的参考时间能够与第一控制设备的参考时间保持一致,使得终端与第一控制设备的保持时间同步;若终端若对时间戳进行修正,终端也可以对修正后的时间戳进行较为精确的解析。
情况二、如图7,为申请实施例提供的一种参考时间确定方法,该方法包括:
步骤701:网络设备确定第一时间参考信息,第一时间参考信息用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
在网络设备只与第一控制设备通信,或终端只接收来自第一控制设备的数据包的情况下,网络设备可以只确定第一时间参考信息。或者与网络设备的通信的控制设备具有相同的参考时间的情况下,网络设备可以只确定第一时间参考信息。网络设备确定时间偏差的方式可参见步骤301中的相关描述,此处不再赘述。
具体的,第一时间参考信息中可以包括时间偏差信元,时间偏差信元用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差,由于网络设备向终端发送第一时间参考信息,第一时间参考信息可以包括标识信元,也可以不包括标识信元,本申请并不限定。
关于时间参考信元和标识信元的描述,可参见步骤302中的相关描述,此处不再赘述。
步骤702:网络设备向终端发送第一时间参考信息。
网络设备可以通过广播的方式发送第一时间参考信息,也可以通过单播的方式发送第一时间参考信息。
终端从网络设备获取第一时间参考信息后,可执行步骤703A或步骤703B。
步骤703A:终端根据第一时间参考信息确定终端的参考时间。
终端根据第一时间参考信息确定终端的参考时间的相关描述,可参见步骤604A,此处不再赘述。
步骤703B:终端根据第一时间参考信息对来自第一控制设备的数据包的时间戳进行修正。
终端根据第一时间参考信息对来自第一控制设备的数据包的时间戳进行修正,可参见步骤604B,此处不再赘述。
下面以终端为UE,网络设备为UPF实体,以控制设备为PLC,存在一个或多个PLC,对如图7或图6所示的实施例进行进一步说明:
如图8所示,仅以一个PLC代表一个或多个PLC,为本申请实施例一种参考时间确定方法,该方法包括:
步骤801:UPF实体与PLC进行交互,确定PLC与UPF实体的时间偏差。
步骤802:UPF实体向RAN设备发送时间偏差。
步骤803:RAN设备在接收到时间偏差后,确定时间参考信息。
步骤804:RAN设备向UE发送时间参考信息。
步骤805:RAN设备向UE发送RAN设备的时间参考信息,RAN设备的时间参考信息用于指示RAN设备的参考时间。
本申请实施例并不限定步骤804和步骤805的执行顺序,且步骤804和步骤805可以先后执行,也可以同时执行。
步骤806:UE接收到时间参考信息后,根据时间参考信息和RAN设备的参考时间确定UE的参考时间。
第三种可能的实施方式,如图9所示,为申请实施例提供的一种参考时间确定方法,该方法包括:
步骤901、网络设备确定控制设备的参考时间与网络设备的参考时间的时间偏差。
网络设备确定时间偏差的方式可参见步骤301中的相关描述,此处不再赘述。
步骤902、网络设备接收来自控制设备的数据包,数据包中携带时间戳。
控制设备可以通过网络设备向终端发送数据包,具体的,控制设备会先将数据包发送给网络设备,网络设备在接收到数据包后,会执行步骤903。
步骤903、网络设备根据时间偏差,对时间戳进行修正。
由于数据包来自控制设备,时间戳指示的是以控制设备参考时间为参考的时间,为了使得时间戳指示的时间可以是以终端的参考时间为参考的,则网络设备需要对时间戳进行修正;由于终端的参考时间与网络设备的参考时间保持一致,网络设备根据时间偏差对时间戳进行修正,具体的,网络设备可以根据时间偏差与时间戳指示的时间的和值或差值对时间戳进行修正,将时间偏差与时间戳指示的时间的和值作为修正后的时间戳指示的时间;在对时间戳进行修正后,网络设备可以执行步骤904。
步骤904、网络设备将数据包发送给终端,数据包包括修正后的时间戳。
当网络设备为核心网设备时,网络设备可以通过其他网络设备,如RAN设备,将数据包发送给终端。
网络设备可以将数据包发送给RAN设备之后,RAN设备将数据包发送给终端。
当网络设备为RAN设备,则网络设备可以直接将数据包发送给终端。
网络设备与终端之间的信息交互存在传输时延,在本申请以下实施例中,可以考虑该传输时延,且利用该传输时延修正参考时间,可以进一步提高参考时间的精度。
以网络设备和终端之间的信息交互为例,为了上行传输的正交性,减少小区内(intra-cell)干扰,网络设备要求来自同一子帧但不同频域资源(resource block,RB)的不同终端的信号到达网络设备的时间基本上是对齐的。网络设备在循环前缀(Cyclic Prefix,CP)范围内接收到终端所发送的上行数据,就能够正确地解码上行数据,因此上行同步要求来自同一子帧的不同终端的信号到达网络设备的时间都落在CP之内。
如图10A所示,网络设备在T0时刻发出下行信号,经过一段时间传输,终端在T1时刻收到下行(download,DL)信号。为了让自己发出的信号能按时到达网络设备,终端在T2时刻发出上行(upload,UL)信号,该上行信号经过一段时间传输,于T0时刻到达网络设备。T2与T1之间的差值,即为TA值。假设上下行的时延相同,那么传输时延的偏差估计为TA/2。
目前NR(新一代无线接入技术)或长期演进(long term evolution,LTE)系统调整TA的精度不能在无线系统所支持的所有子载波间隔下达到微秒级甚至更高的精度。为了不更改TA(timing advance)命令的格式。引入用于通知网络设备和终端之间的传输时延的消息,如传输时延可以为TA/2。该值的精度根据终端所需要的精度进行设置。终端接收网络设备发送的用于通知网络设备和终端之间的传输时延的消息,使得终端在由上述方法实施例中确定的终端的参考时间上增加网络设备和终端之间的传输时延,如增加TA/2,将增加了网络设备和终端之间的传输时延的终端参考时间作为终端的参考时间。其中,通知网络设备和终端之间的传输时延的消息可以是新增的MAC控制单元(control element,CE)、PDCP控制信令或RRC信令。
一种实施方式是,引入一个新的MAC CE来发送更高精度的TA值。网络侧可配置终端使用哪个精度的MAC CE来接收TA值。也可通过设定一个LCE ID来指示所述MAC的类型。为了不更改TA(timing advance)命令的格式。引入用于通知所述网络设备和所述终端之间的传输时延的消息,如所述传输时延可以为TA/2。该值的精度根据终端所需要的精度进行设置。所述终端接收所述网络设备发送的用于通知所述网络设备和所述终端之间的传输时延的消息,使得所述终端在由上述方法实施例中确定的所述终端的参考时间上增加所述网络设备和所述终端之间的传输时延,如增加TA/2,将增加了所述网络设备和所述终端之间的传输时延的终端参考时间作为所述终端的参考时间。其中,通知所述网络设备和所述终端之间的传输时延的消息可以是新增的MAC控制单元(control element,CE)、PDCP控制信令或RRC信令。
请参考图10B其为本申请另一实施例提供的一种参考时间确定方法的示意图。
步骤1001、网络设备向终端发送时间参考信息;终端接收网络设备发送的时间参考信息。
该时间参考信息可以为以上第一时间参考信息,即控制设备的时间参考信息,或者,可以为网络设备的时间参考信息,即用于指示网络设备的参考时间的信息。
步骤1002、网络设备向终端发送TA命令,该TA命令用于指示TA调整值或TA调整值的一半(或1/2)。
网络设备可以根据网络设备和终端之间传输的信息来确定TA调整值。可以参照现有 的确定TA调整值的方式,本申请不做限制。例如,网络设备可以根据终端发送的参考信号确定该TA调整值,或者可以根据随机接入前导确定TA调整值。
可选的,该TA调整值的精度为MTs,M为小于或等于16的正整数,Ts为时间单位,值为1/30.72μs。
可选的,网络设备还可以向终端发送TA偏移值,该TA偏移值的精度为NTs,N小于M的非负整数。此时,网络设备向终端发送TA调整值和TA偏移值,其中TA调整值的精度小于TA偏移值的精度。
可选的,可以采用MAC CE发送该TA偏移值,此时,可设定一个LCH标识来指示该MACCE是用于发送TA偏移值,该TA偏移值用于修正终端的参考时间。可选的,可以采用PDCP控制信令发送该TA偏移值,此时,可增加一个PDU类型,即利用PDU中的指示域,指示该PDU是用于发送TA偏移值,该TA偏移值用于修正终端的参考时间。该指示域可以利用PDU中已有的指示域,通过新增取值来指示该PDU是用于发送TA偏移值;或者,可以新增指示域来指示该PDU是用于发送TA偏移值。
步骤1003、终端根据时间参考信息和TA命令确定终端的参考时间;或者,终端根据时间参考信息、TA命令和TA偏移值确定终端的参考时间。
例如,终端根据时间参考信号确定一个参考时间后,加上TA/2,再加上TA偏移值,确定为终端的参考时间。
上述主要从终端和网络设备交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,终端和网络设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本申请中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的技术方案的范围。
本申请实施例可以根据上述方法示例对终端和网络设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
本申请实施例还提供用于实现以上任一种参考时间确定方法的装置,其中,本申请实施例提供了一种装置包括用以实现以上任一种方法中终端所执行的各个步骤的单元(或手段)。本申请实施例还提供另一种装置,包括用以实现以上任一种方法中网络设备所执行的各个步骤的单元(或手段)。
一种可能的实施方式中,本申请实施例提供一种参考时间确定装置1100。该参考时间确定装置1100可以应用于终端。图11所示为本申请实施例提供的参考时间确定装置1100的结构示意图,参阅图11所示,该装置1100包括接收单元1101和处理单元1102。
其中,当该参考时间确定装置1100用于执行如图3、图5、图6以及图8所示的实施例中终端执行的方法时,接收单元1101用于接收从网络设备接收的多个时间参考信息;处理单元1102用于从多个时间参考信息中确定第一时间参考信息;以及根据第一时间参考信息确定终端的参考时间。
在一种可能的实现方式中,时间参考信息可以表征如下两种信息中的一种:
第一种、时间参考信息用于指示控制设备的参考时间。第一时间参考信息用于指示第一控制设备的参考时间。
为了指示控制设备的参考时间,任一时间参考信息包括参考时间信元和标识信元。
其中,参考时间信元用于指示控制设备的参考时间。
标识信元可以包括下列信息的部分或全部:
控制设备的设备信息、时钟的标识信息、时间参考信息的索引、时间精度信息。
第二种、时间参考信息用于指示控制设备的参考时间与网络设备的参考时间的时间偏差,第一时间参考信息用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
为了指示控制设备的参考时间与网络设备的参考时间的时间偏差,任一时间参考信息包括时间偏差信元和标识信元。
其中,时间偏差信元用于指示控制设备的参考时间与网络设备的参考时间的时间偏差。
标识信元可以包括下列信息的部分或全部:
控制设备的设备信息、时钟的标识信息、时间参考信息的索引、时间精度信息。
处理单元1102根据第一时间参考信息确定终端的参考时间时,可以根据预设的配置信息从多个时间参考信息中确定第一时间参考信息,也可以根据网络设备的指示信息从多个时间参考信息中确定第一时间参考信息。
在一种可能的实现方式中,在处理单元1102根据网络设备的指示信息从多个时间参考信息中确定第一时间参考信息的情况下,接收单元1101在处理单元1102从多个时间参考信息中确定第一时间参考信息之前,可以从网络设备接收指示信息;其中,指示信息用于指示第一时间参考信息,而多个时间参考信息需要包括第一时间参考信息。
可选的,多个时间参考信息和指示信息可以分别发送,也可以携带在同一个消息中。
指示信息指示第一时间参考信息时,可以通过携带如下信息的部分或全部进行指示:
第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引。
多个时间参考信息指示的多个控制设备包括第一控制设备,第一时钟为第一控制设备的时钟。
在一种可能的实现方式中,在时间参考信息用于指示控制设备的参考时间与网络设备的参考时间的时间偏差的情况下,接收单元1101还可以接收网络设备的时间参考信息,网络设备的时间参考信息用于指示网络设备的参考时间。
处理单元1102在根据第一时间参考信息确定终端的参考时间时,可以根据第一时间参考信息和网络设备的时间参考信息,确定终端的参考时间。
其中,当该参考时间确定装置1100用于执行如图4、图5、图7以及图8所示的实施例中终端执行的方法时。接收单元1101,用于接收第一时间参考信息;处理单元1102,用于根据第一时间参考信息确定终端的参考时间。
其中,第一时间参考信息并不指示网络设备的参考时间。
具体的,第一时间参考信息可以表征如下两种信息:
第一种、第一时间参考信息用于指示第一控制设备的参考时间。
为了指示第一控制设备的参考时间,第一时间参考信息包括参考时间信元和标识信元。
其中,参考时间信元用于指示第一控制设备的参考时间。
标识信元可以包括下列信息的部分或全部:
第一控制设备的设备信息、第一时钟的标识信息、时间参考信息的索引、时间精度信息;其中,第一时钟为第一控制设备的时钟。
第二种、第一时间参考信息用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
为了指示第一控制设备的参考时间与网络设备的参考时间的时间偏差,第一时间参考信息包括时间偏差信元和标识信元。
其中,时间偏差信元用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
标识信元可以包括下列信息的部分或全部:
第一控制设备的设备信息、第一时钟的标识信息、时间参考信息的索引、时间精度信息;其中,第一时钟为第一控制设备的时钟。
在一种可能的实现方式中,在时间参考信息用于指示控制设备的参考时间与网络设备的参考时间的时间偏差的情况下,接收单元1101还可以接收网络设备的时间参考信息,网络设备的时间参考信息用于指示网络设备的参考时间。
处理单元1102在根据第一时间参考信息确定终端的参考时间时,可以根据第一时间参考信息和网络设备的时间参考信息,确定终端的参考时间。
其中,当该参考时间确定装置1100用于执行如图10B所示的实施例中终端执行的方法时。接收单元1101,用于接收时间参考信息;以及接收TA命令。
处理单元1102,用于根据时间参考信息和TA命令确定终端的参考时间;或者,终端根据时间参考信息、TA命令和TA偏移值确定终端的参考时间。
另一种可能的实施方式中,本申请实施例还提供一种参考时间确定装置1200。该参考时间确定装置1200可以应用于网络设备。图12所示为本申请实施例提供的参考时间确定装置1200的结构示意图,参阅图12所示,该装置1200包括处理单元1201和发送单元1202。
其中,当该参考时间确定装置1200用于执行如图3、图5、图6以及图8所示的实施例中终端执行的方法时,处理单元1201可用于执行如下两种中的任一种:
第一种,处理单元1201用于确定多个时间偏差,任一时间偏差表征至少一个控制设备的参考时间与网络设备的参考时间的时间差值;以及针对任一时间偏差,根据该时间偏差和网络设备的参考时间确定一个时间参考信息,其中,任一时间参考信息指示至少一个控制设备的参考时间。
第二种,处理单元1201用于确定多个时间参考信息,任一时间参考信息指示至少一个控制设备的参考时间与网络设备的参考时间的时间偏差。
发送单元1202用于向终端发送多个时间参考信息。
对应处理单元1201的两种操作,任一时间参考信息有如下两种表征方式:
对应于处理单元1201执行的第一种方式、时间参考信息用于指示控制设备的参考时间,第一时间参考信息指示第一控制设备的参考时间。
为了指示控制设备的参考时间,任一时间参考信息包括参考时间信元和标识信元。
其中,参考时间信元用于指示控制设备的参考时间。
标识信元可以包括下列信息的部分或全部:
控制设备的设备信息、时钟的标识信息、时间参考信息的索引、时间精度信息。
对应于处理单元1201执行的第二种方式、时间参考信息用于指示控制设备的参考时间与网络设备的参考时间的时间偏差,第一时间参考信息指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
为了指示控制设备的参考时间与网络设备的参考时间的时间偏差,任一时间参考信息包括时间偏差信元和标识信元。
其中,时间偏差信元用于指示控制设备的参考时间与网络设备的参考时间的时间偏差。
标识信元可以包括下列信息的部分或全部:
控制设备的设备信息、时钟的标识信息、时间参考信息的索引、时间精度信息。
在一种可能的实施方式中,发送单元1202还用于向终端发送指示信息,指示信息用于指示第一时间参考信息,而多个时间参考信息需要包括第一时间参考信息。
可选的,多个时间参考信息和指示信息可以分别发送,也可以携带在同一个消息中。
指示信息指示第一时间参考信息时,可以通过携带如下信息的部分或全部进行指示:
第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引;其中,第一时钟为第一控制设备的时钟。
其中,多个时间参考信息指示的多个控制设备包括第一控制设备,第一时钟为第一控制设备的时钟。
在一种可能的实现方式中,在时间参考信息用于指示控制设备的参考时间与网络设备的参考时间的时间偏差的情况下,发送单元1202还可以向终端发送网络设备的时间参考信息,网络设备的时间参考信息用于指示网络设备的参考时间。
其中,当该参考时间确定装置200用于执行如图4、图5、图7以及图8所示的实施例中终端执行的方法时,处理单元1201可用于执行如下两种中的任一种:
第一种、处理单元1201用于确定时间偏差,时间偏差表征第一控制设备的参考时间与网络设备的参考时间的时间差值;以及根据时间偏差和网络设备的参考时间确定第一时间参考信息,第一时间参考信息用于指示第一控制设备的参考时间。
第二种、处理单元1201用于确定第一时间参考信息,第一时间参考信息用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
发送单元1202,用于向终端发送第一时间参考信息。
对应处理单元1201的两种操作,第一时间参考信息有如下两种表征方式:
对应于处理单元1201执行的第一种方式、第一时间参考信息用于指示第一控制设备的参考时间。
为了指示第一控制设备的参考时间,第一时间参考信息包括参考时间信元和标识信元。
其中,参考时间信元用于指示第一控制设备的参考时间。
标识信元可以包括下列信息的部分或全部:
第一控制设备的设备信息、第一时钟的标识信息、第一时间参考信息的索引、时间精度信息;其中,第一时钟为第一控制设备的时钟。
对应于处理单元1201执行的第二种方式、第一时间参考信息用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差。
为了指示第一控制设备的参考时间与网络设备的参考时间的时间偏差,第一时间参考信息包括时间偏差信元和标识信元。
其中,时间偏差信元用于指示第一控制设备的参考时间与网络设备的参考时间的时间 偏差。
标识信元可以包括下列信息的部分或全部:
第一控制设备的设备信息、第一时钟的标识信息、时间参考信息的索引、时间精度信息;其中,第一时钟为第一控制设备的时钟。
在一种可能的实现方式中,在第一时间参考信息用于指示第一控制设备的参考时间与网络设备的参考时间的时间偏差的情况下,发送单元1202还可以向终端发送网络设备的时间参考信息,网络设备的时间参考信息用于指示网络设备的参考时间。
其中,当该参考时间确定装置1200用于执行如图9所示的实施例中终端执行的方法时,该参考施加确定装置还可以包括接收单元1203。
处理单元1201用于确定控制设备的参考时间与网络设备的参考时间的时间偏差。
接收单元1203用于接收来自控制设备的数据包,数据包中携带时间戳。
处理单元1201还用于根据时间偏差,对时间戳进行修正。
发送单元1202用于将数据包发送给终端,数据包包括修正后的时间戳。
其中,当该参考时间确定装置1200用于执行如图10B所示的实施例中终端执行的方法时,发送单元1202,用于向终端发送时间参考信息;以及向终端发送TA命令。
处理单元1201,用于确定时间参考信息,处理单元1201用于确定时间参考信息的方法可参见上述任一方法实施例中网络设备确定时间参考信息的方式,此处不再赘述。
处理单元1201,还用于根据网络设备和终端之间传输的信息来确定TA调整值。
应理解以上装置中单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。例如,各个单元可以为单独设立的处理元件,也可以集成在装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里的处理元件又可以成为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。
在一个例子中,以上任一装置中的单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA),或这些集成电路形式中至少两种的组合。再如,当装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
以上用于接收的单元是一种该装置的接口电路,用于从其它装置接收信号。例如,当该装置以芯片的方式实现时,该接收单元是该芯片用于从其它芯片或装置接收信号的接口电路。以上用于发送的单元是一种该装置的接口电路,用于向其它装置发送信号。例如,当该装置以芯片的方式实现时,该发送单元是该芯片用于向其它芯片或装置发送信号的接口电路。
网络设备通过与终端之间的接口协议与终端交互信息,例如,发送多个时间参考信息 或第一时间参考信息;网络设备与终端之间通过无线连接,网络设备通过无线接口与终端交互信息,例如发送多个时间参考信息或第一时间参考信息。
请参考图13,其为本申请实施例提供的一种终端的结构示意图。其可以为以上实施例中的终端,用于实现以上实施例中终端的操作。如图13所示,该终端包括:天线1301、射频部分1302、信号处理部分1303。天线1301与射频部分1302连接。在下行方向上,射频部分1302通过天线1301接收网络设备发送的信息,将网络设备发送的信息发送给信号处理部分1303进行处理。在上行方向上,信号处理部分1303对终端的信息进行处理,并发送给射频部分1302,射频部分1302对终端的信息进行处理后经过天线1301发送给网络设备。
信号处理部分1303可以包括调制解调子系统,用于实现对数据各通信协议层的处理;还可以包括中央处理子系统,用于实现对终端操作系统以及应用层的处理;此外,还可以包括其它子系统,例如多媒体子系统,周边子系统等,其中多媒体子系统用于实现对终端相机,屏幕显示等的控制,周边子系统用于实现与其它设备的连接。调制解调子系统可以为单独设置的芯片。可选地,以上用于终端的装置可以位于该调制解调子系统。
调制解调子系统可以包括一个或多个处理元件13031,例如,包括一个主控CPU和其它集成电路。此外,该调制解调子系统还可以包括存储元件13032和接口电路13033。存储元件13032用于存储数据和程序,但用于执行以上方法中终端所执行的方法的程序可能不存储于该存储元件13032中,而是存储于调制解调子系统之外的存储器中,使用时调制解调子系统加载使用。接口电路13033用于与其它子系统通信。以上用于终端的装置可以位于调制解调子系统,该调制解调子系统可以通过芯片实现,该芯片包括至少一个处理元件和接口电路,其中处理元件用于执行以上终端执行的任一种方法的各个步骤,接口电路用于与其它装置通信。在一种实现中,终端实现以上方法中各个步骤的单元可以通过处理元件调度程序的形式实现,例如应用于终端的装置包括处理元件和存储元件,处理元件调用存储元件存储的程序,以执行以上方法实施例中终端执行的方法。存储元件可以为处理元件处于同一芯片上的存储元件,即片内存储元件。
在另一种实现中,用于执行以上方法中终端所执行的方法的程序可以在与处理元件处于不同芯片上的存储元件,即片外存储元件。此时,处理元件从片外存储元件调用或加载程序于片内存储元件上,以调用并执行以上方法实施例中终端执行的方法。
在又一种实现中,应用于终端的装置实现以上方法中各个步骤的单元可以是被配置成一个或多个处理元件,这些处理元件设置于调制解调子系统上,这里的处理元件可以为集成电路,例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或者这些类集成电路的组合。这些集成电路可以集成在一起,构成芯片。
终端实现以上方法中各个步骤的单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现,该SOC芯片,用于实现以上方法。该芯片内可以集成至少一个处理元件和存储元件,由处理元件调用存储元件的存储的程序的形式实现以上终端执行的方法;或者,该芯片内可以集成至少一个集成电路,用于实现以上终端执行的方法;或者,可以结合以上实现方式,部分单元的功能通过处理元件调用程序的形式实现,部分单元的功能通过集成电路的形式实现。
可见,以上应用于终端的装置可以包括至少一个处理元件和接口电路,其中至少一个处理元件用于执行以上方法实施例所提供的任一种终端执行的方法。处理元件可以以第一 种方式:即调用存储元件存储的程序的方式执行终端执行的部分或全部步骤;也可以以第二种方式:即通过处理器元件中的硬件的集成逻辑电路结合指令的方式执行终端执行的部分或全部步骤;当然,也可以结合第一种方式和第二种方式执行终端执行的部分或全部步骤。
这里的处理元件同以上描述,可以是通用处理器,例如CPU,还可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。
存储元件可以是一个存储器,也可以是多个存储元件的统称。
请参考图14,其为本申请实施例提供的一种网络设备的结构示意图。用于实现以上实施例中网络设备的操作。如图14所示,该网络设备包括:天线1401、射频装置1402、基带装置1403。天线1401与射频装置1402连接。在上行方向上,射频装置1402通过天线1401接收终端发送的信息,将终端发送的信息发送给基带装置1403进行处理。在下行方向上,基带装置1403对终端的信息进行处理,并发送给射频装置1402,射频装置1402对终端的信息进行处理后经过天线1401发送给终端。
基带装置1403可以包括一个或多个处理元件14031,例如,包括一个主控CPU和其它集成电路。此外,该基带装置1403还可以包括存储元件14032和接口电路14033,存储元件14032用于存储程序和数据;接口电路14033用于与射频装置1402交互信息,该接口电路例如为通用公共无线接口(common public radio interface,CPRI)。以上应用于网络设备的装置可以位于基带装置1403,例如,以上应用于网络设备的装置可以为基带装置1403上的芯片,该芯片包括至少一个处理元件和接口电路,其中处理元件用于执行以上网络设备执行的任一种方法的各个步骤,接口电路用于与其它装置通信。在一种实现中,网络设备实现以上方法中各个步骤的单元可以通过处理元件调度程序的形式实现,例如应用于网络设备的装置包括处理元件和存储元件,处理元件调用存储元件存储的程序,以执行以上方法实施例中网络设备执行的方法。存储元件可以为处理元件处于同一芯片上的存储元件,即片内存储元件,也可以为与处理元件处于不同芯片上的存储元件,即片外存储元件。
在另一种实现中,应用于网络设备的装置实现以上方法中各个步骤的单元可以是被配置成一个或多个处理元件,这些处理元件设置于基带装置上,这里的处理元件可以为集成电路,例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或者这些类集成电路的组合。这些集成电路可以集成在一起,构成芯片。
网络设备实现以上方法中各个步骤的单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现,例如,基带装置包括该SOC芯片,用于实现以上方法。该芯片内可以集成至少一个处理元件和存储元件,由处理元件调用存储元件的存储的程序的形式实现以上网络设备执行的方法;或者,该芯片内可以集成至少一个集成电路,用于实现以上网络设备执行的方法;或者,可以结合以上实现方式,部分单元的功能通过处理元件调用程序的形式实现,部分单元的功能通过集成电路的形式实现。
可见,以上应用于网络设备的装置可以包括至少一个处理元件和接口电路,其中至少一个处理元件用于执行以上方法实施例所提供的任一种网络设备执行的方法。处理元件可以以第一种方式:即调用存储元件存储的程序的方式执行网络设备执行的部分或全部步骤;也可以以第二种方式:即通过处理器元件中的硬件的集成逻辑电路结合指令的方式执行网 络设备执行的部分或全部步骤;当然,也可以结合第一种方式和第二种方式执行以上网络设备执行的部分或全部步骤。
这里的处理元件同以上描述,可以是通用处理器,例如CPU,还可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。
存储元件可以是一个存储器,也可以是多个存储元件的统称。
请参考图15,其为本申请实施例提供的另一种网络设备的结构示意图。其可以为以上实施例中的网络设备,用于实现以上实施例中网络设备的操作。
如图15所示,该网络设备包括:处理器1510,存储器1520,和接口1530,处理器1510、存储器1520和接口1530信号连接。
以上参考时间确定装置位于该网络设备中,且各个单元的功能可以通过处理器1510调用存储器1520中存储的程序来实现。即,以上参考时间确定装置包括存储器和处理器,存储器用于存储程序,该程序被处理器调用,以执行以上方法实施例中的方法。这里的处理器可以是一种具有信号的处理能力的集成电路,例如CPU。或者以上各个单元的功能可以通过配置成实施以上方法的一个或多个集成电路来实现。例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。或者,可以结合以上实现方式。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (21)

  1. 一种参考时间确定方法,其特征在于,所述方法包括:
    终端从网络设备接收的多个时间参考信息;
    所述终端从网络设备接收指示信息,所述指示信息用于指示第一时间参考信息,所述多个时间参考信息包括所述第一时间参考信息;
    所述终端根据所述指示信息确定所述第一时间参考信息,并根据所述第一时间参考信息确定所述终端的参考时间。
  2. 如权利要求1所述的方法,其特征在于,所述多个时间参考信息中的时间参考信息用于指示控制设备的参考时间。
  3. 如权利要求2所述的方法,其特征在于,所述时间参考信息包括参考时间信元和标识信元;
    所述标识信元包括控制设备的设备信息,时钟的标识信息,或所述时间参考信息的索引。
  4. 如权利要求1所述的方法,其特征在于,所述多个时间参考信息中的时间参考信息用于指示控制设备的参考时间与所述网络设备的参考时间的时间偏差。
  5. 如权利要求4所述的方法,其特征在于,还包括:
    所述终端接收所述网络设备的时间参考信息,所述网络设备的时间参考信息用于指示所述网络设备的参考时间。
  6. 如权利要求5所述的方法,其特征在于,所述终端根据所述第一时间参考信息确定所述终端的参考时间,包括:
    所述终端根据所述第一时间参考信息和所述网络设备的时间参考信息,确定所述终端的参考时间。
  7. 如权利要求4所述的方法,其特征在于,所述时间参考信息包括时间偏差信元和标识信元;
    所述标识信元包括控制设备的设备信息,时钟的标识信息,或所述时间参考信息的索引。
  8. 如权利要求1至7任一项所述的方法,其特征在于,所述多个时间参考信息和所述指示信息位于同一消息。
  9. 如权利要求1至8任一项所述的方法,其特征在于,所述指示信息包括第一控制设备的设备信息,第一时钟的标识信息,或所述第一时间参考信息的索引。
  10. 一种参考时间确定装置,其特征在于,所述装置包括接收单元和处理单元:
    接收单元,用于从网络设备接收的多个时间参考信息以及从网络设备接收指示信息,所述指示信息用于指示第一时间参考信息,所述多个时间参考信息包括所述第一时间参考信息;
    所述处理单元,用于根据所述指示信息确定所述第一时间参考信息,并根据所述第一时间参考信息确定所述终端的参考时间。
  11. 如权利要求10所述的装置,其特征在于,所述多个时间参考信息中的时间参考信息用于指示控制设备的参考时间。
  12. 如权利要求11所述的装置,其特征在于,所述时间参考信息包括参考时间信元和 标识信元;
    所述标识信元包括控制设备的设备信息,时钟的标识信息,或所述时间参考信息的索引。
  13. 如权利要求10所述的装置,其特征在于,所述多个时间参考信息中的时间参考信息用于指示控制设备的参考时间与所述网络设备的参考时间的时间偏差。
  14. 如权利要求13所述的装置,其特征在于,所述接收单元还用于:
    接收所述网络设备的时间参考信息,所述网络设备的时间参考信息用于指示所述网络设备的参考时间。
  15. 如权利要求14所述的装置,其特征在于,所述处理单元在根据所述第一时间参考信息确定所述终端的参考时间,具体用于:
    根据所述第一时间参考信息和所述网络设备的时间参考信息,确定所述终端的参考时间。
  16. 如权利要求13所述的装置,其特征在于,所述时间参考信息包括时间偏差信元和标识信元;
    所述标识信元包括控制设备的设备信息,时钟的标识信息,或所述时间参考信息的索引。
  17. 如权利要求10至16任一项所述的装置,其特征在于,所述多个时间参考信息和所述指示信息位于同一消息。
  18. 如权利要求10至17任一项所述的装置,其特征在于,所述指示信息包括第一控制设备的设备信息,第一时钟的标识信息,或所述第一时间参考信息的索引。
  19. 一种参考时间确定装置,其特征在于,包括至少一个处理器和接口电路,其中,所述至少一个处理器用于通过所述接口电路与其它装置通信,并执行如权利要求1至9任一项所述的方法。
  20. 一种终端,其特征在于,包括如权利要求10至19任一项所述的装置。
  21. 一种存储介质,其特征在于,包括程序,当所述程序被处理器运行时,如权利要求1-9中任一项所述的方法被执行。
PCT/CN2019/107292 2018-09-27 2019-09-23 一种参考时间确定方法及装置 WO2020063535A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19868116.5A EP3849110A4 (en) 2018-09-27 2019-09-23 METHOD AND APPARATUS FOR DETERMINING A REFERENCE TIME
US17/213,576 US11777629B2 (en) 2018-09-27 2021-03-26 Reference time determining method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811133717.8 2018-09-27
CN201811133717.8A CN110958070B (zh) 2018-09-27 2018-09-27 一种参考时间确定方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/213,576 Continuation US11777629B2 (en) 2018-09-27 2021-03-26 Reference time determining method and apparatus

Publications (1)

Publication Number Publication Date
WO2020063535A1 true WO2020063535A1 (zh) 2020-04-02

Family

ID=69950297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/107292 WO2020063535A1 (zh) 2018-09-27 2019-09-23 一种参考时间确定方法及装置

Country Status (4)

Country Link
US (1) US11777629B2 (zh)
EP (1) EP3849110A4 (zh)
CN (1) CN110958070B (zh)
WO (1) WO2020063535A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022238872A1 (en) * 2021-05-10 2022-11-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Propagation delay compensation for synchronization

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093000A1 (en) * 2018-11-02 2020-05-07 Intel Corporation Time synchronization accuracy enhancements
CN111258209A (zh) * 2018-12-25 2020-06-09 维沃移动通信有限公司 一种时间信息的获取方法、发送方法、终端和网络设备
US20220124654A1 (en) * 2019-01-09 2022-04-21 Ntt Docomo, Inc. Terminal and communication method
CN111278155B (zh) * 2019-01-28 2022-02-22 维沃移动通信有限公司 一种信息传输方法、终端设备和网络侧设备
WO2020177732A1 (en) * 2019-03-06 2020-09-10 Huawei Technologies Co., Ltd. Data synchronization in a p2p network
US11283535B2 (en) * 2019-03-20 2022-03-22 Arris Enterprises Llc Method of remotely monitoring the timing performance of a PTP slave
CN113543299A (zh) * 2020-04-15 2021-10-22 华为技术有限公司 一种时间同步方法及装置
CN117354152A (zh) * 2022-06-27 2024-01-05 中兴通讯股份有限公司 维测时间的确定方法、装置和设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790230A (zh) * 2009-01-23 2010-07-28 华为技术有限公司 精确时间协议节点、时戳操作方法及时间同步系统
CN104581923A (zh) * 2013-10-25 2015-04-29 上海无线通信研究中心 通过无线链路传输精确时间信息的方法
US20160345179A1 (en) * 2015-05-21 2016-11-24 Nokia Solutions And Networks Oy Method And Apparatus For Securing Timing Packets Over Untrusted Packet Transport Network
US20170195110A1 (en) * 2015-10-02 2017-07-06 Telefonaktiebolaget L M Ericsson (Publ) Synchronizing Clocks in a Communications Network

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100627188B1 (ko) * 2000-07-04 2006-09-22 에스케이 텔레콤주식회사 무선통신 역방향 동기 방식에서의 코드 할당 방법
US7155244B2 (en) * 2003-08-14 2006-12-26 Siemens Communications, Inc. Precise common timing in a wireless network
CN101350663A (zh) * 2007-07-18 2009-01-21 中兴通讯股份有限公司 一种多媒体多播广播业务数据同步方法及系统
US9146296B2 (en) * 2011-01-14 2015-09-29 Qualcomm Incorporated Methods and apparatuses for use in providing positioning assistance data to mobile stations via a self-organizing network
CN102932880B (zh) * 2011-08-08 2018-03-27 中兴通讯股份有限公司 多载波通信系统中的小区选择方法及装置
US9572123B2 (en) * 2012-03-14 2017-02-14 Fujitsu Limited Multiple time advance for radio access networks
US8731560B2 (en) * 2012-03-16 2014-05-20 Qualcomm Incorporated Access point synchronization with cooperative mobile devices
US9210664B2 (en) * 2012-04-17 2015-12-08 Ofinno Technologies. LLC Preamble transmission in a wireless device
US8934452B2 (en) * 2012-07-17 2015-01-13 Alcatel Lucent Method, apparatus and computer readable medium for timing alignment in overlaid heterogeneous wireless networks
US9042903B2 (en) * 2013-01-10 2015-05-26 Qualcomm Incorporated Methods and apparatus for efficient co-existence of macro and small cells
EP3146790B1 (en) * 2014-05-19 2020-11-25 Telefonaktiebolaget LM Ericsson (publ) Adaptation of dual connectivity procedures
EP3198956B1 (en) * 2014-09-25 2022-04-06 Samsung Electronics Co., Ltd. Synchronization procedure and resource control method and apparatus for communication in d2d system
KR102347722B1 (ko) * 2015-04-10 2022-01-06 삼성전자주식회사 무선 통신 시스템에서 위치 측정을 위한 장치 및 방법
GB2538534A (en) * 2015-05-20 2016-11-23 Vodafone Ip Licensing Ltd Time distribution in wireless communication systems
CN108781474B (zh) * 2016-02-05 2022-07-19 瑞典爱立信有限公司 针对装置到装置无线电通信的时间基准类型的选择
US10736113B2 (en) * 2016-02-16 2020-08-04 Qualcomm Incorporated Positioning signal techniques for narrowband devices
CN108011682B (zh) * 2016-10-27 2020-09-08 北京华为数字技术有限公司 确定时间源的方法和网络设备
CN106488550B (zh) * 2016-12-20 2019-11-12 华为技术有限公司 确定终端与基站时钟时间偏差的方法与装置
US10396883B2 (en) * 2017-05-26 2019-08-27 Qualcomm Incorporated Terrestrial wireless positioning in licensed and unlicensed frequency bands
US10461847B2 (en) * 2017-05-26 2019-10-29 Qualcomm Incorporated Terrestrial wireless positioning in licensed and unlicensed frequency bands
US11233594B2 (en) * 2017-12-19 2022-01-25 Qualcomm Incorporated Time synchronization for wireless communications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790230A (zh) * 2009-01-23 2010-07-28 华为技术有限公司 精确时间协议节点、时戳操作方法及时间同步系统
CN104581923A (zh) * 2013-10-25 2015-04-29 上海无线通信研究中心 通过无线链路传输精确时间信息的方法
US20160345179A1 (en) * 2015-05-21 2016-11-24 Nokia Solutions And Networks Oy Method And Apparatus For Securing Timing Packets Over Untrusted Packet Transport Network
US20170195110A1 (en) * 2015-10-02 2017-07-06 Telefonaktiebolaget L M Ericsson (Publ) Synchronizing Clocks in a Communications Network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI ET AL.: "Discussion on time synchronization impact in physical layer", 3GPP TSG RAN WG1 MEETING #94, RL-1809346., 24 August 2018 (2018-08-24), XP051516710 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022238872A1 (en) * 2021-05-10 2022-11-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Propagation delay compensation for synchronization

Also Published As

Publication number Publication date
EP3849110A1 (en) 2021-07-14
CN110958070B (zh) 2021-08-20
US20210218489A1 (en) 2021-07-15
US11777629B2 (en) 2023-10-03
CN110958070A (zh) 2020-04-03
EP3849110A4 (en) 2021-11-24

Similar Documents

Publication Publication Date Title
WO2020063535A1 (zh) 一种参考时间确定方法及装置
CN110324889B (zh) 时钟同步方法、通信装置及通信设备
WO2019192322A1 (zh) 通信的方法和装置
WO2020220851A1 (zh) 一种通信方法、终端设备以及网络设备
WO2021027346A1 (zh) 公共定时提前的指示方法、装置、设备及存储介质
JP6371406B2 (ja) 基地局、ユーザ機器、及び基地局間キャリアアグリゲーションのための測定方法
US11576133B2 (en) Timing synchronization of 5G V2X sidelink transmissions
WO2018219334A1 (zh) 一种时钟同步方法及设备
WO2020001367A1 (zh) 修正时间信息的方法和装置
CN107682925A (zh) 一种信息发送时间的确定方法及装置
WO2022027666A1 (zh) 一种时间同步方法及装置
WO2023011188A1 (zh) 一种通信方法及装置
WO2020143571A1 (zh) 一种同步方法及装置
US20230026332A1 (en) Wireless communication method and communication apparatus
KR20200067730A (ko) 비-트리거-기반 레인징을 위한 절전
WO2022078472A1 (en) Method of propagation delay compensation and related devices
WO2020221237A1 (zh) 调整时域资源边界的方法和通信装置
WO2021159262A1 (zh) 定时提前量的阈值调整方法及装置
WO2020238684A1 (zh) 通信方法、装置、设备及计算机可读存储介质
WO2021134705A1 (zh) 时间同步的确定方法及相关产品
WO2022028716A1 (en) Ue based time synchronization in 5gs with gm clock on the ue side
WO2023116435A1 (zh) 一种通信方法及装置
WO2024066921A1 (zh) 通信方法和通信装置
WO2024114189A1 (zh) 一种定位方法及通信装置
US20230217386A1 (en) On-Demand Procedure for Requesting 5G Time Reference

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19868116

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019868116

Country of ref document: EP

Effective date: 20210407