Communication method and device and storage medium

CN121569504APending Publication Date: 2026-02-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380100149.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

The prior art is inefficient when realizing location information discovery and communication between devices, and cannot effectively use the lower layer of the application layer to improve efficiency.

Method used

The first information is transmitted through the first data frame or the lower layer of the application layer, and the first information is used to discover the location information of at least one second terminal, including at least the second terminal, thereby achieving the purpose of improving the communication efficiency of the system.

Benefits of technology

The location information of the first terminal to be discovered is realized, and the communication efficiency of the system is improved and the consumption of communication resources is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121569504A_ABST
    Figure CN121569504A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and device, equipment and a storage medium, the method is executed by a first terminal, the method comprises the following steps: first information is sent through a first data frame or a lower layer of an application layer, the first information is used for discovering at least one second terminal, and the first information at least comprises a second position of the at least one second terminal; the first terminal discovers the second terminal by issuing the absolute position information of the second terminal needing to be discovered or the position information of the first terminal and the position information of the second terminal relative to the first terminal, the first information is sent through the data frame or the application layer, and the communication efficiency of the system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, device and storage medium Technical Field

[0001] The present disclosure relates to the field of communication technologies, and in particular to a communication method, device, and storage medium. Background Art

[0002] Proximity-based applications and services have become a new socio-technical trend, with increasing research on proximity discovery and proximity communication. The key principle of proximity applications is to discover application instances running between nearby devices and exchange application data. Proximity services can be extended to various applications, such as public safety, drones, and autonomous networks. Currently, the location information in proximity services is only used at the application layer.

[0003] Summary of the Invention

[0004] The present disclosure provides a communication method, an apparatus, a communication device, a communication system, and a storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a communication method is proposed, which is executed by a first terminal. The method includes: sending first information through a first data frame or a lower layer of an application layer, where the first information is used to discover at least one second terminal, and the first information includes at least a second position of the at least one second terminal.

[0006] In the above method, the first terminal sends the first information through the first data frame or the lower layer of the application layer. The first information carries the second position of at least one second terminal, which can enable the first terminal to publish the position information of the second terminal that needs to be discovered, and can realize the discovery of the second terminal at the specified position. Sending through the first data frame or the lower layer of the application layer can improve the communication efficiency of the system.

[0007] According to the second aspect of an embodiment of the present disclosure, a communication method is proposed, which is executed by a second terminal. The method includes: receiving first information sent by the first terminal through a first data frame or a lower layer of the application layer, the first information is used to discover the second terminal, and the first information includes at least the second position of the second terminal.

[0008] In the above method, the second terminal obtains the location of the terminal that the first terminal needs to discover by receiving the first information sent by the first terminal, which can facilitate the subsequent verification by the second terminal whether it is a discovered terminal. Receiving it through the first data frame or the lower layer of the application layer can improve the communication efficiency of the system.

[0009] According to the third aspect of an embodiment of the present disclosure, a first terminal is proposed, including a transceiver module, which sends first information through a first data frame or a lower layer of an application layer. The first information is used to discover at least one second terminal, and the first information includes at least a second position of at least one second terminal.

[0010] According to the fourth aspect of an embodiment of the present disclosure, a second terminal is proposed, including a transceiver module, which receives first information sent by the first terminal through a first data frame or a lower layer of the application layer, and the first information is used to discover the second terminal. The first information includes at least the second position of the second terminal.

[0011] According to the fifth aspect of the embodiment of the present disclosure, a communication device is proposed, which includes: a transceiver; a memory; and a processor, which is connected to the transceiver and the memory respectively, and is configured to control the wireless signal reception and transmission of the transceiver by executing computer-executable instructions on the memory, and is capable of executing the communication method of any one of the first and second aspects.

[0012] According to a sixth aspect of an embodiment of the present disclosure, a storage medium is proposed, which stores instructions. When the instructions are executed on a communication device, the communication device executes a communication method as described in any one of the first and second aspects.

[0013] According to a seventh aspect of an embodiment of the present disclosure, a communication system is proposed, including a first terminal and a second terminal, wherein the first terminal is configured to implement the method of the first aspect, and the second terminal is configured to implement the method of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0015] FIG1 is a schematic diagram of the architecture of some communication systems provided by embodiments of the present disclosure;

[0016] FIG2 is an interactive diagram of a communication method provided by an embodiment of the present disclosure;

[0017] 3a-3c are flowcharts of some communication methods provided by embodiments of the present disclosure;

[0018] 4a-4c are flowcharts of other communication methods provided by embodiments of the present disclosure;

[0019] FIG5 is a schematic diagram of interactions of other communication methods provided by embodiments of the present disclosure;

[0020] FIG6 is a schematic diagram of exemplary processes of some communication methods provided by embodiments of the present disclosure;

[0021] FIG7a is a schematic structural diagram of a first terminal provided by an embodiment of the present disclosure;

[0022] FIG7 b is a schematic structural diagram of a second terminal provided by an embodiment of the present disclosure;

[0023] FIG8a is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0024] FIG8 b is a schematic structural diagram of a chip provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The embodiments of the present disclosure provide a communication method and apparatus, a communication device, a communication system, and a storage medium.

[0026] In a first aspect, an embodiment of the present disclosure proposes a communication method, which is executed by a first terminal, and the method includes: sending first information through a first data frame or a lower layer of an application layer, the first information is used to discover at least one second terminal, and the first information includes at least a second position of at least one second terminal.

[0027] In the above embodiment, the first terminal may publish the first information through the first data frame or the lower layer of the application layer, so as to facilitate discovery of terminals at specific locations and improve the communication efficiency of the system.

[0028] In combination with some embodiments of the first aspect, in some embodiments, the first information further includes at least one of the following: the first position of the first terminal; the first time when the first terminal is at the first position; the first speed of the first terminal at the first time.

[0029] In the above embodiment, in addition to the first location information, the first terminal also publishes the first location of the first terminal, the first time when the first terminal is at the first location, and the first speed of the first terminal at the first time, which can facilitate the second terminal to determine the location and status of the first terminal.

[0030] In combination with some embodiments of the first aspect, in some embodiments the method further includes: sending a first discovery request to the first network function; receiving a first parameter sent by the first network function, where the first parameter is used to discover at least one second terminal.

[0031] In the above embodiment, the first terminal may send a first discovery request to the first network function and may receive a first parameter, so as to facilitate subsequent discovery of the second terminal based on the first parameter.

[0032] In combination with some embodiments of the first aspect, in some embodiments, the first parameter includes at least one of the following: a first proximity service response code (Prose Response Code); a first proximity service query code (Prose Query Code); a first indication (Indicator), the first indication being used to indicate whether the first terminal sends the first information.

[0033] In the above embodiment, the first parameter may include information related to the first terminal, such as a first proximity service response code, a first proximity service query code and a first indication of location information related to the location and time information of the first terminal. This information can be used to discover at least one second terminal and whether the first terminal needs to send the first information.

[0034] In combination with some embodiments of the first aspect, in some embodiments, the method further includes: receiving feedback information sent by all or part of the at least one second terminal.

[0035] In the above embodiment, the first terminal may receive all or part of the feedback information sent by the second terminal to discover the second terminal.

[0036] In combination with some embodiments of the first aspect, in some embodiments, the lower layer of the application layer includes at least one of a physical layer, a data link layer, a network layer, a transport layer, a session layer, and a presentation layer.

[0037] In the above embodiment, the first terminal can send the first information through the lower layer of the application layer, that is, the first information can be sent through at least one of the physical layer, data link layer, network layer, transport layer, session layer, and presentation layer, which can improve the communication efficiency of the system.

[0038] In combination with some embodiments of the first aspect, in some embodiments, the method further includes: sending first information to the first network function.

[0039] In the above embodiment, the first terminal may further send first information to the first network function, and the first network function may assist the first terminal in discovering the second terminal based on the first information.

[0040] In combination with some embodiments of the first aspect, in some embodiments, a data segment carrying the first information in the first data frame has a first decoding priority.

[0041] In the above embodiment, the first terminal may send the first information via the first data frame. In this case, the data segment where the first information is located has a decoding priority, which can improve the communication efficiency of the system.

[0042] In the second aspect, an embodiment of the present disclosure proposes a communication method, which is executed by a second terminal, and the method includes: receiving first information sent by the first terminal through a first data frame or a lower layer of the application layer, the first information is used to discover the second terminal, and the first information includes at least the second position of the second terminal.

[0043] In the above embodiment, the second terminal may receive the first information through the first data frame or the lower layer of the application layer, thereby acquiring the location information of the terminal that the first terminal needs to discover and improving communication efficiency.

