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

Method and device for sending discovery message Download PDF

Info

Publication number
CN116017624A
CN116017624A CN202111232931.0A CN202111232931A CN116017624A CN 116017624 A CN116017624 A CN 116017624A CN 202111232931 A CN202111232931 A CN 202111232931A CN 116017624 A CN116017624 A CN 116017624A
Authority
CN
China
Prior art keywords
discovery message
message
type
service
discovery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111232931.0A
Other languages
Chinese (zh)
Inventor
翟海涛
赵亚利
张惠英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202111232931.0A priority Critical patent/CN116017624A/en
Priority to PCT/CN2022/125093 priority patent/WO2023066126A1/en
Publication of CN116017624A publication Critical patent/CN116017624A/en
Pending legal-status Critical Current

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

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 discovery message, the method includes: receiving a first indication message, detecting N triggering conditions, wherein the first indication message is a discovery message for indicating to send the ProSe service, the first indication message is a discovery message for indicating that the type of the discovery message is the ProSe service, and the first indication message is a service characteristic of the discovery message for indicating the ProSe service. By the method, the first indication information for indicating the discovery message for transmitting the ProSe service is described in detail, and the discovery message for transmitting the ProSe service can be accurately identified through the first indication information, so that the large-scale coverage of the ProSe service can be realized.

Description

