WO2023066126A1 - Method and device for sending discovery message - Google Patents

Method and device for sending discovery message Download PDF

Info

Publication number
WO2023066126A1
WO2023066126A1 PCT/CN2022/125093 CN2022125093W WO2023066126A1 WO 2023066126 A1 WO2023066126 A1 WO 2023066126A1 CN 2022125093 W CN2022125093 W CN 2022125093W WO 2023066126 A1 WO2023066126 A1 WO 2023066126A1
Authority
WO
WIPO (PCT)
Prior art keywords
discovery message
message
service
type
prose service
Prior art date
Application number
PCT/CN2022/125093
Other languages
French (fr)
Chinese (zh)
Inventor
翟海涛
赵亚利
张惠英
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2023066126A1 publication Critical patent/WO2023066126A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a method and device for sending a discovery message.
  • the communication methods between terminals include cellular network communication and direct communication.
  • the schematic diagram of cellular network communication is shown in Figure 1, and the schematic diagram of direct communication is shown in Figure 2.
  • terminals and The communication between terminals is realized through the base station.
  • the terminal and the base station communicate through the Uu interface.
  • the terminal UE1 communicates with the terminal UE2, the terminal UE1 forwards the signal to the base station through the Uu interface, and then the base station sends the received signal to the terminal.
  • UE2; in direct communication the communication between terminals is realized through a direct communication link (Sidelink link), and the wireless interface corresponding to the direct communication link is called a Sidelink interface or a PC5 interface.
  • the signal can be transmitted over a direct communication link.
  • a relay terminal When the distance between two terminals is long, in order to expand the network coverage, a relay terminal is introduced.
  • the schematic diagram of the relay terminal is shown in Figure 3.
  • the relay terminal and the base station use the Uu interface to transmit data.
  • Remote terminals use Sidelink interface or PC5 interface to transmit data.
  • To realize long-distance communication between two terminals it is necessary to select a terminal between the two terminals as a relay terminal. long-distance communication between terminals.
  • the terminal realizes the discovery of the short-distance terminal by sending or receiving the discovery signal.
  • There are two types of terminals to be discovered one is the relay terminal, and the other is the terminal with the proximity service (ProSe) service.
  • the terminal is in the When sending a discovery message, since the access layer (Access Stratum, AS) only records the detailed information of the relay terminal, the AS layer receives or sends signals on the air interface when the terminal communicates, so that the terminal cannot send a discovery related to the ProSe service. information.
  • AS Access Stratum
  • the present disclosure provides a method and device for sending a discovery message.
  • the terminal can determine that the discovery message is a discovery message of the ProSe service, and The discovery message of the ProSe service can be sent to other terminals.
  • the present disclosure provides a method for sending a discovery message, the method including:
  • the first indication message includes one or a combination of the following:
  • the first indication message is a discovery message indicating to send a ProSe service
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service
  • the first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  • the instruction message indicating to send the discovery message of the ProSe service is specifically described, and the instruction message indicating the sending of the discovery message of the ProSe service can be accurately identified, so that the sending of the discovery message of the ProSe service and the discovery of the ProSe service can be realized. Wide coverage.
  • the determining whether to send the discovery message of the ProSe service is specifically:
  • the trigger conditions include one or a combination of the following conditions:
  • the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value
  • the terminal receives a discovery message request sent by another terminal
  • the target address corresponding to the discovery message request received by the terminal is in the target address list
  • the terminal is in a state of receiving or sending the discovery message.
  • the method before determining whether to send the discovery message of the ProSe service, the method further includes:
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  • the determining whether to send the discovery message of the ProSe service is specifically one or more combinations of the following:
  • the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  • a fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  • the processing the discovery message according to the type of the discovery message includes:
  • the discovery message whose type is the ProSe service is processed through a second preset mode, wherein the second preset mode compresses the discovery message.
  • the sending the discovery message according to a fixed code rate includes:
  • the present disclosure also provides a method for processing a discovery message, the method including:
  • the message type of the discovery message sent by the terminal is analyzed, and different types of discovery messages are distinguished.
  • Different discovery messages correspond to different processing methods, which avoids the mixing of different types of discovery messages, resulting in resource consumption. Efficient processing of discovery messages is achieved.
  • the transmitting the discovery message corresponding to the message type to the non-access stratum includes:
  • the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
  • the message type is a discovery message of a ProSe service
  • the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  • the message type of the received discovery message is parsed according to at least one of the following methods:
  • the physical resource pool stores discovery messages of the same type
  • the message type of the discovery message is judged according to the logical channel identification code in the terminal.
  • the determining the message type of the discovery message according to the physical resource pool includes:
  • the physical resource pool where the discovery message is stored is the discovery message of the relay service, then determine that the message type of the discovery message is the relay service type;
  • the physical resource pool where the discovery message is stored stores the discovery message of the ProSe service, then it is determined that the message type of the discovery message is the ProSe service type.
  • the judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal includes:
  • the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service
  • the discovery message is a discovery message of a relay service.
  • the judging the message type of the discovery message according to the logical channel identification code in the terminal includes:
  • the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
  • the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
  • the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  • the first preset condition is one or more combinations of the following conditions:
  • the discovery message of the relay service has a corresponding signal-to-noise ratio
  • the discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  • the second preset condition is one or more combinations of the following conditions:
  • the message type is a discovery message of a ProSe service
  • the discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  • the present disclosure provides an apparatus for sending a discovery message, and the apparatus includes:
  • a receiving module specifically configured to receive a first indication message
  • a determining module specifically configured to determine whether to send a ProSe service discovery message according to the first indication message
  • the first indication message includes one or a combination of the following:
  • the first indication message is a discovery message indicating to send a ProSe service
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service
  • the first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  • the determination module is specifically used for:
  • the trigger conditions include one or a combination of the following conditions:
  • the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value
  • the terminal receives a discovery message request sent by another terminal
  • the target address corresponding to the discovery message request received by the terminal is in the target address list
  • the terminal is in a state of receiving or sending the discovery message.
  • the determining module is also used for:
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  • the determining module determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
  • the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  • the determining module is also used for:
  • a fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  • the determination module is specifically used for:
  • the discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  • the determination module is specifically used for:
  • the present disclosure also provides an apparatus for processing a discovery message, the apparatus including:
  • a parsing module specifically for parsing the message type of the received discovery message
  • the sending module is specifically configured to transmit the discovery message corresponding to the message type to the non-access stratum.
  • the sending module is specifically used for:
  • the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
  • the message type is a discovery message of a ProSe service
  • the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  • the parsing module is specifically configured to parse the message type of the received discovery message according to at least one of the following methods:
  • the physical resource pool stores discovery messages of the same type
  • the message type of the discovery message is judged according to the logical channel identification code in the terminal.
  • the parsing module is specifically used for:
  • the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
  • the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  • the parsing module is specifically used for:
  • the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service
  • the discovery message is a discovery message of a relay service.
  • the parsing module is specifically used for:
  • the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
  • the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
  • the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  • the first preset condition is one or more combinations of the following conditions:
  • the discovery message of the relay service has a corresponding signal-to-noise ratio
  • the discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  • the second preset condition is one or more combinations of the following conditions:
  • the message type is a discovery message of a ProSe service
  • the discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  • the present disclosure provides a communication device, including a memory and a processor:
  • the memory stores computer instructions
  • the processor is configured to read the computer program in the memory, and perform the following steps:
  • the first indication message includes one or a combination of the following:
  • the first indication message is a discovery message indicating to send a ProSe service
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service
  • the first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  • the processor is specifically used for:
  • the trigger conditions include one or a combination of the following conditions:
  • the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value
  • the terminal receives a discovery message request sent by another terminal
  • the target address corresponding to the discovery message request received by the terminal is in the target address list
  • the terminal is in a state of receiving or sending the discovery message.
  • the processor is also used for:
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  • the processor determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
  • the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  • the processor before determining whether to send the discovery message of the ProSe service, the processor is further configured to:
  • a fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  • the processor is specifically used for:
  • the discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  • the processor is specifically used for:
  • the present disclosure provides a communication device, including a memory and a processor:
  • the memory stores computer instructions
  • the processor is configured to read the computer program in the memory, and perform the following steps:
  • Parse the message type of the received discovery message ; transmit the discovery message corresponding to the message type to the non-access stratum.
  • the processor is specifically used for:
  • the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
  • the message type is a discovery message of a ProSe service
  • the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  • the processor is specifically used for:
  • the physical resource pool stores discovery messages of the same type
  • the message type of the discovery message is judged according to the logical channel identification code in the terminal.
  • the processor is specifically used for:
  • the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
  • the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  • the processor is specifically used for:
  • the discovery message is a discovery message of the ProSe service
  • the discovery message is a discovery message of a relay service.
  • the processor is specifically used for:
  • the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
  • the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
  • the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  • the first preset condition is one or more combinations of the following conditions:
  • the discovery message of the relay service has a corresponding signal-to-noise ratio
  • the discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  • the second preset condition is one or more combinations of the following conditions:
  • the message type is a discovery message of a ProSe service
  • the discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  • a computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the computer perform the steps of the above-mentioned method for sending a discovery message and A method step for processing a discovery message.
  • a computer program product when invoked by a computer, causes the computer to execute the steps of the above method for sending a discovery message and the method for processing a discovery message.
  • FIG. 1 is a schematic diagram of cellular network communication provided by the present disclosure
  • FIG. 2 is a schematic diagram of communication between terminals provided by the present disclosure
  • FIG. 3 is another schematic diagram of terminal-to-terminal communication provided by the present disclosure.
  • FIG. 4 is a flow chart of steps in a method for sending a discovery message provided by the present disclosure
  • FIG. 5 is a schematic structural diagram of a device for sending a discovery message provided by the present disclosure
  • FIG. 6 is a flow chart of steps in a method for processing a discovery message provided by the present disclosure
  • FIG. 7 is a schematic structural diagram of a discovery message processing device provided by the present disclosure.
  • FIG. 8 is a schematic structural diagram of a communication device provided by the present disclosure.
  • Fig. 9 is a schematic structural diagram of a communication device provided by the present disclosure.
  • the technical solution of the present invention can be applied to various communication systems, for example: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced long term evolution (LTE-A) system, general Universal Mobile Telecommunication System (UMTS), New Radio Access Technology (NR), 5G, etc.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE-A Advanced long term evolution
  • UMTS general Universal Mobile Telecommunication System
  • NR New Radio Access Technology
  • Fig. 1 illustrates a communication system architecture, and the communication system includes access network equipment and terminal equipment.
  • Terminal equipment also known as terminal, user equipment (User Equipment, UE), mobile station (Mobile Station, MS), mobile terminal (Mobile Terminal, MT), etc.
  • Connectivity devices for example, handheld devices with wireless connectivity, vehicle-mounted devices, etc.
  • mobile terminal equipment such as mobile phones (or called "cellular" phones) and computers with mobile terminal equipment, such as portable, pocket, handheld, computer built-in or vehicle-mounted Mobile devices that exchange speech and/or data with the radio access network.
  • PCS personal communication service
  • SIP session initiated protocol
  • WLL wireless local loop
  • PDA personal digital assistants
  • Wireless terminal equipment can also be called system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), and user device (user device), which are not limited in the embodiments of the present disclosure.
  • the network device involved in the embodiments of the present disclosure may be a base station, and the base station may include multiple cells.
  • a base station may also be called an access point, or may refer to a device in an access network that communicates with a wireless terminal device through one or more sectors on an air interface, or other names.
  • the network device can be used to convert received over-the-air frames to and from Internet Protocol (IP) packets and act as a router between the wireless terminal device and the rest of the access network, which can include the Internet protocol communication network.
  • IP Internet Protocol
  • Network devices may also coordinate attribute management for the air interface.
  • the network device involved in the embodiment of the present disclosure may be a network device (base transceiver station, BTS) in a global system for mobile communications (GSM) or a code division multiple access (code division multiple access, CDMA) ), or a network device (NodeB) in wide-band code division multiple access (WCDMA), or an evolved network device in a long term evolution (LTE) system (evolutional node B, eNB or e-NodeB), the 5G base station in the 5G network architecture (next generation system), or the home evolution base station (home evolved node B, HeNB), relay node (relay node), home base station ( femto), pico base station (pico), etc., are not limited in this embodiment of the present disclosure.
  • GSM global system for mobile communications
  • CDMA code division multiple access
  • NodeB wide-band code division multiple access
  • LTE long term evolution
  • LTE long term evolution
  • FIG. 1 is a schematic diagram of cellular network communication provided by the present disclosure.
  • the wireless communication system is composed of a base station, several terminal devices and a CN core network.
  • the wireless communication between the terminal UE1 and the terminal UE2 is realized through the base station.
  • the terminal UE1 needs to send a signal to the terminal UE2
  • the terminal UE1 transmits the signal to the base station through the Uu interface
  • the base station transmits the signal to the terminal UE2 through the Uu interface, thereby realizing the terminal Signal transmission between UE1 and terminal UE2.
  • the wireless communication system consists of a base station, several terminals, and a CN core network.
  • the signal transmission between the terminal and the base station is performed through the Uu interface.
  • the wireless communication is realized through the direct communication link, that is, the communication is realized through the Sidelink link.
  • the wireless interface corresponding to the direct communication link is called the Sidelink interface or the PC5 interface.
  • the terminal UE1 and the terminal UE2 need to communicate wirelessly, the terminal UE1 passes The Sidelink interface or the PC5 interface transmits signals to the terminal UE2. After receiving the signals, the terminal UE2 can transmit signals back to the terminal UE1 through the Sidelink interface or the PC5 interface, thereby realizing wireless communication between terminals.
  • FIG. 3 is another schematic diagram of communication between terminals provided by the present disclosure.
  • a relay terminal is introduced to make the relay terminal a signal transfer station for wireless communication between two terminals.
  • Two long-distance When terminals perform wireless communication, two remote terminals are called remote terminals.
  • One of the remote terminals first finds the surrounding terminals, and then determines that one terminal is a relay terminal, and transmits signals to the relay terminal through the Sidelink interface or PC5 interface.
  • the relay terminal receives the signal of the remote terminal and forwards the signal to another remote terminal through the Sidelink interface or the PC5 interface, thereby realizing wireless communication between two remote terminals.
  • the AS layer receives or sends signals on the air interface when the terminal performs wireless communication. Since the AS layer only records the detailed information of the relay terminal, the terminal can only send the discovery message of the relay service, but cannot send Discovery messages with ProSe services.
  • the embodiments of the present disclosure provide a method for sending a discovery message, so as to solve the problem that the terminal cannot send the discovery message related to the ProSe service in the above scenario.
  • the method and the device described in the embodiments of the present disclosure are based on the same technical concept. Since the principles of the problems solved by the method and the device are similar, the embodiments of the device and the method can be referred to each other, and the repetitions will not be repeated.
  • the present disclosure provides a method for sending a discovery message, which can solve the problem that the discovery message related to the ProSe service cannot be sent.
  • the implementation process of the method is as follows:
  • Step S1 Receive a first indication message.
  • the terminal In order to trigger the terminal to send a discovery message, before the terminal sends the discovery message, the terminal needs to receive a first indication message from the non-access stratum, and judge whether to trigger the sending of the discovery message according to the first indication message.
  • the non-access stratum includes mobility management, Call control, session management, and identity management.
  • the first indication message is a combination of one or more of the following messages:
  • the first indication message is a discovery message indicating to send the ProSe service
  • the terminal parses out the content of the first indication message, and judges according to the content whether to indicate to send the discovery message of the ProSe service or to indicate to send the discovery message of the relay service.
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service
  • the first indication information is the discovery message indicating that the type of the discovery message is a ProSe service.
  • the first indication message is the service characteristic of the discovery message indicating the ProSe service, wherein the service characteristic is the service period related to the periodic service and the service start time;
  • various types of terminals around can be identified through the discovery message of the ProSe service, for example: a terminal of the relay service, a terminal of the ProSe service, etc.
  • the indication message is the service characteristic of the discovery message indicating the ProSe service.
  • the first indication message indicates that the target address corresponding to the discovery message of the ProSe service is the ProSe service terminal.
  • the above table 1 records the relationship between the type indication message and the target address.
  • the target address includes the target address of the ProSe service terminal and the target address of the relay service.
  • the target address corresponding to the ProSe service type is the target address of the ProSe service terminal.
  • the relay service The destination address corresponding to the type is the destination address of the relay service terminal.
  • the terminal parses the received first indication message, parses out the correspondence between the type indication message and the target address, and matches the correspondence with Table 1.
  • the first indication message can be determined. Indicates the type of the discovery message that needs to be sent in the message.
  • the message of the relay service is matched
  • the indication message indicates the discovery message for sending the relay service.
  • the indication message of the discovery message of the relay service it has been described in detail in the existing solution, and will not be repeated here.
  • the discovery message indication message of the ProSe service is described in detail.
  • the above indication message can be a single type, or can be a combination of multiple types, such as:
  • the first indication message is a discovery message indicating to send a ProSe service, and indicates that the type of the discovery message is a discovery message of a ProSe service;
  • the first indication message is a discovery message indicating to send the ProSe service, and indicates the service characteristics of the discovery message of the ProSe service;
  • the first indication message is a discovery message indicating to send a ProSe service, a discovery message indicating that the type of the discovery message is a ProSe service, and a mapping relationship between a type indication message and a target address of the discovery message indicating the ProSe service;
  • the first indication message is the mapping relationship between the discovery message indicating the sending of the ProSe service, the service characteristic of the discovery message indicating the ProSe service, and the type indication message of the discovery message indicating the ProSe service and the target address;
  • the first indication is to send a discovery message of a ProSe service, a discovery message indicating that the type of the discovery message is a ProSe service, a service feature of the discovery message indicating a ProSe service, and a mapping between a type indication message and a target address of the discovery message indicating a ProSe service relation.
  • the above five possible situations are listed for various combinations of the first indication message, since the first indication message can be one message, or any combination of two pieces of information, or any three pieces of information
  • the combination of information may also be a combination of four pieces of information, which will not be listed one by one here.
  • the first indication message for instructing the terminal to send the discovery message of the ProSe service is described in detail. Through the content of the description, it can be confirmed that the first indication message is the discovery message for instructing the terminal to send the ProSe service, and the ProSe service is realized.
  • the identification of the discovery message indicates the message.
  • the type of the discovery message to be sent is a discovery message of the ProSe service. There are three ways to determine, and the specific determination process is as follows:
  • Mode 1 judging whether the indication message of the discovery message is a discovery message of the ProSe service
  • the first indication message is a discovery message indicating to send a ProSe service
  • the first indication message is a discovery message indicating to send the relay service
  • Method 2 judging the mapping relationship between the target address corresponding to the discovery message and the ProSe service terminal;
  • the target address corresponding to the type indication message of the discovery message determines whether the terminal corresponding to the target address is a terminal with a ProSe service, if so, then determine that the discovery message is a discovery message of the ProSe service, if not, ignore the indication message.
  • Mode 3 is a combination of Mode 1 and Mode 2. Only Mode 1 and Mode 2 must be satisfied at the same time to determine that the discovery message is the discovery message of the ProSe service.
  • the type of the discovery message can be judged by any one of the methods 1, 2 and 3, so as to accurately determine whether to send the discovery message of the ProSe service according to the type of the discovery message, and improve the identification of the ProSe service. Discover the accuracy of the message.
  • Step S2 Determine whether to send a ProSe service discovery message according to the first indication message.
  • the first indication message After receiving the first indication message used to instruct the terminal to send the discovery message of the ProSe service, the first indication message is one of the combination methods described above, and when the first indication message meets the conditions, according to the received first indication message, The trigger condition is obtained, and it is determined whether to send the discovery message of the ProSe service according to the trigger condition.
  • the trigger condition needs to be judged.
  • the trigger condition is one or a combination of the following conditions, it is determined to send the discovery message of the ProSe service.
  • the trigger condition includes one or a combination of the following conditions:
  • Condition 1 The wireless resource occupancy rate of the direct communication link of the terminal exceeds a preset value
  • the terminal Before sending the discovery message, in order to detect whether there are enough terminals around the terminal, it is necessary to detect the ratio of the number of direct communication links used by the terminal to the number of direct communication links owned by the terminal, and calculate the radio frequency of the direct communication links of the terminal.
  • Resource occupancy rate when the wireless resource occupancy rate of the direct communication link exceeds the preset value, the terminal can determine that there are a sufficient number of other terminals around, and can send discovery messages to other terminals around, when the wireless resource occupancy rate of the direct communication link If the resource occupancy rate is less than the preset value, the terminal will ignore the indication message for sending the discovery message.
  • the preset value varies according to actual needs, and is not a fixed value, therefore, too much description is omitted here.
  • the wireless resource occupancy rate of the direct communication link of the terminal is 46%
  • the preset value is 30%, and if 46% is greater than 30%, it can be determined that there are a sufficient number of other terminals around;
  • the terminal ignores the indication message for sending the discovery message.
  • Condition 2 The terminal receives a discovery message request sent by other terminals;
  • the terminal In order to discover other terminals around the terminal, there is another way that other terminals around the terminal actively send discovery message requests to the terminal. After the terminal receives the discovery message requests sent by other terminals, the terminal can discover other terminals around the terminal through the received discovery message request. The terminal, so that the terminal determines the number of other terminals around it according to the number of received discovery message requests.
  • the terminal After the terminal receives the discovery message request, the terminal needs to parse out the corresponding target address according to the received discovery message request.
  • the discovery message request contains the information of the target address, and the target address is the target address of the terminal corresponding to the discovery message of the ProSe service or the ProSe The destination address of the business.
  • the terminal obtains Table 2 through the communication protocol.
  • Table 2 shows the correspondence between the discovery message request and the parsed target address.
  • Table 2 is as follows:
  • the terminal can resolve the target address through the discovery message request. After obtaining the target address of the discovery message request, it can save the corresponding relationship between the discovery message request and the target address.
  • the terminal receives the discovery message request again , the target address corresponding to the discovery message request can be acquired through Table 2.
  • Table 3 is the target address list. After obtaining the target address corresponding to the discovery message request, the target address is matched with the target address list of the terminal. If a consistent target address is matched, it indicates that the target address In the target address list of the terminal, the terminal regards the terminal sending the discovery message request as the terminal existing around, and if no consistent target address is matched, the terminal ignores the terminal sending the discovery message request.
  • the two-way identification between the terminal and the terminal sending the discovery message request is achieved.
  • the surrounding terminals need to send the discovery message request to the terminal, and the target address list of the terminal must have the target address resolved by the discovery message request.
  • the target address resolved by the message request is not in the target address list, even if the terminal sending the discovery message request is nearby, the terminal will ignore the terminal.
  • Condition 4 The terminal is in the state of receiving or sending a discovery message
  • the terminal When the terminal is in the state of sending or receiving discovery messages, it indicates that the terminal is in the service period of the non-access stratum, and the non-access stratum can process the discovery messages sent or received by the terminal during the service period, so the terminal can pass the indication message Send a discovery message.
  • any two of the four trigger conditions can be combined, or any three trigger conditions can be combined, or four trigger conditions can be combined.
  • the above only exemplifies five As for the way of combination, other combination ways can refer to any one of the above-mentioned situations 1 to 5, and there are no too many examples for other combination ways here.
  • the discovery message of the ProSe service can be sent.
  • the type of the discovery message has been obtained according to the indication information, so the discovery message needs to be processed.
  • the discovery message of the ProSe service is compressed.
  • no processing is performed on the discovery message.
  • the fixed code rate is related to the transmission power. Inversely proportional relationship, when the fixed code rate is larger, the transmission power is smaller. In the communication protocol, the mapping relationship between the fixed code rate and the transmission power is specified.
  • the sending frequency may also be determined according to the system information (SIB) broadcast by the base station, and the discovery message is sent according to the determined sending frequency.
  • SIB system information
  • the SIB and The relationship between frequencies is well known to those skilled in the art, so it will not be described too much here.
  • the indication message is a discovery message indicating the sending of the ProSe service
  • the trigger condition is detected according to the indication message, and the ProSe service is sent when the trigger condition meets the requirements.
  • the discovery message of the ProSe service is realized, so that the terminal can accurately judge and send the discovery message of the ProSe service, and then realize the wide coverage of the ProSe service.
  • Embodiment 1 the processing process of the discovery message of the ProSe service by the terminal is described.
  • the discovery message will also be processed accordingly.
  • FIG. 5 the embodiment of the present disclosure also provides a The processing method of the discovery message, after the discovery message is sent from the sender to the receiver, the receiver will process the discovery message, the specific implementation process is as follows:
  • Step S21 Parse the message type of the received discovery message.
  • the type judgment of the discovery message can be one of the following methods or a combination:
  • the first way judge according to the physical resource pool where the discovery message is located.
  • the physical resource pool is used to receive the discovery message according to the type of the discovery message, that is, after the discovery message is received by the physical resource pool, if the physical resource pool that receives the discovery message stores the discovery message of the relay service, then If it is determined that the discovery message is a discovery message of a relay service, the discovery message is a discovery message of a relay service; if the discovery message of a ProSe service is stored in the physical resource pool receiving the discovery message, then it is determined that the discovery message is a ProSe service.
  • a discovery message of a service where the discovery message is a discovery message of a ProSe service.
  • the second manner judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal.
  • the discovery message After receiving the discovery message, obtain the value of the type identifier corresponding to the discovery message.
  • the type identifier in the discovery message is an inherent characteristic of the discovery message. Therefore, the type identifier can be obtained in the discovery message.
  • the type identifier is the first
  • the discovery message is the discovery message of the ProSe service
  • the type identifier is the second set value
  • the discovery message is the discovery message of the relay service.
  • the value of the type identifier is 1, it indicates that the discovery message is a discovery message of a ProSe service, and if the value of the type identifier is 0, it indicates that the discovery message is a discovery message of a relay service.
  • the ProSe service includes at least one kind of service.
  • the third way judging the message type of the discovery message according to the logical channel identification code.
  • the logical channel identification code of the discovery message is acquired, and the acquired logical channel identification code of the discovery message is matched with the first logical channel identification code list and the second logical channel identification code list, and according to the matching Find the list of consistent logical channel identification codes to determine the type of the discovery message.
  • the logical channel identification code of the discovery message of the relay service is stored in the first logical channel identification code list
  • the logical channel identification code of the discovery message of the ProSe service The channel identification codes are stored in the second logical channel identification code list.
  • the discovery message is a discovery message of the relay service; if the matching logical channel identification code is in the second logical channel identification code list, Then the discovery message is a discovery message of the ProSe service.
  • the type of the discovery message sent by the terminal to the receiver can be determined in any of the three ways, and the type of the received discovery message can be accurately classified, avoiding the need to spend a lot of time when processing the discovery message resources, facilitating centralized processing of discovery messages of the same type.
  • Step S22 Transmitting the discovery message corresponding to the message type to the non-access stratum.
  • the first preset condition can be one of the following two conditions A condition:
  • the discovery message is a discovery message of a relay service with a signal-to-noise ratio, and the larger the signal-to-noise ratio, the smaller the interference received during signal transmission.
  • the discovery message After determining that the discovery message is a discovery message of a relay service with a signal-to-noise ratio, the discovery message is sent to the non-access stratum.
  • the discovery message is a discovery message of a relay service with a channel quality value, and the channel quality value represents the communication quality of the wireless channel.
  • the discovery message of the relay service and the channel quality value corresponding to the discovery message of the relay service are sent to the non-access stratum.
  • the discovery message of the relay service may be sent to the non-access stratum by using the above-described condition 1 or condition 2.
  • the second preset condition may be the following condition 1 and/or condition 2:
  • the type of the discovery message is a discovery message of the ProSe service.
  • the discovery message of the ProSe service is directly sent to the non-access stratum.
  • the discovery message is the same as the discovery message in the discovery message type list in the NAS.
  • the type of the discovery message is the discovery message of the ProSe service
  • the discovery message of the ProSe service described above that meets the condition 1 and/or condition 2 can be uploaded to the non-access stratum.
  • the receiving end can accurately identify the discovery message of the relay service and the discovery message of the ProSe service due to the supplement of the relevant information of the ProSe service, and thus perform different processing according to different types of discovery messages.
  • an embodiment of the present disclosure also provides a device for sending a discovery message.
  • the device for sending a discovery message is used to realize the function of a method for sending a discovery message.
  • the Said devices include:
  • the receiving module 601 is specifically configured to receive a first indication message
  • the determining module 602 is specifically configured to determine whether to send a discovery message of the ProSe service according to the first indication message;
  • the first indication message includes one or a combination of the following:
  • the first indication message is a discovery message indicating to send a ProSe service
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service
  • the first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  • the determining module 602 is specifically configured to:
  • the trigger conditions include one or a combination of the following conditions:
  • the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value
  • the terminal receives a discovery message request sent by another terminal
  • the target address corresponding to the discovery message request received by the terminal is in the target address list
  • the terminal is in a state of receiving or sending the discovery message.
  • the determining module 602 is also configured to:
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  • the determining module 602 determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
  • the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  • the determining module 602 is also configured to:
  • a fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  • the determining module 602 is specifically configured to:
  • the discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  • the determining module 602 is specifically configured to:
  • an embodiment of the present disclosure also provides a device for processing a discovery message.
  • the device for processing a discovery message is used to realize the function of a method for processing a discovery message.
  • the Said devices include:
  • Parsing module 701 specifically for parsing the message type of the received discovery message
  • the sending module 702 is specifically configured to transmit the discovery message corresponding to the message type to the non-access stratum.
  • the sending module 702 is specifically configured to:
  • the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
  • the message type is a discovery message of a ProSe service
  • the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  • the parsing module 701 is specifically configured to parse the message type of the received discovery message according to at least one of the following methods:
  • the physical resource pool stores discovery messages of the same type
  • the message type of the discovery message is judged according to the logical channel identification code in the terminal.
  • the parsing module 701 is specifically configured to:
  • the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
  • the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  • the parsing module 701 is specifically configured to:
  • the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service
  • the discovery message is a discovery message of a relay service.
  • the parsing module 701 is specifically used to:
  • the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
  • the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
  • the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  • the first preset condition is one or more combinations of the following conditions:
  • the discovery message of the relay service has a corresponding signal-to-noise ratio
  • the discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  • the second preset condition is one or more combinations of the following conditions:
  • the message type is a discovery message of a ProSe service
  • An embodiment of the present disclosure also provides a communication device.
  • the communication device includes: a processor 801 , a memory 802 , and a bus interface 803 .
  • the processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 can store data used by the processor 803 when performing operations.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 801 and various circuits of the memory represented by the memory 802 are linked together.
  • the bus architecture can also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein.
  • the bus interface provides the interface.
  • the processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 can store data used by the processor 801 when performing operations.
  • the processes disclosed in the embodiments of the present disclosure may be applied to the processor 801 or implemented by the processor 801 .
  • each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 801 or instructions in the form of software.
  • the processor 801 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may realize or execute the The disclosed methods, steps and logical block diagrams.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the methods disclosed in the embodiments of the present disclosure may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
  • the storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and completes the steps of the information processing flow in combination with its hardware.
  • the processor 801 is configured to read the computer instructions in the memory 802 and execute the method for sending a discovery message in the embodiment of the present disclosure, and specifically perform the following steps:
  • the first indication message includes one or a combination of the following:
  • the first indication message is a discovery message indicating to send a ProSe service
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service
  • the first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  • the processor 801 is specifically configured to:
  • the trigger condition includes one or a combination of the following conditions: the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, and the terminal Upon receiving a discovery message request sent by another terminal, the target address corresponding to the discovery message request received by the terminal is in the target address list, and the terminal is in a state of receiving or sending the discovery message.
  • the processor 801 is also configured to:
  • the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service;
  • the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  • the processor 801 is specifically configured to:
  • the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
  • the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  • the processor 801 is also configured to:
  • a fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  • the processor 801 is also configured to:
  • the discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  • the processor 801 is specifically configured to:
  • An embodiment of the present disclosure also provides a communication device.
  • the communication device includes: a processor 901 , a memory 902 and a bus interface 903 .
  • the processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 can store data used by the processor 903 when performing operations.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 901 and various circuits of the memory represented by the memory 902 are linked together.
  • the bus architecture can also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein.
  • the bus interface provides the interface.
  • the processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 can store data used by the processor 901 when performing operations.
  • the processes disclosed in the embodiments of the present disclosure may be applied to the processor 901 or implemented by the processor 901 .
  • each step of the signal processing flow can be completed by an integrated logic circuit of hardware in the processor 901 or an instruction in the form of software.
  • the processor 901 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may realize or execute the The disclosed methods, steps and logical block diagrams.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the methods disclosed in the embodiments of the present disclosure may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
  • the storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the information processing flow in combination with its hardware.
  • the processor 901 is configured to read the computer instructions in the memory 902 and execute the method for processing the discovery message in the embodiment of the present disclosure, and specifically execute the following steps:
  • the processor 901 is specifically configured to:
  • the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
  • the message type is a discovery message of a ProSe service
  • the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  • the processor 901 parses the message type of the received discovery message according to at least one of the following methods:
  • the physical resource pool stores discovery messages of the same type
  • the message type of the discovery message is judged according to the logical channel identification code in the terminal.
  • the processor 901 is specifically configured to:
  • the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
  • the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  • the processor 901 is specifically configured to:
  • the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service
  • the discovery message is a discovery message of a relay service.
  • the processor 901 is specifically configured to:
  • the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
  • the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
  • the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  • the first preset condition is one or more combinations of the following conditions:
  • the discovery message of the relay service has a corresponding signal-to-noise ratio
  • the discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  • the second preset condition is one or more combinations of the following conditions:
  • the message type is a discovery message of a ProSe service
  • the discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  • An embodiment of the present disclosure further provides a computer program product, which, when invoked by a computer, causes the computer to execute the method for sending a discovery message and the method for processing a discovery message in the foregoing embodiments.
  • the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Landscapes

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

