Networking method, networking device, computer device, system and storage medium

By identifying and controlling the protocol and frequency band information of RF transceivers through a distributed soft bus framework, the problem of low networking efficiency of devices is solved, the compatibility requirements of multiple frequency bands and multiple protocols are met, and networking efficiency is improved.

CN116647849BActive Publication Date: 2026-02-06深圳开鸿数字产业发展有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310481440.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2026-02-06
Estimated Expiration
2043-04-27

AI Technical Summary

Technical Problem

Differences in protocols and frequency bands among different devices lead to low networking efficiency and increased time and labor costs.

Method used

A distributed soft bus framework is adopted. The protocol and frequency band information of the self-organizing network signal are identified through the protocol stack layer and driver layer. The target RF transceiver driver is determined and the RF transceiver is controlled to enter the corresponding frequency band to realize networking.

Benefits of technology

It achieves multi-band and multi-protocol compatibility of devices during the networking process, thereby improving networking efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116647849B_ABST
    Figure CN116647849B_ABST
Patent Text Reader

Abstract

The application provides a networking method, device, equipment, system and storage medium. The method comprises the following steps: receiving an ad hoc network signal sent by a second device through a driver layer, and sending the ad hoc network signal to a protocol frequency band identification module; receiving the ad hoc network signal through the protocol frequency band identification module, identifying the ad hoc network signal based on a protocol stack database module, and obtaining corresponding protocol information and frequency band information; determining a target radio frequency transceiver driver based on the protocol information through a protocol frequency band control module, and sending the protocol information and the frequency band information to the target radio frequency transceiver driver; receiving the protocol information and the frequency band information through the target radio frequency transceiver driver, and determining a corresponding target radio frequency transceiver; controlling the target radio frequency transceiver to enter a corresponding frequency band based on the frequency band information, and sending a corresponding radio frequency signal to the second device, so as to realize networking. The embodiment of the application aims to provide a networking method to meet the requirements of multi-frequency band and multi-protocol compatibility in the device networking process.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a networking method, a networking device, a computer device, a networking system and a computer readable storage medium. BACKGROUND

[0002] At present, with the development of Internet of Things technology, in order to realize the interconnection of all things, different devices need to be networked, and then connected to each other to achieve the purpose of data information transmission. Distributed soft bus technology can support the networking and communication of different devices, and realize the interconnection between different devices.

[0003] However, because different devices may support different protocols and frequency bands, it is usually necessary to modify the hardware of the device to achieve the requirement of multi-frequency band or multi-protocol compatibility, so as to realize the networking of the device, resulting in low efficiency of device interconnection, and increasing the time cost and labor cost. SUMMARY

[0004] The present application provides a networking method, a networking device, a computer device, a networking system and a computer readable storage medium, aiming to realize the requirement of multi-frequency band and multi-protocol compatibility in the process of device networking.

[0005] To achieve the above purpose, the present application provides a networking method, which is applied to a first device, the first device comprising a distributed soft bus framework, the distributed soft bus framework comprising at least a protocol stack layer and a driver layer, the protocol stack layer comprising a protocol stack database module, a protocol frequency band identification module and a protocol frequency band control module, the protocol stack database module storing a plurality of protocol stacks, the method comprising:

[0006] receiving a self-networking signal sent by a second device through the driver layer, and sending the self-networking signal to the protocol frequency band identification module, wherein the driver layer comprises a radio frequency transceiver driver;

[0007] receiving the self-networking signal through the protocol frequency band identification module, and identifying the self-networking signal based on the protocol stack database module to obtain corresponding protocol information and frequency band information;

[0008] determining a target radio frequency transceiver driver corresponding to the protocol information based on the protocol frequency band control module, and sending the protocol information and the frequency band information to the target radio frequency transceiver driver;

[0009] receiving the protocol information and the frequency band information through the target radio frequency transceiver driver, and determining a target radio frequency transceiver corresponding to the target radio frequency transceiver driver;

[0010] Control the target radio frequency transceiver to transmit into the corresponding frequency band based on the frequency band information, and send the corresponding radio frequency signal to the second device to realize networking.

[0011] Optionally, after the target radio frequency transceiver driver receives the protocol information and the frequency band information, the method further comprises:

