WO2023179556A1 - 终端发现方法、装置、设备及存储介质 - Google Patents

终端发现方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2023179556A1
WO2023179556A1 PCT/CN2023/082560 CN2023082560W WO2023179556A1 WO 2023179556 A1 WO2023179556 A1 WO 2023179556A1 CN 2023082560 W CN2023082560 W CN 2023082560W WO 2023179556 A1 WO2023179556 A1 WO 2023179556A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
service
reference signal
request message
Prior art date
Application number
PCT/CN2023/082560
Other languages
English (en)
French (fr)
Inventor
张奕忠
王文
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023179556A1 publication Critical patent/WO2023179556A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Definitions

  • This application belongs to the field of communication technology, and specifically relates to a terminal discovery method, device, equipment and storage medium.
  • Ranging-based services and sidelink positioning refers to determining the distance between two terminals or multiple terminals through direct device connection, and/or the direction and/or relative position of one terminal (i.e., target terminal) and another terminal (i.e., reference terminal).
  • Bypass positioning refers to using the PC5 interface to locate the terminal.
  • Ranging-based services and bypass positioning can be used in various verticals such as consumer, smart home, smart city, smart transportation, smart retail and Industry 4.0, etc.
  • the different application fields mentioned above can use different access technologies to achieve communication between terminals, such as LTE-based Vehicle-to-Everything (V2X), side links of new air interface NR, and other wireless devices that may be supported on PC5. Access Technology (Radio Access Technology, RAT). Therefore, for those skilled in the art, before performing ranging-based services and bypass positioning, how to enable a terminal that supports ranging services and bypass positioning to discover another terminal that supports ranging services and bypass positioning , is a technical problem that needs to be solved urgently.
  • V2X Vehicle-to-Everything
  • RAT Radio Access Technology
  • Embodiments of the present application provide a terminal discovery method, device, equipment and storage medium, which can enable a terminal that supports ranging services and bypass positioning to discover another terminal that supports ranging services and bypass positioning.
  • a terminal discovery method applied to the first terminal, and the method includes:
  • the first terminal acquires first configuration information related to the first service
  • the first terminal sends a first request message to the second terminal
  • the first request message is used to request discovery of a second terminal that supports the first service, where the first service includes: ranging service and/or bypass positioning service.
  • a terminal discovery method is provided, which is applied to the second terminal.
  • the method includes:
  • the second terminal obtains second configuration information related to the first service
  • the second terminal receives the first request message sent by the first terminal
  • the first request message is used to discover a second terminal that supports the first service, and the first service is a terminal discovery related service.
  • a terminal discovery method is provided, applied to the first network side, and the method includes:
  • the first network side sends first configuration information to the first terminal; the first configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • the fourth aspect provides a terminal discovery method applied to the second network side.
  • the method includes:
  • the second network side sends second configuration information to the second terminal; the second configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • a terminal discovery device applied to a first terminal, and the device includes:
  • the first acquisition module is used to acquire the first configuration information related to the first service
  • a first sending module configured to send a first request message to the second terminal
  • the first request message is used to request discovery of a second terminal that supports the first service, where the first service includes: ranging service and/or bypass positioning service.
  • a terminal discovery device applied to a second terminal, and the device includes:
  • the second acquisition module is used to acquire the second configuration information related to the first service
  • a second receiving module configured to receive the first request message sent by the first terminal
  • the first request message is used to discover a second terminal that supports the first service, and the first service is a terminal discovery related service.
  • a terminal discovery device applied to the first network side, and the device includes:
  • the fifth sending module is configured to send first configuration information to the first terminal; the first configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • a terminal discovery device applied to the second network side, and the device includes:
  • a sixth sending module is configured to send second configuration information to the second terminal; the second configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • a first terminal in a ninth aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor.
  • a first terminal including a processor and a communication interface, wherein:
  • the processor is used for first configuration information related to the first service
  • the communication interface is used to send a first request message to the second terminal.
  • a second terminal in an eleventh aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are used by the processor. When executed, the steps of the method as described in the second aspect are implemented.
  • a second terminal including a processor and a communication interface, wherein:
  • the processor is used to obtain second configuration information related to the first service
  • the communication interface is used to receive the first request message sent by the first terminal.
  • a first network side device in a thirteenth aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are When executed by the processor, the steps of the method described in the third aspect are implemented.
  • a fourteenth aspect a first network side device is provided, including a processor and a communication interface, wherein:
  • the communication interface is used to send first configuration information to the first terminal; the first configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • a second network side device in a fifteenth aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are When executed by the processor, the steps of the method described in the fourth aspect are implemented.
  • a second network side device including a processor and a communication interface, wherein:
  • the communication interface is used to send second configuration information to the second terminal; the second configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • a terminal discovery system including: a first terminal, a second terminal, a first network side device, and a second network side device.
  • the first terminal can be used to perform the steps described in the first aspect.
  • the steps of the terminal discovery method, the second terminal can be used to perform the steps of the terminal discovery method described in the second aspect, and the first network side device can be used to perform the steps of the terminal discovery method described in the third aspect,
  • the second network side device may be configured to perform the steps of the terminal discovery method described in the fourth aspect.
  • a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented. The steps of the method described in the second aspect, or the steps of implementing the method described in the third aspect, or the steps of the method described in the fourth aspect.
  • a chip in a nineteenth aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the method described in the first aspect. method, or implement the method described in the second aspect, or implement the method described in the third aspect, or implement the method described in the fourth aspect.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the first aspect
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable
  • Figure 2 is one of the flow diagrams of the terminal discovery method provided by the embodiment of the present application.
  • Figure 3 is the second schematic flow chart of the terminal discovery method provided by the embodiment of the present application.
  • Figure 4 is the third schematic flowchart of the terminal discovery method provided by the embodiment of the present application.
  • Figure 5 is the fourth schematic flowchart of the terminal discovery method provided by the embodiment of the present application.
  • Figure 6 is a schematic flow chart of the terminal discovery method provided by the embodiment of the present application.
  • FIG. 7 is a schematic flowchart No. 6 of the terminal discovery method provided by the embodiment of the present application.
  • Figure 8 is one of the structural schematic diagrams of the terminal discovery device provided by the embodiment of the present application.
  • Figure 9 is the second structural schematic diagram of the terminal discovery device provided by the embodiment of the present application.
  • Figure 10 is the third structural schematic diagram of the terminal discovery device provided by the embodiment of the present application.
  • Figure 11 is the fourth structural schematic diagram of the terminal discovery device provided by the embodiment of the present application.
  • Figure 12 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 13 is a schematic diagram of the hardware structure of the first terminal that implements the embodiment of the present application.
  • Figure 14 is a schematic diagram of the hardware structure of a second terminal that implements an embodiment of the present application.
  • Figure 15 is a schematic diagram of the hardware structure of the first network side device that implements the embodiment of the present application.
  • Figure 16 is a schematic diagram of the hardware structure of a second network-side device that implements an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects It is usually one type, and the number of objects is not limited.
  • the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • system and “network” in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies.
  • NR New Radio
  • the following description describes a New Radio (NR) system for example purposes, and uses NR terminology in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6th Generation , 6G) communication system.
  • NR New Radio
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12.
  • the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • MID mobile Internet device
  • AR augmented reality
  • VR virtual reality reality
  • VR virtual reality reality
  • robots wearable devices
  • VUE vehicle-mounted equipment
  • PUE pedestrian terminals
  • smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
  • PC personal computers
  • teller machines or self-service machines and other terminal-side devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, Smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc.
  • the network side device 12 may include an access network device or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or Wireless access network unit.
  • the access network device 12 may include a base station, a WLAN access point or a WiFi node, etc.
  • the base station may be called a Node B, an evolved Node B (eNB), an access point, a Base Transceiver Station (BTS), a radio Base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B, Home Evolved Node B, Transmitting Receiving Point (TRP) or all
  • eNB evolved Node B
  • BTS Base Transceiver Station
  • BSS Basic Service Set
  • ESS Extended Service Set
  • Home Node B Home Evolved Node B
  • TRP Transmitting Receiving Point
  • Core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Service Discovery function (Edge Application Server Discovery Function, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), centralized network configuration ( Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc.
  • MME mobility management entities
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • UPF User Plane Function
  • PCF Policy Control Function
  • PCF Policy
  • FIG 2 is one of the flow diagrams of the terminal discovery method provided by the embodiment of the present application. As shown in Figure 2, the method includes the following steps:
  • Step 200 The first terminal obtains first configuration information related to the first service
  • Step 210 The first terminal sends a first request message to the second terminal;
  • the first request message is used to request discovery of a second terminal that supports the first service, where the first service includes: ranging service and/or bypass positioning service.
  • the first service represents a ranging and/or bypass positioning service, that is, it can be a ranging service, a bypass positioning service, or a ranging and bypass positioning service;
  • ranging may refer to determining the distance between two user equipment (User Equipment, UE) and/or the direction between one UE (ie, target UE) and another UE (ie, observer UE) through direct device connection.
  • UE User Equipment
  • the directions include horizontal and vertical directions.
  • Ranging-based services can be used in various verticals such as consumer, smart home, smart city, smart transportation, smart retail and Industry 4.0.
  • verticals such as consumer, smart home, smart city, smart transportation, smart retail and Industry 4.0.
  • Smart home TV control Based on the distance between the UE and the TV reference point, the direction from the TV reference point to the UE, and the direction from the UE to the TV reference point, the smart TV can derive the TV screen area that the UE is pointing to in order to determine cursor placement location and content selected by the user.
  • Remote access authority authorization The distance between the visitor holding UE2 and the door capable of ranging can be remotely monitored through the mobile phone UE1 to decide when to unlock the door to allow the visitor to access.
  • Ranging may refer to determining the distance between two or more UEs and/or a UE through the PC5 interface The direction and/or relative positioning between (i.e., the target UE) and another UE (i.e., the reference UE).
  • Bypass positioning Use PC5 to position the UE.
  • Positioning A function that detects geographical location and optional speed (e.g. mobile terminal).
  • Relative position Estimates the position of the UE relative to other network elements or relative to other UEs.
  • the first service may be that the first terminal wishes to obtain relative information (such as Relative position) between the first terminal and other terminals, or it may be absolute information (such as geographical location, velocity); or it may be that the first terminal wishes to obtain the relationship between the first terminal and other terminals.
  • Relative information and absolute information between certain network devices also network elements, which can be understood as network-side devices, base stations, RSUs, etc.).
  • the first terminal may obtain first configuration information related to the first service, where the first configuration information is used to configure the first terminal with information that the first terminal needs to use when executing the first service;
  • the first terminal when it needs to discover a second terminal that supports the first service, it can send a first request message to the second terminal; after receiving the first request message, the second terminal can learn the first If the terminal needs to discover a terminal that supports the first service, then the terminal that supports the first service can discover another terminal that supports the first service;
  • the first network side does not need to send the first configuration information to the first terminal every time the first service is executed.
  • the timing at which the first network side sends the first configuration information to the first terminal is not limited in the embodiments of this application.
  • the first network side when the first terminal registers with the first network side, the first network side sends the first configuration information to the first terminal.
  • the first terminal may request to obtain or update the first configuration information at any time.
  • the first configuration information is configured in the first terminal in a preconfiguration manner.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the first request message includes at least one of the following:
  • the first indication information is used to indicate that the first request message is used for the first service
  • the third indication information is used to instruct the second terminal to send second auxiliary information, and the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service;
  • a first message type is used to indicate the message type of the first request message
  • the terminal identification of the first terminal includes at least one of the following: identity identification, device identification, and logical identification;
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the first service information is used to indicate the service information requested by the first terminal;
  • the first auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request message may include any one or more of the following (a)-(i):
  • First indication information the first indication information is used to indicate that the first request message is used for the first service
  • the length of the first indication information may be 1 bit, wherein bit 0 indicates that the first indication information indicates that the first request message is not used for the first service; bit 1 indicates that the first indication The information indicates that the first request message is for the first service;
  • the third indication information is used to instruct the second terminal to send second auxiliary information, and the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service;
  • the first terminal sends third indication information through the first request message, indicating Instruct the second terminal to send the second auxiliary information.
  • the second terminal can send the second auxiliary information to the first terminal.
  • the second terminal can send the second auxiliary information to the first terminal through the first request response message.
  • Information after receiving the second auxiliary information, the first terminal can determine whether the second terminal supports the first service based on the second auxiliary information;
  • the message types of different messages may include: a first service discovery request message; a first service discovery request response message;
  • the message type of the first message type used for the immediate message is a first service discovery request message
  • the terminal identification of the first terminal which includes at least one of the following: the identity identification of the first terminal, the device identification of the first terminal, or the logical identification of the first terminal;
  • the logical identifier of the first terminal refers to the logical identifier assigned by the network or application server that can uniquely identify the first terminal, such as: a specific string combination, a layer-2 identifier (layer-2 ID), and business information. Relevant terminal identification, etc., terminal identification managed by the application layer and/or allocated by the application layer.
  • the terminal identification of the second terminal which includes at least one of the following: the identity identification of the second terminal, the device identification of the second terminal, or the logical identification of the second terminal;
  • the logical identifier of the second terminal refers to the logical identifier assigned by the network or application server that can uniquely identify the second terminal, such as: a specific string combination, a layer-2 ID, and business information. Relevant terminal identification, etc., terminal identification managed by the application layer and/or allocated by the application layer.
  • First service information the first service information is used to indicate the service information requested by the first terminal;
  • the first auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request message may be a PROSE PC5 DISCOVERY message in the existing mechanism
  • the first request message may be a RANGING PC5 DISCOVERY message, that is, a new message that is different from existing messages.
  • the first auxiliary information includes at least one of the following: reference signal information of the first terminal, algorithm information of the first terminal, or measurement requirement information of the first terminal.
  • the first auxiliary information may include reference signal information of the first terminal
  • the first auxiliary information may include algorithm information of the first terminal
  • the first auxiliary information may include measurement requirement information of the first terminal
  • the first auxiliary information may include reference signal information of the first terminal and algorithm information of the first terminal;
  • the first auxiliary information may include reference signal information of the first terminal and measurement requirement information of the first terminal;
  • the first auxiliary information may include algorithm information of the first terminal and measurement requirement information of the first terminal;
  • the first auxiliary information includes one item or multiple items
  • the first terminal or the second terminal implements discovery of a terminal that supports the first service based on the first auxiliary information
  • all the items included in the first auxiliary information may be used. item or part of an item.
  • the algorithm information of the first terminal is the algorithm information used by the first terminal to execute the first service, and the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.;
  • the reference signal information of the first terminal may indicate that when using ranging and positioning services,
  • the information of the reference signal used by the first terminal includes at least one of the following: the name of the reference signal, the identification of the reference signal, the frequency of the reference signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the first terminal includes measurement accuracy and/or quality of service (Quality of Service, QoS) information.
  • QoS Quality of Service
  • the first service information includes at least one of the following: a service code corresponding to the first terminal, a service identifier corresponding to the first terminal, or a service type corresponding to the first terminal.
  • the first service information may include at least one of the following:
  • the service code corresponding to the first terminal is used for at least one of the following: identifying that the first terminal needs to use the first service, identifying that the first terminal is authorized to use the first service, or verifying that other terminals are authorized to use it.
  • First service identifying that the first terminal needs to use the first service, identifying that the first terminal is authorized to use the first service, or verifying that other terminals are authorized to use it.
  • the service identifier corresponding to the first terminal the service identifier indicating that the identified service is authorized to use the first service
  • the service type corresponding to the first terminal is the service type corresponding to the first terminal.
  • the first request message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request message.
  • the first terminal may send the address information of the first terminal to the second terminal;
  • the first terminal may send the address information of the second terminal to the second terminal;
  • the first terminal may send the address information of the first terminal and the address information of the second terminal to the second terminal;
  • the address information of the first terminal may be included in the first request message, or may be sent outside the first request message and along with the first request message;
  • the address information of the second terminal may be included in the first request message, or may be sent outside and accompanying the first request message;
  • the address information of the first terminal and the address information of the second terminal may be included in the first request.
  • the request message it can also be sent in addition to the first request message and together with the first request message;
  • the second terminal may directly initiate execution.
  • the first terminal After the first terminal sends the first request message to the second terminal and the second terminal starts the first service-related process, the first terminal can directly enter the process of executing the first service-related process with the second terminal.
  • a service process It should be noted that the embodiment of the present application does not limit the process of how to execute the first service.
  • the method further includes:
  • the first terminal receives a first request response message sent by the second terminal, and the first request response message is used to indicate that the second terminal receives the first request message from the first terminal.
  • a first request response message sent by the second terminal may be received, where the first request response message is used to represent that the second terminal has received the the first request message of the first terminal.
  • the first request response message includes at least one of the following:
  • a second message type used to indicate the message type of the first request response message
  • the second service information is used to indicate the service information provided by the second terminal;
  • the terminal identification of the first terminal is the terminal identification of the first terminal
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request response message may include any one or more of the following (j)-(q):
  • (k) A second message type, the second message type is used to indicate the message type of the first request response message
  • the message types of different messages may include: a first service discovery request message; a first service discovery request response message;
  • the second message type is used to directly indicate that the message type is a first service discovery request response message
  • Second service information the second service information is used to indicate the service information provided by the second terminal;
  • the terminal identification of the first terminal includes at least one of the following: the identity identification of the first terminal, the device identification of the first terminal, or the logical identification of the first terminal;
  • the logical identification of the first terminal refers to the logical identification assigned by the network or application server that can uniquely identify the second terminal, such as: a specific string combination, a layer-2 identification (layer-2 ID), and business information related Terminal identification, etc., application layer management and/or terminal identification allocated by the application layer.
  • the terminal identification of the second terminal includes at least one of the following: the identity identification of the second terminal, the device identification of the second terminal, or the logical identification of the second terminal;
  • the logical identification of the second terminal refers to the logical identification assigned by the network or application server that can uniquely identify the second terminal, such as: a specific string combination, a layer-2 identification (layer-2 ID), and business information related Terminal identification, etc., application layer management and/or terminal identification allocated by the application layer.
  • Second auxiliary information the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the second service information includes at least one of the following: a service code corresponding to the second terminal, a service identifier corresponding to the second terminal, or a service type corresponding to the second terminal.
  • the second service information may include at least one of the following:
  • the service code corresponding to the second terminal is used for at least one of the following: identifying that the second terminal needs to use the first service, identifying that the second terminal is authorized to use the first service, or verifying that other terminals are authorized to use the first service.
  • First service identifying that the second terminal needs to use the first service, identifying that the second terminal is authorized to use the first service, or verifying that other terminals are authorized to use the first service.
  • the service identifier corresponding to the second terminal the service identifier indicating that the identified service is authorized to use the first service
  • the service type corresponding to the second terminal is the service type corresponding to the second terminal.
  • the first request response message includes the second service information. It can also be understood that the second terminal can provide the first service related to the second service information. For example, when the second service information is a service identifier, it can be understood that the second terminal can provide the first service related to the service identified by the service identifier.
  • the first request response message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request response message.
  • the second terminal may send the address information of the first terminal to the first terminal;
  • the second terminal may send the address information of the second terminal to the first terminal;
  • the second terminal may send the first terminal's address information and the second terminal's address information to the first terminal;
  • the address information of the first terminal may be included in the first request response message, or may be sent outside the first request response message and along with the first request response message;
  • the address information of the second terminal may be included in the first request response message, or may be sent outside the first request response message and along with the first request response message;
  • the address information of the first terminal and the address information of the second terminal may be included in the first request response message, or may be sent outside the first request response message and along with the first request response message.
  • the second auxiliary information includes at least one of the following: reference signal information of the second terminal, algorithm information of the second terminal, or measurement requirement information of the second terminal.
  • the second auxiliary information may include reference signal information of the second terminal
  • the second auxiliary information may include algorithm information of the second terminal
  • the second auxiliary information may include measurement requirement information of the second terminal
  • the second auxiliary information may include reference signal information of the second terminal and algorithm information of the second terminal;
  • the second auxiliary information may include reference signal information of the second terminal and measurement requirement information of the second terminal;
  • the second auxiliary information may include algorithm information of the second terminal and measurement requirement information of the second terminal;
  • the second auxiliary information includes one item or multiple items
  • all the items included in the second auxiliary information may be used. item or part of an item.
  • the algorithm information of the second terminal is the algorithm information used by the second terminal to execute the first service, and the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.;
  • the reference signal information of the second terminal may represent the information of the reference signal used by the second terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the second terminal includes measurement accuracy and/or QoS information
  • the reference signal sending method includes at least one of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals
  • the event triggers the sending of a reference signal.
  • the reference signal sending method includes any one or more of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals;
  • the event triggers the sending of a reference signal.
  • the result determination method includes at least one of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result.
  • the reference signal sending method and the result determination method have an associated relationship. For example, the first terminal sets the reference signal sending mode in the first request message to "the first terminal sends a reference signal", then after the second terminal receives the first request message, the second terminal The second terminal can infer that the "result determination method" of the first service is "the second terminal determines the first result”.
  • the result determination method includes any one or more of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result.
  • the first result may be a result obtained by performing the first service, such as the distance between two or more UEs and/or the distance between one UE (ie, the target UE) and another UE (ie, the reference UE). direction and/or relative positioning; optionally, the first result may be a result obtained by the first terminal corresponding to the first service related to the second terminal, and the first result may include at least one of the following:
  • Absolute position information of the second terminal relative position information of the second terminal and the first terminal, accuracy information, or measurement results of the second positioning reference signal.
  • the absolute position information of the second terminal such as Timing Advance (TA), Registration Area (RA), Cell Identifier (Identifier, ID), longitude and latitude, altitude, horizontal direction angle or elevation angle, etc. ;
  • Relative position information such as the relative angle or relative distance of the second terminal relative to the first terminal, etc.
  • the accuracy information represents the accuracy information of the first result, and may include, for example, at least one of the following: result dimensional information, measurement accuracy, and error information; where the result dimensional information is, for example, angle, meter, centimeter, etc.; the measurement accuracy is, for example, high Precision, ultra-high precision, low precision; error information, including: error precision information and error dimension information. Error precision information such as high error, low error, ultra-low error; error dimension information such as angle, meter, centimeter, etc. .
  • the measurement result represents the measurement result of the second positioning reference signal, for example, signal strength, the value of a certain measurement quantity calculated based on the second positioning reference signal, etc.
  • Figure 3 is a flow diagram of the second terminal discovery method provided by an embodiment of the present application.
  • the second terminal can determine whether the first terminal and the second terminal can execute the first request based on the first request message.
  • a service the second terminal determines the first result); in this case, the first network side can send the first configuration information (including the configuration information of UE-1) to the first terminal (such as UE-1 in Figure 3). parameter and policy configuration), the second network side can send the second configuration information (including the parameter and policy configuration of UE-2 and the UE-3) to the second terminal (such as UE-2 and/or UE-3 in Figure 3).
  • the first terminal (such as UE-1 in Figure 3) can send a first request message (such as UE-2 and/or UE-3 in Figure 3) to the second terminal (such as UE-2 and/or UE-3 in Figure 3).
  • a first request message such as UE-2 and/or UE-3 in Figure 3
  • the second terminal may, after receiving the first request message, determine based on the first request message that it can perform the first service with the first terminal, and directly initiate the process of performing the first service;
  • Figure 4 is a flow chart of the third terminal discovery method provided by the embodiment of the present application.
  • the first terminal can determine whether the second terminal supports the first service (the first terminal and the first terminal).
  • the second terminal determines the first result), and the second terminal determines based on the first request message that both the first terminal and the second terminal support the first service; in this case, the first network side can provide the first terminal with (such as UE-1 in Figure 4) sends the first configuration information (including the parameters and policy configuration of UE-1), and the second network side can send the second terminal to the second terminal (such as UE-2 in Figure 4).
  • the first network side can provide the first terminal with (such as UE-1 in Figure 4) sends the first configuration information (including the parameters and policy configuration of UE-1), and the second network side can send the second terminal to the second terminal (such as UE-2 in Figure 4).
  • the first terminal (such as UE-1 in Figure 4) can send a first request message (such as UE-2 in Figure 4) to the second terminal (such as UE-2 in Figure 4) It may be a ranging and positioning request).
  • the second terminal may determine based on the first request message that the first service can be performed with the first terminal, and then send a first request message response, and the first terminal receives After responding to the first request message, it may be determined based on the first request message response that the second terminal also supports the first service.
  • the determination may be based on at least one of the following: a first request message, an application layer indication, a network side indication, or preconfiguration information.
  • the first network side device and the second network side device may be the same or different.
  • the method further includes:
  • the first terminal performs a first operation based on the first request response message, wherein the first operation includes at least one of the following:
  • the first terminal determines that the second terminal supports the first service based on the second indication information and the first indication information
  • the first terminal determines that the second terminal supports the first service based on the terminal identification of the first terminal in the first request response message and the terminal identification of the first terminal in the first request message;
  • the first terminal determines that the second terminal supports the first service based on the terminal identification of the second terminal in the first request response message and the terminal identification of the second terminal in the first request message;
  • the first terminal based on the second service information in the first request response message and the third The first service information in the request message determines that the second terminal supports the first service;
  • the first terminal determines that the second terminal supports the first service based on the reference signal information of the second terminal in the first request response message and the reference signal information of the first terminal in the first request message;
  • the first terminal determines that the second terminal supports the first service based on the algorithm information of the second terminal in the first request response message and the algorithm information of the first terminal in the first request message;
  • the first terminal determines that the second terminal supports the first service based on the measurement requirement information of the second terminal in the first request response message and the measurement requirement information of the first terminal in the first request message.
  • the first terminal determines that the second terminal supports the first service based on the second indication information and the first indication information, which may be: confirming the second indication information and the first indication information at the first terminal. If the indication information matches, it is determined that the second terminal supports the first service;
  • the first terminal determines that the second terminal supports the first service based on the terminal identification of the first terminal in the first request response message and the terminal identification of the first terminal in the first request message, It may be: when the first terminal confirms that the terminal identification of the first terminal in the first request response message matches the terminal identification of the first terminal in the first request message, then determine that the second terminal Support the first service;
  • the first terminal determines that the second terminal supports the first service based on the terminal identification of the second terminal in the first request response message and the terminal identification of the second terminal in the first request message, It may be: when the first terminal confirms that the terminal identification of the second terminal in the first request response message matches the terminal identification of the second terminal in the first request message, then determine that the second terminal Support the first service;
  • the first terminal determines that the second terminal supports the first service based on the second service information in the first request response message and the first service information in the first request message, which may be: When the first terminal confirms that the second service information in the first request response message matches the first service information in the first request message, it determines that the second terminal supports the first service;
  • the first terminal responds based on the reference information of the second terminal in the first request response message.
  • Number information and the reference signal information of the first terminal in the first request message, determining that the second terminal supports the first service may be: confirming that the second terminal in the first request response message If the reference signal information of the first terminal matches the reference signal information of the first terminal in the first request message, it is determined that the second terminal supports the first service; optionally, the first terminal responds based on the first request
  • the algorithm information of the second terminal in the message and the algorithm information of the first terminal in the first request message determine that the second terminal supports the first service, which may be: confirming the first request response at the first terminal If the algorithm information of the second terminal in the message matches the algorithm information of the first terminal in the first request message, it is determined that the second terminal supports the first service; optionally, the first terminal based on the The measurement requirement information of the second terminal in the first request response message and the measurement requirement information of the first terminal in the first request message are used to determine that the second terminal supports the first service, which
  • matching can be the same or similar, and similarity can mean that the corresponding values belong to the same interval or the indicated content has the same substantial meaning;
  • the first terminal when the first terminal confirms that the terminal identifier of the first terminal in the first request response message is the same as the terminal identifier of the first terminal in the first request message, it may be determined that the second terminal Support the first service;
  • the first terminal when the first terminal confirms that the terminal identifier of the second terminal in the first request response message is the same as the terminal identifier of the second terminal in the first request message, it may be determined that the second terminal The second terminal supports the first service;
  • the first terminal when the first terminal confirms that the second service information in the first request response message is the same as the first service information in the first request message, it may be determined that the second terminal supports the first service information.
  • the first terminal confirms that the reference signal information of the second terminal in the first request response message is the same as the reference signal information of the first terminal in the first request message, Then it can be determined that the second terminal supports the first service;
  • the first terminal when the first terminal confirms that the algorithm information of the second terminal in the first request response message is the same as the algorithm information of the first terminal in the first request message, it may be determined that the The second terminal supports the first service;
  • the first terminal when the first terminal confirms that the measurement requirement information of the second terminal in the first request response message is the same as the measurement requirement information of the first terminal in the first request message, then it may be It is determined that the second terminal supports the first service.
  • the first auxiliary information also includes at least one of the following:
  • the address information of the first terminal is the address information of the first terminal.
  • the second auxiliary information also includes at least one of the following:
  • the first auxiliary information also includes any one or more of the following (r1)-(r5):
  • the capability information of the first terminal indicates that the first terminal has the capability to support the first service; the capability information includes: the capability to support distance measurement and/or calculation; and the capability to support direction measurement and/or calculation. The ability; the ability to support high-precision distance measurement and/or calculation; the ability to support high-precision direction measurement and/or calculation; the ability to support computing first service;
  • the absolute position information of the first terminal such as TA, registration area RA, cell ID, longitude and latitude, altitude, horizontal direction (horizontal direction), elevation direction (elevation direction);
  • Relative position information of the first terminal such as the relative angle (including horizontal direction angle, elevation angle) and relative distance of the first terminal relative to the auxiliary node;
  • the auxiliary node is a communication device other than the first terminal and the second terminal;
  • a third terminal other than the first terminal and the second terminal or a public infrastructure such as a Road Side Unit; or a common reference system in which the first terminal and the second terminal know the absolute position information , for example, street lights.
  • the ipv4 address of the first terminal For example, the ipv4 address of the first terminal, the ipv6 address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, etc.;
  • the encryption key of the first terminal and/or the security parameters of the first terminal For example, the encryption key of the first terminal and/or the security parameters of the first terminal;
  • the measurement information of the first terminal represents the observation result of a specific reference signal, for example, signal strength, the value of a certain measurement quantity calculated based on the measurement signal, etc.
  • the second auxiliary information also includes any one or more of the following (s1)-(s5):
  • the capability information of the second terminal indicates that the second terminal has the capability to support the first service; the capability information includes: the capability to support distance measurement and/or calculation; and the capability to support direction measurement and/or calculation. The ability; the ability to support high-precision distance measurement and/or calculation; the ability to support high-precision direction measurement and/or calculation; the ability to support computing first service;
  • the absolute position information of the second terminal such as TA, registration area RA, cell ID, longitude and latitude, altitude, horizontal direction (horizontal direction), elevation direction (elevation direction);
  • Relative position information of the second terminal such as the relative angle (including horizontal direction angle, elevation angle) and relative distance of the second terminal relative to the auxiliary node;
  • the auxiliary node is a communication device other than the first terminal and the second terminal;
  • a third terminal other than the first terminal and the second terminal or a public infrastructure such as a Road Side Unit; or a common reference system in which the first terminal and the second terminal know the absolute position information , for example, street lights.
  • the ipv4 address of the second terminal For example, the ipv4 address of the second terminal, the ipv6 address of the second terminal, the port number of the second terminal, the fully qualified domain name (Fully Qualified Domain Name, FQDN) of the second terminal, etc.;
  • the encryption key of the second terminal and/or the security parameters of the second terminal For example, the encryption key of the second terminal and/or the security parameters of the second terminal;
  • the measurement information of the second terminal represents the observation result of a specific reference signal, for example, signal strength, the value of a certain measurement quantity calculated based on the measurement signal, etc.
  • the first configuration information includes at least one of the following:
  • First authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is provided with services by the wireless access network;
  • the first authorization list of the first terminal is used to indicate the A list of PLMNs discovered when the first terminal is served by the radio access network;
  • Second authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is not provided with services by the radio access network;
  • the first service information is used to indicate the service information requested by the first terminal;
  • the terminal identification of the first terminal which terminal identification includes at least one of the following: identity identification, device identification, and logical identification;
  • Security information of the first terminal the security information representing security parameters related to the first service
  • Algorithm information of the first terminal the algorithm information being used to indicate the algorithm that needs to be used to use the first service
  • Reference signal information of the first terminal is used to indicate the reference signal that needs to be used to use the first service
  • First authorization indication information the first authorization indication information is used to authorize the first terminal to send the reference signal
  • Second authorization indication information the second authorization indication information is used to authorize the first terminal to determine the reference signal result.
  • the first network side device may configure parameters or policies related to the first service (which may be referred to as first configuration information) for the first terminal in advance;
  • the first configuration information may include any one or more of the following (t1) to (t12):
  • the validity time represents the validity time of the first configuration information
  • the first configuration information becomes invalid.
  • First authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is provided with services by the wireless access network;
  • the first authorization information of the first terminal may be whether it is authorized to use the discovery service related to the first service when the service is provided by the radio access network RAN (served by RAN); whether it is authorized to use the first service.
  • a service-related discovery service for example, it may include any of the following (t21)-(t22):
  • the first terminal is authorized to use model B to use the discovery service related to the first service, where model B indicates the discovery method in which the second terminal will send the first request response message based on the first request message;
  • the first terminal is authorized to use model A to use the discovery service related to the first service, where model A represents the discovery method in which the second terminal does not send the first request response message;
  • the first authorization list of the first terminal, the first authorization list of the first terminal is used to indicate the PLMN list to be discovered when the first terminal is provided with services by the radio access network;
  • the first authorization list of the first terminal may be a list of PLMNs authorized to use the first service when the service is provided by the RAN; the list of PLMNs authorized to use the first service includes the following (t31)-(t34) At least one of:
  • Second authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is not provided with services by the radio access network;
  • the second authorization information of the first terminal may be whether it is authorized to use the discovery service related to the first service when the service is not provided by the wireless access network; whether it is authorized to use the discovery service related to the first service.
  • Services for example, it can include at least one of the following (t41)-(t42):
  • the first terminal is authorized to use model A to use the discovery service related to the first service;
  • the first terminal is authorized to use model B to use the discovery service related to the first service;
  • the first service information is used to indicate the service information requested by the first terminal;
  • the terminal identification of the first terminal which includes at least one of the following: the identity identification of the first terminal, the device identification of the first terminal, or the logical identification of the first terminal, for example, the first terminal Subscription Concealed Identifier (SUCI), the first terminal's Globally Unique Temporary Identifier (GUTI), the first terminal's International Mobile Subscriber Identity (IMSI), the first terminal's International Mobile Subscriber Identity (IMSI), The permanent equipment identifier (Permanent Equipment Identifier, PEI) of the first terminal, the first terminal’s International Mobile Equipment Identity number (IMEI), the first terminal’s subscription permanent identifier (Subscription Permanent Identifier, SUPI), the first terminal’s Temporary Mobile Subscription Identifier (TMSI), the first terminal’s General Public Subscription Identifier (GPSI), the first terminal’s 5G S-Temporary Mobile Subscription Identifier (5G S-Temporary Mobile Subscription Identifier, any one or more of 5G-S-TMSI);
  • SUCI Sub
  • the encryption key of the first terminal and/or the security parameters of the first terminal For example, the encryption key of the first terminal and/or the security parameters of the first terminal;
  • the algorithm information of the first terminal is the algorithm information used by the first terminal to execute the first service.
  • the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.; it should be pointed out that Yes, the algorithm information can sometimes also be called method information.
  • (t9) Reference signal information of the first terminal, the reference signal information is used to indicate the reference signal that needs to be used to use the first service;
  • the reference signal information of the first terminal may represent the information of the reference signal used by the first terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the first terminal includes measurement accuracy and/or QoS information
  • First authorization indication information the first authorization indication information is used to authorize the first terminal to send the reference signal
  • Second authorization indication information the second authorization indication information is used to authorize the first terminal to determine the reference signal result.
  • the method also includes:
  • the first terminal determines a reference signal sending method based on the first authorization indication information.
  • the first terminal may determine, based on the first authorization indication information, that the reference signal sending method is any one or more of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals
  • the event triggers the sending of a reference signal.
  • the method also includes:
  • the first terminal determines a result determination method based on the second authorization indication information.
  • the first terminal may determine the result determination method based on the second authorization indication information to be any one or more of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result.
  • the method further includes:
  • the first terminal sends a second request message, and the second request message is used to request to establish a PC5 connection with the second terminal.
  • the first terminal may send a second request message, where the second request message is used to request to establish a PC5 connection with the second terminal.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • Figure 5 is the fourth schematic flowchart of the terminal discovery method provided by the embodiment of the present application, including:
  • Step 500 The second terminal obtains second configuration information related to the first service
  • Step 510 The second terminal receives the first request message sent by the first terminal
  • the first request message is used to discover a second terminal that supports the first service, and the The first service is terminal discovery related services.
  • the first service may be that the first terminal wishes to obtain relative information (such as relative position) between the first terminal and other terminals, or it may be absolute information (such as geographical location, velocity); or it may be that the first terminal wishes to obtain Relative information and absolute information between the first terminal and a certain network device (other network elements, which can be understood as network side equipment, base station, RSU, etc.).
  • relative information such as relative position
  • absolute information such as geographical location, velocity
  • Relative information and absolute information between the first terminal and a certain network device other network elements, which can be understood as network side equipment, base station, RSU, etc.
  • the second terminal can obtain second configuration information related to the first service, and the second configuration information is used to configure the second terminal with information that the second terminal needs to use when executing the first service;
  • the first terminal when it needs to discover a second terminal that supports the first service, it can send a first request message to the second terminal; after receiving the first request message, the second terminal can learn the first If the terminal needs to discover a terminal that supports the first service, then the terminal that supports the first service can discover another terminal that supports the first service;
  • the second network side does not need to send the second configuration information to the second terminal every time the first service is executed.
  • the timing at which the second network side sends the second configuration information to the second terminal is not limited in this embodiment of the present application.
  • the second network side when the second terminal registers on the second network side, the second network side sends the second configuration information to the second terminal.
  • the second terminal may request to obtain or update the second configuration information at any time.
  • the second configuration information is configured in the second terminal in a preconfiguration manner.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services. Endpoints that need to be discovered to support ranging and/or bypass positioning services When the terminal transmits the first request message, the terminal that supports ranging and/or bypass positioning services can find another terminal that supports ranging and/or bypass positioning services to obtain ranging and/or bypass positioning services. .
  • the method further includes:
  • the second terminal sends a third request message, and the third request message is used to request to establish a PC5 connection with the first terminal.
  • the second terminal may send a third request message, where the third request message is used to request to establish a PC5 connection with the first terminal.
  • the first request message includes at least one of the following:
  • the first indication information is used to indicate that the first request message is used for the first service
  • the third indication information is used to instruct the second terminal to send second auxiliary information, and the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service;
  • a first message type is used to indicate the message type of the first request message
  • the terminal identification of the first terminal includes at least one of the following: identity identification, device identification, and logical identification;
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the first service information is used to indicate the service information requested by the first terminal;
  • the first auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request message may include any one or more of the following (a)-(i):
  • First indication information the first indication information is used to indicate that the first request message is used for the first service
  • the length of the first indication information may be 1 bit, wherein bit 0 indicates that the first indication information indicates that the first request message is not used for the first service; bit 1 indicates that the first indication The information indicates that the first request message is for the first service;
  • the third indication information is used to instruct the second terminal to send second auxiliary information, and the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service;
  • the first terminal sends the third instruction information through the first request message to instruct the second terminal to send the second auxiliary information.
  • the second terminal can send the third instruction information to the first terminal.
  • the second auxiliary information for example, can be sent to the first terminal through the first request response message.
  • the first terminal can determine whether the second terminal supports the first service based on the second auxiliary information;
  • the message types of different messages may include: a first service discovery request message; a first service discovery request response message;
  • the message type of the first message type used for the immediate message is a first service discovery request message
  • the terminal identification of the first terminal which includes at least one of the following: the identity identification of the first terminal, the device identification of the first terminal, or the logical identification of the first terminal;
  • the logical identifier refers to a logical identifier assigned by the network or application server that can uniquely identify a terminal, such as: a specific string combination, a layer-2 ID, a terminal identifier related to business information, etc. , application layer management and/or application layer assigned terminal identification.
  • the terminal identification of the second terminal which includes at least one of the following: the identity identification of the second terminal, the device identification of the second terminal, or the logical identification of the second terminal;
  • First service information the first service information is used to indicate the service information requested by the first terminal;
  • the first auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request message may be a PROSE PC5DISCOVERY message in the existing mechanism
  • the first request message may be a RANGING PC5 DISCOVERY message, that is, a new message that is different from existing messages.
  • the first auxiliary information includes at least one of the following: reference signal information of the first terminal, algorithm information of the first terminal, or measurement requirement information of the first terminal.
  • the first auxiliary information may include reference signal information of the first terminal
  • the first auxiliary information may include algorithm information of the first terminal
  • the first auxiliary information may include measurement requirement information of the first terminal
  • the first auxiliary information may include reference signal information of the first terminal and algorithm information of the first terminal;
  • the first auxiliary information may include reference signal information of the first terminal and measurement requirement information of the first terminal;
  • the first auxiliary information may include algorithm information of the first terminal and measurement requirement information of the first terminal;
  • the first auxiliary information includes one item or multiple items
  • the first terminal or the second terminal implements discovery of a terminal that supports the first service based on the first auxiliary information
  • all the items included in the first auxiliary information may be used. item or part of an item.
  • the algorithm information of the first terminal is the algorithm information used by the second terminal to execute the first service, and the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.;
  • the reference signal information of the first terminal may represent the information of the reference signal used by the first terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the first terminal includes measurement accuracy and/or QoS information
  • the first service information includes at least one of the following: a service code corresponding to the first terminal, a service identifier corresponding to the first terminal, or a service type corresponding to the first terminal.
  • the first service information may include at least one of the following:
  • the service code corresponding to the first terminal is used for at least one of the following: identifying that the first terminal needs to use the first service, identifying that the first terminal is authorized to use the first service, or verifying that other terminals are authorized to use it.
  • First service identifying that the first terminal needs to use the first service, identifying that the first terminal is authorized to use the first service, or verifying that other terminals are authorized to use it.
  • the service identifier corresponding to the first terminal the service identifier indicating that the identified service is authorized to use the first service
  • the service type corresponding to the first terminal is the service type corresponding to the first terminal.
  • the first request message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request message.
  • the first terminal may send the address information of the first terminal to the second terminal;
  • the first terminal may send the address information of the second terminal to the second terminal;
  • the first terminal may send the address information of the first terminal and the address information of the second terminal to the second terminal;
  • the address information of the first terminal may be included in the first request message, or may be sent outside the first request message and along with the first request message;
  • the address information of the second terminal may be included in the first request message, or may be sent outside and accompanying the first request message;
  • the address information of the first terminal and the address information of the second terminal may be included in the first request message, or may be sent outside of the first request message and accompanied by the first request message;
  • the second terminal may directly initiate execution.
  • the first terminal sends the first request message to the second terminal and the second terminal starts the first service-related process
  • the first terminal can directly enter the process of executing the first service-related process with the second terminal.
  • the second configuration information includes at least one of the following:
  • First authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is provided with services by the wireless access network;
  • the first authorization list of the second terminal is used to indicate the PLMN list to be discovered when the second terminal is provided with services by the radio access network;
  • Second authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is not provided with services by the wireless access network;
  • the second service information is used to indicate the service information requested by the second terminal;
  • the terminal identification of the second terminal includes at least one of the following: a user identification, a device identification, or a logical identification;
  • Security information of the second terminal the security information representing security parameters related to the first service
  • Algorithm information of the second terminal the algorithm information is used to indicate the algorithm required to use the first service.
  • Reference signal information of the second terminal is used to indicate the reference signal that needs to be used to use the first service
  • Third authorization indication information the third authorization indication information is used to authorize the second terminal to send the reference signal.
  • Fourth authorization indication information the fourth authorization indication information is used to authorize the second terminal to determine the reference signal result.
  • the second network side device may configure parameters or policies related to the first service (which may be referred to as second configuration information) for the second terminal in advance;
  • the second configuration information may include any one or more of the following (u1)-(u12):
  • the validity time represents the validity time of the second configuration information
  • the second configuration information becomes invalid.
  • First authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is provided with services by the wireless access network;
  • the first authorization information of the second terminal may be whether it is authorized to use the discovery service related to the first service when the service is provided by the radio access network RAN (served by RAN); whether it is authorized to use the first service.
  • a service-related discovery service for example, it can include any of the following (u21)-(u22):
  • the second terminal is authorized to use model B to use the discovery service related to the first service, where model B represents the discovery method in which the second terminal will send the first request response message based on the first request message;
  • the second terminal is authorized to use model A to use the discovery service related to the first service, where model A indicates that the second terminal determines the discovery method of both the first terminal and the second terminal based on the first request message;
  • the first authorization list of the second terminal, the first authorization list of the second terminal is used to indicate the PLMN list to be discovered when the second terminal is provided with services by the radio access network;
  • the first authorization list of the second terminal may be a list of PLMNs authorized to use the first service when the service is provided by the RAN; the list of PLMNs authorized to use the first service includes the following (u31)-(u34) At least one of:
  • Second authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is not provided with services by the wireless access network;
  • the second authorization information of the second terminal may be whether it is authorized to use the discovery service related to the first service when the service is not provided by the wireless access network; whether it is authorized to use the discovery service related to the first service.
  • Services for example, it can include at least one of the following (u41)-(u42):
  • Second service information is used to indicate the service information requested by the second terminal
  • the terminal identification of the second terminal which includes at least one of the following: the identity identification of the second terminal, the device identification of the second terminal, or the logical identification of the second terminal, For example, the SUCI of the second terminal, the GUTI of the second terminal, the IMSI of the second terminal, the PEI of the second terminal, the IMEI of the second terminal, the SUPI of the second terminal, the TMSI of the second terminal, the GPSI of the second terminal, Any one or more of the 5G-S-TMSI of the second terminal;
  • the encryption key of the second terminal and/or the security parameters of the first terminal For example, the encryption key of the second terminal and/or the security parameters of the first terminal;
  • Algorithm information of the second terminal is used to indicate the algorithm that needs to be used to use the first service
  • the algorithm information of the second terminal is the algorithm information used by the second terminal to execute the first service, and the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.;
  • Reference signal information of the second terminal is used to indicate the reference signal required to use the first service
  • the reference signal information of the second terminal may represent the information of the reference signal used by the second terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the second terminal includes measurement accuracy and/or QoS information
  • Third authorization indication information the third authorization indication information is used to authorize the second terminal to send the reference signal
  • Fourth authorization indication information is used to authorize the second terminal to determine the reference signal result.
  • the method also includes:
  • the second terminal determines a reference signal sending method based on the third authorization indication information.
  • the second terminal may determine that the reference signal sending method is any one or more of the following based on the third authorization indication information:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals
  • the event triggers the sending of a reference signal.
  • the method also includes:
  • the second terminal determines a result determination method based on the fourth authorization indication information.
  • the second terminal determines the result based on the fourth authorization indication information in a manner that includes at least one of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result.
  • the reference signal sending method and the result determination method have an associated relationship. For example, the first terminal sets the reference signal sending mode in the first request message to "the first terminal sends a reference signal", then after the second terminal receives the first request message, the second terminal The second terminal can infer that the "result determination method" of the first service is "the second terminal determines the first result”.
  • the method also includes:
  • the second terminal performs a second operation based on the first request message; the second operation includes at least one of the following:
  • the second terminal determines that the second terminal provides the first service based on the second service information in the second configuration information and the first service information in the first request message;
  • the second terminal determines that the second terminal provides the first terminal based on the reference signal information of the second terminal in the second configuration information and the reference signal information of the first terminal in the first request message.
  • the second terminal determines that the second terminal provides the first service based on the algorithm information of the second terminal in the second configuration information and the algorithm information of the first terminal in the first request message;
  • the second terminal determines that the second terminal provides the first terminal based on the measurement requirement information of the second terminal in the second configuration information and the measurement requirement information of the first terminal in the first request message.
  • the second terminal determines that the second terminal provides the first service based on the third authorization indication information in the second configuration information and the reference signal sending method in the first request message;
  • the second terminal determines that the second terminal provides the first service based on the fourth authorization indication information in the second configuration information and the result determination method in the first request message.
  • the second terminal can determine whether the first terminal and the second terminal can perform the first service based on the first request message; in this case, the second terminal can, after receiving the first request message, based on the first request message. If the request message determines that the first service can be performed with the first terminal, the process of performing the first service can be directly initiated;
  • the second terminal may perform a second operation based on the first request message; the second operation includes at least one of the following:
  • the second terminal determines that the second terminal provides the first service based on the second service information in the second configuration information and the first service information in the first request message;
  • the second terminal determines that the second terminal provides the first terminal based on the reference signal information of the second terminal in the second configuration information and the reference signal information of the first terminal in the first request message.
  • the second terminal is based on the algorithm information of the second terminal in the second configuration information, and the The algorithm information of the first terminal in the first request message determines that the second terminal provides the first service;
  • the second terminal determines that the second terminal provides the first terminal based on the measurement requirement information of the second terminal in the second configuration information and the measurement requirement information of the first terminal in the first request message.
  • the second terminal determines that the second terminal provides the first service based on the third authorization indication information in the second configuration information and the reference signal sending method in the first request message;
  • the second terminal determines that the second terminal provides the first service based on the fourth authorization indication information in the second configuration information and the result determination method in the first request message.
  • the second terminal determines that the first terminal and the second terminal can perform the first service based on the second service information in the second configuration information and the first service information in the first request message. , may be: the second terminal determines that the second service information in the second configuration information matches the first service information in the first request message, and then determines that the first terminal and the second terminal can execute First service;
  • the second terminal determines the first terminal and the first terminal based on the reference signal information of the second terminal in the second configuration information and the reference signal information of the first terminal in the first request message.
  • the second terminal may perform the first service, which may be: the second terminal determines that the reference signal information of the second terminal in the second configuration information matches the reference signal information of the first terminal in the first request message, then Determine that the first terminal and the second terminal can perform the first service;
  • the second terminal determines the first terminal and the second terminal based on the algorithm information of the second terminal in the second configuration information and the algorithm information of the first terminal in the first request message.
  • the terminal may perform the first service, which may be: the second terminal determines that the algorithm information of the second terminal in the second configuration information matches the algorithm information of the first terminal in the first request message, and then determines that the first A terminal and a second terminal can execute the first service;
  • the second terminal determines the first terminal and the first terminal based on the measurement requirement information of the second terminal in the second configuration information and the measurement requirement information of the first terminal in the first request message.
  • the second terminal may execute the first service, which may be: the second terminal determines that in the second configuration information If the measurement requirement information of the second terminal matches the measurement requirement information of the first terminal in the first request message, it is determined that the first terminal and the second terminal can perform the first service;
  • the second terminal determines that the first terminal and the second terminal can perform the first service based on the third authorization indication information in the second configuration information and the reference signal sending method in the first request message, It may be: the second terminal determines that the third authorization indication information in the second configuration information matches the reference signal sending mode in the first request message, and then determines that the first terminal and the second terminal can perform the first service;
  • the second terminal determines that the first terminal and the second terminal can perform the first service based on the fourth authorization indication information in the second configuration information and the result determination method in the first request message. Yes: the second terminal determines that the fourth authorization indication information in the second configuration information matches the result determination method in the first request message, and then determines that the first terminal and the second terminal can perform the first service;
  • matching can be identical or similar, and similarity can mean that the corresponding values belong to the same interval or that the indicated content has the same substantial meaning.
  • the method also includes:
  • the second terminal sends a first request response message to the first terminal; the first request response message is used to represent that the second terminal receives the first request message from the first terminal.
  • the first terminal may determine whether the second terminal supports the first service; in this case, the first terminal may determine whether the second terminal supports the first service based on the first request response message sent by the second terminal, where In this case, after receiving the first request message, the second terminal only needs to determine that the message type of the first request message is the first service discovery request message and directly send the first request message response;
  • the first terminal may determine whether the second terminal supports the first service, and the second terminal may determine based on the first request message that the first terminal and the second terminal can perform the first service; in this case, the second terminal After receiving the first request message, the terminal may determine based on the first request message that the first terminal and the second terminal can perform the first service, and then send the first request message response. After the first terminal receives the first request message response, It may be determined based on the first request message response that the second terminal also supports the first service.
  • the determination may be based on at least one of the following: a first request message, an application layer indication, a network side indication, or preconfiguration information.
  • the second terminal sends a first request response message to the first terminal, including:
  • the second terminal sends second auxiliary information based on the third indication information; the second auxiliary information is in the first request response message.
  • the second terminal may send the second auxiliary information based on the third indication information
  • the second auxiliary information may be an item in the first request response message.
  • the first request response message includes at least one of the following:
  • a second message type used to indicate the message type of the first request response message
  • the second service information is used to indicate the service information provided by the second terminal;
  • the terminal identification of the first terminal is the terminal identification of the first terminal
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the second auxiliary information of the second terminal is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request response message may include any one or more of the following (j)-(q):
  • (k) A second message type, the second message type is used to indicate the message type of the first request response message
  • the message types of different messages may include: first service discovery request Message; first service discovery request response message;
  • the second message type is used to directly indicate that the message type is a first service discovery request response message
  • Second service information the second service information is used to indicate the service information provided by the second terminal;
  • the terminal identification of the first terminal includes at least one of the following: the identity identification of the first terminal, the device identification of the first terminal, or the logical identification of the first terminal;
  • the terminal identification of the second terminal includes at least one of the following: the identity identification of the second terminal, the device identification of the second terminal, or the logical identification of the second terminal;
  • Second auxiliary information the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request response message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request response message.
  • the second terminal may send the address information of the first terminal to the first terminal;
  • the second terminal may send the address information of the second terminal to the first terminal;
  • the second terminal may send the first terminal's address information and the second terminal's address information to the first terminal. address information;
  • the address information of the first terminal may be included in the first request response message, or may be sent outside the first request response message and along with the first request response message;
  • the address information of the second terminal may be included in the first request response message, or may be sent outside the first request response message and along with the first request response message;
  • the address information of the first terminal and the address information of the second terminal may be included in the first request response message, or may be sent outside the first request response message and along with the first request response message;
  • the second service information includes at least one of the following: a service code corresponding to the second terminal, a service identifier corresponding to the second terminal, or a service type corresponding to the second terminal.
  • the second service information may include at least one of the following:
  • the service code corresponding to the second terminal is used for at least one of the following: identifying that the second terminal needs to use the first service, identifying that the second terminal is authorized to use the first service, or verifying that other terminals are authorized to use the first service.
  • First service identifying that the second terminal needs to use the first service, identifying that the second terminal is authorized to use the first service, or verifying that other terminals are authorized to use the first service.
  • the service identifier corresponding to the second terminal the service identifier indicating that the identified service is authorized to use the first service
  • the first request response message includes the second service information. It can also be understood that the second terminal can provide the first service related to the second service information. For example, when the second service information is a service identifier, it can be understood that the second terminal can provide the first service related to the service identified by the service identifier.
  • the second auxiliary information includes at least one of the following: reference signal information of the second terminal, algorithm information of the second terminal, or measurement requirement information of the second terminal.
  • the second auxiliary information may include reference signal information of the second terminal
  • the second auxiliary information may include algorithm information of the second terminal
  • the second auxiliary information may include measurement requirement information of the second terminal
  • the second auxiliary information may include reference signal information of the second terminal and the third Algorithm information of the second terminal;
  • the second auxiliary information may include reference signal information of the second terminal and measurement requirement information of the second terminal;
  • the second auxiliary information may include algorithm information of the second terminal and measurement requirement information of the second terminal;
  • the second auxiliary information includes one item or multiple items
  • all the items included in the second auxiliary information may be used. item or part of an item.
  • the algorithm information of the second terminal is the algorithm information used by the second terminal to execute the first service, and the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.;
  • the reference signal information of the second terminal may represent the information of the reference signal used by the second terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the second terminal includes measurement accuracy and/or QoS information.
  • the reference signal sending method includes at least one of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals
  • the event triggers the sending of a reference signal.
  • the reference signal sending method includes any one or more of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals;
  • the event triggers the sending of a reference signal.
  • the result determination method includes at least one of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result
  • the result determination method includes any one or more of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result.
  • the reference signal sending method and the result determination method have an associated relationship. For example, the first terminal sets the reference signal sending mode in the first request message to "the first terminal sends a reference signal", then after the second terminal receives the first request message, the second terminal The second terminal can infer that the "result determination method" of the first service is "the second terminal determines the first result”.
  • the first result may be a result obtained by performing the first service, such as the distance between two or more UEs and/or the distance between one UE (ie, the target UE) and another UE (ie, the reference UE). direction and/or relative positioning; optionally, the first result may be a result obtained by the first terminal corresponding to the first service related to the second terminal, and the first result may include at least one of the following:
  • Absolute position information of the second terminal relative position information of the second terminal and the first terminal, accuracy information, or measurement results of the second positioning reference signal.
  • the absolute location information of the second terminal such as TA, registration area RA, cell ID, longitude and latitude, altitude, horizontal direction angle or elevation angle, etc.;
  • Relative position information such as the relative angle or relative distance of the second terminal relative to the first terminal, etc.
  • the accuracy information represents the accuracy information of the first result, and may include, for example, at least one of the following: result dimensional information, measurement accuracy, and error information; where the result dimensional information is, for example, angle, meter, centimeter, etc.; the measurement accuracy is, for example, high Accuracy, ultra-high accuracy, low accuracy; error information, including: error Accuracy information and error dimension information, error precision information such as high error, low error, ultra-low error; error dimension information such as angle, meter, centimeter, etc.
  • the measurement result represents the measurement result of the second positioning reference signal, for example, signal strength, the value of a certain measurement quantity calculated based on the second positioning reference signal, etc.
  • the second terminal sends a first request response message to the first terminal, including:
  • the second terminal sends a first request response message to the first terminal based on first information, where the first information includes at least one of the following:
  • the first request message application layer indication information; network side indication information; or preconfiguration information.
  • the second terminal may determine based on the first request message that the first terminal supports the first service, and determine that the second terminal also supports the first service, and then send the first request message in response, After receiving the first request message response, the first terminal may determine based on the first request message response that the second terminal also supports the first service.
  • the determination may be based on at least one of the following: the first request message, application layer indication information, network side indication information, or preconfiguration information. .
  • the second terminal sends a first request response message to the first terminal based on the first information, including at least one of the following:
  • the second terminal sends a first request response message to the first terminal based on the reference signal transmission method in the first request message and the reference signal transmission method included in the application layer indication information;
  • the second terminal sends a first request response message to the first terminal based on the result determination method in the first request message and the result determination method included in the application layer indication information;
  • the second terminal sends a first request response message to the first terminal based on the first service information in the first request message and the service information included in the application layer indication information;
  • the second terminal sends a first request response message to the first terminal based on the first terminal identification in the first request message and the terminal identification included in the application layer indication information.
  • the application layer indication information may include at least one of the following:
  • the second terminal sends a first request response message to the first terminal based on the reference signal sending mode in the first request message and the reference signal sending mode included in the application layer indication information.
  • the second terminal sends a first request response to the first terminal based on the result determination method in the first request message and the result determination method included in the application layer indication information.
  • the message may be: the second terminal can determine that the result determination method in the first request message matches the result determination method included in the application layer indication information, and then sends a first request response message to the first terminal.
  • the second terminal sends a first request response to the first terminal based on the first service information in the first request message and the service information included in the application layer indication information.
  • the message may be: the second terminal determines that the first service information in the first request message matches the service information included in the application layer indication information, and then sends a first request response to the first terminal. information;
  • the second terminal sends a first request response to the first terminal based on the first terminal identification in the first request message and the terminal identification included in the application layer indication information.
  • the message may be: the second terminal determines that the first terminal identification in the first request message matches the terminal identification included in the application layer indication information, and sends a first request response message to the first terminal;
  • matching can be the same or similar, and similarity can mean that the corresponding values belong to the same interval or the indicated content has the same substantial meaning;
  • the second terminal sends a first request response message to the first terminal based on the first information, including at least one of the following:
  • the second terminal sends a first request response message to the first terminal based on the reference signal transmission method in the first request message and the reference signal transmission method included in the preconfiguration information;
  • the second terminal sends a first request response message to the first terminal based on the result determination method in the first request message and the result determination method included in the preconfiguration information;
  • the second terminal sends a first request response message to the first terminal based on the terminal identification of the first terminal in the first request message and the terminal identification of the first terminal included in the preconfiguration information. ;
  • the second terminal sends a first request response message to the first terminal based on the first service information in the first request message and the service information included in the preconfiguration information;
  • the second terminal sends a first request response message to the first terminal based on the address information of the second terminal in the first request message and the address information of the second terminal included in the preconfiguration information;
  • the second terminal sends a first request response message to the first terminal based on the terminal identification of the second terminal in the first request message and the terminal identification of the second terminal included in the preconfiguration information. .
  • the second terminal sends a first request response message to the first terminal based on the reference signal sending mode in the first request message and the reference signal sending mode included in the preconfiguration information, which may be ,
  • the second terminal sends a first request response message to the first terminal based on the result determination method in the first request message and the result determination method included in the preconfiguration information, which may be: If the second terminal determines that the result determination method in the first request message matches the result determination method included in the preconfiguration information, it sends a first request response to the first terminal. response message;
  • the second terminal sends a first request response message to the first terminal based on the terminal identification of the first terminal in the first request message and the terminal identification of the first terminal included in the preconfiguration information. , it may be that the second terminal determines that the terminal identifier of the first terminal in the first request message matches the terminal identifier of the first terminal included in the preconfiguration information, and then sends the message to the first terminal.
  • First request response message
  • the second terminal sends a first request response message to the first terminal based on the first service information in the first request message and the service information included in the preconfiguration information, which may be: The second terminal determines that the first service information in the first request message matches the service information included in the preconfiguration information, and then sends a first request response message to the first terminal;
  • the second terminal sends a first request response message to the first terminal based on the address information of the second terminal in the first request message and the address information of the second terminal included in the preconfiguration information, It may be that the second terminal determines that the address information of the second terminal in the first request message matches the address information of the second terminal included in the preconfiguration information, and then sends the first terminal to the first terminal.
  • Request response message ;
  • the second terminal sends a first request response message to the first terminal based on the terminal identification of the second terminal in the first request message and the terminal identification of the second terminal included in the preconfiguration information. , it may be that the second terminal determines that the terminal identifier of the second terminal in the first request message matches the terminal identifier of the second terminal included in the preconfiguration information, and then sends the message to the first terminal. First request response message.
  • the preconfiguration information may include at least one of the following:
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • Figure 6 is a schematic flow chart of the terminal discovery method provided by the embodiment of the present application. As shown in Figure 6, the method includes the following steps:
  • Step 600 The first network sends first configuration information to the first terminal; the first configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • the first network side device may configure parameters or policies related to the first service (which may be referred to as first configuration information) for the first terminal in advance.
  • the first network side does not need to send the first configuration information to the first terminal every time the first service is executed.
  • the timing at which the first network side sends the first configuration information to the first terminal is not limited in the embodiments of this application.
  • the first network side when the first terminal registers with the first network side, the first network side sends the first configuration information to the first terminal.
  • the first terminal may request to obtain or update the first configuration information at any time.
  • the first configuration information is configured in the first terminal in a preconfiguration manner.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the first configuration information includes at least one of the following:
  • First authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is provided with services by the wireless access network;
  • a first authorization list of the first terminal is used to indicate a list of PLMNs to be discovered when the first terminal is served by a radio access network;
  • Second authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is not provided with services by the radio access network;
  • the first service information is used to indicate the service information requested by the first terminal;
  • the terminal identification of the first terminal which terminal identification includes at least one of the following: identity identification, device identification, and logical identification;
  • Security information of the first terminal the security information representing security parameters related to the first service
  • Algorithm information of the first terminal the algorithm information is used to indicate the algorithm required to use the first service.
  • Reference signal information of the first terminal is used to indicate the reference signal that needs to be used to use the first service
  • First authorization indication information the first authorization indication information is used to authorize the first terminal to send the reference signal
  • Second authorization indication information the second authorization indication information is used to authorize the first terminal to determine the reference signal result.
  • the first configuration information may include any one or more of the following (t1) to (t12):
  • the validity time represents the validity time of the first configuration information
  • the first configuration information becomes invalid.
  • First authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is provided with services by the wireless access network;
  • the first authorization information of the first terminal may be whether it is authorized to use the discovery service related to the first service when the service is provided by the radio access network RAN (served by RAN); whether it is authorized to use the first service.
  • a service-related discovery service for example, it may include any of the following (t21)-(t22):
  • the first terminal is authorized to use model B to use the discovery service related to the first service.
  • Service where model B represents the discovery method in which the second terminal sends the first request response message based on the first request message;
  • the first terminal is authorized to use model A to use the discovery service related to the first service, where model A indicates that the second terminal determines the discovery method of both the first terminal and the second terminal based on the first request message;
  • the first authorization list of the first terminal, the first authorization list of the first terminal is used to indicate the PLMN list to be discovered when the first terminal is provided with services by the radio access network;
  • the first authorization list may be a list of PLMNs authorized to use the first service when the service is provided by the RAN; the list of PLMNs authorized to use the first service includes at least one of the following (t31)-(t34) item:
  • Second authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is not provided with services by the radio access network;
  • the second authorization information of the first terminal may be whether it is authorized to use the discovery service related to the first service when the service is not provided by the wireless access network; whether it is authorized to use the discovery service related to the first service.
  • Services for example, it can include at least one of the following (t41)-(t42):
  • the first service information is used to indicate the service information requested by the first terminal;
  • the terminal identification of the first terminal which includes at least one of the following: the identity identification of the first terminal, the device identification of the first terminal, or the logical identification of the first terminal, for example, the first terminal SUCI, GUTI of the first terminal, IMSI of the first terminal, PEI of the first terminal, IMEI of the first terminal, SUPI of the first terminal, TMSI of the first terminal, GPSI of the first terminal, 5G of the first terminal -Any one or more of S-TMSI;
  • the encryption key of the first terminal and/or the security parameters of the first terminal For example, the encryption key of the first terminal and/or the security parameters of the first terminal;
  • the algorithm information of the first terminal is the algorithm information used by the first terminal to execute the first service.
  • the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.; it should be pointed out that Yes, the algorithm information can sometimes also be called method information.
  • (t9) Reference signal information of the first terminal, the reference signal information is used to indicate the reference signal that needs to be used to use the first service;
  • the reference signal information of the first terminal may represent the information of the reference signal used by the first terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the first terminal includes measurement accuracy and/or QoS information
  • First authorization indication information the first authorization indication information is used to authorize the first terminal to send the reference signal
  • Second authorization indication information the second authorization indication information is used to authorize the first terminal to determine the reference signal result.
  • the first service information includes at least one of the following: a service code corresponding to the first terminal, a service identifier corresponding to the first terminal, or a service type corresponding to the first terminal.
  • the first service information may include at least one of the following:
  • the service code corresponding to the first terminal is used for at least one of the following: identifying that the first terminal needs to use the first service, identifying that the first terminal is authorized to use the first service, or verifying that other terminals are authorized to use it.
  • First service identifying that the first terminal needs to use the first service, identifying that the first terminal is authorized to use the first service, or verifying that other terminals are authorized to use it.
  • the service identifier corresponding to the first terminal the service identifier indicating that the identified service is authorized to use the first service
  • the service type corresponding to the first terminal
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • FIG. 7 is a schematic flowchart No. 6 of the terminal discovery method provided by the embodiment of the present application. As shown in Figure 7, the method includes the following steps:
  • Step 700 The second network sends second configuration information to the second terminal; the second configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • the second network side device may configure parameters or policies related to the first service (which may be referred to as second configuration information) for the second terminal in advance;
  • the second network side does not need to send the second configuration information to the second terminal every time the first service is executed.
  • the timing at which the second network side sends the second configuration information to the second terminal is not limited in this embodiment of the present application.
  • the second network side when the second terminal registers on the second network side, the second network side sends the second configuration information to the second terminal.
  • the second terminal may request to obtain or update the second configuration information at any time.
  • the second configuration information is configured in the second terminal in a preconfiguration manner.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the second configuration information includes at least one of the following:
  • First authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is provided with services by the wireless access network;
  • the first authorization list of the second terminal is used to indicate the PLMN list to be discovered when the second terminal is provided with services by the radio access network;
  • Second authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is not provided with services by the radio access network;
  • the second service information is used to indicate the service information requested by the second terminal;
  • the terminal identification of the second terminal includes at least one of the following: user identification, device identification, or logical identification;
  • Security information of the second terminal the security information representing security parameters related to the first service
  • Algorithm information of the second terminal the algorithm information is used to indicate the algorithm required to use the first service.
  • Reference signal information of the second terminal is used to indicate the reference signal that needs to be used to use the first service
  • Third authorization indication information the third authorization indication information is used to authorize the second terminal to send the reference signal.
  • Fourth authorization indication information the fourth authorization indication information is used to authorize the second terminal to determine the reference signal result.
  • the second configuration information may include any one or more of the following (u1)-(u12):
  • the validity time represents the validity time of the second configuration information
  • the second configuration information becomes invalid.
  • First authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is provided with services by the wireless access network;
  • the first authorization information of the second terminal may be whether it is authorized to use the discovery service related to the first service when the service is provided by the radio access network RAN (served by RAN); whether it is authorized to use the first service.
  • a service-related discovery service for example, it can include any of the following (u21)-(u22):
  • the second terminal is authorized to use model B to use the discovery service related to the first service, where model B indicates the discovery method in which the second terminal will send the first request response message based on the first request message;
  • the second terminal is authorized to use model A to use the discovery service related to the first service, where model A indicates that the second terminal determines the discovery method of both the first terminal and the second terminal based on the first request message;
  • the first authorization list of the second terminal, the first authorization list of the second terminal is used to indicate the PLMN list to be discovered when the second terminal is provided with services by the radio access network;
  • the first authorization list of the second terminal may be a list of PLMNs authorized to use the first service when the service is provided by the RAN; the list of PLMNs authorized to use the first service includes the following (u31)-(u34) At least one of:
  • Second authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is not provided with services by the wireless access network;
  • the second authorization information of the second terminal may be whether the second terminal is authorized to use the discovery service related to the first service when the second terminal is not provided with a service by the wireless access network; whether the second terminal is authorized to use the first service Related discovery services; for example, they may include at least one of the following (u41)-(u42):
  • the second terminal is authorized to use model A to use the discovery service related to the first service
  • the second terminal is authorized to use model B to use the discovery service related to the first service
  • Second service information is used to indicate the service information requested by the second terminal
  • the terminal identification of the second terminal which includes at least one of the following: the identity identification of the second terminal, the device identification of the second terminal, or the logical identification of the second terminal, for example, the second terminal SUCI, GUTI of the second terminal, IMSI of the second terminal, PEI of the second terminal, IMEI of the second terminal, SUPI of the second terminal, TMSI of the second terminal, GPSI of the second terminal, 5G of the second terminal -Any one or more of S-TMSI;
  • the encryption key of the second terminal and/or the security parameters of the first terminal For example, the encryption key of the second terminal and/or the security parameters of the first terminal;
  • Algorithm information of the second terminal is used to indicate the algorithm that needs to be used to use the first service
  • the algorithm information of the second terminal is the algorithm information used by the second terminal to execute the first service.
  • the algorithm information includes at least one of the following: algorithm name, algorithm identification, algorithm parameters, algorithm precision, etc.; it should be pointed out that Yes, the algorithm information can sometimes also be called method information.
  • Reference signal information of the second terminal is used to indicate the reference signal required to use the first service
  • the reference signal information of the second terminal may represent the information of the reference signal used by the second terminal when using ranging and positioning services, including at least one of the following: the name of the reference signal, the identification of the reference signal, the reference The frequency of the signal, the period of the reference signal, the power of the reference signal, and the accuracy of the reference signal;
  • the measurement requirement information of the second terminal includes measurement accuracy and/or QoS information
  • Third authorization indication information the third authorization indication information is used to authorize the second terminal to send the reference signal
  • Fourth authorization indication information is used to authorize the second terminal to determine the reference signal result.
  • the second service information includes at least one of the following: a service code corresponding to the second terminal, a service identifier corresponding to the second terminal, or a service type corresponding to the second terminal.
  • the second service information may include at least one of the following:
  • the service code corresponding to the second terminal is used for at least one of the following: identifying that the second terminal needs to use the first service, identifying that the second terminal is authorized to use the first service, or verifying that other terminals are authorized to use the first service.
  • First service identifying that the second terminal needs to use the first service, identifying that the second terminal is authorized to use the first service, or verifying that other terminals are authorized to use the first service.
  • the service identifier corresponding to the second terminal the service identifier indicating that the identified service is authorized to use the first service
  • the service type corresponding to the second terminal is the service type corresponding to the second terminal.
  • the first request response message includes the second service information. It can also be understood that the second terminal can provide the first service related to the second service information. For example, when the second service information is a service identifier, it can be understood that the second terminal can provide the first service related to the service identified by the service identifier.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the execution subject may be a terminal discovery device.
  • the terminal discovery device executing the terminal discovery method is used as an example to illustrate the terminal discovery device provided by the embodiment of the present application.
  • Figure 8 is one of the structural schematic diagrams of a terminal discovery device provided by an embodiment of the present application.
  • the device 800 includes: a first acquisition module 801 and a first sending module 802, wherein:
  • the first acquisition module 801 is used to acquire the first configuration information related to the first service
  • the first sending module 802 is used to send the first request message to the second terminal;
  • the first request message is used to request discovery of a second terminal that supports the first service, where the first service includes: ranging service and/or bypass positioning service.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the first request message includes at least one of the following:
  • the first indication information is used to indicate that the first request message is used for the first service
  • the third indication information is used to instruct the second terminal to send second auxiliary information, and the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service;
  • a first message type is used to indicate the message type of the first request message
  • the terminal identification of the first terminal includes at least one of the following: identity identification, device identification, and logical identification;
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the first service information is used to indicate the service information requested by the first terminal;
  • the first auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first auxiliary information includes at least one of the following: reference signal information of the first terminal, algorithm information of the first terminal, or measurement requirement information of the first terminal.
  • the first service information includes at least one of the following: a service code corresponding to the first terminal, The service identifier corresponding to the first terminal, or the service type corresponding to the first terminal.
  • the first request message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request message.
  • the device further includes a first receiving module, the first receiving module is used for:
  • the first request response message includes at least one of the following:
  • a second message type used to indicate the message type of the first request response message
  • the second service information is used to indicate the service information provided by the second terminal;
  • the terminal identification of the first terminal is the terminal identification of the first terminal
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service
  • the second service information includes at least one of the following: a service code corresponding to the second terminal, a service identifier corresponding to the second terminal, or a service type corresponding to the second terminal.
  • the first request response message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request response message.
  • the second auxiliary information includes at least one of the following: reference information of the second terminal number information, algorithm information of the second terminal, or measurement requirement information of the second terminal.
  • the reference signal sending method includes at least one of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals
  • the event triggers the sending of a reference signal.
  • the result determination method includes at least one of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result.
  • the device further includes a first determination module, the first determination module is used to:
  • the first operation includes at least one of the following:
  • the first auxiliary information also includes at least one of the following:
  • the address information of the first terminal is the address information of the first terminal.
  • the second auxiliary information also includes at least one of the following:
  • the first configuration information includes at least one of the following:
  • First authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is provided with services by the wireless access network;
  • a first authorization list of the first terminal is used to indicate a list of PLMNs to be discovered when the first terminal is served by a radio access network;
  • Second authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is not provided with services by the radio access network;
  • the first service information is used to indicate the service information requested by the first terminal;
  • the terminal identification of the first terminal which terminal identification includes at least one of the following: identity identification, device identification, and logical identification;
  • Security information of the first terminal the security information indicating security parameters related to the first service number
  • Algorithm information of the first terminal the algorithm information being used to indicate the algorithm that needs to be used to use the first service
  • Reference signal information of the first terminal is used to indicate the reference signal that needs to be used to use the first service
  • First authorization indication information the first authorization indication information is used to authorize the first terminal to send the reference signal
  • Second authorization indication information the second authorization indication information is used to authorize the first terminal to determine the reference signal result.
  • the device further includes a second determination module, the second determination module is used for:
  • a reference signal sending method is determined based on the first authorization indication information.
  • the device further includes a third determination module, the third determination module is used to:
  • a result determination method is determined based on the second authorization indication information.
  • the device further includes a second sending module, the second sending module is used for:
  • a second request message is sent, where the second request message is used to request to establish a PC5 connection with the second terminal.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the terminal discovery device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
  • NAS Network Attached Storage
  • the terminal discovery device provided by the embodiment of the present application can implement the method embodiments in Figures 2-4. Each process, and achieve the same technical effect, will not be repeated here to avoid repetition.
  • Figure 9 is the second structural schematic diagram of a terminal discovery device provided by an embodiment of the present application.
  • the device 900 includes: a second acquisition module 901 and a second receiving module 902, wherein:
  • the second acquisition module 901 is used to acquire the second configuration information related to the first service
  • the second receiving module 902 is used to receive the first request message sent by the first terminal;
  • the first request message is used to discover a second terminal that supports the first service, and the first service is a terminal discovery related service.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the device further includes a third sending module, the third sending module is used for:
  • a third request message is sent, where the third request message is used to request to establish a PC5 connection with the first terminal.
  • the first request message includes at least one of the following:
  • the first indication information is used to indicate that the first request message is used for the first service
  • the third indication information is used to instruct the second terminal to send second auxiliary information, and the second auxiliary information is used to assist the first terminal in discovering a second terminal that supports the first service;
  • a first message type is used to indicate the message type of the first request message
  • the terminal identification of the first terminal includes at least one of the following: identity identification, device identification, and logical identification;
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the first service information is used to indicate the service information requested by the first terminal;
  • the first auxiliary information is used to assist the first terminal in discovering that the first service is supported the second terminal;
  • the first auxiliary information includes at least one of the following: reference signal information of the first terminal, algorithm information of the first terminal, or measurement requirement information of the first terminal.
  • the first service information includes at least one of the following: a service code corresponding to the first terminal, a service identifier corresponding to the first terminal, or a service type corresponding to the first terminal.
  • the first request message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request message.
  • the second configuration information includes at least one of the following:
  • First authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is provided with services by the wireless access network;
  • the first authorization list of the second terminal is used to indicate the PLMN list to be discovered when the second terminal is provided with services by the radio access network;
  • Second authorization information of the second terminal is used to indicate the type of discovery method that is authorized when the second terminal is not provided with services by the radio access network;
  • the second service information is used to indicate the service information requested by the second terminal;
  • the terminal identification of the second terminal includes at least one of the following: user identification, device identification, or logical identification;
  • Security information of the second terminal the security information representing security parameters related to the first service
  • Algorithm information of the second terminal the algorithm information is used to indicate the algorithm required to use the first service.
  • Reference signal information of the second terminal is used to indicate the reference signal that needs to be used to use the first service
  • Third authorization indication information the third authorization indication information is used to authorize the second terminal to send the reference signal.
  • Fourth authorization indication information the fourth authorization indication information is used to authorize the second terminal to determine the reference signal result.
  • the device further includes a fourth determination module, the fourth determination module being used to:
  • the reference signal sending mode is determined based on the third authorization indication information.
  • the device further includes a fifth determination module, the fifth determination module is used to:
  • the result determination method is determined based on the fourth authorization indication information.
  • the device further includes a sixth determination module, the sixth determination module is used for:
  • the second operation includes at least one of the following:
  • the device further includes a fourth sending module, the fourth sending module is used for:
  • the first request response message is used to represent that the second terminal receives the first request message from the first terminal.
  • the fourth sending module is specifically used for:
  • the first request response message includes at least one of the following:
  • a second message type used to indicate the message type of the first request response message
  • the second service information is used to indicate the service information provided by the second terminal;
  • the terminal identification of the first terminal is the terminal identification of the first terminal
  • the terminal identification of the second terminal is the terminal identification of the second terminal
  • the second auxiliary information of the second terminal is used to assist the first terminal in discovering a second terminal that supports the first service
  • the first request response message also includes address information of the first terminal and/or address information of the second terminal; or
  • the address information of the first terminal and/or the address information of the second terminal is sent along with the first request response message.
  • the second service information includes at least one of the following: a service code corresponding to the second terminal, a service identifier corresponding to the second terminal, or a service type corresponding to the second terminal.
  • the second auxiliary information includes at least one of the following: reference signal information of the second terminal, algorithm information of the second terminal, or measurement requirement information of the second terminal.
  • the reference signal sending method includes at least one of the following:
  • the first terminal sends a reference signal
  • the second terminal sends a reference signal
  • the first terminal and the second terminal send reference signals
  • the event triggers the sending of a reference signal.
  • the result determination method includes at least one of the following:
  • the first terminal determines the first result
  • the second terminal determines the first result
  • the first terminal and the second terminal determine the first result
  • the fourth sending module is specifically used for:
  • the first information includes at least one of the following:
  • the first request message application layer indication information; network side indication information; or preconfiguration information.
  • the fourth sending module is specifically used for at least one of the following:
  • a first request response message is sent to the first terminal.
  • the fourth sending module is specifically used for at least one of the following:
  • a first request response message is sent to the first terminal.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the terminal discovery device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
  • NAS Network Attached Storage
  • the terminal discovery device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the terminal discovery device provided by the embodiment of this application can implement each process implemented by the method embodiment in Figure 5 and achieve the same technical effect. To avoid duplication, details will not be described here.
  • Figure 10 is the third structural schematic diagram of the terminal discovery device provided by the embodiment of the present application. As shown in Figure 10, the device 1000 includes: a fifth sending module 1001, wherein:
  • the fifth sending module 1001 is configured to send first configuration information to the first terminal; the first configuration information is used for a first service, and the first service includes: ranging service and/or bypass positioning service.
  • the first configuration information includes at least one of the following:
  • First authorization information of the first terminal is used to indicate the type of discovery method that is authorized when the first terminal is provided with services by the wireless access network;
  • a first authorization list of the first terminal is used to indicate a list of PLMNs to be discovered when the first terminal is served by a radio access network;
  • Second authorization information of the first terminal is used to indicate the type of discovery method that is authorized for the first terminal when the service is not provided by the radio access network;
  • the first service information is used to indicate the service information requested by the first terminal;
  • the terminal identification of the first terminal which terminal identification includes at least one of the following: identity identification, device identification, and logical identification;
  • Security information of the first terminal the security information representing security parameters related to the first service
  • Algorithm information of the first terminal the algorithm information is used to indicate the algorithm required to use the first service.
  • Reference signal information of the first terminal is used to indicate the reference signal that needs to be used to use the first service
  • First authorization indication information the first authorization indication information is used to authorize the first terminal to send the reference signal
  • Second authorization indication information the second authorization indication information is used to authorize the first terminal to determine the reference signal result.
  • the first service information includes at least one of the following: a service code corresponding to the first terminal, The service identifier corresponding to the first terminal, or the service type corresponding to the first terminal.
  • ranging and/or bypass positioning services are performed by obtaining configuration information related to ranging and/or bypass positioning services.
  • transmitting the first request message can realize that a terminal that supports ranging and/or bypass positioning services can discover another terminal that supports ranging and/or bypass positioning services.
  • terminal to obtain ranging and/or bypass positioning services can obtain ranging and/or bypass positioning services.
  • the terminal discovery device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
  • NAS Network Attached Storage
  • the terminal discovery device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 6 and achieve the same technical effect. To avoid duplication, the details will not be described here.
  • Figure 11 is the fourth structural schematic diagram of the terminal discovery device provided by the embodiment of the present application. As shown in Figure 11, the device 1100 includes: a sixth sending module 1101, wherein:

Landscapes

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

Abstract

本申请公开了一种终端发现方法、装置、设备及存储介质,属于通信技术领域,本申请实施例的终端发现方法包括:第一终端获取与第一服务相关的第一配置信息;所述第一终端向第二终端发送第一请求消息;其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。

Description

终端发现方法、装置、设备及存储介质
相关申请的交叉引用
本申请要求于2022年3月24日提交的申请号为202210303809.6,发明名称为“终端发现方法、装置、设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。
技术领域
本申请属于通信技术领域,具体涉及一种终端发现方法、装置、设备及存储介质。
背景技术
随着通信技术的发展,目前提出了一种新的应用场景,即基于测距的服务和旁路定位(Ranging based services and sidelink positioning)。其中,测距是指通过直接设备连接确定两个终端或多个终端之间的距离,和/或,一个终端(即目标终端)与另一个终端(即参考终端)的方向和/或相对位置。旁路定位是指使用PC5接口对终端定位。基于测距的服务和旁路定位可用于各种垂直领域,例如消费者、智能家居、智能城市、智能交通、智能零售和工业4.0等。
上述不同的应用领域可以利用不同的接入技术实现终端之间的通信,例如基于LTE的车联网(Vehicle-to-Everything,V2X)、新空口NR的侧链路以及PC5上可能支持的其他无线接入技术(Radio Access Technology,RAT)。因此,对于本领域技术人员来说,在执行基于测距的服务和旁路定位之前,如何使能一个支持测距服务和旁路定位的终端发现另一个支持测距服务和旁路定位的终端,是亟需解决的技术问题。
发明内容
本申请实施例提供一种终端发现方法、装置、设备及存储介质,能够实现支持测距服务和旁路定位的终端发现另一个支持测距服务和旁路定位的终端。
第一方面,提供了一种终端发现方法,应用于第一终端,该方法包括:
第一终端获取与第一服务相关的第一配置信息;
所述第一终端向第二终端发送第一请求消息;
其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
第二方面,提供了一种终端发现方法,应用于第二终端,该方法包括:
第二终端获取与第一服务相关的第二配置信息;
所述第二终端接收第一终端发送的第一请求消息;
其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述第一服务为终端发现相关服务。
第三方面,提供了一种终端发现方法,应用于第一网络侧,该方法包括:
第一网络侧向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
第四方面,提供了一种终端发现方法,应用于第二网络侧,该方法包括:
第二网络侧向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
第五方面,提供了一种终端发现装置,应用于第一终端,所述装置包括:
第一获取模块,用于获取与第一服务相关的第一配置信息;
第一发送模块,用于向第二终端发送第一请求消息;
其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
第六方面,提供了一种终端发现装置,应用于第二终端,所述装置包括:
第二获取模块,用于获取与第一服务相关的第二配置信息;
第二接收模块,用于接收第一终端发送的第一请求消息;
其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述第一服务为终端发现相关服务。
第七方面,提供了一种终端发现装置,应用于第一网络侧,所述装置包括:
第五发送模块,用于向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
第八方面,提供了一种终端发现装置,应用于第二网络侧,所述装置包括:
第六发送模块,用于向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
第九方面,提供了一种第一终端,该第一终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第十方面,提供了一种第一终端,包括处理器及通信接口,其中:
所述处理器,用于第一服务相关的第一配置信息;
所述通信接口,用于向第二终端发送第一请求消息。
第十一方面,提供了一种第二终端,该第二终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第二方面所述的方法的步骤。
第十二方面,提供了一种第二终端,包括处理器及通信接口,其中:
所述处理器,用于获取与第一服务相关的第二配置信息;
所述通信接口,用于接收第一终端发送的第一请求消息。
第十三方面,提供了一种第一网络侧设备,该第一网络侧设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的方法的步骤。
第十四方面,提供了一种第一网络侧设备,包括处理器及通信接口,其中:
所述通信接口,用于向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
第十五方面,提供了一种第二网络侧设备,该第二网络侧设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第四方面所述的方法的步骤。
第十六方面,提供了一种第二网络侧设备,包括处理器及通信接口,其中:
所述通信接口,用于向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
第十七方面,提供了一种终端发现***,包括:第一终端、第二终端、第一网络侧设备及第二网络侧设备,所述第一终端可用于执行如第一方面所述的终端发现方法的步骤,所述第二终端可用于执行如第二方面所述的终端发现方法的步骤,所述第一网络侧设备可用于执行如第三方面所述的终端发现方法的步骤,所述第二网络侧设备可用于执行如第四方面所述的终端发现方法的步骤。
第十八方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第四方面所述的方法的步骤。
第十九方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法,或实现如第二方面所述的方法,或实现如第三方面所述的方法,或实现如第四方面所述的方法。
第二十方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的终端发现方法的步骤,或实现如第二方面所述的终端发现方法的步骤,或实现如第三方面所述的终端发现方法的步骤,或实现如 第四方面所述的终端发现方法的步骤。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
附图说明
图1示出本申请实施例可应用的一种无线通信***的框图;
图2是本申请实施例提供的终端发现方法的流程示意图之一;
图3是本申请实施例提供的终端发现方法的流程示意图之二;
图4是本申请实施例提供的终端发现方法的流程示意图之三;
图5是本申请实施例提供的终端发现方法的流程示意图之四;
图6是本申请实施例提供的终端发现方法的流程示意图之五;
图7是本申请实施例提供的终端发现方法的流程示意图之六;
图8是本申请实施例提供的终端发现装置的结构示意图之一;
图9是本申请实施例提供的终端发现装置的结构示意图之二;
图10是本申请实施例提供的终端发现装置的结构示意图之三;
图11是本申请实施例提供的终端发现装置的结构示意图之四;
图12是本申请实施例提供的通信设备的结构示意图;
图13是实现本申请实施例的第一终端的硬件结构示意图;
图14是实现本申请实施例的第二终端的硬件结构示意图;
图15是实现本申请实施例的第一网络侧设备的硬件结构示意图;
图16是实现本申请实施例的第二网络侧设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实 施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)***,还可用于其他无线通信***,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他***。本申请实施例中的术语“***”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的***和无线电技术,也可用于其他***和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)***,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR***应用以外的应用,如第6代(6th Generation,6G)通信***。
图1示出本申请实施例可应用的一种无线通信***的框图。无线通信***包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual  reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(VUE)、行人终端(PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR***中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地 NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR***中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的终端发现方法、装置、设备及存储介质进行详细地说明。
图2是本申请实施例提供的终端发现方法的流程示意图之一,如图2所示,该方法包括如下步骤:
步骤200,第一终端获取与第一服务相关的第一配置信息;
步骤210,所述第一终端向第二终端发送第一请求消息;
其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
可选地,第一服务表示的是测距和/或旁路定位服务,即可以是测距服务,旁路定位服务,或者测距和旁路定位的服务;
其中,测距可以指通过直接设备连接确定两个用户设备(User Equipment,UE)之间的距离和/或一个UE(即目标UE)与另一个UE(即观察者UE)之间的方向。在3D情况下,方向包括水平方向和立面方向。一些基于测距的服务可能只需要距离测量,一些可能只需要方向测量,其他可能需要距离和方向测量。
基于测距的服务可用于各种垂直领域,如消费者、智能家居、智能城市、智能交通、智能零售和工业4.0。例如:
智能家庭电视控制:基于UE和电视参考点之间的距离、从电视参考点到UE的方向,以及从UE到电视参考点的方向,智能电视可以导出UE指向的电视屏幕区域,以便确定光标放置的位置以及用户选择的内容。
远程访问权限授权:可以通过手机UE1远程监控持有UE2的访客与能够测距的门之间的距离,以决定何时解锁门以允许访客访问。
测距可以指通过PC5接口确定两个或多个UE之间的距离和/或一个UE (即目标UE)与另一个UE(即参考UE)之间的方向和/或相对定位。
旁路定位:使用PC5定位UE。
定位:一种检测地理位置和可选速度(例如移动终端)的功能。
相对位置:估计UE相对于其他网络元素或相对于其他UE的位置。
第一服务可以是第一终端希望获取第一终端与其他终端的相对信息(如Relative position),也可以是绝对信息(例如geographical location、velocity);也可以是第一终端希望获取第一终端与某个网络设备(other network elements,可以理解为网络侧设备、基站、RSU等)之间的相对信息、绝对信息。
可选地,第一终端可以获取与第一服务相关的第一配置信息,该第一配置信息用于为第一终端配置第一终端在执行第一服务时需要用到的信息;
可选地,第一终端在需要发现支持所述第一服务的第二终端时,可以向第二终端发送第一请求消息;第二终端接收到第一请求消息后,则可以得知第一终端为需要发现支持第一服务的终端,则可以实现支持第一服务的终端发现另一个支持第一服务的终端;
可选地,并不是每次执行第一服务时,所述第一网络侧都需要向第一终端发送第一配置信息。所述第一网络侧向第一终端发送第一配置信息的时机在本申请实施例中不作限定。
在一种实施方式中,所述第一终端在第一网络侧进行注册时,所述第一网络侧为所述第一终端发送所述第一配置信息。
在另一种实施方式中,所述第一终端可以在任何时刻请求获取或更新所述第一配置信息。
在另一种实施方式中,所述第一配置信息通过预配置的方式配置在所述第一终端中。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第一请求消息包括以下至少一项:
第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
所述第二终端的终端标识;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,第一请求消息可以包括以下(a)-(i)中的任意一项或多项:
(a)第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
在一种实施方式中,第一指示信息为长度可以为1比特,其中,比特0表示所述第一指示信息指示所述第一请求消息不用于第一服务;比特1表示所述第一指示信息指示所述第一请求消息用于第一服务;
(b)第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
在一种实施方式中,第一终端通过第一请求消息发送第三指示信息,指 示所述第二终端发送第二辅助信息,第二终端接收到第三指示信息后,可以向第一终端发送第二辅助信息,比如可以通过第一请求响应消息向第一终端发送第二辅助信息,第一终端接收到第二辅助信息后,可以基于第二辅助信息判断第二终端是否支持第一服务;
(c)第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
在一种实施方式中,不同消息的消息类型可以包括:第一服务发现请求消息;第一服务发现请求响应消息;
在一种实施方式中,第一消息类型用于直接所在的消息的消息类型为第一服务发现请求消息;
(d)所述第一终端的终端标识,所述第一终端的终端标识包括以下至少一项:第一终端的身份标识、第一终端的设备标识、或第一终端的逻辑标识;
其中,所述第一终端的逻辑标识,是指网络或应用服务器分配的可以唯一标识第一终端的逻辑标识,例如:特定的字符串组合、层二标识(layer-2 ID)、与业务信息相关的终端标识等、应用层管理和/或应用层分配的终端标识。
(e)所述第二终端的终端标识,所述第二终端的终端标识包括以下至少一项:第二终端的身份标识、第二终端的设备标识、或第二终端的逻辑标识;
其中,所述第二终端的逻辑标识,是指网络或应用服务器分配的可以唯一标识第二终端的逻辑标识,例如:特定的字符串组合、层二标识(layer-2 ID)、与业务信息相关的终端标识等、应用层管理和/或应用层分配的终端标识。
(f)第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
(g)第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
(h)参考信号发送方式;
(i)结果确定方式。
在一种实施方式中,所述第一请求消息可以为现有机制中的PROSE PC5 DISCOVERY消息;
在一种实施方式中,第一请求消息可以为RANGING PC5 DISCOVERY消息,即不同于已有消息的新消息。
可选地,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
可选地,第一辅助信息可以包括第一终端的参考信号信息;
可选地,第一辅助信息可以包括第一终端的算法信息;
可选地,第一辅助信息可以包括第一终端的测量需求信息;
可选地,第一辅助信息可以包括所述第一终端的参考信号信息和所述第一终端的算法信息;
可选地,第一辅助信息可以包括所述第一终端的参考信号信息和所述第一终端的测量需求信息;
可选地,第一辅助信息可以包括所述第一终端的算法信息和所述第一终端的测量需求信息;
可选地,不论第一辅助信息包括一项还是包括多项,在第一终端或第二终端基于第一辅助信息实现发现支持第一服务的终端时,可以使用第一辅助信息中包括的所有项或部分项。可选地,第一终端的算法信息为第一终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;
可选地,第一终端的参考信号信息可以表示在使用测距和定位服务时, 第一终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
可选地,第一终端的测量需求信息包括测量精度和/或服务质量(Quality of Service,QoS)信息。
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
可选地,第一业务信息可以包括以下至少一项:
第一终端对应的业务码,第一终端对应的业务码用于以下至少一项:标识第一终端需要使用第一服务、标识第一终端被授权使用第一服务、或验证其他终端被授权使用第一服务;
第一终端对应的业务标识,所述业务标识表示所标识的业务被授权使用第一服务;
第一终端对应的业务类型。
可选地,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
可选地,第一终端可以向第二终端发送第一终端的地址信息;
可选地,第一终端可以向第二终端发送第二终端的地址信息;
可选地,第一终端可以向第二终端发送第一终端的地址信息和第二终端的地址信息;
可选地,第一终端的地址信息可以包含在第一请求消息中,也可以在第一请求消息之外且伴随着第一请求消息一起发送;
可选地,第二终端的地址信息可以包含在第一请求消息中,也可以在第一请求消息之外且伴随着第一请求消息一起发送;
可选地,第一终端的地址信息和第二终端的地址信息可以包含在第一请 求消息中,也可以在第一请求消息之外且伴随着第一请求消息一起发送;
可选地,在第一终端向第二终端发送第一请求消息之后,若第二终端基于第一请求信息确定第一终端与第二终端均支持第一服务,则第二终端可以直接发起执行第一服务相关的流程,则第一终端在向第二终端发送第一请求消息之后且第二终端启动了第一服务相关流程的情况下,第一终端可以直接进入到与第二终端执行第一服务的流程。需要指出的是,本申请实施例对如何执行第一服务的流程不作限定。
可选地,所述第一终端向第二终端发送第一请求消息之后,所述方法还包括:
所述第一终端接收所述第二终端发送的第一请求响应消息,所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选地,在第一终端向第二终端发送第一请求消息之后,可以接收到第二终端发送的第一请求响应消息,所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选地,所述第一请求响应消息包括以下至少一项:
第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
第二消息类型,用于指示所述第一请求响应消息的消息类型;
第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
所述第一终端的终端标识;
所述第二终端的终端标识;
第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,第一请求响应消息可以包括以下(j)-(q)任意一项或多项:
(j)第二指示信息,第二指示信息用于指示所述第一请求响应消息用于 所述第一服务;
(k)第二消息类型,第二消息类型用于指示所述第一请求响应消息的消息类型;
在一种实施方式中,不同消息的消息类型可以包括:第一服务发现请求消息;第一服务发现请求响应消息;
在一种实施方式中,第二消息类型用于直接指示所在的消息类型为第一服务发现请求响应消息;
(l)第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
(m)所述第一终端的终端标识;所述第一终端的终端标识包括以下至少一项:第一终端的身份标识、第一终端的设备标识、或第一终端的逻辑标识;
其中,第一终端的逻辑标识,是指网络或应用服务器分配的可以唯一标识第二终端的逻辑标识,例如:特定的字符串组合、层二标识(layer-2 ID)、与业务信息相关的终端标识等、应用层管理和/或应用层分配的终端标识。
(n)所述第二终端的终端标识;所述第二终端的终端标识包括以下至少一项:第二终端的身份标识、第二终端的设备标识、或第二终端的逻辑标识;
其中,第二终端的逻辑标识,是指网络或应用服务器分配的可以唯一标识第二终端的逻辑标识,例如:特定的字符串组合、层二标识(layer-2 ID)、与业务信息相关的终端标识等、应用层管理和/或应用层分配的终端标识。
(o)第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
(p)参考信号发送方式;
(q)结果确定方式。
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选地,第二业务信息可以包括以下至少一项:
第二终端对应的业务码,第二终端对应的业务码用于以下至少一项:标识第二终端需要使用第一服务、标识第二终端被授权使用第一服务、或验证其他终端被授权使用第一服务;
第二终端对应的业务标识,所述业务标识表示所标识的业务被授权使用第一服务;
第二终端对应的业务类型。
在一种实施方式中,所述第一请求响应消息包括所述第二业务信息,也可以理解为,所述第二终端可以提供与第二业务信息相关的所述第一服务。例如,在所述第二业务信息为业务标识时,可以理解为,第二终端可以提供与所述业务标识所标识的业务相关的所述第一服务。
可选地,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
可选地,第二终端可以向第一终端发送第一终端的地址信息;
可选地,第二终端可以向第一终端发送第二终端的地址信息;
可选地,第二终端可以向第一终端发送第一终端的地址信息和第二终端的地址信息;
可选地,第一终端的地址信息可以包含在第一请求响应消息中,也可以在第一请求响应消息之外且伴随着第一请求响应消息一起发送;
可选地,第二终端的地址信息可以包含在第一请求响应消息中,也可以在第一请求响应消息之外且伴随着第一请求响应消息一起发送;
可选地,第一终端的地址信息和第二终端的地址信息可以包含在第一请求响应消息中,也可以在第一请求响应消息之外且伴随着第一请求响应消息一起发送。
可选地,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
可选地,第二辅助信息可以包括第二终端的参考信号信息;
可选地,第二辅助信息可以包括第二终端的算法信息;
可选地,第二辅助信息可以包括第二终端的测量需求信息;
可选地,第二辅助信息可以包括所述第二终端的参考信号信息和所述第二终端的算法信息;
可选地,第二辅助信息可以包括所述第二终端的参考信号信息和所述第二终端的测量需求信息;
可选地,第二辅助信息可以包括所述第二终端的算法信息和所述第二终端的测量需求信息;
可选地,不论第二辅助信息包括一项还是包括多项,在第一终端或第二终端基于第二辅助信息实现发现支持第一服务的终端时,可以使用第二辅助信息中包括的所有项或部分项。
可选地,第二终端的算法信息为第二终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;
可选地,第二终端的参考信号信息可以表示在使用测距和定位服务时,第二终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
可选地,第二终端的测量需求信息包括测量精度和/或QoS信息;
可选地,所述参考信号发送方式包括以下至少一项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;或
事件触发发送参考信号。
可选地,参考信号发送方式包括以下任意一项或多项:
第一终端发送参考信号;或
第二终端发送参考信号;或
第一终端和第二终端发送参考信号;或
立即发送参考信号;或
周期性发送参考信号;或
事件触发发送参考信号。
可选地,所述结果确定方式包括以下至少一项:
第一终端确定所述第一结果;
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
在一些实施方式中,所述参考信号发送方式和所述结果确定方式具有关联关系。例如,所述第一终端在所述第一请求消息中将所述参考信号发送方式设置为“第一终端发送参考信号”,则第二终端在接收所述第一请求消息后,所述第二终端可以推断出所述第一服务的“结果确定方式”为“第二终端确定所述第一结果”。
可选地,结果确定方式包括以下任意一项或多项:
第一终端确定所述第一结果;或
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
可选地,第一结果可以为执行第一服务获得的结果,比如两个或多个UE之间的距离和/或一个UE(即目标UE)与另一个UE(即参考UE)之间的方向和/或相对定位;可选地,第一结果可以为第一终端获取的与第二终端相关的第一服务对应的结果,第一结果可以包括以下至少一项:
第二终端的绝对位置信息、第二终端与第一终端的相对位置信息、精确度信息或第二定位参考信号的测量结果。
具体地,第二终端的绝对位置信息例如时间提前量(Timing Advance,TA),注册区域(Registration Area,RA),小区标识(Identifier,ID),经纬度,海拔,水平方向角或仰角方向角等;
相对位置信息,例如第二终端相对于第一终端的相对角度或相对距离等;
精确度信息表示第一结果的精确度信息,例如可以包括以下至少一项:结果量纲信息,测量精度,误差信息;其中,结果量纲信息例如,角度、米、厘米等;测量精度例如高精度,超高精度,低精度;误差信息,包括:误差精度信息和误差量纲信息,误差精度信息例如,高误差、低误差、超低误差;误差量纲信息例如,角度,米,厘米等。
测量结果表示对第二定位参考信号的测量结果,例如,信号强度、根据第二定位参考信号计算出的某个测量量的值等。
可选地,图3是本申请实施例提供的终端发现方法的流程示意图之二,如图3所示,可以由第二终端基于第一请求消息判断第一终端和第二终端是否可以执行第一服务(第二终端确定所述第一结果);在此情况下,第一网络侧可以给第一终端(比如图3中的UE-1)发送第一配置信息(其中包括UE-1的参数和策略配置),第二网络侧可以给第二终端(比如图3中的UE-2和/或UE-3)发送第二配置信息(其中包括UE-2的参数和策略配置和UE-3的参数和策略配置),第一终端(比如图3中的UE-1)可以给第二终端(比如图3中的UE-2和/或UE-3)发送第一请求消息(比如可以是测距和定位请求),第二终端可以在收到第一请求消息后,基于第一请求消息确定可以与第一终端执行第一服务,直接发起执行第一服务的流程;
可选地,图4是本申请实施例提供的终端发现方法的流程示意图之三,如图4所示,可以由第一终端判断第二终端是否支持第一服务(所述第一终端和所述第二终端确定所述第一结果),且由第二终端基于第一请求消息判断第一终端和第二终端均支持第一服务;在此情况下,第一网络侧可以给第一终端(比如图4中的UE-1)发送第一配置信息(其中包括UE-1的参数和策略配置),第二网络侧可以给第二终端(比如图4中的UE-2)发送第二配置信息(其中包括UE-2的参数和策略配置),第一终端(比如图4中的UE-1)可以给第二终端(比如图4中的UE-2)发送第一请求消息(比如可以是测距和定位请求),第二终端可以在收到第一请求消息后,基于第一请求消息确定可以与第一终端执行第一服务,则发送第一请求消息响应,第一终端接收到第一请求消息响应后,可以基于第一请求消息响应确定第二终端也支持第一服务。
其中,第二终端在判断第一终端和第二终端均支持第一服务时,可以是基于以下至少一项确定的:第一请求消息、应用层指示、网络侧指示、或预配置信息。
可选地,第一网络侧设备和第二网络侧设备可以相同,也可以不同。
可选地,所述第一终端接收所述第二终端发送的第一请求响应消息之后,所述方法还包括:
所述第一终端基于所述第一请求响应消息,执行第一操作,其中,所述第一操作包括以下至少一项:
所述第一终端基于所述第二指示信息与所述第一指示信息,确定第二终端支持第一服务;
所述第一终端基于所述第一请求响应消息中所述第一终端的终端标识与所述第一请求消息中所述第一终端的终端标识,确定第二终端支持第一服务;
所述第一终端基于所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识,确定第二终端支持第一服务;
所述第一终端基于所述第一请求响应消息中所述第二业务信息与所述第 一请求消息中所述第一业务信息,确定第二终端支持第一服务;
所述第一终端基于所述第一请求响应消息中所述第二终端的参考信号信息与所述第一请求消息中所述第一终端的参考信号信息,确定第二终端支持第一服务;
所述第一终端基于所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息,确定第二终端支持第一服务;
所述第一终端基于所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息,确定第二终端支持第一服务。
可选地,第一终端基于所述第二指示信息与所述第一指示信息,确定第二终端支持第一服务,可以是:在第一终端确认所述第二指示信息与所述第一指示信息匹配的情况下,则确定第二终端支持第一服务;
可选地,第一终端基于所述第一请求响应消息中所述第一终端的终端标识与所述第一请求消息中所述第一终端的终端标识,确定第二终端支持第一服务,可以是:在第一终端确认所述第一请求响应消息中所述第一终端的终端标识与所述第一请求消息中所述第一终端的终端标识匹配的情况下,则确定第二终端支持第一服务;
可选地,第一终端基于所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识,确定第二终端支持第一服务,可以是:在第一终端确认所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识匹配的情况下,则确定第二终端支持第一服务;
可选地,第一终端基于所述第一请求响应消息中所述第二业务信息与所述第一请求消息中所述第一业务信息,确定第二终端支持第一服务,可以是:在第一终端确认所述第一请求响应消息中所述第二业务信息与所述第一请求消息中所述第一业务信息匹配的情况下,则确定第二终端支持第一服务;
可选地,第一终端基于所述第一请求响应消息中所述第二终端的参考信 号信息与所述第一请求消息中所述第一终端的参考信号信息,确定第二终端支持第一服务,可以是:在第一终端确认所述第一请求响应消息中所述第二终端的参考信号信息与所述第一请求消息中所述第一终端的参考信号信息匹配的情况下,则确定第二终端支持第一服务;可选地,第一终端基于所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息,确定第二终端支持第一服务,可以是:在第一终端确认所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息匹配的情况下,则确定第二终端支持第一服务;可选地,第一终端基于所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息,确定第二终端支持第一服务,可以是:在第一终端确认所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息匹配的情况下,则确定第二终端支持第一服务。
可选地,匹配可以是相同或者相似,相似可以是对应的值属于同一区间或指示的内容的实质含义相同;
可选地,在第一终端确认所述第二指示信息与所述第一指示信息匹配;
可选地,在第一终端确认第一请求响应消息中所述第一终端的终端标识与所述第一请求消息中所述第一终端的终端标识相同的情况下,则可以确定第二终端支持第一服务;
可选地,在第一终端确认所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识相同的情况下,则可以确定第二终端支持第一服务;
可选地,在第一终端确认所述第一请求响应消息中所述第二业务信息与所述第一请求消息中所述第一业务信息相同的情况下,则可以确定第二终端支持第一服务;
可选地,在第一终端确认所述第一请求响应消息中所述第二终端的参考信号信息与所述第一请求消息中所述第一终端的参考信号信息相同的情况下, 则可以确定第二终端支持第一服务;
可选地,在第一终端确认所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息相同的情况下,则可以确定第二终端支持第一服务;
可选地,在第一终端确认所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息相同的情况下,则可以确定第二终端支持第一服务。
可选地,所述第一辅助信息还包括以下至少一项:
第一终端的能力信息;
第一终端的位置信息;
第一终端的地址信息;
第一终端的安全信息;
第一终端的测量信息;
所述第二辅助信息还包括以下至少一项:
第二终端的能力信息;
第二终端的位置信息;
第二终端的地址信息;
第二终端的安全信息;
第二终端的测量信息。
可选地,第一辅助信息还包括以下(r1)-(r5)中的任意一项或多项:
(r1)第一终端的能力信息;
在一种实施方式中,所述第一终端的能力信息指示第一终端具有支持第一服务的能力;所述能力信息包括:支持距离测量和/或计算的能力;支持方向测量和/或计算的能力;支持高精度的距离测量和/或计算的能力;支持高精度方向测量和/或计算;支持计算第一服务的能力;
(r2)第一终端的位置信息;
比如:第一终端的绝对位置信息,例如TA,注册区域RA,小区ID,经纬度,海拔,水平方向角(horizontal direction)、仰角方向角(elevation direction);
第一终端的相对位置信息,例如第一终端相对于辅助节点的相对角度(包括水平方向角、仰角方向角),相对距离;
值得一提的是,所述辅助节点是除第一终端和第二终端之外的其他通信设备;
例如,除第一终端和第二终端之外的第三终端;或者,公共基础设施,如Road Side Unit路侧单元;或者,第一终端和第二终端知道所述绝对位置信息的公共参考系,例如,路灯。
(r3)第一终端的地址信息;
例如第一终端的ipv4地址、第一终端的ipv6地址、第一终端的端口号、第一终端的FQDN等;
(r4)第一终端的安全信息;
例如第一终端的加密密钥和/或第一终端的安全参数;
(r5)第一终端的测量信息;
其中,所述第一终端的测量信息表示对特定的参考信号的观测结果,例如,信号强度、根据测量信号计算出的某个测量量的值等。
可选地,所述第二辅助信息还包括以下(s1)-(s5)中的任意一项或多项:
(s1)第二终端的能力信息;
在一种实施方式中,所述第二终端的能力信息指示第二终端具有支持第一服务的能力;所述能力信息包括:支持距离测量和/或计算的能力;支持方向测量和/或计算的能力;支持高精度的距离测量和/或计算的能力;支持高精度方向测量和/或计算;支持计算第一服务的能力;
(s2)第二终端的位置信息;
比如:第二终端的绝对位置信息,例如TA,注册区域RA,小区ID,经纬度,海拔,水平方向角(horizontal direction)、仰角方向角(elevation direction);
第二终端的相对位置信息,例如第二终端相对于辅助节点的相对角度(包括水平方向角、仰角方向角),相对距离;
值得一提的是,所述辅助节点是除第一终端和第二终端之外的其他通信设备;
例如,除第一终端和第二终端之外的第三终端;或者,公共基础设施,如Road Side Unit路侧单元;或者,第一终端和第二终端知道所述绝对位置信息的公共参考系,例如,路灯。
(s3)第二终端的地址信息;
例如第二终端的ipv4地址、第二终端的ipv6地址、第二终端的端口号、第二终端的全限定域名(Fully Qualified Domain Name,FQDN)等;
(s4)第二终端的安全信息;
例如第二终端的加密密钥和/或第二终端的安全参数;
(s5)第二终端的测量信息。
其中,所述第二终端的测量信息表示对特定的参考信号的观测结果,例如,信号强度、根据测量信号计算出的某个测量量的值等。
可选地,所述第一配置信息包括以下至少一项:
所述第一配置信息的有效时间;
第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述 第一终端由无线接入网提供服务时进行发现的PLMN列表;
第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端未由无线接入网提供服务时被授权的发现方法类型;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;
第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第一终端的测量需求信息;
第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
可选地,第一网络侧设备可以预先为第一终端配置与第一服务相关的参数或策略(可以称为第一配置信息);
第一配置信息可以包括以下(t1)至(t12)中的任意一项或多项:
(t1)所述第一配置信息的有效时间;
可选地,所述有效时间表示所述第一配置信息的有效时间;
可选地,在所述有效时间结束后,所述第一配置信息失效。
(t2)第一终端的第一授权信息,所述第一终端的第一授权信息用于指示第一终端由无线接入网提供服务时被授权的发现方法类型;
可选地,第一终端的第一授权信息可以是,在由无线接入网RAN提供服务时(served by RAN),是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下(t21)-(t22)任一项:
(t21)第一终端被授权使用model B进行使用与第一服务相关的发现服务,其中modelB表示第二终端会基于第一请求消息发送第一请求响应消息的发现方式;
(t22)第一终端被授权使用model A进行使用与第一服务相关的发现服务,其中model A表示第二终端不发送第一请求响应消息的发现方式;
(t3)第一终端的第一授权列表,所述第一终端的第一授权列表用于指示第一终端由无线接入网提供服务时进行发现的PLMN列表;
可选地,第一终端的第一授权列表可以是,在由RAN提供服务时,授权使用第一服务的PLMN列表;所述授权使用第一服务的PLMN列表包括以下(t31)-(t34)中的至少一项:
(t31)第一终端被授权使用model A announcing进行发现的PLMN列表,其中该公共陆地移动网络(Public Land Mobile Network,PLMN)列表包括至少一个PLMN ID;
(t32)第一终端被授权使用model A monitoring进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(t33)第一终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(t34)第一终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID。
(t4)第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端的未由无线接入网提供服务时被授权的发现方法类型;
可选地,第一终端的第二授权信息可以是,在未由无线接入网提供服务时,是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下以下(t41)-(t42)中的至少一项:
(t41)第一终端被授权使用model A进行使用与第一服务相关的发现服务;
(t42)第一终端被授权使用model B进行使用与第一服务相关的发现服务;
(t5)第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
(t6)第一终端的终端标识,所述第一终端的终端标识包括以下至少一项:第一终端的身份标识、第一终端的设备标识、或第一终端的逻辑标识,例如第一终端的签约加密标识(Subscription Concealed Identifier,SUCI),第一终端的全球唯一临时标识(Globally Unique Temporary Identifier,GUTI),第一终端的国际移动用户识别码(International Mobile Subscriber Identity,IMSI),第一终端的永久设备标识(Permanent Equipment Identifier,PEI),第一终端的国际移动设备识别码(International Mobile Equipment Identity number,IMEI),第一终端的签约永久标识(Subscription Permanent Identifier,SUPI),第一终端的临时移动签约标识(Temporary Mobile Subscription Identifier,TMSI),第一终端的一般公共签约标识(Generic Public Subscription Identifier,GPSI),第一终端的5G S-临时移动签约标识(5G S-Temporary Mobile Subscription Identifier,5G-S-TMSI)中的任意一项或多项;
(t7)第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
例如第一终端的加密密钥和/或第一终端的安全参数;
(t8)第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;
可选地,第一终端的算法信息为第一终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;需要指出的是,所述算法信息有时也可以称为方法信息。
(t9)第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
可选地,第一终端的参考信号信息可以表示在使用测距和定位服务时,第一终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
(t10)第一终端的测量需求信息;
可选地,第一终端的测量需求信息包括测量精度和/或QoS信息;
(t11)第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;
(t12)第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
可选地,所述方法还包括:
所述第一终端基于所述第一授权指示信息确定参考信号发送方式。
可选地,第一终端可以基于所述第一授权指示信息确定参考信号发送方式为以下任一项或多项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;
事件触发发送参考信号。
可选地,所述方法还包括:
所述第一终端基于所述第二授权指示信息确定结果确定方式。
可选地,所述第一终端可以基于所述第二授权指示信息确定结果确定方式为以下任一项或多项:
第一终端确定所述第一结果;
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
可选地,所述第一终端向第二终端发送第一请求消息之后,所述方法还包括:
所述第一终端发送第二请求消息,所述第二请求消息用于请求与所述第二终端建立PC5连接。
可选地,第一终端向第二终端发送第一请求消息之后,所述第一终端可以发送第二请求消息,所述第二请求消息用于请求与所述第二终端建立PC5连接。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
图5是本申请实施例提供的终端发现方法的流程示意图之四,包括:
步骤500,第二终端获取与第一服务相关的第二配置信息;
步骤510,所述第二终端接收第一终端发送的第一请求消息;
其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述 第一服务为终端发现相关服务。
可选地,第一服务可以是第一终端希望获取第一终端与其他终端的相对信息(如Relative position),也可以是绝对信息(例如geographical location、velocity);也可以是第一终端希望获取第一终端与某个网络设备(other network elements,可以理解为网络侧设备、基站、RSU等)之间的相对信息、绝对信息。
可选地,第二终端可以获取与第一服务相关的第二配置信息,该第二配置信息用于为第二终端配置第二终端在执行第一服务时需要用到的信息;
可选地,第一终端在需要发现支持所述第一服务的第二终端时,可以向第二终端发送第一请求消息;第二终端接收到第一请求消息后,则可以得知第一终端为需要发现支持第一服务的终端,则可以实现支持第一服务的终端发现另一个支持第一服务的终端;
可选地,并不是每次执行第一服务时,所述第二网络侧都需要向第二终端发送第二配置信息。所述第二网络侧向第二终端发送第二配置信息的时机在本申请实施例中不作限定。
在一种实施方式中,所述第二终端在第二网络侧进行注册时,所述第二网络侧为所述第二终端发送所述第二配置信息。
在另一种实施方式中,所述第二终端可以在任何时刻请求获取或更新所述第二配置信息。
在另一种实施方式中,所述第二配置信息通过预配置的方式配置在所述第二终端中。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终 端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第二终端接收第一终端发送的第一请求消息之后,所述方法还包括:
所述第二终端发送第三请求消息,所述第三请求消息用于请求与所述第一终端建立PC5连接。
可选地,第二终端可以在接收第一终端发送的第一请求消息之后,第二终端发送第三请求消息,所述第三请求消息用于请求与所述第一终端建立PC5连接。
可选地,所述第一请求消息包括以下至少一项:
第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
所述第二终端的终端标识;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;
结果确定方式。
可选地,第一请求消息可以包括以下(a)-(i)中的任意一项或多项:
(a)第一指示信息,所述第一指示信息用于指示所述第一请求消息用于 所述第一服务;
在一种实施方式中,第一指示信息为长度可以为1比特,其中,比特0表示所述第一指示信息指示所述第一请求消息不用于第一服务;比特1表示所述第一指示信息指示所述第一请求消息用于第一服务;
(b)第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
在一种实施方式中,第一终端通过第一请求消息发送第三指示信息,指示所述第二终端发送第二辅助信息,第二终端接收到第三指示信息后,可以向第一终端发送第二辅助信息,比如可以通过第一请求响应消息向第一终端发送第二辅助信息,第一终端接收到第二辅助信息后,可以基于第二辅助信息判断第二终端是否支持第一服务;
(c)第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
在一种实施方式中,不同消息的消息类型可以包括:第一服务发现请求消息;第一服务发现请求响应消息;
在一种实施方式中,第一消息类型用于直接所在的消息的消息类型为第一服务发现请求消息;
(d)所述第一终端的终端标识,所述第一终端的终端标识包括以下至少一项:第一终端的身份标识、第一终端的设备标识、或第一终端的逻辑标识;
其中,所述逻辑标识,是指网络或应用服务器分配的可以唯一标识一个终端的逻辑标识,例如:特定的字符串组合、层二标识(layer-2 ID)、与业务信息相关的终端标识等、应用层管理和/或应用层分配的终端标识。
(e)所述第二终端的终端标识,所述第二终端的终端标识包括以下至少一项:第二终端的身份标识、第二终端的设备标识、或第二终端的逻辑标识;
(f)第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
(g)第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
(h)参考信号发送方式;
(i)结果确定方式。
在一种实施方式中,所述第一请求消息可以为现有机制中的PROSE PC5DISCOVERY消息;
在一种实施方式中,第一请求消息可以为RANGING PC5 DISCOVERY消息,即不同于已有消息的新消息。
可选地,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
可选地,第一辅助信息可以包括第一终端的参考信号信息;
可选地,第一辅助信息可以包括第一终端的算法信息;
可选地,第一辅助信息可以包括第一终端的测量需求信息;
可选地,第一辅助信息可以包括所述第一终端的参考信号信息和所述第一终端的算法信息;
可选地,第一辅助信息可以包括所述第一终端的参考信号信息和所述第一终端的测量需求信息;
可选地,第一辅助信息可以包括所述第一终端的算法信息和所述第一终端的测量需求信息;
可选地,不论第一辅助信息包括一项还是包括多项,在第一终端或第二终端基于第一辅助信息实现发现支持第一服务的终端时,可以使用第一辅助信息中包括的所有项或部分项。可选地,第一终端的算法信息为第二终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;
可选地,第一终端的参考信号信息可以表示在使用测距和定位服务时,第一终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
可选地,第一终端的测量需求信息包括测量精度和/或QoS信息;
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
可选地,第一业务信息可以包括以下至少一项:
第一终端对应的业务码,第一终端对应的业务码用于以下至少一项:标识第一终端需要使用第一服务、标识第一终端被授权使用第一服务、或验证其他终端被授权使用第一服务;
第一终端对应的业务标识,所述业务标识表示所标识的业务被授权使用第一服务;
第一终端对应的业务类型。
可选地,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
可选地,第一终端可以向第二终端发送第一终端的地址信息;
可选地,第一终端可以向第二终端发送第二终端的地址信息;
可选地,第一终端可以向第二终端发送第一终端的地址信息和第二终端的地址信息;
可选地,第一终端的地址信息可以包含在第一请求消息中,也可以在第一请求消息之外且伴随着第一请求消息一起发送;
可选地,第二终端的地址信息可以包含在第一请求消息中,也可以在第一请求消息之外且伴随着第一请求消息一起发送;
可选地,第一终端的地址信息和第二终端的地址信息可以包含在第一请求消息中,也可以在第一请求消息之外且伴随着第一请求消息一起发送;
可选地,在第一终端向第二终端发送第一请求消息之后,若第二终端基于第一请求信息确定第一终端与第二终端均支持第一服务,则第二终端可以直接发起执行第一服务相关的流程,则第一终端在向第二终端发送第一请求消息之后且第二终端启动了第一服务相关流程的情况下,第一终端可以直接进入到与第二终端执行第一服务的流程。
可选地,所述第二配置信息包括以下至少一项:
所述第二配置信息的有效时间;
第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
第二终端的第一授权列表,所述第二终端的第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
第二终端的终端标识,所述第二终端的终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第二终端的测量需求信息;
第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,第二网络侧设备可以预先为第二终端配置与第一服务相关的参数或策略(可以称为第二配置信息);
第二配置信息可以包括以下(u1)-(u12)任意一项或多项:
(u 1)所述第二配置信息的有效时间;
可选地,所述有效时间表示所述第二配置信息的有效时间;
可选地,在所述有效时间结束后,所述第二配置信息失效。
(u2)第二终端的第一授权信息,所述第二终端的第一授权信息用于指示第二终端由无线接入网提供服务时被授权的发现方法类型;
可选地,第二终端的第一授权信息可以是,在由无线接入网RAN提供服务时(served by RAN),是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下(u21)-(u22)任一项:
(u21)第二终端被授权使用model B进行使用与第一服务相关的发现服务,其中model B表示第二终端会基于第一请求消息发送第一请求响应消息的发现方式;
(u22)第二终端被授权使用model A进行使用与第一服务相关的发现服务,其中model A表示第二终端基于第一请求消息确定第一终端和第二终端均的发现方式;
(u3)第二终端的第一授权列表,所述第二终端的第一授权列表用于指示第二终端由无线接入网提供服务时进行发现的PLMN列表;
可选地,第二终端的第一授权列表可以是,在由RAN提供服务时,授权使用第一服务的PLMN列表;所述授权使用第一服务的PLMN列表包括以下(u31)-(u34)中的至少一项:
(u31)第二终端被授权使用model A announcing进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(u32)第二终端被授权使用model A monitoring进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(u33)第二终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(u34)第二终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID。
(u4)第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
可选地,第二终端的第二授权信息可以是,在未由无线接入网提供服务时,是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下以下(u41)-(u42)中的至少一项:
(u41)被授权使用model A进行使用与第一服务相关的发现服务;
(u42)被授权使用model B进行使用与第一服务相关的发现服务;
(u5)第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
(u6)第二终端的终端标识,所述第二终端的终端标识包括以下至少一项:第二终端的身份标识、第二终端的设备标识、或第二终端的逻辑标识, 例如第二终端的SUCI,第二终端的GUTI,第二终端的IMSI,第二终端的PEI,第二终端的IMEI,第二终端的SUPI,第二终端的TMSI,第二终端的GPSI,第二终端的5G-S-TMSI中的任意一项或多项;
(u7)第二终端的安全信息,所述第二终端的安全信息表示与所述第一服务有关的安全参数;
例如第二终端的加密密钥和/或第一终端的安全参数;
(u8)第二终端的算法信息,所述第二终端的算法信息用于指示使用所述第一服务需要使用的算法;
可选地,第二终端的算法信息为第二终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;
(u9)第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
可选地,第二终端的参考信号信息可以表示在使用测距和定位服务时,第二终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
(u10)第二终端的测量需求信息;
可选地,第二终端的测量需求信息包括测量精度和/或QoS信息;
(u11)第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;
(u12)第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,所述方法还包括:
所述第二终端基于所述第三授权指示信息确定参考信号发送方式。
可选地,第二终端可以基于所述第三授权指示信息确定参考信号发送方式为以下任一项或多项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;
事件触发发送参考信号。
可选地,所述方法还包括:
所述第二终端基于所述第四授权指示信息确定结果确定方式。
可选地,第二终端基于所述第四授权指示信息确定结果确定方式包括以下至少一项:
第一终端确定所述第一结果;
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
在一些实施方式中,所述参考信号发送方式和所述结果确定方式具有关联关系。例如,所述第一终端在所述第一请求消息中将所述参考信号发送方式设置为“第一终端发送参考信号”,则第二终端在接收所述第一请求消息后,所述第二终端可以推断出所述第一服务的“结果确定方式”为“第二终端确定所述第一结果”。
可选地,所述方法还包括:
所述第二终端基于所述第一请求消息,执行第二操作;所述第二操作包括以下至少一项:
所述第二终端基于所述第二配置信息中所述第二业务信息,和所述第一请求消息中所述第一业务信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中所述第二终端的参考信号信息,和所述第一请求消息中所述第一终端的参考信号信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中所述第二终端的算法信息,和所述第一请求消息中所述第一终端的算法信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中所述第二终端的测量需求信息,和所述第一请求消息中所述第一终端的测量需求信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中第三授权指示信息,和所述第一请求消息中参考信号发送方式,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中第四授权指示信息,和所述第一请求消息中结果确定方式,确定所述第二终端提供第一服务。
可选地,可以由第二终端基于第一请求消息判断第一终端和第二终端是否可以执行第一服务;在此情况下,第二终端可以在收到第一请求消息后,基于第一请求消息确定可以与第一终端执行第一服务,则可以直接发起执行第一服务的流程;
可选地,第二终端在确定第一结果时,可以是基于所述第一请求消息,执行第二操作;所述第二操作包括以下至少一项:
所述第二终端基于所述第二配置信息中所述第二业务信息,和所述第一请求消息中所述第一业务信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中所述第二终端的参考信号信息,和所述第一请求消息中所述第一终端的参考信号信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中所述第二终端的算法信息,和所 述第一请求消息中所述第一终端的算法信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中所述第二终端的测量需求信息,和所述第一请求消息中所述第一终端的测量需求信息,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中第三授权指示信息,和所述第一请求消息中参考信号发送方式,确定所述第二终端提供第一服务;
所述第二终端基于所述第二配置信息中第四授权指示信息,和所述第一请求消息中结果确定方式,确定所述第二终端提供第一服务。
其中,第二终端基于所述第二配置信息中所述第二业务信息,和所述第一请求消息中所述第一业务信息,确定所述第一终端和第二终端可以执行第一服务,可以是:第二终端确定所述第二配置信息中所述第二业务信息和所述第一请求消息中所述第一业务信息匹配,则确定所述第一终端和第二终端可以执行第一服务;
其中,所述第二终端基于所述第二配置信息中所述第二终端的参考信号信息,和所述第一请求消息中所述第一终端的参考信号信息,确定所述第一终端和第二终端可以执行第一服务,可以是:第二终端确定第二配置信息中所述第二终端的参考信号信息和所述第一请求消息中所述第一终端的参考信号信息匹配,则确定所述第一终端和第二终端可以执行第一服务;
其中,所述第二终端基于所述第二配置信息中所述第二终端的算法信息,和所述第一请求消息中所述第一终端的算法信息,确定所述第一终端和第二终端可以执行第一服务,可以是:第二终端确定第二配置信息中所述第二终端的算法信息和所述第一请求消息中所述第一终端的算法信息匹配,则确定所述第一终端和第二终端可以执行第一服务;
其中,所述第二终端基于所述第二配置信息中所述第二终端的测量需求信息,和所述第一请求消息中所述第一终端的测量需求信息,确定所述第一终端和第二终端可以执行第一服务,可以是:第二终端确定第二配置信息中 所述第二终端的测量需求信息和所述第一请求消息中所述第一终端的测量需求信息匹配,则确定所述第一终端和第二终端可以执行第一服务;
其中,所述第二终端基于所述第二配置信息中第三授权指示信息,和所述第一请求消息中参考信号发送方式,确定所述第一终端和第二终端可以执行第一服务,可以是:第二终端确定所述第二配置信息中第三授权指示信息和所述第一请求消息中参考信号发送方式匹配,则确定所述第一终端和第二终端可以执行第一服务;
其中,所述第二终端基于所述第二配置信息中第四授权指示信息,和所述第一请求消息中结果确定方式,确定所述第一终端和第二终端可以执行第一服务,可以是:第二终端确定所述第二配置信息中第四授权指示信息和所述第一请求消息中结果确定方式匹配,则确定所述第一终端和第二终端可以执行第一服务;
可选地,匹配可以是相同或者相似,相似可以是对应的值属于同一区间或指示的内容的实质含义相同。
可选地,所述方法还包括:
所述第二终端向所述第一终端发送第一请求响应消息;所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选地,可以由第一终端判断第二终端是否支持第一服务;在此情况下,第一终端可以基于第二终端发送第一请求响应消息判断第二终端是否支持第一服务,在此情况下,第二终端可以在收到第一请求消息后只需要确定第一请求消息的消息类型为第一服务发现请求消息则直接发送第一请求消息响应;
可选地,可以由第一终端判断第二终端是否支持第一服务,且由第二终端基于第一请求消息判断第一终端和第二终端可以执行第一服务;在此情况下,第二终端可以在收到第一请求消息后,基于第一请求消息确定第一终端和第二终端可以执行第一服务,则发送第一请求消息响应,第一终端接收到第一请求消息响应后,可以基于第一请求消息响应确定第二终端也支持第一服务。
其中,第二终端在判断第一终端和第二终端均支持第一服务时,可以是基于以下至少一项确定的:第一请求消息、应用层指示、网络侧指示、或预配置信息。
可选地,所述第二终端向所述第一终端发送第一请求响应消息,包括:
所述第二终端基于第三指示信息,发送第二辅助信息;所述第二辅助信息在所述第一请求响应消息中。
可选地,在第一请求消息中包括第三指示信息的情况下,第二终端可以基于第三指示信息发送第二辅助信息;
可选地,第二辅助信息可以是第一请求响应消息中的一项。
可选地,所述第一请求响应消息包括以下至少一项:
第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
第二消息类型,用于指示所述第一请求响应消息的消息类型;
第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
所述第一终端的终端标识;
所述第二终端的终端标识;
第二辅助信息,所述第二终端的第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,第一请求响应消息可以包括以下(j)-(q)任意一项或多项:
(j)第二指示信息,第二指示信息用于指示所述第一请求响应消息用于所述第一服务;
(k)第二消息类型,第二消息类型用于指示所述第一请求响应消息的消息类型;
在一种实施方式中,不同消息的消息类型可以包括:第一服务发现请求 消息;第一服务发现请求响应消息;
在一种实施方式中,第二消息类型用于直接指示所在的消息类型为第一服务发现请求响应消息;
(l)第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
(m)所述第一终端的终端标识;所述第一终端的终端标识包括以下至少一项:第一终端的身份标识、第一终端的设备标识、或第一终端的逻辑标识;
(n)所述第二终端的终端标识;所述第二终端的终端标识包括以下至少一项:第二终端的身份标识、第二终端的设备标识、或第二终端的逻辑标识;
(o)第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
(p)参考信号发送方式;
(q)结果确定方式。
可选地,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
可选地,第二终端可以向第一终端发送第一终端的地址信息;
可选地,第二终端可以向第一终端发送第二终端的地址信息;
可选地,第二终端可以向第一终端发送第一终端的地址信息和第二终端 的地址信息;
可选地,第一终端的地址信息可以包含在第一请求响应消息中,也可以在第一请求响应消息之外且伴随着第一请求响应消息一起发送;
可选地,第二终端的地址信息可以包含在第一请求响应消息中,也可以在第一请求响应消息之外且伴随着第一请求响应消息一起发送;
可选地,第一终端的地址信息和第二终端的地址信息可以包含在第一请求响应消息中,也可以在第一请求响应消息之外且伴随着第一请求响应消息一起发送;
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选地,第二业务信息可以包括以下至少一项:
第二终端对应的业务码,第二终端对应的业务码用于以下至少一项:标识第二终端需要使用第一服务、标识第二终端被授权使用第一服务、或验证其他终端被授权使用第一服务;
第二终端对应的业务标识,所述业务标识表示所标识的业务被授权使用第一服务;
第二终端对应的业务类型;
在一种实施方式中,所述第一请求响应消息包括所述第二业务信息,也可以理解为,所述第二终端可以提供与第二业务信息相关的所述第一服务。例如,在所述第二业务信息为业务标识时,可以理解为,第二终端可以提供与所述业务标识所标识的业务相关的所述第一服务。
可选地,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
可选地,第二辅助信息可以包括第二终端的参考信号信息;
可选地,第二辅助信息可以包括第二终端的算法信息;
可选地,第二辅助信息可以包括第二终端的测量需求信息;
可选地,第二辅助信息可以包括所述第二终端的参考信号信息和所述第 二终端的算法信息;
可选地,第二辅助信息可以包括所述第二终端的参考信号信息和所述第二终端的测量需求信息;
可选地,第二辅助信息可以包括所述第二终端的算法信息和所述第二终端的测量需求信息;
可选地,不论第二辅助信息包括一项还是包括多项,在第一终端或第二终端基于第二辅助信息实现发现支持第一服务的终端时,可以使用第二辅助信息中包括的所有项或部分项。
可选地,第二终端的算法信息为第二终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;
可选地,第二终端的参考信号信息可以表示在使用测距和定位服务时,第二终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
可选地,第二终端的测量需求信息包括测量精度和/或QoS信息。
可选地,所述参考信号发送方式包括以下至少一项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;
事件触发发送参考信号。
可选地,参考信号发送方式包括以下任意一项或多项:
第一终端发送参考信号;或
第二终端发送参考信号;或
第一终端和第二终端发送参考信号;或
立即发送参考信号;或
周期性发送参考信号;或
事件触发发送参考信号。
可选地,所述结果确定方式包括以下至少一项:
第一终端确定所述第一结果、第二终端确定所述第一结果、第一终端和第二终端确定所述第一结果。
可选地,结果确定方式包括以下任意一项或多项:
第一终端确定所述第一结果;或
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
在一些实施方式中,所述参考信号发送方式和所述结果确定方式具有关联关系。例如,所述第一终端在所述第一请求消息中将所述参考信号发送方式设置为“第一终端发送参考信号”,则第二终端在接收所述第一请求消息后,所述第二终端可以推断出所述第一服务的“结果确定方式”为“第二终端确定所述第一结果”。
可选地,第一结果可以为执行第一服务获得的结果,比如两个或多个UE之间的距离和/或一个UE(即目标UE)与另一个UE(即参考UE)之间的方向和/或相对定位;可选地,第一结果可以为第一终端获取的与第二终端相关的第一服务对应的结果,第一结果可以包括以下至少一项:
第二终端的绝对位置信息、第二终端与第一终端的相对位置信息、精确度信息或第二定位参考信号的测量结果。
具体地,第二终端的绝对位置信息例如TA,注册区域RA,小区ID,经纬度,海拔,水平方向角或仰角方向角等;
相对位置信息,例如第二终端相对于第一终端的相对角度或相对距离等;
精确度信息表示第一结果的精确度信息,例如可以包括以下至少一项:结果量纲信息,测量精度,误差信息;其中,结果量纲信息例如,角度、米、厘米等;测量精度例如高精度,超高精度,低精度;误差信息,包括:误差 精度信息和误差量纲信息,误差精度信息例如,高误差、低误差、超低误差;误差量纲信息例如,角度,米,厘米等。
测量结果表示对第二定位参考信号的测量结果,例如,信号强度、根据第二定位参考信号计算出的某个测量量的值等。
可选地,所述第二终端向所述第一终端发送第一请求响应消息,包括:
所述第二终端基于第一信息,向所述第一终端发送第一请求响应消息,所述第一信息包括以下至少一项:
第一请求消息;应用层指示信息;网络侧指示信息;或预配置信息。
可选地,第二终端可以在收到第一请求消息后,基于第一请求消息确定第一终端支持第一服务,并确定第二终端也支持第一服务,则发送第一请求消息响应,第一终端接收到第一请求消息响应后,可以基于第一请求消息响应确定第二终端也支持第一服务。
其中,第二终端在判断第一终端和第二终端均支持第一服务时,可以是基于以下至少一项确定的:第一请求消息、应用层指示信息、网络侧指示信息、或预配置信息。
可选地,在所述第一信息包括所述应用层指示信息的情况下,所述第二终端基于第一信息,向所述第一终端发送第一请求响应消息,包括以下至少一项:
所述第二终端基于所述第一请求消息中的所述参考信号发送方式,和所述应用层指示信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中的所述结果确定方式,和所述应用层指示信息中所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中的所述第一业务信息,和所述应用层指示信息中所包括的业务信息,向所述第一终端发送第一请求响应消息;或
所述第二终端基于所述第一请求消息中的所述第一终端标识,和所述应用层指示信息中所包括的终端标识,向所述第一终端发送第一请求响应消息。
可选地,应用层指示信息中可以包括以下至少一项:
参考信号发送方式;
结果确定方式;
业务信息;
终端标识;
可选地,第二终端基于所述第一请求消息中的所述参考信号发送方式,和所述应用层指示信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息,可以是:第二终端确定第一请求消息中的所述参考信号发送方式和所述应用层指示信息所包括的参考信号发送方式匹配,则向所述第一终端发送第一请求响应消息;
可选地,所述第二终端基于所述第一请求消息中的所述结果确定方式,和所述应用层指示信息中所包括的结果确定方式,向所述第一终端发送第一请求响应消息,可以是:第二终端可以确定第一请求消息中的所述结果确定方式和所述应用层指示信息中所包括的结果确定方式匹配,则向所述第一终端发送第一请求响应消息
可选地,所述第二终端基于所述第一请求消息中的所述第一业务信息,和所述应用层指示信息中所包括的业务信息,向所述第一终端发送第一请求响应消息,可以是:所述第二终端确定第一请求消息中的所述第一业务信息和所述应用层指示信息中所包括的业务信息匹配,则向所述第一终端发送第一请求响应消息;
可选地,所述第二终端基于所述第一请求消息中的所述第一终端标识,和所述应用层指示信息中所包括的终端标识,向所述第一终端发送第一请求响应消息,可以是:第二终端确定第一请求消息中的所述第一终端标识和所述应用层指示信息中所包括的终端标识匹配,向所述第一终端发送第一请求响应消息;
可选地,匹配可以是相同或者相似,相似可以是对应的值属于同一区间或指示的内容的实质含义相同;
可选地,在所述第一信息包括所述预配置信息的情况下,所述第二终端基于第一信息,向所述第一终端发送第一请求响应消息,包括以下至少一项:
所述第二终端基于所述第一请求消息中的所述参考信号发送方式,和所述预配置信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中的所述结果确定方式,和所述预配置信息所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中所述第一终端的终端标识,和所述预配置信息所包括的第一终端的终端标识,向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中的所述第一业务信息,和所述预配置信息所包括的业务信息,向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中的第二终端的地址信息,和所述预配置信息所包括的第二终端的地址信息,向所述第一终端发送第一请求响应消息;或
所述第二终端基于所述第一请求消息中所述第二终端的终端标识,和所述预配置信息所包括的第二终端的终端标识,向所述第一终端发送第一请求响应消息。
所述第二终端基于所述第一请求消息中的所述参考信号发送方式,和所述预配置信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息,可以是,
所述第二终端基于所述第一请求消息中的所述结果确定方式,和所述预配置信息所包括的结果确定方式,向所述第一终端发送第一请求响应消息,可以是,所述第二终端确定所述第一请求消息中的所述结果确定方式和所述预配置信息所包括的结果确定方式匹配,则向所述第一终端发送第一请求响 应消息;
所述第二终端基于所述第一请求消息中所述第一终端的终端标识,和所述预配置信息所包括的第一终端的终端标识,向所述第一终端发送第一请求响应消息,可以是,所述第二终端确定所述第一请求消息中所述第一终端的终端标识和所述预配置信息所包括的第一终端的终端标识匹配,则向所述第一终端发送第一请求响应消息
所述第二终端基于所述第一请求消息中的所述第一业务信息,和所述预配置信息所包括的业务信息,向所述第一终端发送第一请求响应消息,可以是,所述第二终端确定所述第一请求消息中的所述第一业务信息和所述预配置信息所包括的业务信息匹配,则向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中的第二终端的地址信息,和所述预配置信息所包括的第二终端的地址信息,向所述第一终端发送第一请求响应消息,可以是,所述第二终端确定所述第一请求消息中的第二终端的地址信息和所述预配置信息所包括的第二终端的地址信息匹配,则向所述第一终端发送第一请求响应消息;
所述第二终端基于所述第一请求消息中所述第二终端的终端标识,和所述预配置信息所包括的第二终端的终端标识,向所述第一终端发送第一请求响应消息,可以是,所述第二终端确定所述第一请求消息中所述第二终端的终端标识和所述预配置信息所包括的第二终端的终端标识匹配,则向所述第一终端发送第一请求响应消息。
可选地,预配置信息可以包括以下至少一项:
参考信号发送方式;
结果确定方式;
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
图6是本申请实施例提供的终端发现方法的流程示意图之五,如图6所示,该方法包括如下步骤:
步骤600,第一网络侧向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
可选地,第第一网络侧设备可以预先为第一终端配置与第一服务相关的参数或策略(可以称为第一配置信息)。
可选地,并不是每次执行第一服务时,所述第一网络侧都需要向第一终端发送第一配置信息。所述第一网络侧向第一终端发送第一配置信息的时机在本申请实施例中不作限定。
在一种实施方式中,所述第一终端在第一网络侧进行注册时,所述第一网络侧为所述第一终端发送所述第一配置信息。
在另一种实施方式中,所述第一终端可以在任何时刻请求获取或更新所述第一配置信息。
在另一种实施方式中,所述第一配置信息通过预配置的方式配置在所述第一终端中。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第一配置信息包括以下至少一项:
所述第一配置信息的有效时间;
第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述第一终端由无线接入网提供服务时进行发现的PLMN列表;
第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端未由无线接入网提供服务时被授权的发现方法类型;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第一终端的测量需求信息;
第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
第一配置信息可以包括以下(t1)至(t12)中的任意一项或多项:
(t1)所述第一配置信息的有效时间;
可选地,所述有效时间表示所述第一配置信息的有效时间;
可选地,在所述有效时间结束后,所述第一配置信息失效。
(t2)第一终端的第一授权信息,所述第一终端的第一授权信息用于指示第一终端由无线接入网提供服务时被授权的发现方法类型;
可选地,第一终端的第一授权信息可以是,在由无线接入网RAN提供服务时(served by RAN),是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下(t21)-(t22)任一项:
(t21)第一终端被授权使用model B进行使用与第一服务相关的发现服 务,其中model B表示第二终端会基于第一请求消息发送第一请求响应消息的发现方式;
(t22)第一终端被授权使用model A进行使用与第一服务相关的发现服务,其中model A表示第二终端基于第一请求消息确定第一终端和第二终端均的发现方式;
(t3)第一终端的第一授权列表,所述第一终端的第一授权列表用于指示第一终端由无线接入网提供服务时进行发现的PLMN列表;
可选地,第一授权列表可以是,在由RAN提供服务时,授权使用第一服务的PLMN列表;所述授权使用第一服务的PLMN列表包括以下(t31)-(t34)中的至少一项:
(t31)第一终端被授权使用model A announcing进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(t32)第一终端被授权使用model A monitoring进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(t33)第一终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(t34)第一终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID。
(t4)第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端未由无线接入网提供服务时被授权的发现方法类型;
可选地,第一终端的第二授权信息可以是,在未由无线接入网提供服务时,是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下以下(t41)-(t42)中的至少一项:
(t41)被授权使用model A进行使用与第一服务相关的发现服务;
(t42)被授权使用model B进行使用与第一服务相关的发现服务;
(t5)第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
(t6)第一终端的终端标识,所述第一终端的终端标识包括以下至少一项:第一终端的身份标识、第一终端的设备标识、或第一终端的逻辑标识,例如第一终端的SUCI,第一终端的GUTI,第一终端的IMSI,第一终端的PEI,第一终端的IMEI,第一终端的SUPI,第一终端的TMSI,第一终端的GPSI,第一终端的5G-S-TMSI中的任意一项或多项;
(t7)第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
例如第一终端的加密密钥和/或第一终端的安全参数;
(t8)第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;
可选地,第一终端的算法信息为第一终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;需要指出的是,所述算法信息有时也可以称为方法信息。
(t9)第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
可选地,第一终端的参考信号信息可以表示在使用测距和定位服务时,第一终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
(t10)第一终端的测量需求信息;
可选地,第一终端的测量需求信息包括测量精度和/或QoS信息;
(t11)第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;
(t12)第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
可选地,第一业务信息可以包括以下至少一项:
第一终端对应的业务码,第一终端对应的业务码用于以下至少一项:标识第一终端需要使用第一服务、标识第一终端被授权使用第一服务、或验证其他终端被授权使用第一服务;
第一终端对应的业务标识,所述业务标识表示所标识的业务被授权使用第一服务;
第一终端对应的业务类型;
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
图7是本申请实施例提供的终端发现方法的流程示意图之六,如图7所示,该方法包括如下步骤:
步骤700,第二网络侧向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
可选地,第二网络侧设备可以预先为第二终端配置与第一服务相关的参数或策略(可以称为第二配置信息);
可选地,并不是每次执行第一服务时,所述第二网络侧都需要向第二终端发送第二配置信息。所述第二网络侧向第二终端发送第二配置信息的时机在本申请实施例中不作限定。
在一种实施方式中,所述第二终端在第二网络侧进行注册时,所述第二网络侧为所述第二终端发送所述第二配置信息。
在另一种实施方式中,所述第二终端可以在任何时刻请求获取或更新所述第二配置信息。
在另一种实施方式中,所述第二配置信息通过预配置的方式配置在所述第二终端中。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第二配置信息包括以下至少一项:
所述第二配置信息的有效时间;
第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
第二终端的第一授权列表,所述第二终端的第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
第二终端的终端标识,所述终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第二终端的测量需求信息;
第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,第二配置信息可以包括以下(u1)-(u12)任意一项或多项:
(u 1)所述第二配置信息的有效时间;
可选地,所述有效时间表示所述第二配置信息的有效时间;
可选地,在所述有效时间结束后,所述第二配置信息失效。
(u2)第二终端的第一授权信息,所述第二终端的第一授权信息用于指示第二终端由无线接入网提供服务时被授权的发现方法类型;
可选地,第二终端的第一授权信息可以是,在由无线接入网RAN提供服务时(served by RAN),是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下(u21)-(u22)任一项:
(u21)第二终端被授权使用modelB进行使用与第一服务相关的发现服务,其中model B表示第二终端会基于第一请求消息发送第一请求响应消息的发现方式;
(u22)第二终端被授权使用model A进行使用与第一服务相关的发现服务,其中modelA表示第二终端基于第一请求消息确定第一终端和第二终端均的发现方式;
(u3)第二终端的第一授权列表,所述第二终端的第一授权列表用于指示第二终端由无线接入网提供服务时进行发现的PLMN列表;
可选地,第二终端的第一授权列表可以是,在由RAN提供服务时,授权使用第一服务的PLMN列表;所述授权使用第一服务的PLMN列表包括以下(u31)-(u34)中的至少一项:
(u31)第二终端被授权使用model A announcing进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(u32)第二终端被授权使用model A monitoring进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(u33)第二终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID;
(u34)第二终端被授权使用model B discoverer operation进行发现的PLMN列表,其中该PLMN列表包括至少一个PLMN ID。
(u4)第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
可选地,第二终端的第二授权信息可以是,在第二终端未由无线接入网提供服务时,是否被授权使用第一服务相关的发现服务;所述是否被授权使用第一服务相关的发现服务;比如可以包括以下以下(u41)-(u42)中的至少一项:
(u41)第二终端被授权使用model A进行使用与第一服务相关的发现服务;
(u42)第二终端被授权使用model B进行使用与第一服务相关的发现服务;
(u5)第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
(u6)第二终端的终端标识,所述第二终端的终端标识包括以下至少一项:第二终端的身份标识、第二终端的设备标识、或第二终端的逻辑标识,例如第二终端的SUCI,第二终端的GUTI,第二终端的IMSI,第二终端的PEI,第二终端的IMEI,第二终端的SUPI,第二终端的TMSI,第二终端的GPSI,第二终端的5G-S-TMSI中的任意一项或多项;
(u7)第二终端的安全信息,所述第二终端的安全信息表示与所述第一服务有关的安全参数;
例如第二终端的加密密钥和/或第一终端的安全参数;
(u8)第二终端的算法信息,所述第二终端的算法信息用于指示使用所述第一服务需要使用的算法;
可选地,第二终端的算法信息为第二终端在执行第一服务所使用的算法信息,所述算法信息包括以下至少一项:算法名称、算法标识、算法参数、算法精度等;需要指出的是,所述算法信息有时也可以称为方法信息。
(u9)第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
可选地,第二终端的参考信号信息可以表示在使用测距和定位服务时,第二终端所使用的参考信号的信息,包括以下至少一项:参考信号的名称、参考信号的标识、参考信号的频率、参考信号的周期、参考信号的功率、参考信号的精度;
(u10)第二终端的测量需求信息;
可选地,第二终端的测量需求信息包括测量精度和/或QoS信息;
(u11)第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;
(u12)第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选地,第二业务信息可以包括以下至少一项:
第二终端对应的业务码,第二终端对应的业务码用于以下至少一项:标识第二终端需要使用第一服务、标识第二终端被授权使用第一服务、或验证其他终端被授权使用第一服务;
第二终端对应的业务标识,所述业务标识表示所标识的业务被授权使用第一服务;
第二终端对应的业务类型。
在一种实施方式中,所述第一请求响应消息包括所述第二业务信息,也可以理解为,所述第二终端可以提供与第二业务信息相关的所述第一服务。例如,在所述第二业务信息为业务标识时,可以理解为,第二终端可以提供与所述业务标识所标识的业务相关的所述第一服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例提供的终端发现方法,执行主体可以为终端发现装置。本申请实施例中以终端发现装置执行终端发现方法为例,说明本申请实施例提供的终端发现装置。
图8是本申请实施例提供的终端发现装置的结构示意图之一,如图8所示,所述装置800包括:第一获取模块801和第一发送模块802,其中:
第一获取模块801,用于获取与第一服务相关的第一配置信息;
第一发送模块802,用于向第二终端发送第一请求消息;
其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第一请求消息包括以下至少一项:
第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
所述第二终端的终端标识;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、 第一终端对应的业务标识、或第一终端对应的业务类型。
可选地,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
可选地,所述装置还包括第一接收模块,所述第一接收模块用于:
在所述向第二终端发送第一请求消息之后,接收所述第二终端发送的第一请求响应消息,所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选地,所述第一请求响应消息包括以下至少一项:
第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
第二消息类型,用于指示所述第一请求响应消息的消息类型;
第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
所述第一终端的终端标识;
所述第二终端的终端标识;
第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选地,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
可选地,所述第二辅助信息包括以下至少一项:所述第二终端的参考信 号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
可选地,所述参考信号发送方式包括以下至少一项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;或
事件触发发送参考信号。
可选地,所述结果确定方式包括以下至少一项:
第一终端确定所述第一结果;
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
可选地,所述装置还包括第一确定模块,所述第一确定模块用于:
在所述接收所述第二终端发送的第一请求响应消息之后,基于所述第一请求响应消息,执行第一操作,其中,所述第一操作包括以下至少一项:
基于所述第二指示信息与所述第一指示信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第一终端的终端标识与所述第一请求消息中所述第一终端的终端标识,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二业务信息与所述第一请求消息中所述第一业务信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的参考信号信息与所述第一请求消息中所述第一终端的参考信号信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息,确定第二终端支持第一服务。
可选地,所述第一辅助信息还包括以下至少一项:
第一终端的能力信息;
第一终端的位置信息;
第一终端的地址信息;
第一终端的安全信息;
第一终端的测量信息;
所述第二辅助信息还包括以下至少一项:
第二终端的能力信息;
第二终端的位置信息;
第二终端的地址信息;
第二终端的安全信息;
第二终端的测量信息。
可选地,所述第一配置信息包括以下至少一项:
所述第一配置信息的有效时间;
第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述第一终端由无线接入网提供服务时进行发现的PLMN列表;
第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端未由无线接入网提供服务时被授权的发现方法类型;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参 数;
第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;
第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第一终端的测量需求信息;
第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
可选地,所述装置还包括第二确定模块,所述第二确定模块用于:
基于所述第一授权指示信息确定参考信号发送方式。
可选地,所述装置还包括第三确定模块,所述第三确定模块用于:
基于所述第二授权指示信息确定结果确定方式。
可选地,所述装置还包括第二发送模块,所述第二发送模块用于:
在所述向第二终端发送第一请求消息之后,发送第二请求消息,所述第二请求消息用于请求与所述第二终端建立PC5连接。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例中的终端发现装置可以是电子设备,例如具有操作***的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的终端发现装置能够实现图2-图4的方法实施例实现 的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图9是本申请实施例提供的终端发现装置的结构示意图之二,如图9所示,所述装置900包括:第二获取模块901和第二接收模块902,其中:
第二获取模块901,用于获取与第一服务相关的第二配置信息;
第二接收模块902,用于接收第一终端发送的第一请求消息;
其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述第一服务为终端发现相关服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述装置还包括第三发送模块,所述第三发送模块用于:
在所述接收第一终端发送的第一请求消息之后,发送第三请求消息,所述第三请求消息用于请求与所述第一终端建立PC5连接。
可选地,所述第一请求消息包括以下至少一项:
第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
所述第二终端的终端标识;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务 的第二终端;
参考信号发送方式;
结果确定方式。
可选地,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
可选地,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
可选地,所述第二配置信息包括以下至少一项:
所述第二配置信息的有效时间;
第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
第二终端的第一授权列表,所述第二终端的第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
第二终端的终端标识,所述终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第二终端的测量需求信息;
第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,所述装置还包括第四确定模块,所述第四确定模块用于:
基于所述第三授权指示信息确定参考信号发送方式。
可选地,所述装置还包括第五确定模块,所述第五确定模块用于:
基于所述第四授权指示信息确定结果确定方式。
可选地,所述装置还包括第六确定模块,所述第六确定模块用于:
基于所述第一请求消息,执行第二操作;所述第二操作包括以下至少一项:
基于所述第二配置信息中所述第二业务信息,和所述第一请求消息中所述第一业务信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中所述第二终端的参考信号信息,和所述第一请求消息中所述第一终端的参考信号信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中所述第二终端的算法信息,和所述第一请求消息中所述第一终端的算法信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中所述第二终端的测量需求信息,和所述第一请求消息中所述第一终端的测量需求信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中第三授权指示信息,和所述第一请求消息中参考信号发送方式,确定所述第二终端提供第一服务;
基于所述第二配置信息中第四授权指示信息,和所述第一请求消息中结果确定方式,确定所述第二终端提供第一服务。
可选地,所述装置还包括第四发送模块,所述第四发送模块用于:
向所述第一终端发送第一请求响应消息;所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选地,所述第四发送模块具体用于:
基于第三指示信息,发送第二辅助信息;所述第二辅助信息在所述第一请求响应消息中。
可选地,所述第一请求响应消息包括以下至少一项:
第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
第二消息类型,用于指示所述第一请求响应消息的消息类型;
第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
所述第一终端的终端标识;
所述第二终端的终端标识;
第二辅助信息,所述第二终端的第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选地,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
可选地,所述参考信号发送方式包括以下至少一项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;
事件触发发送参考信号。
可选地,所述结果确定方式包括以下至少一项:
第一终端确定所述第一结果、第二终端确定所述第一结果、第一终端和第二终端确定所述第一结果。
可选地,所述第四发送模块具体用于:
基于第一信息,向所述第一终端发送第一请求响应消息,所述第一信息包括以下至少一项:
第一请求消息;应用层指示信息;网络侧指示信息;或预配置信息。
可选地,在所述第一信息包括所述应用层指示信息的情况下,所述第四发送模块具体用于以下至少一项:
基于所述第一请求消息中的所述参考信号发送方式,和所述应用层指示信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述结果确定方式,和所述应用层指示信息中所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述第一业务信息,和所述应用层指示信息中所包括的业务信息,向所述第一终端发送第一请求响应消息;或
基于所述第一请求消息中的所述第一终端标识,和所述应用层指示信息中所包括的终端标识,向所述第一终端发送第一请求响应消息。
可选地,在所述第一信息包括所述预配置信息的情况下,所述第四发送模块具体用于以下至少一项:
基于所述第一请求消息中的所述参考信号发送方式,和所述预配置信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述结果确定方式,和所述预配置信息所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中所述第一终端的终端标识,和所述预配置信息所包括的第一终端的终端标识,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述第一业务信息,和所述预配置信息所包括的业务信息,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的第二终端的地址信息,和所述预配置信息所包括的第二终端的地址信息,向所述第一终端发送第一请求响应消息;或
基于所述第一请求消息中所述第二终端的终端标识,和所述预配置信息所包括的第二终端的终端标识,向所述第一终端发送第一请求响应消息。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例中的终端发现装置可以是电子设备,例如具有操作***的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例中的终端发现装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的终端发现装置能够实现图5的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图10是本申请实施例提供的终端发现装置的结构示意图之三,如图10所示,所述装置1000包括:第五发送模块1001,其中:
第五发送模块1001,用于向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息 以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第一配置信息包括以下至少一项:
所述第一配置信息的有效时间;
第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述第一终端由无线接入网提供服务时进行发现的PLMN列表;
第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端的未由无线接入网提供服务时被授权的发现方法类型;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第一终端的测量需求信息;
第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、 第一终端对应的业务标识、或第一终端对应的业务类型。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例中的终端发现装置可以是电子设备,例如具有操作***的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的终端发现装置能够实现图6的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图11是本申请实施例提供的终端发现装置的结构示意图之四,如图11所示,所述装置1100包括:第六发送模块1101,其中:
第六发送模块1101,用于向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,所述第二配置信息包括以下至少一项:
所述第二配置信息的有效时间;
第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
第二终端的第一授权列表,所述第二终端的第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二 终端未由无线接入网提供服务时被授权的发现方法类型;
第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
第二终端的终端标识,所述终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第二终端的测量需求信息;
第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例中的终端发现装置可以是电子设备,例如具有操作***的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的终端发现装置能够实现图7的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
可选的,如图12所示,本申请实施例还提供一种通信设备1200,包括处理器1201和存储器1202,存储器1202上存储有可在所述处理器1201上运行的程序或指令,例如,该通信设备1200为第一终端时,该程序或指令被处理器1201执行时实现上述第一终端对应的终端发现方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1200为第二终端时,该程序或指令被处理器1201执行时实现上述第二终端对应的终端发现方法实施例的各个步骤,且能达到相同的技术效果;该通信设备1200为第一网络侧设备时,该程序或指令被处理器1201执行时实现上述第一网络侧设备对应的终端发现方法实施例的各个步骤,且能达到相同的技术效果;该通信设备1200为第二网络侧设备时,该程序或指令被处理器1201执行时实现上述第二网络侧设备对应的终端发现方法实施例的各个步骤,且能达到相同的技术效果;为避免重复,这里不再赘述。
本申请实施例还提供一种第一终端,包括处理器和通信接口,其中:
处理器,用于获取与第一服务相关的第一配置信息;
通信接口,用于向第二终端发送第一请求消息。
该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图13为实现本申请实施例的一种第一终端的硬件结构示意图。
该终端1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309以及处理器1310等中的至少部分部件。
本领域技术人员可以理解,终端1300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1310逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图13中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件, 或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元1304可以包括图形处理单元(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1306可包括显示面板13061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板13061。用户输入单元1307包括触控面板13071以及其他输入设备13072中的至少一种。触控面板13071,也称为触摸屏。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元1301接收来自网络侧设备的下行数据后,可以传输给处理器1310进行处理;另外,射频单元1301可以向网络侧设备发送上行数据。通常,射频单元1301包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器1309可用于存储软件程序或指令以及各种数据。存储器1309可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作***、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1309可以包括易失性存储器或非易失性存储器,或者,存储器1309可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate  SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1309包括但不限于这些和任意其它适合类型的存储器。
处理器1310可包括一个或多个处理单元;可选的,处理器1310集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作***、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。
其中,处理器1310,用于获取与第一服务相关的第一配置信息;
射频单元1301,用于向第二终端发送第一请求消息;
其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选的,所述第一请求消息包括以下至少一项:
第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
所述第二终端的终端标识;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选的,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
可选的,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
可选的,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
可选的,射频单元1301,还用于:
在所述向第二终端发送第一请求消息之后,接收所述第二终端发送的第一请求响应消息,所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选的,所述第一请求响应消息包括以下至少一项:
第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
第二消息类型,用于指示所述第一请求响应消息的消息类型;
第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
所述第一终端的终端标识;
所述第二终端的终端标识;
第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选的,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选的,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
可选的,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
可选的,所述参考信号发送方式包括以下至少一项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;或
事件触发发送参考信号。
可选的,所述结果确定方式包括以下至少一项:
第一终端确定所述第一结果;
第二终端确定所述第一结果;或
第一终端和第二终端确定所述第一结果。
可选的,处理器1310,还用于:
在所述接收所述第二终端发送的第一请求响应消息之后,基于所述第一请求响应消息,执行第一操作,其中,所述第一操作包括以下至少一项:
基于所述第二指示信息与所述第一指示信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第一终端的终端标识与所述第一请求 消息中所述第一终端的终端标识,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二业务信息与所述第一请求消息中所述第一业务信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的参考信号信息与所述第一请求消息中所述第一终端的参考信号信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息,确定第二终端支持第一服务;
基于所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息,确定第二终端支持第一服务。
可选的,所述第一辅助信息还包括以下至少一项:
第一终端的能力信息;
第一终端的位置信息;
第一终端的地址信息;
第一终端的安全信息;
第一终端的测量信息;
所述第二辅助信息还包括以下至少一项:
第二终端的能力信息;
第二终端的位置信息;
第二终端的地址信息;
第二终端的安全信息;
第二终端的测量信息。
可选的,所述第一配置信息包括以下至少一项:
所述第一配置信息的有效时间;
第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述第一终端由无线接入网提供服务时进行发现的PLMN列表;
第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端未由无线接入网提供服务时被授权的发现方法类型;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;
第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第一终端的测量需求信息;
第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
可选的,处理器1310,还用于:
基于所述第一授权指示信息确定参考信号发送方式。
可选的,处理器1310,还用于:
基于所述第二授权指示信息确定结果确定方式。
可选的,射频单元1301,还用于:
在所述向第二终端发送第一请求消息之后,发送第二请求消息,所述第二请求消息用于请求与所述第二终端建立PC5连接。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息 以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例还提供一种第二终端,包括处理器和通信接口,其中:
处理器,用于获取与第一服务相关的第二配置信息;
通信接口,用于接收第一终端发送的第一请求消息。
该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图14是实现本申请实施例的第二终端的硬件结构示意图。
该终端1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409以及处理器1410等中的至少部分部件。
本领域技术人员可以理解,终端1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1410逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图14中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元1404可以包括图形处理单元(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1406可包括显示面板14061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14061。用户输入单元1407包括触控面板14071以及其他输入设备14072中的至少一种。触控面板14071,也称为触摸屏。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元1401接收来自网络侧设备的下行数据后,可以传输给处理器1410进行处理;另外,射频单元1401可以向网络侧设备发送上行数据。通常,射频单元1401包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器1409可用于存储软件程序或指令以及各种数据。存储器1409可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作***、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1409可以包括易失性存储器或非易失性存储器,或者,存储器1409可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1409包括但不限于这些和任意其它适合类型的存储器。
处理器1410可包括一个或多个处理单元;可选的,处理器1410集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作***、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。
其中,处理器1410,用于获取与第一服务相关的第二配置信息;
射频单元1401,用于接收第一终端发送的第一请求消息;
其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述第一服务为终端发现相关服务。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
可选地,射频单元1401,还用于:
在所述接收第一终端发送的第一请求消息之后,发送第三请求消息,所述第三请求消息用于请求与所述第一终端建立PC5连接。
可选地,所述第一请求消息包括以下至少一项:
第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
所述第二终端的终端标识;
第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;
结果确定方式。
可选地,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
可选地,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
可选地,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
可选地,所述第二配置信息包括以下至少一项:
所述第二配置信息的有效时间;
第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
第二终端的第一授权列表,所述第二终端的第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
第二终端的终端标识,所述终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
第二终端的测量需求信息;
第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
可选地,处理器1410,还用于:
基于所述第三授权指示信息确定参考信号发送方式。
可选地,处理器1410,还用于:
基于所述第四授权指示信息确定结果确定方式。
可选地,处理器1410,还用于:
基于所述第一请求消息,执行第二操作;所述第二操作包括以下至少一项:
基于所述第二配置信息中所述第二业务信息,和所述第一请求消息中所述第一业务信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中所述第二终端的参考信号信息,和所述第一请求消息中所述第一终端的参考信号信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中所述第二终端的算法信息,和所述第一请求消息中所述第一终端的算法信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中所述第二终端的测量需求信息,和所述第一请求消息中所述第一终端的测量需求信息,确定所述第二终端提供第一服务;
基于所述第二配置信息中第三授权指示信息,和所述第一请求消息中参考信号发送方式,确定所述第二终端提供第一服务;
基于所述第二配置信息中第四授权指示信息,和所述第一请求消息中结果确定方式,确定所述第二终端提供第一服务。
可选地,射频单元1401,还用于:
向所述第一终端发送第一请求响应消息;所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
可选地,射频单元1401,还用于:
基于第三指示信息,发送第二辅助信息;所述第二辅助信息在所述第一请求响应消息中。
可选地,所述第一请求响应消息包括以下至少一项:
第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
第二消息类型,用于指示所述第一请求响应消息的消息类型;
第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
所述第一终端的终端标识;
所述第二终端的终端标识;
第二辅助信息,所述第二终端的第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
参考信号发送方式;或
结果确定方式。
可选地,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
可选地,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
可选地,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
可选地,所述参考信号发送方式包括以下至少一项:
第一终端发送参考信号;
第二终端发送参考信号;
第一终端和第二终端发送参考信号;
立即发送参考信号;
周期性发送参考信号;
事件触发发送参考信号。
可选地,所述结果确定方式包括以下至少一项:
第一终端确定所述第一结果、第二终端确定所述第一结果、第一终端和第二终端确定所述第一结果。
可选地,射频单元1401,还用于:
基于第一信息,向所述第一终端发送第一请求响应消息,所述第一信息包括以下至少一项:
第一请求消息;应用层指示信息;网络侧指示信息;或预配置信息。
可选地,射频单元1401,还用于以下至少一项:
基于所述第一请求消息中的所述参考信号发送方式,和所述应用层指示信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述结果确定方式,和所述应用层指示信息中所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述第一业务信息,和所述应用层指示信息中所包括的业务信息,向所述第一终端发送第一请求响应消息;或
基于所述第一请求消息中的所述第一终端标识,和所述应用层指示信息中所包括的终端标识,向所述第一终端发送第一请求响应消息。
可选地,射频单元1401,还用于以下至少一项:
基于所述第一请求消息中的所述参考信号发送方式,和所述预配置信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述结果确定方式,和所述预配置信息所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中所述第一终端的终端标识,和所述预配置信息所包括的第一终端的终端标识,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的所述第一业务信息,和所述预配置信息所包括的业务信息,向所述第一终端发送第一请求响应消息;
基于所述第一请求消息中的第二终端的地址信息,和所述预配置信息所包括的第二终端的地址信息,向所述第一终端发送第一请求响应消息;或
基于所述第一请求消息中所述第二终端的终端标识,和所述预配置信息 所包括的第二终端的终端标识,向所述第一终端发送第一请求响应消息。
在本申请实施例中,通过获取与测距和/或旁路定位服务相关的配置信息以执行测距和/或旁路定位服务。在需要发现支持测距和/或旁路定位服务的终端时,传输第一请求消息,可以实现支持测距和/或旁路定位服务的终端发现另一个支持测距和/或旁路定位服务的终端,以获得测距和/或旁路定位服务。
本申请实施例还提供一种第一网络侧设备,包括处理器和通信接口,其中:
通信接口,用于向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
该第一网络侧设备实施例与上述第一网络侧设备方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该第一网络侧设备实施例中,且能达到相同的技术效果。
具体地,本申请实施例还提供了一种第一网络侧设备。图15是实现本申请实施例的第一网络侧设备的硬件结构示意图,如图15所示,该第一网络侧设备1500包括:天线1501、射频装置1502、基带装置1503、处理器1504和存储器1505。天线1501与射频装置1502连接。在上行方向上,射频装置1502通过天线1501接收信息,将接收的信息发送给基带装置1503进行处理。在下行方向上,基带装置1503对要发送的信息进行处理,并发送给射频装置1502,射频装置1502对收到的信息进行处理后经过天线1501发送出去。
以上实施例中第一网络侧设备执行的方法可以在基带装置1503中实现,该基带装置1503包括基带处理器。
基带装置1503例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图15所示,其中一个芯片例如为基带处理器,通过总线接口与存储器1505连接,以调用存储器1505中的程序,执行以上方法实施例中所示的网络设备操作。
该第一网络侧设备还可以包括网络接口1506,该接口例如为通用公共无线接口(common public radio interface,CPRI)。
具体地,本发明实施例的第一网络侧设备1500还包括:存储在存储器1505上并可在处理器1504上运行的指令或程序,处理器1504调用存储器1505中的指令或程序执行图10所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
本申请实施例还提供一种第二网络侧设备,包括处理器和通信接口,其中:
通信接口,用于向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
该第二网络侧设备实施例与上述第二网络侧设备方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该第二网络侧设备实施例中,且能达到相同的技术效果。
具体地,本申请实施例还提供了一种第二网络侧设备。图16是实现本申请实施例的第二网络侧设备的硬件结构示意图,如图16所示,该第二网络侧设备1600包括:天线1601、射频装置1602、基带装置1603、处理器1604和存储器1605。天线1601与射频装置1602连接。在上行方向上,射频装置1602通过天线1601接收信息,将接收的信息发送给基带装置1603进行处理。在下行方向上,基带装置1603对要发送的信息进行处理,并发送给射频装置1602,射频装置1602对收到的信息进行处理后经过天线1601发送出去。
以上实施例中第二网络侧设备执行的方法可以在基带装置1603中实现,该基带装置1603包括基带处理器。
基带装置1603例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图16所示,其中一个芯片例如为基带处理器,通过总线接口与存储器1605连接,以调用存储器1605中的程序,执行以上方法实施例中所示的网络设备操作。
该第二网络侧设备还可以包括网络接口1606,该接口例如为通用公共无线接口(common public radio interface,CPRI)。
具体地,本发明实施例的第二网络侧设备1600还包括:存储在存储器 1605上并可在处理器1604上运行的指令或程序,处理器1604调用存储器1605中的指令或程序执行图11所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述终端发现方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述终端发现方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片,***芯片,芯片***或片上***芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述终端发现方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种终端发现***,包括:第一终端、第二终端、第一网络侧设备及第二网络侧设备,所述第一终端可用于执行如上所述的终端发现方法的步骤,所述第二终端可用于执行如上所述的终端发现方法的步骤,所述第一网络侧设备可用于执行如上所述的终端发现方法的步骤,所述第二网络侧设备可用于执行如上所述的终端发现方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还 包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (54)

  1. 一种终端发现方法,包括:
    第一终端获取与第一服务相关的第一配置信息;
    所述第一终端向第二终端发送第一请求消息;
    其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
  2. 根据权利要求1所述的终端发现方法,其中,所述第一请求消息包括以下至少一项:
    第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
    第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
    第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
    所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
    所述第二终端的终端标识;
    第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
    第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
    参考信号发送方式;或
    结果确定方式。
  3. 根据权利要求2所述的终端发现方法,其中,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
  4. 根据权利要求2或3所述的终端发现方法,其中,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
  5. 根据权利要求2-4任一项所述的终端发现方法,其中,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
    所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
  6. 根据权利要求1-5任一项所述的终端发现方法,其中,所述第一终端向第二终端发送第一请求消息之后,所述方法还包括:
    所述第一终端接收所述第二终端发送的第一请求响应消息,所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
  7. 根据权利要求6所述的终端发现方法,其中,所述第一请求响应消息包括以下至少一项:
    第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
    第二消息类型,用于指示所述第一请求响应消息的消息类型;
    第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
    所述第一终端的终端标识;
    所述第二终端的终端标识;
    第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
    参考信号发送方式;或
    结果确定方式。
  8. 根据权利要求7所述的终端发现方法,其中,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
  9. 根据权利要求7或8所述的终端发现方法,其中,所述第一请求响应 消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
    所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
  10. 根据权利要求2-5任一项或7-9任一项所述的终端发现方法,其中,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
  11. 根据权利要求2-5任一项或7-10任一项所述的方法,其中,所述参考信号发送方式包括以下至少一项:
    第一终端发送参考信号;
    第二终端发送参考信号;
    第一终端和第二终端发送参考信号;
    立即发送参考信号;
    周期性发送参考信号;或
    事件触发发送参考信号。
  12. 根据权利要求2-5任一项或7-11任一项所述的方法,其中,所述结果确定方式包括以下至少一项:
    第一终端确定第一结果;
    第二终端确定所述第一结果;或
    第一终端和第二终端确定所述第一结果。
  13. 根据权利要求6-9任一项所述的终端发现方法,其中,所述第一终端接收所述第二终端发送的第一请求响应消息之后,所述方法还包括:
    所述第一终端基于所述第一请求响应消息,执行第一操作,其中,所述第一操作包括以下至少一项:
    所述第一终端基于所述第二指示信息与所述第一指示信息,确定第二终端支持第一服务;
    所述第一终端基于所述第一请求响应消息中所述第一终端的终端标识与所述第一请求消息中所述第一终端的终端标识,确定第二终端支持第一服务;
    所述第一终端基于所述第一请求响应消息中所述第二终端的终端标识与所述第一请求消息中所述第二终端的终端标识,确定第二终端支持第一服务;
    所述第一终端基于所述第一请求响应消息中所述第二业务信息与所述第一请求消息中所述第一业务信息,确定第二终端支持第一服务;
    所述第一终端基于所述第一请求响应消息中所述第二终端的参考信号信息与所述第一请求消息中所述第一终端的参考信号信息,确定第二终端支持第一服务;
    所述第一终端基于所述第一请求响应消息中所述第二终端的算法信息与所述第一请求消息中所述第一终端的算法信息,确定第二终端支持第一服务;
    所述第一终端基于所述第一请求响应消息中所述第二终端的测量需求信息与所述第一请求消息中所述第一终端的测量需求信息,确定第二终端支持第一服务。
  14. 根据权利要求2-5任一项所述的终端发现方法,其中,所述第一辅助信息还包括以下至少一项:
    第一终端的能力信息;
    第一终端的位置信息;
    第一终端的地址信息;
    第一终端的安全信息;
    第一终端的测量信息;
    所述第二辅助信息还包括以下至少一项:
    第二终端的能力信息;
    第二终端的位置信息;
    第二终端的地址信息;
    第二终端的安全信息;
    第二终端的测量信息。
  15. 根据权利要求1-14所述的终端发现方法,其中,所述第一配置信息包括以下至少一项:
    所述第一配置信息的有效时间;
    第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
    第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述第一终端由无线接入网提供服务时进行发现的PLMN列表;
    第一终端的第二授权信息,所述第一终端的第二授权信息用于指示所述第一终端未由无线接入网提供服务时被授权的发现方法类型;
    第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
    第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
    第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
    第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;
    第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
    第一终端的测量需求信息;
    第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
    第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
  16. 根据权利要求15所述的终端发现方法,其中,所述方法还包括:
    所述第一终端基于所述第一授权指示信息确定参考信号发送方式。
  17. 根据权利要求15所述的终端发现方法,其中,所述方法还包括:
    所述第一终端基于所述第二授权指示信息确定结果确定方式。
  18. 根据权利要求1-17任一项所述的终端发现方法,其中,所述第一终 端向第二终端发送第一请求消息之后,所述方法还包括:
    所述第一终端发送第二请求消息,所述第二请求消息用于请求与所述第二终端建立PC5连接。
  19. 一种终端发现方法,包括:
    第二终端获取与第一服务相关的第二配置信息;
    所述第二终端接收第一终端发送的第一请求消息;
    其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述第一服务为终端发现相关服务。
  20. 根据权利要求19所述的终端发现方法,其中,所述第二终端接收第一终端发送的第一请求消息之后,所述方法还包括:
    所述第二终端发送第三请求消息,所述第三请求消息用于请求与所述第一终端建立PC5连接。
  21. 根据权利要求19或20所述的终端发现方法,其中,所述第一请求消息包括以下至少一项:
    第一指示信息,所述第一指示信息用于指示所述第一请求消息用于所述第一服务;
    第三指示信息,所述第三指示信息用于指示所述第二终端发送第二辅助信息,所述第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
    第一消息类型,所述第一消息类型用于指示所述第一请求消息的消息类型;
    所述第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
    所述第二终端的终端标识;
    第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
    第一辅助信息,所述第一辅助信息用于辅助第一终端发现支持第一服务的第二终端;
    参考信号发送方式;
    结果确定方式。
  22. 根据权利要求21所述的终端发现方法,其中,所述第一辅助信息包括以下至少一项:所述第一终端的参考信号信息、所述第一终端的算法信息、或所述第一终端的测量需求信息。
  23. 根据权利要求21或22所述的终端发现方法,其中,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
  24. 根据权利要求21-23任一项所述的终端发现方法,其中,所述第一请求消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
    所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求消息发送。
  25. 根据权利要求19-24任一项所述的终端发现方法,其中,所述第二配置信息包括以下至少一项:
    所述第二配置信息的有效时间;
    第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
    第二终端的第一授权列表,所述第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
    第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
    第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
    第二终端的终端标识,所述终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
    第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
    第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
    第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
    第二终端的测量需求信息;
    第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
    第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
  26. 根据权利要求25所述的终端发现方法,其中,所述方法还包括:
    所述第二终端基于所述第三授权指示信息确定参考信号发送方式。
  27. 根据权利要求25所述的终端发现方法,其中,所述方法还包括:
    所述第二终端基于所述第四授权指示信息确定结果确定方式。
  28. 根据权利要求25-27任一项所述的终端发现方法,其中,所述方法还包括:
    所述第二终端基于所述第一请求消息,执行第二操作;所述第二操作包括以下至少一项:
    所述第二终端基于所述第二配置信息中所述第二业务信息,和所述第一请求消息中所述第一业务信息,确定所述第二终端提供第一服务;
    所述第二终端基于所述第二配置信息中所述第二终端的参考信号信息,和所述第一请求消息中所述第一终端的参考信号信息,确定所述第二终端提供第一服务;
    所述第二终端基于所述第二配置信息中所述第二终端的算法信息,和所述第一请求消息中所述第一终端的算法信息,确定所述第二终端提供第一服务;
    所述第二终端基于所述第二配置信息中所述第二终端的测量需求信息,和所述第一请求消息中所述第一终端的测量需求信息,确定所述第二终端提 供第一服务;
    所述第二终端基于所述第二配置信息中第三授权指示信息,和所述第一请求消息中参考信号发送方式,确定所述第二终端提供第一服务;
    所述第二终端基于所述第二配置信息中第四授权指示信息,和所述第一请求消息中结果确定方式,确定所述第二终端提供第一服务。
  29. 根据权利要求19-27任一项所述的终端发现方法,其中,所述方法还包括:
    所述第二终端向所述第一终端发送第一请求响应消息;所述第一请求响应消息用于表征所述第二终端接收所述第一终端的所述第一请求消息。
  30. 根据权利要求29所述的终端发现方法,其中,所述第二终端向所述第一终端发送第一请求响应消息,包括:
    所述第二终端基于第三指示信息,发送第二辅助信息;所述第二辅助信息在所述第一请求响应消息中。
  31. 根据权利要求29或30所述的终端发现方法,其中,所述第一请求响应消息包括以下至少一项:
    第二指示信息,用于指示所述第一请求响应消息用于所述第一服务;
    第二消息类型,用于指示所述第一请求响应消息的消息类型;
    第二业务信息,所述第二业务信息用于指示所述第二终端提供的业务信息;
    所述第一终端的终端标识;
    所述第二终端的终端标识;
    第二辅助信息,所述第二终端的第二辅助信息用于辅助第一终端发现支持第一服务的第二终端;
    参考信号发送方式;或
    结果确定方式。
  32. 根据权利要求31所述的终端发现方法,其中,所述第一请求响应消息还包括所述第一终端的地址信息和/或所述第二终端的地址信息;或
    所述第一终端的地址信息和/或所述第二终端的地址信息伴随着所述第一请求响应消息发送。
  33. 根据权利要求25-28任一项或31或32所述的终端发现方法,其中,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
  34. 根据权利要求21-28任一项或31-33任一项所述的终端发现方法,其中,所述第二辅助信息包括以下至少一项:所述第二终端的参考信号信息、所述第二终端的算法信息、或所述第二终端的测量需求信息。
  35. 根据权利要求21-28任一项或31-34任一项所述的终端发现方法,其中,所述参考信号发送方式包括以下至少一项:
    第一终端发送参考信号;
    第二终端发送参考信号;
    第一终端和第二终端发送参考信号;
    立即发送参考信号;
    周期性发送参考信号;
    事件触发发送参考信号。
  36. 根据权利要求21-28任一项或31-34任一项所述的方法,其中,所述结果确定方式包括以下至少一项:
    第一终端确定所述第一结果、第二终端确定所述第一结果、第一终端和第二终端确定所述第一结果。
  37. 根据权利要求29-32任一项所述的终端发现方法,其中,所述第二终端向所述第一终端发送第一请求响应消息,包括:
    所述第二终端基于第一信息,向所述第一终端发送第一请求响应消息,所述第一信息包括以下至少一项:
    第一请求消息;应用层指示信息;网络侧指示信息;或预配置信息。
  38. 根据权利要求37所述的终端发现方法,其中,在所述第一信息包括所述应用层指示信息的情况下,所述第二终端基于第一信息,向所述第一终 端发送第一请求响应消息,包括以下至少一项:
    所述第二终端基于所述第一请求消息中的所述参考信号发送方式,和所述应用层指示信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
    所述第二终端基于所述第一请求消息中的所述结果确定方式,和所述应用层指示信息中所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
    所述第二终端基于所述第一请求消息中的所述第一业务信息,和所述应用层指示信息中所包括的业务信息,向所述第一终端发送第一请求响应消息;或
    所述第二终端基于所述第一请求消息中的所述第一终端标识,和所述应用层指示信息中所包括的终端标识,向所述第一终端发送第一请求响应消息。
  39. 根据权利要求37所述的终端发现方法,其中,在所述第一信息包括所述预配置信息的情况下,所述第二终端基于第一信息,向所述第一终端发送第一请求响应消息,包括以下至少一项:
    所述第二终端基于所述第一请求消息中的所述参考信号发送方式,和所述预配置信息所包括的参考信号发送方式,向所述第一终端发送第一请求响应消息;
    所述第二终端基于所述第一请求消息中的所述结果确定方式,和所述预配置信息所包括的结果确定方式,向所述第一终端发送第一请求响应消息;
    所述第二终端基于所述第一请求消息中所述第一终端的终端标识,和所述预配置信息所包括的第一终端的终端标识,向所述第一终端发送第一请求响应消息;
    所述第二终端基于所述第一请求消息中的所述第一业务信息,和所述预配置信息所包括的业务信息,向所述第一终端发送第一请求响应消息;
    所述第二终端基于所述第一请求消息中的第二终端的地址信息,和所述预配置信息所包括的第二终端的地址信息,向所述第一终端发送第一请求响 应消息;或
    所述第二终端基于所述第一请求消息中所述第二终端的终端标识,和所述预配置信息所包括的第二终端的终端标识,向所述第一终端发送第一请求响应消息。
  40. 一种终端发现方法,包括:
    第一网络侧向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
  41. 根据权利要求40所述的终端发现方法,其中,所述第一配置信息包括以下至少一项:
    所述第一配置信息的有效时间;
    第一终端的第一授权信息,所述第一终端的第一授权信息用于指示所述第一终端由无线接入网提供服务时被授权的发现方法类型;
    第一终端的第一授权列表,所述第一终端的第一授权列表用于指示所述第一终端由无线接入网提供服务时进行发现的PLMN列表;
    第一终端的第二授权信息,所述第一终端的第二授权信息用于指示第一终端未由无线接入网提供服务时被授权的发现方法类型;
    第一业务信息,所述第一业务信息用于指示所述第一终端请求的业务信息;
    第一终端的终端标识,所述终端标识包括以下至少一项:身份标识、设备标识、逻辑标识;
    第一终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
    第一终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
    第一终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
    第一终端的测量需求信息;
    第一授权指示信息,所述第一授权指示信息用于授权第一终端发送参考信号;或
    第二授权指示信息,所述第二授权指示信息用于授权第一终端确定参考信号结果。
  42. 根据权利要41所述的终端发现方法,其中,所述第一业务信息包括以下至少一项:第一终端对应的业务码、第一终端对应的业务标识、或第一终端对应的业务类型。
  43. 一种终端发现方法,包括:
    第二网络侧向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
  44. 根据权利要求43所述的终端发现方法,其中,所述第二配置信息包括以下至少一项:
    所述第二配置信息的有效时间;
    第二终端的第一授权信息,所述第二终端的第一授权信息用于指示所述第二终端由无线接入网提供服务时被授权的发现方法类型;
    第二终端的第一授权列表,所述第二终端的第一授权列表用于指示所述第二终端由无线接入网提供服务时进行发现的PLMN列表;
    第二终端的第二授权信息,所述第二终端的第二授权信息用于指示第二终端未由无线接入网提供服务时被授权的发现方法类型;
    第二业务信息,所述第二业务信息用于指示所述第二终端请求的业务信息;
    第二终端的终端标识,所述终端标识包括以下至少一项:用户标识、设备标识、或逻辑标识;
    第二终端的安全信息,所述安全信息表示与所述第一服务有关的安全参数;
    第二终端的算法信息,所述算法信息用于指示使用所述第一服务需要使用的算法;或
    第二终端的参考信号信息,所述参考信号信息用于指示使用所述第一服务需要使用的参考信号;
    第二终端的测量需求信息;
    第三授权指示信息,所述第三授权指示信息用于授权第二终端发送参考信号;或
    第四授权指示信息,所述第四授权指示信息用于授权第二终端确定参考信号结果。
  45. 根据权利要求44所述的终端发现方法,其中,所述第二业务信息包括以下至少一项:第二终端对应的业务码、第二终端对应的业务标识、或第二终端对应的业务类型。
  46. 一种终端发现装置,包括:
    第一获取模块,用于获取与第一服务相关的第一配置信息;
    第一发送模块,用于向第二终端发送第一请求消息;
    其中,所述第一请求消息用于请求发现支持所述第一服务的第二终端,所述第一服务包括:测距服务和/或旁路定位服务。
  47. 一种终端发现装置,包括:
    第二获取模块,用于获取与第一服务相关的第二配置信息;
    第二接收模块,用于接收第一终端发送的第一请求消息;
    其中,所述第一请求消息用于发现支持所述第一服务的第二终端,所述第一服务为终端发现相关服务。
  48. 一种终端发现装置,包括:
    第五发送模块,用于向第一终端发送第一配置信息;所述第一配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
  49. 一种终端发现装置,包括:
    第六发送模块,用于向第二终端发送第二配置信息;所述第二配置信息用于第一服务,所述第一服务包括:测距服务和/或旁路定位服务。
  50. 一种第一终端,包括处理器和存储器,所述存储器存储可在所述处 理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至18任一项所述的终端发现方法的步骤。
  51. 一种第二终端,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求19至39任一项所述的终端发现方法的步骤。
  52. 一种第一网络侧设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求40至42任一项所述的终端发现方法的步骤。
  53. 一种第二网络侧设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求43至45任一项所述的终端发现方法的步骤。
  54. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-18任一项所述的终端发现方法,或者实现如权利要求19至39任一项所述的终端发现方法,或者实现如权利要求40至42任一项所述的终端发现方法,或者实现如权利要求43至45任一项所述的终端发现方法的步骤。
PCT/CN2023/082560 2022-03-24 2023-03-20 终端发现方法、装置、设备及存储介质 WO2023179556A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210303809.6 2022-03-24
CN202210303809.6A CN116847313A (zh) 2022-03-24 2022-03-24 终端发现方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023179556A1 true WO2023179556A1 (zh) 2023-09-28

Family

ID=88099936

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/082560 WO2023179556A1 (zh) 2022-03-24 2023-03-20 终端发现方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN116847313A (zh)
WO (1) WO2023179556A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017105154A1 (ko) * 2015-12-17 2017-06-22 엘지전자 주식회사 무선 통신 시스템에서 nan 단말이 레인징 오퍼레이션을 수행하는 방법 및 장치
CN110730413A (zh) * 2018-06-29 2020-01-24 阿里巴巴集团控股有限公司 一种终端定位方法和装置
CN112205008A (zh) * 2020-09-03 2021-01-08 北京小米移动软件有限公司 测距的方法、通信节点、通信设备及存储介质
WO2022032689A1 (zh) * 2020-08-14 2022-02-17 北京小米移动软件有限公司 处理能力请求、处理能力发送、处理能力接收方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017105154A1 (ko) * 2015-12-17 2017-06-22 엘지전자 주식회사 무선 통신 시스템에서 nan 단말이 레인징 오퍼레이션을 수행하는 방법 및 장치
CN110730413A (zh) * 2018-06-29 2020-01-24 阿里巴巴集团控股有限公司 一种终端定位方法和装置
WO2022032689A1 (zh) * 2020-08-14 2022-02-17 北京小米移动软件有限公司 处理能力请求、处理能力发送、处理能力接收方法和装置
CN112205008A (zh) * 2020-09-03 2021-01-08 北京小米移动软件有限公司 测距的方法、通信节点、通信设备及存储介质

Also Published As

Publication number Publication date
CN116847313A (zh) 2023-10-03

Similar Documents

Publication Publication Date Title
CN112586060A (zh) 用于服务发现的方法和装置
WO2022126546A1 (zh) 信息传输方法、装置、通信设备和存储介质
US11838831B2 (en) Method and network exposure function entity for facilitating provision of location service
KR20150033578A (ko) 디바이스 대 디바이스 방식을 지원하는 통신 시스템에서 네트워크 제어 다이렉트 연결 성립 장치 및 방법
US10111077B1 (en) System and method for enabling mobile device location services during an emergency call
WO2022141263A1 (zh) 信息传输方法、装置、通信设备和存储介质
CN113632507B (zh) 用于用户设备行为参数提供的方法和装置
US20140092868A1 (en) Direct Communication Among Devices
WO2023179556A1 (zh) 终端发现方法、装置、设备及存储介质
JP2021052346A (ja) 無線端末、コアネットワークノード、及びこれらの方法
EP3318077B1 (en) Circumventing wireless device spatial tracking based on wireless device identifiers
WO2023179560A1 (zh) 测距定位方法及终端
WO2024017035A1 (zh) 位置信息的获取方法、终端及网络侧设备
WO2023198068A1 (zh) 移动性管理方法、装置、终端、网络侧设备及介质
WO2024027546A1 (zh) 定位方法、装置及设备
WO2014166441A1 (zh) 一种长期演进终端、通讯方法及计算机存储介质
WO2024027678A1 (zh) 扩展非连续接收的配置方法及装置、通信设备
WO2024051630A1 (zh) 定位方法、装置、终端及网络侧设备
EP4380259A1 (en) Sensing device registration method and apparatus, and device
US20240187972A1 (en) NF DISCOVERY BETWEEN DIFFERENT NETWORKS SUCH AS DIFFERENT SNPNs
WO2024104150A1 (zh) 定位方法、装置及通信设备
WO2023193684A1 (zh) 验证终端位置的方法、终端及网络侧设备
WO2022227100A1 (zh) ***消息的处理方法、装置、通信设备及存储介质
WO2023217030A1 (zh) 感知测量的处理方法及设备
WO2024007989A1 (zh) 信息上报方法、装置、终端及接入网设备

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

Country of ref document: EP

Kind code of ref document: A1