Abstract

A method and device for sending a discovery message, the method comprising: receiving a first indication message, and detecting N trigger conditions, wherein the first indication message is a discovery message indicating to send a ProSe service, the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, and the first indication message is for indicating service features of the discovery message of the ProSe service. In the described method, first indication information indicating to send a discovery message of a ProSe service is described in detail. By means of the first indication information, the discovery message of the ProSe service needing to be sent can be accurately identified, and thus the wide coverage of the ProSe service may be achieved.

Description

一种发现消息的发送方法及装置Method and device for sending discovery message
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年10月22日提交中国专利局、申请号为202111232931.0、申请名称为“一种发现消息的发送方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the China Patent Office on October 22, 2021, with application number 202111232931.0, and application title "A Method and Device for Sending Discovery Messages", the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本公开涉及通信技术领域,尤其涉及一种发现消息的发送方法及装置。The present disclosure relates to the field of communication technologies, and in particular, to a method and device for sending a discovery message.
背景技术Background technique
在无线通信技术领域中,终端与终端之间的通信方式有蜂窝网络通信以及直接通信,蜂窝网络通信示意图如图1所示,直接通信示意图如图2所示,在蜂窝网络通信中,终端与终端的之间的通信通过基站实现,终端与基站通过Uu接口进行通信,当终端UE1与终端UE2进行通信时,终端UE1通过Uu接口将信号转发至基站,再由基站将接收的信号发送至终端UE2;在直接通信中,终端与终端之间的通信通过直接通信链路(Sidelink链路)实现,直接通信链路对应的无线接口称为Sidelink接口或者PC5接口,当终端UE1与终端UE2进行近距离通信时,可以通过直接通信链路传输信号。In the field of wireless communication technology, the communication methods between terminals include cellular network communication and direct communication. The schematic diagram of cellular network communication is shown in Figure 1, and the schematic diagram of direct communication is shown in Figure 2. In cellular network communication, terminals and The communication between terminals is realized through the base station. The terminal and the base station communicate through the Uu interface. When the terminal UE1 communicates with the terminal UE2, the terminal UE1 forwards the signal to the base station through the Uu interface, and then the base station sends the received signal to the terminal. UE2; in direct communication, the communication between terminals is realized through a direct communication link (Sidelink link), and the wireless interface corresponding to the direct communication link is called a Sidelink interface or a PC5 interface. When communicating over distance, the signal can be transmitted over a direct communication link.
当两个终端之间的距离较远时,为了扩大网络覆盖范围,引入了中继终端,中继终端的示意图如图3所示,中继终端与基站使用Uu接口传输数据,中继终端与远端终端之间使用Sidelink接口或PC5接口传输数据,若要实现两个终端的远距离通信,则需要在两个终端之间选择一个终端作为中继终端,中继终端通过信号的转发实现两个终端的远距离通信。When the distance between two terminals is long, in order to expand the network coverage, a relay terminal is introduced. The schematic diagram of the relay terminal is shown in Figure 3. The relay terminal and the base station use the Uu interface to transmit data. Remote terminals use Sidelink interface or PC5 interface to transmit data. To realize long-distance communication between two terminals, it is necessary to select a terminal between the two terminals as a relay terminal. long-distance communication between terminals.
终端通过发送或者接收发现信号实现对近距离的终端的发现,对于被发现的终端有两种分类,一种是中继终端,另一种是带有邻近服务(ProSe)业务的终端,终端在发送发现消息时,由于接入层(Access Stratum,AS)只记 载了中继终端的详细信息,AS层在终端进行通信时在空中接口接收或者发送信号,导致终端无法发出与ProSe业务相关的发现消息。The terminal realizes the discovery of the short-distance terminal by sending or receiving the discovery signal. There are two types of terminals to be discovered, one is the relay terminal, and the other is the terminal with the proximity service (ProSe) service. The terminal is in the When sending a discovery message, since the access layer (Access Stratum, AS) only records the detailed information of the relay terminal, the AS layer receives or sends signals on the air interface when the terminal communicates, so that the terminal cannot send a discovery related to the ProSe service. information.
发明内容Contents of the invention
本公开提供了一种发现消息的发送方法及装置,通过对关于ProSe业务的指示消息的详细定义以及对预设触发条件集的描述,使终端能够判断出发现消息为ProSe业务的发现消息,并且能够将ProSe业务的发现消息发送至其它的终端。The present disclosure provides a method and device for sending a discovery message. Through the detailed definition of the indication message about the ProSe service and the description of the preset trigger condition set, the terminal can determine that the discovery message is a discovery message of the ProSe service, and The discovery message of the ProSe service can be sent to other terminals.
第一方面,本公开提供了一种发现消息的发送方法,所述方法包括:In a first aspect, the present disclosure provides a method for sending a discovery message, the method including:
接收第一指示消息;receiving a first indication message;
根据所述第一指示消息,确定是否发送ProSe业务的发现消息;Determine whether to send a ProSe service discovery message according to the first indication message;
所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
通过上述描述的方法,对指示发送ProSe业务的发现消息的指示消息进行具体描述,能够准确识别出指示发送ProSe业务的发现消息的指示消息,从而能够实现ProSe业务的发现消息的发送以及ProSe业务的大范围覆盖。Through the method described above, the instruction message indicating to send the discovery message of the ProSe service is specifically described, and the instruction message indicating the sending of the discovery message of the ProSe service can be accurately identified, so that the sending of the discovery message of the ProSe service and the discovery of the ProSe service can be realized. Wide coverage.
在一种可能的设计中,所述确定是否发送ProSe业务的发现消息,具体为:In a possible design, the determining whether to send the discovery message of the ProSe service is specifically:
根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
在一种可能的设计中,所述确定是否发送ProSe业务的发现消息之前,所述方法还包括:In a possible design, before determining whether to send the discovery message of the ProSe service, the method further includes:
若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
在一种可能的设计中,所述确定是否发送ProSe业务的发现消息,具体为如下一种或者多种组合:In a possible design, the determining whether to send the discovery message of the ProSe service is specifically one or more combinations of the following:
当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
在一种可能的设计中,在所述确定是否发送ProSe业务的发现消息之前,还包括:In a possible design, before determining whether to send the discovery message of the ProSe service, it also includes:
根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
在一种可能的设计中,所述根据所述发现消息的类型处理所述发现消息,包括:In a possible design, the processing the discovery message according to the type of the discovery message includes:
将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设 模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed through a second preset mode, wherein the second preset mode compresses the discovery message.
在一种可能的设计中,所述根据固定码率发送所述发现消息,包括:In a possible design, the sending the discovery message according to a fixed code rate includes:
根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
第二方面,本公开还提供了一种发现消息的处理方法,所述方法包括:In a second aspect, the present disclosure also provides a method for processing a discovery message, the method including:
解析接收到的发现消息的消息类型;Parse the message type of the received discovery message;
将所述消息类型对应的发现消息传输至非接入层。Transmitting the discovery message corresponding to the message type to the non-access stratum.
通过上述描述的方法,解析终端发送的发现消息的消息类型,将不同类型的发现消息区分出来,不同的发现消息对应不同处理方式,避免了不同类型的发现消息混杂在一起,导致资源的耗费,实现了发现消息的高效处理。Through the method described above, the message type of the discovery message sent by the terminal is analyzed, and different types of discovery messages are distinguished. Different discovery messages correspond to different processing methods, which avoids the mixing of different types of discovery messages, resulting in resource consumption. Efficient processing of discovery messages is achieved.
在一种可能的设计中,所述将所述消息类型对应的发现消息传输至非接入层,包括:In a possible design, the transmitting the discovery message corresponding to the message type to the non-access stratum includes:
若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
在一种可能的设计中,根据下列至少一种方式解析接收到的发现消息的消息类型:In a possible design, the message type of the received discovery message is parsed according to at least one of the following methods:
根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
在一种可能的设计中,所述根据物理资源池判断所述发现消息的消息类型,包括:In a possible design, the determining the message type of the discovery message according to the physical resource pool includes:
若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确 定所述发现消息的消息类型为中继业务类型;If the physical resource pool where the discovery message is stored is the discovery message of the relay service, then determine that the message type of the discovery message is the relay service type;
若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息的消息类型为ProSe业务类型。If the physical resource pool where the discovery message is stored stores the discovery message of the ProSe service, then it is determined that the message type of the discovery message is the ProSe service type.
在一种可能的设计中,所述根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型,包括:In a possible design, the judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal includes:
获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
在一种可能的设计中,所述根据终端中的逻辑信道识别码判断所述发现消息的消息类型,包括:In a possible design, the judging the message type of the discovery message according to the logical channel identification code in the terminal includes:
获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
在一种可能的设计中,所述第一预设条件为如下条件中的一种或者多种组合:In a possible design, the first preset condition is one or more combinations of the following conditions:
所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
在一种可能的设计中,所述第二预设条件为如下条件中的一种或者多种组合:In a possible design, the second preset condition is one or more combinations of the following conditions:
所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
第三方面,本公开提供了一种发现消息的发送装置,所述装置包括:In a third aspect, the present disclosure provides an apparatus for sending a discovery message, and the apparatus includes:
接收模块,具体用于接收第一指示消息;A receiving module, specifically configured to receive a first indication message;
确定模块,具体用于根据所述第一指示消息,确定是否发送ProSe业务的发现消息;A determining module, specifically configured to determine whether to send a ProSe service discovery message according to the first indication message;
所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
在一些实施例中,所述确定模块具体用于:In some embodiments, the determination module is specifically used for:
根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
在一些实施例中,所述确定模块还用于:In some embodiments, the determining module is also used for:
若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
在一些实施例中,所述确定模块确定是否发送ProSe业务的发现消息时,具体执行如下一种或者多种组合:In some embodiments, when the determining module determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
在一些实施例中,所述确定模块还用于:In some embodiments, the determining module is also used for:
根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
在一些实施例中,所述确定模块具体用于:In some embodiments, the determination module is specifically used for:
将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
在一些实施例中,所述确定模块具体用于:In some embodiments, the determination module is specifically used for:
根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
第四方面,本公开还提供了一种发现消息的处理装置,所述装置包括:In a fourth aspect, the present disclosure also provides an apparatus for processing a discovery message, the apparatus including:
解析模块,具体用于解析接收到的发现消息的消息类型;A parsing module, specifically for parsing the message type of the received discovery message;
发送模块,具体用于将所述消息类型对应的发现消息传输至非接入层。The sending module is specifically configured to transmit the discovery message corresponding to the message type to the non-access stratum.
在一些实施例中,所述发送模块具体用于:In some embodiments, the sending module is specifically used for:
若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
在一些实施例中,所述解析模块具体用于根据下列至少一种方式解析接收到的发现消息的消息类型:In some embodiments, the parsing module is specifically configured to parse the message type of the received discovery message according to at least one of the following methods:
根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
在一些实施例中,所述解析模块具体用于:In some embodiments, the parsing module is specifically used for:
若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
在一些实施例中,所述解析模块具体用于:In some embodiments, the parsing module is specifically used for:
获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
在一些实施例中,所述解析模块具体用于:In some embodiments, the parsing module is specifically used for:
获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
在一些实施例中,所述第一预设条件为如下条件中的一种或者多种组合:In some embodiments, the first preset condition is one or more combinations of the following conditions:
所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
在一些实施例中,所述第二预设条件为如下条件中的一种或者多种组合:In some embodiments, the second preset condition is one or more combinations of the following conditions:
所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
第五方面,本公开提供了一种通信设备,包括存储器和处理器:In a fifth aspect, the present disclosure provides a communication device, including a memory and a processor:
所述存储器,存储计算机指令;the memory stores computer instructions;
所述处理器,用于读取所述存储器中的计算机程序,并执行如下步骤:The processor is configured to read the computer program in the memory, and perform the following steps:
接收第一指示消息;receiving a first indication message;
根据所述第一指示消息,确定是否发送邻近服务ProSe业务的发现消息;Determine whether to send a ProSe service discovery message according to the first indication message;
所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
在一种可能的设计中,所述处理器还用于:In a possible design, the processor is also used for:
若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
在一种可能的设计中,所述处理器,确定是否发送ProSe业务的发现消息时,具体执行如下一种或者多种组合:In a possible design, when the processor determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
在一种可能的设计中,所述处理器在所述确定是否发送ProSe业务的发现消息之前,还用于:In a possible design, before determining whether to send the discovery message of the ProSe service, the processor is further configured to:
根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
第六方面,本公开提供了一种通信设备,包括存储器和处理器:In a sixth aspect, the present disclosure provides a communication device, including a memory and a processor:
所述存储器,存储计算机指令;the memory stores computer instructions;
所述处理器,用于读取所述存储器中的计算机程序,并执行如下步骤:The processor is configured to read the computer program in the memory, and perform the following steps:
解析接收到的发现消息的消息类型;将所述消息类型对应的发现消息传输至非接入层。Parse the message type of the received discovery message; transmit the discovery message corresponding to the message type to the non-access stratum.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
若类型标识的值为第一设定值,则所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, the discovery message is a discovery message of the ProSe service;
若类型标识的值为第二设定值,则所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, the discovery message is a discovery message of a relay service.
在一种可能的设计中,所述处理器具体用于:In a possible design, the processor is specifically used for:
获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
在一种可能的设计中,所述第一预设条件为如下条件中的一种或者多种组合:In a possible design, the first preset condition is one or more combinations of the following conditions:
所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
在一种可能的设计中,所述第二预设条件为如下条件中的一种或者多种组合:In a possible design, the second preset condition is one or more combinations of the following conditions:
所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
第七方面,一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行上述的一种发现消息的发送方法步骤以及一种发现消息的处理方法步骤。In a seventh aspect, a computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the computer perform the steps of the above-mentioned method for sending a discovery message and A method step for processing a discovery message.
第八方面,一种计算机程序产品,所述计算机程序产品在被计算机调用时,使得所述计算机执行上述的一种发现消息的发送方法步骤以及一种发现消息的处理方法步骤。In an eighth aspect, a computer program product, when invoked by a computer, causes the computer to execute the steps of the above method for sending a discovery message and the method for processing a discovery message.
附图说明Description of drawings
图1为本公开提供的蜂窝网络通信示意图;FIG. 1 is a schematic diagram of cellular network communication provided by the present disclosure;
图2为本公开提供的终端与终端之间的通信示意图;FIG. 2 is a schematic diagram of communication between terminals provided by the present disclosure;
图3为本公开提供的另一种终端与终端之间的通信示意图;FIG. 3 is another schematic diagram of terminal-to-terminal communication provided by the present disclosure;
图4为本公开提供的一种发现消息的发送方法步骤流程图;FIG. 4 is a flow chart of steps in a method for sending a discovery message provided by the present disclosure;
图5为本公开提供的一种发现消息的发送装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for sending a discovery message provided by the present disclosure;
图6为本公开提供的一种发现消息的处理方法步骤流程图;FIG. 6 is a flow chart of steps in a method for processing a discovery message provided by the present disclosure;
图7为本公开提供的一种发现消息的处理装置的结构示意图;FIG. 7 is a schematic structural diagram of a discovery message processing device provided by the present disclosure;
图8为本公开提供的一种通信设备的结构示意图;FIG. 8 is a schematic structural diagram of a communication device provided by the present disclosure;
图9为本公开提供的一种通信设备的结构示意图。Fig. 9 is a schematic structural diagram of a communication device provided by the present disclosure.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、新空口(New Radio Access Technology,NR)、5G等。一种可选的实施方式中,本发明实施例中下述的发送设备可以是接入网设备,接收设备可以是终端设备;另一种可选的实施方式中,本发明实施例中下述的发送设备可以是终端设备,接收设备可以是终端设备。图1 示例一种通信系统架构,通信系统中包括接入网设备和终端设备。The technical solution of the present invention can be applied to various communication systems, for example: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced long term evolution (LTE-A) system, general Universal Mobile Telecommunication System (UMTS), New Radio Access Technology (NR), 5G, etc. In an optional implementation manner, the sending device described below in the embodiment of the present invention may be an access network device, and the receiving device may be a terminal device; in another optional implementation manner, the following in the embodiment of the present invention The sending device can be a terminal device, and the receiving device can be a terminal device. Fig. 1 illustrates a communication system architecture, and the communication system includes access network equipment and terminal equipment.
下面在描述本发明的具体实施例之前,对本发明涉及的技术概念进行描述。Before describing the specific embodiments of the present invention, the technical concept involved in the present invention will be described below.
1)终端设备,又称之为终端、用户设备(User Equipment,UE)、移动台(Mobile Station,MS)、移动终端(Mobile Terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:移动终端设备,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiated protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)等设备。无线终端设备也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、用户装置(user device),本公开实施例中并不限定。1) Terminal equipment, also known as terminal, user equipment (User Equipment, UE), mobile station (Mobile Station, MS), mobile terminal (Mobile Terminal, MT), etc., is a device that provides voice and/or data to users Connectivity devices, for example, handheld devices with wireless connectivity, vehicle-mounted devices, etc. At present, examples of some terminals are: mobile terminal equipment, such as mobile phones (or called "cellular" phones) and computers with mobile terminal equipment, such as portable, pocket, handheld, computer built-in or vehicle-mounted Mobile devices that exchange speech and/or data with the radio access network. For example, personal communication service (PCS) phones, cordless phones, session initiated protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants, PDA) and other devices. Wireless terminal equipment can also be called system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), and user device (user device), which are not limited in the embodiments of the present disclosure.
本公开实施例涉及的网络设备,可以是基站,该基站可以包括多个小区。根据具体应用场合不同,基站又可以称为接入点,或者可以是指接入网中在空中接口上通过一个或多个扇区与无线终端设备通信的设备,或者其它名称。网络设备可用于将收到的空中帧与网际协议(internet protocol,IP)分组进行相互转换,作为无线终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议通信网络。网络设备还可协调对空中接口的属性管理。例如,本公开实施例涉及的网络设备可以是全球移动通信系统(global system for mobile communications,GSM)或码分多址接入(code division multiple access,CDMA)中的网络设备(base transceiver station,BTS),也可以是带宽码分多址接入(wide-band code division multiple access,WCDMA) 中的网络设备(NodeB),还可以是长期演进(long term evolution,LTE)系统中的演进型网络设备(evolutional node B,eNB或e-NodeB)、5G网络架构(next generation system)中的5G基站,也可是家庭演进基站(home evolved node B,HeNB)、中继节点(relay node)、家庭基站(femto)、微微基站(pico)等,本公开实施例中并不限定。The network device involved in the embodiments of the present disclosure may be a base station, and the base station may include multiple cells. Depending on specific application scenarios, a base station may also be called an access point, or may refer to a device in an access network that communicates with a wireless terminal device through one or more sectors on an air interface, or other names. The network device can be used to convert received over-the-air frames to and from Internet Protocol (IP) packets and act as a router between the wireless terminal device and the rest of the access network, which can include the Internet protocol communication network. Network devices may also coordinate attribute management for the air interface. For example, the network device involved in the embodiment of the present disclosure may be a network device (base transceiver station, BTS) in a global system for mobile communications (GSM) or a code division multiple access (code division multiple access, CDMA) ), or a network device (NodeB) in wide-band code division multiple access (WCDMA), or an evolved network device in a long term evolution (LTE) system (evolutional node B, eNB or e-NodeB), the 5G base station in the 5G network architecture (next generation system), or the home evolution base station (home evolved node B, HeNB), relay node (relay node), home base station ( femto), pico base station (pico), etc., are not limited in this embodiment of the present disclosure.
如图1所示为本公开提供的蜂窝网络通信示意图,无线通信系统由基站、若干个终端设备以及CN核心网组成。终端UE1与终端UE2的无线通信通过基站来实现,当终端UE1需要向终端UE2发送信号时,终端UE1通过Uu接口将信号传输至基站,基站再通过Uu接口将信号传输至终端UE2,从而实现终端UE1与终端UE2的信号传输。FIG. 1 is a schematic diagram of cellular network communication provided by the present disclosure. The wireless communication system is composed of a base station, several terminal devices and a CN core network. The wireless communication between the terminal UE1 and the terminal UE2 is realized through the base station. When the terminal UE1 needs to send a signal to the terminal UE2, the terminal UE1 transmits the signal to the base station through the Uu interface, and the base station transmits the signal to the terminal UE2 through the Uu interface, thereby realizing the terminal Signal transmission between UE1 and terminal UE2.
如图2所示为本公开提供的终端与终端之间的通信示意图,无线通信系统由基站、若干个终端以及CN核心网组成,终端与基站的通过Uu接口进行信号传输,终端与终端之间的无线通信通过直接通信链路实现,即:通过Sidelink链路实现通信,直接通信链路对应的无线接口称为Sidelink接口或者PC5接口,当终端UE1与终端UE2需要进行无线通信时,终端UE1通过Sidelink接口或者PC5接口向终端UE2传输信号,终端UE2接收信号后,可以通过Sidelink接口或者PC5接口向终端UE1进行回传信号,从而实现终端与终端之间的无线通信。As shown in Figure 2, it is a schematic diagram of communication between terminals provided by the present disclosure. The wireless communication system consists of a base station, several terminals, and a CN core network. The signal transmission between the terminal and the base station is performed through the Uu interface. The wireless communication is realized through the direct communication link, that is, the communication is realized through the Sidelink link. The wireless interface corresponding to the direct communication link is called the Sidelink interface or the PC5 interface. When the terminal UE1 and the terminal UE2 need to communicate wirelessly, the terminal UE1 passes The Sidelink interface or the PC5 interface transmits signals to the terminal UE2. After receiving the signals, the terminal UE2 can transmit signals back to the terminal UE1 through the Sidelink interface or the PC5 interface, thereby realizing wireless communication between terminals.
如图3所示为本公开提供的另一种终端与终端之间的通信示意图,基于上述描述的终端与终端之间进行无线通信的基础上,为了扩大网络覆盖区域,需要解决的问题是当终端与终端之间的距离较远时,两个终端之间无法进行无线通信,因此,引入了中继终端,使中继终端作为两个终端进行无线通信的信号中转站,两个远距离的终端进行无线通信时,两个远距离的终端称为远端终端,其中一个远端终端先找到周围的终端,再确定一个终端为中继终端,通过Sidelink接口或者PC5接口向中继终端传输信号,中继终端接收所述远端终端的信号并将该信号通过Sidelink接口或者PC5接口转发至另一个远端终端,从而实现远距离的两个终端之间的无线通信。Figure 3 is another schematic diagram of communication between terminals provided by the present disclosure. Based on the wireless communication between terminals described above, in order to expand the network coverage area, the problem that needs to be solved is when When the distance between terminals is long, wireless communication between two terminals is impossible. Therefore, a relay terminal is introduced to make the relay terminal a signal transfer station for wireless communication between two terminals. Two long-distance When terminals perform wireless communication, two remote terminals are called remote terminals. One of the remote terminals first finds the surrounding terminals, and then determines that one terminal is a relay terminal, and transmits signals to the relay terminal through the Sidelink interface or PC5 interface. The relay terminal receives the signal of the remote terminal and forwards the signal to another remote terminal through the Sidelink interface or the PC5 interface, thereby realizing wireless communication between two remote terminals.
目前,由于5G网络技术的发展,大部分地区已经实现5G网络的覆盖,当终端与终端进行远距离的无线通信时,需要在两个终端之间选择一个终端作为中继终端,通过中继终端转发信号实现两个远距离终端的信号传输,当终端需要与远距离的终端进行信号传输时,需要发现周围的终端,周围的终端有两种类型,一种是中继终端,另一种是带有ProSe业务的终端,ProSe业务称为邻近服务(Proximity Service,ProSe),是指用户数据可不经网络中转而直接在终端之间传输。这里需要说明是,在5G网络场景中,该ProSe业务具体为5G ProSe业务,下面统一使用ProSe业务进行说明。At present, due to the development of 5G network technology, 5G network coverage has been realized in most areas. When a terminal performs long-distance wireless communication with the terminal, it is necessary to select a terminal between the two terminals as a relay terminal, and through the relay terminal The forwarding signal realizes the signal transmission between two remote terminals. When a terminal needs to perform signal transmission with a remote terminal, it needs to discover the surrounding terminals. There are two types of surrounding terminals, one is a relay terminal, and the other is a relay terminal. Terminals with ProSe services, ProSe services are called proximity services (Proximity Service, ProSe), which means that user data can be directly transmitted between terminals without going through the network. What needs to be explained here is that in the 5G network scenario, the ProSe service is specifically a 5G ProSe service, and the ProSe service is uniformly used for description below.
在无线通信领域中,AS层在终端进行无线通信时在空中接口接收或者发送信号,由于AS层只记载了中继终端的详细信息,因此终端只能发送中继业务的发现消息,而无法发送与ProSe业务的发现消息。In the field of wireless communication, the AS layer receives or sends signals on the air interface when the terminal performs wireless communication. Since the AS layer only records the detailed information of the relay terminal, the terminal can only send the discovery message of the relay service, but cannot send Discovery messages with ProSe services.
为了解决上述的问题,本公开实施例提供一种发现消息的发送方法,以解决上述场景下出现的终端无法发送与ProSe业务相关的发现消息的问题。其中,本公开实施例所述方法和装置基于同一技术构思,由于方法及装置所解决问题的原理相似,因此装置与方法的实施例可以相互参见,重复之处不再赘述。In order to solve the above problems, the embodiments of the present disclosure provide a method for sending a discovery message, so as to solve the problem that the terminal cannot send the discovery message related to the ProSe service in the above scenario. Wherein, the method and the device described in the embodiments of the present disclosure are based on the same technical concept. Since the principles of the problems solved by the method and the device are similar, the embodiments of the device and the method can be referred to each other, and the repetitions will not be repeated.
下面结合附图,对本公开实施例进行详细描述。Embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings.
实施例一Embodiment one
参照图4所示,本公开提供了一种发现消息的发送方法,该方法可以解决与ProSe业务相关的发现消息无法发出的问题,该方法的实现流程如下:Referring to Figure 4, the present disclosure provides a method for sending a discovery message, which can solve the problem that the discovery message related to the ProSe service cannot be sent. The implementation process of the method is as follows:
步骤S1:接收第一指示消息。Step S1: Receive a first indication message.
为了触发终端发送发现消息,在终端发送发现消息之前,终端需要从非接入层接收第一指示消息,根据第一指示消息判断是否需要触发发现消息的发送,非接入层包括移动性管理、呼叫控制、会话管理以及身份管理。In order to trigger the terminal to send a discovery message, before the terminal sends the discovery message, the terminal needs to receive a first indication message from the non-access stratum, and judge whether to trigger the sending of the discovery message according to the first indication message. The non-access stratum includes mobility management, Call control, session management, and identity management.
在本公开实施例中,第一指示消息为如下的一种或者多种的消息的组合:In this embodiment of the disclosure, the first indication message is a combination of one or more of the following messages:
1、第一指示消息为指示发送ProSe业务的发现消息;1. The first indication message is a discovery message indicating to send the ProSe service;
终端解析出第一指示消息的内容,根据该内容判断是指示发送ProSe业务 的发现消息还是指示发送中继业务的发现消息。The terminal parses out the content of the first indication message, and judges according to the content whether to indicate to send the discovery message of the ProSe service or to indicate to send the discovery message of the relay service.
2、第一指示消息为指示所述发现消息的类型为ProSe业务的发现消息;2. The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
在本公开实施例中,由于描述的是指示所述发现消息的类型为ProSe业务的发现消息,所以,第一指示信息就为指示所述发现消息的类型为ProSe业务的发现消息。In the embodiment of the present disclosure, since the discovery message indicating that the type of the discovery message is a ProSe service is described, the first indication information is the discovery message indicating that the type of the discovery message is a ProSe service.
3、第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为周期性业务相关的业务周期以及业务起始时刻;3. The first indication message is the service characteristic of the discovery message indicating the ProSe service, wherein the service characteristic is the service period related to the periodic service and the service start time;
将获取的第一指示消息进行解析之后,通过ProSe业务的发现消息能够识别周围多种类型的终端,比如:中继业务的终端、ProSe业务的终端等,当指示的业务特征中有能够识别多种类型的终端等特点时,就能够确定指示消息为指示ProSe业务的发现消息的业务特征。After parsing the obtained first indication message, various types of terminals around can be identified through the discovery message of the ProSe service, for example: a terminal of the relay service, a terminal of the ProSe service, etc. When characteristics such as various types of terminals are determined, it can be determined that the indication message is the service characteristic of the discovery message indicating the ProSe service.
4、第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。4. The first indication message indicates that the target address corresponding to the discovery message of the ProSe service is the ProSe service terminal.
在接收到第一指示消息之后,要确定ProSe业务的发现消息对应的目标地址的终端是否为ProSe业务终端,由于终端中存储了发现消息的类型指示消息与ProSe业务终端的映射关系,因此,能够根据查找表1确定ProSe业务的发现消息对应的目标地址是否为ProSe业务终端,表1如下所示:After receiving the first indication message, it is necessary to determine whether the terminal of the target address corresponding to the discovery message of the ProSe service is a ProSe service terminal. Since the mapping relationship between the type indication message of the discovery message and the ProSe service terminal is stored in the terminal, it can Determine whether the target address corresponding to the discovery message of the ProSe service is a ProSe service terminal according to lookup table 1, and table 1 is as follows:
Figure PCTCN2022125093-appb-000001
Figure PCTCN2022125093-appb-000001
表1Table 1
上述表1记录了类型指示消息与目标地址的关系,目标地址中包含ProSe业务终端的目标地址以及中继业务的目标地址,ProSe业务类型对应的目标地 址为ProSe业务终端的目标地址,中继业务类型对应的目标地址为中继业务终端的目标地址。The above table 1 records the relationship between the type indication message and the target address. The target address includes the target address of the ProSe service terminal and the target address of the relay service. The target address corresponding to the ProSe service type is the target address of the ProSe service terminal. The relay service The destination address corresponding to the type is the destination address of the relay service terminal.
终端解析接收的第一指示消息,解析出类型指示消息与目标地址的对应关系,将该对应关系与表1进行匹配,当匹配出类型指示消息与目标地址的对应关系时,就能够确定第一指示消息中需要发送发现消息的类型,当匹配出ProSe业务的发现消息的类型指示消息与目标地址的对应关系时,表明指示消息指示的是发送ProSe业务的发现消息,当匹配出中继业务的发现消息与目标地址的对应关系时,表明指示消息指示的是发送中继业务的发现消息。对于中继业务的发现消息指示消息,在现有的方案中已经详细描述,此处不再赘述。在本公开实施例中对ProSe业务的发现消息指示消息进行详细描述。The terminal parses the received first indication message, parses out the correspondence between the type indication message and the target address, and matches the correspondence with Table 1. When the correspondence between the type indication message and the target address is matched, the first indication message can be determined. Indicates the type of the discovery message that needs to be sent in the message. When the corresponding relationship between the discovery message of the ProSe service and the target address is matched, it indicates that the message indicates that the discovery message of the ProSe service is sent. When the message of the relay service is matched When the correspondence between the message and the target address is discovered, it indicates that the indication message indicates the discovery message for sending the relay service. For the indication message of the discovery message of the relay service, it has been described in detail in the existing solution, and will not be repeated here. In the embodiment of the present disclosure, the discovery message indication message of the ProSe service is described in detail.
进一步,上述的指示消息可以是单独的一种,也可以是多种组合,比如:Further, the above indication message can be a single type, or can be a combination of multiple types, such as:
情况一:第一指示消息为指示发送ProSe业务的发现消息,并且指示所述发现消息的类型为ProSe业务的发现消息;Case 1: the first indication message is a discovery message indicating to send a ProSe service, and indicates that the type of the discovery message is a discovery message of a ProSe service;
情况二:第一指示消息为指示发送ProSe业务的发现消息,并且指示ProSe业务的发现消息的业务特征;Case 2: The first indication message is a discovery message indicating to send the ProSe service, and indicates the service characteristics of the discovery message of the ProSe service;
情况三:第一指示消息为指示发送ProSe业务的发现消息、指示发现消息的类型为ProSe业务的发现消息以及指示ProSe业务的发现消息的类型指示消息与目标地址的映射关系;Situation 3: The first indication message is a discovery message indicating to send a ProSe service, a discovery message indicating that the type of the discovery message is a ProSe service, and a mapping relationship between a type indication message and a target address of the discovery message indicating the ProSe service;
情况四:第一指示消息为指示发送ProSe业务的发现消息、指示ProSe业务的发现消息的业务特征以及指示ProSe业务的发现消息的类型指示消息与目标地址的映射关系;Situation 4: The first indication message is the mapping relationship between the discovery message indicating the sending of the ProSe service, the service characteristic of the discovery message indicating the ProSe service, and the type indication message of the discovery message indicating the ProSe service and the target address;
情况五:第一指示发送ProSe业务的发现消息、指示发现消息的类型为ProSe业务的发现消息、指示ProSe业务的发现消息的业务特征以及指示ProSe业务的发现消息的类型指示消息与目标地址的映射关系。Situation 5: The first indication is to send a discovery message of a ProSe service, a discovery message indicating that the type of the discovery message is a ProSe service, a service feature of the discovery message indicating a ProSe service, and a mapping between a type indication message and a target address of the discovery message indicating a ProSe service relation.
在本公开实施例中,对于第一指示消息的多种组合列举了上述五种可能的情况,由于第一指示消息可以是一条消息、也可以是任意两条信息进行组合,也可以是任意三条信息进行组合,也可以是四条信息组合,此处就不再 一一例举。In the embodiment of the present disclosure, the above five possible situations are listed for various combinations of the first indication message, since the first indication message can be one message, or any combination of two pieces of information, or any three pieces of information The combination of information may also be a combination of four pieces of information, which will not be listed one by one here.
通过上述的方式,对指示终端发送ProSe业务的发现消息的第一指示消息作出了具体的描述,通过描述的内容能够确认第一指示消息为指示终端发送ProSe业务的发现消息,实现了对ProSe业务的发现消息的指示消息的识别。Through the above method, the first indication message for instructing the terminal to send the discovery message of the ProSe service is described in detail. Through the content of the description, it can be confirmed that the first indication message is the discovery message for instructing the terminal to send the ProSe service, and the ProSe service is realized. The identification of the discovery message indicates the message.
在获得第一指示消息之后,需要判断发送发现消息的类型是否为ProSe业务的发现消息,采取的确定方式有三种,具体确定过程如下:After obtaining the first indication message, it is necessary to determine whether the type of the discovery message to be sent is a discovery message of the ProSe service. There are three ways to determine, and the specific determination process is as follows:
方式一:判断发现消息的指示消息是否为ProSe业务的发现消息;Mode 1: judging whether the indication message of the discovery message is a discovery message of the ProSe service;
若第一指示消息指示的发现消息的类型为ProSe业务的发现消息,则第一指示消息是为指示发送ProSe业务的发现消息,若第一指示消息指示的发现消息的类型为非ProSe业务的发现消息,则第一指示消息为指示发送中继业务的发现消息。If the type of the discovery message indicated by the first indication message is a discovery message of a ProSe service, then the first indication message is a discovery message indicating to send a ProSe service, if the type of the discovery message indicated by the first indication message is a discovery message of a non-ProSe service message, the first indication message is a discovery message indicating to send the relay service.
方式二:判断发现消息对应的目标地址与ProSe业务终端的映射关系;Method 2: judging the mapping relationship between the target address corresponding to the discovery message and the ProSe service terminal;
获取发现消息的类型指示消息对应的目标地址,判断目标地址对应的终端是否为带有ProSe业务的终端,若是,则判定该发现消息为ProSe业务的发现消息,若否,则忽略该指示消息。Obtain the target address corresponding to the type indication message of the discovery message, determine whether the terminal corresponding to the target address is a terminal with a ProSe service, if so, then determine that the discovery message is a discovery message of the ProSe service, if not, ignore the indication message.
方式三:方式三为方式一与方式二进行结合,需要同时满足方式一以及方式二,才能确定发现消息为ProSe业务的发现消息。Mode 3: Mode 3 is a combination of Mode 1 and Mode 2. Only Mode 1 and Mode 2 must be satisfied at the same time to determine that the discovery message is the discovery message of the ProSe service.
通过上述的描述方法,能够通过方式一、方式二以及方式三中的任意一种判断发现消息的类型,从而根据发现消息的类型准确的确定是否发送ProSe业务的发现消息,提高了识别ProSe业务的发现消息的准确性。Through the above description method, the type of the discovery message can be judged by any one of the methods 1, 2 and 3, so as to accurately determine whether to send the discovery message of the ProSe service according to the type of the discovery message, and improve the identification of the ProSe service. Discover the accuracy of the message.
步骤S2:根据第一指示消息,确定是否发送ProSe业务的发现消息。Step S2: Determine whether to send a ProSe service discovery message according to the first indication message.
当接收用于指示终端发送ProSe业务的发现消息的第一指示消息之后,第一指示消息为上述描述的组合方式的一种,当第一指示消息满足条件之后,根据接收的第一指示消息,获得触发条件,并根据触发条件确定是否发送ProSe业务的发现消息。After receiving the first indication message used to instruct the terminal to send the discovery message of the ProSe service, the first indication message is one of the combination methods described above, and when the first indication message meets the conditions, according to the received first indication message, The trigger condition is obtained, and it is determined whether to send the discovery message of the ProSe service according to the trigger condition.
当获得触发条件之后,需要对触发条件进行判断,当触发条件为以下条件之一或者组合时,确定发送所述ProSe业务的发现消息,触发条件包括以下 条件之一或者组合:After the trigger condition is obtained, the trigger condition needs to be judged. When the trigger condition is one or a combination of the following conditions, it is determined to send the discovery message of the ProSe service. The trigger condition includes one or a combination of the following conditions:
条件一:终端的直接通信链路的无线资源占用率超过预设值;Condition 1: The wireless resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
在发送发现消息之前,为了检测终端周围是否有足够数量的终端,需要检测终端使用直接通信链路的数量与终端所有的直接通信链路的数量的比值,计算出终端的直接通信链路的无线资源占用率,当直接通信链路的无线资源占用率超过预设值的时,终端就能够确定周围存在足够数量的其它终端,可以向周围的其它终端发送发现消息,当直接通信链路的无线资源占用率小于预设值,终端则会忽略发送发现消息的指示消息。Before sending the discovery message, in order to detect whether there are enough terminals around the terminal, it is necessary to detect the ratio of the number of direct communication links used by the terminal to the number of direct communication links owned by the terminal, and calculate the radio frequency of the direct communication links of the terminal. Resource occupancy rate, when the wireless resource occupancy rate of the direct communication link exceeds the preset value, the terminal can determine that there are a sufficient number of other terminals around, and can send discovery messages to other terminals around, when the wireless resource occupancy rate of the direct communication link If the resource occupancy rate is less than the preset value, the terminal will ignore the indication message for sending the discovery message.
在本公开实施例中,预设值根据实际需求变化,不是固定的一个值,因此,这里不做过多说明。In the embodiment of the present disclosure, the preset value varies according to actual needs, and is not a fixed value, therefore, too much description is omitted here.
比如:当终端的直接通信链路的无线资源占用率为46%,预设值为30%,46%大于30%,则可以确定周围存在足够数量的其它终端;For example: when the wireless resource occupancy rate of the direct communication link of the terminal is 46%, the preset value is 30%, and if 46% is greater than 30%, it can be determined that there are a sufficient number of other terminals around;
当终端的直接通信链路的无线资源占用率为35%,预设值为40%,35%小于40%,则终端会忽略发送发现消息的指示消息。When the radio resource occupancy rate of the direct communication link of the terminal is 35%, the preset value is 40%, and 35% is less than 40%, the terminal ignores the indication message for sending the discovery message.
条件二:终端接收到其它终端发送的发现消息请求;Condition 2: The terminal receives a discovery message request sent by other terminals;
为了发现终端周围的其它终端,还有一种方式是周围的其它终端主动将发现消息请求发送至终端,终端接收到其它终端发送的发现消息请求之后,终端能够通过接收的发现消息请求发现周围的其它终端,从而终端根据接收到的发现消息请求的数量确定周围存在其它的终端的数量。In order to discover other terminals around the terminal, there is another way that other terminals around the terminal actively send discovery message requests to the terminal. After the terminal receives the discovery message requests sent by other terminals, the terminal can discover other terminals around the terminal through the received discovery message request. The terminal, so that the terminal determines the number of other terminals around it according to the number of received discovery message requests.
条件三:终端接收到的发现消息请求对应的目标地址在目标地址名单中;Condition 3: The target address corresponding to the discovery message request received by the terminal is in the target address list;
终端接收到发现消息请求之后,终端需要根据接收的发现消息请求解析出对应的目标地址,发现消息请求中包含目标地址的信息,目标地址为ProSe业务的发现消息对应的终端的目标地址或者为ProSe业务的目标地址。After the terminal receives the discovery message request, the terminal needs to parse out the corresponding target address according to the received discovery message request. The discovery message request contains the information of the target address, and the target address is the target address of the terminal corresponding to the discovery message of the ProSe service or the ProSe The destination address of the business.
终端通过通信协议获取表2,表2为发现消息请求与解析出的目标地址的对应关系,表2如下所示:The terminal obtains Table 2 through the communication protocol. Table 2 shows the correspondence between the discovery message request and the parsed target address. Table 2 is as follows:
发现消息请求discovery message request 目标地址target address
发现消息请求1Discovery message request 1 0xFFAF0xFFAF
发现消息请求2Discovery message request 2 0xFFFB0xFFFB
发现消息请求3Discovery message request 3 0xFFAB0xFFAB
...... … ...... …
表2Table 2
在本公开实施例中,终端通过发现消息请求可以解析出目标地址,当获取发现消息请求的目标地址之后,就可以保存发现消息请求与目标地址的对应关系,当终端再次接收该发现消息请求时,可以通过表2获取该发现消息请求对应的目标地址。In the embodiment of the present disclosure, the terminal can resolve the target address through the discovery message request. After obtaining the target address of the discovery message request, it can save the corresponding relationship between the discovery message request and the target address. When the terminal receives the discovery message request again , the target address corresponding to the discovery message request can be acquired through Table 2.
目标地址名单target address list
0xFFFF0xFFFF
0xFAB80xFAB8
...... …
表3table 3
在本公开实施例中,表3为目标地址名单,当获取发现消息请求对应的目标地址之后,将该目标地址与终端的目标地址名单进行匹配,若匹配出一致的目标地址,表示该目标地址在终端的目标地址名单中,则终端将发送发现消息请求的终端作为周围存在的终端,若匹配不到一致的目标地址,则终端忽略发送发现消息请求的终端。In the embodiment of the present disclosure, Table 3 is the target address list. After obtaining the target address corresponding to the discovery message request, the target address is matched with the target address list of the terminal. If a consistent target address is matched, it indicates that the target address In the target address list of the terminal, the terminal regards the terminal sending the discovery message request as the terminal existing around, and if no consistent target address is matched, the terminal ignores the terminal sending the discovery message request.
通过上述的方式,达到终端与发送发现消息请求的终端的双向认定,周围的终端需要发送发现消息请求至终端,且终端的目标地址名单中要有发现消息请求解析出的目标地址,当发送发现消息请求解析出的目标地址不在目标地址名单中,即使发送发现消息请求的终端在周围,终端也会忽略该终端。Through the above method, the two-way identification between the terminal and the terminal sending the discovery message request is achieved. The surrounding terminals need to send the discovery message request to the terminal, and the target address list of the terminal must have the target address resolved by the discovery message request. When sending the discovery message request The target address resolved by the message request is not in the target address list, even if the terminal sending the discovery message request is nearby, the terminal will ignore the terminal.
条件四:终端处于接收或者发送发现消息的状态;Condition 4: The terminal is in the state of receiving or sending a discovery message;
当终端处于发送或者接收发现消息的状态时,表明终端在非接入层的业务周期内,非接入层在业务周期内能够对终端发送或者接收的发现消息进行 处理,因此终端能够通过指示消息发送发现消息。When the terminal is in the state of sending or receiving discovery messages, it indicates that the terminal is in the service period of the non-access stratum, and the non-access stratum can process the discovery messages sent or received by the terminal during the service period, so the terminal can pass the indication message Send a discovery message.
这里需要说明是,在本公开实施中,四条触发条件中可以任意两条触发条件进行组合,也可以是任意三条触发条件进行组合,也可以是四条触发条件的组合,上述只例举了五种组合的方式,其它的组合方式可以参考上述情况一至情况五中的任意一种情况,对其它的组合方式这里不做过多例举。It should be noted here that, in the implementation of the present disclosure, any two of the four trigger conditions can be combined, or any three trigger conditions can be combined, or four trigger conditions can be combined. The above only exemplifies five As for the way of combination, other combination ways can refer to any one of the above-mentioned situations 1 to 5, and there are no too many examples for other combination ways here.
若触发条件满足上述的所描述的条件,则可以发送ProSe业务的发现消息,在发送ProSe业务的发现消息之前已经根据指示信息获取了发现消息的类型,因此需要对发现消息进行处理,发现消息的类型为ProSe业务的发现消息时,将ProSe业务的发现消息进行压缩处理。当然,对于发现消息的类型为中继业务的发现消息时,则不对该发现消息做任何处理。If the trigger condition satisfies the conditions described above, the discovery message of the ProSe service can be sent. Before sending the discovery message of the ProSe service, the type of the discovery message has been obtained according to the indication information, so the discovery message needs to be processed. When the type is the discovery message of the ProSe service, the discovery message of the ProSe service is compressed. Of course, when the type of the discovery message is the discovery message of the relay service, no processing is performed on the discovery message.
在对ProSe业务的发现消息进行处理之后,计算发现消息的固定码率,在获得发现消息的固定码率之后,根据固定码率与发送功率的映射关系发送发现消息,固定码率与发送功率成反比关系,当固定码率越大,发送功率越小,在通信协议中,规定了固定码率与发送功率的映射关系。After processing the discovery message of the ProSe service, calculate the fixed code rate of the discovery message, and after obtaining the fixed code rate of the discovery message, send the discovery message according to the mapping relationship between the fixed code rate and the transmission power. The fixed code rate is related to the transmission power. Inversely proportional relationship, when the fixed code rate is larger, the transmission power is smaller. In the communication protocol, the mapping relationship between the fixed code rate and the transmission power is specified.
在一种可能的设计中,在发送发现消息之前,还可以根据基站广播的系统信息(SIB)确定发送频率,根据确定的发送频率发送所述发现消息,在本公开实施例中,由于SIB与频率的关系为本领域技术人员公知的技术,因此这里不做过多的描述。In a possible design, before sending the discovery message, the sending frequency may also be determined according to the system information (SIB) broadcast by the base station, and the discovery message is sent according to the determined sending frequency. In the embodiment of the present disclosure, since the SIB and The relationship between frequencies is well known to those skilled in the art, so it will not be described too much here.
通过上述描述的方法,关于ProSe业务的发现消息有了详细的判定条件,在指示消息为指示发送ProSe业务的发现消息时,根据指示消息去检测触发条件,当触发条件符合要求时,发送ProSe业务的发现消息,从而实现终端对ProSe业务的发现消息的准确判断以及发送,进而实现了ProSe业务的大范围覆盖。Through the method described above, there are detailed judgment conditions for the discovery message of the ProSe service. When the indication message is a discovery message indicating the sending of the ProSe service, the trigger condition is detected according to the indication message, and the ProSe service is sent when the trigger condition meets the requirements. The discovery message of the ProSe service is realized, so that the terminal can accurately judge and send the discovery message of the ProSe service, and then realize the wide coverage of the ProSe service.
实施例二Embodiment two
在实施例一中描述了终端对ProSe业务的发现消息的处理过程,对于接收端来讲,也将对发现消息做对应的处理,具体参考图5所示,本公开实施例还提供了一种发现消息的处理方法,在发现消息由发送端发送至接收端后, 接收端会对所述发现消息进行处理,具体的实现流程如下:In Embodiment 1, the processing process of the discovery message of the ProSe service by the terminal is described. For the receiving end, the discovery message will also be processed accordingly. Referring to FIG. 5 for details, the embodiment of the present disclosure also provides a The processing method of the discovery message, after the discovery message is sent from the sender to the receiver, the receiver will process the discovery message, the specific implementation process is as follows:
步骤S21:解析接收到的发现消息的消息类型。Step S21: Parse the message type of the received discovery message.
在接收端接收到发现消息之后,需要判断发现消息的类型,对发现消息的类型判断可以是如下方式中的一种方式或者组合:After receiving the discovery message, the receiving end needs to judge the type of the discovery message. The type judgment of the discovery message can be one of the following methods or a combination:
第一种方式:根据发现消息所在的物理资源池进行判断。The first way: judge according to the physical resource pool where the discovery message is located.
具体来讲,物理资源池用于按照发现消息的类型接收发现消息,也就是发现消息被物理资源池接收之后,若接收该发现消息的物理资源池中存放的是中继业务的发现消息,则确定该发现消息为中继业务的发现消息,该发现消息就为中继业务的发现消息;若接收该发现消息的物理资源池中存放的是ProSe业务的发现消息,则确定该发现消息为ProSe业务的发现消息,该发现消息为ProSe业务的发现消息。Specifically, the physical resource pool is used to receive the discovery message according to the type of the discovery message, that is, after the discovery message is received by the physical resource pool, if the physical resource pool that receives the discovery message stores the discovery message of the relay service, then If it is determined that the discovery message is a discovery message of a relay service, the discovery message is a discovery message of a relay service; if the discovery message of a ProSe service is stored in the physical resource pool receiving the discovery message, then it is determined that the discovery message is a ProSe service. A discovery message of a service, where the discovery message is a discovery message of a ProSe service.
第二种方式:根据终端的直接链路控制指示中的类型标识判断发现消息的消息类型。The second manner: judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal.
具体来讲,在接收发现消息之后,获取发现消息对应的类型标识的值,发现消息中的类型标识是发现消息固有的特性,因此在发现消息中可以获取到类型标识,在类型标识为第一设定值时,发现消息为ProSe业务的发现消息;类型标识为第二设定值时,发现消息为中继业务的发现消息。Specifically, after receiving the discovery message, obtain the value of the type identifier corresponding to the discovery message. The type identifier in the discovery message is an inherent characteristic of the discovery message. Therefore, the type identifier can be obtained in the discovery message. When the type identifier is the first When the value is set, the discovery message is the discovery message of the ProSe service; when the type identifier is the second set value, the discovery message is the discovery message of the relay service.
举例来说,若类型标识的值为1时,表明该发现消息为ProSe业务的发现消息,若类型标识的值为0时,表明该发现信息为中继业务的发现消息。For example, if the value of the type identifier is 1, it indicates that the discovery message is a discovery message of a ProSe service, and if the value of the type identifier is 0, it indicates that the discovery message is a discovery message of a relay service.
另外,类型标识的值为大于1的整数时,表明该发现消息为ProSe业务的子类型。在本公开实施例中,ProSe业务中包含的业务至少为一种。In addition, when the value of the type identifier is an integer greater than 1, it indicates that the discovery message is a subtype of the ProSe service. In the embodiment of the present disclosure, the ProSe service includes at least one kind of service.
第三种方式:根据逻辑信道识别码判断发现消息的消息类型。The third way: judging the message type of the discovery message according to the logical channel identification code.
具体来讲,在接收发现消息之后,获取发现消息的逻辑信道标识码,将获取的发现消息的逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,根据匹配出一致的逻辑信道标识码所在的列表确定发现消息的类型,这里需要说明是,中继业务的发现消息的逻辑信道标识码保存在第一逻辑信道标识码列表中,ProSe业务的发现消息的逻辑信道标识 码保存在第二逻辑信道标识码列表中。Specifically, after receiving the discovery message, the logical channel identification code of the discovery message is acquired, and the acquired logical channel identification code of the discovery message is matched with the first logical channel identification code list and the second logical channel identification code list, and according to the matching Find the list of consistent logical channel identification codes to determine the type of the discovery message. It should be noted here that the logical channel identification code of the discovery message of the relay service is stored in the first logical channel identification code list, and the logical channel identification code of the discovery message of the ProSe service The channel identification codes are stored in the second logical channel identification code list.
若匹配出一致的逻辑信道标识码在第一逻辑信道标识码列表中,则该发现消息为中继业务的发现消息,若匹配出一致的逻辑信道标识码在第二逻辑信道标识码列表中,则该发现消息为ProSe业务的发现消息。If the matching logical channel identification code is in the first logical channel identification code list, the discovery message is a discovery message of the relay service; if the matching logical channel identification code is in the second logical channel identification code list, Then the discovery message is a discovery message of the ProSe service.
通过上述描述的方法,能够通过三种方式中的任意一种确定出终端发送至接收端的发现消息的类型,对接收的发现消息的类型进行准确归类,避免了在处理发现消息时需要耗费大量的资源,有利于同一类型的发现消息的集中处理。Through the method described above, the type of the discovery message sent by the terminal to the receiver can be determined in any of the three ways, and the type of the received discovery message can be accurately classified, avoiding the need to spend a lot of time when processing the discovery message resources, facilitating centralized processing of discovery messages of the same type.
步骤S22:将消息类型对应的发现消息传输至非接入层。Step S22: Transmitting the discovery message corresponding to the message type to the non-access stratum.
当发现消息的类型为中继业务的发现消息之后,需要将符合第一预设条件的中继终端的发现消息发送至非接入层,第一预设条件可以是如下两种条件中的其中一种条件:When the type of the discovery message is the discovery message of the relay service, the discovery message of the relay terminal that meets the first preset condition needs to be sent to the non-access stratum. The first preset condition can be one of the following two conditions A condition:
条件一:发现消息为带有信噪比的中继业务的发现消息,信噪比越大,表明信号传输过程中受到的干扰就越小。Condition 1: The discovery message is a discovery message of a relay service with a signal-to-noise ratio, and the larger the signal-to-noise ratio, the smaller the interference received during signal transmission.
在确定该发现消息为带有信噪比的中继业务的发现消息之后,将该发现消息发送至非接入层。After determining that the discovery message is a discovery message of a relay service with a signal-to-noise ratio, the discovery message is sent to the non-access stratum.
条件二:发现消息为带有信道质量值的中继业务的发现消息,信道质量值代表无线信道的通信质量。Condition 2: The discovery message is a discovery message of a relay service with a channel quality value, and the channel quality value represents the communication quality of the wireless channel.
确定该发现消息为带有信道质量值的中继业务的发现消息之后,将该中继业务的发现消息与该中继业务的发现消息对应的信道质量值一起发送至非接入层。After determining that the discovery message is the discovery message of the relay service with the channel quality value, the discovery message of the relay service and the channel quality value corresponding to the discovery message of the relay service are sent to the non-access stratum.
通过上述描述的方法,在确认发现消息的类型为中继业务的发现消息之后,可以用上述描述的条件一或者条件二将中继业务的发现消息发送至非接入层。Through the method described above, after confirming that the type of the discovery message is the discovery message of the relay service, the discovery message of the relay service may be sent to the non-access stratum by using the above-described condition 1 or condition 2.
当确定发现消息的类型为ProSe业务的发现消息之后,需要将符合第二预设条件的发现消息发送至非接入层,第二预设条件可以是如下条件一和/或条件二:After determining that the type of the discovery message is a discovery message of a ProSe service, it is necessary to send a discovery message that meets the second preset condition to the non-access stratum, and the second preset condition may be the following condition 1 and/or condition 2:
条件一:发现消息的类型为ProSe业务的发现消息。Condition 1: The type of the discovery message is a discovery message of the ProSe service.
确定该发现消息的类型为ProSe业务的发现消息之后,将该ProSe业务的发现消息直接发送至非接入层。After determining that the type of the discovery message is the discovery message of the ProSe service, the discovery message of the ProSe service is directly sent to the non-access stratum.
条件二:发现消息与非接入层中发现消息类型列表的发现消息相同。Condition 2: The discovery message is the same as the discovery message in the discovery message type list in the NAS.
在确定发现消息的类型为ProSe业务的发现消息之后,将ProSe业务的发现消息与AS层中的发现消息类型列表进行匹配,将与发现消息类型列表中的发现消息相同的发现消息上传非接入层。After determining that the type of the discovery message is the discovery message of the ProSe service, match the discovery message of the ProSe service with the discovery message type list in the AS layer, and upload the same discovery message as the discovery message in the discovery message type list to the non-access layer.
通过上述描述的方法,在确认发现消息的类型为ProSe业务的发现消息之后,可以用上述描述的符合条件一和/或条件二的ProSe业务的发现消息上传至非接入层。Through the method described above, after confirming that the type of the discovery message is the discovery message of the ProSe service, the discovery message of the ProSe service described above that meets the condition 1 and/or condition 2 can be uploaded to the non-access stratum.
基于上述描述的方法,由于对ProSe业务相关资料的补充,接收端可以准确识别出中继业务的发现消息以及ProSe业务的发现消息,从而根据不同类型的发现消息做出不同的处理。Based on the method described above, the receiving end can accurately identify the discovery message of the relay service and the discovery message of the ProSe service due to the supplement of the relevant information of the ProSe service, and thus perform different processing according to different types of discovery messages.
实施例三Embodiment three
对应实施例一所提供的方法,本公开实施例中还提供了一种发现消息的发送装置,该发现消息的发送装置用于实现了一种发现消息的发送方法的功能,参照图6,所述装置包括:Corresponding to the method provided in Embodiment 1, an embodiment of the present disclosure also provides a device for sending a discovery message. The device for sending a discovery message is used to realize the function of a method for sending a discovery message. Referring to FIG. 6 , the Said devices include:
接收模块601,具体用于接收第一指示消息;The receiving module 601 is specifically configured to receive a first indication message;
确定模块602,具体用于根据所述第一指示消息,确定是否发送ProSe业务的发现消息;The determining module 602 is specifically configured to determine whether to send a discovery message of the ProSe service according to the first indication message;
所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
在一种可能的设计中,所述确定模块602具体用于:In a possible design, the determining module 602 is specifically configured to:
根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
在一种可能的设计中,所述确定模块602还用于:In a possible design, the determining module 602 is also configured to:
若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
在一种可能的设计中,所述确定模块602确定是否发送ProSe业务的发现消息时,具体执行如下一种或者多种组合:In a possible design, when the determining module 602 determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
在一种可能的设计中,所述确定模块602还用于:In a possible design, the determining module 602 is also configured to:
根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
在一种可能的设计中,所述确定模块602具体用于:In a possible design, the determining module 602 is specifically configured to:
将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
在一种可能的设计中,所述确定模块602具体用于:In a possible design, the determining module 602 is specifically configured to:
根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
实施例四Embodiment Four
对应实施例二所提供的方法,本公开实施例中还提供了一种发现消息的处理装置,该发现消息的处理装置用于实现了一种发现消息的处理方法的功能,参照图7,所述装置包括:Corresponding to the method provided in Embodiment 2, an embodiment of the present disclosure also provides a device for processing a discovery message. The device for processing a discovery message is used to realize the function of a method for processing a discovery message. Referring to FIG. 7 , the Said devices include:
解析模块701,具体用于解析接收到的发现消息的消息类型;Parsing module 701, specifically for parsing the message type of the received discovery message;
发送模块702,具体用于将所述消息类型对应的发现消息传输至非接入层。The sending module 702 is specifically configured to transmit the discovery message corresponding to the message type to the non-access stratum.
在一种可能的设计中,所述发送模块702具体用于:In a possible design, the sending module 702 is specifically configured to:
若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
在一种可能的设计中,所述解析模块701具体用于根据下列至少一种方式解析接收到的发现消息的消息类型:In a possible design, the parsing module 701 is specifically configured to parse the message type of the received discovery message according to at least one of the following methods:
根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
在一种可能的设计中,所述解析模块701具体用于:In a possible design, the parsing module 701 is specifically configured to:
若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
在一种可能的设计中,所述解析模块701具体用于:In a possible design, the parsing module 701 is specifically configured to:
获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
在一种可能的设计中,所述解析模块701具体用于:In a possible design, the parsing module 701 is specifically used to:
获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
在一种可能的设计中,所述第一预设条件为如下条件中的一种或者多种组合:In a possible design, the first preset condition is one or more combinations of the following conditions:
所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
在一种可能的设计中,所述第二预设条件为如下条件中的一种或者多种组合:In a possible design, the second preset condition is one or more combinations of the following conditions:
所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
所述发现消息与非接入层中发现消息类型列表中的发现消息相同时。When the discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
实施例五Embodiment five
在本公开实施例中还提供了一种通信设备,如图8所示,该通信设备包括:处理器801、存储器802以及总线接口803。An embodiment of the present disclosure also provides a communication device. As shown in FIG. 8 , the communication device includes: a processor 801 , a memory 802 , and a bus interface 803 .
处理器801负责管理总线架构和通常的处理,存储器802可以存储处理器803在执行操作时所使用的数据。The processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 can store data used by the processor 803 when performing operations.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器801代表的一个或多个处理器和存储器802代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其它电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器801负责管理总线架构和通常的处理,存储器802可以存储处理器801在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 801 and various circuits of the memory represented by the memory 802 are linked together. The bus architecture can also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. The processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 can store data used by the processor 801 when performing operations.
本公开实施例揭示的流程,可以应用于处理器801中,或者由处理器801实现。在实现过程中,信号处理流程的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。处理器801可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成信息处理流程的步骤。The processes disclosed in the embodiments of the present disclosure may be applied to the processor 801 or implemented by the processor 801 . In the implementation process, each step of the signal processing flow may be completed by an integrated logic circuit of hardware in the processor 801 or instructions in the form of software. The processor 801 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may realize or execute the The disclosed methods, steps and logical block diagrams. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present disclosure may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and completes the steps of the information processing flow in combination with its hardware.
具体地,处理器801,用于读取存储器802中的计算机指令并执行本公开实施例中发现消息的发送方法,具体执行如下步骤:Specifically, the processor 801 is configured to read the computer instructions in the memory 802 and execute the method for sending a discovery message in the embodiment of the present disclosure, and specifically perform the following steps:
接收第一指示消息以及根据所述第一指示消息,确定是否发送ProSe业务 的发现消息。Receiving the first indication message and determining whether to send the discovery message of the ProSe service according to the first indication message.
所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
在一种可能的设计中,所述处理器801具体用于:In a possible design, the processor 801 is specifically configured to:
根据检测到的触发条件确定是否发送所述ProSe业务的发现消息,所述触发条件包括以下条件之一或者组合:所述终端的直接通信链路的无线资源占用率超过预设值,所述终端接收到其它终端发送的发现消息请求,所述终端接收到的发现消息请求对应的目标地址在目标地址名单中,所述终端处于接收或者发送所述发现消息的状态。Determine whether to send the discovery message of the ProSe service according to the detected trigger condition, where the trigger condition includes one or a combination of the following conditions: the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, and the terminal Upon receiving a discovery message request sent by another terminal, the target address corresponding to the discovery message request received by the terminal is in the target address list, and the terminal is in a state of receiving or sending the discovery message.
在一种可能的设计中,所述处理器801还用于:In a possible design, the processor 801 is also configured to:
若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
在一种可能的设计中,所述处理器801具体用于:In a possible design, the processor 801 is specifically configured to:
当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送 ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
在一种可能的设计中,所述处理器801还用于:In a possible design, the processor 801 is also configured to:
根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
在一种可能的设计中,所述处理器801还用于:In a possible design, the processor 801 is also configured to:
将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
在一种可能的设计中,所述处理器801具体用于:In a possible design, the processor 801 is specifically configured to:
根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
实施例六Embodiment six
在本公开实施例中还提供了一种通信设备,如图9所示,该通信设备包括:处理器901、存储器902以及总线接口903。An embodiment of the present disclosure also provides a communication device. As shown in FIG. 9 , the communication device includes: a processor 901 , a memory 902 and a bus interface 903 .
处理器901负责管理总线架构和通常的处理,存储器902可以存储处理器903在执行操作时所使用的数据。The processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 can store data used by the processor 903 when performing operations.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器901代表的一个或多个处理器和存储器902代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其它电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器901负责管理总线架构和通常的处理,存储器902可以存储处理器901在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 901 and various circuits of the memory represented by the memory 902 are linked together. The bus architecture can also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. The processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 can store data used by the processor 901 when performing operations.
本公开实施例揭示的流程,可以应用于处理器901中,或者由处理器901实现。在实现过程中,信号处理流程的各步骤可以通过处理器901中的硬件 的集成逻辑电路或者软件形式的指令完成。处理器901可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器902,处理器901读取存储器902中的信息,结合其硬件完成信息处理流程的步骤。The processes disclosed in the embodiments of the present disclosure may be applied to the processor 901 or implemented by the processor 901 . In the implementation process, each step of the signal processing flow can be completed by an integrated logic circuit of hardware in the processor 901 or an instruction in the form of software. The processor 901 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may realize or execute the The disclosed methods, steps and logical block diagrams. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present disclosure may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the information processing flow in combination with its hardware.
具体地,处理器901,用于读取存储器902中的计算机指令并执行本公开实施例中发现消息的处理方法,具体执行如下步骤:Specifically, the processor 901 is configured to read the computer instructions in the memory 902 and execute the method for processing the discovery message in the embodiment of the present disclosure, and specifically execute the following steps:
解析接收到的发现消息的消息类型;Parse the message type of the received discovery message;
将所述消息类型对应的发现消息传输至非接入层。Transmitting the discovery message corresponding to the message type to the non-access stratum.
在一种可能的设计中,所述处理器901具体用于:In a possible design, the processor 901 is specifically configured to:
若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
在一种可能的设计中,所述处理器901根据下列至少一种方式解析接收到的发现消息的消息类型:In a possible design, the processor 901 parses the message type of the received discovery message according to at least one of the following methods:
根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
在一种可能的设计中,所述处理器901具体用于:In a possible design, the processor 901 is specifically configured to:
若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
在一种可能的设计中,所述处理器901具体用于:In a possible design, the processor 901 is specifically configured to:
获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
在一种可能的设计中,所述处理器901具体用于:In a possible design, the processor 901 is specifically configured to:
获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
在一种可能的设计中,所述第一预设条件为如下条件中的一种或者多种组合:In a possible design, the first preset condition is one or more combinations of the following conditions:
所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
在一种可能的设计中,所述第二预设条件为如下条件中的一种或者多种组合:In a possible design, the second preset condition is one or more combinations of the following conditions:
所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
在此需要说明的是,本公开实施例提供的上述通信设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted here that the above-mentioned communication device provided by the embodiments of the present disclosure can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effect. The same parts and beneficial effects are described in detail.
本公开实施例还提供了一种计算机程序产品,所述计算机程序产品在被计算机调用时,使得所述计算机执行上述实施例中的发现消息的发送方法以及发现消息的处理方法。An embodiment of the present disclosure further provides a computer program product, which, when invoked by a computer, causes the computer to execute the method for sending a discovery message and the method for processing a discovery message in the foregoing embodiments.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本公开是参照根据本公开的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present disclosure. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其它可编程数据处理设备上,使得在计算机或其它可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其它可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and equivalent technologies thereof, the present disclosure also intends to include these modifications and variations.