[0012] The protocol information and the frequency band information are sent to a preset management platform for recording by the target radio frequency transceiver driver.

[0013] Optionally, the plurality of protocol stacks comprises LoRaWAN, Sigfox or IEEE 802.15.4.

[0014] Optionally, the first device comprises at least a first radio frequency transceiver and a second radio frequency transceiver, wherein the corresponding frequency bands of the first radio frequency transceiver and the second radio frequency transceiver are different.

[0015] Optionally, the first device is electrically connected with a preset communication device, and the communication device comprises at least a third radio frequency transceiver and a fourth radio frequency transceiver, wherein the corresponding frequency bands of the third radio frequency transceiver and the fourth radio frequency transceiver are different.

[0016] Optionally, the distributed soft bus framework further comprises a network layer, and after the protocol information and the frequency band information are sent to the target radio frequency transceiver driver, the method further comprises:

[0017] Judging whether the sending result of the protocol frequency band control module sending the protocol information and the frequency band information to the target radio frequency transceiver driver is sending success or not;

[0018] When the sending result is sending success, feeding back the execution result of sending success to the network layer.

[0019] Optionally, the protocol stack layer further comprises a protocol stack conversion module, and after the target radio frequency transceiver is controlled to transmit into the corresponding frequency band based on the frequency band information, and the corresponding radio frequency signal is sent to the second device to realize networking, the method further comprises:

[0020] Receiving first data information sent by the second device after networking through the target radio frequency transceiver driver, and sending the first data information to the protocol stack conversion module, wherein the data information comprises first physical protocol information;

[0021] Receiving the first data information through the protocol stack conversion module, converting the first physical protocol information into target physical protocol information, obtaining target data information, and sending the target data information to the network layer;

[0022] The target data information is received through the network layer and transmitted.

[0023] To achieve the above object, the application further provides a networking device, comprising:

[0024] A receiving module is configured to receive an ad hoc network signal sent by a second device through a driving layer and send the ad hoc network signal to a protocol frequency band identification module, wherein the driving layer comprises a radio frequency transceiver driver;

[0025] An identification module is configured to receive the ad hoc network signal through the protocol frequency band identification module and identify the ad hoc network signal based on a protocol stack database module to obtain corresponding protocol information and frequency band information;

[0026] A sending module is configured to determine a target radio frequency transceiver driver based on the protocol information through a protocol frequency band control module and send the protocol information and the frequency band information to the target radio frequency transceiver driver;

[0027] The receiving module is further configured to receive the protocol information and the frequency band information through the target radio frequency transceiver driver and determine a target radio frequency transceiver corresponding to the target radio frequency transceiver driver;

[0028] A networking module is configured to control the target radio frequency transceiver to enter a corresponding frequency band based on the frequency band information and send a corresponding radio frequency signal to the second device to realize networking.

[0029] In addition, to achieve the above object, the application further provides a computer device, comprising a memory and a processor; the memory is configured to store a computer program; the processor is configured to execute the computer program and realize the steps of any one of the networking methods provided in the embodiments of the application when executing the computer program.

[0030] In addition, to achieve the above object, the application further provides a networking system, comprising a first device and at least one second device; the first device and the second device are configured to realize the steps of any one of the networking methods provided in the embodiments of the application.

[0031] In addition, to achieve the above object, the application further provides a computer readable storage medium, which stores a computer program; the computer program is executed by a processor to make the processor realize the steps of any one of the networking methods provided in the embodiments of the application.

