Networking method, system and terminal based on distributed soft bus

Through distributed soft bus technology, automatic discovery and network connection between devices with different communication protocols is achieved, the problem of low communication efficiency between devices is solved, communication efficiency and user experience is improved, and it is suitable for a variety of smart device scenarios.

CN119030823APending Publication Date: 2024-11-26深圳开鸿数字产业发展有限公司
View PDF 0 Cites 11 Cited by

Patent Information

Application Number
CN202411191463.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the prior art, communication connections and data transmission cannot be carried out between devices using different communication protocols, resulting in the inability of applications to call between devices of different communication protocols, and the communication efficiency between devices cannot be effectively improved.

Method used

Using a distributed soft bus networking method, the device discovery process is carried out by obtaining the communication protocol of the target device, a distributed soft bus network is built, and network adjustments are made according to service instructions to realize heterogeneous networking connections and communications of different devices. Link management.

Benefits of technology

It improves the communication efficiency between devices with different communication protocols, supports high-speed data transmission, low latency and multi-screen collaboration, simplifies cross-device service calls, and is suitable for scenarios such as smart home, smart office and health monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030823A_ABST
    Figure CN119030823A_ABST
Patent Text Reader

Abstract

The invention discloses a networking method, system and terminal based on a distributed soft bus, and the method comprises the steps: obtaining a target communication protocol of a target device, and carrying out the device discovery processing according to the target communication protocol, and obtaining a plurality of discovery devices in a preset signal range; acquiring a distributed soft bus, and performing communication link establishment and heterogeneous networking connection on the target device and the plurality of discovery devices according to the distributed soft bus to obtain a distributed soft bus network; and when the target device receives a target service instruction, performing networking adjustment on the distributed soft bus network according to the target service instruction so as to control the target device to execute the target service instruction. According to the invention, networking connection of devices with different communication protocols can be realized by adopting the distributed soft bus, so that the distributed soft bus network is constructed, the cross-device service calling process is simplified, and the communication efficiency between the devices is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of device networking, and in particular to a networking method, system, terminal and computer-readable storage medium based on a distributed soft bus. Background Art

[0002] Currently, the widely used device networking communication technologies mainly include wireless local area network (WLAN), wired local area network (such as Ethernet) and short-range wireless communication technology (such as Bluetooth), which use radio waves for data transmission or physical optical fiber as a physical medium for device discovery and networking communication. For example, for mobile communications that require large-scale coverage, cellular networks are the first choice; for local area networks that require high speed and low latency, Ethernet is more suitable.

[0003] However, in the prior art, devices using different communication protocols cannot communicate and transmit data, which results in that applications cannot be called between devices using different communication protocols, and the communication efficiency between devices cannot be effectively improved.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a networking method, system, terminal and computer-readable storage medium based on a distributed soft bus, aiming to solve the problem in the prior art that devices using different communication protocols cannot communicate and transmit data, resulting in the inability to call applications between devices with different communication protocols and the inability to effectively improve the communication efficiency between devices.

[0006] To achieve the above object, the present invention provides a distributed soft bus-based networking method, the distributed soft bus-based networking method comprising the following steps:

[0007] Acquire a target communication protocol of a target device, and perform device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range;

[0008] Obtain a distributed soft bus, and establish a communication link and a heterogeneous network connection for the target device and the plurality of discovered devices according to the distributed soft bus to obtain a distributed soft bus network;

[0009] When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction.

[0010] Optionally, the distributed soft bus-based networking method, wherein the step of acquiring a target communication protocol of a target device and performing device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range, specifically includes:

[0011] Obtaining a target communication protocol of a target device, and setting a device discovery strategy for the target device, wherein the device discovery strategy includes a device discovery frequency, a data reporting frequency, and a scanning period;

[0012] A preset signal range of the target device is determined, and a device search is performed within the preset signal range according to the target communication protocol and the device discovery strategy to obtain a plurality of discovered devices.

[0013] Optionally, the networking method based on the distributed soft bus, wherein the device search is performed within the preset signal range according to the target communication protocol and the device discovery strategy to obtain multiple discovered devices, specifically comprising:

[0014] Sending a request message in a broadcasting manner within the preset signal range according to the target communication protocol and the device discovery strategy, and receiving returned message response information in real time;

[0015] The message response information is parsed to obtain a plurality of discovered devices and their device addresses.