[0044] In combination with some embodiments of the second aspect, in some embodiments, the first information also includes at least one of the following: the first position of the first terminal; the first time when the first terminal is at the first position; the first speed of the first terminal at the first time.

[0045] In the above embodiment, in addition to the first location information, the second terminal can also obtain the first location of the first terminal, the first time when the first terminal is at the first location, and the first speed of the first terminal at the first time, which can facilitate the second terminal to obtain the location and status information of the first terminal.

[0046] In combination with some embodiments of the second aspect, in some embodiments, the method further includes: sending a second discovery request to the first network function; and receiving a second parameter sent by the first network function, where the second parameter is used to discover the second terminal.

[0047] In the above embodiment, the second terminal may send a second discovery request to the first network function and receive a second parameter, and the second parameter may be used to implement discovery of the second terminal.

[0048] In conjunction with some embodiments of the second aspect, in some embodiments, the second parameter includes at least one of the following: a second proximity service response code; a second proximity service query code.

[0049] In the above embodiment, the second parameter may include information related to the second terminal, such as a second proximity service response code and a second proximity service query code. This information may be used to discover the second terminal.

[0050] In combination with some embodiments of the second aspect, in some embodiments, the method further includes: determining whether the second terminal meets the discovery condition of the first terminal based on the first information and the current location of the second terminal.

[0051] In the above embodiment, the second terminal may determine whether the second terminal is a terminal to be discovered by the first terminal based on the first information and the current location of the second terminal, thereby determining whether the second terminal responds to the information published by the first terminal.

[0052] In combination with some embodiments of the second aspect, in some embodiments, the method further includes: sending the first information and the current location of the second terminal to the second network function, so that the second network function determines whether the second terminal meets the discovery conditions of the first terminal.

[0053] In the above embodiment, the second terminal can send the first information and the current location to the second network function, and the second network function can compare and judge to determine whether the second terminal meets the first terminal discovery requirements, thereby determining whether the second terminal responds to the information published by the first terminal.

[0054] In combination with some embodiments of the second aspect, in some embodiments, the discovery condition includes at least one of the following: the second terminal is within a first range from the first terminal; the second terminal is in a relative position relative to the first terminal.

[0055] In the above embodiment, the second terminal may be a terminal within the first range, or a terminal at a relative position specified by the first terminal, so that the first terminal can discover the neighboring terminal or the terminal at the specified position.

[0056] In combination with some embodiments of the second aspect, in some embodiments, the method further includes: sending feedback information to the first terminal.

[0057] In the above embodiment, the second terminal may send a feedback message to the first terminal, so that the first terminal can discover the second terminal.

[0058] In combination with some embodiments of the second aspect, in some embodiments, the method further includes: sending report information to the first network function when the second parameter matches the first parameter requested by the first terminal.

[0059] In the above embodiment, when the first parameter matches the second parameter, the second terminal may send report information to the first network function, so as to facilitate establishment of a connection between the first terminal and the second terminal.

[0060] In combination with some embodiments of the second aspect, in some embodiments, the lower layer of the application layer includes at least one of a physical layer, a data link layer, a network layer, a transport layer, a session layer, and a presentation layer.

[0061] In the above embodiment, the second terminal can receive the first information through the lower layer of the application layer, that is, it can receive the first information through at least one of the physical layer, data link layer, network layer, transport layer, session layer, and presentation layer, which can improve the communication efficiency of the system.

[0062] In combination with some embodiments of the second aspect, in some embodiments, the data segment carrying the first information in the first data frame has a first decoding priority.

[0063] In the above embodiment, the second terminal can receive the first information through the first data frame. At this time, the data segment where the first information is located has a decoding priority, which can improve the communication efficiency of the system.

[0064] In a third aspect, an embodiment of the present disclosure proposes a communication method for a communication system, the communication system including a first terminal and a second terminal, the method including at least one of the following: sending first information through a first data frame or a lower layer of an application layer, the first information being used to discover at least one second terminal, the first information including at least a second position of at least one second terminal.

[0065] In the above embodiment, the first terminal can send the second location information of the second terminal that the first terminal needs to discover to the second terminal by sending the first information. Sending based on the first data frame or the lower layer of the application layer can improve the communication efficiency of the system.

[0066] In a fourth aspect, an embodiment of the present disclosure proposes a first terminal, comprising a transceiver module, for sending first information through a first data frame or a lower layer of an application layer, wherein the first information is used to discover at least one second terminal, and the first information includes at least a second position of at least one second terminal.

[0067] In the fifth aspect, an embodiment of the present disclosure proposes a second terminal, including a transceiver module, for receiving first information sent by the first terminal through a first data frame or a lower layer of the application layer, the first information is used to discover the second terminal, and the first information includes at least the second position of the second terminal.

[0068] In a sixth aspect, an embodiment of the present disclosure proposes a communication device, which includes: wherein the processor is used to call instructions to enable the communication device to execute the method described in the optional implementation manner of the first aspect and the second aspect of the embodiment of the present disclosure.

[0069] In the eighth aspect, an embodiment of the present disclosure proposes a communication system, which includes: a first terminal and a second terminal; wherein the first terminal is configured to execute the method described in the first aspect and the optional implementation of the first aspect, and the second terminal is configured to execute the method described in the second aspect and the optional implementation of the second aspect.

[0070] In the ninth aspect, an embodiment of the present disclosure proposes a storage medium, wherein the computer storage medium stores computer-executable instructions; after the computer-executable instructions are executed by the processor, the method described in the first aspect, the optional implementation of the first aspect, the second aspect, and the optional implementation of the second aspect can be executed.

[0071] It is understandable that the first terminal, the second terminal, the communication device, the communication system, and the storage medium are all used to execute the method proposed in the embodiment of the present disclosure. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method and will not be repeated here.

[0072] The present disclosure provides a communication method and apparatus, a communication device, a communication system, and a storage medium. In some embodiments, the terms "communication method" and "information processing method" and "communication method" are interchangeable; the terms "apparatus" and "terminal" and "network device" and "communication device" are interchangeable; and the terms "information processing system" and "communication system" are interchangeable.

[0073] The embodiments of the present disclosure are not exhaustive and are merely illustrative of some embodiments, and are not intended to be a specific limitation on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined. For example, some or all steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

[0074] In each embodiment of the present disclosure, unless otherwise specified or provided for by logic, the terms and / or descriptions between the embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form a new embodiment based on their inherent logical relationships.

[0075] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0076] In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular, such as "a", "an", "the", "above", "said", "the", "the", etc., may mean "one and only one", or "one or more", "at least one", etc. For example, when using articles such as "a", "an", "the" in English in translation, the noun following the article may be understood as a singular expression or a plural expression.

[0077] In the embodiments of the present disclosure, “plurality” refers to two or more.

[0078] In some embodiments, the terms "at least one of", "at least one of", "at least one of", "one or more", "a plurality of", "multiple", etc. can be used interchangeably.

[0079] In the embodiments of the present disclosure, descriptions such as “at least one of A, B, C…”, “A and / or B and / or C…”, etc. include the situation where any one of A, B, C… exists alone, and also include any combination of any multiple of A, B, C…, and each situation can exist alone; for example, “at least one of A, B, C” includes the situation where A exists alone, B exists alone, C exists alone, the combination of A and B, the combination of A and C, the combination of B and C, and the combination of A, B, and C; for example, A and / or B includes the situation where A exists alone, B exists alone, and the combination of A and B.

[0080] In some embodiments, descriptions such as "in one case A, in another case B," or "in response to one case A, in response to another case B," may include the following technical solutions depending on the situation: executing A independently of B (in some embodiments, A); executing B independently of A (in some embodiments, B); selectively executing A and B (in some embodiments, selecting between A and B); and executing both A and B (in some embodiments, A and B). The same applies when there are more branches, such as A, B, and C.

[0081] The prefixes such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different description objects and do not constitute any restriction on the position, order, priority, quantity or content of the description objects. For the statement of the description object, please refer to the description in the context of the claims or embodiments, and no unnecessary restriction should be constituted due to the use of prefixes. For example, if the description object is a "field", the ordinal number before the "field" in the "first field" and the "second field" does not limit the position or order between the "fields". "First" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of the "first field" and the "second field". For another example, if the description object is a "level", the ordinal number before the "level" in the "first level" and the "second level" does not limit the priority between the "levels". For another example, the number of description objects is not limited by the ordinal number and can be one or more. Taking "first device" as an example, the number of "devices" can be one or more. In addition, the objects modified by different prefixes can be the same or different. For example, if the description object is "device", then the "first device" and the "second device" can be the same device or different devices, and their types can be the same or different; for another example, if the description object is "information", then the "first information" and the "second information" can be the same information or different information, and their contents can be the same or different.