Method and device for sending discovery message
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for sending a discovery message.
Background
In the technical field of wireless communication, a communication mode between terminals includes cellular network communication and direct communication, a cellular network communication schematic diagram is shown in fig. 1, a direct communication schematic diagram is shown in fig. 2, in the cellular network communication, communication between a terminal and a terminal is realized through a base station, the terminal and the base station communicate through a Uu interface, when the terminal UE1 and the terminal UE2 communicate, the terminal UE1 forwards a signal to the base station through the Uu interface, and then the base station sends a received signal to the terminal UE2; in the direct communication, the communication between terminals is realized by a direct communication link (a direct link), and a wireless interface corresponding to the direct communication link is called a direct link interface or a PC5 interface, and when the terminal UE1 performs the near field communication with the terminal UE2, signals can be transmitted through the direct communication link.
When the distance between two terminals is far, in order to expand the network coverage, a relay terminal is introduced, the schematic diagram of the relay terminal is shown in fig. 3, the relay terminal and the base station use Uu interface to transmit data, the relay terminal and the far-end terminal use Sidelink interface or PC5 interface to transmit data, if the remote communication of the two terminals is to be realized, one terminal needs to be selected between the two terminals as the relay terminal, and the relay terminal realizes the remote communication of the two terminals through the signal forwarding.
The terminal realizes the discovery of the terminal at a short distance by sending or receiving the discovery signal, and two categories exist for the discovered terminal, namely, a relay terminal and a terminal with a ProSe service.
Disclosure of Invention
The application provides a method and a device for sending a discovery message, which enable a terminal to judge that the discovery message is the discovery message of a ProSe service and send the discovery message of the ProSe service to other terminals through detailed definition of an indication message of the ProSe service and description of a preset trigger condition set.
In a first aspect, the present application provides a method for sending a discovery message, where the method includes:
receiving a first indication message;
determining whether to send a discovery message of a proximity service 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 for indicating to send the ProSe service;
the first indication message is a discovery message indicating that the type of the discovery message is ProSe service;
the first indication message is a service characteristic of a discovery message for indicating the ProSe service, wherein the service characteristic is a service period and a service starting time related to the ProSe service;
the first indication message indicates that a target address corresponding to a discovery message of the ProSe service is a ProSe service terminal.
By the method, the indication message for indicating the discovery message for sending the ProSe service is specifically described, and the indication message for indicating the discovery message for sending the ProSe service can be accurately identified, so that the discovery message for the ProSe service can be sent and the large-scale coverage of the ProSe service can be realized.
In one possible design, determining whether to send a discovery message for proximity services ProSe traffic is specifically:
Determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
the triggering condition comprises one or a combination of the following conditions:
the wireless resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
the terminal receives a discovery message request sent by other terminals;
the target address corresponding to the discovery message request received by the terminal is in a target address list;
the terminal is in a state of receiving or transmitting the discovery message.
In one possible design, before determining whether to send the discovery message of the proximity services ProSe service, the method further comprises:
determining to send the discovery message of which the type is that of the ProSe service according to a first indication message indicating that the type of the discovery message is that of the ProSe service; or (b)
And determining that the type of the discovery message is the discovery message of the ProSe service according to the target address corresponding to the indication message indicating the ProSe service and the first indication message of the ProSe service terminal.
In one possible design, it is determined whether to send a discovery message for proximity services ProSe traffic, in particular one or more of the following combinations:
When the triggering condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determining to send a discovery message of the ProSe service;
when the triggering condition is that the terminal receives a discovery message request sent by other terminals, determining to send a discovery message of the ProSe service;
when the triggering condition is that a target address corresponding to a discovery message request received by a terminal is in a target address list, determining to send a discovery message of a ProSe service;
and when the triggering condition is that the terminal is in a state of receiving or transmitting the discovery message, determining to transmit the discovery message of the ProSe service.
In one possible design, before determining whether to send a discovery message for proximity services ProSe traffic, comprising:
processing the discovery message according to the type of the discovery message;
and calculating the fixed code rate of the processed discovery message, and sending the discovery message according to the fixed code rate.
In one possible design, processing the discovery message according to the type of discovery message includes:
processing a discovery message with the type of relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
and processing the discovery message with the type of the ProSe service through a second preset mode, wherein the second preset mode compresses the discovery message.
In one possible design, the sending the discovery message according to a fixed code rate includes:
determining the transmission power corresponding to the fixed code rate according to the obtained mapping relation between the fixed code rate and the transmission power;
and transmitting the discovery message according to the transmission power.
In a second aspect, the present application further provides a method for processing a discovery message, where the method includes:
analyzing the message type of the received discovery message;
and transmitting the discovery message corresponding to the message type to a non-access layer.
By the method, the message types of the discovery messages sent by the terminal are analyzed, the discovery messages of different types are distinguished, and the discovery messages of different types correspond to different processing modes, so that the problem that the discovery messages of different types are mixed together to cause resource consumption is avoided, and the efficient processing of the discovery messages is realized.
In one possible design, transmitting the discovery message corresponding to the message type to a non-access stratum layer includes:
if the message type is the discovery message of the relay service, transmitting the discovery message conforming to the first preset condition to a non-access layer;
and if the message type is the discovery message of the ProSe service, transmitting the discovery message meeting the second preset condition to the non-access layer.
In one possible design, parsing the message type of the received discovery message includes:
judging the message type of the discovery message according to a physical resource pool, wherein the physical resource pool stores the discovery message of the same type; and/or
Judging the message type of the discovery message according to the type identifier in the direct link control instruction of the terminal; and/or
And judging the message type of the discovery message according to the logic channel identification code in the terminal.
In one possible design, 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 located stores the discovery message of the relay service, the discovery message is the discovery message of the relay service;
if the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, the discovery message is the discovery message of the ProSe service.
In one possible design, determining the message type of the discovery message according to the type identifier in the direct link control indication of the terminal includes:
determining a value of a type identifier of the discovery message;
if the value of the type identifier is a first set value, the discovery message is a discovery message of the ProSe service;
And if the value of the type identifier is the second set value, the discovery message is the discovery message of the relay service.
In one possible design, determining the message type of the discovery message according to the logical channel identifier in the terminal includes:
obtaining a logic channel identification code corresponding to the discovery message, and matching the logic channel identification code with a first logic channel identification code list and a second logic channel identification code list, wherein the first logic channel identification code list stores the logic channel identification code of the discovery message of the relay service, and the second logic channel identification code list stores the logic channel identification code of the discovery message of the ProSe service;
if the logic channel identification code of the discovery message is in the first logic channel identification code list, the discovery message is the discovery message of the relay service;
and if the logic channel identification code of the discovery message is in the second logic channel identification code list, the discovery message is the discovery message of the ProSe service.
In one possible design, the first preset condition is one or a combination 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 communication quality of a wireless channel.
In one possible design, the second preset condition is one or a combination of the following conditions:
the message type is a discovery message of the ProSe service;
the discovery message is the same as a discovery message in a list of discovery message types in the non-access stratum.
In a third aspect, the present application provides a device for sending a discovery message, where the device includes:
the receiving module is specifically used for receiving the first indication message;
and the determining module is specifically configured to determine whether to send a discovery message of the proximity service ProSe service according to the first indication message.
In a fourth aspect, the present application further provides a device for processing a discovery message, where the device includes:
the analysis module is specifically used for analyzing the message type of the received discovery message;
and the sending module is specifically used for transmitting the discovery message corresponding to the message type to the non-access layer.
In a fifth aspect, the present application provides a communication device comprising:
the memory stores computer instructions;
the processor is configured to read the computer program in the memory, and perform the following steps:
And receiving a first indication message and determining whether to send a discovery message of the proximity service (ProSe) service according to the first indication message.
In one possible design, the processor is specifically configured to determine whether to send the discovery message of the ProSe service according to a 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, the terminal receives discovery message requests sent by other terminals, a target address corresponding to the discovery message requests received by the terminal is in a target address list, and the terminal is in a state of receiving or sending the discovery message.
In one possible design, the processor is further configured to determine, according to a first indication message indicating that the type of the discovery message is a discovery message of ProSe service, to send the discovery message of which the type is ProSe service, and determine, according to a target address corresponding to the indication message indicating ProSe service and the first indication message of the ProSe service terminal, to send the discovery message of which the type is ProSe service.
In one possible design, the processor is further configured to determine to send a discovery message of the ProSe service when the triggering condition is that the radio resource occupancy of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service when the triggering condition is that the terminal receives a discovery message request sent by other terminals, determine to send the discovery message of the ProSe service when the triggering condition is that a target address corresponding to the discovery message request received by the terminal is in a target address list, and determine to send the discovery message of the ProSe service when the triggering condition is that the terminal is in a state of receiving or sending the discovery message.
In one possible design, the processor is further configured to process a discovery message with a type of relay service through a first preset mode, where the first preset mode directly uses the discovery message, and process the discovery message with a type of ProSe service through a second preset mode, where the second preset mode performs compression processing on the discovery message.
In one possible design, the processor is further configured to process the discovery message according to a type of the discovery message, calculate a fixed code rate of the discovery message after the processing, and send the discovery message according to the fixed code rate.
In a sixth aspect, the present application provides a communication device comprising:
the memory stores computer instructions;
the processor is configured to read the computer program in the memory, and perform the following steps:
and analyzing the message type of the received discovery message, and transmitting the discovery message corresponding to the message type to a non-access layer.
In one possible design, the processor is specifically configured to determine a message type of the discovery message according to a physical resource pool, where the physical resource pool stores discovery messages of a same type, and/or determine the message type of the discovery message according to a type identifier in a direct link control indication of the terminal, and/or determine the message type of the discovery message according to a logical channel identifier in the terminal.
In one possible design, the processor is further configured to obtain a value of a type identifier of the discovery message, if the value of the type identifier is a first set value, the discovery message is a discovery message of the ProSe service, and if the value of the type identifier is a second set value, the discovery message is a discovery message of the relay service.
In one possible design, the processor is further configured to obtain a logical channel identifier corresponding to the discovery message, and match the logical channel identifier with a first logical channel identifier list and a second logical channel identifier list, where the first logical channel identifier list stores a logical channel identifier of a discovery message of a relay service, and the second logical channel identifier list stores a logical channel identifier of a discovery message of a ProSe service, and if the logical channel identifier of the discovery message is in the first logical channel identifier list, the discovery message is a discovery message of a relay service, and if the logical channel identifier of the discovery message is in the second logical channel identifier list, the discovery message is a discovery message of the ProSe service.
In one possible design, the processor is further configured to send the discovery message to the non-access stratum layer when the message type is a discovery message of ProSe service and/or the discovery message is the same as a discovery message in a list of discovery message types in the non-access stratum layer.
In a seventh aspect, a computer-readable storage medium stores computer-executable instructions for causing the computer to perform the steps of a method for sending a discovery message and the steps of a method for processing a discovery message described above.
An eighth aspect, a computer program product, which when invoked by a computer, causes the computer to perform the method of any one of claims 1-7 and 8-15.
Drawings
Fig. 1 is a schematic diagram of cellular network communication provided herein;
fig. 2 is a schematic diagram of communication between terminals provided in the present application;
fig. 3 is a schematic diagram of another communication between terminals provided in the present application;
fig. 4 is a flowchart of steps of a method for sending a discovery message provided in the present application;
fig. 5 is a schematic structural diagram of a sending device of a discovery message provided in the present application;
FIG. 6 is a flowchart illustrating steps of a method for processing a discovery message provided in the present application;
fig. 7 is a schematic structural diagram of a device for processing a discovery message provided in the present application;
fig. 8 is a schematic structural diagram of a communication device provided in the present application;
fig. 9 is a schematic structural diagram of a communication device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The technical scheme of the invention can be applied to various communication systems, such as: global system for mobile communications (Global System of Mobile communication, GSM), code division multiple access (Code Division Multiple Access, CDMA) system, wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) system, general packet radio service (General Packet Radio Service, GPRS), long term evolution (Long Term Evolution, LTE) system, long term evolution advanced (Advanced long term evolution, LTE-a) system, universal mobile telecommunications system (Universal Mobile Telecommunication System, UMTS), new air interface (New Radio Access Technology, NR), 5G, etc. In an optional implementation manner, a sending device in the embodiment of the present invention may be an access network device, and a receiving device may be a terminal device; in another alternative implementation manner, the sending device in the embodiment of the present invention may be an access network device, and the receiving device may be a terminal device. Fig. 1 illustrates an architecture of a communication system including an access network device and a terminal device.
The technical concept to which the present invention relates is described below before describing specific embodiments of the present invention.
1) A Terminal device, also called a Terminal, a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc., is a device that provides voice and/or data connectivity to a User, e.g., a handheld device, an in-vehicle device, etc., with a wireless connection function. Currently, some examples of terminals are: mobile terminal devices, such as mobile telephones (or "cellular" telephones) and computers with mobile terminal devices, which can be, for example, portable, pocket, hand-held, computer-built-in or car-mounted mobile devices, exchange voice and/or data with radio access networks. Such as personal communication services (personal communication service, PCS) phones, cordless phones, session initiation protocol (session initiated protocol, SIP) phones, wireless local loop (wireless local loop, WLL) stations, personal digital assistants (personal digital assistant, PDAs), and the like. The wireless terminal device may also be referred to as a system, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile), remote station (remote station), access point (access point), remote terminal device (remote terminal), access terminal device (access terminal), user terminal device (user terminal), user agent (user agent), user equipment (user device), and the embodiments of the present application are not limited.
The network device according to the embodiment of the present application may be a base station, where the base station may include a plurality of cells. A base station may also be referred to as an access point, or may refer to a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminal devices, or by other names, depending on the particular application. The network device may be operable to inter-convert the received air frames with internet protocol (internet protocol, IP) packets as a router between the wireless terminal device and the rest of the access network, which may include an Internet Protocol (IP) communication network. The network device may also coordinate attribute management for the air interface. For example, the network device according to the embodiments of the present application may be a network device (base transceiver station, BTS) in a global system for mobile communications (global system for mobile communications, GSM) or code division multiple access (code division multiple access, CDMA), a network device (NodeB) in a wideband code division multiple access (wide-band code division multiple access, WCDMA), an evolved network device (evolutional node B, eNB or e-NodeB) in a long term evolution (long term evolution, LTE) system, a 5G base station in a 5G network architecture (next generation system), a home evolved base station (home evolved node B, heNB), a relay node (relay node), a home base station (femto), a pico base station (pico), and the like.
As shown in fig. 1, a cellular network communication schematic diagram provided in the present application, a wireless communication system is composed of a base station, a plurality of 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 signals to the terminal UE2, the terminal UE1 transmits the signals to the base station through the Uu interface, and the base station transmits the signals to the terminal UE2 through the Uu interface, so that the signal transmission between the terminal UE1 and the terminal UE2 is realized.
As shown in fig. 2, which is a communication schematic diagram between terminals provided in the present application, a wireless communication system is composed of a base station, a plurality of terminals and a CN core network, where the terminals and the base station perform signal transmission through Uu interfaces, and wireless communication between the terminals is implemented through a direct communication link, that is: the communication is realized through the Sidelink link, a wireless interface corresponding to the direct communication link is called as a Sidelink interface or a PC5 interface, when the terminal UE1 and the terminal UE2 need to perform wireless communication, the terminal UE1 transmits signals to the terminal UE2 through the Sidelink interface or the PC5 interface, and after the terminal UE2 receives the signals, the signals can be returned to the terminal UE1 through the Sidelink interface or the PC5 interface, so that the wireless communication between the terminal and the terminal is realized.
As shown in fig. 3, which is a schematic diagram of another communication between terminals provided in the present application, based on the above-described wireless communication between terminals, in order to enlarge a network coverage area, a problem to be solved is that when a distance between a terminal and a terminal is relatively long, wireless communication cannot be performed between two terminals, so that a relay terminal is introduced, the relay terminal is used as a signal transfer station for performing wireless communication between two terminals, when two remote terminals perform wireless communication, the two remote terminals are called remote terminals, one of the remote terminals finds surrounding terminals first, then determines that one terminal is a relay terminal, transmits a signal to the relay terminal through a sidlink interface or a PC5 interface, and the relay terminal receives the signal of the remote terminal and forwards the signal to the other remote terminal through the sidlink interface or the PC5 interface, thereby implementing wireless communication between the two remote terminals.
Currently, due to the development of 5G network technology, coverage of a 5G network has been achieved in most areas, when a terminal performs remote wireless communication with a terminal, one terminal needs to be selected as a relay terminal between two terminals, signal transmission between two remote terminals is achieved by forwarding signals through the relay terminal, when a terminal needs to perform signal transmission with a remote terminal, surrounding terminals need to be found, one of the surrounding terminals is a relay terminal, the other is a terminal with ProSe service, and ProSe service is called proximity service (Proximity Service, proSe), which means that user data can be directly transmitted between terminals without being transferred through the network. Here, in the 5G network scenario, the ProSe service is specifically a 5G ProSe service, and hereinafter, a ProSe service is uniformly used for explanation.
In the field of wireless communication, an AS layer receives or transmits a signal over an air interface when a terminal performs wireless communication, and the AS layer only records detailed information of a relay terminal, so that the terminal can only transmit a discovery message of a relay service, but cannot transmit a discovery message with a ProSe service.
In order to solve the above-mentioned problems, an embodiment of the present application provides a method for sending a discovery message, so as to solve the problem that a terminal in the above-mentioned scenario cannot send a discovery message related to ProSe service. The method and the device according to the embodiments of the present application are based on the same technical concept, and because 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 repetition is not repeated.
Embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example 1
Referring to fig. 4, the present application provides a method for sending a discovery message, which can solve the problem that a discovery message related to ProSe service cannot be sent, and the implementation flow of the method is as follows:
step S1: a first indication message is received.
In order to trigger the terminal to send the discovery message, before the terminal sends the discovery message, the terminal needs to receive a first indication message from a non-access layer, and judges whether the sending of the discovery message needs to be triggered according to the first indication message, wherein the non-access layer comprises mobility management, call control, session management and identity management.
In this embodiment of the present application, the first indication message is a combination of messages of one or more of the following:
1. the first indication message is a discovery message for indicating to send ProSe service;
the terminal analyzes the content of the first indication message, and judges whether to send the discovery message of the ProSe service or send the discovery message of the relay service according to the content.
2. The first indication message is a discovery message indicating that the type of the discovery message is ProSe service;
in the embodiment of the present application, since the discovery message indicating that the type of the discovery message is ProSe service is described, the first indication information is a discovery message indicating that the type of the discovery message is ProSe service.
3. The first indication message is a service characteristic of a discovery message indicating ProSe service, wherein the service characteristic is a service period and a service starting time related to periodic service;
after the acquired first indication message is analyzed, multiple surrounding terminals can be identified through the discovery message of the ProSe service, for example: the terminal of the relay service, the terminal of the ProSe service and the like can determine that the indication message is the service characteristic of the discovery message for indicating the ProSe service when the indicated service characteristic has the characteristics of being capable of identifying multiple types of terminals and the like.
4. The first indication message indicates that a target address corresponding to a discovery message of the ProSe service is a ProSe service terminal.
After receiving the first indication message, it is determined whether the terminal of the target address corresponding to the discovery message of the ProSe service is a ProSe service terminal, and because the mapping relationship between the type indication message of the discovery message and the ProSe service terminal is stored in the terminal, it can be determined whether the target address corresponding to the discovery message of the ProSe service is the ProSe service terminal according to the lookup table 1, where table 1 is as follows:
Figure BDA0003316727390000131
TABLE 1
The above table 1 records the relationship between the type indication message and the target address, where 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, and the target address corresponding to the relay service type is the target address of the relay service terminal.
The terminal analyzes the received first indication message, analyzes the corresponding relation between the type indication message and the target address, matches the corresponding relation with the table 1, and can determine the type of the discovery message to be sent in the first indication message when the corresponding relation between the type indication message and the target address is matched, and indicates that the discovery message of the ProSe service is sent when the corresponding relation between the type indication message and the target address is matched, and indicates that the discovery message of the relay service is sent when the corresponding relation between the discovery message and the target address is matched. The discovery message indication message of the relay service is described in detail in the existing scheme, and is not described here again. The discovery message indication message of ProSe service is described in detail in the embodiments of the present application.
Further, the indication message may be a single type or may be a plurality of combinations, for example:
case one: the first indication message is a discovery message indicating to send ProSe service, and indicates that the type of the discovery message is that of ProSe service;
and a second case: the first indication message is a discovery message indicating to send ProSe service, and indicates service characteristics of the discovery message of ProSe service;
and a third case: the first indication message is a discovery message for indicating to send the ProSe service, a discovery message for indicating that the type of the discovery message is the ProSe service, and a mapping relation between the type indication message for indicating the discovery message of the ProSe service and a target address;
case four: the first indication message is a mapping relation between a discovery message indicating to send the ProSe service, a service characteristic of the discovery message indicating the ProSe service and a type indication message indicating the discovery message of the ProSe service and a target address;
case five: the method comprises the steps of sending a discovery message of a ProSe service, indicating that the type of the discovery message is the discovery message of the ProSe service, indicating the service characteristics of the discovery message of the ProSe service and indicating the mapping relation between the discovery message and a target address.
In the embodiment of the present application, the above five possible cases are listed for various combinations of the first indication message, and since the first indication message may be one message, or may be any two pieces of information, or may be any three pieces of information, or may be any four pieces of information, they are not listed here.
By the method, the first indication message for indicating the terminal to send the discovery message of the ProSe service is specifically described, and the first indication message can be confirmed to be the discovery message for indicating the terminal to send the ProSe service by the description content, so that the identification of the indication message of the discovery message of the ProSe service is realized.
After the first indication message is obtained, whether the type of the transmitted discovery message is the discovery message of the ProSe service needs to be judged, and three determination modes are adopted, wherein the specific determination process is as follows:
mode one: judging whether the indication message of the discovery message is a discovery message of the ProSe service;
if the type of the discovery message indicated by the first indication message is a discovery message of ProSe service, the first indication message is a discovery message for indicating to send ProSe service, and if the type of the discovery message indicated by the first indication message is a discovery message of non-ProSe service, the first indication message is a discovery message for indicating to send relay service.
Mode two: judging the mapping relation between the target address corresponding to the discovery message and the ProSe service terminal;
and acquiring a target address corresponding to the type indication message of the discovery message, judging whether a terminal corresponding to the target address is a terminal with the ProSe service, if so, judging that the discovery message is the discovery message of the ProSe service, and if not, ignoring the indication message.
Mode three: the third mode is a combination of the first mode and the second mode, and the first mode and the second mode are required to be satisfied simultaneously to determine that the discovery message is a discovery message of ProSe service.
Through the description method, the type of the discovery message can be judged in any one of the first mode, the second mode and the third mode, so that whether the discovery message of the ProSe service is sent or not can be accurately determined according to the type of the discovery message, and the accuracy of identifying the discovery message of the ProSe service is improved.
Step S2: and determining whether to send the discovery message of the ProSe service according to the first indication message.
After receiving a first indication message for indicating the terminal to send the discovery message of the ProSe service, the first indication message is one of the combination modes described above, and after the first indication message meets the condition, a trigger condition is obtained according to the received first indication message, and whether to send the discovery message of the ProSe service is determined according to the trigger condition.
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, the discovery message of the ProSe service is determined to be sent, and the trigger condition comprises one or a combination of the following conditions:
condition one: the radio 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 all direct communication links of the terminal, calculate the radio resource occupancy rate of the direct communication links of the terminal, when the radio resource occupancy rate of the direct communication links exceeds a preset value, the terminal can determine that there are enough other terminals around, and send the discovery message to the other terminals around, and when the radio resource occupancy rate of the direct communication links is less than the preset value, the terminal ignores the indication message for sending the discovery message.
In the embodiment of the present application, the preset value is changed according to the actual requirement, and is not a fixed value, so that no description will be made here.
Such as: when the radio resource occupancy rate of the direct communication link of the terminal is 46%, the preset value is 30%, and 46% is more than 30%, it can be determined that a sufficient number of other terminals exist around;
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 II: the terminal receives the discovery message request sent by other terminals;
in order to discover other terminals around the terminal, there is also a way that the other terminals around actively transmit discovery message requests to the terminal, and after the terminal receives the discovery message requests transmitted by the other terminals, the terminal can request to discover the other terminals around through the received discovery message, so that the terminal determines the number of other terminals around according to the number of the received discovery message requests.
And (3) a third condition: the target address corresponding to the discovery message request received by the terminal is in a target address list;
after receiving the discovery message request, the terminal needs to solve and separate out a corresponding target address according to the received discovery message request, wherein the discovery message request contains 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 target address of the ProSe service.
The terminal obtains table 2 through the communication protocol, table 2 is the corresponding relation between the discovery message request and the resolved target address, and table 2 is as follows:
Discovery message request Target address
Discovery message request 1 0xFFAF
Discovery ofMessage request 2 0xFFFB
Discovery message request 3 0xFFAB
...... ......
TABLE 2
In this embodiment of the present application, the terminal may parse the target address through the discovery message request, and after obtaining the target address of the discovery message request, may save the correspondence between the discovery message request and the target address, and when the terminal receives the discovery message request again, may obtain the target address corresponding to the discovery message request through table 2.
Figure BDA0003316727390000161
Figure BDA0003316727390000171
TABLE 3 Table 3
In this embodiment of the present application, table 3 is a target address list, after a target address corresponding to a discovery message request is obtained, the target address is matched with a target address list of a terminal, if a consistent target address is obtained, which indicates that the target address is in the target address list of the terminal, the terminal uses the terminal sending the discovery message request as a surrounding terminal, and if a consistent target address is not obtained, the terminal ignores the terminal sending the discovery message request.
By the method, bidirectional identification of the terminal and the terminal sending the discovery message request is achieved, surrounding terminals need to send the discovery message request to the terminal, the discovery message request for solving the separated target address is needed in the target address list of the terminal, and when the separated target address for solving the discovery message request is not in the target address list, the terminal can ignore the terminal even if the terminal sending the discovery message request is around.
Condition four: the terminal is in a state of receiving or transmitting the discovery message.
When the terminal is in a state of sending or receiving the discovery message, the terminal is indicated to be in a service period of the non-access layer, and the non-access layer can process the discovery message sent or received by the terminal in the service period, so that the terminal can send out the discovery message through the indication message.
In the embodiment of the present application, any two or any three or any four trigger conditions may be combined, the above-mentioned five combinations are only exemplified, and other combinations may be referred to any one of the above-mentioned cases one to five, and the other combinations are not exemplified too much.
If the trigger condition satisfies the above-described condition, a discovery message of the ProSe service may be sent, and before the discovery message of the ProSe service is sent, the type of the discovery message is acquired according to the indication information, so that the discovery message needs to be processed, and when the type of the discovery message 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 a discovery message of the relay service, no processing is performed on the discovery message.
After the discovery message of the ProSe service is processed, a fixed code rate of the discovery message is calculated, after the fixed code rate of the discovery message is obtained, the discovery message is sent according to the mapping relation between the fixed code rate and the sending power, the fixed code rate is inversely related to the sending power, when the fixed code rate is larger, the sending power is smaller, and the mapping relation between the fixed code rate and the sending power is specified in a communication protocol.
In one possible design, before transmitting the discovery message, the transmission frequency may be determined according to System Information (SIB) broadcasted by the base station, and the discovery message may be transmitted according to the determined transmission frequency, and in this embodiment of the present application, since the relationship between SIB and frequency is a technology well known to those skilled in the art, it will not be described here too much.
By the method, detailed judging conditions are provided for the discovery message of the ProSe service, when the indication message is the discovery message for indicating to send the ProSe service, the triggering conditions are detected according to the indication message, and when the triggering conditions meet the requirements, the discovery message of the ProSe service is sent, so that the terminal can accurately judge and send the discovery message of the ProSe service, and further the large-scale coverage of the ProSe service is realized.
Example two
In the first embodiment, a process of processing a discovery message of a ProSe service by a terminal is described, and for a receiving end, the discovery message will also be processed correspondingly, and referring to fig. 5 specifically, the embodiment of the application further provides a processing method of the discovery message, after the discovery message is sent from a sending end to a receiving end, the receiving end will process the discovery message, which specifically includes the following implementation procedures:
step S21: the message type of the received discovery message is parsed.
After the receiving end receives the discovery message, it needs to determine the type of the discovery message, and the determination of the type of the discovery message may be one or a combination of the following ways:
the first way is: and judging according to the physical resource pool where the discovery message is located.
Specifically, the physical resource pool is configured to receive a discovery message according to a type of the discovery message, that is, after the discovery message is received by the physical resource pool, if a discovery message of a relay service is stored in the physical resource pool that receives the discovery message, the discovery message is a discovery message of the relay service, and if a discovery message of a ProSe service is stored in the physical resource pool that receives the discovery message, the discovery message is a discovery message of the ProSe service.
The second way is: and judging the message type of the discovery message according to the type identifier in the direct link control instruction of the terminal.
Specifically, after receiving the discovery message, acquiring a value of a type identifier corresponding to the discovery message, wherein the type identifier in the discovery message is a characteristic inherent to the discovery message, so that the type identifier can be acquired in the discovery message, and when the type identifier is a first set value, the discovery message is a discovery message of the ProSe service; and when the type identifier is a second set value, the discovery message is the discovery message of the relay service.
For example, if the value of the type identifier is 1, it indicates that the discovery message is a discovery message of ProSe service, and if the value of the type identifier is 0, it indicates that the discovery message is a discovery message of relay service.
In addition, when the value of the type identifier is an integer greater than 1, the discovery message is indicated as a subtype of ProSe service. In the embodiment of the present application, at least one service is included in ProSe services.
Third mode: and judging the message type of the discovery message according to the logic channel identification code.
Specifically, after receiving the discovery message, the logic channel identification code of the discovery message is acquired, the acquired logic channel identification code of the discovery message is matched with the first logic channel identification code list and the second logic channel identification code list, and the type of the discovery message is determined according to the list where the matched logic channel identification codes are located.
If the matched consistent logic channel identification code is in the first logic channel identification code list, the discovery message is the discovery message of the relay service, and if the matched consistent logic channel identification code is in the second logic channel identification code list, the discovery message is the discovery message of the ProSe service.
By the method, the type of the discovery message sent to the receiving end by the terminal can be determined in any one of three modes, the type of the received discovery message is accurately classified, a large amount of resources are avoided being consumed when the discovery message is processed, and centralized processing of the discovery message of the same type is facilitated.
Step S22: and transmitting the discovery message corresponding to the message type to a non-access layer.
After the type of the discovery message is the discovery message of the relay service, the discovery message of the relay terminal meeting the first preset condition needs to be sent to the non-access layer, and the first preset condition can be one of the following two conditions:
condition one: 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 is, the smaller the interference suffered in the signal transmission process is.
After determining that the discovery message is a discovery message for relay traffic with signal-to-noise ratio, the discovery message is sent to a non-access stratum.
Condition II: the discovery message is a discovery message for a relay service with a channel quality value representing the communication quality of the wireless channel.
After determining that the discovery message is a discovery message of a relay service with a channel quality value, the discovery message of the relay service is sent to a non-access layer together with the channel quality value corresponding to the discovery message of the relay service.
By the above-described method, 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 transmitted to the non-access stratum using the above-described condition one or condition two.
After determining that the type of the discovery message is a discovery message of ProSe service, the discovery message meeting a second preset condition needs to be sent to the non-access layer, and the second preset condition may be the following condition one and/or the following condition two:
condition one: the type of discovery message is a discovery message of ProSe service.
After determining that the type of the discovery message is a discovery message of ProSe service, the discovery message of ProSe service is directly sent to a non-access stratum.
Condition II: the discovery message is identical to the discovery message of the list of discovery message types in the non-access stratum layer.
After determining that the type of the discovery message is that of the ProSe service, matching the discovery message of the ProSe service with a discovery message type list in the AS layer, and uploading the same discovery message AS the discovery message in the discovery message type list to the non-access layer.
By the above described method, after confirming that the type of the discovery message is a discovery message of ProSe service, the above described discovery message of ProSe service meeting condition one and/or condition two can be uploaded to the non-access stratum.
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 related data of the ProSe service, so that different treatments can be made according to different types of discovery messages.
Example III
In accordance with the method provided in the first embodiment, the embodiment of the present application further provides a device for sending a discovery message, where the device for sending a discovery message is configured to implement a function of a method for sending a discovery message, and referring to fig. 6, the device includes:
a receiving module 601, configured to specifically receive a first indication message;
the determining module 602 is specifically configured to determine whether to send a discovery message of the proximity service ProSe service according to the first indication message.
In one possible design, the determining module 602 is specifically configured to determine whether to send the discovery message of the ProSe service according to a 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, the terminal receives discovery message requests sent by other terminals, a target address corresponding to the discovery message requests received by the terminal is in a target address list, and the terminal is in a state of receiving or sending the discovery message.
In one possible design, the determining module 602 is further configured to determine, according to a first indication message indicating that the type of the discovery message is a discovery message of ProSe service, to send the discovery message of the type of ProSe service, and determine, according to a target address corresponding to the indication message indicating ProSe service and the first indication message of the ProSe service terminal, to send the discovery message of the type of ProSe service.
In a possible design, the determining module 602 is further configured to process the discovery message according to the type of the discovery message, calculate a fixed code rate of the discovery message after the processing, and send the discovery message according to the fixed code rate.
Example IV
In accordance with the method provided in the second embodiment, the embodiment of the present application further provides a device for processing a discovery message, where the device is configured to implement a function of a method for processing a discovery message, and referring to fig. 7, the device includes:
the parsing module 701 is specifically configured to parse a message type of the received discovery message;
the sending module 702 is specifically configured to transmit a discovery message corresponding to the message type to a non-access stratum.
In one possible design, the parsing module 701 is specifically configured to determine a message type of the discovery message according to a physical resource pool, and/or determine a message type of the discovery message according to a type identifier in a direct link control indication of the terminal, and/or determine a message type of the discovery message according to a logical channel identifier in the terminal.
In one possible design, the parsing module 701 is further configured to determine a value of a type identifier of the discovery message, where the discovery message is a discovery message of the ProSe service if the value of the type identifier is a first set value, and the discovery message is a discovery message of the relay service if the value of the type identifier is a second set value.
In one possible design, the sending module 702 is specifically configured to send the discovery message to the non-access stratum layer when the message type is a discovery message of ProSe service, and/or the discovery message is the same as a discovery message in a discovery message type list in the non-access stratum layer.
Example five
There is also provided in an embodiment of the present application a communication device, as shown in fig. 8, including: 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 may store data used by the processor 803 in performing operations.
A bus architecture may be comprised of any number of interconnected buses and bridges, and in particular one or more processors represented by the processor 801 and various circuits of memory, represented by the memory 802. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 may store data used by the processor 801 in performing operations.
The flow disclosed in the embodiments of the present disclosure may be applied to the processor 801 or implemented by the processor 801. In implementation, the steps of the signal processing flow may be performed by integrated logic circuits of hardware in the processor 801 or instructions in software. The processor 801 may be a general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present disclosure. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 802, and the processor 801 reads information in the memory 802 and completes steps of an information processing flow in combination with hardware thereof.
Specifically, the processor 801 is configured to read the computer instructions in the memory 802 and execute the method for sending the discovery message in the embodiment of the disclosure, and specifically perform the following steps: .
And receiving a first indication message and determining whether to send a discovery message of the proximity service (ProSe) service according to the first indication message.
In one possible design, the processor 801 is specifically configured to determine whether to send the discovery message of the ProSe service according to a 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, the terminal receives discovery message requests sent by other terminals, a target address corresponding to the discovery message requests received by the terminal is in a target address list, and the terminal is in a state of receiving or sending the discovery message.
In one possible design, the processor 801 is further configured to determine, according to a first indication message indicating that the type of the discovery message is a discovery message of ProSe service, to send the discovery message of the type of ProSe service, and determine, according to a target address corresponding to the indication message indicating ProSe service and the first indication message of the ProSe service terminal, to send the discovery message of the type of ProSe service.
In one possible design, the processor 801 is further configured to determine to send a discovery message of a ProSe service when the trigger condition is that the radio resource occupancy of the direct communication link of the terminal exceeds a preset value, determine to send the discovery message of the ProSe service when the trigger condition is that the terminal receives a discovery message request sent by another terminal, determine to send the discovery message of the ProSe service when the trigger condition is that a target address corresponding to the discovery message request received by the terminal is in a target address list, and determine to send the discovery message of the ProSe service when the trigger condition is that the terminal is in a state of receiving or sending the discovery message.
In one possible design, the processor 801 is further configured to process a discovery message with a type of relay service through a first preset mode, where the first preset mode directly uses the discovery message, and process a discovery message with a type of ProSe service through a second preset mode, where the second preset mode performs compression processing on the discovery message.
In a possible design, the processor 801 is further configured to process the discovery message according to the type of the discovery message, calculate a fixed code rate of the discovery message after the processing, and send the discovery message according to the fixed code rate.
Example six
There is also provided in an embodiment of the present application a communication device, as shown in fig. 9, including: processor 901, memory 902, and bus interface 903.
The processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 may store data used by the processor 903 in performing operations.
The bus architecture may comprise any number of interconnecting buses and bridges, and in particular one or more processors represented by the processor 901 and various circuits of memory represented by the memory 902, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The processor 901 is responsible for managing the bus architecture and general processing, and the memory 902 may store data used by the processor 901 in performing operations.
The flow disclosed in the embodiments of the present disclosure may be applied to the processor 901 or implemented by the processor 901. In implementation, the steps of the signal processing flow may be performed by integrated logic circuits of hardware in the processor 901 or instructions in the form of software. The processor 901 may be a general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, where the methods, steps, and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 902, and the processor 901 reads information in the memory 902 and completes steps of an information processing flow in combination with hardware thereof.
Specifically, the processor 901 is configured to read the computer instructions in the memory 902 and execute the processing method of the discovery message in the embodiment of the disclosure, and specifically execute the following steps:
and analyzing the message type of the received discovery message, and transmitting the discovery message corresponding to the message type to a non-access layer.
In one possible design, the processor 901 is specifically configured to determine a message type of the discovery message according to a physical resource pool, where the physical resource pool stores discovery messages of a same type, and/or determine the message type of the discovery message according to a type identifier in a direct link control indication of the terminal, and/or determine the message type of the discovery message according to a logical channel identifier in the terminal.
In one possible design, the processor 901 is further configured to obtain a type identifier of the discovery message, where the discovery message is a discovery message of the ProSe service if the value of the type identifier is a first set value, and the discovery message is a discovery message of the relay service if the value of the type identifier is a second set value.
In one possible design, the processor 901 is further configured to obtain a logical channel identifier corresponding to the discovery message, and match the logical channel identifier with a first logical channel identifier list and a second logical channel identifier list, where the first logical channel identifier list stores a logical channel identifier of a discovery message of a relay service, and the second logical channel identifier list stores a logical channel identifier of a discovery message of a ProSe service, and if the logical channel identifier of the discovery message is in the first logical channel identifier list, the discovery message is a discovery message of a relay service, and if the logical channel identifier of the discovery message is in the second logical channel identifier list, the discovery message is a discovery message of the ProSe service.
In one possible design, the processor 901 is further configured to send the discovery message to the non-access stratum layer when the message type is a discovery message of ProSe service and/or the discovery message is the same as a discovery message in a list of discovery message types in the non-access stratum layer.
It should be noted that, the above communication device provided in the embodiment of the present disclosure can implement all the method steps implemented in the embodiment of the method, and can achieve the same technical effects, and the same parts and beneficial effects as those of the embodiment of the method in the embodiment are not described in detail herein.
The embodiment of the disclosure also provides a computer program product, which when called by a computer, causes the computer to execute the method for sending the discovery message and the method for processing the discovery message in the above embodiments.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (30)