[0016] Optionally, the distributed soft bus-based networking method, wherein the target communication protocol of the target device is acquired, and device discovery processing is performed according to the target communication protocol to obtain multiple discovered devices within a preset signal range, further includes:

[0017] The current business scenario requirements are obtained, and according to the current business scenario requirements, a fusion discovery algorithm is used to perform device deduplication processing on the multiple discovered devices to obtain multiple preferred discovered devices.

[0018] Optionally, the networking method based on the distributed soft bus, wherein the obtaining of the distributed soft bus, and establishing a communication link and heterogeneous networking connection for the target device and the plurality of discovered devices according to the distributed soft bus to obtain a distributed soft bus network, specifically includes:

[0019] Acquire device node information of the target device and the plurality of discovered devices, wherein the device node information includes device scanning perception information, device status information, and device attribute information;

[0020] Obtain a distributed soft bus, and use the distributed soft bus to establish a communication link according to the device node information and the device address to obtain a device communication link;

[0021] The minimum channel power consumption corresponding to the target device and the multiple discovered devices in the device communication link is calculated, and a distributed soft bus is used to perform heterogeneous networking connection on the device communication link according to the minimum channel power consumption to obtain a distributed soft bus network.

[0022] Optionally, the networking method based on the distributed soft bus, wherein when the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction, specifically comprising:

[0023] When the target device receives the target service instruction, the target service instruction is parsed to obtain the target service requirement, wherein the target service requirement includes bandwidth requirement, delay requirement, and power consumption requirement;

[0024] Acquire a current channel corresponding to the target device in the distributed soft bus network, and determine whether the current channel meets the target service requirement;

[0025] If not, searching in the distributed soft bus network according to the target service requirements to obtain a target channel and a corresponding target discovery device that meet the requirements;

[0026] The networking connection mode of the target device in the distributed soft bus network is adjusted according to the target channel and the corresponding target discovery device to control the target device to execute the target service instruction.

[0027] Optionally, the networking method based on the distributed soft bus, wherein when the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction, and then further includes:

[0028] When a new device is added to the distributed soft bus network, the distributed soft bus network is updated according to the networking connection mode of the new device to obtain an updated distributed soft bus network, and the updated distributed soft bus network is uploaded to the cloud server for storage.

[0029] In addition, to achieve the above-mentioned object, the present invention further provides a distributed soft bus-based networking system, wherein the distributed soft bus-based networking system includes:

[0030] A device discovery processing module is used to obtain a target communication protocol of a target device, and perform device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range;

[0031] A soft bus network construction module is used to obtain a distributed soft bus, and to establish a communication link and a heterogeneous network connection for the target device and the plurality of discovered devices according to the distributed soft bus, so as to obtain a distributed soft bus network;

[0032] The device networking adjustment module is used to adjust the networking of the distributed soft bus network according to the target business instruction when the target device receives the target business instruction, so as to control the target device to execute the target business instruction.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a distributed soft bus-based networking program stored in the memory and runnable on the processor, and when the distributed soft bus-based networking program is executed by the processor, the steps of the distributed soft bus-based networking method as described above are implemented.