[0082] In some embodiments, “including A,” “comprising A,” “used to indicate A,” and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.

[0083] In some embodiments, terms such as "in response to...", "in response to determining...", "in the case of...", "at the time of...", "when...", "if...", "if...", etc. can be used interchangeably.

[0084] In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not less than", "higher than", "higher than or equal to", "not less than", and "above" can be replaced with each other, and terms such as "less than", "less than or equal to", "not greater than", "less than", "less than or equal to", "not more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other.

[0085] In some embodiments, devices, etc. can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as "device", "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", and "subject" can be used interchangeably.

[0086] In some embodiments, the terms "access network device (AN device)", "radio access network device (RAN device)", "base station (BS)", "radio base station" "fixed station", "node", "access point", "transmission point (TP)", "reception point (RP)", "transmission / reception point (TRP)", "panel", "antenna panel", "antenna array", "cell", "macro cell", "small cell", "femto cell", "pico cell", "sector", "cell group", "carrier", "component carrier", "bandwidth part (BWP)" and the like may be used interchangeably.

[0087] In some embodiments, the terms "terminal", "terminal device", "user equipment (UE)", "user terminal", "mobile station (MS)", "mobile terminal (MT)", subscriber station, mobile unit, subscriber unit, wireless unit, remote unit, mobile device, wireless device, wireless communication device, remote device, mobile subscriber station, access terminal, mobile terminal, wireless terminal, remote terminal, handset, user agent, mobile client, client, etc. can be used interchangeably.

[0088] In some embodiments, the access network device, the core network device, or the network device can be replaced by a terminal. For example, the various embodiments of the present disclosure can also be applied to a structure in which the communication between the access network device, the core network device, or the network device and the terminal is replaced by communication between multiple terminals (for example, it can also be called device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, it can also be set as a structure in which the terminal has all or part of the functions of the access network device. In addition, language such as "uplink" and "downlink" can also be replaced by language corresponding to communication between terminals (for example, "side"). For example, uplink channels, downlink channels, etc. can be replaced by side channels, and uplinks, downlinks, etc. can be replaced by side links.

[0089] In some embodiments, the terminal may be replaced by an access network device, a core network device, or a network device. In this case, the access network device, the core network device, or the network device may have a structure that has all or part of the functions of the terminal.

[0090] In some embodiments, the names of information, etc. are not limited to the names described in the embodiments, and terms such as "information", "message", "signal", "signaling", "report", "configuration", "indication", "instruction", "command", "channel", "parameter", "domain", "field", "symbol", "symbol", "codeword", "codebook", "codeword", "codepoint", "bit", "data", "program", and "chip" can be used interchangeably.

[0091] In some embodiments, terms such as "uplink", "uplink", "physical uplink" can be interchangeable with each other, and terms such as "downlink", "downlink", "physical downlink" can be interchangeable with each other, and terms such as "side", "sidelink", "side communication", "sidelink communication", "direct connection", "direct link", "direct communication", "direct link communication" can be interchangeable with each other.

[0092] In some embodiments, the terms "downlink control information (DCI)", "downlink (DL) assignment", "DL DCI", "uplink (UL) grant", "UL DCI" and the like may be used interchangeably.

[0093] In some embodiments, terms such as "physical downlink shared channel (PDSCH)" and "DL data" can be used interchangeably, and terms such as "physical uplink shared channel (PUSCH)" and "UL data" can be used interchangeably.

[0094] In some embodiments, the terms "radio", "wireless", "radio access network (RAN)", "access network (AN)", "RAN-based" and the like may be used interchangeably.

[0095] In some embodiments, terms such as "synchronization signal (SS)", "synchronization signal block (SSB)", "reference signal (RS)", "pilot", and "pilot signal" can be used interchangeably.

[0096] In some embodiments, terms such as "moment", "time point", "time", and "time position" can be replaced with each other, and terms such as "duration", "period", "time window", "window", and "time" can be replaced with each other.

[0097] In some embodiments, "obtain", "get", "obtain", "receive", "transmit", "bidirectional transmission", "send and / or receive" can be interchangeable, and can be interpreted as receiving from other entities, obtaining from a protocol, obtaining by self-processing, autonomous implementation, etc.

[0098] In some embodiments, terms such as "send", "transmit", "report", "download", "transmit", "bidirectional transmission", "send and / or receive" can be used interchangeably.

[0099] In some embodiments, "predetermined" and "preset" can be interpreted as pre-specified in a protocol, etc., or can be interpreted as a pre-set action performed by a device, etc.

[0100] In some embodiments, determining may be interpreted as judging, calculating, computing, processing, deriving, investigating, searching, looking up, retrieving, ascertaining, receiving, transmitting, inputting, outputting, accessing, resolving, selecting, choosing, establishing, comparing, “assuming,” “expecting,” “considering,” broadcasting, notifying, communicating, forwarding, configuring, reconfiguring, allocating, mapping, assigning, and the like, but is not limited thereto.

[0101] In some embodiments, the determination or judgment can be performed by a value represented by 1 bit (0 or 1), or by a true or false value (Boolean value) represented by true or false, or by comparison of numerical values ​​(for example, comparison with a predetermined value), but is not limited thereto.

[0102] In some embodiments, "network" can be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.).

[0103] In some embodiments, "not expecting to receive" can be interpreted as not receiving on time domain resources and / or frequency domain resources, or as not performing subsequent processing on the data after receiving it; "not expecting to send" can be interpreted as not sending, or as sending but not expecting the recipient to respond to the content sent.

[0104] In some embodiments, obtaining data, information, etc. may comply with the laws and regulations of the country where the data is obtained.

[0105] In some embodiments, data, information, etc. may be obtained after obtaining the user's consent. To solve the above problems, the present disclosure proposes a communication method and apparatus, a communication device, a communication system, and a storage medium.

[0106] Figure 1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure. As shown in Figure 1 , a communication system 100 may include a first terminal 101 and a second terminal 102. In some embodiments, the communication system may also include a first network function and a second network function.

[0107] In some embodiments, the name of the first terminal may be “user equipment”, “UE”, “discovering UE”, “discoverer UE”, etc., which is not limited in the present disclosure.

[0108] In some embodiments, the name of the second terminal may be “user equipment”, “UE”, “discovered UE”, “discoveree UE”, etc., which is not limited in the present disclosure.

[0109] In some embodiments, the first network function may be a network device, such as a core network device, specifically a network element function of the core network device, configured to implement proximity services. The first network function may be named "Proximity Service Function," "ProSe Function," or the like, and this disclosure does not limit this.

[0110] In some embodiments, the second network function may be a network device, such as a core network device or an access network device, configured to provide computing functions, which is not limited in this disclosure.

[0111] In some embodiments, the communication system may further include a proximity service application server.

[0112] In some embodiments, the terminal includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and at least one of a wireless terminal device in a smart home, but is not limited thereto.

[0113] In some embodiments, the access network device is, for example, a node or device that accesses a terminal to a wireless network. The access network device may include an evolved NodeB (eNB), a next generation evolved NodeB (ng-eNB), a next generation NodeB (gNB), a node B (NB), a home node B (HNB), a home evolved nodeB (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (Cloud RAN), a base station in other communication systems, and at least one of an access node in a wireless fidelity (WiFi) system, but is not limited thereto.

[0114] In some embodiments, the technical solution of the present disclosure can be applied to the Open RAN architecture. In this case, the interfaces between or within the access network devices involved in the embodiments of the present disclosure can be transformed into internal interfaces of the Open RAN, and the processes and information interactions between these internal interfaces can be implemented through software or programs.

[0115] In some embodiments, the access network device can be composed of a centralized unit (CU) and a distributed unit (DU), where the CU can also be called a control unit. The CU-DU structure can be used to split the protocol layer of the access network device, with the functions of some protocol layers centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers distributed in the DU, which is centrally controlled by the CU, but is not limited to this.

[0116] In some embodiments, a core network device may be a single device comprising one or more network elements, or may be a plurality of devices or a group of devices, each comprising all or part of one or more network elements. A network element may be virtual or physical. The core network may include, for example, at least one of an Evolved Packet Core (EPC), a 5G Core Network (5GCN), and a Next Generation Core (NGC).

[0117] In some embodiments, the above-mentioned one or more network elements may include, for example, AMF, UPF, MME, etc., and may also include other network elements, such as Policy Control Function (PCF), Application Function (AF), Network Application Function (NAF), Application Layer Authentication and Key Management Anchor Function (AAnF), Bootstrapping Server Functionality (BSF), Session Management Function (SMF), etc.

[0118] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution proposed in the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution proposed in the embodiment of the present disclosure is also applicable to similar technical problems.

[0119] The following embodiments of the present disclosure may be applied to the communication system 100 shown in Figure 1, or a portion thereof, but are not limited thereto. The entities shown in Figure 1 are illustrative only. The communication system may include all or part of the entities shown in Figure 1, or may include other entities outside of Figure 1. The number and form of the entities may be arbitrary. The connection relationship between the entities is illustrative only. The entities may be connected or disconnected, and the connection may be in any manner, including direct or indirect, wired or wireless.

[0120] The embodiments of the present disclosure can be applied to Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), future radio access (FRA), new radio access technology (RAT), new radio (NR), new radio access (NX), future generation radio access (FX), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) networks, Device-to-Device (D2D) systems, Machine-to-Machine (M2M) systems, Internet of Things (IoT) systems, Vehicle-to-Everything (V2X), systems utilizing other communication methods, and next-generation systems based on and extending these methods. Furthermore, multiple systems may be combined (for example, a combination of LTE or LTE-A with 5G).