1. A method for transmitting a discovery message, comprising:
receiving a first indication message;
determining whether to send a discovery message of a proximity service 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 for indicating to send the ProSe service;
the first indication message is a discovery message indicating that the type of the discovery message is ProSe service;
The first indication message is a service characteristic of a discovery message for indicating the ProSe service, wherein the service characteristic is a service period and a service starting time related to the ProSe service;
the first indication message indicates that a target address corresponding to a discovery message of the ProSe service is a ProSe service terminal.
2. The method according to claim 1, characterized by determining whether to send a discovery message of proximity services ProSe traffic, in particular:
determining whether to send the discovery message of the ProSe service according to the detected trigger condition;
the triggering condition comprises one or a combination of the following conditions:
the wireless resource occupancy rate of the direct communication link of the terminal exceeds a preset value;
the terminal receives a discovery message request sent by other terminals;
the target address corresponding to the discovery message request received by the terminal is in a target address list;
the terminal is in a state of receiving or transmitting the discovery message.
3. The method of claim 1, wherein prior to determining whether to send the discovery message for proximity services ProSe traffic, the method further comprises:
determining to send the discovery message of which the type is that of the ProSe service according to a first indication message indicating that the type of the discovery message is that of the ProSe service; or (b)
And determining that the type of the discovery message is the discovery message of the ProSe service according to the target address corresponding to the indication message indicating the ProSe service and the first indication message of the ProSe service terminal.
4. The method according to claim 1, characterized by determining whether to send a discovery message of proximity services ProSe traffic, in particular one or a combination of more of the following:
when the triggering condition is that the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, determining to send a discovery message of the ProSe service;
when the triggering condition is that the terminal receives a discovery message request sent by other terminals, determining to send a discovery message of the ProSe service;
when the triggering condition is that a target address corresponding to a discovery message request received by a terminal is in a target address list, determining to send a discovery message of a ProSe service;
and when the triggering condition is that the terminal is in a state of receiving or transmitting the discovery message, determining to transmit the discovery message of the ProSe service.
5. The method of claim 1, wherein prior to determining whether to send the discovery message for proximity services ProSe traffic, further comprising:
processing the discovery message according to the type of the discovery message;
And calculating the fixed code rate of the processed discovery message, and sending the discovery message according to the fixed code rate.
6. The method of claim 5, wherein processing the discovery message according to the type of discovery message comprises:
processing a discovery message with the type of relay service through a first preset mode, wherein the first preset mode directly uses the discovery message;
and processing the discovery message with the type of the ProSe service through a second preset mode, wherein the second preset mode compresses the discovery message.
7. The method of claim 5, wherein transmitting the discovery message according to a fixed code rate comprises:
determining the transmission power corresponding to the fixed code rate according to the mapping relation between the fixed code rate and the transmission power;
and transmitting the discovery message according to the transmission power.
8. A method for processing a discovery message, comprising:
analyzing the message type of the received discovery message;
and transmitting the discovery message corresponding to the message type to a non-access layer.
9. The method of claim 8, wherein transmitting the discovery message corresponding to the message type to a non-access stratum layer comprises:
If the message type is the discovery message of the relay service, transmitting the discovery message conforming to the first preset condition to a non-access layer;
and if the message type is the discovery message of the ProSe service, transmitting the discovery message meeting the second preset condition to the non-access layer.
10. The method of claim 8, wherein parsing the message type of the received discovery message comprises:
judging the message type of the discovery message according to a physical resource pool, wherein the physical resource pool stores the discovery message of the same type; and/or
Judging the message type of the discovery message according to the type identifier in the direct link control instruction of the terminal; and/or
And judging the message type of the discovery message according to the logic channel identification code in the terminal.
11. The method of claim 10, wherein determining the message type of the discovery message from a physical resource pool comprises:
if the physical resource pool where the discovery message is located stores the discovery message of the relay service, the discovery message is the discovery message of the relay service;
if the physical resource pool where the discovery message is located stores the discovery message of the ProSe service, the discovery message is the discovery message of the ProSe service.
12. The method of claim 10, wherein determining the message type of the discovery message based on the type identification in the direct link control indication of the terminal comprises:
acquiring a type identifier of the discovery message;
if the value of the type identifier is a first set value, the discovery message is a discovery message of the ProSe service;
and if the value of the type identifier is the second set value, the discovery message is the discovery message of the relay service.
13. The method of claim 10, wherein determining the message type of the discovery message based on a logical channel identification code in the terminal comprises:
obtaining a logic channel identification code corresponding to the discovery message, and matching the logic channel identification code with a first logic channel identification code list and a second logic channel identification code list, wherein the first logic channel identification code list stores the logic channel identification code of the discovery message of the relay service, and the second logic channel identification code list stores the logic channel identification code of the discovery message of the ProSe service;
if the logic channel identification code of the discovery message is in the first logic channel identification code list, the discovery message is the discovery message of the relay service;
And if the logic channel identification code of the discovery message is in the second logic channel identification code list, the discovery message is the discovery message of the ProSe service.
14. The method of claim 9, wherein the first preset condition is one or a combination 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 communication quality of a wireless channel.
15. The method of claim 9, wherein the second preset condition is one or a combination of the following conditions:
the message type is a discovery message of the ProSe service;
the discovery message is the same as a discovery message in a list of discovery message types in the non-access stratum.
16. A transmission apparatus for a discovery message, comprising:
the receiving module is specifically used for receiving the first indication message;
and the determining module is specifically configured to determine whether to send a discovery message of the proximity service ProSe service according to the first indication message.
17. A discovery message processing apparatus, comprising:
The analysis module is specifically used for analyzing the message type of the received discovery message;
the sending module is specifically configured to send a discovery message meeting a first preset condition to the non-access layer and send a discovery message meeting a second preset condition to the non-access layer.
18. A communication device, comprising:
the memory stores a computer program;
the processor is configured to read the computer program in the memory, and perform the following steps:
and receiving a first indication message and determining whether to send a discovery message of the proximity service (ProSe) service according to the first indication message.
19. The apparatus of claim 18, wherein the processor is configured to determine whether to send the discovery message for ProSe traffic based on a detected trigger condition, the trigger condition comprising one or a combination of: the radio resource occupancy rate of the direct communication link of the terminal exceeds a preset value, the terminal receives discovery message requests sent by other terminals, a target address corresponding to the discovery message requests received by the terminal is in a target address list, and the terminal is in a state of receiving or sending the discovery message.
20. The apparatus of claim 18, wherein the processor is further configured to determine to send the discovery message of the type ProSe service based on a first indication message indicating the discovery message of the type ProSe service, and to determine to send the discovery message of the type ProSe service based on a target address corresponding to the indication message indicating ProSe service and the first indication message of the ProSe service terminal.
21. The apparatus of claim 18, wherein the processor is further configured to determine to send a discovery message for ProSe service when the trigger condition is that the radio resource occupancy of the direct communication link of the terminal exceeds a preset value, to send a discovery message for ProSe service when the trigger condition is that the terminal receives a discovery message request sent by another terminal, to send a discovery message for ProSe service when the trigger condition is that a destination address corresponding to the discovery message request received by the terminal is in a destination address list, and to send a discovery message for ProSe service when the trigger condition is that the terminal is in a state of receiving or sending the discovery message.
22. The apparatus of claim 18, wherein the processor is further configured to process a discovery message of a type of relay service through a first preset pattern, wherein the first preset pattern directly uses the discovery message, and to process a discovery message of a type of ProSe service through a second preset pattern, wherein the second preset pattern compresses the discovery message.
23. The device of claim 18, wherein the processor is further configured to process the discovery message according to a type of the discovery message, calculate a fixed code rate of the discovery message after processing, and send the discovery message according to the fixed code rate.
24. A communication device, comprising:
the memory stores a computer program;
the processor is used for reading the computer program in the memory and executing the following steps:
and analyzing the message type of the received discovery message, and transmitting the discovery message corresponding to the message type to a non-access layer.
25. The apparatus according to claim 24, wherein the processor is configured to determine a message type of the discovery message based on a physical resource pool, wherein the physical resource pool stores discovery messages of a same type, and/or determine the message type of the discovery message based on a type identifier in a direct link control indication of the terminal, and/or determine the message type of the discovery message based on a logical channel identification code in the terminal.
26. The apparatus of claim 24, wherein the processor is further configured to obtain a type identifier of the discovery message, wherein the discovery message is a discovery message for ProSe service if the type identifier has a first set value, and wherein the discovery message is a discovery message for relay service if the type identifier has a second set value.
27. The apparatus of claim 24, wherein the processor is further configured to obtain a logical channel identifier corresponding to the discovery message, match the logical channel identifier with a first logical channel identifier list and a second logical channel identifier list, wherein the first logical channel identifier list holds logical channel identifiers of discovery messages for relay services, the second logical channel identifier list holds logical channel identifiers of discovery messages for ProSe services, the discovery message is a discovery message for relay services if the logical channel identifier of the discovery message is in the first logical channel identifier list, and the discovery message is a discovery message for ProSe services if the logical channel identifier of the discovery message is in the second logical channel identifier list.
28. The apparatus of claim 24, wherein the processor is further configured to send the discovery message to a non-access stratum layer when the message type is a discovery message for ProSe traffic and/or the discovery message is the same as a discovery message in a list of discovery message types in the non-access stratum layer.
29. A computer readable storage medium storing computer executable instructions for causing a computer to perform the method of any one of claims 1-7 and 8-15.
30. A computer program product, characterized in that the computer program product, when called by a computer, causes the computer to perform the method according to any of claims 1-7 and 8-15.
CN202111232931.0A 2021-10-22 2021-10-22 Method and device for sending discovery message Pending CN116017624A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN116017624A true CN116017624A (en) 2023-04-25