[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a networking program based on a distributed soft bus, and when the networking program based on a distributed soft bus is executed by a processor, the steps of the networking method based on a distributed soft bus as described above are implemented.

[0035] In the present invention, the target communication protocol of the target device is obtained, and the device discovery process is performed according to the target communication protocol to obtain multiple discovered devices within the preset signal range; a distributed soft bus is obtained, and communication links and heterogeneous networking connections are established for the target device and multiple discovered devices according to the distributed soft bus to obtain a distributed soft bus network; when the target device receives a target business instruction, the distributed soft bus network is networked and adjusted according to the target business instruction to control the target device to execute the target business instruction. The present invention discovers each other between devices with different communication protocols, and uses a distributed soft bus to connect and network different devices, thereby constructing a distributed soft bus network; through the distributed soft bus network, networking adjustments can be made according to the business needs of the device, effectively improving the communication efficiency between devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flow chart of a preferred embodiment of the networking method based on the distributed soft bus of the present invention;

[0037] Figure 2 It is a schematic diagram of network construction of a preferred embodiment of the networking method based on a distributed soft bus of the present invention;

[0038] Figure 3It is a device active discovery diagram of a preferred embodiment of the networking method based on a distributed soft bus of the present invention;

[0039] Figure 4 It is a device passive discovery diagram of a preferred embodiment of the networking method based on a distributed soft bus of the present invention;

[0040] Figure 5 It is a schematic diagram of device response of a preferred embodiment of the networking method based on a distributed soft bus of the present invention;

[0041] Figure 6 It is a schematic diagram of a one-key networking entrance of a preferred embodiment of the networking method based on a distributed soft bus of the present invention;

[0042] Figure 7 It is a schematic diagram of the operation interface of the conference room after networking of a preferred embodiment of the networking method based on the distributed soft bus of the present invention;

[0043] Figure 8 It is a communication flow diagram of a preferred embodiment of the networking method based on a distributed soft bus of the present invention;

[0044] Fig. 9 It is a schematic diagram of the network management architecture of a preferred embodiment of the network method based on the distributed soft bus of the present invention;

[0045] Fig.10 It is a structural diagram of a preferred embodiment of a distributed soft bus-based networking system of the present invention;

[0046] Fig.11 It is a structural diagram of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0048] Currently, the widely used device networking communication technologies mainly include wireless local area network (WLAN), wired local area network (such as Ethernet) and short-range wireless communication technology (such as Bluetooth). It uses radio waves for data transmission or physical optical fiber as a physical medium for device discovery and networking communication. Each technology has its specific application scenarios and advantages. The choice of which technology depends on specific needs, cost considerations and expected functions. For example, for mobile communications that require large-scale coverage, cellular networks are the first choice; for local area networks that require high speeds and low latency, Ethernet is more suitable.

[0049] At present, the important reason why different communication technologies are widely used is different usage scenarios and cost considerations. From a technical perspective, the large-scale application of each technology must have its own advantages, especially for some special scenarios. It is difficult to compare their advantages and disadvantages, and such a comparison is meaningless. We can only take into account different usage scenarios, functions and ease of use to improve the stability, flexibility and transmission rate of communication between devices.

[0050] However, in the prior art, devices using different communication protocols cannot communicate and transmit data, which results in that applications cannot be called between devices using different communication protocols, and the communication efficiency between devices cannot be effectively improved.

[0051] To solve the above problems, the present invention proposes a networking method based on a distributed soft bus, which is designed to achieve efficient and reliable communication between different devices. The core features are: 1. Self-discovery: the device can automatically detect and identify other devices around it; 2. Self-organizing network: the devices can automatically establish connections without manual configuration; 3. High bandwidth: support high-speed data transmission to meet the needs of large-scale data applications such as multimedia; 4. Low latency: reduce the delay in communication between devices and improve user experience; 5. Multi-channel: support simultaneous processing of multiple data streams to improve communication efficiency; 6. Device virtualization: multiple devices can be managed as a whole, simplifying cross-device service calls; 7. Cross-device service calls: applications can call services between different devices to achieve more complex interaction modes. 8. Multi-screen collaboration: support collaboration between multiple screens, such as screen sharing between mobile phones and tablets.

[0052] In terms of usage scenarios, it mainly covers: 1. Smart home: control and manage various smart devices in the home; 2. Smart office: realize efficient collaboration between devices in the office environment; 3. Health monitoring: connect various health monitoring devices, such as smart watches and fitness trackers; 4. Entertainment experience: realize a more immersive entertainment experience through multi-screen collaboration.

[0053] The distributed soft bus-based networking method described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the networking method based on the distributed soft bus includes the following steps:

[0054] Step S10: Acquire a target communication protocol of a target device, and perform device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range.

[0055] like Figure 2As shown, from an architectural point of view, the distributed soft bus technology of the one-click networking application set by the present invention can be divided into four major modules, namely discovery, connection, networking and transmission. These four modules divide the work and cooperate closely in the entire soft bus business logic to achieve the communication goal.

[0056] Discovery module: used to discover the existence of trusted devices in the surrounding area. It can be used through different protocols, not limited to WIFI and Bluetooth. As long as a local area network can be built, mutual discovery can be carried out. The discovery medium can be flexibly selected according to the capabilities of the current device. The allocation device provides appropriate discovery frequency and data reporting frequency, scanning cycle and other strategies to meet business needs, without distinguishing between master and slave devices.

[0057] Specifically, a target communication protocol of a target device is obtained, and a device discovery strategy of the target device is set, wherein the device discovery strategy includes a device discovery frequency, a data reporting frequency, and a scanning period; a preset signal range of the target device is determined, and a request message is sent in a broadcast manner within the preset signal range according to the target communication protocol and the device discovery strategy, and the returned message response information is received in real time; the message response information is parsed to obtain a plurality of the discovered devices and their device addresses.