[0121] Figure 2 is an interactive diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 2, the present disclosure embodiment relates to a communication method, which is used in a communication system 100. The communication system 100 may include a first terminal 101 and a second terminal 102. In some embodiments, the communication system may also include a first network function and a second network function. The method includes:

[0122] Step 2101: A first terminal sends a first discovery request to a first network function.

[0123] In some embodiments, the first network function may receive a first discovery request.

[0124] In some embodiments, the first discovery request may be used by the first terminal to publish or monitor information.

[0125] In some embodiments, the first terminal may be triggered to perform restricted ProSe Direct Discovery. When the first terminal is triggered to perform restricted ProSe Direct Discovery, the first terminal may send a first discovery request to a first network function in a Home Public Land Mobile Network (HPLMN).

[0126] Step 2102: The first network function sends a first parameter to the first terminal.

[0127] In some embodiments, the first terminal may receive the first parameter.

[0128] In some embodiments, the first parameter may be used to discover at least one second terminal.

[0129] In some embodiments, the first parameter may include at least one of the following: a first proximity service response code; a first proximity service query code; or a first indication.

[0130] In some embodiments, the first parameter is related to the first terminal. For example, the first parameter can be a proximity service code, a proximity service qualification code and an indicator of location information and time information related to the location and speed information of the first terminal. The first parameter can be determined by the first network function and assigned to the first terminal.

[0131] In some embodiments, the first indication may be used to indicate whether the first terminal should send the first information. For example, when the first indication is a first value, the first terminal is instructed to send the first information; when the first indication is a second value, the first terminal is instructed not to send the first information. For another example, when the first indication is an arbitrary value, the first terminal is instructed to send the first information; when the first indication is default, the first terminal is instructed not to send the first information.

[0132] In some embodiments, the first parameter may not include the first indication, that is, the first terminal may decide on its own whether to send the first information.

[0133] In some embodiments, the first information may be used to discover at least one second terminal.

[0134] In some embodiments, the first information may also be used to indicate the location and status of the first terminal.

[0135] In some embodiments, the first information may include a second location of the at least one second terminal.

[0136] In some embodiments, the first information may include at least one of the following: a second location of at least one second terminal, a first location of the first terminal, a first time when the first terminal is at the first location, and a first speed of the first terminal at the first time. For example, the first speed includes a direction and a speed value.

[0137] In some embodiments, when the first discovery request succeeds in step 2101 and the proximity service function provides the first terminal with a proximity service response code and a related discovery query filter, the first terminal may detect the proximity service query code on the interface.

[0138] Step 2103: The second terminal sends a second discovery request to the first network function.

[0139] In some embodiments, the first network function may receive the second discovery request.

[0140] In some embodiments, the second discovery request may be used by the second terminal to request publishing or monitoring information.

[0141] In some embodiments, the second terminal may be triggered to perform limited proximity service direct discovery. When the first terminal is triggered to perform limited proximity service direct discovery, the first terminal may send a second discovery request to a first network function in a Home Public Land Mobile Network (HPLMN).

[0142] Step 2104: The first network function sends a second parameter to the second terminal.

[0143] In some embodiments, the second terminal may receive the second parameter.

[0144] In some embodiments, the second parameter may be used to discover the second terminal.

[0145] In some embodiments, the second parameter may include at least one of the following: a second proximity service response code; or a second proximity service query code.

[0146] In some embodiments, the second parameter is related to the second terminal, and the second parameter may be determined by the first network function and allocated to the second terminal.

[0147] In some embodiments, the second parameter may also include a proximity service application mask (ProSe Application Mask(s)) and / or the location information of the second terminal, wherein the location information of the second terminal may be the absolute location information of the second terminal or the relative location information of the second terminal relative to the first terminal.

[0148] In some embodiments, when the second discovery request in step 2103 is successful and the proximity service function provides a proximity service query code and a discovery response filter, which includes a proximity service response code and a proximity service application mask, and optionally, may also include the location information and time information of the second terminal, the second terminal may publish the proximity service query code information on the interface. Optionally, the second terminal may publish the location information and time information related to the second terminal through the first data frame or the lower layer of the application layer. After that, the second terminal may monitor the proximity service response code on the interface that can match the discovery response filter.

[0149] Step 2105: The first terminal sends first information to the second terminal.

[0150] In some embodiments, the first terminal may send the first information to the second terminal via a first data frame or a lower layer of an application layer.

[0151] In some embodiments, the lower layer of the application layer includes at least one of a physical layer, a data link layer, a network layer, a transport layer, a session layer, and a presentation layer.

[0152] In some embodiments, the carrying of the first information is not restricted. For example, the first information can be carried in a protocol data unit (PDU). For example, when the first terminal broadcasts the first information through the physical layer, the first information can be carried in the PDU data bit of the physical layer; for another example, when the first terminal broadcasts the first information through the data link layer, the first information can be carried in the PDU data frame of the data link layer; for another example, when the first terminal broadcasts the first information through the network layer, the first information can be carried in the PDU data packet of the network layer; when the first terminal broadcasts the first information through the transport layer, the first information can be carried in the PDU data segment of the transport layer.

[0153] In this embodiment, the first terminal sends the first information to the second terminal through the lower layer of the application layer, so that the first information can be processed without going through the application layer, thereby improving communication efficiency and saving communication resources.

[0154] In some embodiments, a data segment carrying the first information in the first data frame has a first decoding priority. For example, the first terminal may carry the first information in an easily decodable data frame, for example, in an easily decodable field in a PDU, so that the receiving end can preferentially demodulate the first information when receiving and demodulating the IP data, thereby improving communication efficiency and saving communication resources.

[0155] In some embodiments, in the terminal discovery process, location-related information is sent through a first data frame or a lower layer of the application layer, thereby achieving the goal of not only processing location-related information through the application layer, so that the first device can notify other devices about the location of the first terminal, thereby discovering at least one second terminal that expects to communicate, improving the efficiency of the discovery process, and saving communication resources.

[0156] Step 2106: The first terminal sends first information to the first network function.

[0157] In some embodiments, the first terminal may send the first information to the first network function, and the first network function may assist the first terminal in discovering the second terminal based on the first information, or participate in the discovery process of the first terminal.

[0158] In some embodiments, step 2106 is an optional step. The first terminal can discover the second terminal by itself without the assistance of the first network function. The first terminal does not need to send the first information to the first network function, that is, step 2106 may not be performed.

[0159] Step 2107: The second terminal determines whether the second terminal meets the discovery condition of the first terminal.

[0160] In some embodiments, the second terminal itself may determine, through calculation, whether the second terminal meets the discovery condition of the first terminal.

[0161] In some embodiments, the second terminal may determine whether the second terminal meets the discovery conditions of the first terminal based on the first information and the current location of the second terminal. For example, the first terminal expects terminals within a certain radius from the first terminal to communicate with the first terminal, such as expecting to communicate with all second terminals within a radius of five meters or less with the first terminal as the center. In this case, the first information may include the location of the first terminal at a first time, the speed of the first terminal at a first time, and the second terminal may obtain its own location through the second location of the second terminal. The first terminal's location and status are determined based on the first information. The second terminal obtains the current location information of the first terminal based on the location information and status information of the first terminal, and determines whether the straight-line distance between the second terminal and the first terminal is less than or equal to five meters based on the current location information of the first terminal and the location information of the second terminal. When the calculated distance is less than or equal to five meters, the second terminal is the terminal with which the first terminal expects to communicate, that is, the second terminal meets the discovery conditions of the first terminal.