Claims (47)

  1. 一种发现消息的发送方法,其特征在于,包括:A method for sending a discovery message, comprising:
    接收第一指示消息;receiving a first indication message;
    根据所述第一指示消息,确定是否发送邻近服务ProSe业务的发现消息;Determine whether to send a ProSe service discovery message according to the first indication message;
    所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
    所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
    所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
    所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
    所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  2. 如权利要求1所述的方法,其特征在于,所述确定是否发送ProSe业务的发现消息,具体为:The method according to claim 1, wherein the determining whether to send the discovery message of the ProSe service is specifically:
    根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
    所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
    所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
    所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
    所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
    所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
  3. 如权利要求1所述的方法,其特征在于,所述确定是否发送ProSe业务的发现消息之前,所述方法还包括:The method according to claim 1, wherein before determining whether to send the discovery message of the ProSe service, the method further comprises:
    若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
    若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  4. 如权利要求1所述的方法,其特征在于,所述确定是否发送ProSe业 务的发现消息,具体为如下一种或者多种组合:The method according to claim 1, wherein said determining whether to send the discovery message of the ProSe service is specifically one or more of the following combinations:
    当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
    当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
    当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
    当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  5. 如权利要求1所述的方法,其特征在于,在所述确定是否发送ProSe业务的发现消息之前,还包括:The method according to claim 1, further comprising: before determining whether to send the discovery message of the ProSe service:
    根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
    计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  6. 如权利要求5所述的方法,其特征在于,所述根据所述发现消息的类型处理所述发现消息,包括:The method according to claim 5, wherein the processing the discovery message according to the type of the discovery message comprises:
    将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
    将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  7. 如权利要求5所述的方法,其特征在于,所述根据固定码率发送所述发现消息,包括:The method according to claim 5, wherein the sending the discovery message according to a fixed code rate comprises:
    根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
    根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
  8. 一种发现消息的处理方法,其特征在于,包括:A method for processing discovery messages, comprising:
    解析接收到的发现消息的消息类型;Parse the message type of the received discovery message;
    将所述消息类型对应的发现消息传输至非接入层。Transmitting the discovery message corresponding to the message type to the non-access stratum.
  9. 如权利要求8所述的方法,其特征在于,所述将所述消息类型对应的发现消息传输至非接入层,包括:The method according to claim 8, wherein the transmitting the discovery message corresponding to the message type to the non-access stratum comprises:
    若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
    若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  10. 如权利要求8所述的方法,其特征在于,根据下列至少一种方式解析接收到的发现消息的消息类型:The method according to claim 8, wherein the message type of the received discovery message is parsed according to at least one of the following methods:
    根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
    根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
    根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
  11. 如权利要求10所述的方法,其特征在于,所述根据物理资源池判断所述发现消息的消息类型,包括:The method according to claim 10, wherein the determining the message type of the discovery message according to the physical resource pool comprises:
    若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
    若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  12. 如权利要求10所述的方法,其特征在于,所述根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型,包括:The method according to claim 10, wherein the determining the message type of the discovery message according to the type identifier in the direct link control indication of the terminal comprises:
    获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
    若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
    若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
  13. 如权利要求10所述的方法,其特征在于,所述根据终端中的逻辑信道识别码判断所述发现消息的消息类型,包括:The method according to claim 10, wherein the judging the message type of the discovery message according to the logical channel identification code in the terminal comprises:
    获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
    若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
    若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  14. 如权利要求9所述的方法,其特征在于,所述第一预设条件为如下条件中的一种或者多种组合:The method according to claim 9, wherein the first preset condition is one or more combinations of the following conditions:
    所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
    所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  15. 如权利要求9所述的方法,其特征在于,所述第二预设条件为如下条件中的一种或者多种组合:The method according to claim 9, wherein the second preset condition is one or more combinations of the following conditions:
    所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
    所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  16. 一种发现消息的发送装置,其特征在于,包括:A device for sending a discovery message, characterized in that it includes:
    接收模块,具体用于接收第一指示消息;A receiving module, specifically configured to receive a first indication message;
    确定模块,具体用于根据所述第一指示消息,确定是否发送ProSe业务的发现消息;A determining module, specifically configured to determine whether to send a ProSe service discovery message according to the first indication message;
    所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
    所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
    所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
    所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务 特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is to indicate the service feature of the discovery message of the ProSe service, wherein the service feature is the relevant service cycle and service start time of the ProSe service;
    所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  17. 如权利要求16所述的装置,其特征在于,所述确定模块具体用于:The device according to claim 16, wherein the determining module is specifically configured to:
    根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
    所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
    所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
    所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
    所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
    所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
  18. 如权利要求16所述的装置,其特征在于,所述确定模块还用于:The device according to claim 16, wherein the determining module is further configured to:
    若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
    若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  19. 如权利要求16所述的装置,其特征在于,所述确定模块确定是否发送ProSe业务的发现消息时,具体执行如下一种或者多种组合:The device according to claim 16, wherein when the determining module determines whether to send the discovery message of the ProSe service, it specifically performs one or more of the following combinations:
    当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
    当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
    当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
    当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  20. 如权利要求16所述的装置,其特征在于,所述确定模块还用于:The device according to claim 16, wherein the determining module is further configured to:
    根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
    计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  21. 如权利要求20所述的装置,其特征在于,所述确定模块具体用于:The device according to claim 20, wherein the determination module is specifically used for:
    将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
    将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  22. 如权利要求20所述的装置,其特征在于,所述确定模块具体用于:The device according to claim 20, wherein the determination module is specifically used for:
    根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
    根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
  23. 一种发现消息的处理装置,其特征在于,包括:A device for processing a discovery message, characterized in that it includes:
    解析模块,具体用于解析接收到的发现消息的消息类型;A parsing module, specifically for parsing the message type of the received discovery message;
    发送模块,具体用于将所述消息类型对应的发现消息传输至非接入层。The sending module is specifically configured to transmit the discovery message corresponding to the message type to the non-access stratum.
  24. 如权利要求23所述的装置,其特征在于,所述发送模块具体用于:The device according to claim 23, wherein the sending module is specifically used for:
    若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
    若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  25. 如权利要求23所述的装置,其特征在于,所述解析模块具体用于根据下列至少一种方式解析接收到的发现消息的消息类型:The device according to claim 23, wherein the parsing module is specifically configured to parse the message type of the received discovery message according to at least one of the following methods:
    根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
    根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
    根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
  26. 如权利要求25所述的装置,其特征在于,所述解析模块具体用于:The device according to claim 25, wherein the parsing module is specifically used for:
    若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
    若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  27. 如权利要求25所述的装置,其特征在于,所述解析模块具体用于:The device according to claim 25, wherein the parsing module is specifically used for:
    获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
    若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
    若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
  28. 如权利要求25所述的装置,其特征在于,所述解析模块具体用于:The device according to claim 25, wherein the parsing module is specifically used for:
    获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
    若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
    若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  29. 如权利要求24所述的装置,其特征在于,所述第一预设条件为如下条件中的一种或者多种组合:The device according to claim 24, wherein the first preset condition is one or more combinations of the following conditions:
    所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
    所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  30. 如权利要求24所述的装置,其特征在于,所述第二预设条件为如下条件中的一种或者多种组合:The device according to claim 24, wherein the second preset condition is one or more combinations of the following conditions:
    所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
    所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  31. 一种通信设备,其特征在于,包括存储器和处理器:A communication device, characterized in that it includes a memory and a processor:
    所述存储器,存储计算机程序;the memory stores computer programs;
    所述处理器,用于读取所述存储器中的计算机程序,并执行如下步骤:The processor is configured to read the computer program in the memory, and perform the following steps:
    接收第一指示消息;receiving a first indication message;
    根据所述第一指示消息,确定是否发送邻近服务ProSe业务的发现消息;Determine whether to send a ProSe service discovery message according to the first indication message;
    所述第一指示消息包括以下之一或者组合:The first indication message includes one or a combination of the following:
    所述第一指示消息为指示发送ProSe业务的发现消息;The first indication message is a discovery message indicating to send a ProSe service;
    所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息;The first indication message is a discovery message indicating that the type of the discovery message is a ProSe service;
    所述第一指示消息为指示ProSe业务的发现消息的业务特征,其中,业务特征为ProSe业务相关的业务周期以及业务起始时刻;The first indication message is a service feature indicating a discovery message of a ProSe service, wherein the service feature is a service cycle related to the ProSe service and a service start time;
    所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端。The first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal.
  32. 如权利要求31所述的设备,其特征在于,所述处理器具体用于:The device of claim 31, wherein the processor is configured to:
    根据检测到的触发条件确定是否发送所述ProSe业务的发现消息;determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
    所述触发条件包括以下条件之一或者组合:The trigger conditions include one or a combination of the following conditions:
    所述终端的直接通信链路的无线资源占用率超过预设值;The radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
    所述终端接收到其它终端发送的发现消息请求;The terminal receives a discovery message request sent by another terminal;
    所述终端接收到的发现消息请求对应的目标地址在目标地址名单中;The target address corresponding to the discovery message request received by the terminal is in the target address list;
    所述终端处于接收或者发送所述发现消息的状态。The terminal is in a state of receiving or sending the discovery message.
  33. 如权利要求31所述的设备,其特征在于,所述处理器还用于:The device of claim 31, wherein the processor is further configured to:
    若所述第一指示消息为指示发现消息的类型为ProSe业务的发现消息,则确定发送所述发现消息的类型为ProSe业务的发现消息;或If the first indication message is a discovery message indicating that the type of the discovery message is a ProSe service, determine to send the discovery message that the type of the discovery message is a ProSe service; or
    若所述第一指示消息为指示ProSe业务的发现消息对应的目标地址为ProSe业务终端,则确定发送所述发现消息的类型为ProSe业务的发现消息。If the first indication message indicates that the target address corresponding to the ProSe service discovery message is a ProSe service terminal, it is determined that the type of the discovery message to be sent is a ProSe service discovery message.
  34. 如权利要求31所述的设备,其特征在于,所述处理器确定是否发送ProSe业务的发现消息时,具体执行如下一种或者多种组合:The device according to claim 31, wherein when the processor determines whether to send the discovery message of the ProSe service, it specifically performs one or more combinations of the following:
    当触发条件为终端的直接通信链路的无线资源占用率超过预设值时,确定发送ProSe业务的发现消息;When the trigger condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service;
    当触发条件为终端接收到其它终端发送的发现消息请求时,确定发送ProSe业务的发现消息;When the trigger condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service;
    当触发条件为终端接收到的发现消息请求对应的目标地址在目标地址名单中时,确定发送ProSe业务的发现消息;When the trigger condition is that the target address corresponding to the discovery message request received by the terminal is in the target address list, determine to send the discovery message of the ProSe service;
    当触发条件为终端处于接收或者发送所述发现消息的状态时,确定发送ProSe业务的发现消息。When the trigger condition is that the terminal is in the state of receiving or sending the discovery message, it is determined to send the discovery message of the ProSe service.
  35. 如权利要求31所述的设备,其特征在于,所述处理器在所述确定是否发送ProSe业务的发现消息之前,还用于:The device according to claim 31, wherein the processor is further configured to: before determining whether to send the discovery message of the ProSe service:
    根据所述发现消息的类型处理所述发现消息;processing the discovery message according to the type of the discovery message;
    计算处理之后的发现消息的固定码率,根据所述固定码率发送所述发现消息。A fixed code rate of the processed discovery message is calculated, and the discovery message is sent according to the fixed code rate.
  36. 如权利要求35所述的设备,其特征在于,所述处理器具体用于:The device of claim 35, wherein the processor is configured to:
    将类型为中继业务的发现消息通过第一预设模式处理,其中,第一预设模式直接使用所述发现消息;processing the discovery message whose type is the relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
    将类型为ProSe业务的发现消息通过第二预设模式处理,其中,第二预设模式对所述发现消息进行压缩处理。The discovery message whose type is the ProSe service is processed in a second preset mode, wherein the second preset mode compresses the discovery message.
  37. 如权利要求35所述的设备,其特征在于,所述处理器具体用于:The device of claim 35, wherein the processor is configured to:
    根据固定码率与发送功率的映射关系,确定所述固定码率对应的发送功率;Determine the transmission power corresponding to the fixed code rate according to the mapping relationship between the fixed code rate and the transmission power;
    根据所述发送功率发送所述发现消息。Sending the discovery message according to the sending power.
  38. 一种通信设备,其特征在于,包括存储器和处理器:A communication device, characterized in that it includes a memory and a processor:
    所述存储器,用于存储计算机程序;The memory is used to store computer programs;
    所述处理器,用于读取所述存储器中的计算机程序,并执行如下步骤:The processor is configured to read the computer program in the memory, and perform the following steps:
    解析接收到的发现消息的消息类型;将所述消息类型对应的发现消息传输至非接入层。Parse the message type of the received discovery message; transmit the discovery message corresponding to the message type to the non-access stratum.
  39. 如权利要求38所述的设备,其特征在于,所述处理器具体用于:The device of claim 38, wherein the processor is configured to:
    若所述消息类型为中继业务的发现消息,则将符合第一预设条件的发现消息传输至非接入层;If the message type is a discovery message of a relay service, transmitting the discovery message meeting the first preset condition to the non-access stratum;
    若所述消息类型为ProSe业务的发现消息,则将符合第二预设条件的发现消息传输至非接入层。If the message type is a discovery message of a ProSe service, the discovery message meeting the second preset condition is transmitted to the non-access stratum.
  40. 如权利要求38所述的设备,其特征在于,所述处理器具体用于根据下列至少一种方式解析接收到的发现消息的消息类型:The device according to claim 38, wherein the processor is specifically configured to parse the message type of the received discovery message according to at least one of the following methods:
    根据物理资源池判断所述发现消息的消息类型,其中,物理资源池存放同一类型的发现消息;judging the message type of the discovery message according to the physical resource pool, wherein the physical resource pool stores discovery messages of the same type;
    根据终端的直接链路控制指示中的类型标识判断所述发现消息的消息类型;judging the message type of the discovery message according to the type identifier in the direct link control indication of the terminal;
    根据终端中的逻辑信道识别码判断所述发现消息的消息类型。The message type of the discovery message is judged according to the logical channel identification code in the terminal.
  41. 如权利要求40所述的设备,其特征在于,所述处理器具体用于:The device of claim 40, wherein the processor is specifically configured to:
    若所述发现消息所在的物理资源池存放的是中继业务的发现消息,则确定所述发现消息为中继业务的发现消息;If the physical resource pool where the discovery message is located stores a discovery message of a relay service, then determining that the discovery message is a discovery message of a relay service;
    若所述发现消息所在的物理资源池存放的是ProSe业务的发现消息,则确定所述发现消息为ProSe业务的发现消息。If the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, then it is determined that the discovery message is the discovery message of the ProSe service.
  42. 如权利要求40所述的设备,其特征在于,所述处理器具体用于:The device of claim 40, wherein the processor is specifically configured to:
    获取所述发现消息的类型标识;Acquiring the type identifier of the discovery message;
    若类型标识的值为第一设定值,则确定所述发现消息为ProSe业务的发现消息;If the value of the type identifier is the first set value, then determine that the discovery message is a discovery message of a ProSe service;
    若类型标识的值为第二设定值,则确定所述发现消息为中继业务的发现消息。If the value of the type identifier is the second set value, it is determined that the discovery message is a discovery message of a relay service.
  43. 如权利要求40所述的设备,其特征在于,所述处理器具体用于:The device of claim 40, wherein the processor is specifically configured to:
    获取所述发现消息对应的逻辑信道标识码,将所述逻辑信道标识码与第一逻辑信道标识码列表以及第二逻辑信道标识码列表进行匹配,其中,所述第一逻辑信道标识码列表保存中继业务的发现消息的逻辑信道标识码,所述 第二逻辑信道标识码列表保存ProSe业务的发现消息的逻辑信道标识码;Obtain the logical channel identification code corresponding to the discovery message, and match the logical channel identification code with the first logical channel identification code list and the second logical channel identification code list, wherein the first logical channel identification code list saves The logical channel identification code of the discovery message of the relay service, and the logical channel identification code of the discovery message of the ProSe service is stored in the second logical channel identification code list;
    若所述发现消息的逻辑信道标识码在所述第一逻辑信道标识码列表中,则确定所述发现消息为中继业务的发现消息;If the logical channel identification code of the discovery message is in the first logical channel identification code list, then determine that the discovery message is a discovery message of a relay service;
    若所述发现消息的逻辑信道标识码在所述第二逻辑信道标识码列表中,则确定所述发现消息为ProSe业务的发现消息。If the logical channel identification code of the discovery message is in the second logical channel identification code list, determine that the discovery message is a discovery message of the ProSe service.
  44. 如权利要求39所述的设备,其特征在于,所述第一预设条件为如下条件中的一种或者多种组合:The device according to claim 39, wherein the first preset condition is one or more combinations of the following conditions:
    所述中继业务的发现消息有对应的信噪比;The discovery message of the relay service has a corresponding signal-to-noise ratio;
    所述中继业务的发现消息有对应的信道质量值,其中,所述信道质量值代表无线信道的通信质量。The discovery message of the relay service has a corresponding channel quality value, wherein the channel quality value represents the communication quality of the wireless channel.
  45. 如权利要求39所述的设备,其特征在于,所述第二预设条件为如下条件中的一种或者多种组合:The device according to claim 39, wherein the second preset condition is one or more combinations of the following conditions:
    所述消息类型为ProSe业务的发现消息;The message type is a discovery message of a ProSe service;
    所述发现消息与非接入层中发现消息类型列表中的发现消息相同。The discovery message is the same as the discovery message in the discovery message type list in the non-access stratum.
  46. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行如权利要求1-7和8-15中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to perform the tasks described in claims 1-7 and 8-15. any one of the methods described.
  47. 一种计算机程序产品,其特征在于,所述计算机程序产品在被计算机调用时,使得所述计算机执行如权利要求1-7和8-15中任一项所述的方法。A computer program product, characterized in that, when the computer program product is invoked by a computer, it causes the computer to execute the method according to any one of claims 1-7 and 8-15.