[0058] The discovery module provided in the present invention includes three points: differentiated discovery, discovery mode and fusion discovery:

[0059] Differentiated discovery: Based on the physical communication capabilities of the device itself (i.e., different communication protocols corresponding to different devices in the present invention), including but not limited to WIF, Bluetooth, Ethernet, etc., support the construction of differentiated capabilities and heterogeneous discovery. In the actual process, the underlying physical connection technology of different devices is inconsistent in the implementation scheme of the MAC layer, but at the soft bus level, the problem of data communication between devices with different protocols is solved. It enables multiple devices to automatically build a logical fully connected network, and users or business developers do not need to worry about the networking method and physical protocol. For software developers, soft bus heterogeneous networking can greatly reduce their development costs.

[0060] like Figure 3 He Ru Figure 4 As shown, the discovery mode is divided into active discovery mode and passive discovery mode. The active discovery mode actively initiates a request message by broadcasting. The passive discovery mode is that after the discovered party receives the request message, it actively replies or broadcasts its own device information.

[0061] like Figure 5As shown, when other multiple discovery devices receive the networking request message sent by the target device, they scan and monitor the networking verification information in the networking request message, and proofread the networking verification information. When the proofreading is correct, they can send a message response information to the target device to inform its own device information.

[0062] Furthermore, the current business scenario requirements are obtained, and according to the current business scenario requirements, a fusion discovery algorithm is used to perform device deduplication processing on the multiple discovered devices to obtain multiple preferred discovered devices.

[0063] The fusion discovery algorithm integrates the discovery capabilities of WIFI and Bluetooth, adopts different priority strategies for different discovery technologies according to business scenarios, uses the fusion discovery algorithm to deduplicate devices, removes paths with serious channel interference, increases the number and speed of device access categories, and realizes the mutual exchange and transmission of heterogeneous communication media. Front-end users are unaware of the way to discover devices, and the combined use of different discovery strategies can greatly improve the success rate and stability of device discovery.

[0064] Step S20, obtaining a distributed soft bus, and establishing communication links and heterogeneous networking connections for the target device and the plurality of discovered devices according to the distributed soft bus, to obtain a distributed soft bus network.

[0065] Distributed soft bus is a unified base for multiple device terminals, providing unified distributed communication capabilities for seamless interconnection between devices. At the same time, distributed soft bus is also a multi-type network communication protocol, which can connect all devices together and communicate through this protocol. Distributed soft bus can quickly discover and connect devices and efficiently transmit tasks and data. It can provide the ability to discover connections, network and transmit between devices without distinguishing links, and support multiple types of data transmission such as messages, bytes, streams, files, etc.

[0066] Connection module: connects all discovered distributed devices (i.e., the target device and multiple discovered devices in the present invention) through distributed soft bus connection technology, selects appropriate underlying media according to the capabilities and business requirements of distributed devices, uses the best connection technology, and establishes the most basic communication link (i.e., the device communication link in the present invention), providing basic capabilities and necessary conditions for subsequent networking and transmission.

[0067] Networking module: Through distributed soft bus technology, devices with different capabilities and facing different device terminals can be heterogeneously networked, so that the devices in the distributed soft bus network are not limited to a single or point-to-point connection relationship, but are designed to form a network based on different user usage scenarios. For example, mobile phones, computers, refrigerators, air conditioners, smart door locks, and monitoring projectors are networking-oriented devices. These devices are networked and connected to obtain a distributed soft bus network. In this network, the communication capabilities and services of each device can be effectively managed, so that when the business requires communication capabilities, the distributed soft bus network can provide the device capabilities required by the business and the transmission capabilities required by the bandwidth delay at any time.

[0068] Here, heterogeneity refers to two or more wireless communication systems using different access technologies, or using the same wireless access technology but belonging to different wireless operators. By utilizing the existing multiple wireless communication systems, through the way of system integration, the respective advantages can be comprehensively brought into play. Since the existing various wireless access systems have overlapping coverage in many areas, these overlapping different types of wireless access systems can be intelligently combined together, and the intelligent access means of multi-mode terminals can be used to enable multiple different types of networks to jointly provide users with wireless access anytime and anywhere. In the present invention, the heterogeneous networking between devices is realized through a distributed soft bus.