[0162] For another example, the first terminal expects to communicate with a terminal at a specific position relative to the first terminal, such as expecting to communicate with a terminal five meters north of the first terminal. Then the first information may include the position of the first terminal at the first time, the speed of the first terminal at the first time, and the relative position information of the second terminal expected to communicate relative to the first terminal, such as five meters north of the first terminal. The second terminal can calculate based on the first information to obtain the position of the terminal with which the first terminal expects to communicate. For example, it can be expressed in coordinates. With the first terminal as the origin, the position of the terminal expected to communicate is (0,0,5). The second terminal then compares this position with its own position. In the same coordinate system, when the position of the second terminal is the same as that of the first terminal, that is, it is also (0,0,5), the second terminal is the terminal with which the first terminal expects to communicate, that is, the second terminal meets the discovery condition of the first terminal.

[0163] In some embodiments, whether the second terminal meets the discovery condition can be determined using historical data. For example, if the second terminal has previously calculated that the first terminal and the second terminal are moving in opposite directions and that the second terminal was not in the relative position at a first moment, then the second terminal is inevitably not in the relative position at a second moment after the first moment, and the second terminal does not need to recalculate whether it is in the relative position at the second moment.

[0164] In some embodiments, the discovery condition may include at least one of the following: the second terminal is within a first range from the first terminal; the second terminal is in a relative position relative to the first terminal.

[0165] Step 2108: The second terminal sends the first information and the current location of the second terminal to the second network function.

[0166] In some embodiments, whether the second terminal meets the discovery condition of the first terminal may be determined by a third-party device.

[0167] In some embodiments, a third-party device is used to determine whether the second terminal meets the discovery condition of the first terminal. The second terminal can send the first information to the second network function, and the second network function performs the network-assisted operation.

[0168] In some embodiments, whether the second terminal meets the discovery condition can be provided to a third party for calculation. For example, the second terminal may not independently calculate whether the second terminal is in the relative position, but instead provide the first information and the second terminal's position and / or speed to a third-party device, such as a network device. The third-party device then calculates and determines whether the second terminal meets the first terminal's communication expectations, i.e., whether the second terminal is in the relative position, and provides the determination result to the second terminal.

[0169] In some embodiments, step 2108 is optional. If the second terminal can determine whether the second terminal meets the discovery conditions of the first terminal through calculation, there is no need to send the first information and the current location of the second terminal to the second network function. In other words, step 2108 may not be performed.

[0170] Step 2109: The second network function determines whether the second terminal meets the discovery condition of the first terminal.

[0171] In some embodiments, the second network function may perform a network-assisted operation based on the first information and the current location of the second terminal to determine whether the second terminal meets the discovery condition of the first terminal.

[0172] In some embodiments, step 2109 is optional. When the second terminal itself can determine whether the second terminal meets the discovery condition of the first terminal through calculation, there is no need for the second network function to determine whether the second terminal meets the discovery condition of the first terminal, that is, step 2109 can be skipped.

[0173] Step 2110: The second terminal sends feedback information to the first terminal.

[0174] In some embodiments, when it is determined that the second terminal meets the discovery condition of the first terminal, the second terminal may send feedback information to the first terminal.

[0175] In some embodiments, when the second terminal does not meet the discovery condition of the first terminal, the second terminal may also send feedback information to the first terminal.

[0176] In some embodiments, step 2110 is optional. When the second terminal does not meet the discovery condition of the first terminal, the second terminal may not send feedback information to the first terminal, that is, step 2110 may not be performed.

[0177] In some embodiments, step 2110 is optional. Regardless of whether the second terminal meets the discovery conditions of the first terminal, the second terminal may not send feedback information to the first terminal. For example, in an implementation where the first terminal expects the second terminal to execute a certain instruction (for example, the first terminal instructs a terminal located at a specific location to move 100 meters away from itself), the second terminal may directly execute the instruction (for example, if the second terminal is located at the specific location indicated by the first terminal, the second terminal may directly move 100 meters away from the first terminal according to the instruction) without sending feedback to the first terminal, thereby saving signaling overhead.

[0178] Step 2111: The second terminal sends report information to the first network function.

[0179] In some embodiments, if the second parameter matches the first parameter requested by the first terminal, the second terminal may send report information to the first network function.

[0180] In some embodiments, the report information may be a proximity service response code.

[0181] In some embodiments, after the second terminal determines whether it meets the discovery conditions of the first terminal in step 2109, the second terminal may send report information to the first network function. For example, if the second terminal meets the discovery conditions of the first terminal, the second terminal may send report information to the first network function to inform the first network function that the second terminal itself is the terminal with which the first terminal desires to communicate. For another example, if the second terminal does not meet the discovery conditions of the first terminal, the second terminal may send report information to the first network function to inform the first network function that the second terminal itself is not the terminal with which the first terminal desires to communicate.

[0182] In some embodiments, step 2111 is an optional step. When the second parameter does not match the first parameter requested by the first terminal, the second terminal may not send report information to the first network function, that is, step 2111 may not be performed.

[0183] In some embodiments, step 2111 is an optional step. Regardless of whether the second parameter matches the first parameter requested by the first terminal, or regardless of whether the second terminal meets the discovery conditions of the first terminal, the second terminal may not send report information to the first network function, thereby saving signaling overhead.

[0184] In the above embodiment, the first terminal can send the second position of at least one second terminal that the first terminal needs to discover to the second terminal by sending the first information to the second terminal, thereby facilitating the first terminal to discover the second terminal. The first terminal sends the first information through a data frame or the lower layer of the application layer, which can improve the communication efficiency of the system.

[0185] The communication method involved in the embodiments of the present disclosure may include at least one of steps 2101 to 2111. For example, step 2105 can be implemented as an independent embodiment, steps 2101+2102+2103+2104+2105 can be implemented as an independent embodiment, steps 2101+2102+2103+2104+2105+2106+2107 can be implemented as an independent embodiment, steps 2101+2102+2103+2104+2105+2106+2107+2110+2111 can be implemented as an independent embodiment, and steps 2101+2102+2103+2104+2105+2106+2108+2109+2110+2111 can be implemented as an independent embodiment, but are not limited thereto.

[0186] In some embodiments, step 2101 and step 2103 may be executed in an interchanged order or simultaneously.

[0187] In this embodiment or example, unless there is any contradiction, each step can be independent, arbitrarily combined or exchanged in order, the optional methods or optional examples can be arbitrarily combined, and can be arbitrarily combined with any steps of other embodiments or other examples.

[0188] FIG3a is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in FIG3a, the present disclosure embodiment relates to a communication method for a first terminal 101, the method comprising:

[0189] Step 3101: Send a first discovery request.

[0190] The optional implementation of step 3101 can refer to the optional implementation of step 2101 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0191] In some embodiments, the first terminal 101 may send a first discovery request to the first network function, but is not limited thereto and may also send the first discovery request to other entities.

[0192] In some embodiments, the first terminal 101 may send the first discovery request via uplink signaling.

[0193] Step 3102: Obtain the first parameter.

[0194] The optional implementation of step 3102 can refer to the optional implementation of step 2102 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0195] In some embodiments, the first terminal 101 may receive the first parameter sent by the first network function, but is not limited thereto and may also receive the first parameter sent by other entities.

[0196] In some embodiments, the first terminal 101 obtains a first parameter specified by a protocol.

[0197] In some embodiments, the first terminal 101 obtains the first parameter from an upper layer(s).

[0198] In some embodiments, the first terminal 101 performs processing to obtain the first parameter.

[0199] In some embodiments, the first terminal 101 may receive the first parameter through downlink signaling.

[0200] Step 3103: Send the first information to the second terminal.

[0201] The optional implementation of step 3103 can refer to the optional implementation of step 2105 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0202] In some embodiments, the first terminal 101 may send the first information to the second terminal 102 , but is not limited thereto and may also send the first information to other entities.

[0203] In some embodiments, the first terminal 101 may send the first information via a side link.

[0204] Step 3104: Send first information to the first network function.

[0205] The optional implementation of step 3104 can refer to the optional implementation of step 2106 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0206] In some embodiments, the first terminal 101 may send the first information to the first network function, but is not limited thereto and may also send the first information to other entities.

[0207] In some embodiments, the first terminal 101 may send the first information via uplink signaling.

[0208] Step 3105: Obtain feedback information.

[0209] The optional implementation of step 3105 can refer to the optional implementation of step 2110 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0210] In some embodiments, the first terminal 101 may receive feedback information sent by the second terminal 102, but is not limited thereto and may also receive feedback information sent by other entities.

[0211] In some embodiments, the first terminal 101 obtains feedback information specified by the protocol.

[0212] In some embodiments, the first terminal 101 obtains feedback information from upper layer(s).

[0213] In some embodiments, the first terminal 101 performs processing to obtain feedback information.

[0214] In some embodiments, the first terminal 101 may receive feedback information via a side link.