[0032] The networking method, the networking device, the computer device, the networking system and the computer readable storage medium provided by the embodiments of the present application can be applied to a first device, and the first device comprises a distributed soft bus framework, wherein the distributed soft bus framework at least comprises a protocol stack layer and a driver layer, the protocol stack layer comprises a protocol stack database module, a protocol frequency band identification module and a protocol frequency band control module, and the protocol stack database module stores a plurality of protocol stacks. Based on this, the self-networking signal sent by a second device can be received through the driver layer, and the self-networking signal is sent to the protocol frequency band identification module, so that the protocol frequency band identification module can receive the self-networking information, and identify the self-networking signal based on the protocol stack database module to obtain corresponding protocol information and frequency band information. Further, the corresponding target radio frequency transceiver driver can be determined based on the protocol information through the protocol frequency band control module, and the protocol information and the frequency band information are sent to the target radio frequency transceiver driver, so that the target radio frequency transceiver driver receives the protocol information and the frequency band information, and determines the target radio frequency transceiver corresponding to the target radio frequency transceiver driver. In this way, the corresponding frequency band can be controlled based on the frequency band information, and the corresponding radio frequency signal is sent to the second device, so as to realize networking. Through the above steps, the requirements of multi-frequency band and multi-protocol compatibility of the device in the networking process can be realized, and the efficiency of device networking is improved. BRIEF DESCRIPTION OF DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0034] Figure 1 is a step schematic diagram of a networking method provided by an embodiment of the present application;

[0035] Figure 2 is a scene schematic diagram of a networking method provided by an embodiment of the present application;

[0036] Figure 3 is a step schematic diagram of another networking method provided by an embodiment of the present application;

[0037] Figure 4 is a step schematic diagram of another networking method provided by an embodiment of the present application;

[0038] Figure 5 is a schematic block diagram of a networking device provided by an embodiment of the present application;

[0039] Figure 6 is a schematic block diagram of a computer device provided by an embodiment of the present application;

[0040] Figure 7 is a schematic block diagram of a networking system provided by an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0042] The flowcharts shown in the drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor are they necessarily executed in the order described. For example, some operations / steps can be further divided, combined or partially merged, so that the actual execution order may be changed according to the actual situation. In addition, although the functional modules are divided in the device schematic diagram, in some cases, the module division may be different from that in the device schematic diagram.

[0043] The term "and / or" used in the present application and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0044] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments and features in the embodiments can be combined with each other without conflict.

[0045] Please refer to Figure 1 and Figure 2 , Figure 1 is a schematic diagram of steps of a networking method provided by an embodiment of the present application; Figure 2 is a schematic diagram of a scenario of a networking method provided by an embodiment of the present application; wherein the networking method can be applied to a first device, the first device comprising a distributed soft bus framework, the distributed soft bus framework comprising at least a protocol stack layer and a driver layer, the protocol stack layer comprising a protocol stack database module, a protocol frequency band identification module and a protocol frequency band control module, the protocol stack database module storing a plurality of protocol stacks.

[0046] As shown in Figure 1 , the networking method comprises steps S11 to S15.

[0047] Step S11: receiving a self-networking signal sent by a second device through the driver layer, and sending the self-networking signal to the protocol frequency band identification module, wherein the driver layer comprises a radio frequency transceiver driver.

[0048] The second device is a device to be networked. Of course, the second device can also include a distributed soft bus framework, which at least includes a protocol stack layer and a driver layer, and the protocol stack layer includes a protocol stack database module, a protocol frequency band identification module, and a protocol frequency band control module. The protocol stack database module stores a plurality of protocol stacks.

[0049] It should be noted that the distributed soft bus framework is a software-based bus framework that can be used to connect the communication of various subsystems and devices in a distributed control system and can transmit data and control information between different control nodes. Unlike traditional hardware buses, the distributed soft bus framework can span different physical networks to achieve efficient data communication and control. Therefore, the device can be networked based on the distributed soft bus framework to achieve data transmission.

[0050] Specifically, when the second device needs to be networked, a self-networking signal can be sent to the driver layer, and then the driver layer receives the self-networking signal sent by the second device and sends the self-networking signal to the protocol frequency band identification module for identifying the frequency band and protocol of the self-networking signal.

[0051] In the embodiments of the present application, the driver layer can receive the self-networking signal sent by the second device and further send it to the protocol frequency band identification module for identifying the frequency band and protocol of the self-networking signal, thereby realizing the compatibility of self-networking signals of different protocols and frequency bands.

[0052] Step S12: receiving the self-networking signal through the protocol frequency band identification module and identifying the self-networking signal based on the protocol stack database module to obtain corresponding protocol information and frequency band information.

[0053] After receiving the self-networking signal, the protocol frequency band identification module can compare the self-networking signal with the protocol stack database for feature comparison to identify and determine the protocol information and frequency band information corresponding to the self-networking signal.