[0069] Specifically, the device node information of the target device and the multiple discovered devices is obtained, wherein the device node information includes device scanning perception information, device status information and device attribute information; a distributed soft bus is obtained, and the distributed soft bus is used to establish a communication link according to the device node information and the device address to obtain a device communication link; the minimum channel power consumption corresponding to the target device and the multiple discovered devices in the device communication link is calculated, and the distributed soft bus is used to perform heterogeneous networking connection on the device communication link according to the minimum channel power consumption to obtain a distributed soft bus network.

[0070] When the distributed soft bus obtains the device node information corresponding to all devices, the corresponding working channel is set for each device to complete the networking connection. The present invention can realize one-key automatic networking through the distributed soft bus, which is completed through the device discovery process, and the communication frequency and channel allocation can be performed on the device to realize the networking connection between devices.

[0071] Network connection includes five aspects: connection optimization, intelligent connection, connection sharing, conflict-free connection and low power consumption.

[0072] Connection optimization: With unified management of devices, the capabilities of the devices, the connection relationships between devices, and the network environment between devices can be timely and effectively mastered. When a service occurs, the algorithm of the soft bus can be used to determine the most appropriate connection. The output of the algorithm is the optimal connection, which can be the maximum bandwidth, the lowest latency, the lowest power consumption, or a combination of factors such as security and reliability.

[0073] Intelligent connection: After soft bus management, the different hardware capabilities between devices can be fully utilized, and the optimal channel can be selected according to the on-site environment. Therefore, through the soft bus, connections can be established across devices at any time and anywhere. Therefore, as long as there is suitable hardware, the devices can be managed through distributed algorithms to establish the most appropriate connection, manage devices through the soft bus, realize the soft bus definition network, and achieve intelligent connection capabilities between devices.

[0074] Connection sharing: A unified transmission link built through a soft bus enables multiplexing and sharing of physical links between multiple devices and multiple services, ensuring a distributed experience for multiple services while optimizing the configuration of connection resources.

[0075] Conflict-free connection: Traditional connections have constraints and limitations between different protocols. Connections established between devices are prone to conflicts in role status and connection resources without unified management. However, the present invention can use the soft bus to achieve unified and coordinated management of the constructed distributed soft bus network.

[0076] Low power consumption: The device connection under the unified management of the soft bus is not a disordered connection, but the result of algorithm selection. When there is business between devices, a connection that meets the current business needs is established. When there is no business, a connection with the lowest power consumption is established. The appropriate channel is always found to avoid waste of power consumption and ensure a stable connection.

[0077] It is understandable that after constructing a distributed soft bus network, the present invention can coordinate and control by setting up a super device. In the specific implementation process, the present invention sets up a PC, which is positioned as a centralized display device for OS capabilities and hardware capabilities. It is a super terminal device used in smart parks, buildings, and office spaces. It is different from Windows and macOS core scenarios that focus on personal productivity and office relief. The super PC set in the present invention is positioned as a fusion center display node, a comprehensive capability display device.

[0078] like Figure 6 As shown, the super PC device includes tablet devices, ordinary PC devices, mobile phones and controllers, etc. Through the distributed soft bus network, these devices can be networked with one click and integrated and controlled by the super PC device.

[0079] like Figure 7 As shown in the figure, when the one-click networking is completed, the device management center in the super PC device can automatically scan the device and display the status of the connected devices and new devices. For example, in a conference room, based on the one-click networking function, the lighting, air conditioning, microphones, mobile phones, computers and other devices in the conference room can be uniformly controlled. Through the one-click networking function, the transmission and communication efficiency between devices are optimized.

[0080] Step S30: When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction.

[0081] like Figure 8 As shown in the figure, the transmission module (Transmission): provides data transmission capabilities for distributed devices through distributed soft bus transmission technology, abstracts all distributed business data into four major capabilities: messages, bytes, files, and streams, and provides appropriate transmission technology according to business requirements to ensure the communication demands of a single business and the transmission quality of multiple businesses in the distributed network.

[0082] Specifically, when the target device receives a target business instruction, the target business instruction is parsed to obtain target business requirements, wherein the target business requirements include bandwidth requirements, latency requirements, and power consumption requirements; the current channel corresponding to the target device in the distributed soft bus network is obtained, and it is determined whether the current channel meets the target business requirements; if not, a search is performed in the distributed soft bus network according to the target business requirements to obtain a target channel that meets the requirements and a corresponding target discovery device; the networking connection mode of the target device in the distributed soft bus network is adjusted according to the target channel and the corresponding target discovery device to control the target device to execute the target business instruction.

