CN115767499A - Equipment interconnection method, device, equipment and medium based on distributed soft bus - Google Patents

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

Info

Publication number
CN115767499A
CN115767499A CN202211422198.3A CN202211422198A CN115767499A CN 115767499 A CN115767499 A CN 115767499A CN 202211422198 A CN202211422198 A CN 202211422198A CN 115767499 A CN115767499 A CN 115767499A
Authority
CN
China
Prior art keywords
discovered
end device
soft bus
hoc network
discovery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211422198.3A
Other languages
Chinese (zh)
Inventor
杜博睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kaihong Digital Industry Development Co Ltd
Original Assignee
Shenzhen Kaihong Digital Industry Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kaihong Digital Industry Development Co Ltd filed Critical Shenzhen Kaihong Digital Industry Development Co Ltd
Priority to CN202211422198.3A priority Critical patent/CN115767499A/en
Publication of CN115767499A publication Critical patent/CN115767499A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a device interconnection method, a device, equipment and a medium based on a distributed soft bus, and the method, the device and the medium can issue a sending instruction in a broadcast form in a preset local area network according to the sending instruction sent by a discovery end device to the distributed soft bus, search the discovery end device connected with the preset local area network, avoid the problem of non-matching of connection of different communication protocol devices, reduce the complexity of an equipment ad hoc network, enable the equipment to search more efficiently and quickly, and improve the networking efficiency of a plurality of different communication protocol devices; the found end device can send a feedback signal to the sending end device after receiving the sending instruction, and is self-connected with the found end device through the feedback signal; the discovery end device can establish connection with at least one discovered end device, so that an ad hoc network containing a plurality of devices is formed, the self-connection of multi-device networking is realized, and the networking efficiency among different communication protocol devices is improved.

Description