[0054] It should be noted that the protocol stack database module stores a plurality of protocol stacks, including LoRaWAN, Sigfox, or IEEE 802.15.4, etc., which are not limited in the present application.

[0055] Further, LoRaWAN is published by the LoRa Alliance and is a set of communication protocols designed for LoRa long-range communication networks. LoRaWAN can be divided into MAC layers according to protocol layers, and networks implemented based on this specification can be compatible with each other.

[0056] Sigfox wireless technology is a wide-area network-based technology that can support low data rate communication over a longer distance. It is used for M2M and IoT applications that transmit only a few bytes per day and can interface with cellular networks, coexisting with cellular wireless technologies such as GSM, CDMA, LTE, etc.

[0057] IEEE 802.15.4 refers to a protocol that uses the same wireless channel and communicates with each other through the IEEE 802.15.4 standard. In the IEEE 802.15.4-based communication process, according to the communication capabilities of the device, it can be divided into full-function devices (FFD) and reduced-function devices (RFD). FFD devices and FFD devices and RFD devices can communicate with each other.

[0058] In the embodiment of the present application, the ad hoc network signal can be received by the protocol frequency band identification module, and the ad hoc network signal is identified based on the protocol stack database module, so as to determine the protocol information and the frequency band information corresponding to the ad hoc network signal.

[0059] Step S13: Determine the corresponding target radio frequency transceiver driver based on the protocol information through the protocol frequency band control module, and send the protocol information and the frequency band information to the target radio frequency transceiver driver.

[0060] Step S14: Receive the protocol information and the frequency band information through the target radio frequency transceiver driver, and determine the target radio frequency transceiver corresponding to the target radio frequency transceiver driver.

[0061] Specifically, after determining the protocol information and the frequency band information corresponding to the ad hoc network signal, the corresponding target radio frequency transceiver driver can be determined based on the protocol information. For example, when the protocol information of the ad hoc network signal is the IEEE 802.15.4 protocol, the radio frequency transceiver driver supporting the IEEE 802.15.4 protocol can be determined as the target radio frequency transceiver driver. Further, the protocol information and the frequency band information can be sent to the target radio frequency transceiver driver, so that the target radio frequency transceiver driver receives the protocol information and the frequency band information, and then determines the corresponding target radio frequency transceiver. For example, the target radio frequency transceiver driver is a radio frequency transceiver driver supporting the IEEE 802.15.4 protocol, and the target radio frequency transceiver is a radio frequency transceiver supporting the IEEE 802.15.4 protocol.

[0062] Optionally, the first device comprises at least a first radio frequency transceiver and a second radio frequency transceiver, wherein the first radio frequency transceiver and the second radio frequency transceiver correspond to different frequency bands. Thus, the corresponding target radio frequency transceiver can be determined based on the target radio frequency transceiver driver. The first radio frequency transceiver and the second radio frequency transceiver can be determined as the target radio frequency transceiver. It can be understood that more radio frequency transceivers can also be provided according to actual needs.

[0063] Optionally, the first device can be electrically connected with a preset communication device, and the communication device comprises at least a third radio frequency transceiver and a fourth radio frequency transceiver, wherein the third radio frequency transceiver and the fourth radio frequency transceiver correspond to different frequency bands. In this way, when the first device does not have the corresponding radio frequency transceiver, the radio frequency transceiver of the communication device can be called and determined as the target radio frequency transceiver.

[0064] It should be noted that the preset communication device is not limited in the present application, for example, it can be a conversion device comprising a conversion interface, and then the first device can be connected with the communication device through the conversion interface.

[0065] Optionally, after receiving the protocol information and the frequency band information through the target radio frequency transceiver driver, the method comprises: sending the protocol information and the frequency band information to a preset management platform for recording through the target radio frequency transceiver driver.

[0066] Specifically, the target radio frequency transceiver driver can also send the protocol information and the frequency band information corresponding to the ad hoc network signal sent by the second device to the preset management platform for recording. In this way, when the second device is next time networked, the protocol information and the frequency band information corresponding to the second device can be directly determined based on the preset management platform, without the need to identify them based on the protocol stack database module, thereby improving the network efficiency of the device.