[0215] In the above embodiment, the first terminal sends the first information to the second terminal through a data frame or a lower layer of the application layer, so that the first terminal can publish the second position of at least one second terminal that needs to be discovered, which facilitates the first terminal to discover the second terminal, and sending through a data frame or a lower layer of the application layer can improve the system communication efficiency.

[0216] The communication method according to the embodiments of the present disclosure may include at least one of steps 3101 to 3105. For example, step 3103 may be implemented as an independent embodiment, steps 3101+3102+3103 may be implemented as an independent embodiment, steps 3101+3102+3103+3104 may be implemented as an independent embodiment, and steps 3101+3102+3103+3104+3105 may be implemented as an independent embodiment, but the present invention is not limited thereto.

[0217] In some embodiments, step 3104 and step 3105 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0218] In this embodiment or example, unless there is any contradiction, each step can be independent, arbitrarily combined or exchanged in order, the optional methods or optional examples can be arbitrarily combined, and can be arbitrarily combined with any steps of other embodiments or other examples.

[0219] FIG3b is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in FIG3b, the present disclosure embodiment relates to a communication method for a first terminal 101, the method comprising:

[0220] Step 3201: Send a first discovery request.

[0221] Optional implementations of step 3201 can be found in step 2101 of FIG. 2 , optional implementations of step 3101 of FIG. 3 a , and other related parts in the embodiments involved in FIG. 2 and FIG. 3 a , which will not be described in detail here.

[0222] Step 3202: Get the first parameter.

[0223] Optional implementations of step 3202 can be found in step 2102 of FIG. 2 , optional implementations of step 3102 of FIG. 3 a , and other related parts in the embodiments involved in FIG. 2 and FIG. 3 a , which will not be described in detail here.

[0224] Step 3203: Send the first information to the second terminal.

[0225] The optional implementation of step 3203 can refer to step 2105 of FIG. 2 , the optional implementation of step 3103 of FIG. 3 a , and other related parts in the embodiments involved in FIG. 2 and FIG. 3 a , which will not be described in detail here.

[0226] In the above embodiment, the first terminal sends the first information to the second terminal, so that the first terminal can publish the second position of at least one second terminal that needs to be discovered, which facilitates the first terminal to discover the second terminal, and sending it through a data frame or the lower layer of the application layer can improve the system communication efficiency.

[0227] The communication method involved in the embodiment of the present disclosure may include at least one of steps 3201 to 3203. For example, step 3203 may be implemented as an independent embodiment, but is not limited thereto.

[0228] In this embodiment or example, unless there is any contradiction, each step can be independent, arbitrarily combined or exchanged in order, and the optional methods or optional examples can be arbitrarily combined and can be arbitrarily combined with other embodiments or examples.

[0229] FIG3c is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in FIG3c, the embodiment of the present disclosure relates to a communication method for a first terminal 101, the method comprising:

[0230] Step 3301: Send first information to the second terminal.

[0231] In some embodiments, the first terminal may send first information via a first data frame or a lower layer of an application layer, where the first information is used to discover at least one second terminal, and the first information includes at least a second location of the at least one second terminal.

[0232] The optional implementation of step 3301 can be found in step 2105 of Figure 2, step 3103 of Figure 3a, the optional implementation of step 3203 of Figure 3b, and other related parts in the embodiments involved in Figures 2, 3a, and 3b, which will not be repeated here.

[0233] In the above embodiment, the first terminal sends the first information to the second terminal, which can realize the publication of the location information related to the first terminal, and can facilitate the first terminal to find the second terminal. Moreover, sending it through the data frame or the lower layer of the application layer can improve the system communication efficiency.

[0234] The communication method involved in the embodiment of the present disclosure may include step 3301, and step 3301 may be implemented as an independent embodiment.

[0235] FIG4a is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in FIG4a, the embodiment of the present disclosure relates to a communication method for a second terminal 102, the method comprising:

[0236] Step 4101: Send a second discovery request.

[0237] The optional implementation of step 4101 can refer to the optional implementation of step 2103 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0238] In some embodiments, the second terminal 102 may send the first discovery request to the first network function, but is not limited thereto and may also send the first discovery request to other entities.

[0239] In some embodiments, the second terminal 102 may send the first discovery request via uplink signaling.

[0240] Step 4102: Obtain the second parameter.

[0241] The optional implementation of step 4102 can refer to the optional implementation of step 2104 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0242] In some embodiments, the second terminal 102 may receive the second parameter sent by the first network function, but is not limited thereto and may also receive the second parameter sent by other entities.

[0243] In some embodiments, the second terminal 102 obtains a second parameter specified by the protocol.

[0244] In some embodiments, the second terminal 102 obtains the second parameter from an upper layer(s).

[0245] In some embodiments, the second terminal 102 performs processing to obtain the second parameter.

[0246] In some embodiments, the second terminal 102 may receive the second parameter through downlink signaling.

[0247] Step 4103: Obtain first information.

[0248] The optional implementation of step 4103 can be found in step 2105 of Figure 2, step 3103 of Figure 3a, step 3203 of Figure 3b, and the optional implementation of step 3301 of Figure 3c, as well as other related parts in the embodiments involved in Figures 2, 3a, 3b, and 3c, which will not be repeated here.

[0249] In some embodiments, the second terminal 102 may receive the first information sent by the first terminal, but is not limited thereto and may also receive the first information sent by other entities.

[0250] In some embodiments, the second terminal 102 obtains first information specified by a protocol.

[0251] In some embodiments, the second terminal 102 obtains the first information from an upper layer(s).

[0252] In some embodiments, the second terminal 102 performs processing to obtain the first information.

[0253] In some embodiments, the second terminal 102 may receive the first information via a side link.

[0254] Step 4104: Determine whether the second terminal meets the discovery condition of the first terminal.

[0255] The optional implementation of step 4104 can refer to the optional implementation of step 2107 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0256] Step 4105: Send the first information and the current location of the second terminal.

[0257] The optional implementation of step 4105 can refer to the optional implementation of step 2108 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0258] In some embodiments, the second terminal 102 may send the first information and the current location of the second terminal to the second network function, but is not limited thereto. The first information and the current location of the second terminal may also be sent to other entities.

[0259] In some embodiments, the second terminal 102 may send the first information and the current location of the second terminal via uplink signaling.

[0260] Step 4106: Send feedback information.

[0261] The optional implementation of step 4106 can refer to step 2110 of Figure 2, the optional implementation of step 3105 of Figure 3a, and other related parts in the embodiments involved in Figures 2 and 3a, which will not be repeated here.

[0262] In some embodiments, the second terminal 102 may send feedback information to the first terminal, but is not limited thereto and may also send feedback information to other entities.

[0263] In some embodiments, the second terminal 102 may send feedback information via a side link.

[0264] Step 4107: Send report information.

[0265] The optional implementation of step 4107 can refer to the optional implementation of step 2111 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0266] In some embodiments, the second terminal 102 may send the report information to the first network function, but is not limited thereto and may also send the report information to other entities.

[0267] In some embodiments, the second terminal 102 may send the report information via uplink signaling.

[0268] In the above embodiment, the second terminal receives the first information of the first terminal and monitors the matching of the second parameter with the first parameter. This can realize the discovery of the second terminal based on the first information released by the first terminal. The second terminal receives the first information through a data frame or the lower layer of the application layer, which can improve the communication efficiency of the system.

[0269] The communication method involved in the embodiments of the present disclosure may include at least one of steps 4101 to 4107. For example, step 4103 may be implemented as an independent embodiment, for example, steps 4101+4102+4103+4104 may be implemented as an independent embodiment, steps 4101+4102+4103+4104+4105 may be implemented as an independent embodiment, and steps 4101+4102+4103+4104+4105+4106+4107 may be implemented as an independent embodiment, but are not limited thereto.

[0270] In some embodiments, step 4105, step 4106, and step 4107 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0271] In this embodiment or example, unless there is any contradiction, each step can be independent, arbitrarily combined or exchanged in order, and the optional methods or optional examples can be arbitrarily combined and can be arbitrarily combined with other embodiments or examples.

[0272] FIG4 b is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in FIG4 b , the embodiment of the present disclosure relates to a communication method for a second terminal 102, the method comprising:

[0273] Step 4201: Send a second discovery request.

[0274] The optional implementation of step 4201 can refer to step 2103 in Figure 2, the optional implementation of step 4101 in Figure 4a and other related parts in the embodiments involved in Figures 2 and 4a, which will not be repeated here.

[0275] Step 4202: Get the second parameter.

[0276] The optional implementation of step 4202 can refer to step 2104 in Figure 2, the optional implementation of step 4102 in Figure 4a and other related parts in the embodiments involved in Figures 2 and 4a, which will not be repeated here.