[0083] Furthermore, when a new device is added to the distributed soft bus network, the distributed soft bus network is updated according to the networking connection mode of the new device to obtain an updated distributed soft bus network, and the updated distributed soft bus network is uploaded to the cloud server for storage.

[0084] After different devices are successfully networked through the distributed soft bus, the device information and the networking relationship between the devices are uploaded to the cloud server. If a device fails, the device address and the corresponding networking relationship can be obtained from the cloud server by entering the MAC address corresponding to the failed device, so as to achieve the purpose of quickly replacing the connection of the failed device.

[0085] like Fig. 9As shown, the networking includes five modules: device node management, resource analysis management, decision center, self-organizing network framework and networking topology.

[0086] Device node management: responsible for providing device scanning perception, networking device status, device online and offline notifications, and management of device peripheral related attributes and device status. Device node management is the main interface module for networking to the outside world, and is responsible for providing networking triggers and online and offline notifications for networking nodes for services. Distributed services can query the device information and capabilities of networking nodes in the current distributed soft bus network through node management.

[0087] Resource analysis and management: responsible for the synchronization and management of resources within the entire network, including networking state machines and node information management. Resource analysis and management enables a single network element to have the ability to master and understand the entire network by implementing global resource management. The current network's state capabilities, performance, connection relationships, etc. can all be fully learned on the current device through this process, which provides a unified and coordinated basis for the behavior of the device under the management of the entire network. The decisions made on this basis are no longer blind and single-device optimal, but are based on the optimal results of the entire network.

[0088] Decision Center: Responsible for network business networking and network perception, and makes analysis and decisions based on the status of business and network. It can manage the current routing strategy, heartbeat strategy and network resource strategy based on user behavior and networking capability output, and also realize the election and migration of central nodes in the networking network.

[0089] Self-organizing network framework: responsible for managing and updating all devices connected to the network into the network topology, and updating the node information and connection relationship of the topology. It provides unified address management for devices connected to the network, and provides channel-level and device-level authentication, thereby realizing automatic networking, heterogeneous networking and network preservation.

[0090] Network topology: responsible for building the management of the internal data of the soft bus network, supporting data storage, addition, modification, deletion, query and subscription. It is also used to support the use of other modules, such as resource management and decision center, and can provide data support for route selection, virtual network establishment, physical channel conflict avoidance and anti-interference.

[0091] The perception scenario is reflected in the soft bus sensing the current device and its network environment, connection relationship, surrounding interference, business demands and other scenario information through the networking process, so that the devices are not limited to simple connections, and the connections in the entire network form an organic intelligent network.

[0092] Perception capability is the core goal of soft bus networking, which enables the communication capabilities between devices in the network to be centrally and effectively managed in the entire network.

[0093] Furthermore, if Fig.10 As shown, based on the above-mentioned distributed soft bus-based networking method, the present invention also provides a distributed soft bus-based networking system, wherein the distributed soft bus-based networking system includes:

[0094] The device discovery processing module 51 is used to obtain the target communication protocol of the target device, and perform device discovery processing according to the target communication protocol to obtain multiple discovered devices within a preset signal range;

[0095] The soft bus network construction module 52 is used to obtain a distributed soft bus, and to establish a communication link and a heterogeneous network connection for the target device and the plurality of discovered devices according to the distributed soft bus, so as to obtain a distributed soft bus network;

[0096] The device networking adjustment module 53 is used to adjust the networking of the distributed soft bus network according to the target business instruction when the target device receives the target business instruction, so as to control the target device to execute the target business instruction.

[0097] Furthermore, if Fig.11 As shown, based on the above-mentioned distributed soft bus-based networking method and system, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Fig.11 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0098] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal, etc. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a networking program 40 based on a distributed soft bus is stored on the memory 20, and the networking program 40 based on a distributed soft bus can be executed by the processor 10, thereby realizing the networking method based on a distributed soft bus in the present application.

[0099] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the distributed soft bus-based networking method.

[0100] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

[0101] In one embodiment, when the processor 10 executes the distributed soft bus-based networking program 40 in the memory 20, the following steps are implemented:

[0102] Acquire a target communication protocol of a target device, and perform device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range;