[0067] It should be noted that the preset management platform is not limited in the present application, for example, it can be a HongMeng HDF device management framework, or other databases with storage functions, etc.

[0068] In the present application, the target radio frequency transceiver driver can be determined based on the protocol information of the ad hoc network signal, and the protocol information and the frequency band information can be sent to the target radio frequency transceiver driver, and the target radio frequency transceiver corresponding to the target radio frequency transceiver driver can be determined. In addition, the protocol information and the frequency band information can also be sent to the preset management platform for recording through the target radio frequency transceiver driver, so as to directly determine the protocol information and the frequency band information corresponding to the second device based on the preset management platform when the second device is next time networked, thereby improving the network efficiency of the device.

[0069] Step S15: controlling the target radio frequency transceiver to transmit into the corresponding frequency band based on the frequency band information, and sending the corresponding radio frequency signal to the second device to realize networked.

[0070] After obtaining the frequency band information corresponding to the ad hoc network signal, the target radio transceiver can be controlled to transmit into the corresponding frequency band. For example, the frequency band information corresponding to the ad hoc network signal is 2.4G frequency band. Based on this, the target radio transceiver can be controlled to transmit into the 2.4G frequency band, so that the target radio transceiver can send a radio signal of the 2.4G frequency band to the second device, and then when the second device receives the radio signal, the networking of the second device is realized.

[0071] In the embodiments of the present application, the target radio transceiver can be controlled to transmit into the corresponding frequency band based on the frequency band information, and a corresponding radio signal can be sent to the second device to realize the networking of the second device.

[0072] It can be understood that the embodiments of the present application can also realize the ad hoc networking of devices of other protocols and other frequency bands, thereby meeting the needs of multi-frequency band and multi-protocol compatibility of devices in the networking process.

[0073] The networking method disclosed in the embodiments of the present application can be applied to a first device, and the first device includes a distributed soft bus framework, which at least includes a protocol stack layer and a driver layer. The protocol stack layer includes a protocol stack database module, a protocol frequency band identification module and a protocol frequency band control module, and the protocol stack database module stores a plurality of protocol stacks. Based on this, the ad hoc network signal sent by the second device can be received through the driver layer, and the ad hoc network signal can be sent to the protocol frequency band identification module, so that the protocol frequency band identification module can receive the ad hoc network information and identify the ad hoc network signal based on the protocol stack database module to obtain corresponding protocol information and frequency band information. Further, the target radio transceiver driver corresponding to the protocol information can be determined through the protocol frequency band control module based on the protocol information, and the protocol information and the frequency band information can be sent to the target radio transceiver driver, so that the target radio transceiver driver receives the protocol information and the frequency band information and determines the target radio transceiver corresponding to the target radio transceiver driver. In this way, the target radio transceiver can be controlled to transmit into the corresponding frequency band based on the frequency band information, and a corresponding radio signal can be sent to the second device to realize the networking. Through the above steps, the needs of multi-frequency band and multi-protocol compatibility of devices in the networking process can be met, and the efficiency of device networking is improved.

[0074] Optionally, please refer to Figure 3 , Figure 3 is a step schematic diagram of another networking method provided by the embodiments of the present application. As Figure 3 shown, the distributed soft bus framework further includes a network layer, and after sending the protocol information and the frequency band information to the target radio transceiver driver, it includes:

[0075] Step S21: judging whether the sending result of sending the protocol information and the frequency band information to the target radio transceiver driver by the protocol frequency band control module is sending success.

[0076] Step S22: feeding back the execution result of sending success to the network layer when the sending result is sending success.

[0077] Specifically, after sending the protocol information and the frequency band information to the target radio transceiver driver by the protocol frequency band control module, it can be judged whether the sending result is sending success. When the sending result is sending success, the execution result of sending success can be fed back to the network layer, so that the network layer receives the execution result.

[0078] In this way, the network layer can obtain the information that can realize normal networking, thereby ensuring the correctness of logical network construction.

