WO2023051620A1 - Communication method, communication apparatus and communication system - Google Patents

Communication method, communication apparatus and communication system Download PDF

Info

Publication number
WO2023051620A1
WO2023051620A1 PCT/CN2022/122180 CN2022122180W WO2023051620A1 WO 2023051620 A1 WO2023051620 A1 WO 2023051620A1 CN 2022122180 W CN2022122180 W CN 2022122180W WO 2023051620 A1 WO2023051620 A1 WO 2023051620A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
clock
information
time
network
Prior art date
Application number
PCT/CN2022/122180
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2023051620A1 publication Critical patent/WO2023051620A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the present application relates to the technical field of communication, and in particular to a communication method, a communication device and a communication system.
  • the fifth generation (the 5th generation, 5G) network manages the information of a clock, and the 5G network has the ability to serve time, and can provide the time information of the clock to the outside world.
  • Embodiments of the present application provide a communication method, a communication device, and a communication system, so as to provide time information.
  • the embodiment of the present application provides a communication method, the method may be executed by a first network element or a module (such as a chip) in the first network element, and the first network element may be a clock network function network element.
  • the method includes: the first network element receives time requirement information from the second network element; the first network element acquires time information of the first clock according to the time requirement information, and the The first clock is a clock matching the time requirement information among the multiple clocks of the first network element; the first network element sends the time information of the first clock to the second network element.
  • the first network element can provide the second network element with the time of a clock that best matches the time requirement information based on the time requirement information sent by the second network element Information, can provide accurate time information.
  • the first network element continuously sends the time information of the first clock to the second network element according to a set period.
  • the first network element can keep the second network element synchronized with the first clock by continuously sending the time information of the first clock to the second network element.
  • the first network element receives the time keeping capability of the second network element from the second network element, and the time keeping capability of the second network element indicates that the second network element loses a clock source signal Afterwards, the precise time is continuously provided for a period of time; the first network element sends the time information of the first clock to the second network element according to the time keeping capability of the second network element.
  • the second network element can be synchronized with the first clock, and on the other hand, the signaling overhead for the first network element to send the time information of the first clock to the second network element can be reduced.
  • the first network element determines the time information of at least two clocks among the plurality of clocks according to the time requirement information, and the at least two clocks both match the time requirement information; the first network element The element selects the first clock from the at least two clocks.
  • the first network element sends configuration information of the first clock to the second network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the second One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
  • the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
  • the second network element is an application function network element, a terminal device, an access network device or a core network device.
  • the embodiment of the present application provides a communication method, which can be performed by a second network element or a module (such as a chip) in the second network element, and the second network element can be a terminal device, an access network equipment, core network equipment, or application function network element.
  • the method includes: the second network element sends time requirement information to the first network element; the second network element receives time information from a first clock of the first network element, and the first clock is a multiple clock of the first network element The clock that matches the time requirement information among the clocks.
  • the second network element can obtain the time information of a clock that best matches the time demand information from the first network element according to its own time demand information, which can realize Provide precise time information.
  • the second network element receives configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
  • the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
  • the embodiment of the present application provides a communication method, which can be performed by a third network element or a module (such as a chip) in the third network element, and the third network element can be a mobility management network element or Network open capability network element.
  • the method includes: the third network element receives the time requirement information from the second network element; the third network element obtains the address information of the first network element according to the time requirement information, and the first network element contains the time requirement information Information about the matched clock; the third network element sends the time requirement information to the first network element according to the address information of the first network element; the third network element receives the first clock from the first network element For time information, the first clock is a clock matching the time requirement information among multiple clocks of the first network element; the third network element sends the time information of the first clock to the second network element.
  • the third network element can obtain the time of a clock that best matches the time requirement information from the first network element based on the time requirement information sent by the second network element information, and provide the time information of the clock to the second network element, so that precise time information can be provided.
  • the third network element sends a query message to the data management network element, and the query message includes the time requirement information; the third network element receives the first network element from the data management network element address information.
  • the third network element obtains the address information of the first network element from the data management network element, so that the address information of the first network element can be obtained accurately and quickly.
  • the third network element receives configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the One or more of the time keeping capability of the first clock, the time service objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock;
  • the three network elements send the configuration information of the first clock to the second network element.
  • the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
  • the second network element is an application function network element, a terminal device, an access network device or a core network device.
  • the embodiment of the present application provides a communication method, and the method may be executed by a data management network element or a module (such as a chip) in the data management network element.
  • the method includes: the data management network element receives a query message from a third network element, the query message includes time requirement information; the data management network element determines a first network element according to the time requirement information, and the first network element includes The information of the clock matching the time requirement information; the data management network element sends the address information of the first network element to the third network element.
  • the third network element obtains the address information of the first network element from the data management network element, so that the address information of the first network element can be obtained accurately and quickly.
  • the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
  • the third network element is a mobility management network element or a network capability opening network element.
  • the embodiment of the present application provides a communication device, and the device may be a first network element or a module (such as a chip) applied to the first network element.
  • the device has the function of realizing any realization method of the first aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device, and the device may be a second network element or a module (such as a chip) applied to the second network element.
  • the device has the function of implementing any implementation method of the second aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device, and the device may be a third network element or a module (such as a chip) applied to the third network element.
  • the device has the function of realizing any realization method of the third aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device, which may be a data management network element or a module (such as a chip) applied to the data management network element.
  • the device has the function of realizing any realization method of the fourth aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory, so that the device executes Any implementation method in the first aspect to the fourth aspect above.
  • the embodiment of the present application provides a communication device, including a unit or means (means) for performing each step of any implementation method in the first aspect to the fourth aspect.
  • the embodiment of the present application provides a communication device, including a processor and an interface circuit, the processor is used to communicate with other devices through the interface circuit, and execute any implementation method in the first aspect to the fourth aspect above .
  • the processor includes one or more.
  • an embodiment of the present application provides a communication device, including a processor coupled to a memory, and the processor is used to call a program stored in the memory to execute any implementation in the first aspect to the fourth aspect above method.
  • the memory may be located within the device or external to the device. And there may be one or more processors.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it runs on the communication device, the above-mentioned first aspect to the fourth aspect Any implementation method of is executed.
  • the embodiment of the present application also provides a computer program product, the computer program product includes computer programs or instructions, when the computer program or instructions are run by the communication device, any of the above first to fourth aspects The implementation method is executed.
  • the embodiment of the present application further provides a chip system, including: a processor, configured to execute any implementation method in the first aspect to the fourth aspect above.
  • the embodiment of the present application further provides a communication system, including a first network element configured to execute any implementation method of the first aspect, and a second network element configured to execute any implementation method of the second aspect.
  • the embodiment of the present application further provides a communication system, including a third network element configured to execute any implementation method of the third aspect, and a data management network element configured to execute any implementation method of the fourth aspect.
  • Figure 1 is a schematic diagram of a 5G network architecture based on a service architecture
  • Figure 2 is a schematic diagram of a 5G network architecture based on a point-to-point interface
  • FIG. 3 is a flowchart of a communication method provided in an embodiment of the present application.
  • FIG. 4 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a communication device provided in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a 5G network architecture based on a service-based architecture.
  • the 5G network architecture shown in FIG. 1 may include terminal equipment, access network equipment, and core network equipment.
  • the terminal device accesses the data network (data network, DN) through the access network device and the core network device.
  • data network data network
  • the core network equipment includes some or all of the following network elements: unified data management (unified data management, UDM) network elements, unified database (unified data repository, UDR) network elements, network exposure function (network exposure function, NEF) Network element (not shown in the figure), application function (application function, AF) network element, policy control function (policy control function, PCF) network element, access and mobility management function (access and mobility management function, AMF) Network element, session management function (session management function, SMF) network element, user plane function (user plane function, UPF) network element, network storage function (Network Repository Function, NRF) network element (not shown in the figure), clock Network function (timing network function, TNF) network element.
  • unified data management unified data management
  • UDR unified data repository
  • NEF network exposure function
  • NEF network exposure function
  • application function application function, AF
  • policy control function policy control function
  • PCF policy control function
  • AMF access and mobility management function
  • AMF session management function
  • SMF session management function
  • the terminal equipment also called user equipment, UE of this application is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); can also be deployed in the air (such as aircraft, balloons and satellites, etc.).
  • the terminal device may be a mobile phone, a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control ), wireless terminals in self driving, wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety , wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • VR virtual reality
  • AR augmented reality
  • industrial control industrial control
  • the above-mentioned terminal device can establish a connection with the operator network through an interface provided by the operator network (such as N1, etc.), and use services such as data and/or voice provided by the operator network.
  • the terminal device can also access the DN through the operator's network, and use the operator's service deployed on the DN, and/or the service provided by a third party.
  • the above-mentioned third party may be a service party other than the operator's network and the terminal device, and may provide other services such as data and/or voice for the terminal device.
  • the specific form of expression of the above-mentioned third party can be determined according to the actual application scenario, and is not limited here.
  • the access network device is a device that provides wireless communication functions for terminal devices.
  • Access network equipment includes, but is not limited to: a next-generation base station (g nodeB, gNB) in 5G, an evolved node B (evolved node B, eNB), a radio network controller (radio network controller, RNC), a node B ( node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit , BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
  • g nodeB, gNB next-generation base station
  • eNB evolved node B
  • RNC radio network controller
  • RNC radio network controller
  • node B node B
  • base station controller base station controller
  • BTS base transceiver station
  • Access network equipment and terminal equipment can be fixed or mobile. Access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed on aircraft, balloons and artificial satellites in the air.
  • the embodiments of the present application do not limit the application scenarios of the access network device and the terminal device.
  • the mobility management network element is a control plane network element provided by the operator network, which is responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning user temporary identities, Functions such as authenticating and authorizing users.
  • the mobility management network element can be an AMF network element.
  • future communications such as the 6th generation (6G)
  • the mobility management network element can still be an AMF network element, or have other names.
  • the session management network element is a control plane network element provided by an operator network, and is responsible for managing a protocol data unit (protocol data unit, PDU) session of a terminal device.
  • a PDU session is a channel for transmitting PDUs, and terminal equipment needs to transmit PDUs with DN through the PDU session.
  • the PDU session is established, maintained and deleted by the SMF network element.
  • Session management network elements include session management (such as session establishment, modification and release, including tunnel maintenance between user plane network elements and access network equipment), selection and control of user plane network elements, service and session continuity (Service and Session Continuity (SSC) mode selection, roaming and other session-related functions.
  • the session management network element can be an SMF network element.
  • future communications such as 6G, the session management network element can still be an SMF network element, or have other names, which are not limited in this application.
  • the user plane network element is a gateway provided by an operator, and is a gateway for communication between the operator's network and the DN.
  • UPF network elements include data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, lawful interception, uplink packet detection, downlink data packet storage, and other user-plane-related functions.
  • QoS Quality of Service
  • the user plane network element can be a UPF network element.
  • future communications such as 6G, the user plane network element can still be a UPF network element, or have other names, which are not limited in this application.
  • the data management network element is the control plane network element provided by the operator, which is responsible for storing the subscriber permanent identifier (SUPI), credential, and security context of the subscriber in the operator's network. context), signing data and other information.
  • the information stored by the data management network element can be used for authentication and authorization of terminal equipment to access the operator's network.
  • the above-mentioned subscribers of the operator network may specifically be users who use services provided by the operator network, such as users who use China Telecom's mobile phone chip card, or users who use China Mobile's mobile phone chip card.
  • the Subscription Permanent Identifier (SUPI) of the above-mentioned subscriber can be the number of the mobile phone chip card, etc.
  • the credential and security context of the above-mentioned contracted user may be small files stored in the encryption key of the mobile phone chip card or information related to the encryption of the mobile phone chip card for authentication and/or authorization.
  • the aforementioned security context may be data (cookie) or token (token) stored on the user's local terminal (such as a mobile phone).
  • the subscription data of the above-mentioned subscribers can be the supporting services of the mobile phone chip card, such as the data package or network usage of the mobile phone chip card.
  • permanent identifiers, credentials, security contexts, authentication data (cookies), and tokens are equivalent to information related to authentication and authorization. In this application document, for the convenience of description, no distinction or limitation is made.
  • the embodiment of the present application will be described by taking the security context as an example, but the embodiment of the present application is also applicable to authentication and/or authorization information expressed in other ways.
  • the data management network element can be a UDM network element.
  • future communication such as 6G, the data management network element can still be a UDM network element, or have other names, which are not limited in this application.
  • the unified database network element is a control plane network element provided by an operator, and includes the access function for executing contract data, policy data, application data and other types of data.
  • the unified database network element can be a UDR network element.
  • future communications such as 6G, the unified database network element can still be a UDR network element, or have other names, which are not limited in this application.
  • the network open network element is a control plane network element provided by an operator.
  • the network opening network element opens the external interface of the operator's network to the third party in a secure manner.
  • the network open network element can serve as a relay for the session management network element to communicate with the third-party network element.
  • the open network element can be used as the translation of the identification information of the subscriber and the translation of the identification information of the third-party network element. For example, when the network open network element sends the subscriber's SUPI from the operator's network to a third party, it may translate the SUPI into its corresponding external identity (identity, ID).
  • an open network element when an open network element sends an external ID (the third-party network element ID) to the operator network, it can translate it into SUPI.
  • the network open network element can be a NEF network element.
  • future communications such as 6G, the network open network element can still be a NEF network element, or have other names, which are not limited in this application.
  • the application function network element is used to transfer the requirements from the application side to the network side, for example, QoS requirements or user status event subscription.
  • the application function network element can be a third-party functional entity, or an application server deployed by an operator.
  • the application function network element can be an AF network element.
  • future communications such as 6G, the application function network element can still be an AF network element, or have other names, which are not limited in this application.
  • the policy control network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the session management network element.
  • Policies may include accounting-related policies, QoS-related policies, and authorization-related policies.
  • the policy control network element can be a PCF network element.
  • future communications such as 6G, the policy control network element can still be a PCF network element, or have other names, which are not limited in this application.
  • the network element with the network storage function may be used to provide the network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements.
  • the network element with the network storage function also provides network element management services, such as network element registration, update, de-registration, and network element status subscription and push.
  • the network storage function network element can be an NRF network element.
  • future communications such as 6G, the network storage function network element can still be an NRF network element, or have other names, which are not limited in this application.
  • the clock network function network element can be used to manage the information of one or more clocks in the 5G network, and can provide clock time information externally through its own port, such as directly or indirectly to terminal equipment, access network equipment, core Network devices or third-party application function network elements provide clock time information.
  • the time information represents the time, moment or time point of the clock.
  • the clock network function network element can be a TNF network element.
  • future communications such as 6G, the clock network function network element can still be a TNF network element, or have other names, which are not limited in this application.
  • DN is a network outside the operator's network.
  • the operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminal equipment.
  • DN is a private network of a smart factory.
  • the sensors installed in the workshop of the smart factory can be terminal devices.
  • the control server of the sensor is deployed in the DN, and the control server can provide services for the sensor.
  • the sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions.
  • DN is a company's internal office network, and the mobile phone or computer of the company's employees can be a terminal device, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
  • Npcf, Nudr, Nudm, Naf, Namf, Nsmf, and Ntnf are the service interfaces provided by the above-mentioned PCF, UDR, UDM, AF, AMF, SMF, and TNF, respectively, and are used to call corresponding service operations.
  • N1, N2, N3, N4, and N6 are interface serial numbers, and the meanings of these interface serial numbers may refer to the description in FIG. 2 .
  • FIG. 2 is a schematic diagram of a 5G network architecture based on a point-to-point interface.
  • the introduction of the functions of the network elements can refer to the introduction of the functions of the corresponding network elements in FIG. 1 , and will not be repeated here.
  • the main difference between FIG. 2 and FIG. 1 is that: the interface between each control plane network element in FIG. 1 is a service interface, and the interface between each control plane network element in FIG. 2 is a point-to-point interface.
  • N1 the interface between the AMF and the terminal device, which can be used to transmit NAS signaling (such as including QoS rules from the AMF) to the terminal device.
  • N2 the interface between the AMF and the RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
  • N3 the interface between the RAN and the UPF, mainly used to transfer the uplink and downlink user plane data between the RAN and the UPF.
  • N4 The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the distribution of forwarding rules, QoS control rules, traffic statistics rules, etc. Information reporting.
  • N5 the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
  • N6 the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
  • N7 the interface between PCF and SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policy.
  • protocol data unit protocol data unit
  • PDU protocol data unit
  • N8 the interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register information related to current mobility management of terminal equipment with UDM.
  • N9 a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
  • N10 the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register current session-related information of terminal equipment with UDM.
  • N11 The interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to terminal equipment, transfer radio resource control information sent to RAN, etc.
  • N15 the interface between PCF and AMF, which can be used to issue terminal device policies and access control related policies.
  • N35 the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
  • N36 the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
  • the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • a platform for example, a cloud platform.
  • the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • FIG. 3 it is a flow chart of a communication method provided by an embodiment of the present application. The method includes the following steps:
  • Step 301 the second network element sends time requirement information to the first network element.
  • the first network element receives the time requirement information.
  • the second network element sends the time requirement information to the first network element for requesting to obtain time information of a clock matching the time requirement information.
  • the first network element is a clock network function network element, and of course it can also be other network elements of the core network.
  • the second network element is a third-party application function (AF) network element, a terminal device, an access network device or a core network device (such as an AMF network element, an SMF network element, a UPF network element, etc.).
  • AF application function
  • the first network element acquires time information of a first clock according to the time requirement information, and the first clock is a clock matching the time requirement information among multiple clocks of the first network element.
  • profile information of multiple clocks is stored on the first network element, and the information of each clock stored on the first network element includes one or more of the following information:
  • Clock source indicates the source of the clock, for example, it can be global navigation satellite system (global navigation satellite system, GNSS), clock synchronization network (time synchronization network, TSN) or local clock, etc.
  • source indicates the source of the clock, for example, it can be global navigation satellite system (global navigation satellite system, GNSS), clock synchronization network (time synchronization network, TSN) or local clock, etc.
  • Clock accuracy indicates the error between the clock and the main clock, for example, the error may be 1 microsecond (us) or 500 nanoseconds (ns).
  • the master clock is a clock of multiple clocks on the first network element.
  • Time holding capability Indicates how long the clock can continue to provide accurate time after losing the clock source signal.
  • the clock source of clock 1 is GNSS
  • the time holding capability is 24 hours, indicating that when clock 1 loses the GNSS signal, It can still provide accurate time within 24 hours by itself.
  • Allowable timing objects refer to objects that provide time, such as timing for specific AF or devices in the 5G system.
  • Service area refers to the service range of the clock, such as delineating the service area at the granularity of the public land mobile network (PLMN), or delineating the service area at the granularity of the tracking area (TA) list .
  • PLMN public land mobile network
  • TA tracking area
  • Quality level (clockclass): Output quality level 6 when tracking the global positioning system (GPS), output 7 when maintaining and meeting the performance requirements, output 52 when free oscillation.
  • GPS global positioning system
  • Clock transmission capability for example, time service through air interface or time service through 1588 protocol.
  • the multiple clocks on the first network element may include multiple clocks from the same clock source, for example, multiple GNSS clocks, or multiple TSN clocks, and so on.
  • the first network element determines a clock that matches the time requirement information according to the stored profile information of multiple clocks, such as the first clock, and then the first network element obtains the clock of the first clock. time information.
  • the time requirement information sent in the above step 301 includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
  • the method for the first network element to determine the clock according to the time requirement information may be, for example: obtaining a clock matching all the information in the time requirement information, or obtaining a clock matching part of the information in the time requirement information.
  • the first network element may one or more of them), select a clock with the best performance, or randomly select a clock from the at least two clocks.
  • the time requirement information includes the TSN clock source and the clock accuracy of 1 us. According to the time requirement information, the first network element obtains three clock sources meeting the time requirement information, which are TSN clock source 1, TSN clock source 2 and TSN clock source 3.
  • the first network element may randomly select a clock source from the three TSN clock sources, or the first network element may select a TSN clock source with the highest clock accuracy from the three TSN clock sources, such as TSN clock source 1,
  • the clock accuracy of TSN clock source 2 and TSN clock source 3 are 1us, 0.9us and 0.8us respectively, then the first network element selects TSN clock source 3, or the first network element selects one of the three TSN clock sources to keep the time
  • the TSN clock source with the highest capability for example, the time keeping capabilities of TSN clock source 1, TSN clock source 2, and TSN clock source 3 are 24 hours, 23 hours, and 22 hours respectively, and the first network element selects TSN clock source 1.
  • Machine in this embodiment of the present application may refer to “same” or "the difference is smaller than a preset threshold”.
  • Step 303 the first network element sends the time information of the first clock to the second network element.
  • the second network element receives the time information of the first clock.
  • the time information of the first clock may be a specific time, for example, it may be the time, time, or time point of the first clock.
  • the implementation method of the time information will be described below with an example.
  • the time information of the first clock is represented by a field in the following format:
  • the refDays-r16 field is used to indicate "days” in the time information
  • the refSeconds-r16 field is used to indicate "seconds” in the time information
  • the refMilliSeconds-r16 field is used to indicate "milliseconds” in the time information
  • refTenNanoSeconds-r16 field is used to indicate "nanoseconds" in time information.
  • the values of the four fields are: 10950, 36066, 500, and 10 respectively, and the corresponding time information is: December 26, 2000 at 10:06:6:500 milliseconds and 100 nanoseconds.
  • the second network element can calculate and obtain the time information of the first clock according to the conversion rule: December 26, 2000, 10:00, 6:6, 500 milliseconds, 100 nanoseconds.
  • the time information of the first clock may also be relevant information for determining time, for example, it may be the difference between the time of the first clock and the time of the second network element.
  • the element can calibrate the time of the second network element according to the difference value and the time of the second network element, so as to realize clock synchronization of the second network element and the first network element.
  • the first network element can provide the second network element with the time of a clock that best matches the time requirement information based on the time requirement information sent by the second network element Information, can provide accurate time information.
  • the first network element in order to keep the second network element synchronized with the first clock, can continuously perform the above step 303, for example, the first network element continues to send the second network element to the second network element according to the set period
  • the continuation means that the latest time information of the first clock is always sent to the second network element according to the set period.
  • the period here refers to a very short time interval, for example, it can be 1ns, 2ns and so on.
  • the second network element also sends the time keeping capability of the second network element to the first network element, and the time keeping capability of the second network element indicates that the second network element loses the clock source signal The length of time after which the precise time will continue to be provided.
  • the first network element can perform the above step 303 according to the time keeping capability of the second network element. For example, if the time keeping capability of the second network element is 24 hours, then the first network element The network element sends the time information of the first clock to the second network element every 24 hours.
  • the first network element may also send the configuration information of the first clock to the second network element, and the configuration information includes the clock source of the first clock, the clock precision of the first clock, the second One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
  • the second network element can judge whether to maintain the content of the time requirement information (ie, the time requirement information in step 301) or update the content of the time requirement information according to the configuration information.
  • the second network element determines that the configuration information of the first clock completely matches the time requirement information sent in step 301, and the second network element decides to accept the time of the first clock. information, and maintaining that time demand information.
  • the second network element determines that the configuration information of the first clock does not completely match the time requirement information sent in the above step 301, then the second network element decides to accept the configuration information according to the local policy. The time information of the first clock and maintain the time requirement information, or reject the time information of the first clock, and resend the time requirement information or update the time requirement information and then send the updated time requirement information.
  • FIG. 4 it is a flow chart of a communication method provided by an embodiment of the present application. The method includes the following steps:
  • Step 401 the second network element sends time requirement information to the third network element.
  • the third network element receives the time requirement information.
  • the second network element sends the time requirement information to the third network element, for requesting to obtain time information of a clock matching the time requirement information.
  • the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
  • the first network element is a clock network function network element, and of course it can also be other network elements of the core network.
  • the second network element is a third-party application function (AF) network element
  • the third network element is a network capability opening network element.
  • the network capability opening network element may be a NEF network element or a future communication system with Other network elements that perform the functions of the NEF network element.
  • the second network element is a terminal device, an access network device, or a core network device (such as an SMF network element, a UPF network element, etc.), and a third network element is a mobility management network element.
  • the management network element may be an AMF network element or other network elements having the function of the AMF network element in the future communication system.
  • the third network element acquires address information of the first network element according to the time requirement information, and the first network element includes clock information matching the time requirement information.
  • the third network element may locally obtain the first network element matching the time requirement information according to the time requirement information, and then obtain the address information of the first network element.
  • the first network element contains clock information matching the time requirement information.
  • the third network element may send a query message to a data management network element (such as NRF, UDM, or UDR), where the query message includes time requirement information.
  • the query message requests to query the address information of the network element that can provide the time requirement information, and the network element can provide the time information of the clock that matches the time requirement information.
  • the data management network element determines the first network element that matches the time requirement information according to the time requirement information, and the first network element includes clock information that matches the time requirement information. Then the data management network element sends the address information of the first network element to the third network element. For example, address information of multiple first network elements and configuration information of each clock managed by each first network element are stored in the data management network element.
  • the configuration information of each clock includes clock source, clock precision, One or more of the time keeping capability of the clock, the time service objects allowed by the clock, the service area of the clock, the transfer capability of the clock, or the quality level of the clock.
  • the data management network element may obtain a clock matching the time requirement information, and then obtain address information of the first network element that manages the clock.
  • Step 403 the third network element sends time requirement information to the first network element according to the address information of the first network element. Correspondingly, the first network element receives the time requirement information.
  • the third network element sends time requirement information to the first network element, for requesting to obtain time information of a clock matching the time requirement information.
  • Step 404 the first network element obtains time information of a first clock according to the time requirement information, and the first clock is a clock matching the time requirement information among multiple clocks of the first network element.
  • This step is the same as the above-mentioned step 302, and reference may be made to the foregoing description.
  • Step 405 the first network element sends the time information of the first clock to the third network element.
  • the third network element receives the time information of the first clock.
  • Step 406 the third network element sends the time information of the first clock to the second network element.
  • the second network element receives the time information of the first clock.
  • the third network element can obtain the time of a clock that best matches the time requirement information from the first network element based on the time requirement information sent by the second network element information, and provide the time information of the clock to the second network element, so that precise time information can be provided.
  • the above steps 405 to 406 can be continuously performed.
  • the first network element continues to send the first The time information of the clock, and then the third network element continuously sends the time information of the first clock to the second network element.
  • the period here refers to a very short time interval, for example, it can be 1ns, 2ns and so on.
  • the second network element also sends the time keeping capability of the second network element to the third network element
  • the third network element also sends the second network element to the first network element
  • the time keeping capability of the second network element indicates the time period for which the second network element continues to provide accurate time after losing the clock source signal.
  • the first network element can perform the above step 405 according to the time keeping capability of the second network element, then the third network element receives the first clock from the first network element After receiving the time information, forward it to the second network element.
  • the time keeping capability of the second network element is 24 hours
  • the first network element sends the time information of the first clock to the third network element every 24 hours
  • the third network element sends the time information of the first clock to the The second network element.
  • the first network element may also send the configuration information of the first clock to the third network element, and the configuration information includes the clock source of the first clock, the clock accuracy of the first clock, the second One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock, and then the third network element sends The second network element sends configuration information of the first clock.
  • the second network element can judge whether to maintain the content of the time requirement information (ie, the time requirement information in step 401) or update the content of the time requirement information according to the configuration information.
  • the second network element determines that the configuration information of the first clock completely matches the time requirement information sent in step 301, and the second network element decides to accept the time of the first clock. information, and maintaining that time demand information.
  • the second network element determines that the configuration information of the first clock does not completely match the time requirement information sent in the above step 301, then the second network element decides to accept the configuration information according to the local policy. The time information of the first clock and maintain the time requirement information, or reject the time information of the first clock and resend the time requirement information or update the time requirement information and send updated time requirement information.
  • the first network element, the second network element, the third network element and the data management network element include corresponding hardware structures and/or software modules for performing respective functions.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software with reference to the units and method steps of the examples described in the embodiments disclosed in the present application. Whether a certain function is executed by hardware or computer software drives the hardware depends on the specific application scenario and design constraints of the technical solution.
  • FIG. 5 and FIG. 6 are schematic structural diagrams of possible communication devices provided by the embodiments of the present application. These communication devices can be used to implement the functions of the first network element, the second network element, the third network element or the data management network element in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments.
  • the communication device may be the first network element, the second network element, the third network element or the data management network element, or it may be a module (such as a chip) applied to the first network element, a second A network element module (such as a chip), a third network element module (such as a chip), or a module (such as a chip) of a data management network element.
  • a communication device 500 includes a processing unit 510 and a transceiver unit 520 .
  • the communication device 500 is configured to implement functions of the first network element, the second network element, the third network element, or the data management network element in the foregoing method embodiments.
  • the transceiver unit 520 is used to receive the time requirement information from the second network element; the processing unit 510 is used to, according to the time requirement information, Obtain time information of a first clock, where the first clock is a clock that matches the time requirement information among multiple clocks of the first network element; the transceiver unit 520 is configured to send the time of the first clock to the second network element information.
  • the transceiver unit 520 is configured to continuously send the time information of the first clock to the second network element according to a set period.
  • the transceiver unit 520 is further configured to receive the time keeping capability of the second network element from the second network element, and the time keeping capability of the second network element indicates that the second network element loses the clock source signal Continue to provide the precise time for a duration; the processing unit 510 is configured to send the time information of the first clock to the second network element through the transceiver unit 520 according to the time keeping capability of the second network element.
  • the processing unit 510 is configured to acquire time information of at least two clocks among the plurality of clocks according to the time requirement information, and the at least two clocks both match the time requirement information; from the at least The first clock is selected among the two clocks.
  • the transceiver unit 520 is configured to send configuration information of the first clock to the second network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
  • the transceiver unit 520 is used to send time requirement information to the first network element; and receive the first clock from the first network element time information, the first clock is a clock matching the time requirement information among the multiple clocks of the first network element.
  • the transceiver unit 520 is configured to receive configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
  • the transceiver unit 520 is used to receive the time requirement information from the second network element; the processing unit 510 is used to, according to the time requirement information, Obtaining address information of a first network element, the first network element including clock information matching the time requirement information; and sending the time to the first network element through the transceiver unit 520 according to the address information of the first network element Demand information; the transceiver unit 520 is configured to receive time information from a first clock of the first network element, where the first clock is a clock matching the time demand information among multiple clocks of the first network element; The second network element sends the time information of the first clock.
  • the transceiver unit 520 is configured to send a query message to the data management network element, where the query message includes the time requirement information; and receive address information of the first network element from the data management network element.
  • the transceiver unit 520 is configured to receive configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock;
  • the third network element sends configuration information of the first clock to the second network element.
  • the transceiver unit 520 is used to receive a query message from a third network element, the query message includes time requirement information; the processing unit 510, The first network element is configured to determine the first network element according to the time requirement information, and the first network element includes clock information matching the time requirement information; the transceiver unit 520 is configured to send the first network element to the third network element Address information.
  • processing unit 510 and the transceiver unit 520 can be directly obtained by referring to relevant descriptions in the above method embodiments, and details are not repeated here.
  • the communication device 600 includes a processor 610 and an interface circuit 620 .
  • the processor 610 and the interface circuit 620 are coupled to each other.
  • the interface circuit 620 may be a transceiver or an input-output interface.
  • the communication device 600 may further include a memory 630 for storing instructions executed by the processor 610 or storing input data required by the processor 610 to execute the instructions or storing data generated by the processor 610 after executing the instructions.
  • the processor 610 is used to implement the functions of the processing unit 510
  • the interface circuit 620 is used to implement the functions of the transceiver unit 520 .
  • processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor can be a microprocessor, or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only Memory, registers, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and storage medium can be located in the ASIC. Certainly, the processor and the storage medium may also exist in the base station or the terminal as discrete components.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product comprises one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are executed in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, a base station, user equipment or other programmable devices.
  • the computer program or instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be downloaded from a website, computer, A server or data center transmits to another website site, computer, server or data center by wired or wireless means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrating one or more available media.
  • the available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; and it may also be a semiconductor medium, such as a solid state disk.
  • the computer readable storage medium may be a volatile or a nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
  • “at least one” means one or more, and “multiple” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship; in the formulas of this application, the character “/” indicates that the contextual objects are a "division” Relationship.

Abstract

Provided in the present application are a communication method, a communication apparatus and a communication system. The method comprises: a first network element receiving time requirement information from a second network element; the first network element acquiring time information of a first clock according to the time requirement information, wherein the first clock is a clock which matches the time requirement information among a plurality of clocks of the first network element; and the first network element sending the time information of the first clock to the second network element. In the solution, information of a plurality of clocks is stored in a first network element, such that when a certain clock has a fault, other clocks may still be used, thereby avoiding a situation in which accurate time information cannot be provided externally. In addition, since the information of the plurality of clocks is stored in the first network element, the first network element may provide, to a second network element and on the basis of time requirement information that is sent by the second network element, time information of a clock that best matches the time requirement information, such that accurate time information can be provided.

Description

一种通信方法、通信装置及通信系统A communication method, communication device and communication system
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年09月30日提交中国专利局、申请号为202111160112.X、申请名称为“一种通信方法、通信装置及通信系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111160112.X and the application title "a communication method, communication device and communication system" submitted to the China Patent Office on September 30, 2021, the entire contents of which are incorporated by reference incorporated in this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法、通信装置及通信系统。The present application relates to the technical field of communication, and in particular to a communication method, a communication device and a communication system.
背景技术Background technique
第五代(the 5th generation,5G)网络管理了一个时钟的信息,且5G网络具备授时能力,可以对外提供该时钟的时间信息。The fifth generation (the 5th generation, 5G) network manages the information of a clock, and the 5G network has the ability to serve time, and can provide the time information of the clock to the outside world.
然而,当该时钟出现故障时,则无法对外提供该时钟的精确的时间信息。However, when the clock fails, the precise time information of the clock cannot be provided externally.
发明内容Contents of the invention
本申请实施例提供一种通信方法、通信装置及通信系统,用于实现提供时间信息。Embodiments of the present application provide a communication method, a communication device, and a communication system, so as to provide time information.
第一方面,本申请实施例提供一种通信方法,该方法可以由第一网元或第一网元中的模块(如芯片)来执行,该第一网元可以是时钟网络功能网元。以第一网元执行该方法为例,该方法包括:第一网元接收来自第二网元的时间需求信息;该第一网元根据该时间需求信息,获取第一时钟的时间信息,该第一时钟为该第一网元的多个时钟中匹配该时间需求信息的时钟;该第一网元向该第二网元发送该第一时钟的时间信息。In a first aspect, the embodiment of the present application provides a communication method, the method may be executed by a first network element or a module (such as a chip) in the first network element, and the first network element may be a clock network function network element. Taking the execution of the method by the first network element as an example, the method includes: the first network element receives time requirement information from the second network element; the first network element acquires time information of the first clock according to the time requirement information, and the The first clock is a clock matching the time requirement information among the multiple clocks of the first network element; the first network element sends the time information of the first clock to the second network element.
根据上述方案,由于第一网元上存储有多个时钟的信息,当某个时钟故障,则还有其它时钟可以使用,避免发生无法对外提供精确的时间信息的情况。并且,由于在第一网元上存储多个时钟的信息,第一网元可以基于第二网元发送的时间需求信息,为第二网元提供与该时间需求信息最匹配的一个时钟的时间信息,可以实现提供精确时间信息。According to the above scheme, since information of multiple clocks is stored on the first network element, when a certain clock fails, other clocks can be used to avoid the situation that the accurate time information cannot be provided externally. Moreover, since the information of multiple clocks is stored on the first network element, the first network element can provide the second network element with the time of a clock that best matches the time requirement information based on the time requirement information sent by the second network element Information, can provide accurate time information.
作为一种可能的实现方法,该第一网元按照设定的周期,持续向该第二网元发送该第一时钟的时间信息。As a possible implementation method, the first network element continuously sends the time information of the first clock to the second network element according to a set period.
根据上述方案,第一网元通过持续向第二网元发送第一时钟的时间信息,可以实现第二网元保持与第一时钟同步。According to the above solution, the first network element can keep the second network element synchronized with the first clock by continuously sending the time information of the first clock to the second network element.
作为一种可能的实现方法,该第一网元接收来自该第二网元的该第二网元的时间保持能力,该第二网元的时间保持能力指示该第二网元失去时钟源信号后持续提供精确时间的时长;该第一网元根据该第二网元的时间保持能力,向该第二网元发送该第一时钟的时间信息。As a possible implementation method, the first network element receives the time keeping capability of the second network element from the second network element, and the time keeping capability of the second network element indicates that the second network element loses a clock source signal Afterwards, the precise time is continuously provided for a period of time; the first network element sends the time information of the first clock to the second network element according to the time keeping capability of the second network element.
根据上述方案,一方面可以实现第二网元保持与第一时钟同步,另一方面可以减少第一网元向第二网元发送第一时钟的时间信息的信令开销。According to the above solution, on the one hand, the second network element can be synchronized with the first clock, and on the other hand, the signaling overhead for the first network element to send the time information of the first clock to the second network element can be reduced.
作为一种可能的实现方法,该第一网元根据该时间需求信息,确定该多个时钟中的至 少两个时钟的时间信息,该至少两个时钟均匹配该时间需求信息;该第一网元从该至少两个时钟中选择该第一时钟。As a possible implementation method, the first network element determines the time information of at least two clocks among the plurality of clocks according to the time requirement information, and the at least two clocks both match the time requirement information; the first network element The element selects the first clock from the at least two clocks.
作为一种可能的实现方法,该第一网元向该第二网元发送该第一时钟的配置信息,该配置信息包括该第一时钟的时钟源、该第一时钟的时钟精度、该第一时钟的时间保持能力、该第一时钟允许的授时对象、该第一时钟的服务区域、该第一时钟的时钟传递能力或该第一时钟的质量等级中的一个或多个。As a possible implementation method, the first network element sends configuration information of the first clock to the second network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the second One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
作为一种可能的实现方法,该时间需求信息包括以下信息中的一个或多个:时钟源、时钟精度、时钟的时间保持能力或服务区域。As a possible implementation method, the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
作为一种可能的实现方法,该第二网元是应用功能网元、终端设备、接入网设备或核心网设备。As a possible implementation method, the second network element is an application function network element, a terminal device, an access network device or a core network device.
第二方面,本申请实施例提供一种通信方法,该方法可以由第二网元或第二网元中的模块(如芯片)来执行,该第二网元可以是终端设备、接入网设备、核心网设备或应用功能网元。该方法包括:第二网元向第一网元发送时间需求信息;该第二网元接收来自该第一网元的第一时钟的时间信息,该第一时钟为该第一网元的多个时钟中匹配该时间需求信息的时钟。In the second aspect, the embodiment of the present application provides a communication method, which can be performed by a second network element or a module (such as a chip) in the second network element, and the second network element can be a terminal device, an access network equipment, core network equipment, or application function network element. The method includes: the second network element sends time requirement information to the first network element; the second network element receives time information from a first clock of the first network element, and the first clock is a multiple clock of the first network element The clock that matches the time requirement information among the clocks.
根据上述方案,由于第一网元上存储有多个时钟的信息,当某个时钟故障,则还有其它时钟可以使用,避免发生无法对外提供精确的时间信息的情况。并且,由于在第一网元上存储多个时钟的信息,第二网元可以根据自身的时间需求信息,从第一网元获取与该时间需求信息最匹配的一个时钟的时间信息,可以实现提供精确时间信息。According to the above scheme, since information of multiple clocks is stored on the first network element, when a certain clock fails, other clocks can be used to avoid the situation that the accurate time information cannot be provided externally. In addition, since the information of multiple clocks is stored on the first network element, the second network element can obtain the time information of a clock that best matches the time demand information from the first network element according to its own time demand information, which can realize Provide precise time information.
作为一种可能的实现方法,该第二网元接收来自该第一网元的该第一时钟的配置信息,该配置信息包括该第一时钟的时钟源、该第一时钟的时钟精度、该第一时钟的时间保持能力、该第一时钟允许的授时对象、该第一时钟的服务区域、该第一时钟的时钟传递能力或该第一时钟的质量等级中的一个或多个。As a possible implementation method, the second network element receives configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
作为一种可能的实现方法,该时间需求信息包括以下信息中的一个或多个:时钟源、时钟精度、时钟的时间保持能力或服务区域。As a possible implementation method, the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
第三方面,本申请实施例提供一种通信方法,该方法可以由第三网元或第三网元中的模块(如芯片)来执行,该第三网元可以是移动性管理网元或网络开放能力网元。该方法包括:第三网元接收来自第二网元的时间需求信息;该第三网元根据该时间需求信息,获取第一网元的地址信息,该第一网元包含与该时间需求信息匹配的时钟的信息;该第三网元根据该第一网元的地址信息,向该第一网元发送该时间需求信息;该第三网元接收来自该第一网元的第一时钟的时间信息,该第一时钟为该第一网元的多个时钟中匹配该时间需求信息的时钟;该第三网元向该第二网元发送该第一时钟的时间信息。In the third aspect, the embodiment of the present application provides a communication method, which can be performed by a third network element or a module (such as a chip) in the third network element, and the third network element can be a mobility management network element or Network open capability network element. The method includes: the third network element receives the time requirement information from the second network element; the third network element obtains the address information of the first network element according to the time requirement information, and the first network element contains the time requirement information Information about the matched clock; the third network element sends the time requirement information to the first network element according to the address information of the first network element; the third network element receives the first clock from the first network element For time information, the first clock is a clock matching the time requirement information among multiple clocks of the first network element; the third network element sends the time information of the first clock to the second network element.
根据上述方案,由于第一网元上存储有多个时钟的信息,当某个时钟故障,则还有其它时钟可以使用,避免发生无法对外提供精确的时间信息的情况。并且,由于在第一网元上存储多个时钟的信息,第三网元可以基于第二网元发送的时间需求信息,从第一网元获取与该时间需求信息最匹配的一个时钟的时间信息,并向第二网元提供该时钟的时间信息,可以实现提供精确时间信息。According to the above scheme, since information of multiple clocks is stored on the first network element, when a certain clock fails, other clocks can be used to avoid the situation that the accurate time information cannot be provided externally. Moreover, since the information of multiple clocks is stored on the first network element, the third network element can obtain the time of a clock that best matches the time requirement information from the first network element based on the time requirement information sent by the second network element information, and provide the time information of the clock to the second network element, so that precise time information can be provided.
作为一种可能的实现方法,该第三网元向数据管理网元发送查询消息,该查询消息中包含该时间需求信息;该第三网元接收来自该数据管理网元的该第一网元的地址信息。As a possible implementation method, the third network element sends a query message to the data management network element, and the query message includes the time requirement information; the third network element receives the first network element from the data management network element address information.
根据上述方案,第三网元从数据管理网元获取第一网元的地址信息,可以实现准确且 快速地获取第一网元的地址信息。According to the above solution, the third network element obtains the address information of the first network element from the data management network element, so that the address information of the first network element can be obtained accurately and quickly.
作为一种可能的实现方法,该第三网元接收来自该第一网元的该第一时钟的配置信息,该配置信息包括该第一时钟的时钟源、该第一时钟的时钟精度、该第一时钟的时间保持能力、该第一时钟允许的授时对象、该第一时钟的服务区域、该第一时钟的时钟传递能力或该第一时钟的质量等级中的一个或多个;该第三网元向该第二网元发送该第一时钟的配置信息。As a possible implementation method, the third network element receives configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the One or more of the time keeping capability of the first clock, the time service objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock; The three network elements send the configuration information of the first clock to the second network element.
作为一种可能的实现方法,该时间需求信息包括以下信息中的一个或多个:时钟源、时钟精度、时钟的时间保持能力或服务区域。As a possible implementation method, the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
作为一种可能的实现方法,该第二网元是应用功能网元、终端设备、接入网设备或核心网设备。As a possible implementation method, the second network element is an application function network element, a terminal device, an access network device or a core network device.
第四方面,本申请实施例提供一种通信方法,该方法可以由数据管理网元或数据管理网元中的模块(如芯片)来执行。该方法包括:数据管理网元接收来自第三网元的查询消息,该查询消息中包含时间需求信息;该数据管理网元根据该时间需求信息,确定第一网元,该第一网元包含与该时间需求信息匹配的时钟的信息;该数据管理网元向该第三网元发送该第一网元的地址信息。In a fourth aspect, the embodiment of the present application provides a communication method, and the method may be executed by a data management network element or a module (such as a chip) in the data management network element. The method includes: the data management network element receives a query message from a third network element, the query message includes time requirement information; the data management network element determines a first network element according to the time requirement information, and the first network element includes The information of the clock matching the time requirement information; the data management network element sends the address information of the first network element to the third network element.
根据上述方案,第三网元从数据管理网元获取第一网元的地址信息,可以实现准确且快速地获取第一网元的地址信息。According to the above solution, the third network element obtains the address information of the first network element from the data management network element, so that the address information of the first network element can be obtained accurately and quickly.
作为一种可能的实现方法,该时间需求信息包括以下信息中的一个或多个:时钟源、时钟精度、时钟的时间保持能力或服务区域。As a possible implementation method, the time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
作为一种可能的实现方法,该第三网元是移动性管理网元或网络能力开放网元。As a possible implementation method, the third network element is a mobility management network element or a network capability opening network element.
第五方面,本申请实施例提供一种通信装置,该装置可以是第一网元或应用于第一网元中的模块(如芯片)。该装置具有实现上述第一方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, the embodiment of the present application provides a communication device, and the device may be a first network element or a module (such as a chip) applied to the first network element. The device has the function of realizing any realization method of the first aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第六方面,本申请实施例提供一种通信装置,该装置可以是第二网元或应用于第二网元中的模块(如芯片)。该装置具有实现上述第二方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, the embodiment of the present application provides a communication device, and the device may be a second network element or a module (such as a chip) applied to the second network element. The device has the function of implementing any implementation method of the second aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第七方面,本申请实施例提供一种通信装置,该装置可以是第三网元或应用于第三网元中的模块(如芯片)。该装置具有实现上述第三方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a seventh aspect, the embodiment of the present application provides a communication device, and the device may be a third network element or a module (such as a chip) applied to the third network element. The device has the function of realizing any realization method of the third aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第八方面,本申请实施例提供一种通信装置,该装置可以是数据管理网元或应用于数据管理网元中的模块(如芯片)。该装置具有实现上述第四方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In an eighth aspect, the embodiment of the present application provides a communication device, which may be a data management network element or a module (such as a chip) applied to the data management network element. The device has the function of realizing any realization method of the fourth aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第九方面,本申请实施例提供一种通信装置,包括处理器和存储器;该存储器用于存储计算机指令,当该装置运行时,该处理器执行该存储器存储的计算机指令,以使该装置执行上述第一方面至第四方面中的任意实现方法。In the ninth aspect, the embodiment of the present application provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory, so that the device executes Any implementation method in the first aspect to the fourth aspect above.
第十方面,本申请实施例提供一种通信装置,包括用于执行上述第一方面至第四方面 中的任意实现方法的各个步骤的单元或手段(means)。In a tenth aspect, the embodiment of the present application provides a communication device, including a unit or means (means) for performing each step of any implementation method in the first aspect to the fourth aspect.
第十一方面,本申请实施例提供一种通信装置,包括处理器和接口电路,所述处理器用于通过接口电路与其它装置通信,并执行上述第一方面至第四方面中的任意实现方法。该处理器包括一个或多个。In the eleventh aspect, the embodiment of the present application provides a communication device, including a processor and an interface circuit, the processor is used to communicate with other devices through the interface circuit, and execute any implementation method in the first aspect to the fourth aspect above . The processor includes one or more.
第十二方面,本申请实施例提供一种通信装置,包括与存储器耦合的处理器,该处理器用于调用所述存储器中存储的程序,以执行上述第一方面至第四方面中的任意实现方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器可以是一个或多个。In a twelfth aspect, an embodiment of the present application provides a communication device, including a processor coupled to a memory, and the processor is used to call a program stored in the memory to execute any implementation in the first aspect to the fourth aspect above method. The memory may be located within the device or external to the device. And there may be one or more processors.
第十三方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在通信装置上运行时,使得上述第一方面至第四方面中的任意实现方法被执行。In the thirteenth aspect, the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it runs on the communication device, the above-mentioned first aspect to the fourth aspect Any implementation method of is executed.
第十四方面,本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当计算机程序或指令被通信装置运行时,使得上述第一方面至第四方面中的任意实现方法被执行。In the fourteenth aspect, the embodiment of the present application also provides a computer program product, the computer program product includes computer programs or instructions, when the computer program or instructions are run by the communication device, any of the above first to fourth aspects The implementation method is executed.
第十五方面,本申请实施例还提供一种芯片系统,包括:处理器,用于执行上述第一方面至第四方面中的任意实现方法。In a fifteenth aspect, the embodiment of the present application further provides a chip system, including: a processor, configured to execute any implementation method in the first aspect to the fourth aspect above.
第十六方面,本申请实施例还提供一种通信系统,包括用于执行第一方面的任意实现方法的第一网元,和用于执行第二方面的任意实现方法的第二网元。In a sixteenth aspect, the embodiment of the present application further provides a communication system, including a first network element configured to execute any implementation method of the first aspect, and a second network element configured to execute any implementation method of the second aspect.
第十七方面,本申请实施例还提供一种通信系统,包括用于执行第三方面的任意实现方法的第三网元,和用于执行第四方面的任意实现方法的数据管理网元。In a seventeenth aspect, the embodiment of the present application further provides a communication system, including a third network element configured to execute any implementation method of the third aspect, and a data management network element configured to execute any implementation method of the fourth aspect.
附图说明Description of drawings
图1为基于服务化架构的5G网络架构示意图;Figure 1 is a schematic diagram of a 5G network architecture based on a service architecture;
图2为基于点对点接口的5G网络架构示意图;Figure 2 is a schematic diagram of a 5G network architecture based on a point-to-point interface;
图3为本申请实施例提供的一种通信方法的流程图;FIG. 3 is a flowchart of a communication method provided in an embodiment of the present application;
图4为本申请实施例提供的一种通信方法的流程图;FIG. 4 is a flowchart of a communication method provided by an embodiment of the present application;
图5为本申请实施例提供的一种通信装置示意图;FIG. 5 is a schematic diagram of a communication device provided in an embodiment of the present application;
图6为本申请实施例提供的一种通信装置示意图。FIG. 6 is a schematic diagram of a communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
图1为基于服务化架构的5G网络架构示意图。图1所示的5G网络架构中可包括终端设备、接入网设备以及核心网设备。终端设备通过接入网设备和核心网设备接入数据网络(data network,DN)。其中,核心网设备包括以下网元中的部分或者全部:统一数据管理(unified data management,UDM)网元、统一数据库(unified data repository,UDR)网元、网络开放功能(network exposure function,NEF)网元(图中未示出)、应用功能(application function,AF)网元、策略控制功能(policy control function,PCF)网元、接入与移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、网络存储功能(Network Repository Function,NRF)网元(图中未示出)、时钟网络功能(timing network function,TNF)网元。Figure 1 is a schematic diagram of a 5G network architecture based on a service-based architecture. The 5G network architecture shown in FIG. 1 may include terminal equipment, access network equipment, and core network equipment. The terminal device accesses the data network (data network, DN) through the access network device and the core network device. Among them, the core network equipment includes some or all of the following network elements: unified data management (unified data management, UDM) network elements, unified database (unified data repository, UDR) network elements, network exposure function (network exposure function, NEF) Network element (not shown in the figure), application function (application function, AF) network element, policy control function (policy control function, PCF) network element, access and mobility management function (access and mobility management function, AMF) Network element, session management function (session management function, SMF) network element, user plane function (user plane function, UPF) network element, network storage function (Network Repository Function, NRF) network element (not shown in the figure), clock Network function (timing network function, TNF) network element.
本申请的终端设备(也可以称为用户设备(user equipment,UE))是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端设备可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。The terminal equipment (also called user equipment, UE) of this application is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); can also be deployed in the air (such as aircraft, balloons and satellites, etc.). The terminal device may be a mobile phone, a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control ), wireless terminals in self driving, wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety , wireless terminals in smart cities, wireless terminals in smart homes, etc.
上述终端设备可通过运营商网络提供的接口(例如N1等)与运营商网络建立连接,使用运营商网络提供的数据和/或语音等服务。终端设备还可通过运营商网络访问DN,使用DN上部署的运营商业务,和/或第三方提供的业务。其中,上述第三方可为运营商网络和终端设备之外的服务方,可为终端设备提供他数据和/或语音等服务。其中,上述第三方的具体表现形式,具体可根据实际应用场景确定,在此不做限制。The above-mentioned terminal device can establish a connection with the operator network through an interface provided by the operator network (such as N1, etc.), and use services such as data and/or voice provided by the operator network. The terminal device can also access the DN through the operator's network, and use the operator's service deployed on the DN, and/or the service provided by a third party. Wherein, the above-mentioned third party may be a service party other than the operator's network and the terminal device, and may provide other services such as data and/or voice for the terminal device. Among them, the specific form of expression of the above-mentioned third party can be determined according to the actual application scenario, and is not limited here.
接入网设备,是一种为终端设备提供无线通信功能的设备。接入网设备例如包括但不限于:5G中的下一代基站(g nodeB,gNB)、演进型节点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)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。The access network device is a device that provides wireless communication functions for terminal devices. Access network equipment includes, but is not limited to: a next-generation base station (g nodeB, gNB) in 5G, an evolved node B (evolved node B, eNB), a radio network controller (radio network controller, RNC), a node B ( node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit , BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
接入网设备和终端设备可以是固定位置的,也可以是可移动的。接入网设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和人造卫星上。本申请的实施例对接入网设备和终端设备的应用场景不做限定。Access network equipment and terminal equipment can be fixed or mobile. Access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed on aircraft, balloons and artificial satellites in the air. The embodiments of the present application do not limit the application scenarios of the access network device and the terminal device.
本申请中,移动性管理网元是由运营商网络提供的控制面网元,负责终端设备接入运营商网络的接入控制和移动性管理,例如包括移动状态管理,分配用户临时身份标识,认证和授权用户等功能。在5G中,移动性管理网元可以是AMF网元,在未来通信如第六代(the 6th generation,6G)中,移动性管理网元仍可以是AMF网元,或有其它的名称,本申请不做限定。In this application, the mobility management network element is a control plane network element provided by the operator network, which is responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning user temporary identities, Functions such as authenticating and authorizing users. In 5G, the mobility management network element can be an AMF network element. In future communications such as the 6th generation (6G), the mobility management network element can still be an AMF network element, or have other names. Applications are not limited.
本申请中,会话管理网元是由运营商网络提供的控制面网元,负责管理终端设备的协议数据单元(protocol data unit,PDU)会话。PDU会话是一个用于传输PDU的通道,终端设备需要通过PDU会话与DN互相传送PDU。PDU会话由SMF网元负责建立、维护和删除等。会话管理网元包括会话管理(如会话建立、修改和释放,包含用户面网元和接入网设备之间的隧道维护)、用户面网元的选择和控制、业务和会话连续性(Service and Session Continuity,SSC)模式选择、漫游等会话相关的功能。在5G中,会话管理网元可以是SMF网元,在未来通信如6G中,会话管理网元仍可以是SMF网元,或有其它的名称,本申请不做限定。In this application, the session management network element is a control plane network element provided by an operator network, and is responsible for managing a protocol data unit (protocol data unit, PDU) session of a terminal device. A PDU session is a channel for transmitting PDUs, and terminal equipment needs to transmit PDUs with DN through the PDU session. The PDU session is established, maintained and deleted by the SMF network element. Session management network elements include session management (such as session establishment, modification and release, including tunnel maintenance between user plane network elements and access network equipment), selection and control of user plane network elements, service and session continuity (Service and Session Continuity (SSC) mode selection, roaming and other session-related functions. In 5G, the session management network element can be an SMF network element. In future communications such as 6G, the session management network element can still be an SMF network element, or have other names, which are not limited in this application.
本申请中,用户面网元是由运营商提供的网关,是运营商网络与DN通信的网关。UPF网元包括数据包路由和传输、包检测、业务用量上报、服务质量(Quality of Service,QoS)处理、合法监听、上行包检测、下行数据包存储等用户面相关的功能。在5G中,用户面网元可以是UPF网元,在未来通信如6G中,用户面网元仍可以是UPF网元,或有其它的 名称,本申请不做限定。In this application, the user plane network element is a gateway provided by an operator, and is a gateway for communication between the operator's network and the DN. UPF network elements include data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, lawful interception, uplink packet detection, downlink data packet storage, and other user-plane-related functions. In 5G, the user plane network element can be a UPF network element. In future communications such as 6G, the user plane network element can still be a UPF network element, or have other names, which are not limited in this application.
本申请中,数据管理网元是由运营商提供的控制面网元,负责存储运营商网络中签约用户的用户永久标识符(subscriber permanent identifier,SUPI)、信任状(credential)、安全上下文(security context)、签约数据等信息。数据管理网元所存储的这些信息可用于终端设备接入运营商网络的认证和授权。其中,上述运营商网络的签约用户具体可为使用运营商网络提供的业务的用户,例如使用中国电信的手机芯卡的用户,或者使用中国移动的手机芯卡的用户等。上述签约用户的永久签约标识(Subscription Permanent Identifier,SUPI)可为该手机芯卡的号码等。上述签约用户的信任状、安全上下文可为该手机芯卡的加密密钥或者跟该手机芯卡加密相关的信息等存储的小文件,用于认证和/或授权。上述安全上下文可为存储在用户本地终端(例如手机)上的数据(cookie)或者令牌(token)等。上述签约用户的签约数据可为该手机芯卡的配套业务,例如该手机芯卡的流量套餐或者使用网络等。需要说明的是,永久标识符、信任状、安全上下文、认证数据(cookie)、以及令牌等同认证、授权相关的信息,在本申请文件中,为了描述方便起见不做区分、限制。如果不做特殊说明,本申请实施例将以用安全上下文为例进行来描述,但本申请实施例同样适用于其他表述方式的认证、和/或授权信息。在5G中,数据管理网元可以是UDM网元,在未来通信如6G中,数据管理网元仍可以是UDM网元,或有其它的名称,本申请不做限定。In this application, the data management network element is the control plane network element provided by the operator, which is responsible for storing the subscriber permanent identifier (SUPI), credential, and security context of the subscriber in the operator's network. context), signing data and other information. The information stored by the data management network element can be used for authentication and authorization of terminal equipment to access the operator's network. Wherein, the above-mentioned subscribers of the operator network may specifically be users who use services provided by the operator network, such as users who use China Telecom's mobile phone chip card, or users who use China Mobile's mobile phone chip card. The Subscription Permanent Identifier (SUPI) of the above-mentioned subscriber can be the number of the mobile phone chip card, etc. The credential and security context of the above-mentioned contracted user may be small files stored in the encryption key of the mobile phone chip card or information related to the encryption of the mobile phone chip card for authentication and/or authorization. The aforementioned security context may be data (cookie) or token (token) stored on the user's local terminal (such as a mobile phone). The subscription data of the above-mentioned subscribers can be the supporting services of the mobile phone chip card, such as the data package or network usage of the mobile phone chip card. It should be noted that permanent identifiers, credentials, security contexts, authentication data (cookies), and tokens are equivalent to information related to authentication and authorization. In this application document, for the convenience of description, no distinction or limitation is made. Unless otherwise specified, the embodiment of the present application will be described by taking the security context as an example, but the embodiment of the present application is also applicable to authentication and/or authorization information expressed in other ways. In 5G, the data management network element can be a UDM network element. In future communication such as 6G, the data management network element can still be a UDM network element, or have other names, which are not limited in this application.
本申请中,统一数据库网元是由运营商提供的控制面网元,包含执行签约数据、策略数据、应用数据等类型数据的存取功能。在5G中,统一数据库网元可以是UDR网元,在未来通信如6G中,统一数据库网元仍可以是UDR网元,或有其它的名称,本申请不做限定。In this application, the unified database network element is a control plane network element provided by an operator, and includes the access function for executing contract data, policy data, application data and other types of data. In 5G, the unified database network element can be a UDR network element. In future communications such as 6G, the unified database network element can still be a UDR network element, or have other names, which are not limited in this application.
本申请中,网络开放网元是由运营商提供控制面网元。网络开放网元以安全的方式对第三方开放运营商网络的对外接口。在会话管理网元需要与第三方的网元通信时,网络开放网元可作为会话管理网元与第三方的网元通信的中继。网络开放网元作为中继时,可作为签约用户的标识信息的翻译,以及第三方的网元的标识信息的翻译。比如,网络开放网元将签约用户的SUPI从运营商网络发送到第三方时,可以将SUPI翻译成其对应的外部身份标识(identity,ID)。反之,网络开放网元将外部ID(第三方的网元ID)发送到运营商网络时,可将其翻译成SUPI。在5G中,网络开放网元可以是NEF网元,在未来通信如6G中,网络开放网元仍可以是NEF网元,或有其它的名称,本申请不做限定。In this application, the network open network element is a control plane network element provided by an operator. The network opening network element opens the external interface of the operator's network to the third party in a secure manner. When the session management network element needs to communicate with a third-party network element, the network open network element can serve as a relay for the session management network element to communicate with the third-party network element. When the open network element is used as a relay, it can be used as the translation of the identification information of the subscriber and the translation of the identification information of the third-party network element. For example, when the network open network element sends the subscriber's SUPI from the operator's network to a third party, it may translate the SUPI into its corresponding external identity (identity, ID). Conversely, when an open network element sends an external ID (the third-party network element ID) to the operator network, it can translate it into SUPI. In 5G, the network open network element can be a NEF network element. In future communications such as 6G, the network open network element can still be a NEF network element, or have other names, which are not limited in this application.
本申请中,应用功能网元用于传递应用侧对网络侧的需求,例如,QoS需求或用户状态事件订阅等。应用功能网元可以是第三方功能实体,也可以是运营商部署的应用服务器。在5G中,应用功能网元可以是AF网元,在未来通信如6G中,应用功能网元仍可以是AF网元,或有其它的名称,本申请不做限定。In this application, the application function network element is used to transfer the requirements from the application side to the network side, for example, QoS requirements or user status event subscription. The application function network element can be a third-party functional entity, or an application server deployed by an operator. In 5G, the application function network element can be an AF network element. In future communications such as 6G, the application function network element can still be an AF network element, or have other names, which are not limited in this application.
本申请中,策略控制网元是由运营商提供的控制面功能,用于向会话管理网元提供PDU会话的策略。策略可以包括计费相关策略、QoS相关策略和授权相关策略等。在5G中,策略控制网元可以是PCF网元,在未来通信如6G中,策略控制网元仍可以是PCF网元,或有其它的名称,本申请不做限定。In this application, the policy control network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the session management network element. Policies may include accounting-related policies, QoS-related policies, and authorization-related policies. In 5G, the policy control network element can be a PCF network element. In future communications such as 6G, the policy control network element can still be a PCF network element, or have other names, which are not limited in this application.
本申请中,网络存储功能网元可用于提供网元发现功能,基于其他网元的请求,提供网元类型对应的网元信息。网络存储功能网元还提供网元管理服务,如网元注册、更新、去注册以及网元状态订阅和推送等。在5G中,网络存储功能网元可以是NRF网元,在未 来通信如6G中,网络存储功能网元仍可以是NRF网元,或有其它的名称,本申请不做限定。In this application, the network element with the network storage function may be used to provide the network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements. The network element with the network storage function also provides network element management services, such as network element registration, update, de-registration, and network element status subscription and push. In 5G, the network storage function network element can be an NRF network element. In future communications such as 6G, the network storage function network element can still be an NRF network element, or have other names, which are not limited in this application.
本申请中,时钟网络功能网元可用于管理5G网络的一个或多个时钟的信息,且可以通过自己的端口对外提供时钟的时间信息,比如直接或间接向终端设备、接入网设备、核心网设备或第三方应用功能网元提供时钟的时间信息。其中,时间信息表示时钟的时间、时刻或时间点。在5G中,时钟网络功能网元可以是TNF网元,在未来通信如6G中,时钟网络功能网元仍可以是TNF网元,或有其它的名称,本申请不做限定。In this application, the clock network function network element can be used to manage the information of one or more clocks in the 5G network, and can provide clock time information externally through its own port, such as directly or indirectly to terminal equipment, access network equipment, core Network devices or third-party application function network elements provide clock time information. Wherein, the time information represents the time, moment or time point of the clock. In 5G, the clock network function network element can be a TNF network element. In future communications such as 6G, the clock network function network element can still be a TNF network element, or have other names, which are not limited in this application.
DN,是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN上可部署多种业务,可为终端设备提供数据和/或语音等服务。例如,DN是某智能工厂的私有网络,智能工厂安装在车间的传感器可为终端设备,DN中部署了传感器的控制服务器,控制服务器可为传感器提供服务。传感器可与控制服务器通信,获取控制服务器的指令,根据指令将采集的传感器数据传送给控制服务器等。又例如,DN是某公司的内部办公网络,该公司员工的手机或者电脑可为终端设备,员工的手机或者电脑可以访问公司内部办公网络上的信息、数据资源等。DN is a network outside the operator's network. The operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminal equipment. For example, DN is a private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminal devices. The control server of the sensor is deployed in the DN, and the control server can provide services for the sensor. The sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, DN is a company's internal office network, and the mobile phone or computer of the company's employees can be a terminal device, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
图1中Npcf、Nudr、Nudm、Naf、Namf、Nsmf、Ntnf分别为上述PCF、UDR、UDM、AF、AMF、SMF、TNF提供的服务化接口,用于调用相应的服务化操作。N1、N2、N3、N4,以及N6为接口序列号,这些接口序列号的含义可参见图2中的描述。In Figure 1, Npcf, Nudr, Nudm, Naf, Namf, Nsmf, and Ntnf are the service interfaces provided by the above-mentioned PCF, UDR, UDM, AF, AMF, SMF, and TNF, respectively, and are used to call corresponding service operations. N1, N2, N3, N4, and N6 are interface serial numbers, and the meanings of these interface serial numbers may refer to the description in FIG. 2 .
图2为基于点对点接口的5G网络架构示意图,其中的网元的功能的介绍可以参考图1中对应的网元的功能的介绍,不再赘述。图2与图1的主要区别在于:图1中的各个控制面网元之间的接口是服务化的接口,图2中的各个控制面网元之间的接口是点对点的接口。FIG. 2 is a schematic diagram of a 5G network architecture based on a point-to-point interface. The introduction of the functions of the network elements can refer to the introduction of the functions of the corresponding network elements in FIG. 1 , and will not be repeated here. The main difference between FIG. 2 and FIG. 1 is that: the interface between each control plane network element in FIG. 1 is a service interface, and the interface between each control plane network element in FIG. 2 is a point-to-point interface.
在图2所示的架构中,各个网元之间的接口名称及功能如下:In the architecture shown in Figure 2, the interface names and functions between each network element are as follows:
1)、N1:AMF与终端设备之间的接口,可以用于向终端设备传递NAS信令(如包括来自AMF的QoS规则)等。1), N1: the interface between the AMF and the terminal device, which can be used to transmit NAS signaling (such as including QoS rules from the AMF) to the terminal device.
2)、N2:AMF与RAN之间的接口,可以用于传递核心网侧至RAN的无线承载控制信息等。2), N2: the interface between the AMF and the RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
3)、N3:RAN与UPF之间的接口,主要用于传递RAN与UPF间的上下行用户面数据。3), N3: the interface between the RAN and the UPF, mainly used to transfer the uplink and downlink user plane data between the RAN and the UPF.
4)、N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。4), N4: The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the distribution of forwarding rules, QoS control rules, traffic statistics rules, etc. Information reporting.
5)、N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。5), N5: the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
6)、N6:UPF与DN的接口,用于传递UPF与DN之间的上下行用户数据流。6), N6: the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
7)、N7:PCF与SMF之间的接口,可以用于下发协议数据单元(protocol data unit,PDU)会话粒度以及业务数据流粒度控制策略。7), N7: the interface between PCF and SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policy.
8)、N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册终端设备当前移动性管理相关信息等。8), N8: the interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register information related to current mobility management of terminal equipment with UDM.
9)、N9:UPF和UPF之间的用户面接口,用于传递UPF间的上下行用户数据流。9), N9: a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
10)、N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册终端设备当前会话相关信息等。10), N10: the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register current session-related information of terminal equipment with UDM.
11)、N11:SMF与AMF之间的接口,可以用于传递RAN和UPF之间的PDU会话 隧道信息、传递发送给终端设备的控制消息、传递发送给RAN的无线资源控制信息等。11), N11: The interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to terminal equipment, transfer radio resource control information sent to RAN, etc.
12)、N15:PCF与AMF之间的接口,可以用于下发终端设备策略及接入控制相关策略。12), N15: the interface between PCF and AMF, which can be used to issue terminal device policies and access control related policies.
13)、N35:UDM与UDR间的接口,可以用于UDM从UDR中获取用户签约数据信息。13), N35: the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
14)、N36:PCF与UDR间的接口,可以用于PCF从UDR中获取策略相关签约数据以及应用数据相关信息。14), N36: the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。作为一种可能的实现方法,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It can be understood that the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform). As a possible implementation method, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
参考图3,为本申请实施例提供的一种通信方法的流程图,该方法包括以下步骤:Referring to FIG. 3 , it is a flow chart of a communication method provided by an embodiment of the present application. The method includes the following steps:
步骤301,第二网元向第一网元发送时间需求信息。相应的,第一网元接收该时间需求信息。Step 301, the second network element sends time requirement information to the first network element. Correspondingly, the first network element receives the time requirement information.
第二网元向第一网元发送该时间需求信息,用于请求获取与该时间需求信息匹配的时钟的时间信息。The second network element sends the time requirement information to the first network element for requesting to obtain time information of a clock matching the time requirement information.
在一种实现方法中,第一网元是时钟网络功能网元,当然也可以是核心网的其它网元。In an implementation method, the first network element is a clock network function network element, and of course it can also be other network elements of the core network.
在一种实现方法中,第二网元是第三方应用功能(AF)网元、终端设备、接入网设备或核心网设备(如AMF网元、SMF网元、UPF网元等等)。In an implementation method, the second network element is a third-party application function (AF) network element, a terminal device, an access network device or a core network device (such as an AMF network element, an SMF network element, a UPF network element, etc.).
步骤302,第一网元根据时间需求信息,获取第一时钟的时间信息,该第一时钟为第一网元的多个时钟中匹配时间需求信息的时钟。In step 302, the first network element acquires time information of a first clock according to the time requirement information, and the first clock is a clock matching the time requirement information among multiple clocks of the first network element.
作为一种实现方法,第一网元上存储有多个时钟的profile信息,第一网元上存储的每个时钟的信息包括以下信息中的一个或多个:As an implementation method, profile information of multiple clocks is stored on the first network element, and the information of each clock stored on the first network element includes one or more of the following information:
1)时钟源(source):表明该时钟的来源,例如可以是全球导航卫星系统(global navigation satellite system,GNSS),时钟同步网络(time synchronization network,TSN)或本地时钟等。1) Clock source (source): indicates the source of the clock, for example, it can be global navigation satellite system (global navigation satellite system, GNSS), clock synchronization network (time synchronization network, TSN) or local clock, etc.
2)时钟精度(accuracy):表示该时钟与主时钟之间的误差,例如该误差可以是1微秒(us)或者500纳秒(ns)等。其中,主时钟是第一网元上的多个时钟的一个时钟。2) Clock accuracy (accuracy): indicates the error between the clock and the main clock, for example, the error may be 1 microsecond (us) or 500 nanoseconds (ns). Wherein, the master clock is a clock of multiple clocks on the first network element.
3)时间保持能力(holdover):表示该时钟失去时钟源信号后持续提供精确时间的时长,比如时钟1的时钟源是GNSS,时间保持能力是24小时,表明该当时钟1失去GNSS信号后,自身仍可以在24小时内提供精确的时间。3) Time holding capability (holdover): Indicates how long the clock can continue to provide accurate time after losing the clock source signal. For example, the clock source of clock 1 is GNSS, and the time holding capability is 24 hours, indicating that when clock 1 loses the GNSS signal, It can still provide accurate time within 24 hours by itself.
4)允许的授时对象:指的是提供时间的对象,比如可以对特定的AF或者5G系统中的设备进行授时。4) Allowable timing objects: refer to objects that provide time, such as timing for specific AF or devices in the 5G system.
5)服务区域:指的是该时钟的服务范围,比如以公共陆地移动网络(public land mobile network,PLMN)粒度划定服务区域,或者以跟踪区域(tracking area,TA)列表粒度划定服务区域。5) Service area: refers to the service range of the clock, such as delineating the service area at the granularity of the public land mobile network (PLMN), or delineating the service area at the granularity of the tracking area (TA) list .
6)质量等级(clockclass):跟踪全球定位系统(global positioning system,GPS)时输出质量等级6,保持且性能满足要求时输出7,自由振荡时输出52。6) Quality level (clockclass): Output quality level 6 when tracking the global positioning system (GPS), output 7 when maintaining and meeting the performance requirements, output 52 when free oscillation.
7)时钟传递能力:比如是通过空口授时或者通过1588协议进行授时等。7) Clock transmission capability: for example, time service through air interface or time service through 1588 protocol.
其中,第一网元上的多个时钟中,可能包含来自同一时钟源的多个时钟,比如包含多个GNSS的时钟,或包含多个TSN的时钟,等等。Wherein, the multiple clocks on the first network element may include multiple clocks from the same clock source, for example, multiple GNSS clocks, or multiple TSN clocks, and so on.
具体的,第一网元根据收到的时间需求信息,根据存储的多个时钟的profile信息确定与该时间需求信息匹配的时钟,比如是第一时钟,进而第一网元获取第一时钟的时间信息。其中,上述步骤301中发送的时间需求信息包括以下信息中的一个或多个:时钟源、时钟精度、时钟的时间保持能力或服务区域。Specifically, according to the received time requirement information, the first network element determines a clock that matches the time requirement information according to the stored profile information of multiple clocks, such as the first clock, and then the first network element obtains the clock of the first clock. time information. Wherein, the time requirement information sent in the above step 301 includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
第一网元根据时间需求信息确定时钟的方法比如可以是:获取一个与时间需求信息中的全部信息相匹配的时钟,或者获取一个与时间需求信息中的部分信息相匹配的时钟。其中,如果第一网元根据时间需求信息,确定有至少两个时钟与该时间需求信息匹配,则第一网元可以根据该至少两个时钟的性能(如时钟精度、质量等级、时间保持能力中的一个或多个),选择性能最好的一个时钟,或者从该至少两个时钟中随机选择一个时钟。示例性的,时间需求信息包括TSN时钟源、1us时钟精度,第一网元根据该时间需求信息,获取到3个时钟源满足该时间需求信息,分别是TSN时钟源1、TSN时钟源2和TSN时钟源3。然后,第一网元可以从该3个TSN时钟源中随机选择一个时钟源,或者第一网元从该3个TSN时钟源中选择一个时钟精度最高的TSN时钟源,例如TSN时钟源1、TSN时钟源2、TSN时钟源3的时钟精度分别是1us、0.9us和0.8us,则第一网元选择TSN时钟源3,或者第一网元从该3个TSN时钟源中选择一个时间保持能力最高的TSN时钟源,例如TSN时钟源1、TSN时钟源2、TSN时钟源3的时间保持能力分别是24小时、23小时和22小时,则第一网元选择TSN时钟源1。The method for the first network element to determine the clock according to the time requirement information may be, for example: obtaining a clock matching all the information in the time requirement information, or obtaining a clock matching part of the information in the time requirement information. Wherein, if the first network element determines that at least two clocks match the time requirement information according to the time requirement information, the first network element may one or more of them), select a clock with the best performance, or randomly select a clock from the at least two clocks. Exemplarily, the time requirement information includes the TSN clock source and the clock accuracy of 1 us. According to the time requirement information, the first network element obtains three clock sources meeting the time requirement information, which are TSN clock source 1, TSN clock source 2 and TSN clock source 3. Then, the first network element may randomly select a clock source from the three TSN clock sources, or the first network element may select a TSN clock source with the highest clock accuracy from the three TSN clock sources, such as TSN clock source 1, The clock accuracy of TSN clock source 2 and TSN clock source 3 are 1us, 0.9us and 0.8us respectively, then the first network element selects TSN clock source 3, or the first network element selects one of the three TSN clock sources to keep the time The TSN clock source with the highest capability, for example, the time keeping capabilities of TSN clock source 1, TSN clock source 2, and TSN clock source 3 are 24 hours, 23 hours, and 22 hours respectively, and the first network element selects TSN clock source 1.
本申请实施例中的“匹配”可以指的是“相同”,或者是“差值小于预设阈值”。"Match" in this embodiment of the present application may refer to "same" or "the difference is smaller than a preset threshold".
步骤303,第一网元向第二网元发送第一时钟的时间信息。相应的,第二网元接收第一时钟的时间信息。Step 303, the first network element sends the time information of the first clock to the second network element. Correspondingly, the second network element receives the time information of the first clock.
本申请实施例中,第一时钟的时间信息可以是具体的时间,比如可以是第一时钟的时间、时刻或时间点。下面结合一个示例,说明该时间信息的实现方法。比如该第一时钟的时间信息用如下格式的字段进行表示:In this embodiment of the present application, the time information of the first clock may be a specific time, for example, it may be the time, time, or time point of the first clock. The implementation method of the time information will be described below with an example. For example, the time information of the first clock is represented by a field in the following format:
ReferenceTime-r16::=SEQUENCE{ReferenceTime-r16::=SEQUENCE{
refDays-r16INTEGER(0..72999),refDays - r16INTEGER(0..72999),
refSeconds-r16INTEGER(0..86399),refSeconds - r16INTEGER(0..86399),
refMilliSeconds-r16INTEGER(0..999),refMilliSeconds - r16INTEGER(0..999),
refTenNanoSeconds-r16INTEGER(0..9999-9)refTenNanoSeconds-r16INTEGER(0..9999-9)
}}
其中,refDays-r16字段用于指示时间信息中的“天”,refSeconds-r16字段用于指示时间信息中的“秒”,refMilliSeconds-r16字段用于指示时间信息中的“毫秒”,refTenNanoSeconds-r16字段用于指示时间信息中的“纳秒”。比如,该四个字段分别取值为:10950,36066,500,10,则对应的时间信息是:2000年12月26日10点6分6秒500毫秒100纳秒。第二网元收到该ReferenceTime-r16信息后,可以根据换算规则,计算得到该第一时钟的时间信息是:2000年12月26日10点6分6秒500毫秒100纳秒。Among them, the refDays-r16 field is used to indicate "days" in the time information, the refSeconds-r16 field is used to indicate "seconds" in the time information, the refMilliSeconds-r16 field is used to indicate "milliseconds" in the time information, and refTenNanoSeconds-r16 field is used to indicate "nanoseconds" in time information. For example, the values of the four fields are: 10950, 36066, 500, and 10 respectively, and the corresponding time information is: December 26, 2000 at 10:06:6:500 milliseconds and 100 nanoseconds. After receiving the ReferenceTime-r16 information, the second network element can calculate and obtain the time information of the first clock according to the conversion rule: December 26, 2000, 10:00, 6:6, 500 milliseconds, 100 nanoseconds.
作为另一种实现方法,该第一时钟的时间信息也可以是用于确定时间的相关信息,比如可以是该第一时钟的时间与第二网元的时间之间的差值,第二网元可以根据该差值以及第二网元的时间,对第二网元的时间进行校准,实现第二网元与第一网元的时钟同步。As another implementation method, the time information of the first clock may also be relevant information for determining time, for example, it may be the difference between the time of the first clock and the time of the second network element. The element can calibrate the time of the second network element according to the difference value and the time of the second network element, so as to realize clock synchronization of the second network element and the first network element.
根据上述步骤301至步骤303,由于第一网元上存储有多个时钟的信息,当某个时钟故障,则还有其它时钟可以使用,避免发生无法对外提供精确的时间信息的情况。并且,由于在第一网元上存储多个时钟的信息,第一网元可以基于第二网元发送的时间需求信息,为第二网元提供与该时间需求信息最匹配的一个时钟的时间信息,可以实现提供精确时间信息。According to the above steps 301 to 303, since the information of multiple clocks is stored on the first network element, when a certain clock fails, other clocks can be used to avoid the situation that accurate time information cannot be provided externally. Moreover, since the information of multiple clocks is stored on the first network element, the first network element can provide the second network element with the time of a clock that best matches the time requirement information based on the time requirement information sent by the second network element Information, can provide accurate time information.
作为一种实现方法,为实现第二网元保持与第一时钟同步,第一网元可以持续执行上述步骤303,比如,第一网元按照设定的周期,持续向第二网元发送第一时钟的时间信息,这里的持续指的是按照该设定的周期,一直向第二网元发送第一时钟的最新的时间信息。这里的周期指的是时间非常短的时间间隔,比如可以是1ns,2ns等等。As an implementation method, in order to keep the second network element synchronized with the first clock, the first network element can continuously perform the above step 303, for example, the first network element continues to send the second network element to the second network element according to the set period For the time information of a clock, the continuation here means that the latest time information of the first clock is always sent to the second network element according to the set period. The period here refers to a very short time interval, for example, it can be 1ns, 2ns and so on.
作为另一种实现方法,上述步骤301中,第二网元还向第一网元发送第二网元的时间保持能力,该第二网元的时间保持能力指示第二网元失去时钟源信号后持续提供精确时间的时长。为实现第二网元保持与第一时钟同步,第一网元可以根据第二网元的时间保持能力,执行上述步骤303,比如第二网元的时间保持能力是24小时,则第一网元每隔24小时,向第二网元发送第一时钟的时间信息。As another implementation method, in the above step 301, the second network element also sends the time keeping capability of the second network element to the first network element, and the time keeping capability of the second network element indicates that the second network element loses the clock source signal The length of time after which the precise time will continue to be provided. In order to keep the second network element synchronized with the first clock, the first network element can perform the above step 303 according to the time keeping capability of the second network element. For example, if the time keeping capability of the second network element is 24 hours, then the first network element The network element sends the time information of the first clock to the second network element every 24 hours.
作为一种实现方法,在上述步骤302之后,第一网元还可以向第二网元发送第一时钟的配置信息,该配置信息包括第一时钟的时钟源、第一时钟的时钟精度、第一时钟的时间保持能力、第一时钟允许的授时对象、第一时钟的服务区域、该第一时钟的时钟传递能力或第一时钟的质量等级中的一个或多个。第二网元收到第一时钟的配置信息之后,可以根据此配置信息,判断是维持时间需求信息(即上述步骤301的时间需求信息)的内容,还是更新该时间需求信息的内容。比如,第二网元在收到第一时钟的配置信息后,确定该第一时钟的配置信息与上述步骤301发送的时间需求信息完全匹配,则第二网元决定接受该第一时钟的时间信息,并维持该时间需求信息。再比如,第二网元在收到第一时钟的配置信息后,确定该第一时钟的配置信息与上述步骤301发送的时间需求信息不完全匹配,则第二网元根据本地策略,决定接受该第一时钟的时间信息并维持该时间需求信息,或者是拒绝该第一时钟的时间信息,并重新发送时间需求信息或更新时间需求信息后发送更新的时间需求信息。As an implementation method, after the above step 302, the first network element may also send the configuration information of the first clock to the second network element, and the configuration information includes the clock source of the first clock, the clock precision of the first clock, the second One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock. After receiving the configuration information of the first clock, the second network element can judge whether to maintain the content of the time requirement information (ie, the time requirement information in step 301) or update the content of the time requirement information according to the configuration information. For example, after receiving the configuration information of the first clock, the second network element determines that the configuration information of the first clock completely matches the time requirement information sent in step 301, and the second network element decides to accept the time of the first clock. information, and maintaining that time demand information. For another example, after receiving the configuration information of the first clock, the second network element determines that the configuration information of the first clock does not completely match the time requirement information sent in the above step 301, then the second network element decides to accept the configuration information according to the local policy. The time information of the first clock and maintain the time requirement information, or reject the time information of the first clock, and resend the time requirement information or update the time requirement information and then send the updated time requirement information.
参考图4,为本申请实施例提供的一种通信方法的流程图,该方法包括以下步骤:Referring to FIG. 4 , it is a flow chart of a communication method provided by an embodiment of the present application. The method includes the following steps:
步骤401,第二网元向第三网元发送时间需求信息。相应的,第三网元接收该时间需求信息。Step 401, the second network element sends time requirement information to the third network element. Correspondingly, the third network element receives the time requirement information.
第二网元向第三网元发送时间需求信息,用于请求获取与该时间需求信息匹配的时钟的时间信息。该时间需求信息包括以下信息中的一个或多个:时钟源、时钟精度、时钟的时间保持能力或服务区域。The second network element sends the time requirement information to the third network element, for requesting to obtain time information of a clock matching the time requirement information. The time requirement information includes one or more of the following information: clock source, clock accuracy, clock time keeping capability or service area.
在一种实现方法中,第一网元是时钟网络功能网元,当然也可以是核心网的其它网元。In an implementation method, the first network element is a clock network function network element, and of course it can also be other network elements of the core network.
在一种实现方法中,第二网元是第三方应用功能(AF)网元,第三网元是网络能力开放网元,该网络能力开放网元可以是NEF网元或未来通信系统中具有NEF网元的功能的其它网元。In one implementation method, the second network element is a third-party application function (AF) network element, and the third network element is a network capability opening network element. The network capability opening network element may be a NEF network element or a future communication system with Other network elements that perform the functions of the NEF network element.
在一种实现方法中,第二网元是终端设备、接入网设备或核心网设备(如SMF网元、UPF网元等等),第三网元是移动性管理网元,该移动性管理网元可以是AMF网元或未来通信系统中具有AMF网元的功能的其它网元。In one implementation method, the second network element is a terminal device, an access network device, or a core network device (such as an SMF network element, a UPF network element, etc.), and a third network element is a mobility management network element. The management network element may be an AMF network element or other network elements having the function of the AMF network element in the future communication system.
步骤402,第三网元根据时间需求信息,获取第一网元的地址信息,该第一网元包含与时间需求信息匹配的时钟的信息。In step 402, the third network element acquires address information of the first network element according to the time requirement information, and the first network element includes clock information matching the time requirement information.
作为一种实现方法,第三网元可以根据时间需求信息,从本地获取与该时间需求信息相匹配的第一网元,进而获取第一网元的地址信息。该第一网元包含与时间需求信息匹配的时钟的信息。As an implementation method, the third network element may locally obtain the first network element matching the time requirement information according to the time requirement information, and then obtain the address information of the first network element. The first network element contains clock information matching the time requirement information.
作为另一种实现方法,第三网元可以向数据管理网元(如NRF、UDM或UDR等)发送查询消息,该查询消息中包含时间需求信息。该查询消息请求查询能够提供与该时间需求信息匹配的网元的地址信息,该网元可以提供与该时间需求信息匹配的时钟的时间信息。数据管理网元根据时间需求信息,确定与该时间需求信息相匹配的第一网元,该第一网元包含与时间需求信息匹配的时钟的信息。然后数据管理网元向第三网元发送第一网元的地址信息。比如,在数据管理网元中存储有多个第一网元的地址信息,以及每个第一网元所管理的每个时钟的配置信息,每个时钟的配置信息包括时钟源、时钟精度、时钟的时间保持能力、时钟允许的授时对象、时钟的服务区域、时钟传递能力或时钟的质量等级中的一个或多个。数据管理网元收到时间需求信息之后,可以获取与该时间需求信息匹配的时钟,进而获取管理该时钟的第一网元的地址信息。As another implementation method, the third network element may send a query message to a data management network element (such as NRF, UDM, or UDR), where the query message includes time requirement information. The query message requests to query the address information of the network element that can provide the time requirement information, and the network element can provide the time information of the clock that matches the time requirement information. The data management network element determines the first network element that matches the time requirement information according to the time requirement information, and the first network element includes clock information that matches the time requirement information. Then the data management network element sends the address information of the first network element to the third network element. For example, address information of multiple first network elements and configuration information of each clock managed by each first network element are stored in the data management network element. The configuration information of each clock includes clock source, clock precision, One or more of the time keeping capability of the clock, the time service objects allowed by the clock, the service area of the clock, the transfer capability of the clock, or the quality level of the clock. After receiving the time requirement information, the data management network element may obtain a clock matching the time requirement information, and then obtain address information of the first network element that manages the clock.
步骤403,第三网元根据第一网元的地址信息,向第一网元发送时间需求信息。相应的,第一网元接收该时间需求信息。Step 403, the third network element sends time requirement information to the first network element according to the address information of the first network element. Correspondingly, the first network element receives the time requirement information.
第三网元向第一网元发送时间需求信息,用于请求获取与该时间需求信息匹配的时钟的时间信息。The third network element sends time requirement information to the first network element, for requesting to obtain time information of a clock matching the time requirement information.
步骤404,第一网元根据时间需求信息,获取第一时钟的时间信息,该第一时钟为第一网元的多个时钟中匹配时间需求信息的时钟。Step 404, the first network element obtains time information of a first clock according to the time requirement information, and the first clock is a clock matching the time requirement information among multiple clocks of the first network element.
该步骤同上述步骤302,可以参考前述描述。This step is the same as the above-mentioned step 302, and reference may be made to the foregoing description.
步骤405,第一网元向第三网元发送第一时钟的时间信息。相应的,第三网元接收该第一时钟的时间信息。Step 405, the first network element sends the time information of the first clock to the third network element. Correspondingly, the third network element receives the time information of the first clock.
步骤406,第三网元向第二网元发送第一时钟的时间信息。相应的,第二网元接收该第一时钟的时间信息。Step 406, the third network element sends the time information of the first clock to the second network element. Correspondingly, the second network element receives the time information of the first clock.
根据上述步骤401至步骤406,由于第一网元上存储有多个时钟的信息,当某个时钟故障,则还有其它时钟可以使用,避免发生无法对外提供精确的时间信息的情况。并且,由于在第一网元上存储多个时钟的信息,第三网元可以基于第二网元发送的时间需求信息,从第一网元获取与该时间需求信息最匹配的一个时钟的时间信息,并向第二网元提供该时钟的时间信息,可以实现提供精确时间信息。According to the above steps 401 to 406, since the information of multiple clocks is stored on the first network element, when a certain clock fails, other clocks can be used to avoid the situation that the accurate time information cannot be provided externally. Moreover, since the information of multiple clocks is stored on the first network element, the third network element can obtain the time of a clock that best matches the time requirement information from the first network element based on the time requirement information sent by the second network element information, and provide the time information of the clock to the second network element, so that precise time information can be provided.
作为一种实现方法,为实现第二网元保持与第一时钟同步,可以持续执行上述步骤405至步骤406,比如,第一网元按照设定的周期,持续向第三网元发送第一时钟的时间信息,然后第三网元持续地向第二网元发送第一时钟的时间信息。这里的周期指的是时间非常短的时间间隔,比如可以是1ns,2ns等等。As an implementation method, in order to keep the second network element synchronized with the first clock, the above steps 405 to 406 can be continuously performed. For example, the first network element continues to send the first The time information of the clock, and then the third network element continuously sends the time information of the first clock to the second network element. The period here refers to a very short time interval, for example, it can be 1ns, 2ns and so on.
作为另一种实现方法,上述步骤401中第二网元还向第三网元发送第二网元的时间保持能力,以及上述步骤403中第三网元还向第一网元发送第二网元的时间保持能力,该第二网元的时间保持能力指示第二网元失去时钟源信号后持续提供精确时间的时长。为实现第二网元保持与第一时钟同步,第一网元可以根据第二网元的时间保持能力,执行上述步骤405,则第三网元在收到来自第一网元的第一时钟的时间信息后,转发给第二网元。比 如第二网元的时间保持能力是24小时,则第一网元每隔24小时,向第三网元发送第一时钟的时间信息,然后第三网元将第一时钟的时间信息发送给第二网元。As another implementation method, in the above step 401, the second network element also sends the time keeping capability of the second network element to the third network element, and in the above step 403, the third network element also sends the second network element to the first network element The time keeping capability of the second network element, the time keeping capability of the second network element indicates the time period for which the second network element continues to provide accurate time after losing the clock source signal. In order to keep the second network element synchronized with the first clock, the first network element can perform the above step 405 according to the time keeping capability of the second network element, then the third network element receives the first clock from the first network element After receiving the time information, forward it to the second network element. For example, the time keeping capability of the second network element is 24 hours, then the first network element sends the time information of the first clock to the third network element every 24 hours, and then the third network element sends the time information of the first clock to the The second network element.
作为一种实现方法,在上述步骤402之后,第一网元还可以向第三网元发送第一时钟的配置信息,该配置信息包括第一时钟的时钟源、第一时钟的时钟精度、第一时钟的时间保持能力、第一时钟允许的授时对象、第一时钟的服务区域、该第一时钟的时钟传递能力或第一时钟的质量等级中的一个或多个,然后第三网元向第二网元发送第一时钟的配置信息。第二网元收到第一时钟的配置信息之后,可以根据此配置信息,判断是维持时间需求信息(即上述步骤401的时间需求信息)的内容,还是更新该时间需求信息的内容。比如,第二网元在收到第一时钟的配置信息后,确定该第一时钟的配置信息与上述步骤301发送的时间需求信息完全匹配,则第二网元决定接受该第一时钟的时间信息,并维持该时间需求信息。再比如,第二网元在收到第一时钟的配置信息后,确定该第一时钟的配置信息与上述步骤301发送的时间需求信息不完全匹配,则第二网元根据本地策略,决定接受该第一时钟的时间信息并维持该时间需求信息,或者是拒绝该第一时钟的时间信息并重新发送时间需求信息或更新时间需求信息后发送更新的时间需求信息。As an implementation method, after the above step 402, the first network element may also send the configuration information of the first clock to the third network element, and the configuration information includes the clock source of the first clock, the clock accuracy of the first clock, the second One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock, and then the third network element sends The second network element sends configuration information of the first clock. After receiving the configuration information of the first clock, the second network element can judge whether to maintain the content of the time requirement information (ie, the time requirement information in step 401) or update the content of the time requirement information according to the configuration information. For example, after receiving the configuration information of the first clock, the second network element determines that the configuration information of the first clock completely matches the time requirement information sent in step 301, and the second network element decides to accept the time of the first clock. information, and maintaining that time demand information. For another example, after receiving the configuration information of the first clock, the second network element determines that the configuration information of the first clock does not completely match the time requirement information sent in the above step 301, then the second network element decides to accept the configuration information according to the local policy. The time information of the first clock and maintain the time requirement information, or reject the time information of the first clock and resend the time requirement information or update the time requirement information and send updated time requirement information.
该图4对应的实施例与上述图3对应的实施例之间的关系是:该图4对应的实施例和上述图3对应的实施例均是由第二网元发起请求与时间需求信息对应的时钟的时间信息,并由第一网元提供与时间需求信息对应的时钟的时间信息,但不同的是,图3对应的实施例中,第二网元是与第一网元直接交互,比如可以参考上述步骤301和步骤303,而图4对应的实施例中,第二网元是经由第三网元与第一网元交互,比如参考上述步骤401至步骤403以及步骤405至步骤406。两个实施例中相似的步骤的描述可以相互参考。The relationship between the embodiment corresponding to Figure 4 and the embodiment corresponding to Figure 3 above is: the embodiment corresponding to Figure 4 and the embodiment corresponding to Figure 3 above are both initiated by the second network element and corresponding to the time requirement information The time information of the clock, and the first network element provides the time information of the clock corresponding to the time demand information, but the difference is that in the embodiment corresponding to Figure 3, the second network element directly interacts with the first network element, For example, refer to the above step 301 and step 303. In the embodiment corresponding to FIG. . The descriptions of similar steps in the two embodiments can refer to each other.
可以理解的是,为了实现上述实施例中功能,第一网元、第二网元、第三网元和数据管理网元包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请中所公开的实施例描述的各示例的单元及方法步骤,本申请能够以硬件或硬件和计算机软件相结合的形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用场景和设计约束条件。It can be understood that, in order to realize the functions in the foregoing embodiments, the first network element, the second network element, the third network element and the data management network element include corresponding hardware structures and/or software modules for performing respective functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software with reference to the units and method steps of the examples described in the embodiments disclosed in the present application. Whether a certain function is executed by hardware or computer software drives the hardware depends on the specific application scenario and design constraints of the technical solution.
图5和图6为本申请的实施例提供的可能的通信装置的结构示意图。这些通信装置可以用于实现上述方法实施例中第一网元、第二网元、第三网元或数据管理网元的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请的实施例中,该通信装置可以是第一网元、第二网元、第三网元或数据管理网元,也可以是应用于第一网元模块(如芯片)、第二网元模块(如芯片)、第三网元模块(如芯片)或数据管理网元的模块(如芯片)。FIG. 5 and FIG. 6 are schematic structural diagrams of possible communication devices provided by the embodiments of the present application. These communication devices can be used to implement the functions of the first network element, the second network element, the third network element or the data management network element in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments. In the embodiment of this application, the communication device may be the first network element, the second network element, the third network element or the data management network element, or it may be a module (such as a chip) applied to the first network element, a second A network element module (such as a chip), a third network element module (such as a chip), or a module (such as a chip) of a data management network element.
如图5所示,通信装置500包括处理单元510和收发单元520。通信装置500用于实现上述方法实施例中第一网元、第二网元、第三网元或数据管理网元的功能。As shown in FIG. 5 , a communication device 500 includes a processing unit 510 and a transceiver unit 520 . The communication device 500 is configured to implement functions of the first network element, the second network element, the third network element, or the data management network element in the foregoing method embodiments.
当该通信装置500用于实现上述方法实施例中的第一网元的功能,收发单元520,用于接收来自第二网元的时间需求信息;处理单元510,用于根据该时间需求信息,获取第一时钟的时间信息,该第一时钟为该第一网元的多个时钟中匹配该时间需求信息的时钟;收发单元520,用于向该第二网元发送该第一时钟的时间信息。When the communication device 500 is used to realize the function of the first network element in the above method embodiment, the transceiver unit 520 is used to receive the time requirement information from the second network element; the processing unit 510 is used to, according to the time requirement information, Obtain time information of a first clock, where the first clock is a clock that matches the time requirement information among multiple clocks of the first network element; the transceiver unit 520 is configured to send the time of the first clock to the second network element information.
作为一种可能的实现方法,收发单元520,用于按照设定的周期,持续向该第二网元发送该第一时钟的时间信息。As a possible implementation method, the transceiver unit 520 is configured to continuously send the time information of the first clock to the second network element according to a set period.
作为一种可能的实现方法,收发单元520,还用于接收来自第二网元的第二网元的时 间保持能力,该第二网元的时间保持能力指示该第二网元失去时钟源信号后持续提供精确时间的时长;处理单元510,用于根据该第二网元的时间保持能力,通过收发单元520向该第二网元发送该第一时钟的时间信息。As a possible implementation method, the transceiver unit 520 is further configured to receive the time keeping capability of the second network element from the second network element, and the time keeping capability of the second network element indicates that the second network element loses the clock source signal Continue to provide the precise time for a duration; the processing unit 510 is configured to send the time information of the first clock to the second network element through the transceiver unit 520 according to the time keeping capability of the second network element.
作为一种可能的实现方法,处理单元510,用于根据该时间需求信息,获取该多个时钟中的至少两个时钟的时间信息,该至少两个时钟均匹配该时间需求信息;从该至少两个时钟中选择该第一时钟。As a possible implementation method, the processing unit 510 is configured to acquire time information of at least two clocks among the plurality of clocks according to the time requirement information, and the at least two clocks both match the time requirement information; from the at least The first clock is selected among the two clocks.
作为一种可能的实现方法,收发单元520,用于向该第二网元发送该第一时钟的配置信息,该配置信息包括该第一时钟的时钟源、该第一时钟的时钟精度、该第一时钟的时间保持能力、该第一时钟允许的授时对象、该第一时钟的服务区域、该第一时钟的时钟传递能力或该第一时钟的质量等级中的一个或多个。As a possible implementation method, the transceiver unit 520 is configured to send configuration information of the first clock to the second network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
当该通信装置500用于实现上述方法实施例中的第二网元的功能,收发单元520,用于向第一网元发送时间需求信息;以及,接收来自该第一网元的第一时钟的时间信息,该第一时钟为该第一网元的多个时钟中匹配该时间需求信息的时钟。When the communication device 500 is used to implement the function of the second network element in the above method embodiment, the transceiver unit 520 is used to send time requirement information to the first network element; and receive the first clock from the first network element time information, the first clock is a clock matching the time requirement information among the multiple clocks of the first network element.
作为一种可能的实现方法,收发单元520,用于接收来自该第一网元的该第一时钟的配置信息,该配置信息包括该第一时钟的时钟源、该第一时钟的时钟精度、该第一时钟的时间保持能力、该第一时钟允许的授时对象、该第一时钟的服务区域、该第一时钟的时钟传递能力或该第一时钟的质量等级中的一个或多个。As a possible implementation method, the transceiver unit 520 is configured to receive configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
当该通信装置500用于实现上述方法实施例中的第三网元的功能,收发单元520,用于接收来自第二网元的时间需求信息;处理单元510,用于根据该时间需求信息,获取第一网元的地址信息,该第一网元包含与该时间需求信息匹配的时钟的信息;以及根据该第一网元的地址信息,通过收发单元520向该第一网元发送该时间需求信息;收发单元520,用于接收来自该第一网元的第一时钟的时间信息,该第一时钟为该第一网元的多个时钟中匹配该时间需求信息的时钟;向该第二网元发送该第一时钟的时间信息。When the communication device 500 is used to realize the function of the third network element in the above method embodiment, the transceiver unit 520 is used to receive the time requirement information from the second network element; the processing unit 510 is used to, according to the time requirement information, Obtaining address information of a first network element, the first network element including clock information matching the time requirement information; and sending the time to the first network element through the transceiver unit 520 according to the address information of the first network element Demand information; the transceiver unit 520 is configured to receive time information from a first clock of the first network element, where the first clock is a clock matching the time demand information among multiple clocks of the first network element; The second network element sends the time information of the first clock.
作为一种可能的实现方法,收发单元520,用于向数据管理网元发送查询消息,该查询消息中包含该时间需求信息;接收来自该数据管理网元的该第一网元的地址信息。As a possible implementation method, the transceiver unit 520 is configured to send a query message to the data management network element, where the query message includes the time requirement information; and receive address information of the first network element from the data management network element.
作为一种可能的实现方法,收发单元520,用于接收来自该第一网元的该第一时钟的配置信息,该配置信息包括该第一时钟的时钟源、该第一时钟的时钟精度、该第一时钟的时间保持能力、该第一时钟允许的授时对象、该第一时钟的服务区域、该第一时钟的时钟传递能力或该第一时钟的质量等级中的一个或多个;该第三网元向该第二网元发送该第一时钟的配置信息。As a possible implementation method, the transceiver unit 520 is configured to receive configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, One or more of the time keeping capability of the first clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock; The third network element sends configuration information of the first clock to the second network element.
当该通信装置500用于实现上述方法实施例中的数据管理网元的功能,收发单元520,用于接收来自第三网元的查询消息,该查询消息中包含时间需求信息;处理单元510,用于根据该时间需求信息,确定第一网元,该第一网元包含与该时间需求信息匹配的时钟的信息;收发单元520,用于向该第三网元发送该第一网元的地址信息。When the communication device 500 is used to implement the function of the data management network element in the above method embodiment, the transceiver unit 520 is used to receive a query message from a third network element, the query message includes time requirement information; the processing unit 510, The first network element is configured to determine the first network element according to the time requirement information, and the first network element includes clock information matching the time requirement information; the transceiver unit 520 is configured to send the first network element to the third network element Address information.
有关上述处理单元510和收发单元520更详细的描述可以直接参考上述方法实施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the processing unit 510 and the transceiver unit 520 can be directly obtained by referring to relevant descriptions in the above method embodiments, and details are not repeated here.
如图6所示,通信装置600包括处理器610和接口电路620。处理器610和接口电路620之间相互耦合。可以理解的是,接口电路620可以为收发器或输入输出接口。可选的,通信装置600还可以包括存储器630,用于存储处理器610执行的指令或存储处理器610 运行指令所需要的输入数据或存储处理器610运行指令后产生的数据。As shown in FIG. 6 , the communication device 600 includes a processor 610 and an interface circuit 620 . The processor 610 and the interface circuit 620 are coupled to each other. It can be understood that the interface circuit 620 may be a transceiver or an input-output interface. Optionally, the communication device 600 may further include a memory 630 for storing instructions executed by the processor 610 or storing input data required by the processor 610 to execute the instructions or storing data generated by the processor 610 after executing the instructions.
当通信装置600用于实现上述方法实施例时,处理器610用于实现上述处理单元510的功能,接口电路620用于实现上述收发单元520的功能。When the communication device 600 is used to implement the above method embodiments, the processor 610 is used to implement the functions of the processing unit 510 , and the interface circuit 620 is used to implement the functions of the transceiver unit 520 .
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可编程只读存储器、可擦除可编程只读存储器、电可擦除可编程只读存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。当然,处理器和存储介质也可以作为分立组件存在于基站或终端中。The method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only Memory, registers, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. Certainly, the processor and the storage medium may also exist in the base station or the terminal as discrete components.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、基站、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘;还可以是半导体介质,例如,固态硬盘。该计算机可读存储介质可以是易失性或非易失性存储介质,或可包括易失性和非易失性两种类型的存储介质。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a base station, user equipment or other programmable devices. The computer program or instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be downloaded from a website, computer, A server or data center transmits to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; and it may also be a semiconductor medium, such as a solid state disk. The computer readable storage medium may be a volatile or a nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. In the text description of this application, the character "/" generally indicates that the contextual objects are an "or" relationship; in the formulas of this application, the character "/" indicates that the contextual objects are a "division" Relationship.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic.