[0277] Step 4203: Obtain first information.

[0278] For the optional implementation of step 4203, please refer to step 2105 of Figure 2, step 3103 of Figure 3a, step 3203 of Figure 3b, step 3301 of Figure 3c, and the optional implementation of step 4103 of Figure 4a, as well as other related parts in the embodiments involved in Figures 2, 3a, 3b, 3c, and 4a, which will not be repeated here.

[0279] Step 4204: Determine whether the second terminal meets the discovery condition of the first terminal.

[0280] The optional implementation of step 4204 can refer to step 2107 of FIG. 2 , the optional implementation of step 4104 of FIG. 4 a , and other related parts in the embodiments involved in FIG. 2 and FIG. 4 a , which will not be described in detail here.

[0281] In the above embodiment, the second terminal receives the first information of the first terminal, and it can be achieved that the second terminal obtains the location information of at least one second terminal that the first terminal needs to discover based on the first information released by the first terminal, and makes a judgment based on this, and matches with the first terminal when it meets the discovery conditions. The second terminal receives the first information through a data frame or the lower layer of the application layer, which can improve the communication efficiency of the system.

[0282] The communication method involved in the embodiment of the present disclosure may include at least one of steps 4201 to 4204. For example, step 4203 may be implemented as an independent embodiment but is not limited thereto.

[0283] In this embodiment or example, unless there is any contradiction, each step can be independent, arbitrarily combined or exchanged in order, and the optional methods or optional examples can be arbitrarily combined and can be arbitrarily combined with other embodiments or examples.

[0284] FIG4c is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in FIG4c, the embodiment of the present disclosure relates to a communication method for a second terminal 102, the method comprising:

[0285] Step 4301: Obtain first information.

[0286] In some embodiments, the second terminal may receive first information through a first data frame or a lower layer of an application layer, where the first information is used to discover at least one second terminal, and the first information includes at least a second location of the at least one second terminal.

[0287] For the optional implementation of step 4203, please refer to step 2105 of Figure 2, step 3103 of Figure 3a, step 3203 of Figure 3b, step 3301 of Figure 3c, step 4103 of Figure 4a, and the optional implementation of step 4203 of Figure 4b, as well as other related parts in the embodiments involved in Figures 2, 3a, 3b, 3c, 4a, and 4b, which will not be repeated here.

[0288] In the above embodiment, the second terminal receives the first information of the first terminal, which can realize the acquisition of the location information of at least one second terminal that the first terminal needs to discover, and determine at least one second terminal based on the location information. The second terminal receives the first information through a data frame or the lower layer of the application layer, which can improve the communication efficiency of the system.

[0289] The communication method involved in the embodiment of the present disclosure may include step 4301, and step 4301 may be implemented as an independent embodiment.

[0290] Figure 5 is a flow chart of a communication method according to an embodiment of the present disclosure. As shown in Figure 5, the embodiment of the present disclosure relates to a communication method for use in a communication system, the communication system including a first terminal and a second terminal. In some embodiments, the communication system also includes a first network function and a second network function. The method includes:

[0291] Step 5101: The first terminal sends first information to the second terminal.

[0292] For optional implementations of step 5101 , reference may be made to step 2101 in FIG. 2 , step 3101 in FIG. 3 , and other related parts of the embodiments involved in the steps of FIG. 2 and FIG. 3 .

[0293] In the above embodiment, in the communication system, the first terminal 101 publishes the location information of at least one second terminal that needs to be discovered, and the second terminal determines whether it is a second terminal that needs to be discovered based on the location information, so that the first terminal can discover the second terminal at a specific location. The first terminal sends the first information through a data frame or the lower layer of the application layer, which can improve the communication efficiency of the system.

[0294] For the optional implementation of step 5101, please refer to step 2105 of Figure 2, step 3103 of Figure 3a, step 3203 of Figure 3b, step 3301 of Figure 3c, step 4103 of Figure 4a, step 4203 of Figure 4b, and the optional implementation of step 4301 of Figure 4c, as well as other related parts in the embodiments involved in Figures 2, 3a, 3b, 3c, 4a, 4b, and 4c, which will not be repeated here.

[0295] FIG6 is a schematic diagram showing an exemplary flow of a communication method according to an embodiment of the present disclosure.

[0296] The method shown in the embodiment of the present disclosure relates to an overall process method for direct discovery of proximity services under model B, wherein the main feature of model B is that the discovered UE publishes the location information of the UE that needs to be discovered to ask other devices "who is there" or "are you there", and the discovered UE monitors the information and can compare and match the published information with its own information.

[0297] The method is as follows:

[0298] When a UE using proximity services is served by the access network E-UTRAN, this method can be applied to limited proximity services direct discovery.

[0299] Step 6101, service authorization.

[0300] The UE may implement E-UTRA-based proximity service direct discovery on each Public Land Mobile Network (PLMN) by obtaining service authorization, and the service authorization of proximity service direct discovery may be applied to proximity service direct discovery.

[0301] The following steps are performed when the UE is authorized to perform restricted direct discovery of proximity services. In this case, the UE is a discovered UE and performs the following steps:

[0302] Step 6102: Send a discovery request, which can be used to monitor / publish information.

[0303] When a UE is triggered to perform restricted ProSe direct discovery, the UE is a discovered UE. The discovered UE may send a discovery request to a ProSe function in the HPLMN. The discovery request may be used to obtain a ProSe response code.

[0304] Step 6103, monitoring information.

[0305] If the discovery request is successful in step 6102 and the proximity service function provides a proximity service response code and related discovery query filters, the discovered UE starts monitoring the proximity service query code on the PC5 interface.

[0306] Step 6104, publish information.

[0307] If the proximity service query code monitored by the discovered UE matches any of the discovery query filters, and its related location information also matches the request information of the discovered UE, the discovered UE can publish the related proximity service response code on the interface, where whether the location information matches the request can be judged by historical data or by calculation.

[0308] The following steps are performed when the UE is authorized to perform restricted direct discovery of proximity services. In this case, the UE is a discovering UE and performs the following steps:

[0309] Step 6105: Send a discovery request, which can be used to publish / monitor information.

[0310] When a UE is triggered to perform restricted proximity service direct discovery, the UE is a discovery UE. The discovery UE can send a discovery request to the proximity service function in the HPLMN. The discovery request can be used to obtain the proximity service query code. The proximity service function can interact with the proximity service application server to authorize the discovery request.

[0311] Step 6106, publish information.

[0312] If the discovery request is successful in step 6105, and the proximity service function provides a proximity service query code and a discovery response filter, which includes a proximity service response code and a proximity service application mask, and optionally, absolute position information and time information related to the location information of the discovered UE, which can be provided by the application layer or the sensor. At this time, the discovered UE can publish the location information and time information related to the location of the discovered UE in an easily decodable field in the data frame or in the lower layer of the application layer, such as the protocol data unit (PDU) of the data link layer sublayer MAC layer of PC5, where the location information can be the absolute location information of the discovered UE. In some optional embodiments, the relative position of the discovered UE relative to the discovering UE and the location of the discovered UE itself can also be published, and the discovery of the second terminal can also be achieved.

[0313] Step 6107, monitoring information.

[0314] After discovering that the UE has published information, it can monitor any proximity service response codes that may match the discovery response filter on the PC5 interface.

[0315] Step 6108, matching report.

[0316] When the discovery UE detects a match between one or more proximity service response codes, the discovery UE may report the proximity service response code and / or location information to the proximity service function.

[0317] In the above example, the discovered UE will publish the location information of the discovered UE that needs to be discovered, and may also publish the location of the discovered UE itself and the relative position of the discovered UE relative to the discovered UE. The discovered UE can compare and match based on the location, and the discovered UE can discover the discovered UE in mode B.

[0318] Figure 7a is a schematic diagram of the structure of the first terminal 101 proposed in an embodiment of the present disclosure. As shown in Figure 7a, the first terminal 101 includes: a transceiver module 7101. In some embodiments, the transceiver module is configured to transmit first information via a first data frame or a lower layer of the application layer, wherein the first information is used to discover at least one second terminal and the first information includes at least the second location of the at least one second terminal; optionally, the transceiver module is configured to execute at least one of the sending and / or receiving steps (such as, but not limited to, steps 2101, 2102, 2105, 2106, and 2110) executed by the first terminal 101 in any of the above methods, which will not be further described here.

[0319] Figure 7b is a schematic diagram of the structure of the second terminal 102 proposed in an embodiment of the present disclosure. As shown in Figure 7b, the second terminal 102 includes: a transceiver module 7201, configured to receive first information sent by the first terminal via a first data frame or a lower layer of the application layer, the first information being used to discover the second terminal and the second location of at least one second terminal; optionally, the transceiver module can be configured to execute at least one of the sending and / or receiving steps (such as, but not limited to, steps 2103, 2104, 2108, 2110, and 2111) executed by the second terminal 102 in any of the above methods, which will not be further described here.

