Near field communication method and related equipment
By introducing a relay discovery and scheduling center into 5G ProSe technology, the problem of waste of network resources during relay device discovery is solved, and more efficient use of communication resources is achieved.
Patent Information
- Application Number
- CN202411708678.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-11-26
AI Technical Summary
In 5G ProSe technology, there is a problem of wasting network resources during the discovery process of relay devices. When the remote device initiates a relay discovery request, it establishes multiple communication paths, but only one path is selected during the actual communication process, resulting in the abandonment of other paths.
By adding a relay discovery scheduling center on the terminal side, receiving a relay discovery request message initiated by the remote device, finding a connected relay device according to the relay service code, obtaining network connection information from each relay device to the target network, selecting the target relay device with the greatest signal strength, and forwarding the request to the device, avoiding directly initiating a request to multiple relay devices.
In traditional near-domain communication, the problem of network resource waste caused by the simultaneous relay discovery request of multiple relay devices in remote devices is effectively avoided, and the communication efficiency and resource utilization rate are improved.
Smart Images

Figure CN119212036B_ABST
Abstract
Description
Background Art
[0002] With the continuous development of 5G communication technology, 5G ProSe (Proximity Services) technology has gradually become a research hotspot. 5G ProSe technology allows user equipment (UE) to communicate directly without going through the core network, thereby improving communication efficiency and reducing communication latency. In 5G ProSe technology, the discovery of relay devices (i.e., user equipment that connects remote devices to the network through relays) is a key link.
[0003] At present, the discovery of relay devices is a direct discovery method, that is, the remote device simultaneously initiates a relay discovery request message to multiple relay devices (such as 5G ProSe UE to network relay), and then these relay devices return relay discovery response messages to the remote device respectively. However, this direct discovery method has a certain problem of wasting network resources. Specifically, when the remote device initiates a relay discovery request, it establishes multiple communication paths at the same time, but in the actual communication process, only one of the communication paths will be selected for communication, and the remaining communication paths will be abandoned, resulting in a waste of network resources.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure provides a near-field communication method and related devices, which at least to a certain extent overcome the technical problem of waste of network resources in the discovery process of relay devices during near-field communication.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a near-field communication method is provided, the method comprising: receiving a relay discovery request message initiated by a remote device, wherein the relay discovery request message comprises: a relay service code, the relay service code being at least used to identify one or more relay devices to which the remote device can connect; searching for one or more relay devices to which the remote device can connect, and obtaining network connection information of each relay device to a target network according to the relay service code contained in the relay discovery request message; selecting a target relay device that meets the conditions from the one or more relay devices to which the remote device can connect, according to the network connection information of each relay device to the target network; and forwarding the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0008] In some embodiments, the network connection information includes at least: signal strength; wherein, based on the network connection information from each relay device to the target network, a target relay device that meets the conditions is selected from one or more relay devices that the remote device can connect to, including: based on the signal strength from each relay device to the target network, a relay device with the largest signal strength is selected from one or more relay devices that the remote device can connect to, and determined as the target relay device that meets the conditions.
[0009] In some embodiments, the relay discovery request message also includes: the message type of the near-area communication message; the network connection information also includes: the message type of the relay service provided by the relay device; wherein, according to the network connection information of each relay device to the target network, a target relay device that meets the conditions is selected from one or more relay devices that the remote device can connect to, including: according to the message type of the near-area communication message and the message type of the relay service provided by each relay device, one or more relay devices that meet the corresponding message type are selected from one or more relay devices that the remote device can connect to; according to the signal strength from each relay device to the target network, a relay device with the largest signal strength is selected from one or more relay devices that meet the corresponding message type, and determined as the target relay device that meets the conditions.
[0010] In some embodiments, the relay discovery request message also includes: user information of the remote device; wherein, according to the relay service code included in the relay discovery request message, searching for one or more relay devices that the remote device can connect to, and obtaining network connection information of each relay device to the target network, including: according to the relay service code included in the relay discovery request message, searching for one or more relay devices that the remote device can connect to, and obtaining the relay service code of each relay device, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service; according to the user information of the remote device included in the relay discovery request message, and the relay service code of each relay device, filtering one or more relay devices authorized to use the relay service from the one or more relay devices that the remote device can connect to; obtaining network connection information of each relay device authorized to use the relay service to the target network.
[0011] In some embodiments, before searching for one or more relay devices to which the remote device can connect based on the relay service code included in the relay discovery request message and obtaining network connection information from each relay device to the target network, the method further includes: storing relay service codes of multiple relay devices and network connection information from each relay device to the target network, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service.
[0012] According to one aspect of the present disclosure, a near-field communication method is also provided, which is applied to a remote device, including: sending a relay discovery request message to a relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the remote device can connect; receiving a relay discovery response message returned by a target relay device, wherein the target relay device is a target relay device that meets the conditions selected by the relay discovery scheduling center from one or more relay devices to which the remote device can connect; and establishing near-field communication between the remote device and the target relay device according to the relay discovery response message.
[0013] According to one aspect of the present disclosure, a relay discovery scheduling device is also provided, which includes: a relay discovery request message receiving module, which is used to receive a relay discovery request message initiated by a remote device, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the remote device can connect; a relay discovery module, which is used to search for one or more relay devices to which the remote device can connect according to the relay service code included in the relay discovery request message, and obtain network connection information from each relay device to the target network; a relay screening module, which is used to select a target relay device that meets the conditions from the one or more relay devices to which the remote device can connect according to the network connection information from each relay device to the target network; and a relay discovery request message forwarding module, which is used to forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0014] According to one aspect of the present disclosure, a user device is also provided, which includes: a relay discovery request message sending module, used to send a relay discovery request message to a relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the user device can be connected; a relay discovery response message receiving module, used to receive a relay discovery response message returned by a target relay device, wherein the target relay device is a target relay device that meets the conditions selected by the relay discovery scheduling center from one or more relay devices to which the user device can be connected; and a near-domain communication module, used to establish near-domain communication between the user device and the target relay device according to the relay discovery response message.
[0015] According to one aspect of the present disclosure, a near-area communication system is also provided, which includes: a remote device, a relay discovery scheduling center and at least one relay device; wherein the remote device is used to send a relay discovery request message to the relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the remote device can connect; the relay discovery scheduling center is used to receive the relay discovery request message, and according to the relay service code included in the relay discovery request message, search for one or more relay devices to which the remote device can connect, obtain network connection information from each relay device to the target network, select a target relay device that meets the conditions from the one or more relay devices to which the remote device can connect, and forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0016] According to one aspect of the present disclosure, an electronic device is also provided, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned near-area communication methods by executing the executable instructions.
[0017] According to one aspect of the present disclosure, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the near area communication method described in any one of the above is implemented.
[0018] According to one aspect of the present disclosure, a computer program product is further provided, including: a computer program or instructions, wherein when the computer program or instructions are executed by a processor, any one of the above-mentioned near area communication methods is implemented.
[0019] The near-field communication method and related devices provided in the embodiments of the present disclosure, by adding a relay discovery scheduling center on the terminal side, after receiving the relay discovery request message initiated by the remote device, search for one or more relay devices that the remote device can connect to according to the relay service code contained in the relay discovery request message, and then obtain the network connection information of each relay device to the target network, and select a target relay device that meets the conditions from the one or more relay devices that the remote device can connect to according to the network connection information of each relay device to the target network, and forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0020] Through the near-field communication method and related equipment provided in the embodiments of the present invention, it is possible to find the most suitable relay device at the moment according to the relay discovery request message initiated by the remote device, and establish near-field communication with the relay device. This can avoid the problem of network resource waste in the traditional near-field communication process, in which the remote device simultaneously initiates the communication process of relay discovery to multiple relay devices.
[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0023] Figure 1 A schematic diagram of a near area communication system architecture in an embodiment of the present disclosure is shown;
[0024] Figure 2 A flowchart of directly discovering a relay in a near-field communication scenario in the related art is shown;
[0025] Figure 3 A flowchart of performing relay discovery through a relay discovery scheduling center in a near-area communication scenario in an embodiment of the present disclosure is shown;
[0026] Figure 4 A schematic diagram showing the complexity of a direct discovery relay in the related art is shown;
[0027] Figure 5 A schematic diagram showing the complexity of performing relay discovery through a relay discovery scheduling center in an embodiment of the present disclosure is shown;
[0028] Figure 6 A flow chart of a near area communication method in an embodiment of the present disclosure is shown;
[0029] Figure 7 A flow chart of an optional near-area communication method in an embodiment of the present disclosure is shown;
[0030] Figure 8 A flow chart of an optional near-area communication method in an embodiment of the present disclosure is shown;
[0031] Fig. 9 A flow chart of another near area communication method in an embodiment of the present disclosure is shown;
[0032] Fig.10A schematic diagram of a relay discovery scheduling device in an embodiment of the present disclosure is shown;
[0033] Fig.11 A schematic diagram of a user equipment in an embodiment of the present disclosure is shown;
[0034] Fig.12 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0036] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0037] For ease of understanding, before introducing the embodiments of the present disclosure, several terms involved in the embodiments of the present disclosure are first explained as follows:
[0038] ProSe: Proximity Service, near-domain service, is a device-to-device (D2D) connection or direct communication between nearby mobile devices defined in 3GPP TS23.303 R12 version. In this communication mode, the user equipment (UE) can send and receive data directly in the uplink spectrum without forwarding through network infrastructure such as base stations.
[0039] RSC: Relay Service Code, a relay service code, is an identifier applicable to communication from a user device to a network relay device, or from a user device to a relay device. In the TS 23.303 v18.3.0 document, communication from a user device to a network relay device is defined. For communication from a user device to a relay device, the relay service code is used to identify the connection service provided by the relay device in the near-field communication scenario and the authorized user to whom the relay device will provide the service.
[0040] Remote device: A user device that supports near-field communication and can access the target network or communicate with other remote devices through a relay device.
[0041] Relay device: A relay user device or network relay device that supports near-area communications and can provide relay services. It can receive messages from remote devices and forward them to other remote devices or the network infrastructure of the target network.
[0042] The specific implementation of the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.
[0043] Figure 1 A schematic diagram of a near-field communication system architecture in an embodiment of the present disclosure is shown. Figure 1 As shown, the system architecture includes: a remote device 10, a relay discovery scheduling center 20 and at least one relay device (such as Figure 1 ); a first relay device 30A, a second relay device 30B and a third relay device 30C shown in FIG.
[0044] The remote device 10 is used to send a relay discovery request message to the relay discovery scheduling center 20, wherein the relay discovery request message includes: a relay service code, the relay service code is at least used to identify one or more relay devices to which the remote device can connect;
[0045] The relay discovery scheduling center 20 is used to receive a relay discovery request message, and according to the relay service code contained in the relay discovery request message, search for one or more relay devices (such as the first relay device 30A, the second relay device 30B and the third relay device 30C) to which the remote device can connect, obtain network connection information from each relay device to the target network, and select a target relay device (such as the second relay device 30B) that meets the conditions from the one or more relay devices to which the remote device can connect according to the network connection information from each relay device to the target network, and forward the relay discovery request message of the remote device 10 to the target relay device (such as the second relay device 30B), so that the target relay device (such as the second relay device 30B) returns a relay discovery response message to the remote device 10.
[0046] Taking 5G ProSe as an example, in order to solve the problem of resource waste caused by a single 5G ProSe remote UE simultaneously initiating request messages to multiple UE-to-network relays, a method for realizing UE-to-network relay discovery through relay scheduling in near-field communication is provided in an embodiment of the present disclosure. The method includes: adding a 5G ProSe relay scheduling center on the terminal side, and pre-storing the RSC (Relay Service Code, relay service code) of all UE-to-network relays, the previous 5G ProSe UE-to-network relay discovery, and the secure PC5 connection information between the 5G ProSe UE-to-network relay and the 5G ProSe remote UE. When the UE-to-network relay discovery process is started, the 5G ProSe relay scheduling center searches for an adapted relay according to the RSC in the received request message, and searches for the most adapted UE-to-network relay through the previous 5G ProSe UE-to-network relay discovery or through the strength of the secure PC5 connection signal between the 5G ProSe UE-to-network relay and the 5G ProSe remote UE.
[0047] By implementing the method of UE-to-network relay discovery through relay scheduling provided in the embodiments of the present disclosure, the problem of resource waste caused by the device initiating multiple communication paths at the same time can be avoided, and the 5G ProSe relay scheduling center can select the best UE-to-network relay, that is, discover the most suitable 5G ProSe UE-to-network relay with the least resources.
[0048] In some embodiments, the above-mentioned network connection information includes at least: signal strength; then the above-mentioned relay discovery scheduling center 20 is also used to: select the relay device with the largest signal strength from one or more relay devices that the remote device can connect to according to the signal strength from each relay device to the target network, and determine it as the target relay device that meets the conditions.
[0049] In some embodiments, the above-mentioned relay discovery request message also includes: the message type of the near-field communication message; the above-mentioned network connection information also includes: the message type of the relay service provided by the relay device; wherein the above-mentioned relay discovery scheduling center 20 is also used for: according to the message type of the near-field communication message and the message type of the relay service provided by each relay device, selecting one or more relay devices that meet the corresponding message type from one or more relay devices that the remote device can connect to; according to the signal strength from each relay device to the target network, selecting the relay device with the largest signal strength from the one or more relay devices that meet the corresponding message type, and determining it as the target relay device that meets the conditions.
[0050] In some embodiments, the above-mentioned relay discovery request message also includes: user information of the remote device; then the above-mentioned relay discovery scheduling center 20 is also used to: according to the relay service code contained in the relay discovery request message, find one or more relay devices that the remote device can connect to, and obtain the relay service code of each relay device, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service; according to the user information of the remote device contained in the relay discovery request message, and the relay service code of each relay device, filter one or more relay devices authorized to use the relay service from the one or more relay devices that the remote device can connect to; obtain the network connection information of each relay device authorized to use the relay service to the target network.
[0051] In some embodiments, the relay discovery scheduling center 20 is also used to store relay service codes of multiple relay devices and network connection information of each relay device to the target network, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service.
[0052] It should be noted that the remote device in the embodiment of the present disclosure refers to a user device that cannot directly access the target network (such as a cellular network); the relay device refers to a user device that can directly access the target network (such as a cellular network). In the embodiment of the present disclosure, the relay device can access the target network through a wireless network or a wired network.
[0053] Optionally, the wireless network or wired network described above uses standard communication technology and / or protocols. The network is typically the Internet, but may also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged over the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPSec), etc. may be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies may also be used to replace or supplement the above data communication technologies.
[0054] Optionally, the remote device and the relay device in the embodiments of the present disclosure are both terminal devices. In a specific implementation, the terminal device may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device, etc. It should be noted that the specific type of the terminal device is not limited in the embodiments of the present invention.
[0055] In the embodiments of the present disclosure, the relay device can be connected to a network side device such as a base station, a network relay or an access point. The base station can be a base station of 5G or later versions (for example: 5G NR NB), or a base station in other communication systems (for example: eNB base station). It should be noted that the specific type of the network side device is not limited in the embodiments of the present disclosure.
[0056] Optionally, the relay discovery scheduling center in the embodiment of the present disclosure may be a specific device, or a module provided on a remote device, and the module may be implemented by hardware or software.
[0057] Figure 2 A flowchart of directly discovering a relay in a near-field communication scenario in the related art is shown. Figure 2 As shown, specifically including:
[0058] S202: The remote device sends a relay discovery request message to multiple relay devices.
[0059] Taking 5G ProSe as an example, a 5G ProSe remote UE sends a 5G ProSe UE to network relay discovery request message. The 5G ProSe UE to network discovery request message contains the discovery message type, discoverer information, RSC and optional target information. The 5G ProSe remote UE discovering the 5G ProSe UE to network relay sends a request message with an RSC associated with the desired connection service.
[0060] S204: The remote device receives a relay discovery response message returned by each relay device.
[0061] Taking 5G ProSe as an example, if the RSC contained in the request message matches any (pre-)configured RSC of the 5G ProSe UE to network relay, and the target information (if any) contained in the request message matches the 5G ProSe UE to network relay, the 5G ProSe UE to network relay (e.g. 1, 2 and 3) responds to the 5G ProSe remote UE with a UE to network relay discovery response message. The 5G ProSe UE to network relay discovery response message contains the discovery message type, discovery information and RSC.
[0062] S206: Select a relay device for near area communication.
[0063] Taking 5G ProSe as an example, the 5G ProSe remote UE selects the 5G ProSe UE to the network relay according to the relay discovery response message returned by each relay device received in S204.
[0064] Figure 3 A flowchart of performing relay discovery through a relay discovery scheduling center in a near-field communication scenario in an embodiment of the present disclosure is shown. Figure 3 As shown, specifically including:
[0065] S300, the relay discovery scheduling center pre-stores the relay service codes of all relay devices, previous discovery of the remote device to the relay device, and the network connection information between the relay device and the remote device.
[0066] Taking 5G ProSe as an example, a 5G ProSe relay scheduling center is added to the 5G ProSe UE to network relay discovery process, and all UE to network relay RSCs, previous 5G ProSe UE to network relay discoveries, and secure PC5 connection information between 5G ProSe UE to network relay and 5G ProSe remote UE are pre-stored in it.
[0067] S302: The remote device sends a relay discovery request message to the relay discovery scheduling center.
[0068] Taking 5G ProSe as an example, the discoverer 5G ProSe remote UE sends a UE to network relay discovery request message to the 5G ProSe relay scheduling center. The 5G ProSe UE to network relay discovery request message includes the discovery message type, RSC and direct discovery set, including the user information ID of the discoverer 5G ProSe remote UE.
[0069] S304, the relay discovery dispatch center searches for the most suitable relay device.
[0070] Taking 5G ProSe as an example, the 5G ProSe relay scheduling center searches for an adapted 5G ProSe UE to network relay according to the RSC in the received UE to network relay discovery request message, and searches for the most adapted UE to network relay through previous 5G ProSe UE to network relay discovery or through the strength of the secure PC5 connection signal between the 5G ProSe UE to network relay and the 5G ProSe remote UE.
[0071] S306: The relay discovery scheduling center forwards the relay discovery request message to the target relay device.
[0072] Taking 5G ProSe as an example, the 5G ProSe relay scheduling center sends a UE to network relay discovery request message to the selected most suitable 5G ProSe UE to network relay (e.g., 5G ProSe UE to network relay-3). The 5G ProSe UE to network relay discovery request message contains a direct discovery set, which includes the user information ID of the discoverer 5G ProSe remote UE and the RSC of the UE to network relay.
[0073] S308, the target relay device returns a relay discovery response message.
[0074] Taking 5G ProSe as an example, the 5G ProSe UE to network relay-3 returns a UE to network relay discovery response message to the 5G ProSe remote UE.
[0075] Figure 4A schematic diagram showing the complexity of a direct discovery relay in the related art is shown. Figure 5 A schematic diagram showing the complexity of performing relay discovery through a relay discovery scheduling center in an embodiment of the present disclosure is shown, and compared with Figure 4 and Figure 5 It can be seen that the complexity of the direct discovery process of the relay is 2N; the complexity of the relay discovery through the relay discovery scheduling center is 3. When the number of 5G ProSe UE to network relays exceeds 1, the embodiment of the present disclosure can significantly reduce the complexity of the 5G ProSe UE to network relay discovery process, and can effectively avoid resource waste without increasing the time consumption of the relay discovery process.
[0076] The near-area communication method provided in the embodiment of the present disclosure is applied to 5G ProSe, and a 5G ProSe relay scheduling center is added on the terminal side, and all RSCs of UE to network relays, previous 5G ProSe UE to network relay discovery, and secure PC5 connection information between 5G ProSe UE to network relay and 5G ProSe remote UE are pre-stored therein. When the UE to network relay discovery process is started, the 5G ProSe relay scheduling center searches for an adapted relay according to the RSC in the received 5G ProSe UE to network relay discovery request message, and searches for the most adapted UE to network relay through the previous 5G ProSe UE to network relay discovery or through the strength of the secure PC5 connection signal between the 5G ProSe UE to network relay and the 5G ProSe remote UE.
[0077] Those skilled in the art will know that Figures 1 to 5 The number of remote devices, relay discovery scheduling centers, and relay devices in the example is only illustrative, and any number of remote devices, relay discovery scheduling centers, and relay devices may be provided according to actual needs. The embodiments of the present disclosure do not limit this.
[0078] Under the above system architecture, a near area communication method is provided in an embodiment of the present disclosure, and the method can be executed by any electronic device with computing and processing capabilities.
[0079] In some embodiments, the near-area communication method provided in the embodiments of the present disclosure may be executed by the relay dispatch center of the above-mentioned system architecture; in other embodiments, the near-area communication method provided in the embodiments of the present disclosure may be implemented by the relay dispatch center, remote device and relay device in the above-mentioned system architecture through interaction.
[0080] It should be noted that the remote device in the embodiments of the present disclosure may be any remote user device that supports near-area communication, and may access the target network (such as a cellular network, etc.) with the help of a relay device; the relay device in the embodiments of the present disclosure may be any device that supports near-area communication and can provide relay services, and may be a relay user device that provides relay services, or may be a network relay device.
[0081] Figure 6 A flow chart of a near area communication method in an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the near area communication method provided in the embodiment of the present disclosure includes the following steps:
[0082] S602, receiving a relay discovery request message initiated by a remote device, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the remote device can connect.
[0083] It should be noted that the above-mentioned relay discovery request message refers to a request message initiated by a remote device for finding a relay device; the relay discovery request message includes at least: a relay service code for identifying one or more relay devices to which the remote device can connect; in some embodiments, the relay discovery request message may also include at least one of the following: the message type of the message sent by the remote device when performing near-field communication, the user information of the remote device, a direct discovery set or other target information.
[0084] In specific implementations, different information may be carried in the relay discovery request message according to actual needs, and the present disclosure does not make specific limitations on this. For example, in some embodiments, key information for near-field communication may be carried to achieve the purpose of encrypted communication; in other embodiments, other auxiliary information for selecting the most suitable relay device (such as the transmission bandwidth of the relay device, etc.) may be carried so as to select the most suitable relay device based on the transmission bandwidth of the relay service provided by each relay device.
[0085] S604, according to the relay service code included in the relay discovery request message, search for one or more relay devices that the remote device can connect to, and obtain network connection information of each relay device to the target network.
[0086] It should be noted that, since the relay service code can be used to identify the relay device to which each device is connected during near-field communication, one or more relay devices to which the remote device can be connected can be found according to the relay service code contained in the relay discovery request message, and network connection information of each relay device to the target network can be obtained. Optionally, the network connection information includes, but is not limited to: signal strength.
[0087] S606: Select a target relay device that meets the conditions from one or more relay devices that the remote device can connect to according to the network connection information from each relay device to the target network.
[0088] It should be noted that the network connection information from each relay device to the target network can be any information that characterizes the network connection status from the relay device to the target network; based on the network connection information from each relay device to the target network, a target relay device that meets the conditions (such as the highest signal strength) is selected from one or more relay devices to which the remote device can connect.
[0089] S608: forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0090] It should be noted that after determining the target relay device that meets the conditions, the relay discovery request message initiated by the remote device can be forwarded to the target relay device. When the target relay device returns a relay discovery response message to the remote device, the remote device conducts near-field communication with the target relay device.
[0091] In some embodiments, Figure 7 As shown, before searching for one or more relay devices to which the remote device can connect according to the relay service code included in the relay discovery request message and obtaining network connection information of each relay device to the target network, the near area communication method provided in the embodiment of the present disclosure may further include the following steps:
[0092] S600, storing relay service codes of multiple relay devices and network connection information of each relay device to a target network, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use relay services.
[0093] It should be noted that the relay service code of each relay device and the network connection information of each relay device to the target network can be collected in advance, and as the near-field communication is subsequently established, the stored relay service code of each relay device and the network connection information of each relay device to the target network can be continuously updated, for example, deleting unavailable relay network connections, or updating the status information of the relay network connection, or adding new relay network connections for near-field communication.
[0094] From the above, it can be seen that the near-field communication method provided in the embodiment of the present disclosure, by adding a relay discovery scheduling center on the terminal side, after receiving the relay discovery request message initiated by the remote device, searches for one or more relay devices that the remote device can connect to according to the relay service code contained in the relay discovery request message, and then obtains the network connection information of each relay device to the target network. According to the network connection information of each relay device to the target network, a target relay device that meets the conditions is selected from the one or more relay devices that the remote device can connect to, and the relay discovery request message initiated by the remote device is forwarded to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0095] Through the near-field communication method provided in the embodiments of the present invention, it is possible to find the most suitable relay device at the moment according to the relay discovery request message initiated by the remote device, and establish near-field communication with the relay device. This can avoid the problem of network resource waste in the traditional near-field communication process, in which the remote device simultaneously initiates the communication process of relay discovery to multiple relay devices.
[0096] In some embodiments, the above network connection information includes at least: signal strength; then the above S206 can be implemented through the following steps: according to the signal strength from each relay device to the target network, select the relay device with the largest signal strength from one or more relay devices that the remote device can connect to, and determine it as the target relay device that meets the conditions.
[0097] In this embodiment, the signal strength may be the signal strength of the network connection from each relay device to the target network, and / or the signal strength of the network connection from the remote device to each relay device.
[0098] In some embodiments, the above-mentioned relay discovery request message also includes: the message type of the near-field communication message; the above-mentioned network connection information also includes: the message type of the relay service provided by the relay device; then the above-mentioned S606 can be implemented through the following steps: according to the message type of the near-field communication message and the message type of the relay service provided by each relay device, select one or more relay devices that meet the corresponding message type from one or more relay devices that the remote device can connect to; according to the signal strength from each relay device to the target network, select the relay device with the largest signal strength from the one or more relay devices that meet the corresponding message type, and determine it as the target relay device that meets the conditions.
[0099] In the above embodiment, when the relay discovery request message contains the message type when the remote device performs near-field communication, one or more relay devices that meet the corresponding message type can be selected from one or more relay devices to which the remote device can connect, and then the relay device with the largest signal strength can be selected.
[0100] In some embodiments, the relay discovery request message further includes: user information of the remote device; Figure 8 As shown, the near area communication method provided in the embodiment of the present disclosure can also obtain the network connection information of each relay device to the target network through the following steps:
[0101] S802, according to the relay service code included in the relay discovery request message, searching for one or more relay devices to which the remote device can connect, and obtaining the relay service code of each relay device, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service;
[0102] S804, based on the user information of the remote device contained in the relay discovery request message and the relay service code of each relay device, screening one or more relay devices that authorize the remote device to use the relay service from the one or more relay devices to which the remote device can connect;
[0103] S806, obtaining network connection information from each relay device that authorizes the remote device to use the relay service to the target network.
[0104] It should be noted that, for security reasons, some relay devices may only allow authorized user devices to access. Therefore, when the relay discovery request message contains user information of the remote device, it can be determined whether the remote device is a user device authorized by the relay device. Through the above embodiment, it can be ensured that the remote device accesses the relay device that authorizes it to access, avoids unauthorized user devices from accessing the relay device, and improves the security of near-field communication.
[0105] It should be noted that the acquisition, storage, use, and processing of data in the technical solution disclosed in this disclosure are in compliance with the relevant provisions of national laws and regulations, and various types of data such as personal identity data, operation data, behavioral data, etc. related to individuals, customers, and groups obtained in the embodiments of this disclosure have all been authorized.
[0106] Based on the same inventive concept, a near-field communication method is also provided in an embodiment of the present disclosure. The method can be executed by any electronic device with computing and processing capabilities.
[0107] In some embodiments, the near-area communication method provided in the embodiments of the present disclosure may be executed by a remote device of the above-mentioned system architecture; in other embodiments, the near-area communication method provided in the embodiments of the present disclosure may be implemented by the remote device, relay dispatch center and relay device in the above-mentioned system architecture through interaction.
[0108] Fig. 9 A flow chart of another near-field communication method in an embodiment of the present disclosure is shown as follows: Figure 5As shown, the near area communication method provided in the embodiment of the present disclosure includes the following steps:
[0109] S902, sending a relay discovery request message to a relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, the relay service code is at least used to identify one or more relay devices to which the remote device can connect;
[0110] S904, receiving a relay discovery response message returned by the target relay device, wherein the target relay device is a relay discovery scheduling center that selects a target relay device that meets the conditions from one or more relay devices that the remote device can connect to;
[0111] S906: Establishing near area communication between the remote device and the target relay device according to the relay discovery response message.
[0112] Based on the same inventive concept, the embodiment of the present disclosure also provides a relay discovery scheduling device, as described in the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0113] Fig.10 A schematic diagram of a relay discovery scheduling device in an embodiment of the present disclosure is shown. Fig.10 As shown, the device includes: a relay discovery request message receiving module 101, a relay discovery module 102, a relay screening module 103 and a relay discovery request message forwarding module 104.
[0114] Among them, the relay discovery request message receiving module 101 is used to receive the relay discovery request message initiated by the remote device, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the remote device can connect; the relay discovery module 102 is used to search for one or more relay devices to which the remote device can connect according to the relay service code contained in the relay discovery request message, and obtain the network connection information of each relay device to the target network; the relay screening module 103 is used to select a target relay device that meets the conditions from the one or more relay devices to which the remote device can connect according to the network connection information of each relay device to the target network; the relay discovery request message forwarding module 104 is used to forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0115] In some embodiments, the above-mentioned network connection information includes at least: signal strength; then the above-mentioned relay screening module 103 is also used to: select the relay device with the largest signal strength from one or more relay devices that the remote device can connect to according to the signal strength of each relay device to the target network, and determine it as the target relay device that meets the conditions.
[0116] In some embodiments, the relay discovery request message also includes: the message type of the near-field communication message; the network connection information also includes: the message type of the relay service provided by the relay device; then the above-mentioned relay screening module 103 is also used for: according to the message type of the near-field communication message and the message type of the relay service provided by each relay device, selecting one or more relay devices that meet the corresponding message type from one or more relay devices that the remote device can connect to; according to the signal strength from each relay device to the target network, selecting the relay device with the largest signal strength from the one or more relay devices that meet the corresponding message type, and determining it as the target relay device that meets the conditions.
[0117] In some embodiments, the relay discovery request message also includes: user information of the remote device; then the above-mentioned relay discovery module 102 is also used to: search for one or more relay devices to which the remote device can connect according to the relay service code included in the relay discovery request message, and obtain the relay service code of each relay device, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service; filter one or more relay devices authorized to use the relay service from the one or more relay devices to which the remote device can connect according to the user information of the remote device included in the relay discovery request message, and the relay service code of each relay device; obtain network connection information from each relay device authorized to use the relay service to the target network.
[0118] In some embodiments, Fig.10 As shown, the relay discovery scheduling device in the embodiment of the present disclosure also includes: a relay information storage module 105, which is used to store the relay service codes of multiple relay devices and the network connection information of each relay device to the target network, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service.
[0119] It should be noted that the examples and application scenarios implemented by the modules in the above-mentioned device embodiment are the same as those of the corresponding steps in the method embodiment, but are not limited to the contents disclosed in the above-mentioned method embodiment. It should be noted that the above-mentioned modules as part of the device can be executed in a computer system such as a set of computer executable instructions.
[0120] Based on the same inventive concept, the present disclosure also provides a user device in the following embodiments. Since the principle of solving the problem in the remote device embodiment is similar to that in the above method embodiment, the implementation of the remote device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0121] Fig.11 A schematic diagram of a user equipment in an embodiment of the present disclosure is shown as follows: Fig.11 As shown, the device includes: a relay discovery request message sending module 111, a relay discovery response message receiving module 112 and a near area communication module 113.
[0122] Among them, the relay discovery request message sending module 111 is used to send a relay discovery request message to the relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the user device can be connected; the relay discovery response message receiving module 112 is used to receive the relay discovery response message returned by the target relay device, wherein the target relay device is a target relay device that meets the conditions selected by the relay discovery scheduling center from one or more relay devices to which the user device can be connected; the near-domain communication module 113 is used to establish near-domain communication between the user device and the target relay device according to the relay discovery response message.
[0123] It should be noted that the examples and application scenarios implemented by the modules in the above-mentioned device embodiment are the same as those of the corresponding steps in the method embodiment, but are not limited to the contents disclosed in the above-mentioned method embodiment. It should be noted that the above-mentioned modules as part of the device can be executed in a computer system such as a set of computer executable instructions.
[0124] Those skilled in the art will appreciate that various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation that combines hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."
[0125] Based on the same inventive concept, an electronic device is also provided in an embodiment of the present disclosure, the electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned near-field communication methods by executing the executable instructions. Since the principle of solving the problem in the electronic device embodiment is similar to that in the above-mentioned method embodiment, the implementation of the electronic device embodiment can refer to the implementation of the above-mentioned method embodiment, and the repeated parts will not be repeated.
[0126] Refer to the following Fig.12 1200 according to this embodiment of the present disclosure is described. Fig.12 The electronic device 1200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0127] like Fig.12 As shown, the electronic device 1200 is in the form of a general computing device. The components of the electronic device 1200 may include but are not limited to: at least one processing unit 1210, at least one storage unit 1220, and a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210).
[0128] The storage unit stores program codes, which can be executed by the processing unit 1210, so that the processing unit 1210 executes the steps described in the above “exemplary method” section of this specification according to various exemplary embodiments of the present disclosure.
[0129] In some embodiments, when the electronic device 1200 is a relay discovery scheduling center, the processing unit 1210 can execute the following steps of the above method embodiment: receiving a relay discovery request message initiated by a remote device, wherein the relay discovery request message includes: a relay service code, the relay service code is at least used to identify one or more relay devices to which the remote device can connect; according to the relay service code included in the relay discovery request message, searching for one or more relay devices to which the remote device can connect, and obtaining network connection information from each relay device to the target network; according to the network connection information from each relay device to the target network, selecting a target relay device that meets the conditions from the one or more relay devices to which the remote device can connect; forwarding the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device.
[0130] In other embodiments, when the electronic device 1200 is a remote device, the processing unit 1210 can execute the following steps of the above method embodiment: sending a relay discovery request message to a relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, and the relay service code is at least used to identify one or more relay devices to which the remote device can connect; receiving a relay discovery response message returned by a target relay device, wherein the target relay device is a target relay device that meets the conditions selected by the relay discovery scheduling center from one or more relay devices to which the remote device can connect; and establishing near-domain communication between the remote device and the target relay device according to the relay discovery response message.
[0131] The storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 12201 and / or a cache storage unit 12202 , and may further include a read-only storage unit (ROM) 12203 .
[0132] The storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0133] Bus 1230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0134] The electronic device 1200 may also communicate with one or more external devices 1240 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1200, and / or may communicate with any device that enables the electronic device 1200 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1250. In addition, the electronic device 1200 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1260. As shown, the network adapter 1260 communicates with other modules of the electronic device 1200 via a bus 1230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0135] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0136] Based on the same inventive concept, a computer-readable storage medium is also provided in the embodiment of the present disclosure, on which a computer program is stored, and when the computer program is executed by a processor, any of the above-mentioned near-field communication methods is implemented. Since the principle of solving the problem in the embodiment of the computer-readable storage medium is similar to that in the above-mentioned method embodiment, the implementation of the embodiment of the computer-readable storage medium can refer to the implementation of the above-mentioned method embodiment, and the repeated parts will not be repeated.
[0137] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0138] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0139] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0140] In specific implementation, the program code for performing the operation of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0141] Based on the same inventive concept, a computer program product is also provided in the embodiments of the present disclosure, including a computer program product, including: a computer program or an instruction, wherein when the computer program or the instruction is executed by a processor, the near-field communication method of any one of the above method embodiments is implemented. Since the principle of solving the problem in the computer program product embodiment is similar to that in the above method embodiment, the implementation of the computer program product embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0142] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0143] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0144] Through the description of the above implementation modes, it is easy for those skilled in the art to understand that the example implementation modes described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation mode of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation mode of the present disclosure.
[0145] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A near area communication method, characterized in that: include: Receiving a relay discovery request message initiated by a remote device, wherein the relay discovery request message includes: a relay service code, wherein the relay service code is at least used to identify one or more relay devices to which the remote device can connect; According to the relay service code included in the relay discovery request message, searching for one or more relay devices to which the remote device can connect, and obtaining network connection information of each relay device to the target network; According to the network connection information from each relay device to the target network, selecting a target relay device that meets the conditions from one or more relay devices that the remote device can connect to; forwarding the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device; Wherein, the relay discovery request message further includes: user information of the remote device; Among them, according to the relay service code included in the relay discovery request message, searching for one or more relay devices that the remote device can connect to, and obtaining network connection information of each relay device to the target network, including: According to the relay service code included in the relay discovery request message, searching for one or more relay devices to which the remote device can connect, and obtaining the relay service code of each relay device, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service; According to the user information of the remote device contained in the relay discovery request message and the relay service code of each relay device, screening one or more relay devices that authorize the remote device to use the relay service from the one or more relay devices to which the remote device can connect; The network connection information from each relay device that authorizes the remote device to use the relay service to the target network is obtained, where the network connection information is used to characterize the network connection status from the relay device to the target network.
2. The near area communication method according to claim 1, characterized in that: The network connection information includes at least: signal strength; Among them, according to the network connection information from each relay device to the target network, a target relay device that meets the conditions is selected from one or more relay devices that the remote device can connect to, including: according to the signal strength from each relay device to the target network, a relay device with the largest signal strength is selected from one or more relay devices that the remote device can connect to, and determined as the target relay device that meets the conditions.
3. The near area communication method according to claim 2, characterized in that: The relay discovery request message also includes: the message type when the remote device performs near-field communication; the network connection information also includes: the message type when the relay device provides relay service; Among them, according to the network connection information from each relay device to the target network, selecting a target relay device that meets the conditions from one or more relay devices that the remote device can connect to includes: According to the message type when the remote device performs near field communication and the message type for which each relay device provides relay service, one or more relay devices that meet the corresponding message type are selected from the one or more relay devices to which the remote device can be connected; According to the signal strength from each relay device to the target network, a relay device with the largest signal strength is selected from one or more relay devices that meet the corresponding message type, and is determined as a target relay device that meets the conditions.
4. The near area communication method according to any one of claims 1 to 3, characterized in that: Before searching for one or more relay devices to which the remote device can connect according to the relay service code included in the relay discovery request message and obtaining network connection information of each relay device to the target network, the method further includes: The relay service codes of multiple relay devices and network connection information of each relay device to a target network are stored, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service.
5. A near area communication method, characterized in that: Applicable to remote devices, including: Sending a relay discovery request message to a relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, the relay service code being at least used to identify one or more relay devices to which the remote device can connect; Receiving a relay discovery response message returned by a target relay device, wherein the target relay device is a target relay device that satisfies a condition and is selected by the relay discovery scheduling center from one or more relay devices that the remote device can connect to; Establishing near-field communication between the remote device and the target relay device according to the relay discovery response message; Wherein, the relay discovery request message further includes: user information of the remote device; Among them, the target relay device is a relay device that authorizes the remote device to use the relay service and meets the conditions, which is selected from one or more relay devices that the remote device can connect to based on the user information of the remote device contained in the relay discovery request message and the relay service code of each relay device.
6. A relay discovery scheduling device, characterized in that: include: A relay discovery request message receiving module, configured to receive a relay discovery request message initiated by a remote device, wherein the relay discovery request message includes: a relay service code, wherein the relay service code is at least used to identify one or more relay devices to which the remote device can connect; A relay discovery module, configured to search for one or more relay devices to which the remote device can connect based on the relay service code contained in the relay discovery request message, and obtain network connection information of each relay device to the target network; A relay screening module, configured to select a target relay device that meets the conditions from one or more relay devices that the remote device can connect to, based on network connection information from each relay device to the target network; A relay discovery request message forwarding module, used to forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device; Wherein, the relay discovery request message further includes: user information of the remote device; Among them, the relay discovery module is also used to: according to the relay service code contained in the relay discovery request message, search for one or more relay devices that the remote device can connect to, and obtain the relay service code of each relay device, wherein the relay service code of each relay device is used to identify one or more remote devices authorized by the relay device to use the relay service; according to the user information of the remote device contained in the relay discovery request message and the relay service code of each relay device, filter one or more relay devices that authorize the remote device to use the relay service from the one or more relay devices that the remote device can connect to; obtain network connection information from each relay device that authorizes the remote device to use the relay service to the target network, and the network connection information is used to characterize the network connection status of the relay device to the target network.
7. A user equipment, characterized in that: include: A relay discovery request message sending module, used to send a relay discovery request message to a relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, the relay service code is at least used to identify one or more relay devices to which the user equipment can connect; A relay discovery response message receiving module, configured to receive a relay discovery response message returned by a target relay device, wherein the target relay device is a target relay device that satisfies a condition selected by the relay discovery scheduling center from one or more relay devices that the user device can connect to; A near area communication module, configured to establish near area communication between the user equipment and the target relay device according to the relay discovery response message; Wherein, the relay discovery request message further includes: user information of the user equipment; Among them, the target relay device is a relay device that authorizes the user device to use the relay service and meets the conditions, which is screened out from one or more relay devices that the user device can connect to based on the user information of the user device contained in the relay discovery request message and the relay service code of each relay device.
8. A near area communication system, characterized in that: include: A remote device, a relay discovery dispatch center, and at least one relay device; The remote device is used to send a relay discovery request message to the relay discovery scheduling center, wherein the relay discovery request message includes: a relay service code, the relay service code is at least used to identify one or more relay devices to which the remote device can connect; The relay discovery scheduling center is used to receive the relay discovery request message, and according to the relay service code contained in the relay discovery request message, find one or more relay devices that the remote device can connect to, obtain network connection information from each relay device to the target network, select a target relay device that meets the conditions from the one or more relay devices that the remote device can connect to according to the network connection information from each relay device to the target network, and forward the relay discovery request message initiated by the remote device to the target relay device, so that the target relay device returns a relay discovery response message to the remote device; Wherein, the relay discovery request message further includes: user information of the remote device; Among them, the target relay device is a relay device that authorizes the remote device to use the relay service and meets the conditions, which is selected from one or more relay devices that the remote device can connect to based on the user information of the remote device contained in the relay discovery request message and the relay service code of each relay device.
9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the near area communication method according to any one of claims 1 to 5 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the near area communication method according to any one of claims 1 to 5 is implemented.
11. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed by a processor, the near area communication method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Relay node discovery method and device, electronic equipment and storage medium
CN116137706A
Data transmission method and device and storage medium
CN116897575A
Relay equipment discovery method in near-field communication scene and related equipment
CN119110268A
Communication processing system, communication processing method, base station, and control method and control program thereof
US20190379450A1