PCT/CN2022/125093 2021-10-22 2022-10-13 Method and device for sending discovery message WO2023066126A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111232931.0 2021-10-22
CN202111232931.0A CN116017624A (en) 2021-10-22 2021-10-22 Method and device for sending discovery message

Publications (1)

Publication Number Publication Date
WO2023066126A1 true WO2023066126A1 (en) 2023-04-27

Family

ID=86017912

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/125093 WO2023066126A1 (en) 2021-10-22 2022-10-13 Method and device for sending discovery message

Country Status (2)

Country Link
CN (1) CN116017624A (en)
WO (1) WO2023066126A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140141777A1 (en) * 2012-11-16 2014-05-22 Innovative Sonic Corporation Method and apparatus of improving proximity service discovery in a wireless communication system
CN104113821A (en) * 2013-04-16 2014-10-22 中兴通讯股份有限公司 Discovery method among user equipment, discovery system among user equipment, and device
CN104254129A (en) * 2013-06-25 2014-12-31 中兴通讯股份有限公司 Close business discovery resource configuration method and device
CN107211297A (en) * 2014-11-07 2017-09-26 交互数字专利控股公司 Trunking traffic optimizes
CN107409429A (en) * 2015-03-25 2017-11-28 高通股份有限公司 Relaying is found and association messages
CN110169097A (en) * 2017-01-09 2019-08-23 Idac控股公司 The relaying of wireless communication system
CN111372204A (en) * 2015-05-15 2020-07-03 华为技术有限公司 Discovery method and device
CN111757415A (en) * 2015-07-24 2020-10-09 松下电器(美国)知识产权公司 Relay user equipment, radio base station, method thereof, and integrated circuit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140141777A1 (en) * 2012-11-16 2014-05-22 Innovative Sonic Corporation Method and apparatus of improving proximity service discovery in a wireless communication system
CN104113821A (en) * 2013-04-16 2014-10-22 中兴通讯股份有限公司 Discovery method among user equipment, discovery system among user equipment, and device
CN104254129A (en) * 2013-06-25 2014-12-31 中兴通讯股份有限公司 Close business discovery resource configuration method and device
CN107211297A (en) * 2014-11-07 2017-09-26 交互数字专利控股公司 Trunking traffic optimizes
CN107409429A (en) * 2015-03-25 2017-11-28 高通股份有限公司 Relaying is found and association messages
CN111372204A (en) * 2015-05-15 2020-07-03 华为技术有限公司 Discovery method and device
CN111757415A (en) * 2015-07-24 2020-10-09 松下电器(美国)知识产权公司 Relay user equipment, radio base station, method thereof, and integrated circuit
CN110169097A (en) * 2017-01-09 2019-08-23 Idac控股公司 The relaying of wireless communication system

