Communication method and device, communication system, communication device and storage medium
Patent Information
- Application Number
- CN202380094695.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2025-10-03
AI Technical Summary
During the process of adjacent direct communication, the prior art is difficult to effectively transmit and apply location-related information, limiting its application scope.
A first message containing position-related information is sent to the second terminal through the first terminal for determining the relative position of the second terminal, thereby realizing the transmission of position information in the adjacent direct communication.
It realizes the transmission of location-related information during adjacent direct communication, expands its application scope, and enhances the functionality of the communication system.
Smart Images

Figure CN120752939A_ABST
Abstract
Description
A communication method, a communication system, a communication device, and a storage medium Technical Field The present disclosure relates to the field of communication technology, and in particular to a communication method and device, a communication system, a communication device, and a storage medium. Background Art Proximity-based Services (ProSe) is a short-range communication technology based on the 3GPP communication system. It defines device-to-device connection or direct communication between nearby mobile devices, supports one-to-one communication and one-to-many communication, and can be applied in different types of V2X applications. Summary of the invention The embodiments of the present disclosure propose a communication method and device, a communication system, a communication device, and a storage medium, which can be used in the field of communication technology to solve the technical problem of transmitting location-related information during proximity direct communication and expanding the application scope of location-related information. According to the first aspect of an embodiment of the present disclosure, a communication method is proposed, which is executed by a first terminal, including: sending a first message to a second terminal, the first message including first information, the first information being used to determine the relative position of the second terminal relative to the first terminal, and the first message being used for proximity direct communication between the first terminal and the second terminal. According to the second aspect of an embodiment of the present disclosure, a communication method is proposed, which is executed by a second terminal, including: receiving a first message sent by a first terminal, the first message including first information, the first information being used to determine the relative position of the second terminal relative to the first terminal, and the first message being used for proximity direct communication between the first terminal and the second terminal. According to the third aspect of an embodiment of the present disclosure, a first terminal is proposed, comprising a transceiver module, for sending a first message to a second terminal, the first message comprising first information, the first information being used to determine a relative position of the second terminal relative to the first terminal, the first message being used for proximity direct communication between the first terminal and the second terminal. According to the fourth aspect of an embodiment of the present disclosure, a second terminal is proposed, comprising a transceiver module for receiving a first message sent by a first terminal, the first message comprising first information, the first information being used to determine a relative position of the second terminal relative to the first terminal, the first message being used for proximity direct communication between the first terminal and the second terminal. According to the fifth aspect of the embodiment of the present disclosure, a communication device is proposed, including a transceiver; a memory; and a processor, which are respectively connected to the transceiver and the memory, and are configured to control the wireless signal reception and transmission of the transceiver by executing computer-executable instructions on the memory, and can implement the communication method of any one of the first and second aspects. According to the sixth aspect of the embodiments of the present disclosure, a computer storage medium is proposed, wherein the computer storage medium stores computer executable instructions; after the computer executable instructions are executed by the processor, the communication method of any one of the first aspect and the second aspect can be implemented. According to the seventh aspect of an embodiment of the present disclosure, a communication system is proposed, characterized in that it includes a first terminal and at least one second terminal, wherein the first terminal is configured to implement the communication method of the first aspect, and the at least one second terminal is configured to implement the communication method of the second aspect. According to the communication method proposed in the present disclosure, a first terminal sends a first message to a second terminal, the first message includes first information, the first information is used to determine the relative position of the second terminal relative to the first terminal, and the first message is used for proximity direct communication between the first terminal and the second terminal. Thus, location-related information is transmitted during proximity direct communication, expanding the application scope of location-related information. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for describing the embodiments are introduced below. The following drawings are only some embodiments of the present disclosure and do not impose specific limitations on the protection scope of the present disclosure. FIG1A is a schematic diagram of a V2X application according to an embodiment of the present disclosure. FIG1B is a schematic diagram of the architecture of a communication system provided according to an embodiment of the present disclosure. FIG. 2 is an interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure. FIG3A is a flow chart of a communication method of a first terminal provided according to an embodiment of the present disclosure. FIG3B is a flow chart of a communication method of a first terminal provided according to an embodiment of the present disclosure. FIG4A is a flow chart of a communication method of a second terminal provided according to an embodiment of the present disclosure. Fig. 4B is a flow chart of a communication method of a second terminal according to an embodiment of the present disclosure. Fig. 5 is an interaction chart of a communication method according to an embodiment of the present disclosure. FIG6A is a schematic diagram of a communication method provided according to an embodiment of the present disclosure. FIG6B is a schematic diagram of a communication method provided according to an embodiment of the present disclosure. FIG. 7A is a schematic diagram of the structure of a first terminal provided according to an embodiment of the present disclosure. FIG7B is a schematic diagram of the structure of a second terminal provided according to an embodiment of the present disclosure. FIG8A is a schematic diagram of the structure of a communication device provided according to an embodiment of the present disclosure. FIG8B is a schematic diagram of the structure of a chip proposed in an embodiment of the present disclosure. DETAILED DESCRIPTION The embodiments of the present disclosure provide a communication method and device, a communication system, a communication device, and a storage medium. In a first aspect, an embodiment of the present disclosure provides a communication method, which is executed by a first terminal, and includes sending a first message to a second terminal, the first message including first information, the first information being used to determine a relative position of the second terminal relative to the first terminal, and the first message being used for proximity direct communication between the first terminal and the second terminal. In the above embodiment, the first terminal sends a first message to the second terminal, and the first message is used to determine the relative position of the second terminal relative to the first terminal, thereby determining the proximity direct communication with the specific second terminal, which can realize the transmission of location-related information during the proximity direct communication process and expand the application scope of location-related information. In combination with some embodiments of the first aspect, in some embodiments, the first information 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 relative position; the first speed of the first terminal at the first time. In the above embodiment, the first information relates to location-related information, which is used to determine the second terminal with which the first terminal desires to communicate. In combination with some embodiments of the first aspect, in some embodiments, the first position is determined by a global positioning system, and / or the relative position is determined by a sensor. In the above embodiment, the accurate geographical location, speed information and precise time information can be obtained through the global positioning system, and the sensor can obtain vector information of the relative position. In combination with some embodiments of the first aspect, in some embodiments, the first terminal and the second terminal belong to a first communication group. In combination with some embodiments of the first aspect, in some embodiments, the first terminal and / or the second terminal is configured with a first parameter, and the first parameter is used to identify the first communication group. In combination with some embodiments of the first aspect, in some embodiments, the first parameter includes at least one of the following: an identifier of the first communication group; a multicast address of the first communication group; a unicast address of the second terminal. In the above embodiment, the communication group may have a unified multicast address, and each second terminal may also have a unicast address, so as to determine the second terminal with which the first terminal desires to communicate within the communication group. In combination with some embodiments of the first aspect, in some embodiments, before sending the first message to the second terminal, the method includes: determining wireless resources, where the wireless resources are used for proximity direct communication between the first terminal and the second terminal. In combination with some embodiments of the first aspect, in some embodiments, the above method also includes receiving feedback information sent by the second terminal. In the above embodiment, the second terminal may send or not send feedback information to the first terminal based on the implementation. For example, in an implementation where the first terminal expects the second terminal to execute a certain instruction, the second terminal may directly execute the instruction without sending feedback to the first terminal, thereby saving signaling overhead. In combination with some embodiments of the first aspect, in some embodiments, the first message is carried by a lower layer of the application layer, and 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. In the above embodiment, the first terminal can send the first message through any layer of the physical layer, data link layer, network layer, transport layer, session layer, and presentation layer, so that the processing of the first message does not need to reach the highest application layer, thereby improving communication efficiency and saving communication resources. In a second aspect, an embodiment of the present disclosure provides a communication method, which is executed by a second terminal, and includes: receiving a first message sent by a first terminal, the first message including first information, the first information being used to determine a relative position of the second terminal relative to the first terminal, and the first message being used for proximity direct communication between the first terminal and the second terminal. In combination with some embodiments of the second aspect, in some embodiments, the first information 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 relative position; the first speed of the first terminal at the first time. In the above embodiment, the first information relates to location-related information, which is used to determine the second terminal with which the first terminal desires to communicate. In combination with some embodiments of the second aspect, in some embodiments, based on the first information and the second position of the second terminal when the first information is received, the third position of the second terminal at the first time is determined; and it is determined whether the third position conforms to the relative position. In the above embodiment, the third position of the second terminal at the first time is determined to determine whether the position of the second terminal at the first time is at the relative position of the first terminal. In combination with some embodiments of the second aspect, in some embodiments, the above method also includes: when the third position meets the relative position, establishing a communication connection with the first terminal, or executing the first operation indicated by the first terminal. In combination with some embodiments of the second aspect, in some embodiments, the first terminal and the second terminal belong to a first communication group. In combination with some embodiments of the second aspect, in some embodiments, the first terminal and / or the second terminal is configured with a first parameter, and the first parameter is used to identify the first communication group. In combination with some embodiments of the second aspect, in some embodiments, the first parameter includes at least one of the following: an identifier of the first communication group; a multicast address of the first communication group; a unicast address of the second terminal. In combination with some embodiments of the second aspect, in some embodiments, the above method also includes sending feedback information to the first terminal. In combination with some embodiments of the second aspect, in some embodiments, the first message is carried by a lower layer of the application layer, and 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. In a third aspect, an embodiment of the present disclosure provides a first terminal, comprising: a transceiver module, used to send a first message to a second terminal, the first message comprising first information, the first information being used to determine a relative position of the second terminal relative to the first terminal, and the first message being used for proximity direct communication between the first terminal and the second terminal. In a fourth aspect, an embodiment of the present disclosure provides a second terminal, comprising: a transceiver module, used to receive a first message sent by a first terminal, the first message comprising first information, the first information being used to determine a relative position of the second terminal relative to the first terminal, and the first message being used for proximity direct communication between the first terminal and the second terminal. In the fifth aspect, an embodiment of the present disclosure provides a communication device, comprising: a transceiver; a memory; 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 can implement the method described in any one of the embodiments of the first and second aspects of the present disclosure. In a sixth aspect, an embodiment of the present disclosure provides a storage medium, wherein the computer storage medium stores computer executable instructions; after the computer executable instructions are executed by a processor, the method described in any one of the embodiments of the first aspect and the second aspect of the present disclosure can be implemented. In the seventh aspect, an embodiment of the present disclosure provides a communication system, comprising: a first terminal and a second terminal, wherein the first terminal is used to execute the method described in any one of the embodiments of the first aspect of the present disclosure; and the second terminal is used to execute the method described in any one of the embodiments of the second aspect of the present disclosure. In an eighth aspect, an embodiment of the present disclosure proposes a program product. When the program product is executed by a communication device, the communication device executes the method described in the optional implementation of the first and second aspects. In a ninth aspect, an embodiment of the present disclosure proposes a computer program, which, when executed on a computer, enables the computer to execute the method described in the optional implementation of the first and second aspects. In a tenth aspect, an embodiment of the present disclosure provides a chip or a chip system. The chip or chip system includes a processing circuit configured to execute the method described in the optional implementation of the first and second aspects above. It is understandable that the first terminal, the second terminal, the communication system, the storage medium, the program product, the computer program, the chip or the chip system 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, which will not be repeated here. The embodiments of the present disclosure provide a communication method and device, a communication system, a communication device, and a storage medium. In some embodiments, the terms such as communication method and information processing method can be replaced with each other, the terms such as first terminal and information processing device and communication device can be replaced with each other, and the terms such as information processing system and communication system can be replaced with each other. The embodiments of the present disclosure are not exhaustive, but 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 an embodiment can be implemented as an independent embodiment, and the steps can be combined arbitrarily. For example, a solution after removing some steps in an embodiment can also be implemented as an independent embodiment, and the order of the steps in an embodiment can be changed. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined, for example, part or all of the steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments. In each embodiment of the present disclosure, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form a new embodiment based on their internal logical relationships. 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. In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular form, such as "a", "an", "the", "above", "aforementioned", "this", 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 after the article may be understood as a singular expression or a plural expression. In the embodiments of the present disclosure, “plurality” refers to two or more. 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. may be used interchangeably. 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 the situation where any multiple of A, B, C… exist in any combination, 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. In some embodiments, the description methods such as "in one case A, in another case B", "in response to one case A, in response to another case B", etc. may include the following technical solutions according to the situation: A is executed independently of B, that is, in some embodiments A; B is executed independently of A, that is, in some embodiments B; A and B are selectively executed, that is, selected from A and B in some embodiments; A and B are both executed, that is, A and B in some embodiments. When there are more branches such as A, B, C, etc., it is similar to the above. 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 restrictions on the position, order, priority, quantity or content of the description objects. The statement of the description object refers to the description in the context of the claims or embodiments, and should not constitute unnecessary restrictions 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", and the "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 the "first device" as an example, the number of "devices" can be one or more. In addition, the objects modified by different prefixes may be the same or different. For example, if the description object is "device", then the "first device" and the "second device" may be the same device or different devices, and their types may be the same or different. For another example, if the description object is "information", then the "first information" and the "second information" may be the same information or different information, and their contents may be the same or different. 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. In some embodiments, terms such as "time / frequency", "time / frequency domain", etc. refer to the time domain and / or the frequency domain. 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. 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 lower 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", "no more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other. 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. In some embodiments, "network" may be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.). In some embodiments, “access network device (AN device)”, “radio access network device (RAN device)”, “base station (BS)”, “radio base station”, “fixed station”, The terms "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", and "bandwidth part (BWP)" are used interchangeably. 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 and the like may be used interchangeably. In some embodiments, acquisition of data, information, etc. may comply with the laws and regulations of the country where the data is obtained. In some embodiments, data, information, etc. may be obtained with the user's consent. Proximity services define device-to-device (D2D) connections or direct communications between nearby mobile devices, with user equipment sending and receiving in the uplink spectrum. 3GPP handles the transmission of messages to support different types of V2X applications through ProSe communications. In addition to V2X, ProSe direct communications can also be used by various applications. One-to-many ProSe direct communications have the following characteristics: 1. One-to-many ProSe direct communication is connectionless, so there is no signal on the PC5 control plane. 2. The wireless layer provides user plane communication services to transmit IP data packets between users in direct communication. 3. Members of a group can share a security key to encrypt all user data of the group. 4. The ProSe function uses the PC3 reference point to configure the authorization for one-to-many ProSe direct communication for the UE. 5. ProSe configuration parameters (such as ProSe group IP multicast address, ProSe group ID, group security key, and wireless related parameters) are configured in the UE. In the related art, the information in one-to-many ProSe direct communication does not contain location information, so the application field is limited, and its information processing at the application layer will also lead to low communication efficiency. Therefore, the present disclosure proposes a communication method and device, a communication system, a communication device, and a storage medium, which improve the ProSe direct communication method by utilizing location information in the network, enhance the existing one-to-many ProSe direct communication by providing the location of the source UE, time information related to the location information of the source UE, and the two-dimensional or three-dimensional relative position of the desired communication, and achieve the purpose of transmitting location-related information during neighboring direct communication and expanding the application scope of location-related information. The method proposed in the present disclosure is applicable to various communication systems, including but not limited to 4G, 5G, 5G-advance and subsequent communication technologies (such as 6G, etc.). Before introducing the specific implementation of the present disclosure, V2X applications are first introduced. Vehicle-to-Everything (V2X) includes the following four different types: vehicle-to-vehicle (V2V); vehicle-to-infrastructure (V2I); vehicle-to-network (V2N); and vehicle-to-pedestrian (V2P), as shown in FIG1A . For example, all four types of V2X applications can use "collaborative sensing" to provide smarter services to end users. This means that entities such as vehicles, roadside infrastructure, application servers, and pedestrians can collect knowledge of their local environment (e.g., information received from other nearby vehicles or sensor devices) to process and share that knowledge in order to provide smarter services, such as collaborative collision warnings or autonomous driving. The solution proposed in the present disclosure can be applicable to V2X applications. FIG1B is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure. As shown in FIG1B , a communication system 100 may include a first terminal 101 and a second terminal 102 . In some embodiments, the first terminal 101 may be a terminal that initiates communication, such as a source user equipment, as opposed to a target user equipment. In some embodiments, the first terminal 101 may be a sending device of the first message. In some embodiments, the first terminal 101 may be a device for determining wireless resources. In some embodiments, the name of the first terminal 101 is not limited, and it may be, for example, "initiating UE" or "source UE". In some embodiments, the second terminal 102 may be a terminal receiving communication, such as a target user equipment, which is opposite to a source user equipment. In some embodiments, the second terminal 102 may be a receiving device of the first message. In some embodiments, the name of the second terminal 102 is not limited, and it may be, for example, "receiving device of the first message", "target UE", or "receiving UE". In some embodiments, the terminal may include a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer (Pad), 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 to these. 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. A person of ordinary skill in the art 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. The following embodiments of the present disclosure may be applied to the communication system 100 shown in FIG. 1B or part of the subject, but are not limited thereto. The subjects shown in FIG. 1B are examples, and the communication system may include all or part of the subjects in FIG. 1B, or may include other subjects other than FIG. 1B, and the number and form of the subjects are arbitrary. The connection relationship between the subjects is an example, and the subjects may be connected or disconnected, and the connection may be in any manner, which may be a direct connection or an indirect connection, and may be a wired connection or a wireless connection. Embodiments of the present disclosure may 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) network, Device-to-Device (D2D) system, Machine-to-Machine (M2M) system, Internet of Things (IoT) system, Vehicle-to-Everything (V2X), systems using other user plane path establishment methods, next-generation systems based on them, etc. In addition, multiple systems can also be combined (for example, a combination of LTE or LTE-A and 5G, etc.) for application. FIG2 is an interactive schematic diagram of a communication method provided by an embodiment of the present disclosure. As shown in FIG2, an embodiment of the present disclosure relates to a communication method, which can be executed by a communication system, for example, by the communication system 100 shown in FIG1B. The communication system includes a first terminal and a second terminal. The interactive method may include the following steps: Step 2101: The first terminal determines wireless resources. In some embodiments, a wireless resource is determined to be used for proximity direct communication between a first terminal and a second terminal. In some embodiments, the wireless resource may be a time domain or frequency domain resource used to transmit information. For example, the wireless resource may be a carrier frequency. In some embodiments, the first terminal may determine a radio resource for transmitting information through a layer below the application layer. In some embodiments, the name of the wireless resource is not limited, and it can be "wireless resource", "wireless resource used for communication", etc. In some embodiments, the method of using wireless resources for proximity direct communication may be: 1. When the UE has an aggregated cell and camps on that cell and the UE intends to use the radio resources operated by that cell for transmission, the UE shall use the radio resources indicated by the cell in which the UE camps and ignore the same radio resources provided in the ME or UICC. If the cell does not provide radio resources, the UE shall not perform ProSe transmission and reception on the radio resources operated by that cell. 2. If the UE intends to use radio resources (i.e. carrier frequencies) to transmit ProSe that is not operated by the UE's serving unit, or the UE is no longer within the coverage area, the UE shall search for a serving unit operating TS 36.300 in any public radio network.
[0017] and a unit for providing radio resources (i.e. carrier frequencies) as defined in TS 36.304
[0032] , and: (1) If the UE discovers such a cell in the registered PLMN or a PLMN equivalent to the registered PLMN and confirms the authorization for ProSe direct communication to the PLMN, the UE shall use the radio resources indicated by the cell for transmission. If the cell does not provide radio resources for ProSe, the UE shall not perform ProSe transmission and reception on these radio resources. (2) If the UE finds such a cell but is not in the registered PLMN or a PLMN equivalent to the registered PLMN, and the cell belongs to a PLMN authorized for ProSe Direct Communication and provides radio resources for ProSe, the UE shall perform PLMN selection triggered by ProSe Direct Communication as defined in TS 23.122
[0031] . (3) If the UE discovers such a cell but is not in a PLMN authorized for ProSe direct communication, the terminal device shall not use ProSe. (4) If the UE does not find any such cell in any PLMN, the UE shall use the radio resources provided by the ME or UICC. If no such provision exists in the ME or UICC, or the provision does not authorize ProSe direct communication, the UE has no right to transmit. Step 2102: The first terminal sends a first message to the second terminal. In some embodiments, the first message includes first information for determining a relative position of the second terminal relative to the first terminal. In other words, the second terminal may be one or more terminals at a specific relative position with which the first terminal desires to communicate. In some embodiments, the first message is used for proximity direct communication between the first terminal and the second terminal, wherein the proximity direct communication may be one-to-many ProSe direct communication. In some embodiments, the relative position may be the position of a second terminal with which the first terminal desires to communicate relative to the first terminal. In some embodiments, 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 relative position; a first speed of the first terminal at the first time. In some embodiments, the first location may be determined by a global positioning system or by other means, which is not limited by the present disclosure. In some embodiments, the relative position may be determined by a sensor or by other means, which is not limited by the present disclosure. In some embodiments, the first position and the relative position may be position coordinates, including latitude and longitude, or may be other parameters representing a position, which is not limited in the present disclosure. In some embodiments, the first position of the first terminal may be an absolute position or a relative position, which is not limited in the present disclosure. In some embodiments, the first location of the first terminal is provided to the second terminal so that the second terminal can determine whether the second terminal is a terminal with which the first terminal desires to communicate. In some embodiments, the first position may be instantaneous, that is, the first time when the first terminal is at the first position may be determined together with the first position, or may be determined by other means, which is not limited in the present disclosure. The first position and the first time have a corresponding relationship. In some embodiments, the first position can be used to assist the second terminal in calculating the speed of the first terminal, so as to facilitate the subsequent determination of whether it is in the relative position of the first terminal at present or in the future. For example, the first terminal provides the first position and the first time to the second terminal. There may be a certain deviation between the time when the second terminal receives the information and the time when the first terminal sends the information. The second terminal can determine whether it is in the relative position based on the current time and the current position, or the second terminal can also calculate the speed of the first terminal without predicting whether it is in the relative position at a certain time in the future. In some embodiments, the first speed of the first terminal at the first time may be vector information, illustratively including the value and direction of the first speed. In some embodiments, the first speed is to help the second terminal accurately evaluate the position of the first terminal, so as to facilitate subsequent determination of whether the second terminal is at a relative position to the first terminal, that is, to facilitate the second terminal to determine whether it is the terminal that the first terminal expects to communicate with. In some embodiments, the first terminal is configured with a first parameter, and the first parameter is used to identify a first communication group. The first communication group includes the first terminal and at least one third terminal, the second terminal is one of the at least one third terminal, and the first communication group supports proximity based services. In some embodiments, the first parameter is an address of a second terminal for determining the first terminal to communicate with. In some embodiments, the name of the first parameter is not limited, and it may be “group parameter (group info)”, “neighborhood group parameter (ProSe group info, or ProSe group context)”, etc. In some embodiments, the first parameter includes at least one of the following: an identifier of the first communication group (eg, ProSe Layer-2 Group ID); a multicast address of the first communication group (eg, ProSe Group IP multicast address); a unicast address of the second terminal (eg, ProSe Group IP unicast address). In some embodiments, before the first terminal determines the wireless resource, the first terminal may determine the first parameter. The first parameter may be configured for the first terminal by a network device (eg, a network function in a core network or an access network device). For example, the UE may be configured with one-to-many ProSe direct communication related information. The UE may obtain the group information required to receive IP layer data transmission (e.g., ProSe Layer-2 Group ID, ProSe Group IP multicast address, ProSe Group IP unicast address), and radio resource related parameters for direct communication. In some embodiments, the first terminal sending the first message to the second terminal also includes unicasting the first message to the second terminal. In other words, if the first terminal expects to communicate with a terminal at a specific relative position, the first terminal may send the first message to the terminal at the position, and the first terminal may not send the first message to terminals at other positions. In some embodiments, the first terminal may use the determined wireless resources to unicast the first message to the second terminal, or may use other methods to unicast the first message, which is not limited in the present disclosure. In some embodiments, the first terminal may send the first message in different ways, which is not limited in the present disclosure. In some embodiments, the carrier of the first message is not restricted. For example, the first message can be carried in a protocol data unit (PDU). For example, when the first terminal sends the first message through the physical layer, the first message can be carried in the PDU data bit of the physical layer; for another example, when the first terminal sends the first message through the data link layer, the first message can be carried in the PDU data frame of the data link layer; for another example, when the first terminal sends the first message through the network layer, the first message can be carried in the PDU data packet of the network layer; when the first terminal sends the first message through the transport layer, the first message can be carried in the PDU data segment of the transport layer. In some embodiments, the first message may be carried in an easily decodable field in the PDU, so that the receiving end may preferentially demodulate the first message when receiving and demodulating IP data, thereby improving communication efficiency and saving communication resources. Step 2103: The second terminal determines a third location. In some embodiments, the second terminal determines a third location of the second terminal at the first time based on the first information and the second location of the second terminal when the first information is received. In some embodiments, the second location of the second terminal when receiving the first information may be acquired through a global positioning system or through other means. In some embodiments, the second position may be absolute information or a relative position, which is not limited in the present disclosure. The second position may be the current position of the second device when it receives the first information. In some embodiments, 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 relative position; a first speed of the first terminal at the first time. In some embodiments, the third position is the position of the second terminal at the first time. In other words, the third position is the position of the second terminal when the first terminal is at the first position. In some embodiments, the third position may be an absolute position or a relative position, which is not limited in the present disclosure. The third position may be a position coordinate, including latitude and longitude, or other parameters representing a position, which is not limited in the present disclosure. In some embodiments, the third position is for subsequently determining whether the second terminal is at a relative position to the first terminal. Step 2104: The second terminal determines whether the third position conforms to the relative position. In some embodiments, the second terminal determines whether it meets the relative position by determining whether the third position is consistent with the relative position in the first information. In other words, since there may be a time difference between the time when the second terminal receives the first information and the time when the first terminal sends the first information, the second terminal can determine the position of the second terminal (i.e., the third position) at the first time corresponding to the position information of the first terminal based on the position-related information about the first terminal in the first information and the current position (i.e., the second position) of the second terminal when the second terminal receives the first information, thereby determining whether the second terminal is in the position where the first terminal expects to communicate at the first time, that is, determining whether the second terminal is the terminal that the first terminal expects to communicate. For example, if the third position of the second terminal is consistent with the relative position where the first terminal expects to communicate, the second terminal can determine that it is the terminal that the first terminal expects to communicate. In some embodiments, whether the second terminal meets the relative position can be obtained through historical data or provided to a third party for calculation. For example, if the second terminal has previously calculated that the movement directions of the first terminal and the second terminal are opposite, and the second terminal is not in the relative position at the first moment, then the second terminal is bound to be not in the relative position at the second moment after the first moment, and the second terminal does not need to calculate again whether the second moment is For example, the second terminal may not calculate by itself to determine whether the second terminal is in a relative position, but provide the first information and the position and / or speed of the second terminal to a third-party device, such as a network device, and the third-party device calculates to determine whether the second terminal meets the communication expectation of the first terminal, that is, whether the second terminal is in a relative position, and provides the judgment result to the second terminal. Step 2105: The second terminal establishes a communication connection with the first terminal or performs a first operation instructed by the first terminal. In some embodiments, when the third position of the second terminal meets the relative position, a communication connection can be established with the first terminal. For example, in a vehicle-to-vehicle (V2V) application, when the vehicle of the first terminal wants the vehicle within 10 meters behind its right to inform itself of its speed and whether it has changed lanes, the second terminal vehicle within 10 meters behind the right of the first terminal vehicle needs to establish a communication connection with the first terminal and inform the first terminal vehicle of its current speed and whether it has changed lanes. In some embodiments, when the third position of the second terminal meets the relative position, the first operation indicated by the first terminal can be performed. For example, in a vehicle-to-pedestrian (V2P) application, when the vehicle of the first terminal wants pedestrians within 5 square meters of its right turn corner to retreat 3 meters, the pedestrians of the second terminal within 5 square meters of the right turn corner of the first terminal vehicle need to retreat 3 meters without establishing a communication connection with the first terminal vehicle. In some embodiments, when the third position of the second terminal does not conform to the relative position, no operation is required. Step 2106: The second terminal sends feedback information to the first terminal. In some embodiments, the second terminal sending the feedback information is a terminal that is located at a relative position to the first terminal. In some embodiments, the form in which the second terminal sends the feedback information is not limited. In some embodiments, step 2106 is optional and may be omitted or replaced in different embodiments. The communication method involved in the embodiment of the present disclosure may include at least one of steps 2101 to 2106. For example, step 2101 may be implemented as an independent embodiment, step 2102 may be implemented as an independent embodiment, and so on, but is not limited thereto. Step 2101+2102, step 2103+2104, step 2104+2105, step 2104+2105+2106, step 2103+2104+2105, step 2102+2103+2104, step 2102+2103+2104+2105, step 2102+2103+2104+2105+2106, step 2101+2102+2103+2104+2105, step 2101+2102+2103+2104+2105+2106 can be implemented as independent embodiments, but are not limited to this. In some embodiments, step 2101 and step 2106 are optional, and one or more of these steps may be omitted or replaced in different embodiments. In this implementation mode 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 implementation modes or other examples. FIG3A is a flow chart of a communication method of a first terminal according to an embodiment of the present disclosure. The present disclosure embodiment relates to a communication method, and the method includes: Step 3101, determine wireless resources. 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. Step 3102: Send a first message to the second terminal. 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. Step 3103, receiving feedback information. 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. The communication method involved in the embodiment of the present disclosure may include at least one of step 3101 to step 3103. For example, step 3101 may be implemented as an independent embodiment, step 3102 may be implemented as an independent embodiment, and so on, but is not limited thereto. In some embodiments, step 3101 and step 3103 are optional and may be omitted or replaced in different embodiments. FIG3B is a flow chart of a communication method of a first terminal according to an embodiment of the present disclosure. The present disclosure embodiment relates to a communication method, and the method includes: Step 3201, sending the first message. The optional implementation of step 3201 can refer to the optional implementation of step 2101, step 2102 in Figure 2, step 3101, step 3102, step 3103 in Figure 3A, and other related parts in the embodiments involved in Figures 2 and 3A, which will not be repeated here. In an embodiment of the present disclosure, step 3201 may be combined with step 3101 of FIG. 3A . FIG4A is a flow chart of a communication method of a second terminal according to an embodiment of the present disclosure. The present disclosure embodiment relates to a communication method, and the method includes: Step 4101, receiving a first message. The optional implementation of step 4101 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. Step 4102, determine the third position at the first time. The optional implementation of step 4102 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. Step 4103, determine whether the third position conforms to the relative position. The optional implementation of step 4103 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. Step 4104: establish a communication connection with the first terminal or execute a first operation instructed by the first terminal. The optional implementation of step 4104 can refer to step 2105 of FIG. 2 and other related parts in the embodiment involved in FIG. 2 , which will not be described in detail here. Step 4105: Send feedback information to the first terminal. The optional implementation of step 4105 can refer to the optional implementation of step 2106 in Figure 2, step 3103 in Figure 3A, and other related parts in the embodiments involved in Figures 2 and 3A, which will not be repeated here. The communication method involved in the embodiments of the present disclosure may include at least one of steps 4101 to 4105. For example, step 4101 may be tried as an independent embodiment, step 4102 may be implemented as an independent embodiment, and so on, but not limited thereto. Steps 4101+4102, steps 4102+4103+4104, steps 4101+4102+4103+4104, and steps 4101+4102+4103+4104+4105 may be implemented as independent embodiments, but not limited thereto. In some embodiments, step 4105 is optional and may be omitted or replaced in different embodiments. Figure 4B is a flow chart of a communication method of a second terminal according to an embodiment of the present disclosure. The present disclosure embodiment relates to a communication method, and the method includes: Step 4201, receiving the first message. For optional implementations of step 4201, reference may be made to steps 2102, 2103, 2104, 2105, and 2106 of Figure 2 , steps 3102 and 3103 of Figure 3A , step 3201 of Figure 3B , steps 4101, 4102, 4103, 4104, and 4105 of Figure 4A , and other related parts of the embodiments involved in Figures 2 , 3A , 3B, and 4A , which will not be repeated here. FIG5 is an interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure. As shown in FIG5 , an embodiment of the present disclosure relates to a communication method, and the method includes: Step 5101: A first terminal sends a first message to a second terminal. The first message includes first information, the first information is used to determine the relative position of the second terminal to the first terminal, and the first message is used for proximity direct communication between the first terminal and the second terminal. For the optional implementation of step 5101, please refer to step 2101, step 2102, step 2103, step 2104, step 2105, step 2106 of Figure 2, step 3101, step 3102, step 3103 of Figure 3A, step 3201 of Figure 3B, step 4101, step 4102, step 4103, step 4104, step 4105 of Figure 4A, step 4201 of Figure 4B, and other related parts in the embodiments involved in Figures 2, 3A, 3B, 4A, and 4B, which will not be repeated here. In some embodiments, the above method may include the method described in the above embodiments of the first terminal side, the second terminal side, etc., which will not be repeated here. In this implementation mode 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 implementation modes or other examples. FIG6A is a schematic diagram of a communication method provided according to an embodiment of the present disclosure. For example, it involves one-to-many ProSe direct communication transmission, which can be applied to public safety UEs (ProSe-enabled Public Safety UEs) authorized to enable proximity services. As shown in FIG6A, an embodiment of the present disclosure relates to a communication method, UE1 in FIG6A can be regarded as a source UE or a sending UE, and UE2 and UE3 can be regarded as potential target UEs or receiving UEs. The above method includes: 1. The UE configures information related to one-to-many ProSe direct communication. For example, the UE may obtain the group information necessary for transmitting IP layer data (ProSe layer 2 group ID, ProSe group IP multicast address, ProSe Group IP unicast address), and radio resource-related parameters for direct communication. Optionally, the group information may be the above-mentioned first parameter. Optionally, the UE may be a “first terminal”, a “source UE”, a “second terminal”, or a “target UE”. Optionally, the group information may include an identifier of the first communication group (eg, the ProSe layer 2 group ID mentioned above), a multicast address of the first communication group (eg, the ProSe group IP multicast address mentioned above), and a unicast address of the second terminal (eg, the ProSe Group IP unicast address mentioned above). It should be understood that all terminals belonging to the first communication group may be configured with this parameter. The optional implementation methods of step 1 can refer to the optional implementation methods of step 2101 and step 2102 in Figure 2, step 3102 in Figure 3A, step 3201 in Figure 3B, and other related parts in the embodiments involved in Figures 2, 3A, and 3B, which will not be repeated here. 2. The source UE finds appropriate radio resources for one-to-many ProSe direct communication. The protocol data unit transmitted to the access layer is related to the following: 1) Layer 3 protocol data unit type: The layer 3 protocol data type supporting one-to-many ProSe direct communication is as follows: IP and address resolution protocol. 2) Corresponding source layer-2-ID and target layer-2-ID. The source layer-2-ID is set to the ProSe UE ID assigned by the ProSe Key Management Function. The target layer-2-ID is set to the ProSe layer-2 group ID. 3) Per-packet priority associated with the protocol data unit. 4) Optionally, the location of the source UE, time information related to the location information of the source UE (which may be provided by the application layer or a sensor, etc.) (for step 3) and the relative location of the target UE and the source UE. This specifies a specific time point and searches for a target UE at a specific relative location relative to the source UE. Optionally, the source UE may be the above-mentioned “first terminal”. Optionally, the source UE uses radio resources to send the first message. Optionally, the protocol data unit transmitted to the access layer may include first information, and the first information may include at least one of the following: the location of the source UE, time information related to the location information of the source UE, the relative location, and the speed of the source UE. The optional implementation methods of step 2 can refer to the optional implementation methods of step 2101, step 2102 in Figure 2, step 3101, step 3102 in Figure 3A, step 3201 in Figure 3B, and other related parts in the embodiments involved in Figures 2, 3A, and 3B, which will not be repeated here. 3. The source UE uses the ProSe layer-2 group ID as the destination layer-2 ID and sends the IP data to the IP multicast address. If the location related information is provided in step 2, the IP data is sent using this ID. For optional implementations of step 3, reference may be made to step 2101, step 2102 of Figure 2, step 3101, step 3102, step 3103 of Figure 3A, and step 3201 of Figure 3B, as well as other related parts in the embodiments involved in Figures 2, 3A, and 3B, which will not be repeated here. The communication method involved in the embodiment of the present disclosure may include at least one of step 1 to step 3. For example, step 3 may be implemented as an independent embodiment, and step 2+step 3 may be implemented as an independent embodiment, but the present invention is not limited thereto. FIG6B is a schematic diagram of a communication method provided according to an embodiment of the present disclosure. For example, it involves one-to-many ProSe direct communication reception, which can be applied to public safety UEs (ProSe-enabled Public Safety UEs) authorized to enable proximity services. As shown in FIG6B , an embodiment of the present disclosure relates to a communication method, and the UE shown in FIG6B can be regarded as a target UE or a receiving UE. The above method includes: 1. The UE is configured with information related to one-to-many ProSe direct communication. The UE may obtain group information required for receiving IP layer data transmission (i.e., the first parameter described in the above embodiment, such as ProSe Layer-2 Group ID, ProSe Group IP multicast address), and radio resource related parameters for direct communication. Optionally, the group information may be a first parameter, which may include an identifier of the first communication group, a multicast address of the first communication group, and a unicast address of the second terminal. The optional implementation of step 1 can refer to the optional implementation of step 2102 in Figure 2, step 3102 in Figure 3A, step 3201 in Figure 3B, and other related parts in the embodiments involved in Figures 2, 3A, and 3B, which will not be repeated here. 2. The receiving UE monitors the allocated radio resources to receive one-to-many ProSe direct communication. Optionally, the receiving UE may be a second terminal. Optionally, the receiving UE receives the first message sent by the first terminal through wireless resources. The optional implementation of step 2 can refer to the optional implementation of step 2103 in Figure 2, step 4101 in Figure 4A, step 4201 in Figure 4B, and other related parts in the embodiments involved in Figures 2, 4A, and 4B, which will not be repeated here. 3. The receiving UE filters the received frames based on the ProSe Layer 2 group ID contained in the target Layer 2 ID. If the receiving UE's group ID matches any of the group IDs in the target Layer 2 ID, and the receiving UE's location also matches the sending UE request (determined by the implementation, possibly obtained from historical data or calculation), the receiving UE can deliver the packetized data packet to the upper layer. The IP stack filters the received data based on the group IP multicast address. For the optional implementation of step 3, please refer to the optional implementation of steps 2103, 2104, 2105, and 2106 of Figure 2, steps 4102, 4103, 4104, and 4105 of Figure 4A, and step 4201 of Figure 4B, as well as other related parts in the embodiments involved in Figures 2, 4A, and 4B, which will not be repeated here. The communication method involved in the embodiments of the present disclosure may include at least one of steps 1 to 3. For example, step 2 may be implemented as an independent embodiment, step 3 may be implemented as an independent embodiment, and step 2+3 may be implemented as an independent embodiment, but is not limited thereto. In the embodiments of the present disclosure, part or all of the steps and their optional implementations may be arbitrarily combined with part or all of the steps in other embodiments, or may be arbitrarily combined with optional implementations of other embodiments. The embodiments of the present disclosure also propose a device for implementing any of the above methods, for example, a device is proposed, the above device includes a unit or module for implementing each step performed by the terminal in any of the above methods. For another example, another device is also proposed, including a unit or module for implementing each step performed by a network device (such as an access network device, a core network function node, a core network device, etc.) in any of the above methods. It should be understood that the division of the units or modules in the above device is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. In addition, the units or modules in the device can be implemented in the form of a processor calling software: for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of the units or modules of the above device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device. Alternatively, the units or modules in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units or modules can be realized by designing the hardware circuits. The above hardware circuits can be understood as one or more processors; for example, in one implementation, the above hardware circuit is an application-specific integrated circuit (ASIC), and the functions of some or all of the above units or modules are realized by designing the logical relationship of the components in the circuit; for example, in another implementation, the above hardware circuit can be realized by a programmable logic device (PLD), taking a field programmable gate array (FPGA) as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, so as to realize the functions of some or all of the above units or modules. All units or modules of the above devices can be realized in the form of a processor calling software, or in the form of a hardware circuit, or in part by a processor calling software, and the rest by a hardware circuit. In the disclosed embodiment, the processor is a circuit with signal processing capability. In one implementation, the processor may be a circuit with instruction reading and running capability, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which may be understood as a microprocessor), or a digital signal processor (DSP), etc.; in another implementation, the processor may implement certain functions through the logical relationship of the hardware circuit, and the logical relationship of the above hardware circuit may be fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the processor loads a configuration document to implement the process of hardware circuit configuration, which may be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. In addition, it may also be a hardware circuit designed for artificial intelligence, which may be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. FIG7A is a schematic diagram of the structure of a first terminal provided according to an embodiment of the present disclosure. As shown in FIG7A , the first terminal 7100 includes a transceiver module 7101. In some embodiments, the transceiver module is used to send a first message. Optionally, the transceiver module can also be used to receive feedback information sent by the second terminal. Optionally, the transceiver module is used to perform at least one of the communication steps such as sending and / or receiving (for example, step 2102, step 3102, step 3103, step 3201 but not limited thereto) performed by the first terminal 7100 in any of the above methods, which will not be repeated here. FIG7B is a schematic diagram of the structure of the second terminal provided according to an embodiment of the present disclosure. As shown in FIG7B , the second terminal device 7200 may include a transceiver module 7201. In some embodiments, the transceiver module is used to receive a first message sent by the first terminal. Optionally, the transceiver module may also be used to send feedback information to the first terminal. Optionally, the transceiver module is used to perform at least one of the communication steps such as sending and / or receiving performed by the second terminal 7200 in any of the above methods (e.g., step 2106, step 4101, step 4105, but not limited thereto), which will not be repeated here. In some embodiments, the transceiver module may include a sending module and / or a receiving module, and the sending module and the receiving module may be separate or integrated. Optionally, the transceiver module may be interchangeable with the transceiver. FIG8A is a schematic diagram of the structure of a communication device 8100 provided according to an embodiment of the present disclosure. The communication device 8100 may be a network device (e.g., an access network device, a core network device, etc.), or a terminal (e.g., a user device, etc.), or a chip, a chip system, or a processor that supports a network device to implement any of the above methods, or a chip, a chip system, or a processor that supports a terminal to implement any of the above methods. The communication device 8100 may be used to implement the method described in the above method embodiment, and the details may refer to the description in the above method embodiment. As shown in FIG8A , the communication device 8100 includes one or more processors 8101. The processor 8101 may be a general-purpose processor or a dedicated processor, for example, a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and the communication data, and the central processing unit may be used to control the communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute the program, and process the data of the program. Optionally, the communication device 8100 is used to execute any of the above methods. Optionally, one or more processors 8101 are used to call instructions so that the communication device 8100 executes any of the above methods. In some embodiments, the communication device 8100 further includes one or more transceivers 8102. When the communication device 8100 includes one or more transceivers 8102, the transceiver 8102 performs at least one of the communication steps such as sending and / or receiving in the above method (for example, step 2102, step 2106, step 3102, step 3103, step 4101, step 4106, but not limited thereto), and the processor 8101 performs at least one of the other steps (for example, step 2101, step 2103, step 2104, step 2105, step 3101, step 4102, step 4103, step 4104, but not limited thereto). In an optional embodiment, the transceiver may include a receiver and / or a transmitter, and the receiver and the transmitter may be separate or integrated. Optionally, terms such as transceiver, transceiver unit, transceiver, transceiver circuit, interface circuit, interface, etc. can be replaced with each other, terms such as transmitter, transmitting unit, transmitter, transmitting circuit can be replaced with each other, and terms such as receiver, receiving unit, receiver, receiving circuit can be replaced with each other. In some embodiments, the communication device 8100 further includes one or more memories 8103 for storing data. Optionally, all or part of the memories 8103 may also be outside the communication device 8100. In an optional embodiment, the communication device 8100 may include one or more interface circuits 8104. Optionally, the interface circuit 8104 is connected to the memory 8102, and the interface circuit 8104 may be used to receive data from the memory 8102 or other devices, and may be used to send data to the memory 8102 or other devices. For example, the interface circuit 8104 may read the data stored in the memory 8102 and send the data to the processor 8101. In some embodiments, the processor 8101 may store a computer program 8105, which runs on the processor 8101 and enables the communication device 8000 to perform the method described in the above method embodiment. The computer program 8105 may be fixed in the processor 8101, in which case the processor 8101 may be implemented by hardware. The communication device 8100 described in the above embodiments 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 and 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, a vehicle-mounted device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc. 8B is a schematic diagram of the structure of a chip 8200 provided in an embodiment of the present disclosure. In the case where the communication device 8100 may be a chip or a chip system, reference may be made to the schematic diagram of the structure of the chip 8200 shown in FIG8B , but the present disclosure is not limited thereto. The chip 8200 includes one or more processors 8201. The chip 8200 is configured to execute any of the above methods. In some embodiments, the chip 8200 further includes one or more interface circuits 8202. Optionally, the terms interface circuit, interface, transceiver pin, etc. can be interchangeable. In some embodiments, the chip 8200 further includes one or more memories 8203 for storing data. Optionally, all or part of the memory 8203 can be outside the chip 8200. Optionally, the interface circuit 8202 is connected to the memory 8203, and the interface circuit 8202 can be used to receive data from the memory 8203 or other devices, and the interface circuit 8202 can be used to send data to the memory 8203 or other devices. For example, the interface circuit 8202 can read the data stored in the memory 8203 and send the data to the processor 8201. In some embodiments, the interface circuit 8202 performs at least one of the communication steps such as sending and / or receiving in the above method (for example, step 2102, step 2106, step 3102, step 3103, step 4101, step 4105, but not limited thereto). The interface circuit 8202 performs the communication steps such as sending and / or receiving in the above method, for example, means that the interface circuit 8202 performs data interaction between the processor 8201, the chip 8200, the memory 8203 or the transceiver device. In some embodiments, the processor 8201 performs at least one of the other steps (for example, step 2101, step 2103, step 2104, step 2105, step 3101, step 4102, step 4103, step 4104, but not limited thereto). The modules and / or devices described in the embodiments such as virtual devices, physical devices, chips, etc. can be combined or separated as needed. Optionally, some or all steps can also be performed by multiple modules and / or devices in collaboration, which is not limited here. The present disclosure also proposes a storage medium, on which instructions are stored, and when the instructions are executed on the communication device 8100, the communication device 8100 executes 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 to this, and it can also be a storage medium readable by other devices. Optionally, the storage medium can be a non-transitory storage medium, but is not limited to this, and it can also be a temporary storage medium. The present disclosure also proposes a program product, which, when executed by the communication device 8100, enables the communication device 8100 to execute any of the above methods. Optionally, the program product is a computer program product. The present disclosure also proposes a computer program, which, when executed on a computer, causes the computer to execute any one of the above methods.
Claims
1. A communication method, characterized in that: The method is performed by a first terminal, and includes: A first message is sent to a second terminal, where the first message includes first information, where the first information is used to determine a relative position of the second terminal relative to the first terminal, and the first message is used for proximity direct communication between the first terminal and the 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; the relative position; A first speed of the first terminal at the first time.
3. The method according to claim 2, characterized in that The first position is determined by a global positioning system, and / or the relative position is determined by a sensor.
4. The method according to any one of claims 1 to 3, characterized in that The first terminal and the second terminal belong to a first communication group.
5. The method according to claim 4, characterized in that The first terminal and / or the second terminal is configured with a first parameter, where the first parameter is used to identify the first communication group.
6. The method according to claim 5, characterized in that The first parameter includes at least one of the following: an identifier of the first communication group; a multicast address of the first communication group; The unicast address of the second terminal.
7. The method according to any one of claims 1 to 5, characterized in that Before sending the first message to the second terminal, the method further includes: A wireless resource is determined, where the wireless resource is used for proximity direct communication between the first terminal and the second terminal.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: receiving feedback information sent by the second terminal.
9. The method according to any one of claims 1 to 7, characterized in that The first message is carried by a lower layer of the application layer, where 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.
10. A communication method, characterized in that: The method is performed by a second terminal, and the method includes: A first message sent by a first terminal is received, where the first message includes first information, where the first information is used to determine a relative position of the second terminal relative to the first terminal, and where the first message is used for proximity direct communication between the first terminal and the second terminal.
11. The method according to claim 10, 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; the relative position; A first speed of the first terminal at the first time.
12. The method according to claim 11, characterized in that The method further comprises: determining, based on the first information and the second location of the second terminal when the first information is received, a third location of the second terminal at the first time; It is determined whether the third position complies with the relative position.
13. The method according to claim 12, characterized in that The method further comprises: When the third position matches the relative position, a communication connection with the first terminal is established, or a first operation instructed by the first terminal is performed.
14. The method according to any one of claims 10 to 13, characterized in that The first terminal and the second terminal belong to a first communication group.
15. The method according to claim 14, characterized in that The first terminal and / or the second terminal is configured with a first parameter, where the first parameter is used to identify the first communication group.
16. The method according to claim 15, characterized in that The first parameter includes at least one of the following: an identifier of the first communication group; a multicast address of the first communication group; The unicast address of the second terminal.
17. The method according to any one of claims 10 to 16, characterized in that The method further comprises: Send feedback information to the first terminal.
18. The method according to any one of claims 10 to 17, characterized in that The first message is carried by a lower layer of the application layer, where 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. A first terminal, characterized in that: Includes transceiver modules for: A first message is sent to a second terminal, where the first message includes first information, where the first information is used to determine a relative position of the second terminal relative to the first terminal, and the first message is used for proximity direct communication between the first terminal and the second terminal.
20. A second terminal, characterized in that: Includes transceiver modules for: A first message sent by a first terminal is received, where the first message includes first information, where the first information is used to determine a relative position of the second terminal relative to the first terminal, and where the first message is used for proximity direct communication between the first terminal and the second terminal.
21. 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 the method described in any one of claims 1-18.
22. 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 18 can be implemented.
23. A communication system, characterized in that: include: A first terminal and a second terminal, wherein the first terminal is used to execute the method according to any one of claims 1 to 9; and the second terminal is used to execute the method according to any one of claims 10 to 18.