[0079] Optionally, referring to Figure 4 , Figure 4 is a step schematic diagram of another networking method provided by the embodiment of the present application. As shown in Figure 4 , the protocol stack layer further comprises a protocol stack conversion module, the target radio transceiver is controlled to enter the corresponding frequency band based on the frequency band information, and the corresponding radio signal is sent to the second device, so that after the networking, the method further comprises the following steps:

[0080] Step S31: receiving the first data information sent by the second device after the networking through the target radio transceiver driver, and sending the first data information to the protocol stack conversion module, the data information comprising first physical protocol information.

[0081] The first data information is data information to be transmitted; and the first physical protocol information is the physical protocol information corresponding to the first data information.

[0082] It can be understood that after the second device realizes the networking, the data transmission can be performed, so that the first data information sent by the second device after the networking can be received through the target radio transceiver driver, and the first data information is sent to the protocol stack conversion module. Since the data information comprises the first physical protocol information, the protocol stack conversion module can receive the first physical protocol information.

[0083] Step S32: receiving the first data information through the protocol stack conversion module, converting the first physical protocol information into target physical protocol information, obtaining target data information and sending the target data information to the network layer.

[0084] Step S33: receiving the target data information through the network layer and performing transmission.

[0085] Specifically, after the protocol stack conversion module receives the first data information, the first physical protocol information can be converted into target physical protocol information to realize the conversion of the protocol. Further, the converted protocol corresponding data packet, i.e., the target data packet, can be sent to the network layer, so that the network layer receives the target data information and transmits it.

[0086] It should be noted that the application does not limit the target physical protocol information, which can be a standardized minimal protocol, such as the COAP protocol. The COAP (Constrained Application Protocol, Soft Bus) protocol is defined by RFC7252 and is a transmission protocol for constrained devices and networks. It is mainly used for device-to-device communication and implements a general HTTP subset of REST. The COAP protocol can be easily converted into the HTTP protocol, which is convenient for conversion with the existing WEB system, and can also meet requirements such as built-in discovery, multicast support, and asynchronous message transmission.

[0087] In the embodiments of the application, the physical protocol information of the received first data information can be converted into a minimal protocol by the protocol stack conversion module, and then the transmission of data information in the network layer can be more convenient. That is, the network layer is more focused on the transmission of data information based on the minimal protocol, and does not need to pay attention to the conversion of data information under different physical protocol information.

[0088] Please refer to Figure 5 , Figure 5 is a schematic block diagram of a networking device provided by an embodiment of the application, which can be configured in a server and used to execute the steps of the networking method described above.

[0089] As shown in Figure 5 , the networking device 200 includes a receiving module 201, an identifying module 202, a sending module 203, and a networking module 204.

[0090] The receiving module 201 is configured to receive an ad hoc network signal sent by a second device through a driving layer and send the ad hoc network signal to a protocol frequency band identifying module, wherein the driving layer includes a radio frequency transceiver driver;

[0091] The identifying module 202 is configured to receive the ad hoc network signal through the protocol frequency band identifying module and identify the ad hoc network signal based on a protocol stack database module to obtain corresponding protocol information and frequency band information;

[0092] The sending module 203 is configured to determine a target radio frequency transceiver driver based on the protocol information through a protocol frequency band control module and send the protocol information and the frequency band information to the target radio frequency transceiver driver;

[0093] The receiving module 201 is further configured to receive the protocol information and the frequency band information through the target radio transceiver driver, and determine a corresponding target radio transceiver of the target radio transceiver driver;

[0094] The networking module 204 is configured to control the target radio transceiver to enter a corresponding frequency band based on the frequency band information, and send a corresponding radio signal to the second device to implement networking.

[0095] The sending module 203 is further configured to send the protocol information and the frequency band information to a preset management platform for recording through the target radio transceiver driver.

[0096] The sending module 203 is further configured to determine whether a sending result of the protocol frequency band control module sending the protocol information and the frequency band information to the target radio transceiver driver is sending success; and feed back an execution result of sending success to the network layer when the sending result is sending success.

[0097] The receiving module 201 is further configured to receive first data information sent by the second device after networking through the target radio transceiver driver, and send the first data information to the protocol stack conversion module, wherein the data information comprises first physical protocol information; receive the first data information through the protocol stack conversion module, and convert the first physical protocol information into target physical protocol information to obtain target data information and send the target data information to the network layer; and receive the target data information through the network layer and transmit the target data information.