Equipment interconnection method, device, equipment and medium based on distributed soft bus
Technical Field
The present application relates to the field of financial technology, and in particular, to a device interconnection method, apparatus, device, and medium based on a distributed soft bus.
Background
The intelligent transportation system can effectively and comprehensively apply advanced information technology, data communication technology, sensor technology, electronic control technology, computer technology and the like to the whole transportation management system, thereby establishing a comprehensive transportation and management system with large range, omnibearing, real-time, accuracy and high efficiency.
In the intelligent traffic system, the non-inductive discovery and data interaction of the terminal equipment group are realized for a carrier through a wireless communication technology, such as BLE, NFC, wiFi and the like, or networking schemes of Internet of things equipment such as LoRa, zigBee, NB-IoT and the like, so as to realize the networking of the terminal equipment group.
However, in the networking scheme of the current terminal device group, different schemes need to be designed according to different requirements in different scenes, and network protocols, standard specifications and the like in the schemes are not uniform, so that the problem of non-adaptation exists between different transmission protocols of different terminal devices in the same device networking, and different transmission protocol devices need external devices to perform protocol conversion to realize device connection, thereby increasing networking complexity or failing to realize connection, and causing low efficiency of multi-device networking.
Therefore, how to solve the problem of low networking efficiency between devices with different communication protocols becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The application provides a device interconnection method, a device, equipment and a medium based on a distributed soft bus, aiming at improving the networking efficiency among devices with different communication protocols.
In a first aspect, the present application provides a device interconnection method based on a distributed soft bus, where the device interconnection method based on the distributed soft bus includes the following steps:
searching the discovered end equipment in a preset local area network based on a discovery instruction sent by the discovered end equipment to the distributed soft bus;
and when a feedback signal sent by the discovered end device based on the discovery instruction is received, establishing connection between the discovered end device and the discovered end device to obtain a multi-device ad hoc network.
In a second aspect, the present application further provides an apparatus for interconnecting devices based on a distributed soft bus, where the apparatus for interconnecting devices based on a distributed soft bus includes:
the device searching module is used for searching the discovered end device in a preset local area network based on a discovery instruction sent by the discovered end device to the distributed soft bus;
and the device self-connection module is used for establishing connection between the discovered end device and the discovering end device to obtain a multi-device self-group network when receiving a feedback signal sent by the discovered end device based on the discovery instruction.
In a third aspect, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the device interconnection method based on the distributed soft bus are implemented.
In a fourth aspect, the present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the distributed soft bus-based device interconnection method as described above.
The application provides a device interconnection method, a device, equipment and a medium based on a distributed soft bus, and the method is based on a discovery instruction sent by discovery end equipment to the distributed soft bus, and the discovery end equipment is searched in a preset local area network; and when a feedback signal sent by the discovered end device based on the discovery instruction is received, establishing connection between the discovered end device and the discovered end device to obtain the multi-device ad hoc network. By the mode, according to the sending instruction sent by the discovery end device to the distributed soft bus, the sending instruction can be issued in the preset local area network in a broadcasting mode, the discovery end device connected with the preset local area network is searched, the problem that different communication protocol devices are not matched in connection is avoided, the complexity of the device ad hoc network is reduced, the device searching is more efficient and faster, and the networking efficiency of a plurality of different communication protocol devices is improved; the found end device can send a feedback signal to the sending end device after receiving the sending instruction, and is self-connected with the found end device through the feedback signal; the discovery end device can establish connection with at least one discovered end device, so that an ad hoc network containing a plurality of devices is formed, the self-connection of multi-device networking is realized, and the networking efficiency among different communication protocol devices is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a device interconnection system based on a distributed soft bus according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a first embodiment of a device interconnection method based on a distributed soft bus according to the present application;
fig. 3 is a schematic flowchart of a second embodiment of a device interconnection method based on a distributed soft bus according to the present application;
fig. 4 is a schematic structural diagram of a first embodiment of a device interconnection apparatus based on a distributed soft bus provided in the present application;
fig. 5 is a schematic block diagram of a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution order may be changed according to the actual situation.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Embodiments of the present application provide a device interconnection method, apparatus, device and storage medium based on a distributed soft bus, which are used for implementing self-connection between different communication protocol devices through the distributed soft bus, thereby improving networking efficiency between different communication protocol devices.
As shown in fig. 1, fig. 1 is a device interconnection system based on a distributed soft bus according to an embodiment of the present application, and the system includes a terminal and a server, where the terminal and the server are communicatively connected, the server and a networking device group are communicatively connected through the distributed soft bus, and the networking device group includes a discovered-end device.
The terminal comprises electronic equipment such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and wearable equipment.
The server comprises an independent server or a server cluster.
Hereinafter, a device interconnection method based on a distributed soft bus provided in an embodiment of the present application will be described in detail based on the device interconnection system based on a distributed soft bus.
Optionally, the device interconnection method based on the distributed soft bus provided in the embodiment of the present application may be used in a scenario where multiple devices are interconnected, and for convenience of understanding, the embodiment provided in the present application takes an application of the method in a traffic system as an example for description.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a first embodiment of a device interconnection method based on a distributed soft bus according to the present application. The device interconnection method based on the distributed soft bus can be used in a server of a device interconnection system based on the distributed soft bus.
As shown in fig. 2, the device interconnection method based on the distributed soft bus includes steps S101 to S102.
Step S101, searching discovered end equipment in a preset local area network based on a discovery instruction sent by the discovered end equipment to a distributed soft bus;
in this embodiment, an internet of things (IoT) device may be divided into a discovery peer device and a discovery peer device, and be located in the same local area network. When the device networking is carried out, the discovery end device firstly sends a discover instruction to the distributed soft bus, and searches the local area network for the existence of the discovery end device.
In an embodiment, in a device group of an urban traffic system, a discovered-end device may be a certain software function of a controller application layer, and a discovered-end device may be a traffic device such as a traffic signal lamp, a camera, and a velocimeter. The networking combination of the discovered end equipment and the discovered end equipment can realize the command, control and the like of the urban traffic system, for example, the controller software combines the traffic flow and the people flow density which are detected by the camera to adjust the traffic signal lamp so as to realize the rapid dispersion of roads and the like.
In an embodiment, before searching for the discovered end device in the preset local area network based on the discovery instruction sent by the discovered end device to the distributed soft bus, the method further includes:
acquiring a wireless communication module of each standby device, wherein the standby devices comprise the discovery end device and the discovered end device; and carrying a preset operating system based on the wireless communication module to realize the deployment of the distributed soft bus.
In one embodiment, the deployment of the distributed soft bus requires that the standby device support the operation of a preset operating system to join in the soft bus for device interconnection, and also requires that the standby device can support at least one piece of hardware for wireless communication, namely a wireless communication module, to realize communication connection.
In one embodiment, the distributed soft bus can shield the technical details of the underlying protocol and provide a uniform interface to the outside by integrating and fusing a plurality of different wireless communication protocols and network protocols (such as bluetooth, wifi, NFC, internet and the like).
In an embodiment, the transmission rates of different networking modes and different transmission protocols are different and greatly different, and the time delay cannot be guaranteed. The distributed soft bus can provide a simple protocol, and integrates a presentation layer, a session layer, a transmission layer, a network layer and the like in a communication network into one layer, so as to improve the effective load and the transmission bandwidth.
In the above embodiment, hardware mutual assistance and resource sharing can be realized among various devices arranged in the deployment of the distributed soft bus, and a communication base is provided for terminal devices of an urban traffic system, such as signal lamps, cameras, velometer, road barricade and the like, so that the devices are interconnected and have uniform distributed communication capability.
Further, the searching for the discovered end device in the preset local area network based on the discovery instruction sent by the discovered end device to the distributed soft bus includes:
receiving the discovery instruction sent by the discovery end device based on the distributed soft bus;
when the discovery instruction is received, based on a preset service interface and the preset local area network, sending a broadcast signal to at least one receiving terminal device mounted on the distributed soft bus; wherein the receiving end device comprises at least one discovered end device;
and when the discovered end device receives the broadcast signal, sending the feedback signal to the discovered end device so as to realize self-connection between the discovered end device and the discovered end device.
In an embodiment, the receiving end device may be a device whole including a plurality of discovered end devices, for example, the street lamp device may be a receiving end device, and the street lamp device may include a camera device, an illumination device, a speed measurement device, and other discovered end devices.
In an embodiment, the discovery end device sends a discover instruction to the distributed soft bus, sends a broadcast signal to all receiving devices mounted on the distributed soft bus in a preset local area network, and searches whether the discovery end device exists in the preset local area network. And when the discovered end device receives the broadcast signal, the discovered end device can send a feedback signal to the discovered end device through the distributed soft bus so as to respond to the searching action of the discovered end device.
Step S102, when a feedback signal sent by the discovered end device based on the discovery instruction is received, the discovered end device is connected with the discovering end device, and a multi-device ad hoc network is obtained.
In an embodiment, the feedback signal includes device information of the discovered device, where the device information includes a device name, a device number, and a device function.
In an embodiment, after the discovery command is issued by the discovery end device, there may be a plurality of discovered end devices that respond to the discovery command and send a feedback signal to the discovery end device, at this time, the discovery end device needs to know "identity information" and its function of the discovered end device, so the feedback signal needs to include device information of the discovered end device, including a device name, a device number, and a device function.
In an embodiment, the device name may identify an identity of a discovered device, such as a camera, an illumination device, or a speed measurement device, and the device number is unique, and may be used to distinguish the same device according to a device arrangement sequence, for example, a receiving device may be used as a main body, and the device number is 1, 2, 3, 1, n, and the like in sequence according to a distribution sequence of the receiving device, and a received device mounted on the receiving device takes the number of the receiving device as a first position, and then performs numbering, for example, 1-1-1 represents a first illumination device mounted on the receiving device with the distribution sequence of 1, 1-2-1 represents a first camera device mounted on the receiving device, and so on, thereby distinguishing the discovered devices.
Alternatively, the device information may also be added with location information of each device to be received, such as a certain street, a certain intersection, and the like. The device function may describe the function of the device at the current location, such as the lighting device is for lighting; the speed measuring equipment can comprise a speed measuring road section, a speed limit standard, vehicle speed calculation and the like; the camera device may include a shooting range and a shooting target, for example, the camera device may monitor traffic information of a certain lane, may also monitor road conditions of sidewalks of a certain street, or may monitor traffic information and traffic information at intersections.
It can be understood that the distributed device virtualization platform can implement resource fusion, device management, and data processing of different devices, and multiple devices form a super virtual terminal together. Aiming at different types of tasks, execution hardware with proper capability is matched and selected for a user, so that services can be continuously circulated among different devices, and the capability advantages of the different devices, such as display capability, camera shooting capability, audio capability, interaction capability, sensor capability and the like, are fully exerted.
The embodiment provides a device interconnection method based on a distributed soft bus, which can issue a sending instruction in a broadcast form in a preset local area network according to the sending instruction sent by a discovery end device to the distributed soft bus, search the discovery end device connected with the preset local area network, avoid the problem of non-matching of devices with different communication protocols, reduce the complexity of a device ad hoc network, enable the device search to be more efficient and faster, and improve the networking efficiency of a plurality of devices with different communication protocols; the found end device can send a feedback signal to the sending end device after receiving the sending instruction, and is self-connected with the found end device through the feedback signal; the discovery end device can establish connection with at least one discovered end device, so that an ad hoc network containing a plurality of devices is formed, the self-connection of multi-device networking is realized, and the networking efficiency among different communication protocol devices is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a second embodiment of a device interconnection method based on a distributed soft bus according to the present application.
In this embodiment, based on the embodiment shown in fig. 2, after the step S102, the method further includes:
step S201, acquiring device information of each discovered end device and each discovered end device in the multi-device ad hoc network, and generating an ad hoc network device list;
in this embodiment, the discovery end device may be used as a networking center or a networking node, and after receiving the feedback signal sent by the discovered end device, a device information list of the discovered end device may be established according to device information included in the feedback signal, so as to facilitate management of the ad hoc network.
In an embodiment, the ad hoc network device list may include device information such as a device name, a device number, a device function, and a device location of each discovery peer device, so as to manage and regulate networking devices in the multi-device ad hoc network.
Step S202, detecting the online states of the discovery end devices and the discovered end devices in the multi-device ad hoc network based on the ad hoc network device list.
In one embodiment, the online status includes an online status, a offline status, and a standby status.
In an embodiment, the ad hoc network device list may display an online status of each networking device in the list, and update the ad hoc network device list in real time by detecting an operating status of each networking device in real time, so as to monitor an operating status of the multi-device ad hoc network.
In an embodiment, after detecting the presence statuses of the discovered end devices and the discovered end devices in the multi-device ad hoc network based on the ad hoc network device list, the method further includes:
when a current discovered end device establishes connection with the discovered end device in the multi-device ad hoc network, establishing connection with the current discovered end device based on the discovered end device in the multi-device ad hoc network so as to monitor the online state of the current discovered end device;
updating the ad hoc network device list, and adding the current discovered device to the ad hoc network device list to record the device information and the online status of the current discovered device.
In an embodiment, after the building of the multi-device ad hoc network is completed, if there is a newly online device to connect to the multi-device ad hoc network, the device may be registered with the network layer and added to the ad hoc network device list. The multi-device ad hoc network establishes channel connection with the newly online current discovered end device, detects the running state or the conversion state of the device in real time, and records, displays and updates the state through the ad hoc network device list.
In an embodiment, when the multi-device ad hoc network establishes a channel connection with a newly online currently discovered end device, other discovered end devices existing in the multi-device ad hoc network may select the currently discovered end device of interest, so as to monitor the currently discovered end device, and after the currently discovered end device is online, a communication connection may be established with other discovered end devices monitoring the device.
The embodiment can ignore the difference between different network protocols and standard specifications and the networking mode, so that the service development is decoupled from the equipment networking, and only the equipment is monitored for going on and off the line.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a first embodiment of a device interconnection apparatus based on a distributed soft bus according to the present application, where the device interconnection apparatus based on a distributed soft bus is used to execute the device interconnection method based on a distributed soft bus. Wherein, the device interconnection apparatus based on the distributed soft bus can be configured in the server.
As shown in fig. 4, the device interconnection apparatus 300 based on distributed soft bus includes: a device search module 301 and a device self-connect module 302.
The device searching module 301 is configured to search a discovered device in a preset local area network based on a discovery instruction sent by the discovered device to the distributed soft bus;
a device self-connection module 302, configured to establish a connection between the discovered end device and the discovery end device when receiving a feedback signal sent by the discovered end device based on the discovery instruction, so as to obtain a multi-device ad hoc network.
In an embodiment, the device interconnection apparatus based on the distributed soft bus further includes a distributed soft bus deployment module, configured to obtain a wireless communication module of each standby device, where the standby device includes the discovery end device and the discovered end device; and carrying a preset operating system based on the wireless communication module so as to realize the deployment of the distributed soft bus.
In an embodiment, the device search module 301 is further configured to receive the discovery instruction sent by the discovery end device based on the distributed soft bus; when the discovery instruction is received, based on a preset service interface and the preset local area network, sending a broadcast signal to at least one receiving terminal device mounted on the distributed soft bus; wherein the receiving end device comprises at least one discovered end device; and when the discovered end device receives the broadcast signal, sending the feedback signal to the discovered end device so as to realize self-connection between the discovered end device and the discovered end device.
In an embodiment, the feedback signal includes device information of the discovered device, where the device information includes a device name, a device number, and a device function.
In an embodiment, the device interconnection apparatus based on the distributed soft bus further includes a device monitoring module, configured to obtain device information of each discovered device and each discovered device in the multi-device ad hoc network, and generate an ad hoc network device list;
and detecting the online states of the discovery end devices and the discovered end devices in the multi-device ad hoc network based on the ad hoc network device list.
In one embodiment, the online status includes an online status, a offline status, and a standby status.
In an embodiment, the device monitoring module is further configured to, when a current discovered end device establishes a connection with the discovering end device in the multi-device ad hoc network, establish a connection with the current discovered end device based on the discovered end device in the multi-device ad hoc network, so as to monitor an online status of the current discovered end device; updating the ad hoc network device list, and adding the current discovered device to the ad hoc network device list to record the device information and the online status of the current discovered device.
It should be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the modules described above may refer to corresponding processes in the foregoing device interconnection method embodiment based on the distributed soft bus, and are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present disclosure. The computer device may be a server.
Referring to fig. 5, the computer device includes a processor, a memory, and a network interface connected through a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the distributed soft bus based device interconnection methods.
The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which when executed by the processor, causes the processor to perform any of the distributed soft bus based device interconnection methods.
The network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may 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. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
searching the discovered end equipment in a preset local area network based on a discovery instruction sent by the discovered end equipment to the distributed soft bus;
and when a feedback signal sent by the discovered end device based on the discovery instruction is received, establishing connection between the discovered end device and the discovered end device to obtain a multi-device ad hoc network.
In an embodiment, before implementing the discovery instruction sent to the distributed soft bus based on the discovery end device, and searching for the discovered end device in a preset local area network, the processor is further configured to implement:
acquiring a wireless communication module of each standby device, wherein the standby devices comprise the discovery end device and the discovered end device;
and carrying a preset operating system based on the wireless communication module so as to realize the deployment of the distributed soft bus.
In an embodiment, when implementing the discovery instruction sent to the distributed soft bus based on the discovery end device, and searching for the discovered end device in a preset local area network, the processor is configured to implement:
receiving the discovery instruction sent by the discovery end device based on the distributed soft bus;
when the discovery instruction is received, based on a preset service interface and the preset local area network, sending a broadcast signal to at least one receiving terminal device mounted on the distributed soft bus; wherein the receiving end device comprises at least one discovered end device;
and when the discovered end device receives the broadcast signal, sending the feedback signal to the discovered end device so as to realize self-connection between the discovered end device and the discovered end device.
In one embodiment, the feedback signal includes device information of the discovered end device, wherein the device information includes a device name, a device number, and a device function.
In one embodiment, after the processor is configured to establish a connection between the discovered end device and the discovered end device when receiving the feedback signal sent by the discovered end device based on the discovery instruction, and obtain a multi-device ad hoc network, the processor is further configured to:
acquiring equipment information of each discovered end equipment and each discovered end equipment in the multi-equipment ad hoc network, and generating an ad hoc network equipment list;
and detecting the online states of the discovery end devices and the discovered end devices in the multi-device ad hoc network based on the ad hoc network device list.
In one embodiment, the online status includes an online status, a offline status, and a standby status.
In an embodiment, after the detecting the presence status of the respective discovering end devices and the respective discovered end devices in the multi-device ad hoc network based on the ad hoc network device list, the processor is further configured to:
when a current discovered end device establishes connection with the discovering end device in the multi-device ad hoc network, establishing connection with the current discovered end device based on the discovered end device in the multi-device ad hoc network so as to monitor the online state of the current discovered end device;
updating the ad hoc network device list, and adding the current discovered device to the ad hoc network device list to record the device information and the online status of the current discovered device.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the processor executes the program instructions to implement any one of the methods for interconnecting devices based on a distributed soft bus provided in the embodiments of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the computer device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A device interconnection method based on a distributed soft bus is characterized by comprising the following steps:
searching the discovered end equipment in a preset local area network based on a discovery instruction sent by the discovered end equipment to the distributed soft bus;
and when a feedback signal sent by the discovered end device based on the discovery instruction is received, establishing connection between the discovered end device and the discovered end device to obtain a multi-device ad hoc network.
2. The method according to claim 1, wherein before searching for the discovered end device in the predetermined local area network, the method further includes:
acquiring a wireless communication module of each standby device, wherein the standby device comprises the discovery end device and the discovery end device;
and carrying a preset operating system based on the wireless communication module to realize the deployment of the distributed soft bus.
3. The method according to claim 2, wherein the searching for the discovered end device in the preset local area network based on the discovery instruction sent by the discovered end device to the distributed soft bus comprises:
receiving the discovery instruction sent by the discovery end device based on the distributed soft bus;
when the discovery instruction is received, based on a preset service interface and the preset local area network, sending a broadcast signal to at least one receiving terminal device mounted on the distributed soft bus; wherein the receiving end device comprises at least one discovered end device;
and when the discovered end device receives the broadcast signal, sending the feedback signal to the discovered end device so as to realize self-connection between the discovered end device and the discovered end device.
4. The distributed soft bus-based device interconnection method according to claim 1, wherein the feedback signal comprises device information of the discovered device, wherein the device information comprises a device name, a device number, and a device function.
5. The method as claimed in claim 4, wherein after the step of establishing a connection between the discovered peer device and the discovered peer device to obtain a multi-device ad hoc network after receiving a feedback signal sent by the discovered peer device based on the discovery instruction is performed, the method further comprises:
acquiring equipment information of each discovered end equipment and each discovered end equipment in the multi-equipment ad hoc network, and generating an ad hoc network equipment list;
and detecting the online states of the discovery end devices and the discovered end devices in the multi-device ad hoc network based on the ad hoc network device list.
6. The distributed soft bus-based device interconnection method according to claim 5, wherein the online status includes an online status, a offline status, and a standby status.
7. The method according to claim 5, wherein after detecting the presence status of each discovered device and each discovered device in the multi-device ad hoc network based on the ad hoc network device list, the method further comprises:
when a current discovered end device establishes connection with the discovering end device in the multi-device ad hoc network, establishing connection with the current discovered end device based on the discovered end device in the multi-device ad hoc network so as to monitor the online state of the current discovered end device;
updating the ad hoc network device list, and adding the current discovered device to the ad hoc network device list to record the device information and the online status of the current discovered device.
8. An apparatus for interconnecting devices based on a distributed soft bus, comprising:
the device searching module is used for searching the discovered end device in a preset local area network based on a discovery instruction sent by the discovered end device to the distributed soft bus;
and the device self-connection module is used for establishing connection between the discovered end device and the discovering end device to obtain a multi-device self-group network when receiving a feedback signal sent by the discovered end device based on the discovery instruction.
9. A computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the distributed soft bus based device interconnect method of any of claims 1 to 7.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the distributed soft bus based device interconnection method of any one of claims 1 to 7.
CN202211422198.3A 2022-11-14 2022-11-14 Equipment interconnection method, device, equipment and medium based on distributed soft bus Pending CN115767499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211422198.3A CN115767499A (en) 2022-11-14 2022-11-14 Equipment interconnection method, device, equipment and medium based on distributed soft bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211422198.3A CN115767499A (en) 2022-11-14 2022-11-14 Equipment interconnection method, device, equipment and medium based on distributed soft bus