Family

ID=86017912

Family Applications (1)

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

Country Status (2)

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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2836786T3 (en) * 2012-11-16 2021-06-28 Innovative Sonic Corp Method and apparatus for 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
CN104254129B (en) * 2013-06-25 2019-01-25 中兴通讯股份有限公司 Close on the resource allocation method and device of service discovering
CN107211297B (en) * 2014-11-07 2021-07-23 交互数字专利控股公司 Method for selecting relay node executed by remote wireless transmitting/receiving unit and wireless transmitting/receiving unit
US10530461B2 (en) * 2015-03-25 2020-01-07 Qualcomm Incorporated Relay discovery and association messages
CN111372204B (en) * 2015-05-15 2021-08-13 华为技术有限公司 Discovery method and device
EP3627723A1 (en) * 2015-07-24 2020-03-25 Panasonic Intellectual Property Corporation of America Improved prose relay ue activation
WO2018129543A1 (en) * 2017-01-09 2018-07-12 Idac Holdings, Inc. Relay for wireless communication system

Also Published As

Publication number Publication date
WO2023066126A1 (en) 2023-04-27

Similar Documents

Publication Publication Date Title
CN106572516B (en) Network slice selection method, terminal equipment and network equipment
JP2022536152A (en) Dual SIM UE data transmission method and device, storage medium, and user equipment
CN111971990B (en) Measuring method and device
WO2021088089A1 (en) Link quality monitoring method and related product
WO2021051364A1 (en) Communication method, apparatus and device
WO2020228454A1 (en) Communication method and related product
CN114423097A (en) Data processing method, device, apparatus and storage medium
US20190387457A1 (en) Access method, and terminal
WO2019241969A1 (en) Method for configuring measurement information, terminal device, and network device
CN117545104A (en) Communication method and communication device
US20230308912A1 (en) Beam measurement method and device, and storage medium
JP2022508844A (en) How to determine the transmission mode in the side link, terminal device and network device
CN113676922B (en) Terminal device cooperation method and device
CN114173322A (en) Communication method and device
CN111194072B (en) Method and device for monitoring paging under multi-beam scene
WO2021088007A1 (en) Wireless communication method, terminal device, and network device
WO2020155126A1 (en) Wireless communication method, terminal device, and network device
KR20180124841A (en) D2D-based communication method and terminal
WO2022061789A1 (en) Communication method and apparatus, and device and storage medium
CN114731544B (en) Data transmission method, device and system based on network slice
CN116017624A (en) Method and device for sending discovery message
WO2021026842A1 (en) Wireless communication method, network device and terminal device
WO2020155071A1 (en) Network identifier display method, terminal device, and network device
CN115038117A (en) Data transmission method and related equipment
CN114760595B (en) Multicast broadcast service MBS capability indication method, device, equipment and storage medium

Legal Events

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