Also Published As

Publication number Publication date
CN116017624A (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US11917702B2 (en) Indication method and related device
WO2021000680A1 (en) Cooperation transmission method and communication apparatus
US20150117247A1 (en) Communication Control Method, User Equipment, Network Server, and System
WO2020077577A1 (en) Data packet transmission method and device
WO2021051364A1 (en) Communication method, apparatus and device
WO2016109921A1 (en) Data transmission method, station, access point and access controller
WO2022007647A1 (en) Communication method and device, and storage medium
US20220217034A1 (en) Communication method and apparatus
TW201947975A (en) Method for determining information and terminal devices and network devices
WO2021088158A1 (en) Wireless communication method, terminal device, and network device
WO2021218820A1 (en) Measurement method, apparatus and system
WO2019241969A1 (en) Method for configuring measurement information, terminal device, and network device
WO2022021246A1 (en) Condition-based secondary node or primary secondary cell addition method and device
WO2021088089A1 (en) Link quality monitoring method and related product
WO2020258051A1 (en) Cell access method and apparatus
WO2023066126A1 (en) Method and device for sending discovery message
WO2022057828A1 (en) Measurement method, measurement apparatus, terminal and network device
CN111194072A (en) Method and device for monitoring paging under multi-beam scene
WO2022082399A1 (en) Communication method and device, and storage medium
WO2021160013A1 (en) Radio communication method and apparatus, and communication device
WO2022087914A1 (en) Beam measurement method and device, and storage medium
WO2022061789A1 (en) Communication method and apparatus, and device and storage medium
WO2022061545A1 (en) Communication method and apparatus
WO2022056676A1 (en) Service identification method, terminal device, and network device
WO2021120009A1 (en) Signal detection method, signal transmission method, terminal device, and network device

Legal Events

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

Ref document number: 22882736

Country of ref document: EP

Kind code of ref document: A1