Multi-device self-organizing network method, device, equipment and storage medium

By establishing a data path between a first device and multiple second devices in an ad hoc network and exchanging device information, the problem of cumbersome device authentication in the ad hoc network is solved, and the efficiency and resource utilization of the ad hoc network are improved.

CN115941308BActive Publication Date: 2025-09-05深圳开鸿数字产业发展有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211520096.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-09-05
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

The authentication process between devices in an ad hoc network is cumbersome, occupies network resources and is time-consuming, resulting in low efficiency of the ad hoc network.

Method used

The first device authenticates with multiple second devices respectively, establishes a data path after successful authentication, and obtains the device information of each second device. The second device obtains the device information of other devices from the first device to complete mutual trust, thereby reducing the number of authentications between devices.

Benefits of technology

It reduces the number of authentications between devices, reduces resource consumption and time consumption, improves the efficiency of self-organizing networks, and reduces the complexity and error probability of manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941308B_ABST
    Figure CN115941308B_ABST
Patent Text Reader

Abstract

The present application discloses a method, apparatus, device and storage medium for self-organizing networking of multiple devices. The method includes: a first device authenticates with multiple second devices respectively, and after successful authentication, the first device establishes a data path with each second device; based on the data path, the first device obtains the device information of each second device; each second device obtains the device information of other second devices from the first device to achieve mutual trust between each second device, and the first device and each second device conduct self-organizing networking, thereby improving the efficiency of the self-organizing networking of multiple devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a multi-device self-organizing network method, apparatus, device and storage medium. Background Art

[0002] An ad hoc network (AMN) combines mobile communications with computer networks. Information exchange utilizes the packet switching mechanism used in computer networks, and each device in an AMN functions as both a router and a host. As a host, a device needs to run various user-facing applications, such as editors and browsers. As a router, a device needs to run the appropriate routing protocols and forward data packets and maintain routes based on routing policies and routing tables. Currently, devices in an AMN require authentication between each other. This repetitive and cumbersome authentication process inevitably consumes network resources and is time-consuming, resulting in low AMN efficiency.

[0003] Therefore, how to improve the efficiency of multi-device self-organizing networks has become an urgent problem that needs to be solved. Summary of the Invention

[0004] The embodiments of the present application provide a multi-device self-organizing network method, apparatus, device, and storage medium, which can improve the efficiency of multi-device self-organizing networks.

[0005] In a first aspect, an embodiment of the present application provides a multi-device self-organizing network method, the multi-device self-organizing network method comprising:

[0006] The first device authenticates with the plurality of second devices respectively, and after successful authentication, the first device establishes a data path with each of the second devices;

[0007] The first device obtains device information of each second device based on the data path;

[0008] Each second device obtains the device information of other second devices from the first device to achieve mutual trust between the second devices, and the first device and the second devices form an ad hoc network.

[0009] In a second aspect, an embodiment of the present application further provides a multi-device self-organizing network device, which includes a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the multi-device self-organizing network method described above is executed.

[0010] In a third aspect, an embodiment of the present application further provides a device, which includes the multi-device self-organizing network apparatus as described above.

[0011] In a fourth aspect, an embodiment of the present application further provides a storage medium, which is used to store a computer program. When the computer program is executed by a processor, the processor implements the above-mentioned multi-device self-organizing network method.

[0012] The embodiments of the present application provide a multi-device self-organizing network method, apparatus, device and storage medium, wherein a first device performs authentication with multiple second devices respectively, and after successful authentication, the first device establishes a data path with each second device, and the first device obtains device information of each second device based on the data path, and then each second device obtains device information of other second devices from the first device to complete mutual trust between each second device, and the first device and each second device perform self-organizing networking, which reduces the number of authentications between devices, thereby improving the efficiency of the multi-device self-organizing network. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 This is a schematic diagram of the interaction process of the current multi-device self-organizing network;

[0015] Figure 2 This is a schematic flow chart of the steps of a multi-device self-organizing network method provided by an embodiment of the present application;

[0016] Figure 3 This is a schematic diagram of the interaction process of a multi-device ad hoc network provided by an embodiment of the present application;

[0017] Figure 4 This is another schematic diagram of the interaction process of a multi-device ad hoc network provided by an embodiment of the present application;

[0018] Figure 5 This is a schematic flow chart of the steps of another multi-device self-organizing network method provided by an embodiment of the present application;

[0019] Figure 6 This is a schematic block diagram of a multi-device self-organizing network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of this application more clear, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0021] It should be noted that the terms "first," "second," etc., in this application are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features specified as "first" or "second" may explicitly or implicitly include at least one of these features.

[0022] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of the present application include a particular feature, structure, or characteristic described in conjunction with that embodiment. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in some embodiments" appearing in different places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0023] In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that ordinary technicians in this field can implement them. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0024] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.

[0025] An ad hoc network is a network that combines mobile communications and computer networks. The network's information exchange uses the packet switching mechanism of computer networks. Each device in the ad hoc network has both router and host functions. As a host, the device needs to run various user-oriented applications, such as editors and browsers; as a router, the device needs to run the corresponding routing protocol and complete data packet forwarding and route maintenance according to routing policies and routing tables. Currently, devices in an ad hoc network need to authenticate each other, for example, Figure 1As shown, when devices A, B, and C form an ad hoc network, devices A and B, A and C, and B and C need to authenticate each other. The authentication process is repetitive and cumbersome, which inevitably occupies more network resources and is time-consuming, resulting in low efficiency of the ad hoc network.

[0026] In order to solve the above problems, an embodiment of the present application provides a multi-device self-organizing network method, apparatus, device and storage medium, wherein the method authenticates with multiple second devices respectively through a first device, and after successful authentication, the first device establishes a data path with each second device; based on the data path, the first device obtains the device information of each second device; each second device obtains the device information of other second devices from the first device to complete mutual trust between each second device, and the first device and each second device conduct self-organizing network, thereby improving the efficiency of multi-device self-organizing network.

[0027] See also Figure 2 , Figure 2 This is a flow chart of a multi-device self-organizing networking method provided in an embodiment of the present application. The method can be applied to devices, wherein the device can be any one of a mobile phone, a camera, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, a personal computer (PC), a netbook, and a personal digital assistant (PDA). No limitation is imposed in the embodiments of the present application.

[0028] like Figure 2 As shown, the multi-device self-organizing network method provided in the embodiment of the present application includes steps S101 to S103.

[0029] S101: A first device performs authentication with multiple second devices respectively. After successful authentication, the first device establishes a data path with each of the second devices.

[0030] The first device and the second device are both communication devices to be networked, such as mobile phones, cameras, tablet computers, helmets, etc.

[0031] In some embodiments, the first device authenticates with multiple second devices respectively, and before the first device establishes a data path with each of the second devices after successful authentication, the process includes:

[0032] One communication device is selected from a plurality of communication devices to be determined as the first device, and the other communication devices are determined as the second devices.

[0033] Exemplarily, one communication device may be selected from various communication devices through arbitration and determined as the first device, and the remaining communication devices may be determined as the second devices.

[0034] In another embodiment, the first device may be determined based on the first device setting information input by the user through user interaction, and the other communication devices may be determined as the second device. For example, a first device setting interface may be displayed, and the user may input the first device setting information through the first device setting interface, and the first device may be determined based on the first device setting information input by the user. In another example, a first device setting voice request may be output, and the user may input a first device setting voice reply based on the first device setting voice request, and the first device may be determined based on the first device setting voice reply.

[0035] The first device authenticates each second device separately. Exemplarily, the first device sends a negotiation command to each second device. After receiving the negotiation command, the second device returns a negotiation response command to the first device. After receiving the negotiation response command, the first device sends a request authentication command to the second device. After receiving the request authentication command, the second device returns a request authentication response command to the first device. After receiving the request authentication response command, the first device enters the PIN (Personal Identification Number) code and performs PIN code authentication. After the authentication is passed, it sends an end authentication command to the second device. After the second device receives the end authentication command, the authentication state ends. After the first device completes authentication with each second device separately, the first device establishes a data path with each second device.

[0036] S102: The first device obtains device information of each second device based on the data path.

[0037] After the first device establishes a data path with each second device, the first device obtains device information of the corresponding second device based on each data path. The device information includes but is not limited to device type, device version, device ID, and verification information, and the verification information includes but is not limited to key information.

[0038] S103: Each second device obtains the device information of other second devices from the first device to establish mutual trust between the second devices, and the first device and the second devices form an ad hoc network.

[0039] Because the first device has obtained the device information of each second device, each second device can obtain the device information of each other second device based on the data path with the first device. Based on the device information obtained from other second devices, each second device establishes mutual trust with each other, and the first device and each second device form an ad hoc network.

[0040] For example, Figure 3 As shown, when devices A, B, and C form a self-organizing network, device A serves as the first device, and devices B and C serve as the second devices. Device A and device B perform authentication, and device A and device C perform authentication. Device A obtains device information of devices B and C. Afterwards, device B obtains device information of device C from device A, and device C obtains device information of device B from device A. That is, device B and device C each obtain each other's device information, and based on the device information, mutual trust between device B and device C is completed, and devices A, device B, and device C form a self-organizing network.

[0041] In some embodiments, each of the second devices obtains the device information of other second devices from the first device to achieve mutual trust between the second devices, including:

[0042] The first device to be networked obtains device information of the second device to be networked from the first device, and adds the second device to a trust list of the first device to be networked; and the second device to be networked obtains device information of the first device to be networked from the first device, and adds the first device to a trust list of the second device to be networked;

[0043] The first device to be networked and the second device to be networked are any two devices among the plurality of second devices.

[0044] For example, still Figure 3 Taking devices A, B, and C as an example, device B obtains device C's device information from device A and adds device C to device B's trust list. Device C obtains device B's device information from device A and adds device B to device C's trust list. At this point, mutual trust is established between devices B and C, and a self-organizing network of devices A, B, and C can be completed, reducing the authentication operations between devices B and C.

[0045] For example, Figure 4As shown, when devices A, B, C, and D form an ad hoc network, device A serves as the first device, and devices B, C, and D serve as the second devices. Device A authenticates with device B, device A authenticates with device C, and device A authenticates with device D. Device A obtains device information from devices B, C, and D. Subsequently, device B obtains device information from device A, device C obtains device information from device A, and device D obtains device information from device A. Based on this device information, mutual trust between devices B and C, between devices B and D, and between devices C and D is established, and devices A, B, C, and D form an ad hoc network. This reduces multiple authentication operations, such as authentication between devices B and C, authentication between devices B and D, and authentication between devices C and D.

[0046] In some embodiments, the first device to be networked obtains the device information of the second device to be networked from the first device, and adds the second device to be networked to a trust list of the first device to be networked, including:

[0047] The first device to be networked obtains device information of the second device to be networked from the first device, and obtains verification information according to the device information of the second device to be networked;

[0048] The first device to be networked sends the verification information to the second device to be networked, and the second device to be networked verifies the verification information and returns correct information if the verification is correct;

[0049] The first device to be networked adds the second device to be networked to a trust list of the first device to be networked based on the correct information.

[0050] For example, still Figure 3 Taking devices A, B, and C as an example, device B obtains device C's device information from device A. It then parses and processes device C's device information to obtain verification information, such as a key. Device B sends the verification information to device C, which verifies the received verification information. If the verification is correct, device C returns the correct information to device B. After receiving the correct information from device C, device B adds device C to its trust list. For example, after obtaining the key, device B sends it to device C. Device C compares the received key with its local key to confirm whether they are consistent. If they are consistent, the key is correct, and device C returns the correct information to device B. After receiving the correct information from device C, device B adds device C to its trust list.

[0051] In some embodiments, as Figure 5As shown, step S104 may be further included after step S102.

[0052] S104: The first device completes mutual trust between the second devices based on the device information of the second devices, and the first device and the second devices form an ad hoc network.

[0053] For example, still taking device A, device B, and device C as an example of self-organizing network, device A serves as the first device, and device B and device C serve as the second device. Device A and device B perform authentication, and device A and device C perform authentication. Device A obtains device information of devices B and C. Afterwards, device A completes mutual trust between devices B and C based on the device information of devices B and C, and devices A, device B, and device C form a self-organizing network.

[0054] In some embodiments, the first device completes mutual trust between each second device based on the device information of each second device, including:

[0055] The first device obtains corresponding verification information based on the device information of each second device, and sends the verification information to the corresponding second device. The second device verifies the verification information and returns correct information if the verification is correct.

[0056] The first device completes mutual trust between the second devices based on the correct information returned by the second devices.

[0057] For example, still taking the example of devices A, B, and C forming an ad hoc network, device A serves as the first device, and devices B and C serve as the second devices. Device A authenticates itself with device B, and device A authenticates itself with device C. Device A obtains the device information of devices B and C. Afterwards, device A parses and processes the device information of device B to obtain corresponding verification information, such as a key, and sends the verification information to device B. Device B verifies the received verification information. If the verification is correct, device B returns the correct information to device A. After device A receives the correct information returned by device B, device A records the mutual trust between devices B and C. For example, device A sends the key to device B. Device B compares the received key with its local key to confirm whether they are consistent. If they are consistent, it means that the key is correct. Device B returns the correct information to device A. After device A receives the correct information returned by device B, device A records the mutual trust between devices B and C. Devices A, B, and C form an ad hoc network, reducing the authentication operations between devices B and C.

[0058] Compared with the self-organizing network method of authenticating multiple devices one by one, the number of authentications between multiple devices is reduced, thereby reducing resource consumption and time. At the same time, the reduction in the number of authentications reduces the complexity of manual operations for PIN code verification and reduces the probability of errors.

[0059] In the above embodiment, the first device authenticates with multiple second devices respectively. After the authentication is successful, the first device establishes a data path with each second device. Based on the data path, the first device obtains the device information of each second device. Thereafter, each second device obtains the device information of other second devices from the first device to complete mutual trust between the second devices. The first device and each second device conduct self-organizing networking, which reduces the number of authentications between devices and thus improves the efficiency of multi-device self-organizing networking.

[0060] See also Figure 6 , Figure 6 A schematic block diagram of a multi-device self-organizing network apparatus provided in an embodiment of the present application.

[0061] like Figure 6 As shown, the multi-device self-organizing network apparatus 200 may include a processor 211 and a memory 212 , and the processor 211 and the memory 212 are connected via a bus, such as an I2C (Inter-integrated Circuit) bus.

[0062] Specifically, the processor 211 may be a micro-controller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP).

[0063] Specifically, the memory 212 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk, etc. The memory 212 stores various computer programs for execution by the processor 211 .

[0064] The processor 211 is configured to run a computer program stored in the memory processor 211 and implement the following steps when executing the computer program:

[0065] The first device authenticates with the plurality of second devices respectively, and after successful authentication, the first device establishes a data path with each of the second devices;

[0066] The first device obtains device information of each second device based on the data path;

[0067] Each second device obtains the device information of other second devices from the first device to achieve mutual trust between the second devices, and the first device and the second devices form an ad hoc network.

[0068] In some embodiments, when implementing each of the second devices obtaining the device information of other second devices from the first device to establish mutual trust between the second devices, the processor 211 is configured to implement:

[0069] The first device to be networked obtains device information of the second device to be networked from the first device, and adds the second device to a trust list of the first device to be networked; and the second device to be networked obtains device information of the first device to be networked from the first device, and adds the first device to a trust list of the second device to be networked;

[0070] The first device to be networked and the second device to be networked are any two devices among the plurality of second devices.

[0071] In some embodiments, when the first device to be networked obtains the device information of the second device to be networked from the first device and adds the second device to the trust list of the first device to be networked, the processor 211 is configured to implement:

[0072] The first device to be networked obtains device information of the second device to be networked from the first device, and obtains verification information according to the device information of the second device to be networked;

[0073] The first device to be networked sends the verification information to the second device to be networked, and the second device to be networked verifies the verification information and returns correct information if the verification is correct;

[0074] The first device to be networked adds the second device to be networked to a trust list of the first device to be networked based on the correct information.

[0075] In some embodiments, the device information includes a device ID and the verification information, and the verification information includes a key.

[0076] In some embodiments, after implementing the first device obtaining the device information of each second device based on the data path, the processor 211 is configured to implement:

[0077] The first device completes mutual trust between the second devices based on the device information of the second devices, and the first device and the second devices form an ad hoc network.

[0078] In some embodiments, when the first device completes mutual trust between each second device based on the device information of each second device, the processor 211 is configured to implement:

[0079] The first device obtains corresponding verification information based on the device information of each second device, and sends the verification information to the corresponding second device. The second device verifies the verification information and returns correct information if the verification is correct.

[0080] The first device completes mutual trust between the second devices based on the correct information returned by the second devices.

[0081] In some embodiments, the processor 211 is configured to implement the following before the first device authenticates with multiple second devices respectively and before the first device establishes a data path with each of the second devices after successful authentication:

[0082] One communication device is selected from a plurality of communication devices to be determined as the first device, and the other communication devices are determined as the second devices.

[0083] A device is also provided in an embodiment of the present application. The types of the device include but are not limited to mobile phones, cameras, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, personal computers (PC), netbooks, personal digital assistants (PDA), etc., and no restrictions are imposed in the embodiments of the present application.

[0084] The device includes a multi-device self-organizing network device. Exemplarily, the multi-device self-organizing network device can be the multi-device self-organizing network device 200 described in the above embodiment. The device can execute any of the multi-device self-organizing network methods provided in the embodiments of the present application, and thus can achieve the beneficial effects that can be achieved by any of the multi-device self-organizing network methods provided in the embodiments of the present application. Please refer to the previous embodiments for details and will not be repeated here.

[0085] The present application also provides a storage medium that stores a computer program. The computer program includes program instructions, and the processor executes the program instructions to implement the steps of the multi-device self-organizing network method provided in the above embodiment. For example, the computer program is loaded by the processor and can execute the following steps:

[0086] The first device authenticates each of the plurality of second devices, and after successful authentication, the first device establishes a data path with each of the second devices;

[0087] The first device obtains device information of each second device based on the data path;

[0088] Each second device obtains the device information of other second devices from the first device to achieve mutual trust between the second devices, and the first device and the second devices form an ad hoc network.

[0089] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0090] The storage medium may be an internal storage unit of the multi-device self-organizing network device or device of the aforementioned embodiment, such as a hard disk or memory of the multi-device self-organizing network device or device. The storage medium may also be an external storage device of the multi-device self-organizing network device or device, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (FlashCard), etc. equipped on the multi-device self-organizing network device or device.

[0091] Since the computer program stored in the storage medium can execute any of the multi-device self-organizing networking methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the multi-device self-organizing networking methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0092] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A multi-device self-organizing network method, characterized in that: The multi-device self-organizing network method includes: The first device authenticates each of the plurality of second devices, and after successful authentication, the first device establishes a data path with each of the second devices; The first device obtains device information of each of the second devices based on the data path; Each second device obtains the device information of other second devices from the first device to establish mutual trust between the second devices, and the first device and the second devices form an ad hoc network; Each of the second devices obtains the device information of other second devices from the first device to establish mutual trust between the second devices, including: The first device to be networked obtains device information of the second device to be networked from the first device, and adds the second device to a trust list of the first device to be networked; and the second device to be networked obtains device information of the first device to be networked from the first device, and adds the first device to a trust list of the second device to be networked; The first device to be networked and the second device to be networked are any two devices among the plurality of second devices; The first device to be networked obtains the device information of the second device to be networked from the first device, and adds the second device to be networked to a trust list of the first device to be networked, including: The first device to be networked obtains device information of the second device to be networked from the first device, and obtains verification information according to the device information of the second device to be networked; The first device to be networked sends the verification information to the second device to be networked, and the second device to be networked verifies the verification information and returns correct information if the verification is correct; The first device to be networked adds the second device to be networked to a trust list of the first device to be networked based on the correct information.

2. The method according to claim 1, characterized in that The device information includes a device ID and the verification information, and the verification information includes a key.

3. The method according to claim 1, characterized in that After the first device obtains the device information of each second device based on the data path, the method includes: The first device completes mutual trust between the second devices based on the device information of the second devices, and the first device and the second devices form an ad hoc network.

4. The method according to claim 3, characterized in that The first device completes mutual trust between the second devices according to the device information of the second devices, including: The first device obtains corresponding verification information based on the device information of each second device, and sends the verification information to the corresponding second device. The second device verifies the verification information and returns correct information if the verification is correct. The first device completes mutual trust between each second device based on the correct information returned by each second device.

5. The method according to any one of claims 1 to 4, characterized in that The first device authenticates each of the plurality of second devices, and before the first device establishes a data path with each of the second devices after successful authentication, the method includes: One communication device is selected from a plurality of communication devices to be determined as the first device, and the other communication devices are determined as the second devices.

6. A multi-device self-organizing network device, characterized in that: The multi-device self-organizing network apparatus includes a processor and a memory, wherein the memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the multi-device self-organizing network method according to any one of claims 1 to 5 is implemented.

7. A device, characterized in that The device includes the multi-device self-organizing network apparatus according to claim 6.

8. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the multi-device self-organizing network method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • A method for implementing equipment group and intercommunication between grouped equipments

    CN1691603A