[0098] It should be noted that, for the convenience and brevity of description, the specific working process of the above-described device and each module and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described herein.

[0099] The method and device of the present application can be used in many general or special computing system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like.

[0100] For example, the above-described method and device can be implemented in the form of a computer program, which can run on a computer device as shown in the computer device. Figure 6

[0101] Please refer to Figure 6 , Figure 6 ​This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device may be a server.

[0102] like Figure 6 As shown, the computer device includes a processor, memory, and network interface connected via a system bus, wherein the memory may include volatile storage media, non-volatile storage media, and internal memory.

[0103] Non-volatile storage media can store operating systems and computer programs. These computer programs include program instructions that, when executed, cause the processor to perform any networking method.

[0104] The processor provides computing and control capabilities, supporting the operation of the entire computer device.

[0105] Internal memory provides an environment for the execution of computer programs stored in non-volatile storage media. When these computer programs are executed by the processor, the processor can execute any networking method.

[0106] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that the structure of this computer device is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0107] It should be understood that the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, a general-purpose processor can be a microprocessor or any conventional processor.

[0108] In some embodiments, the processor is configured to run a computer program stored in the memory to receive the ad hoc network signal sent by the second device through the driver layer, and send the ad hoc network signal to the protocol band identification module, wherein the driver layer comprises a radio frequency transceiver driver; receive the ad hoc network signal through the protocol band identification module, and identify the ad hoc network signal based on the protocol stack database module to obtain corresponding protocol information and band information; determine a corresponding target radio frequency transceiver driver based on the protocol information through the protocol band control module, and send the protocol information and the band information to the target radio frequency transceiver driver; receive the protocol information and the band information through the target radio frequency transceiver driver, and determine a target radio frequency transceiver corresponding to the target radio frequency transceiver driver; control the target radio frequency transceiver to transmit into a corresponding band based on the band information, and send a corresponding radio frequency signal to the second device to realize networking.

[0109] In some embodiments, the processor is further configured to send the protocol information and the band information to a preset management platform through the target radio frequency transceiver driver for recording.

[0110] In some embodiments, the processor is further configured to determine whether the sending result of sending the protocol information and the band information to the target radio frequency transceiver driver by the protocol band control module is sending success; and feed back an execution result of sending success to the network layer when the sending result is sending success.

[0111] In some embodiments, the processor is further configured to receive first data information sent by the second device after networking through the target radio frequency transceiver driver, and send the first data information to the protocol stack conversion module, wherein the data information comprises first physical protocol information; receive the first data information through the protocol stack conversion module, and convert the first physical protocol information into target physical protocol information to obtain target data information and send the target data information to the network layer; receive the target data information through the network layer, and transmit.

[0112] Please continue to refer to Figure 7 , Figure 7 is a schematic block diagram of a networking system provided by an embodiment of the present application. As shown in Figure 7 , the networking system 300 comprises a first device 301 and at least one second device 302, and the first device 301 and the second device 302 are configured to realize any networking method provided by an embodiment of the present application.

[0113] The embodiment of the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the program instructions are executed to implement any one of the network configuration methods provided by the embodiment of the present application.

[0114] The computer readable storage medium can be an internal storage unit of the device, for example, a hard disk or a memory of the device. The computer readable storage medium can also be an external storage device of the device, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like.

[0115] Further, the computer readable storage medium can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function, and the like.

[0116] The above merely provides a specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present application, and these modifications or replacements should be encompassed in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method of networking, characterized by, The networking method is applied to a first device, the first device comprising a distributed soft bus framework, the distributed soft bus framework being a software-based bus framework, the distributed soft bus framework comprising at least a protocol stack layer and a driver layer, the protocol stack layer comprising a protocol stack database module, a protocol frequency band identification module and a protocol frequency band control module, the protocol stack database module storing a plurality of protocol stacks, the method comprising: receiving, by the driver layer, an ad hoc networking signal sent by a second device, and sending the ad hoc networking signal to the protocol frequency band identification module, wherein the driver layer comprises a radio frequency transceiver driver; receiving, by the protocol frequency band identification module, the ad hoc networking signal, and identifying the ad hoc networking signal based on the protocol stack database module to obtain corresponding protocol information and frequency band information; determining, by the protocol frequency band control module, a target radio frequency transceiver driver corresponding to the protocol information based on the protocol information, and sending the protocol information and the frequency band information to the target radio frequency transceiver driver; receiving, by the target radio frequency transceiver driver, the protocol information and the frequency band information, and determining a target radio frequency transceiver corresponding to the target radio frequency transceiver driver; controlling, based on the frequency band information, the target radio frequency transceiver to enter a corresponding frequency band, and sending a corresponding radio frequency signal to the second device to achieve networking.