[0103] Obtain a distributed soft bus, and establish a communication link and a heterogeneous network connection for the target device and the plurality of discovered devices according to the distributed soft bus to obtain a distributed soft bus network;

[0104] When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction.

[0105] The step of acquiring a target communication protocol of a target device and performing device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range specifically includes:

[0106] Obtaining a target communication protocol of a target device, and setting a device discovery strategy for the target device, wherein the device discovery strategy includes a device discovery frequency, a data reporting frequency, and a scanning period;

[0107] A preset signal range of the target device is determined, and a device search is performed within the preset signal range according to the target communication protocol and the device discovery strategy to obtain a plurality of discovered devices.

[0108] The step of searching for devices within the preset signal range according to the target communication protocol and the device discovery strategy to obtain multiple discovered devices specifically includes:

[0109] Sending a request message in a broadcasting manner within the preset signal range according to the target communication protocol and the device discovery strategy, and receiving returned message response information in real time;

[0110] The message response information is parsed to obtain a plurality of discovered devices and their device addresses.

[0111] The step of acquiring a target communication protocol of a target device and performing device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range further includes:

[0112] The current business scenario requirements are obtained, and according to the current business scenario requirements, a fusion discovery algorithm is used to perform device deduplication processing on the multiple discovered devices to obtain multiple preferred discovered devices.

[0113] The step of acquiring a distributed soft bus and establishing a communication link and heterogeneous networking connection for the target device and the plurality of discovered devices according to the distributed soft bus to obtain a distributed soft bus network specifically includes:

[0114] Acquire device node information of the target device and the plurality of discovered devices, wherein the device node information includes device scanning perception information, device status information, and device attribute information;

[0115] Obtain a distributed soft bus, and use the distributed soft bus to establish a communication link according to the device node information and the device address to obtain a device communication link;

[0116] The minimum channel power consumption corresponding to the target device and the multiple discovered devices in the device communication link is calculated, and a distributed soft bus is used to perform heterogeneous networking connection on the device communication link according to the minimum channel power consumption to obtain a distributed soft bus network.

[0117] When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction, which specifically includes:

[0118] When the target device receives the target service instruction, the target service instruction is parsed to obtain the target service requirement, wherein the target service requirement includes bandwidth requirement, delay requirement, and power consumption requirement;

[0119] Acquire a current channel corresponding to the target device in the distributed soft bus network, and determine whether the current channel meets the target service requirement;

[0120] If not, searching in the distributed soft bus network according to the target service requirements to obtain a target channel and a corresponding target discovery device that meet the requirements;

[0121] The networking connection mode of the target device in the distributed soft bus network is adjusted according to the target channel and the corresponding target discovery device to control the target device to execute the target service instruction.

[0122] When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction, and then the method further includes:

[0123] When a new device is added to the distributed soft bus network, the distributed soft bus network is updated according to the networking connection mode of the new device to obtain an updated distributed soft bus network, and the updated distributed soft bus network is uploaded to the cloud server for storage.

[0124] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a distributed soft bus-based networking program, and when the distributed soft bus-based networking program is executed by a processor, the steps of the distributed soft bus-based networking method as described above are implemented.

[0125] In summary, the present invention provides a networking method, system, terminal and computer-readable storage medium based on a distributed soft bus, the method comprising: obtaining a target communication protocol of a target device, and performing device discovery processing according to the target communication protocol to obtain multiple discovered devices within a preset signal range; obtaining a distributed soft bus, and establishing a communication link and heterogeneous networking connection for the target device and multiple discovered devices according to the distributed soft bus to obtain a distributed soft bus network; when the target device receives a target business instruction, the distributed soft bus network is networked and adjusted according to the target business instruction to control the target device to execute the target business instruction. The present invention discovers each other between devices with different communication protocols, and uses a distributed soft bus to connect and network different devices, thereby constructing a distributed soft bus network; through the distributed soft bus network, networking adjustments can be made according to the business needs of the device, effectively improving the communication efficiency between devices.

[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0127] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0128] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A networking method based on a distributed soft bus, characterized in that: The networking method based on the distributed soft bus includes: Acquire a target communication protocol of a target device, and perform device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range; Obtain a distributed soft bus, and establish a communication link and a heterogeneous network connection for the target device and the plurality of discovered devices according to the distributed soft bus to obtain a distributed soft bus network; When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction.