Claims (25)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    第一网元接收来自第二网元的时间需求信息;The first network element receives time requirement information from the second network element;
    所述第一网元根据所述时间需求信息,获取第一时钟的时间信息,所述第一时钟为所述第一网元的多个时钟中匹配所述时间需求信息的时钟;The first network element acquires time information of a first clock according to the time requirement information, and the first clock is a clock matching the time requirement information among multiple clocks of the first network element;
    所述第一网元向所述第二网元发送所述第一时钟的时间信息。The first network element sends the time information of the first clock to the second network element.
  2. 如权利要求1所述的方法,其特征在于,所述第一网元向所述第二网元发送所述第一时钟的时间信息,包括:The method according to claim 1, wherein the first network element sends the time information of the first clock to the second network element, comprising:
    所述第一网元按照设定的周期,持续向所述第二网元发送所述第一时钟的时间信息。The first network element continuously sends the time information of the first clock to the second network element according to a set period.
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一网元接收来自所述第二网元的所述第二网元的时间保持能力;the first network element receives the time keeping capability of the second network element from the second network element;
    所述第一网元向所述第二网元发送所述第一时钟的时间信息,包括:The first network element sending the time information of the first clock to the second network element includes:
    所述第一网元根据所述第二网元的时间保持能力,向所述第二网元发送所述第一时钟的时间信息。The first network element sends the time information of the first clock to the second network element according to the time keeping capability of the second network element.
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述第一网元根据所述时间需求信息,获取第一时钟的时间信息,包括:The method according to any one of claims 1 to 3, wherein the first network element acquires the time information of the first clock according to the time requirement information, including:
    所述第一网元根据所述时间需求信息,获取所述多个时钟中的至少两个时钟的时间信息,所述至少两个时钟均匹配所述时间需求信息;The first network element acquires time information of at least two clocks among the plurality of clocks according to the time requirement information, and the at least two clocks both match the time requirement information;
    所述第一网元从所述至少两个时钟中选择所述第一时钟。The first network element selects the first clock from the at least two clocks.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, further comprising:
    所述第一网元向所述第二网元发送所述第一时钟的配置信息,所述配置信息包括所述第一时钟的时钟源、所述第一时钟的时钟精度、所述第一时钟的时间保持能力、所述第一时钟允许的授时对象、所述第一时钟的服务区域、所述第一时钟的时钟传递能力或所述第一时钟的质量等级中的一个或多个。The first network element sends configuration information of the first clock to the second network element, where the configuration information includes the clock source of the first clock, the clock precision of the first clock, the first One or more of the timekeeping capability of the clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transmission capability of the first clock, or the quality level of the first clock.
  6. 如权利要求1至5中任一项所述的方法,其特征在于,所述时间需求信息包括以下信息中的一个或多个:The method according to any one of claims 1 to 5, wherein the time requirement information includes one or more of the following information:
    时钟源、时钟精度、时钟的时间保持能力或服务区域。Clock source, clock accuracy, time keeping capability of clock or service area.
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述第二网元是应用功能网元、终端设备、接入网设备或核心网设备。The method according to any one of claims 1 to 6, wherein the second network element is an application function network element, a terminal device, an access network device or a core network device.
  8. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    第二网元向第一网元发送时间需求信息;The second network element sends time requirement information to the first network element;
    所述第二网元接收来自所述第一网元的第一时钟的时间信息,所述第一时钟为所述第一网元的多个时钟中匹配所述时间需求信息的时钟。The second network element receives time information from a first clock of the first network element, where the first clock is a clock matching the time requirement information among multiple clocks of the first network element.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8, further comprising:
    所述第二网元接收来自所述第一网元的所述第一时钟的配置信息,所述配置信息包括所述第一时钟的时钟源、所述第一时钟的时钟精度、所述第一时钟的时间保持能力、所述第一时钟允许的授时对象、所述第一时钟的服务区域、所述第一时钟的时钟传递能力或所述第一时钟的质量等级中的一个或多个。The second network element receives configuration information of the first clock from the first network element, where the configuration information includes the clock source of the first clock, the clock accuracy of the first clock, the first One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock .
  10. 如权利要求8或9所述的方法,其特征在于,所述时间需求信息包括以下信息中的一个或多个:The method according to claim 8 or 9, wherein the time requirement information includes one or more of the following information:
    时钟源、时钟精度、时钟的时间保持能力或服务区域。Clock source, clock accuracy, time keeping capability of clock or service area.
  11. 如权利要求8至10中任一项所述的方法,其特征在于,所述第二网元是应用功能网元、终端设备、接入网设备或核心网设备。The method according to any one of claims 8 to 10, wherein the second network element is an application function network element, a terminal device, an access network device or a core network device.
  12. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    第三网元接收来自第二网元的时间需求信息;The third network element receives the time requirement information from the second network element;
    所述第三网元根据所述时间需求信息,获取第一网元的地址信息,所述第一网元包含与所述时间需求信息匹配的时钟的信息;The third network element acquires address information of a first network element according to the time requirement information, and the first network element includes clock information matching the time requirement information;
    所述第三网元根据所述第一网元的地址信息,向所述第一网元发送所述时间需求信息;The third network element sends the time requirement information to the first network element according to the address information of the first network element;
    所述第三网元接收来自所述第一网元的第一时钟的时间信息,所述第一时钟为所述第一网元的多个时钟中匹配所述时间需求信息的时钟;The third network element receives time information from a first clock of the first network element, where the first clock is a clock matching the time requirement information among multiple clocks of the first network element;
    所述第三网元向所述第二网元发送所述第一时钟的时间信息。The third network element sends the time information of the first clock to the second network element.
  13. 如权利要求12所述的方法,其特征在于,所述第三网元根据所述时间需求信息,获取第一网元的地址信息,包括:The method according to claim 12, wherein the third network element obtains the address information of the first network element according to the time requirement information, comprising:
    所述第三网元向数据管理网元发送查询消息,所述查询消息中包含所述时间需求信息;The third network element sends a query message to the data management network element, and the query message includes the time requirement information;
    所述第三网元接收来自所述数据管理网元的所述第一网元的地址信息。The third network element receives address information of the first network element from the data management network element.
  14. 如权利要求12或13所述的方法,其特征在于,所述方法还包括:The method according to claim 12 or 13, further comprising:
    所述第三网元接收来自所述第一网元的所述第一时钟的配置信息,所述配置信息包括所述第一时钟的时钟源、所述第一时钟的时钟精度、所述第一时钟的时间保持能力、所述第一时钟允许的授时对象、所述第一时钟的服务区域、所述第一时钟的时钟传递能力或所述第一时钟的质量等级中的一个或多个;The third network element receives configuration information of the first clock from the first network element, where the configuration information includes a clock source of the first clock, a clock accuracy of the first clock, and the first clock One or more of the time keeping capability of a clock, the timing objects allowed by the first clock, the service area of the first clock, the clock transfer capability of the first clock, or the quality level of the first clock ;
    所述第三网元向所述第二网元发送所述第一时钟的配置信息。The third network element sends configuration information of the first clock to the second network element.
  15. 如权利要求12至14中任一项所述的方法,其特征在于,所述时间需求信息包括以下信息中的一个或多个:The method according to any one of claims 12 to 14, wherein the time requirement information includes one or more of the following information:
    时钟源、时钟精度、时钟的时间保持能力或服务区域。Clock source, clock accuracy, time keeping capability of clock or service area.
  16. 如权利要求12至15中任一项所述的方法,其特征在于,所述第二网元是应用功能网元、终端设备、接入网设备或核心网设备。The method according to any one of claims 12 to 15, wherein the second network element is an application function network element, a terminal device, an access network device or a core network device.
  17. 如权利要求12至16中任一项所述的方法,其特征在于,所述第三网元是移动性管理网元或网络能力开放网元。The method according to any one of claims 12 to 16, wherein the third network element is a mobility management network element or a network capability opening network element.
  18. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    数据管理网元接收来自第三网元的查询消息,所述查询消息中包含时间需求信息;The data management network element receives a query message from the third network element, where the query message includes time requirement information;
    所述数据管理网元根据所述时间需求信息,确定第一网元,所述第一网元包含与所述时间需求信息匹配的时钟的信息;The data management network element determines a first network element according to the time requirement information, and the first network element includes clock information matching the time requirement information;
    所述数据管理网元向所述第三网元发送所述第一网元的地址信息。The data management network element sends the address information of the first network element to the third network element.
  19. 如权利要求18所述的方法,其特征在于,所述时间需求信息包括以下信息中的一个或多个:The method according to claim 18, wherein the time requirement information includes one or more of the following information:
    时钟源、时钟精度、时钟的时间保持能力或服务区域。Clock source, clock accuracy, time keeping capability of clock or service area.
  20. 如权利要求18或19所述的方法,其特征在于,所述第三网元是移动性管理网元或网络能力开放网元。The method according to claim 18 or 19, wherein the third network element is a mobility management network element or a network capability opening network element.
  21. 一种通信装置,其特征在于,包括用于执行如权利要求1至7中任一项所述方法的模块,或用于执行如权利要求8至11中任一项所述方法的模块,或用于执行如权利要求12至17中任一项所述方法的模块,或用于执行如权利要求18至20中任一项所述方法的模块。A communication device, characterized by comprising a module for performing the method according to any one of claims 1 to 7, or a module for performing the method according to any one of claims 8 to 11, or A module for performing a method as claimed in any one of claims 12 to 17, or a module for performing a method as claimed in any one of claims 18 to 20.
  22. 一种通信装置,其特征在于,包括处理器和接口电路,所述接口电路用于接收来自所述通信装置之外的其它通信装置的信号并传输至所述处理器或将来自所述处理器的信号发送给所述通信装置之外的其它通信装置,所述处理器通过逻辑电路或执行代码指令用于实现如权利要求1至7中任一项所述的方法,或用于实现如权利要求8至11中任一项所述的方法,或用于实现如权利要求12至17中任一项所述的方法,或用于实现如权利要求18至20中任一项所述的方法。A communication device, characterized in that it includes a processor and an interface circuit, the interface circuit is used to receive signals from other communication devices other than the communication device and transmit them to the processor or transfer signals from the processor The signal is sent to other communication devices other than the communication device, and the processor implements the method according to any one of claims 1 to 7 through a logic circuit or executes code instructions, or is used to realize the method according to any one of claims 1 to 7 The method described in any one of claims 8 to 11, or for realizing the method described in any one of claims 12 to 17, or for realizing the method described in any one of claims 18 to 20 .
  23. 一种通信装置,其特征在于,包括处理器和存储器;所述存储器用于存储计算机指令,当所述装置运行时,所述处理器执行所述存储器存储的所述计算机指令,以使所述装置执行如权利要求1至7中任一项所述方法,或执行如权利要求8至11中任一项所述方法,或执行如权利要求12至17中任一项所述方法,或执行如权利要求18至20中任一项所述方法。A communication device, characterized in that it includes a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory, so that the The device executes the method according to any one of claims 1 to 7, or executes the method according to any one of claims 8 to 11, or executes the method according to any one of claims 12 to 17, or executes A method as claimed in any one of claims 18 to 20.
  24. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至20中任一项所述的方法。A computer-readable storage medium, characterized in that computer programs or instructions are stored in the storage medium, and when the computer programs or instructions are executed by a communication device, the implementation of any one of claims 1 to 20 Methods.
  25. 一种通信系统,其特征在于,包括用于执行如权利要求1至7中任一项所述方法的第一网元,和用于执行如权利要求8至11中任一项所述方法的第二网元。A communication system, characterized by comprising a first network element for performing the method according to any one of claims 1 to 7, and a network element for performing the method according to any one of claims 8 to 11 The second network element.