Publications (1)

Publication Number Publication Date
CN115767499A true CN115767499A (en) 2023-03-07

Family

ID=85370512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211422198.3A Pending CN115767499A (en) 2022-11-14 2022-11-14 Equipment interconnection method, device, equipment and medium based on distributed soft bus

Country Status (1)

Country Link
CN (1) CN115767499A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873757A (en) * 2024-03-12 2024-04-12 中科南京软件技术研究院 Lightweight soft bus method suitable for communication of various special-shaped physical interface devices
CN117873757B (en) * 2024-03-12 2024-06-04 中科南京软件技术研究院 Lightweight soft bus method suitable for communication of various special-shaped physical interface devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873757A (en) * 2024-03-12 2024-04-12 中科南京软件技术研究院 Lightweight soft bus method suitable for communication of various special-shaped physical interface devices
CN117873757B (en) * 2024-03-12 2024-06-04 中科南京软件技术研究院 Lightweight soft bus method suitable for communication of various special-shaped physical interface devices

Similar Documents

Publication Publication Date Title
US20220358370A1 (en) Artificial intelligence inference architecture with hardware acceleration
US20220407784A1 (en) Service level agreement-based multi-hardware accelerated inference
CN112152926B (en) Method and device for managing network slices of application
EP3820172A1 (en) Communication solution for internet of vehicles
CN111108474A (en) Techniques to manage accelerator resources through cloud resource managers
KR20120046547A (en) The method of determining group owner in peer to peer network and the device thereof
Rodrigues et al. Towards a middleware for mobile edge-cloud applications
US11595473B2 (en) Ad hoc decentralized cloud infrastructure
US11297148B2 (en) Protocol for anycast based discovery of local resources
US11638138B2 (en) Device-to-device content providing method
US20220329993A1 (en) Autonomous vehicle communication framework for multi-network scenarios
CN114556861A (en) Anonymization and randomization of device identities
US20230136615A1 (en) Virtual pools and resources using distributed networked processing units
US20220272578A1 (en) Method, device and system for implementing edge computing
CN112236979B (en) Data Sample Template (DST) management for enabling fog-based data processing
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN115767499A (en) Equipment interconnection method, device, equipment and medium based on distributed soft bus
CN109275125B (en) Resource sharing method, device, equipment and storage medium
US10805838B2 (en) Method and device for obtaining resources and information of SDN networks of different operators
US11997567B2 (en) V2X network communication
WO2023081202A1 (en) Mec dual edge apr registration on behalf of edge platform in dual edge deployments
KR101921275B1 (en) Method and system of file transfer using device-to-device communication technique in messenger
US20170286181A1 (en) Deployment and execution of sensing and computational tasks in a network of computing devices
CN113271229B (en) Equipment control method and device, storage equipment, safety equipment, switch, router and server
US20170142188A1 (en) Method for establshing, configuring, and managing a transient social group

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination