Communication method, system and related equipment between distributed devices

By using near-field communication to exchange permission identification and wireless communication between distributed devices, the problem of inconvenient interaction between traditional smart devices is solved, and automatic networking and efficient communication of heterogeneous devices are achieved.

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

Patent Information

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

AI Technical Summary

Technical Problem

Traditional smart devices have inconveniences when interacting between distributed devices, especially when the devices have different wireless communication methods, making it impossible to conveniently interact with data.

Method used

Through near-field communication (NFC), permission identification and wireless communication methods are exchanged between distributed devices to establish wireless access points, thereby achieving automatic networking and communication connections between devices.

Benefits of technology

It improves the automation and efficiency of networking between distributed devices, avoids the tedious manual connection process, and is suitable for automatic networking of heterogeneous devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115915492B_ABST
    Figure CN115915492B_ABST
Patent Text Reader

Abstract

The present application belongs to the field of network technology and provides a communication method, apparatus, computer equipment and computer-readable storage medium between distributed devices. In order to solve the problem of inconvenient interaction between distributed devices, a first distributed device sends an authorization identifier to a second distributed device based on near-field communication, and obtains a wireless communication mode supported by the second distributed device. The second distributed device verifies the authorization identifier. When the second distributed device successfully verifies the authorization identifier, the first distributed device sends a wireless access point corresponding to the wireless communication mode to the second distributed device based on near-field communication. The second distributed device establishes a communication connection with the first distributed device based on the wireless access point. This can conveniently and automatically network devices under the same local area network without the need for tedious manual connection like the Android system, and can improve the automation and efficiency of device networking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network technology, and in particular to a communication method and system between distributed devices, a computer device, and a computer-readable storage medium. Background Art

[0002] An intelligent device refers to a device, instrument, or machine with computing capabilities. For example, a smart helmet is an intelligent device. A smart helmet is an upgrade from an ordinary helmet to achieve the required intelligent functions. A smart helmet can capture audio and video and needs to be connected to a wireless transmitter. The backend is controlled by a corresponding receiving host or a computer equipped with client software to implement a visual emergency command and dispatch system. The specific transmission distance depends on both the on-site environment and the functional power of the different wireless transmitters.

[0003] Traditionally, smart devices like smart helmets are primarily implemented using the Android system. The Android system has high hardware performance requirements, and implementing smart devices based on the Android system requires access control by launching the corresponding app on a mobile phone or other electronic device. The helmet then uploads data to the corresponding backend via the cellular data network. Because smart devices are implemented using the Android system, interaction with other distributed devices can be inconvenient, especially with screenless distributed devices. For example, if one device only has Bluetooth and another only has Wi-Fi, they cannot directly exchange data. Summary of the Invention

[0004] The present application provides a communication method, system, computer device and computer-readable storage medium between distributed devices, which can solve the technical problem of inconvenient interaction between distributed devices in traditional technologies.

[0005] In a first aspect, the present application provides a communication method between distributed devices, including: a first distributed device sends an authority identifier to a second distributed device based on near-field communication, and obtains a wireless communication mode supported by the second distributed device; the second distributed device verifies the authority identifier; the first distributed device sends a wireless access point corresponding to the wireless communication mode to the second distributed device based on the near-field communication if the second distributed device successfully verifies the authority identifier; the second distributed device establishes a communication connection with the first distributed device based on the wireless access point.

[0006] In the second aspect, the present application provides a communication system between distributed devices, the communication system including a first communication device and a second communication device, wherein the first communication device includes: an interaction unit, for the first distributed device to send an authority identifier to the second distributed device based on near-field communication, and obtain the wireless communication mode supported by the second distributed device; a sending unit, for the first distributed device to send a wireless access point corresponding to the wireless communication mode to the second distributed device based on the near-field communication when the second distributed device verifies the authority identifier; the second communication device includes: a verification unit, for the second distributed device to verify the authority identifier; and an establishment unit, for the second distributed device to establish a communication connection with the first distributed device based on the wireless access point.

[0007] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the first distributed device or the steps of the second distributed device of the communication method between distributed devices are implemented.

[0008] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the first distributed device or the steps of the second distributed device of the communication method between distributed devices.

[0009] The present application provides a communication method, apparatus, computer device, and computer-readable storage medium between distributed devices. The communication method uses a first distributed device to send an authorization identifier to a second distributed device based on near-field communication, and obtains a wireless communication mode supported by the second distributed device. The second distributed device verifies the authorization identifier. When the second distributed device successfully verifies the authorization identifier, the first distributed device sends a wireless access point corresponding to the wireless communication mode to the second distributed device based on near-field communication. The second distributed device establishes a communication connection with the first distributed device based on the wireless access point. This method can conveniently and automatically network devices in the same local area network without the need for tedious manual connection like in the Android system, thereby improving the automation and efficiency of device networking. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0011] Figure 1 A flow chart of a communication method between distributed devices provided in an embodiment of the present application;

[0012] Figure 2 Schematic diagram of different distributed device touch networking in the communication method between distributed devices provided in the embodiments of the present application;

[0013] Figure 3 A schematic block diagram of a communication system between distributed devices provided in an embodiment of the present application;

[0014] Figure 4 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0015] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. 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.

[0016] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0017] An embodiment of the present application provides a communication method between distributed devices, which can be applied to distributed interactive application scenarios of electronic devices with or without screens, such as smartphones, tablets, laptops, desktop computers, helmets, screen displays, recording terminals, AR / VR, etc., and can be applied in the process of distributed interaction among various types of terminals based on but not limited to the distributed capabilities of the Harmony system.

[0018] In the face of the technical problem of inconvenient interaction of distributed devices in traditional technologies, the inventors proposed a communication method between distributed devices in the embodiment of the present application. The core idea of ​​the embodiment of the present application is: in the application scenario of a smart helmet, the smart helmet touches other networking devices through NFC to obtain the wireless communication method (Bluetooth, WiFi, UWB, etc.) supported by the networking device. When confirming that the networking device is capable of networking, the smart helmet sends the wireless hotspot corresponding to the wireless communication method to the networking device. The networking device accesses the smart helmet through the wireless hotspot, so that the smart helmet and the networking device establish soft bus communication based on the wireless hotspot, and different distributed devices can be networked based on the distributed soft bus to realize the networking of heterogeneous devices. Through the above method, NFC, wireless communication methods, and soft buses are combined, and multiple devices under the same local area network can be automatically heterogeneously networked. There is no need to manually perform cumbersome connections like the Android system, which can improve the automation and efficiency of heterogeneous device networking.

[0019] The following embodiments of the present application are described in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0020] See also Figure 1 , Figure 1 A flow chart of a communication method between distributed devices provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method includes but is not limited to the following steps S11-S14:

[0021] S11. The first distributed device sends an authorization identifier to the second distributed device based on near field communication, and obtains a wireless communication method supported by the second distributed device.

[0022] In an exemplary embodiment, near field communication (NFC) is a short-range, high-frequency wireless communication technology that integrates contactless radio frequency identification (RFID) and interconnection technologies and can be referred to as "touch and pay." NFC functionality is pre-configured on distributed devices so that the distributed devices support NFC functionality, i.e., the distributed devices support near field communication. The distributed devices can be screenless devices or display devices. Screenless devices are devices that do not include a display screen, such as cameras or smart helmets. Display devices are devices that include a display screen, such as smartphones, smartwatches, tablets, or laptops.

[0023] Based on the above configuration, when a connection is triggered between the first distributed device and the second distributed device, for example, when the first distributed device and the second distributed device are "touched" via NFC, based on near-field communication, the first distributed device and the second distributed device are touched via NFC to exchange device information. The device information includes the permission identifier of the first distributed device and the wireless communication method supported by the second distributed device itself. The permission identifier can be the domain identifier of the first distributed device. The domain identifier describes the attributes of the first distributed device. For example, the domain identifier can describe the permissions and other attributes of the first distributed device. The domain identifier can be used for authentication. The second distributed device verifies the first distributed device using the domain identifier as verification information, which can ensure the security of the communication connection in a distributed device environment. The wireless communication methods include Bluetooth, WiFi, UWB, etc., so that the first distributed device sends the permission identifier to the second distributed device and obtains the wireless communication method supported by the second distributed device.

[0024] See also Figure 2 , Figure 2 Schematic diagram of different distributed device contact networking in the communication method between distributed devices provided in the embodiment of this application. Figure 2 As shown, in this example, device 1 and device 2 exchange device information via NFC tapping, and device 1 and device 3 exchange device information via NFC tapping. In one example scenario, device 1 sends its own permission identifier to device 2 and obtains the wireless communication method supported by device 2. That is, device 1 obtains which wireless communication method device 2 supports, such as Bluetooth, WiFi, or UWB (Ultra Wide Band), thereby determining the wireless connection method between device 1 and the other devices. The situation between device 1 and device 3 is similar to that between device 1 and device 2 and will not be repeated here.

[0025] S12. The second distributed device verifies the authority identifier.

[0026] In an exemplary embodiment, after receiving the permission identifier sent by the first distributed device, the second distributed device verifies the validity, consistency and other permission attributes of the permission identifier. For example, the second distributed device can determine whether the permission identifier sent by the first distributed device is consistent with the permission identifier of the local end, and then verify the permission identifier of the first distributed device based on the consistency of the permission identifier. The second distributed device can also feedback the verification result corresponding to the verification of the permission identifier to the first distributed device, or take corresponding actions based on the verification result corresponding to the verification of the permission identifier, for example, if the verification passes, allowing the first distributed device to establish a connection with itself, and if the verification fails, not allowing the first distributed device to establish a connection with itself.

[0027] S13: When the second distributed device successfully verifies the authority identifier, the first distributed device sends a wireless access point corresponding to the wireless communication mode to the second distributed device based on the near field communication.

[0028] In an exemplary embodiment, a wireless access point, also known as a wireless AP (Access Point), is a wireless switch used in a wireless network and is also the core of the wireless network.

[0029] When the first distributed device learns that the wireless communication method supported by the second distributed device is a wireless communication method such as Bluetooth, WiFi or UWB, and when the second distributed device verifies the authority identifier to determine that it can connect to the second distributed device, based on near-field communication, the first distributed device sends the wireless access point corresponding to the wireless communication method to the second distributed device. For example, when the wireless communication method supported by the second distributed device is Bluetooth, the first distributed device sends the Bluetooth connection method identifier such as the Bluetooth name of the local wireless access point to the second distributed device; when the wireless communication method supported by the second distributed device is WiFi, the first distributed device sends the WiFi AP such as the WiFi account and password of the local wireless access point to the second distributed device; when the wireless communication method supported by the second distributed device is UWB, the first distributed device sends the access method corresponding to the UWB of the local wireless access point to the second distributed device.

[0030] Please continue reading Figure 2 In one example, during the process of establishing a connection between device 1 and device 2, when device 2 passes the domain identification verification of device 1 to determine that it is allowed to establish a connection with the first distributed device, based on near-field communication, device 1 sends its own wireless access point to device 2, and device 2 establishes a connection with device 1 based on the above wireless access point. The connection between device 1 and device 3 is similar to the connection between device 1 and device 2, and will not be repeated here.

[0031] S14: The second distributed device establishes a communication connection with the first distributed device according to the wireless access point.

[0032] In an exemplary embodiment, the second distributed device accesses the wireless network of the first distributed device according to the wireless access point to establish a wireless network connection with the first distributed device, thereby establishing a communication connection between the first distributed device and the second distributed device. For example, according to the WiFi AP, the second distributed device accesses the WiFi wireless network of the first distributed device to establish a WiFi connection between the first distributed device and the second distributed device. Similarly, according to the Bluetooth AP, the second distributed device accesses the Bluetooth wireless network of the first distributed device to establish a Bluetooth connection between the first distributed device and the second distributed device. According to the UWB AP, the second distributed device accesses the UWB wireless connection of the first distributed device to establish a UWB connection between the first distributed device and the second distributed device. Please continue to refer to Figure 2 ,like Figure 2 As shown, based on the above manner, a communication connection is established between device 1 and device 2, and a communication connection can also be established between device 1 and device 3.

[0033] In one example, the distributed devices can be pre-configured to support a distributed soft bus including but not limited to Hongmeng operating system (OpenHarmony) or Kaihong operating system (KaihongOS), wherein KaihongOS is an operating system based on OpenHarmony. Based on this, the second distributed device establishes a communication connection with the first distributed device according to the wireless access point, and the second distributed device can establish a soft bus communication with the first distributed device based on the wireless access point based on the distributed soft bus, thereby realizing the communication connection of the distributed devices based on the distributed soft bus. Among them, the soft bus communication is a distributed bus technology, which is proposed to solve the convenient and efficient interconnection between all 1+8+N devices. 1 refers to mobile phones, 8 refers to car computers, speakers, headphones, watches / bracelets, tablets, large screens, PCs, AR / VR, and N refers to other IOT devices. In this example, automatic networking based on a distributed soft bus can be achieved between heterogeneous devices. For example, please continue to refer to Figure 2By establishing soft bus communication between device 1 and device 2, and establishing soft bus communication between device 1 and device 3, further, especially when device 2 and device 3 cannot be interconnected, through distributed soft bus technology, device 1, device 2 and device 3 are networked based on the distributed soft bus, which can realize automatic heterogeneous networking and communication between device 2 and device 3. Especially when the distributed devices include screenless devices such as speakers, headphones, cameras, smart helmets, etc., by combining NFC, wireless communication methods, and soft buses, multiple heterogeneous devices under the same local area network can be automatically networked without the need for manual tedious connections like the Android system, which can improve the automation and efficiency of heterogeneous device networking.

[0034] In an embodiment of the present application, a first distributed device sends an authorization identifier to a second distributed device based on near-field communication, and obtains a wireless communication method supported by the second distributed device. The second distributed device verifies the authorization identifier. When the second distributed device successfully verifies the authorization identifier, the first distributed device sends a wireless access point corresponding to the wireless communication method to the second distributed device based on near-field communication. The second distributed device establishes a communication connection with the first distributed device based on the wireless access point, which can conveniently and automatically network devices under the same local area network without the need for tedious manual connection like the Android system, thereby improving the automation and efficiency of device networking.

[0035] In one embodiment, after the second distributed device establishes soft bus communication with the first distributed device, the further step further includes:

[0036] The third distributed device establishes soft bus communication with the first distributed device according to the corresponding wireless access point;

[0037] Based on soft bus communication, the first distributed device is networked with the second distributed device and the third distributed device.

[0038] In an exemplary embodiment, based on a similar method of establishing soft bus communication with the first distributed device and the second distributed device, the first distributed device can also establish corresponding soft bus communication with the third distributed device, that is, according to the wireless access point corresponding to the third distributed device, the third distributed device accesses the first distributed device, and the first distributed device establishes soft bus communication with the third distributed device, wherein the wireless access point corresponding to the second distributed device and the wireless access point corresponding to the third distributed device can be different wireless communication methods or the same wireless communication method, and the second distributed device and the third distributed device can be heterogeneous devices. Based on the soft bus communication between the first distributed device and the second distributed device and the soft bus communication between the first distributed device and the third distributed device, the first distributed device, the second distributed device, and the third distributed device are networked, so that heterogeneous devices supporting different wireless communication methods can be networked. For example, please continue to refer to Figure 2 By establishing a first soft bus communication between device 1 and device 2, and establishing a second soft bus communication between device 1 and device 3, especially when device 2 and device 3 cannot be interconnected, through distributed soft bus technology, device 1, device 2 and device 3 are networked based on the distributed soft bus, which can realize automatic networking and communication of heterogeneous devices between device 2 and device 3. Especially when the distributed devices include screenless devices such as speakers, headphones, cameras, smart helmets, etc., by combining NFC, wireless communication methods, and soft buses, multiple heterogeneous devices under the same local area network can be easily automatically networked, thereby solving the problem of fusion sharing and conflict of communication links of distributed devices in different wireless communication methods, and realizing multi-device interconnection between heterogeneous devices. There is no need for manual tedious connection like the Android system, which can improve the automation and efficiency of heterogeneous device networking.

[0039] In one embodiment, the authority identifier is a domain identifier; before the first distributed device sends the authority identifier to the second distributed device based on near field communication, the method further includes:

[0040] The first distributed device obtains the domain identifier written by the fourth distributed device based on near field communication; and when verifying that the domain identifier is valid, the first distributed device locally stores the domain identifier.

[0041] Furthermore, after the domain identifier is locally stored, the method further includes:

[0042] The first distributed device feeds back information that the domain identifier is valid to the fourth distributed device;

[0043] The fourth distributed device sends authorization information to the first distributed device according to the valid domain identifier information;

[0044] The first distributed device obtains the authorization information and stores the authorization information in the cloud.

[0045] In an exemplary embodiment, in a distributed application environment based on but not limited to Hongmeng operating system (OpenHarmony) or Kaihong operating system (KaihongOS), the fourth distributed device may be a screen display device including but not limited to a tablet computer, and the first distributed device may be a screenless device including but not limited to a smart helmet. In the case where the fourth distributed device is a tablet computer and the first distributed device is a smart helmet, the process of registering the first distributed device is as follows: the tablet computer and the smart helmet respectively obtain each other's device type information through NFC, and the tablet computer sends a domain identifier to the smart helmet (in this case, a tablet computer generates a unique domain identifier, and this domain identifier has the same local area network). The smart helmet verifies whether the domain identifier is valid. If the domain identifier is verified to be valid, the domain identifier is stored locally, that is, the first distributed device stores the domain identifier on the local end, and the smart helmet sends information that the domain identifier is valid to the tablet. When the tablet obtains confirmation from the smart helmet that the domain identifier is valid, it sends authorization information to the smart helmet based on the information that the domain identifier is valid. The smart helmet stores the authorization information in the cloud, and the tablet reports the device type information of the smart helmet to the cloud. The smart helmet completes the registration, so that the smart helmet can perform device networking and communication in a distributed application environment based on but not limited to Hongmeng operating system (OpenHarmony) or Kaihong operating system (KaihongOS).

[0046] In an embodiment of the present application, the first distributed device obtains the domain identifier written by the fourth distributed device based on near-field communication. After verifying that the domain identifier is valid, the first distributed device locally stores the domain identifier. Thus, in a distributed application environment based on a distributed soft bus, the corresponding domain identifier is obtained during the registration process of the first distributed device, which can prevent unauthenticated distributed devices from being able to connect at will and ensure the security of communication between distributed devices.

[0047] In one embodiment, the second distributed device verifies the authority identifier, including:

[0048] Determine whether the permission identifier is consistent with the permission identifier of the local terminal;

[0049] If the authority identifier is consistent with the authority identifier of the local end, the authority identifier is verified successfully.

[0050] In an exemplary embodiment, in a distributed application environment based on but not limited to the Hongmeng operating system (OpenHarmony) or the Kaihong operating system (KaihongOS), when a communication connection is established between a first distributed device and a second distributed device, the first distributed device and the second distributed device are registered in advance, so that the first distributed device and the second distributed device respectively obtain the same authority identifier including but not limited to the domain identifier in the same local area network.

[0051] Based on the above settings, the first distributed device and the second distributed device exchange device information through NFC touch. The first distributed device sends the permission identifier to the second distributed device, and the second distributed device determines whether the permission identifier is consistent with the permission identifier of the local end. When the permission identifier obtained from the first distributed device is consistent with the permission identifier of the local end, the second distributed device verifies the permission identifier and feeds back the information of the permission identifier verification to the first distributed device. Based on the feedback, the first distributed device confirms that the second distributed device verifies the permission identifier. Furthermore, in other exemplary embodiments, when the permission identifier obtained from the first distributed device is inconsistent with the permission identifier of the local end, the first distributed device is prompted to reject the connection, thereby ensuring that the first distributed device is a confirmed device with a domain identifier, and can ensure the security of communication between distributed devices.

[0052] In one embodiment, before determining whether the permission identifier is consistent with the permission identifier of the local end, the method further includes:

[0053] Determining whether the first distributed device has an authority identifier;

[0054] When it is confirmed that the first distributed device has the authority identifier, the step of determining whether the authority identifier is consistent with the authority identifier of the local end is performed.

[0055] In an exemplary embodiment, a first distributed device and a second distributed device exchange device information via NFC touch. The first distributed device sends a permission identifier to the second distributed device. The second distributed device pre-determines whether the first distributed device has the permission identifier. If the second distributed device determines that the first distributed device has the permission identifier, the second distributed device then performs a step of determining whether the obtained permission identifier of the first distributed device is consistent with the permission identifier of the local end. Then, if the permission identifier of the first distributed device is consistent with the permission identifier of the local end, the second distributed device verifies the permission identifier. If the second distributed device determines that the first distributed device does not have the permission identifier, for example, if the second distributed device determines that the permission identifier of the first distributed device is empty, the second distributed device may prompt the first distributed device to obtain the permission identifier first. For example, in a distributed application environment based on but not limited to the Hongmeng operating system (OpenHarmony) or the Kaihong operating system (KaihongOS), the second distributed device may prompt the first distributed device to complete registration first to obtain a domain identifier, thereby performing corresponding prompt processing for different situations of the domain identifier of the first distributed device, so that corresponding maintenance can be performed according to the corresponding prompt, thereby improving communication efficiency between distributed devices.

[0056] In an embodiment of the present application, the second distributed device pre-determines whether the first distributed device has an authorization identifier. When the second distributed device determines that the first distributed device has an authorization identifier, it further determines whether the obtained authorization identifier of the first distributed device is consistent with the authorization identifier of the local end. This can further ensure the security of communication between distributed devices. Moreover, since the second distributed device pre-determines whether the first distributed device has an authorization identifier, it is simpler than determining whether the obtained authorization identifier of the first distributed device is consistent with the authorization identifier of the local end, thereby improving the efficiency of the second distributed device in verifying the authorization identifier of the first distributed device.

[0057] It should be noted that the communication methods between distributed devices described in the above embodiments can recombine the technical features contained in different embodiments as needed to obtain a combined implementation plan, but they are all within the scope of protection required by this application.

[0058] See also Figure 3 , Figure 3 This is a schematic block diagram of a communication system between distributed devices provided in an embodiment of the present application. Corresponding to the above-mentioned communication method between distributed devices, an embodiment of the present application also provides a communication system between distributed devices. Figure 3As shown, the communication system between distributed devices includes a unit for executing the above-mentioned communication method between distributed devices. The units included in the communication system between distributed devices can be configured in a computer device. Specifically, please refer to Figure 3 The communication system includes a first communication device and a second communication device. The communication system 30 between distributed devices includes a first communication device and a second communication device. The first communication device includes an interaction unit 31 and a sending unit 32. The second communication device includes a verification unit 33 and an establishment unit 34.

[0059] The interaction unit 31 is configured to enable the first distributed device to send an authorization identifier to the second distributed device based on near field communication, and to obtain a wireless communication method supported by the second distributed device;

[0060] A sending unit 32 is configured to send, by the first distributed device, a wireless access point corresponding to the wireless communication mode to the second distributed device based on the near field communication if the second distributed device successfully verifies the authority identifier;

[0061] A verification unit 33, configured for the second distributed device to verify the authority identifier;

[0062] The establishing unit 34 is configured to enable the second distributed device to establish a communication connection with the first distributed device according to the wireless access point.

[0063] In one embodiment, the establishing unit 34 is specifically based on a distributed soft bus, and the second distributed device establishes soft bus communication with the first distributed device.

[0064] In one embodiment, the communication system 30 between distributed devices further includes:

[0065] Another establishing unit is used for the third distributed device to establish soft bus communication with the first distributed device according to the corresponding wireless access point;

[0066] A networking unit is used for networking the first distributed device with the second distributed device and the third distributed device based on soft bus communication.

[0067] In one embodiment, the authority identifier is a domain identifier, and the communication system 30 between distributed devices further includes:

[0068] A first acquiring unit, configured for the first distributed device to acquire, based on near field communication, a domain identifier written by a fourth distributed device;

[0069] The first storage unit is configured to locally store the domain identifier on the first distributed device when the domain identifier is verified to be valid.

[0070] In one embodiment, the communication system 30 between distributed devices further includes:

[0071] a first feedback unit, configured for the first distributed device to feed back information that the domain identifier is valid to the fourth distributed device;

[0072] Another sending unit, configured for the fourth distributed device to send authorization information to the first distributed device according to the valid domain identifier information;

[0073] The second storage unit is used for the first distributed device to obtain the authorization information and store the authorization information in the cloud.

[0074] In one embodiment, the verification unit 33 includes:

[0075] A first judgment subunit is used to judge whether the permission identifier is consistent with the permission identifier of the local end;

[0076] The determination subunit is configured to verify that the authority identifier is successful when the authority identifier is consistent with the authority identifier of the local end.

[0077] In one embodiment, the verification unit 33 further includes:

[0078] A second judging subunit, configured to judge whether the first distributed device has an authority identifier;

[0079] The execution subunit is used to execute the step of determining whether the authority identifier is consistent with the authority identifier of the local end when it is confirmed that the first distributed device has the authority identifier.

[0080] It should be noted that technical personnel in the relevant field can clearly understand that the specific implementation process of the communication system and each unit between the above-mentioned distributed devices can refer to the corresponding description in the aforementioned method embodiment. For the convenience and conciseness of the description, it will not be repeated here.

[0081] At the same time, the division and connection methods of each unit in the above-mentioned communication system between distributed devices are only used for illustration. In other embodiments, the communication device between distributed devices can be divided into different units as needed, and the units in the communication system between distributed devices can also adopt different connection orders and methods to complete all or part of the functions of the above-mentioned communication system between distributed devices.

[0082] The communication system between the distributed devices can be implemented in the form of a computer program. Figure 4 Runs on the computer equipment shown.

[0083] See also Figure 4 , Figure 4 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or part in other devices.

[0084] See Figure 4 The computer device 500 includes a processor 502, a memory and a network interface 505 connected through a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be a volatile storage medium.

[0085] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute the above-mentioned communication method between distributed devices.

[0086] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500.

[0087] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the steps of the first distributed device or the second distributed device of the above-mentioned communication method between distributed devices.

[0088] The network interface 505 is used to communicate with other devices through the network. Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structure and function of the memory and processor are the same as those in the embodiment of the present application. Figure 4 The embodiments shown are consistent and will not be described again here.

[0089] The processor 502 is configured to run the computer program 5032 stored in the memory to implement the steps of the first distributed device or the steps of the second distributed device of the method for communication between distributed devices as described above.

[0090] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0091] Those skilled in the art will appreciate that all or part of the process steps in the method of the above embodiment can be implemented using a computer program, which can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the steps of the first distributed device or the steps of the second distributed device in the process steps of the embodiment of the above method.

[0092] Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the following steps:

[0093] A computer program product, when running on a computer, enables the computer to execute the steps of the first distributed device or the steps of the second distributed device of the communication method between distributed devices described in the above embodiments.

[0094] The computer-readable storage medium may be an internal storage unit of the aforementioned device, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Furthermore, the computer-readable storage medium may include both an internal storage unit of the device and an external storage device.

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

[0096] The storage medium is a physical, non-transient storage medium, for example, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which can store computer programs.

[0097] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0098] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and other division methods may be used in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not implemented.

[0099] The steps in the method of the embodiment of the present application can be adjusted in order, combined, and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided, and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit.

[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling an electronic device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0101] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and such modifications or substitutions should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A communication method between distributed devices, characterized in that: include: The first distributed device sends the permission identifier to the second distributed device based on near field communication, and obtains the wireless communication method supported by the second distributed device; The second distributed device verifies the authority identifier; When the second distributed device successfully verifies the authority identifier, the first distributed device sends a wireless access point corresponding to the wireless communication mode to the second distributed device based on the near field communication; The second distributed device establishes a communication connection with the first distributed device according to the wireless access point; The establishing of a communication connection with the first distributed device includes: Based on the distributed soft bus, the second distributed device establishes soft bus communication with the first distributed device; Furthermore, after the second distributed device establishes soft bus communication with the first distributed device, the method further includes: The third distributed device establishes soft bus communication with the first distributed device according to the corresponding wireless access point, wherein the third distributed device and the second distributed device are heterogeneous devices; Based on soft bus communication, the first distributed device is networked with the second distributed device and the third distributed device.

2. The communication method between distributed devices according to claim 1, characterized in that: The authority identifier is a domain identifier; before the first distributed device sends the authority identifier to the second distributed device based on near field communication, the method further includes: The first distributed device obtains the domain identifier written by the fourth distributed device based on near field communication; When verifying that the domain identifier is valid, the first distributed device locally stores the domain identifier.

3. The communication method between distributed devices according to claim 2, characterized in that: After the domain identifier is locally stored, the method further includes: The first distributed device feeds back information that the domain identifier is valid to the fourth distributed device; The fourth distributed device sends authorization information to the first distributed device according to the valid domain identifier information; The first distributed device obtains the authorization information and stores the authorization information in the cloud.

4. The communication method between distributed devices according to claim 1, characterized in that: The second distributed device verifies the authority identifier, including: Determine whether the permission identifier is consistent with the permission identifier of the local terminal; When the authority identifier is consistent with the authority identifier of the local end, the authority identifier is verified successfully.

5. The communication method between distributed devices according to claim 4, characterized in that: Before determining whether the authority identifier is consistent with the authority identifier of the local end, the method further includes: Determining whether the first distributed device has an authority identifier; When it is confirmed that the first distributed device has the authority identifier, the step of determining whether the authority identifier is consistent with the authority identifier of the local end is performed.

6. A communication system between distributed devices, characterized in that: The communication system includes a first communication device and a second communication device, wherein the first communication device includes: An interaction unit, configured for the first distributed device to send an authorization identifier to the second distributed device based on near field communication, and to obtain a wireless communication method supported by the second distributed device; A sending unit, configured for the first distributed device to send a wireless access point corresponding to the wireless communication mode to the second distributed device based on the near field communication if the second distributed device successfully verifies the authority identifier; The second communication device includes: A verification unit, configured for the second distributed device to verify the authority identifier; an establishing unit, configured for the second distributed device to establish a communication connection with the first distributed device according to the wireless access point; Wherein, the establishing unit is specifically based on a distributed soft bus, and the second distributed device establishes soft bus communication with the first distributed device; The communication system between the distributed devices further includes: Another establishing unit is used for a third distributed device to establish soft bus communication with the first distributed device according to a corresponding wireless access point, wherein the third distributed device and the second distributed device are heterogeneous devices; A networking unit is used for networking the first distributed device with the second distributed device and the third distributed device based on soft bus communication.

7. A computer device, characterized in that: The computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program to execute the steps of the first distributed device or the steps of the second distributed device of the communication method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the first distributed device or the steps of the second distributed device of the communication method according to any one of claims 1 to 5 can be implemented.

Citation Information

Patent Citations

  • Device for executing communicaiton and control method thereof

    CN112019996A