PCT/CN2022/122180 2021-09-30 2022-09-28 Communication method, communication apparatus and communication system WO2023051620A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111160112.XA CN115915219A (en) 2021-09-30 2021-09-30 Communication method, communication device and communication system
CN202111160112.X 2021-09-30

Publications (1)

Publication Number Publication Date
WO2023051620A1 true WO2023051620A1 (en) 2023-04-06

Family

ID=85743031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/122180 WO2023051620A1 (en) 2021-09-30 2022-09-28 Communication method, communication apparatus and communication system

Country Status (2)

Country Link
CN (1) CN115915219A (en)
WO (1) WO2023051620A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958667A (en) * 2018-09-26 2020-04-03 华为技术有限公司 Method, device and system for determining synchronization period
CN111278101A (en) * 2019-01-28 2020-06-12 维沃移动通信有限公司 Time information processing method, terminal equipment and network side equipment
WO2021072654A1 (en) * 2019-10-15 2021-04-22 Oppo广东移动通信有限公司 Method and device for determining reference clock, terminal device and network device
CN113260038A (en) * 2020-02-07 2021-08-13 维沃移动通信有限公司 Acquisition method of reference time information, information transceiving method and related equipment
WO2021183876A2 (en) * 2020-03-13 2021-09-16 Qualcomm Incorporated Synchronization reference source selection for clock synchronization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958667A (en) * 2018-09-26 2020-04-03 华为技术有限公司 Method, device and system for determining synchronization period
CN111278101A (en) * 2019-01-28 2020-06-12 维沃移动通信有限公司 Time information processing method, terminal equipment and network side equipment
WO2021072654A1 (en) * 2019-10-15 2021-04-22 Oppo广东移动通信有限公司 Method and device for determining reference clock, terminal device and network device
CN113260038A (en) * 2020-02-07 2021-08-13 维沃移动通信有限公司 Acquisition method of reference time information, information transceiving method and related equipment
WO2021183876A2 (en) * 2020-03-13 2021-09-16 Qualcomm Incorporated Synchronization reference source selection for clock synchronization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NOKIA, NOKIA SHANGAI BELL, NTT DOCOMO, SAMSUNG, HUAWEI, HISILICON: "KI#3B-1: Exposure of Time synchronization as a service", 3GPP TSG-SA2 MEETING #143E, S2-2102032, 9 March 2021 (2021-03-09), XP051985415 *
NTT DOCOMO, SENNHEISER, BBC, EBU, NOKIA, NOKIA SHANGHAI BELL, QUALCOMM, FUTUREWEI: "KI #3B: Update to KI #3B to support PTP over UDP/IP", 3GPP TSG-WG SA2 MEETING #139E E-MEETING, S2-2003570, 22 May 2020 (2020-05-22), XP051889637 *