2. The method of claim 1, wherein, After the target radio frequency transceiver driver receives the protocol information and the frequency band information, the method further comprises: sending, by the target radio frequency transceiver driver, the protocol information and the frequency band information to a preset management platform for recording.

3. The method of claim 1, wherein, The plurality of protocol stacks comprises LoRaWAN, Sigfox or IEEE 802.15.

4.

4. The method of claim 1, wherein, The first device comprises at least a first radio frequency transceiver and a second radio frequency transceiver, wherein the corresponding frequency bands of the first radio frequency transceiver and the second radio frequency transceiver are different.

5. The method of claim 1, wherein, The first device can be electrically connected to a preset communication device, the communication device comprising at least a third radio frequency transceiver and a fourth radio frequency transceiver, wherein the corresponding frequency bands of the third radio frequency transceiver and the fourth radio frequency transceiver are different.

6. The method of claim 1, wherein, The distributed soft bus framework further comprises a network layer, and after the protocol information and the frequency band information are sent to the target radio frequency transceiver driver, the method further comprises: determining whether the sending result of the protocol frequency band control module sending the protocol information and the frequency band information to the target radio frequency transceiver driver is sending success; when the sending result is sending success, feeding back an execution result of sending success to the network layer.

7. The method of claim 6, wherein, The protocol stack layer further comprises a protocol stack conversion module, and after the target radio frequency transceiver is controlled to enter a corresponding frequency band based on the frequency band information, and a corresponding radio frequency signal is sent to the second device to achieve networking, the method further comprises: receiving, by the target radio frequency transceiver driver, first data information sent by the second device after networking, and sending the first data information to the protocol stack conversion module, the data information comprising first physical protocol information; The protocol stack conversion module receives the first data information and converts the first physical protocol information into target physical protocol information to obtain target data information and send to the network layer; The network layer receives the target data information and transmits.

8. A networking device, comprising: In the first device, the first device includes a distributed soft bus framework, which is a software-based bus framework, and the networking device includes: A receiving module is configured to receive an ad hoc network signal sent by a second device through a driving layer and send the ad hoc network signal to a protocol frequency band identification module, wherein the driving layer includes a radio frequency transceiver driver; An identification module is configured to receive the ad hoc network signal through the protocol frequency band identification module and identify the ad hoc network signal based on a protocol stack database module to obtain corresponding protocol information and frequency band information; A sending module is configured to determine a target radio frequency transceiver driver based on the protocol information through a protocol frequency band control module and send the protocol information and the frequency band information to the target radio frequency transceiver driver; The receiving module is further configured to receive the protocol information and the frequency band information through the target radio frequency transceiver driver and determine a target radio frequency transceiver corresponding to the target radio frequency transceiver driver; A networking module is configured to control the target radio frequency transceiver to enter a corresponding frequency band based on the frequency band information and send a corresponding radio frequency signal to the second device to achieve networking.

9. A computer device, comprising: It includes: A memory and a processor; wherein the memory is connected with the processor and is used for storing programs; the processor is used for realizing the steps of the networking method of any one of claims 1-7 by running the programs stored in the memory.

10. A system for networking, characterized by The networking system includes a first device and at least one second device, and the first device and the second device are used to realize the steps of the networking method of any one of claims 1-7.

11. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to make the processor realize the steps of the networking method of any one of claims 1-7.

Citation Information

Patent Citations

  • Systems and methods for implementing multiple band service discovery

    CN105122893A

  • Equipment interconnection method and device based on distributed soft bus, equipment and medium

    CN115767499A