2. The distributed soft bus-based networking method according to claim 1, characterized in that: The acquiring of the target communication protocol of the target device and performing device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range specifically includes: Obtaining a target communication protocol of a target device, and setting a device discovery strategy for the target device, wherein the device discovery strategy includes a device discovery frequency, a data reporting frequency, and a scanning period; A preset signal range of the target device is determined, and a device search is performed within the preset signal range according to the target communication protocol and the device discovery strategy to obtain a plurality of discovered devices.

3. The distributed soft bus-based networking method according to claim 2, characterized in that: The performing device search within the preset signal range according to the target communication protocol and the device discovery strategy to obtain a plurality of discovered devices specifically includes: Sending a request message in a broadcasting manner within the preset signal range according to the target communication protocol and the device discovery strategy, and receiving returned message response information in real time; The message response information is parsed to obtain a plurality of discovered devices and their device addresses.

4. The networking method based on the distributed soft bus according to claim 1, characterized in that: The step of acquiring a target communication protocol of a target device and performing device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range further includes: The current business scenario requirements are obtained, and according to the current business scenario requirements, a fusion discovery algorithm is used to perform device deduplication processing on the multiple discovered devices to obtain multiple preferred discovered devices.

5. The distributed soft bus-based networking method according to claim 3, characterized in that: The obtaining of a distributed soft bus, and establishing a communication link and heterogeneous networking connection for the target device and the plurality of discovered devices according to the distributed soft bus to obtain a distributed soft bus network, specifically includes: Acquire device node information of the target device and the plurality of discovered devices, wherein the device node information includes device scanning perception information, device status information, and device attribute information; Obtain a distributed soft bus, and use the distributed soft bus to establish a communication link according to the device node information and the device address to obtain a device communication link; The minimum channel power consumption corresponding to the target device and the multiple discovered devices in the device communication link is calculated, and a distributed soft bus is used to perform heterogeneous networking connection on the device communication link according to the minimum channel power consumption to obtain a distributed soft bus network.

6. The networking method based on the distributed soft bus according to claim 1, characterized in that: When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction, which specifically includes: When the target device receives the target service instruction, the target service instruction is parsed to obtain the target service requirement, wherein the target service requirement includes bandwidth requirement, delay requirement, and power consumption requirement; Acquire a current channel corresponding to the target device in the distributed soft bus network, and determine whether the current channel meets the target service requirement; If not, searching in the distributed soft bus network according to the target service requirements to obtain a target channel and a corresponding target discovery device that meet the requirements; The networking connection mode of the target device in the distributed soft bus network is adjusted according to the target channel and the corresponding target discovery device to control the target device to execute the target service instruction.

7. The distributed soft bus-based networking method according to claim 1, characterized in that: When the target device receives the target service instruction, the distributed soft bus network is adjusted according to the target service instruction to control the target device to execute the target service instruction, and then the method further includes: When a new device is added to the distributed soft bus network, the distributed soft bus network is updated according to the networking connection mode of the new device to obtain an updated distributed soft bus network, and the updated distributed soft bus network is uploaded to the cloud server for storage.

8. A distributed soft bus-based networking system, characterized in that: The distributed soft bus-based networking system includes: A device discovery processing module is used to obtain a target communication protocol of a target device, and perform device discovery processing according to the target communication protocol to obtain a plurality of discovered devices within a preset signal range; A soft bus network construction module is used to obtain a distributed soft bus, and to establish a communication link and a heterogeneous network connection for the target device and the plurality of discovered devices according to the distributed soft bus, so as to obtain a distributed soft bus network; The device networking adjustment module is used to adjust the networking of the distributed soft bus network according to the target business instruction when the target device receives the target business instruction, so as to control the target device to execute the target business instruction.

9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a distributed soft bus-based networking program stored in the memory and executable on the processor. When the distributed soft bus-based networking program is executed by the processor, the steps of the distributed soft bus-based networking method as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a distributed soft bus-based networking program, and when the distributed soft bus-based networking program is executed by a processor, the steps of the distributed soft bus-based networking method as described in any one of claims 1-7 are implemented.

Citation Information

Cited By

  • Ad hoc network communication method and device based on soft bus in power transmission line

    CN119324888A

  • A self-organizing network communication method and device based on soft bus in power transmission line

    CN119324888B

  • Method for downloading file by adopting soft bus acceleration and P2P acceleration

    CN119788450A

  • Data transmission method and platform based on OpenHarmony

    CN119788742A

  • OpenHarmony-based Data Transmission Method and Platform

    CN119788742B