Also Published As

Publication number Publication date
CN115915219A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
JP7064588B2 (en) Edge network capabilities How to achieve openness, equipment, equipment and storage media
WO2021135187A1 (en) Slice control method and apparatus
WO2021212939A1 (en) Communication method, apparatus and system
WO2021051420A1 (en) Dns cache record determination method and apparatus
WO2023179238A1 (en) Timing method, communication apparatus, and communication system
WO2024032304A1 (en) Clock synchronization guarantee method and apparatus
WO2022222745A1 (en) Communication method and apparatus
WO2023051620A1 (en) Communication method, communication apparatus and communication system
WO2021218244A1 (en) Communication method, apparatus and system
WO2021147687A1 (en) Communication method, device and system
WO2023231465A1 (en) Time synchronization method, communication apparatus and communication system
WO2023125392A1 (en) Communication method and apparatus
WO2023104123A1 (en) Communication method and apparatus, and device
WO2023231450A1 (en) Time synchronization method and communication apparatus
WO2023134431A1 (en) Timing method, communication apparatus, and communication system
WO2023045741A1 (en) Positioning method and apparatus, and readable storage medium
WO2023082858A1 (en) Method for determining mobility management policy, communication apparatus, and communication system
JP7220209B2 (en) Efficient UE Position Reporting in Cellular Networks
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
WO2023179397A1 (en) Licensing method and apparatus
US11438759B2 (en) Mobile profile download via null-authenticated communications session
WO2021159523A1 (en) Communication method, apparatus and system
CN117295145A (en) Clock detection method and communication device
WO2023005440A1 (en) Communication method, communication apparatus and communication system
WO2023165425A1 (en) Communication method and apparatus, and device

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: 22875003

Country of ref document: EP

Kind code of ref document: A1