[0320] In some embodiments, the second terminal further includes a processing module configured to determine whether the second terminal meets a discovery condition of the first terminal.

[0321] As shown in Figure 8a, the communication device 8100 includes one or more processors 8101. The processor 8101 can be a general-purpose processor or a dedicated processor, for example, a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processing unit can be used to control the communication device (such as a base station, baseband chip, terminal device, terminal device chip, DU or CU, etc.), execute programs, and process program data. The processor 8101 is used to call instructions to enable the communication device 8100 to perform any of the above methods.

[0322] In some embodiments, the communication device 8100 further includes one or more memories 8102 for storing instructions. Optionally, all or part of the memories 8102 may be located outside the communication device 8100.

[0323] In some embodiments, the communication device 8100 further includes one or more transceivers 8103. When the communication device 8100 includes one or more transceivers 8103, the communication steps such as sending and receiving in the above method are performed by the transceiver 8103, and the other steps are performed by the processor 8101.

[0324] In some embodiments, a transceiver may include a receiver and a transmitter, which may be separate or integrated. Optionally, the terms transceiver, transceiver unit, transceiver, and transceiver circuit may be used interchangeably; the terms transmitter, transmitting unit, transmitter, and transmitting circuit may be used interchangeably; and the terms receiver, receiving unit, receiver, and receiving circuit may be used interchangeably.

[0325] Optionally, the communication device 8100 further includes one or more interface circuits 8104, which are connected to the memory 8102. The interface circuits 8104 can be used to receive signals from the memory 8102 or other devices, and can be used to send signals to the memory 8102 or other devices. For example, the interface circuits 8104 can read instructions stored in the memory 8102 and send the instructions to the processor 8101.

[0326] The communication device 8100 described in the above embodiment may be a network device or a terminal, but the scope of the communication device 8100 described in the present disclosure is not limited thereto, and the structure of the communication device 8100 may not be limited by FIG. 8a. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be: 1) an independent integrated circuit IC, or a chip, or a chip system or subsystem; (2) a collection of one or more ICs, optionally, the above IC collection may also include a storage component for storing data or programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, an intelligent terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, an in-vehicle device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.

[0327] FIG8b is a schematic diagram of the structure of a chip 8200 according to an embodiment of the present disclosure. If the communication device 8100 can be a chip or a chip system, reference can be made to the schematic diagram of the structure of the chip 8200 shown in FIG8b, but the present disclosure is not limited thereto.

[0328] The chip 8200 includes one or more processors 8201, and the processor 8201 is used to call instructions so that the chip 8200 executes any of the above methods.

[0329] In some embodiments, chip 8200 further includes one or more interface circuits 8202, which are connected to memory 8203. Interface circuit 8202 can be used to receive signals from memory 8203 or other devices, and can be used to send signals to memory 8203 or other devices. For example, interface circuit 8202 can read instructions stored in memory 8203 and send the instructions to processor 8201. Optionally, the terms interface circuit, interface, transceiver pin, and transceiver are interchangeable.

[0330] In some embodiments, the chip 8200 further includes one or more memories 8203 for storing instructions. Alternatively, all or part of the memories 8203 may be outside the chip 8200.

[0331] The present disclosure also proposes a storage medium having instructions stored thereon, which, when executed on the communication device 8100, causes the communication device 8100 to execute any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but is not limited thereto, and may also be a storage medium readable by other devices. Optionally, the storage medium may be a non-transitory storage medium, but is not limited thereto, and may also be a temporary storage medium.

[0332] The present disclosure also provides a program product, which, when executed by the communication device 8100, enables the communication device 8100 to perform any of the above methods. Optionally, the program product is a computer program product.

[0333] The present disclosure also proposes a computer program, which, when executed on a computer, causes the computer to perform any one of the above methods.

[0334] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0335] The correspondences shown in the tables of the present disclosure can be configured or predefined. The values ​​of the information in each table are merely examples and can be configured to other values, which are not limited by the present disclosure. When configuring the correspondences between information and parameters, it is not necessarily required to configure all the correspondences shown in each table. For example, in the tables of the present disclosure, the correspondences shown in certain rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above tables, such as splitting, merging, etc. The names of the parameters shown in the titles of the above tables may also adopt other names that can be understood by the communication device, and the values ​​or representations of the parameters may also adopt other values ​​or representations that can be understood by the communication device. When implementing the above tables, other data structures may also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables, etc.

[0336] The predefined in the present disclosure may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.

[0337] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0338] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0339] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A communication method, characterized in that: The method is performed by a first terminal, and includes: First information is sent through a first data frame or a lower layer of an application layer, where the first information is used to discover at least one second terminal, and the first information at least includes a second position of the at least one second terminal.

2. The method according to claim 1, characterized in that The first information includes at least one of the following: a first position of the first terminal; a first time when the first terminal is at the first position; A first speed of the first terminal at the first time.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Sending a first discovery request to the first network function; A first parameter sent by the first network function is received, where the first parameter is used to discover the at least one second terminal.

4. The method according to claim 3, characterized in that The first parameter includes at least one of the following: The first proximity service response code; The first proximity service query code; A first indication, where the first indication is used to indicate whether the first terminal sends the first information.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Receive feedback information sent by all or part of the at least one second terminal.

6. The method according to any one of claims 1 to 5, characterized in that The lower layer of the application layer includes at least one of a physical layer, a data link layer, a network layer, a transport layer, a session layer, and a presentation layer.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: The first information is sent to a first network function.

8. The method according to any one of claims 1 to 7, characterized in that The data segment carrying the first information in the first data frame has a first decoding priority.

9. A communication method, characterized in that: The method is performed by a second terminal, and the method includes: First information sent by a first terminal is received through a first data frame or a lower layer of an application layer, where the first information is used to discover the second terminal, and the first information at least includes a second position of the second terminal.

10. The method according to claim 9, characterized in that The first information also includes at least one of the following: a first position of the first terminal; a first time when the first terminal is at the first position; A first speed of the first terminal at the first time.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: sending a second discovery request to the first network function; A second parameter sent by the first network function is received, where the second parameter is used to discover the second terminal.

12. The method according to claim 11, characterized in that The first parameter includes at least one of the following: Second proximity service response code; Second proximity service query code.

13. The method according to any one of claims 9 to 12, characterized in that The method further comprises: Based on the first information and the current location of the second terminal, it is determined whether the second terminal meets the discovery condition of the first terminal.

14. The method according to any one of claims 9 to 12, characterized in that The method further comprises: The first information and the current location of the second terminal are sent to a second network function, so that the second network function determines whether the second terminal meets the discovery condition of the first terminal.

15. The method according to claim 13 or 14, characterized in that The discovery condition includes at least one of the following: The second terminal is within a first range from the first terminal; The second terminal is in a relative position relative to the first terminal.

16. The method according to any one of claims 9 to 15, characterized in that The method further comprises: Send feedback information to the first terminal.

17. The method according to claim 12, characterized in that The method further comprises: In a case where the second parameter matches the first parameter requested by the first terminal, report information is sent to the first network function.

18. The method according to any one of claims 9 to 17, characterized in that The lower layer of the application layer includes at least one of a physical layer, a data link layer, a network layer, a transport layer, a session layer, and a presentation layer.

19. The method according to any one of claims 9 to 18, characterized in that The data segment carrying the first information in the first data frame has a first decoding priority.

20. A first terminal, characterized in that: Includes transceiver modules for: First information is sent through a first data frame or a lower layer of an application layer, where the first information is used to discover at least one second terminal, and the first information at least includes a second position of the at least one second terminal.

21. A second terminal, characterized in that: Includes transceiver modules for: First information sent by a first terminal is received through a first data frame or a lower layer of an application layer, where the first information is used to discover the second terminal, and the first information at least includes a second position of the second terminal.

22. A communication device, wherein: include: Transceiver; Memory; A processor is connected to the transceiver and the memory, respectively, and is configured to control the wireless signal reception and transmission of the transceiver by executing computer executable instructions on the memory, and can implement any one of the methods of claims 1-19.

23. A computer storage medium, wherein: The computer storage medium stores computer executable instructions; after the computer executable instructions are executed by the processor, the method described in any one of claims 1 to 19 can be implemented.

24. A communication system, characterized in that: include: A first terminal and at least one second terminal, wherein the first terminal is used to perform the method according to any one of claims 1 to 8; The at least one second terminal is configured to execute the method according to any one of claims 9 to 19.