Equipment checking method, system and terminal based on equipment networking
Through the device networking method, using low-power Bluetooth technology to scan and generate network diagrams, the problem of inconvenient equipment inspection in the existing technology is solved, and the comprehensive acquisition of equipment information and security guarantee is achieved.
Patent Information
- Application Number
- CN202411193453.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-29
AI Technical Summary
The auxiliary service tools provided by the network in the prior art cannot comprehensively and conveniently conduct equipment inspection and information acquisition, resulting in the inability to obtain information in time when a device or service fails, affecting the safety of the project.
Using a device networking method, scanning and networking through low-power Bluetooth technology, networking diagrams are generated, and inspection information is obtained regularly for reporting, ensuring the integrity and convenience of information acquisition.
Through hierarchical scanning and network diagram construction, the comprehensive acquisition of equipment information is achieved, ensuring convenient information acquisition and equipment security is ensured, and important information is avoided.
Smart Images

Figure CN119052018A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment inspection, and in particular to an equipment inspection method, system and terminal based on equipment networking. Background Art
[0002] At present, equipment networking is usually used in portable communications, so that front-end voice, video and other data can be transmitted, which can play an extremely important role in the fields of electricity, petroleum, water conservancy, forestry, radio and television, medical treatment, water and air communications, etc. However, the auxiliary service tools provided by the networking cannot comprehensively and conveniently perform equipment inspection and information acquisition, resulting in the inability to obtain corresponding information in time when equipment or corresponding services fail, which affects the safety of the corresponding project.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] The main purpose of the present invention is to provide a device inspection method, system, terminal and computer-readable storage medium based on device networking, aiming to solve the problem that the auxiliary service tools provided based on networking in the prior art cannot comprehensively and conveniently perform equipment inspection and information acquisition, resulting in the inability of the device or the corresponding service to obtain the corresponding information in time when a failure occurs, thereby affecting the safety of the corresponding project.
[0005] To achieve the above object, the present invention provides a device inspection method based on device networking, the device inspection method based on device networking comprising the following steps:
[0006] Obtaining a target project to be processed, and selecting a central device that has completed networking with a local device from the target project according to user input;
[0007] Scan the soft bus devices within the preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with the local devices, control all the soft bus devices to scan, obtain the soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them;
[0008] Generate a network diagram based on the central device, soft bus device, soft bus node device and newly built device, obtain user requirements, and generate inspection services based on the user requirements and the network diagram;
[0009] According to the inspection service, the inspection information of the central equipment, soft bus equipment, soft bus node equipment and newly built equipment is obtained and reported regularly.
[0010] Optionally, scanning the soft bus devices within a preset range according to the low-power Bluetooth technology and networking the corresponding soft bus devices with the local device specifically includes:
[0011] Turn on the wireless access point and initiate a low-power Bluetooth scan to scan the soft bus devices within the preset range;
[0012] Get all scanned soft bus devices and network the local device with the soft bus devices.
[0013] Optionally, the controlling all the soft bus devices to scan, obtain soft bus node devices and network them, specifically includes:
[0014] Obtaining the target soft bus node device requirements, scanning each soft bus device according to Ethernet, and obtaining a plurality of candidate soft bus node devices corresponding to each soft bus device;
[0015] According to the target soft bus node device requirements, selecting a soft bus node device to be networked from a plurality of to-be-selected soft bus devices;
[0016] Control each soft bus device to form a network with the corresponding soft bus node device.
[0017] Optionally, generating corresponding new devices and networking according to the soft bus node devices and soft bus devices specifically includes:
[0018] Obtain new devices that are connected to soft bus node devices and soft bus devices through industrial interfaces, and obtain new node requirements and object model templates pre-set in the cloud;
[0019] According to the new node requirement, a preset number of target new devices are selected from a plurality of new devices, and a corresponding new device is generated according to the object model template and each target new device;
[0020] Networking is carried out with the corresponding newly built equipment according to the industrial interface of each soft bus node equipment and soft bus equipment.
[0021] Optionally, generating a network diagram according to the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating an inspection service according to the user requirements and the network diagram specifically includes:
[0022] According to the networking among the central device, the soft bus device, the soft bus node device and the newly-built device, a corresponding networking diagram is generated, wherein different lines are used to describe the networking in different ways;
[0023] Obtain user requirements, and generate corresponding inspection services according to the user requirements and the networking diagram, wherein the inspection services include daily inspection services and operation and maintenance inspection services.
[0024] Optionally, the inspection information of the central device, the soft bus device, the soft bus node device and the newly-built device is regularly obtained and reported according to the inspection service, specifically including:
[0025] Obtain daily operation and maintenance inspection services based on the inspection services described;
[0026] The central device, the soft bus device, the soft bus node device and the newly-built device are controlled to obtain and report daily service information according to the daily inspection service requirements at first predetermined intervals.
[0027] Optionally, generating a networking diagram according to the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating an inspection service according to the user requirements and the networking diagram, further includes:
[0028] Obtaining operation and maintenance inspection services according to the inspection services;
[0029] When receiving a user inspection service instruction, the central device, soft bus device, soft bus node device and newly-built device are controlled to obtain and report operation and maintenance service information according to the operation and maintenance inspection service.
[0030] In addition, to achieve the above-mentioned purpose, the present invention further provides a device inspection system based on device networking, wherein the device inspection system based on device networking includes:
[0031] A project acquisition module is used to acquire a target project to be processed and select a central device that has completed networking with a local device from the target project according to user input;
[0032] A networking module is used to scan soft bus devices within a preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with local devices, control all the soft bus devices to scan, obtain soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them;
[0033] The inspection service generation module is used to generate a network diagram based on the central device, soft bus device, soft bus node device and newly-built device, obtain user requirements, and generate inspection services based on the user requirements and the network diagram;
[0034] The information acquisition and reporting module is used to regularly acquire and report the inspection information of the central equipment, soft bus equipment, soft bus node equipment and newly built equipment according to the inspection service.
[0035] 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 device inspection program based on device networking stored in the memory and executable on the processor, wherein the device inspection program based on device networking, when executed by the processor, implements the steps of the device inspection method based on device networking as described above.
[0036] 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 device inspection program based on device networking, and when the device inspection program based on device networking is executed by a processor, the steps of the device inspection method based on device networking as described above are implemented.
[0037] In the present invention, a target project to be processed is obtained, and a central device that has completed networking with a local device is selected from the target project according to user input; soft bus devices within a preset range are scanned according to low-power Bluetooth technology, and the corresponding soft bus devices are networked with local devices, all the soft bus devices are controlled to scan, soft bus node devices are obtained and networked, and corresponding new devices are generated and networked according to the soft bus node devices and soft bus devices; a networking diagram is generated according to the central device, soft bus device, soft bus node device and new device, user needs are obtained, and an inspection service is generated according to the user needs and the networking diagram; according to the inspection service, the inspection information of the central device, soft bus device, soft bus node device and new device is regularly obtained and reported. The present invention cannot comprehensively and conveniently perform equipment inspection and information acquisition for the auxiliary service tools provided based on the networking, resulting in the inability of the equipment or the corresponding service to obtain the corresponding information in time when a failure occurs, which affects the safety of the corresponding project. A hierarchical scanning method is adopted to obtain equipment and corresponding networking, thereby ensuring the integrity of the networking, and a corresponding networking diagram is constructed through the obtained complete networking. Based on the networking diagram, the corresponding inspection service is obtained, so that during the inspection, information can be obtained according to the networking relationship between the devices in the networking diagram, thereby ensuring that the information is easy to obtain, and the source and path of each information can be intuitively obtained, so that the equipment can be inspected according to the corresponding information without missing some equipment information, thereby ensuring the safety of the equipment and the corresponding project. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a flow chart of a preferred embodiment of a device inspection method based on device networking of the present invention;
[0039] Figure 2 It is a networking schematic diagram of a device inspection method based on device networking of the present invention;
[0040] Figure 3It is a structural diagram of a preferred embodiment of the device inspection system based on device networking of the present invention;
[0041] Figure 4 It is a structural diagram of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0042] 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.
[0043] Equipment networking is usually used in portable communications, so that front-end voice, video and other data can be transmitted. It can play an extremely important role in the fields of electricity, petroleum, water conservancy, forestry, radio and television, medical treatment, water and air communications, etc. However, the auxiliary service tools provided based on networking cannot comprehensively and conveniently perform equipment inspection and information acquisition, resulting in the inability to obtain corresponding information in time when equipment or corresponding services fail, affecting the safety of corresponding projects.
[0044] In response to one or more of the above-mentioned problems, the present invention obtains a target project to be processed, and selects a central device that has completed networking with a local device from the target project according to user input; scans soft bus devices within a preset range according to low-power Bluetooth technology, and networks the corresponding soft bus devices with local devices, controls all the soft bus devices to scan, obtains soft bus node devices and networks them, generates corresponding new devices according to the soft bus node devices and soft bus devices and networks them; generates a networking diagram according to the central device, soft bus device, soft bus node device and new device, obtains user needs, and generates inspection services according to the user needs and the networking diagram; and regularly obtains and reports inspection information of the central device, soft bus device, soft bus node device and new device according to the inspection service.
[0045] The device inspection method based on device networking described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the device inspection method based on device networking includes the following steps:
[0046] Step S10: Obtain a target project to be processed, and select a central device that has completed networking with the local device from the target project according to user input.
[0047] Specifically, in this application, before processing, an application is made to the cloud to query the project list, and a project is selected for loading, so as to obtain the corresponding target project to be processed; in another embodiment of this application, a new empty project is created locally, and the project name can be modified. After the creation is completed, the project can be reported to the cloud to achieve end-cloud synchronization, thereby realizing the generation of the target project to be processed. After obtaining the corresponding target project to be processed, the central device that has completed networking with the local device is selected from the target project. When there are multiple devices that have completed networking with the local device, one of them is selected as the corresponding central device according to the user's choice, and the central device is also a soft bus device.
[0048] In addition, in this application, after the central device is set up, the local terminal can discover and load the device, present the network relationship of the device, that is, present the network relationship of the device by generating the corresponding networking diagram, and manage the connected devices. The local terminal can be divided into a device cache area for displaying the scanned devices, a device network display area for displaying the corresponding networking diagram, and a service management area for patrol service notifications for the corresponding devices.
[0049] Step S20, scan the soft bus devices within the preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with the local devices, control all the soft bus devices to scan, obtain the soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them.
[0050] Specifically, in this application, after obtaining the target project to be processed, it is necessary to discover the soft bus devices, soft bus node devices and newly created devices around the central device accordingly, so as to complete the networking between the devices. In one embodiment of this application, the controller in the target project is selected as the corresponding central device.
[0051] Further, scanning the soft bus devices within a preset range according to the low-power Bluetooth technology and networking the corresponding soft bus devices with the local device specifically includes:
[0052] Turn on the wireless access point and initiate a low-power Bluetooth scan to scan the soft bus devices within the preset range;
[0053] Get all scanned soft bus devices and network the local device with the soft bus devices.
[0054] It should be noted that Bluetooth Low Energy (BLE) is a personal area network technology designed and sold by the Bluetooth Technology Alliance. In this application, the local terminal can be a small, portable personal computer, or any device that can implement low-power Bluetooth scanning. The local terminal turns on the wireless access point and scans the soft bus devices within the preset range according to the low-power Bluetooth technology, so that when the scan is found, the corresponding device is connected to the network to complete the networking. After obtaining all the scanned soft bus devices, the corresponding soft bus devices are displayed on the visual interface of the local terminal, and the corresponding networking relationship between the soft bus devices and the corresponding central devices is displayed on the visual interface.
[0055] Further, the controlling all the soft bus devices to scan, obtain soft bus node devices and network them, specifically includes:
[0056] Obtaining the target soft bus node device requirements, scanning each soft bus device according to Ethernet, and obtaining a plurality of candidate soft bus node devices corresponding to each soft bus device;
[0057] According to the target soft bus node device requirements, selecting a soft bus node device to be networked from a plurality of to-be-selected soft bus devices;
[0058] Control each soft bus device to form a network with the corresponding soft bus node device.
[0059] Specifically, in the present application, after obtaining the soft bus device, the corresponding soft bus node device is obtained by the soft bus device. First, the target soft bus node device requirements are obtained, which include the soft bus node device that the user wants to configure for networking, wherein the soft bus node device is a device connected to the soft bus device via Ethernet, and the soft bus node device that has been connected to the local area network via Ethernet needs to be scanned and discovered, and loaded into the device cache area, displaying the corresponding device, and then selecting the required device to access the current network through the target soft bus node device requirements, wherein in the corresponding networking relationship, the soft bus node device is connected to the corresponding soft bus device, that is, each soft bus device is controlled to be networked with the corresponding soft bus node device.
[0060] Further, generating corresponding new devices and networking according to the soft bus node devices and soft bus devices specifically includes:
[0061] Obtain new devices that are connected to soft bus node devices and soft bus devices through industrial interfaces, and obtain new node requirements and object model templates pre-set in the cloud;
[0062] According to the new node requirement, a preset number of target new devices are selected from a plurality of new devices, and a corresponding new device is generated according to the object model template and each target new device;
[0063] Networking is carried out with the corresponding newly built equipment according to the industrial interface of each soft bus node equipment and soft bus equipment.
[0064] Specifically, in this application, some devices are connected to the corresponding soft bus node devices and soft bus devices not through low-power Bluetooth or Ethernet, but through industrial interfaces. For example, devices connected through industrial reuse interfaces such as RS485, CAN bus, DIDO, etc. These devices cannot be directly discovered through local terminals, so corresponding networking needs to be established.
[0065] In this application, the newly built equipment connected to the soft bus node equipment and the soft bus equipment through the industrial interface is first obtained. This part of the equipment has no network connection capability, so its networking is displayed on the local terminal. In the local terminal, the corresponding object model template is first obtained from the cloud, wherein the object model template contains the name of the corresponding device, the network status, the device control domain and the device system settings. The new node demand is obtained, and the required target new equipment is selected from multiple new equipment, and the preset number is the number of target new equipment set by the user. The corresponding new equipment is generated for each target new equipment in the local terminal through the object model template, and the industrial interface of each soft bus node equipment and soft bus equipment is networked with the corresponding new equipment, that is, on the basis of realizing the connection between the new equipment and the soft bus node equipment and the soft bus equipment through the industrial interface, the networking between the new equipment and each soft bus node equipment and the soft bus equipment is established in the local terminal, wherein the networking mode displayed in the networking is the corresponding industrial interface.
[0066] Step S30: Generate a networking diagram based on the central device, soft bus device, soft bus node device and newly-built device, obtain user requirements, and generate inspection services based on the user requirements and the networking diagram.
[0067] Specifically, in this application, a network diagram is generated through a central device, a soft bus device, a soft bus node device and a newly-built device, as shown in FIG. Figure 2 As shown, it is a network diagram based on the present application, wherein, in the network diagram, the corresponding L2 controller is a soft bus device, the L0 Adapter is a soft bus node device, and the fan, lighting, wind vane, smoke alarm, light intensity (i.e., light sensor), and lane indicator light are corresponding newly-built devices. For the corresponding network diagram, corresponding inspection services can be generated according to user needs.
[0068] Further, generating a network diagram based on the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating inspection services based on the user requirements and the network diagram specifically include:
[0069] According to the networking among the central device, the soft bus device, the soft bus node device and the newly-built device, a corresponding networking diagram is generated, wherein different lines are used to describe the networking in different ways;
[0070] Obtain user requirements, and generate corresponding inspection services according to the user requirements and the networking diagram, wherein the inspection services include daily inspection services and operation and maintenance inspection services.
[0071] Specifically, in the present application, a corresponding networking diagram is generated according to the networking between a central device, a soft bus device, a soft bus node device and a newly built device, wherein a central device is the center and the corresponding soft bus devices are diffused to the surrounding areas, and are simultaneously connected to the routing device of the local terminal, and then the soft bus node device is connected to the corresponding soft bus device, and the newly built device is connected to the corresponding soft bus device or soft bus node device, thereby generating a networking diagram, wherein in the networking diagram, each connection is represented by a different line, for example, a newly built device is connected to a corresponding soft bus device or soft bus node device using a gray line, and a soft bus node device is connected to a corresponding soft bus device using a blue dotted line, and the connection between the soft bus device and the central device and the routing device of the local terminal is represented by a yellow solid line.
[0072] After obtaining the corresponding network diagram, obtain user needs to generate inspection services. Among them, the inspection service sets the information that each device needs to report in the network diagram, as well as the reporting cycle and reporting conditions. The inspection service includes daily inspection services and operation and maintenance inspection services. Among them, daily inspection services are tasks that need to be reported regularly, while operation and maintenance inspection services are tasks that can be performed according to user needs. The daily inspection service requires the newly built equipment to report the information obtained at predetermined intervals, while the operation and maintenance inspection service is set according to the network diagram. For example, Figure 2 In the process, information is reported according to the soft bus node devices and newly created devices controlled by the controller, and the soft bus node devices and newly created devices controlled by each controller are grouped together to report the corresponding sensor parameters.
[0073] Step S40: According to the inspection service, regularly obtain and report the inspection information of the central device, soft bus device, soft bus node device and newly built device.
[0074] Specifically, in the present application, the inspection information of the corresponding central device, soft bus device, soft bus node device and newly built device is regularly obtained according to the inspection service.
[0075] Further, according to the inspection service, the inspection information of the central device, the soft bus device, the soft bus node device and the newly-built device is regularly obtained and reported, specifically including:
[0076] Obtain daily operation and maintenance inspection services based on the inspection services described;
[0077] The central device, the soft bus device, the soft bus node device and the newly-built device are controlled to obtain and report daily service information according to the daily inspection service requirements at first predetermined intervals.
[0078] Specifically, in the daily operation and maintenance inspection service, a first predetermined time is set, and the central device, soft bus device, soft bus node device and newly built device are set to report the corresponding daily service information every first predetermined time. The daily service information includes the information obtained by each sensor, and the specific information obtained is set by the user. In one embodiment of the present application, if Figure 2 As shown, in Figure 2 In the distribution network diagram, the daily operation and maintenance inspection service is set to query the information of fans, lighting, wind vanes, smoke alarms, light intensity (i.e., light sensors), and lane indicator lights every 15 seconds.
[0079] After the daily service information is reported, the daily service information is judged according to a preset threshold value. When the value in the daily service information exceeds the preset threshold value, an alarm is generated accordingly.
[0080] Further, the network diagram is generated according to the central device, the soft bus device, the soft bus node device and the newly-built device, the user requirements are obtained, and the inspection service is generated according to the user requirements and the network diagram, and then it also includes:
[0081] Obtaining operation and maintenance inspection services according to the inspection services;
[0082] When receiving a user inspection service instruction, the central device, soft bus device, soft bus node device and newly-built device are controlled to obtain and report operation and maintenance service information according to the operation and maintenance inspection service.
[0083] Specifically, in this application, the operation and maintenance inspection service is executed accordingly when receiving the user inspection service instruction. The operation and maintenance inspection service includes one-click inspection, inspection by controller, business inspection by fire protection system and business inspection by bright system. Users can choose one or more of these methods to perform operation and maintenance inspection services according to their needs, and generate corresponding user inspection service instructions to control the device to upload information. Among them, one-click inspection is to read all device information; inspection by controller is to classify the devices controlled by the corresponding controller, and obtain the information of the devices controlled by each controller respectively; business inspection by fire protection system is to obtain the information of fire-related equipment; business inspection by bright system is to obtain the information of lighting-related equipment.
[0084] In the one-key inspection, controller inspection, fire protection system inspection and system inspection, when there are items that do not meet the requirements in the corresponding inspection, an inspection alarm will be generated and the inspection alarm information will be sent to the pre-set device. The inspection alarm information includes the specific inspection method and abnormal information of the corresponding operation and maintenance inspection service.
[0085] The present invention obtains a target project to be processed, and selects a central device that has completed networking with a local device from the target project according to user input; scans soft bus devices within a preset range according to low-power Bluetooth technology, and networks the corresponding soft bus devices with local devices, controls all the soft bus devices to scan, obtains soft bus node devices and networks, generates corresponding new devices according to the soft bus node devices and soft bus devices and networks; generates a networking diagram according to the central device, soft bus device, soft bus node device and new device, obtains user needs, and generates an inspection service according to the user needs and the networking diagram; and regularly obtains and reports the inspection information of the central device, soft bus device, soft bus node device and new device according to the inspection service. The present invention cannot comprehensively and conveniently perform equipment inspection and information acquisition for the auxiliary service tools provided based on the networking, resulting in the inability of the equipment or the corresponding service to obtain the corresponding information in time when a failure occurs, which affects the safety of the corresponding project. A hierarchical scanning method is adopted to obtain equipment and corresponding networking, thereby ensuring the integrity of the networking, and a corresponding networking diagram is constructed through the obtained complete networking. Based on the networking diagram, the corresponding inspection service is obtained, so that during the inspection, information can be obtained according to the networking relationship between the devices in the networking diagram, thereby ensuring that the information is easy to obtain, and the source and path of each information can be intuitively obtained, so that the equipment can be inspected according to the corresponding information without missing some equipment information, thereby ensuring the safety of the equipment and the corresponding project.
[0086] Furthermore, if Figure 3As shown, based on the above-mentioned device inspection method based on device networking, the present invention also provides a device inspection system based on device networking, wherein the device inspection system based on device networking includes:
[0087] The project acquisition module 31 is used to acquire the target project to be processed, and select a central device that has completed networking with the local device from the target project according to the user input;
[0088] The networking module 32 is used to scan the soft bus devices within a preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with the local devices, control all the soft bus devices to scan, obtain the soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them;
[0089] The inspection service generation module 33 is used to generate a network diagram according to the central device, the soft bus device, the soft bus node device and the newly-built device, obtain user requirements, and generate an inspection service according to the user requirements and the network diagram;
[0090] The information acquisition and reporting module 34 is used to regularly acquire and report the inspection information of the central device, soft bus device, soft bus node device and newly-built device according to the inspection service.
[0091] Furthermore, if Figure 4 As shown, based on the above-mentioned device inspection method and system based on device networking, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 4 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.
[0092] 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. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a device inspection program 40 based on device networking is stored on the memory 20, and the device inspection program 40 based on device networking can be executed by the processor 10, thereby realizing the device inspection method based on device networking in the present application.
[0093] 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 device inspection method based on device networking.
[0094] 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.
[0095] In one embodiment, when the processor 10 executes the device inspection program 40 based on device networking in the memory 20, the steps in the above device inspection method based on device networking are implemented.
[0096] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a device inspection program based on device networking, and when the device inspection program based on device networking is executed by a processor, the following steps of a device inspection method based on device networking are implemented:
[0097] Obtaining a target project to be processed, and selecting a central device that has completed networking with a local device from the target project according to user input;
[0098] Scan the soft bus devices within the preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with the local devices, control all the soft bus devices to scan, obtain the soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them;
[0099] Generate a network diagram based on the central device, soft bus device, soft bus node device and newly built device, obtain user requirements, and generate inspection services based on the user requirements and the network diagram;
[0100] According to the inspection service, the inspection information of the central equipment, soft bus equipment, soft bus node equipment and newly built equipment is obtained and reported regularly.
[0101] The method of scanning the soft bus devices within a preset range according to the low-power Bluetooth technology and networking the corresponding soft bus devices with the local device specifically includes:
[0102] Turn on the wireless access point and initiate a low-power Bluetooth scan to scan the soft bus devices within the preset range;
[0103] Get all scanned soft bus devices and network the local device with the soft bus devices.
[0104] The controlling all the soft bus devices to scan, obtain soft bus node devices and network them, specifically includes:
[0105] Obtaining the target soft bus node device requirements, scanning each soft bus device according to Ethernet, and obtaining a plurality of candidate soft bus node devices corresponding to each soft bus device;
[0106] According to the target soft bus node device requirements, selecting a soft bus node device to be networked from a plurality of to-be-selected soft bus devices;
[0107] Control each soft bus device to form a network with the corresponding soft bus node device.
[0108] Wherein, generating corresponding newly-built devices and networking according to the soft bus node devices and soft bus devices specifically includes:
[0109] Obtain new devices that are connected to soft bus node devices and soft bus devices through industrial interfaces, and obtain new node requirements and object model templates pre-set in the cloud;
[0110] According to the new node requirement, a preset number of target new devices are selected from a plurality of new devices, and a corresponding new device is generated according to the object model template and each target new device;
[0111] Networking is carried out with the corresponding newly built equipment according to the industrial interface of each soft bus node equipment and soft bus equipment.
[0112] The generating of a network diagram based on the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating inspection services based on the user requirements and the network diagram specifically include:
[0113] According to the networking among the central device, the soft bus device, the soft bus node device and the newly-built device, a corresponding networking diagram is generated, wherein different lines are used to describe the networking in different ways;
[0114] Obtain user requirements, and generate corresponding inspection services according to the user requirements and the networking diagram, wherein the inspection services include daily inspection services and operation and maintenance inspection services.
[0115] Wherein, according to the inspection service, regularly obtaining and reporting the inspection information of the central device, the soft bus device, the soft bus node device and the newly built device, specifically includes:
[0116] Obtain daily operation and maintenance inspection services based on the inspection services described;
[0117] The central device, the soft bus device, the soft bus node device and the newly-built device are controlled to obtain and report daily service information according to the daily inspection service requirements at first predetermined intervals.
[0118] Wherein, generating a network diagram according to the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating inspection services according to the user requirements and the network diagram, and then further comprising:
[0119] Obtaining operation and maintenance inspection services according to the inspection services;
[0120] When receiving a user inspection service instruction, the central device, soft bus device, soft bus node device and newly-built device are controlled to obtain and report operation and maintenance service information according to the operation and maintenance inspection service.
[0121] 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 "includes a ..." does not exclude the existence of other identical elements in the process, method, article or terminal including the element.
[0122] 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.
[0123] 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 device inspection method based on device networking, characterized in that: The device inspection method based on device networking includes: Obtaining a target project to be processed, and selecting a central device that has completed networking with a local device from the target project according to user input; Scan the soft bus devices within the preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with the local devices, control all the soft bus devices to scan, obtain the soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them; Generate a network diagram based on the central device, soft bus device, soft bus node device and newly built device, obtain user requirements, and generate inspection services based on the user requirements and the network diagram; According to the inspection service, the inspection information of the central equipment, soft bus equipment, soft bus node equipment and newly built equipment is obtained and reported regularly.
2. The device inspection method based on device networking according to claim 1 is characterized in that: The method of scanning the soft bus devices within a preset range according to the low-power Bluetooth technology and networking the corresponding soft bus devices with the local device specifically includes: Turn on the wireless access point and initiate a low-power Bluetooth scan to scan the soft bus devices within the preset range; Get all scanned soft bus devices and network the local device with the soft bus devices.
3. The device inspection method based on device networking according to claim 1, characterized in that: The controlling all the soft bus devices to scan, obtain soft bus node devices and network them, specifically includes: Obtaining the target soft bus node device requirements, scanning each soft bus device according to Ethernet, and obtaining a plurality of candidate soft bus node devices corresponding to each soft bus device; According to the target soft bus node device requirements, selecting a soft bus node device to be networked from a plurality of to-be-selected soft bus devices; Control each soft bus device to form a network with the corresponding soft bus node device.
4. The device inspection method based on device networking according to claim 1, characterized in that: The generating corresponding newly-built devices and networking according to the soft bus node devices and the soft bus devices specifically includes: Obtain new devices that are connected to soft bus node devices and soft bus devices through industrial interfaces, and obtain new node requirements and object model templates pre-set in the cloud; According to the new node requirement, a preset number of target new devices are selected from a plurality of new devices, and a corresponding new device is generated according to the object model template and each target new device; Networking is carried out with the corresponding newly built equipment according to the industrial interface of each soft bus node equipment and soft bus equipment.
5. The device inspection method based on device networking according to claim 1, characterized in that: The generating of a network diagram according to the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating an inspection service according to the user requirements and the network diagram specifically includes: According to the networking among the central device, the soft bus device, the soft bus node device and the newly-built device, a corresponding networking diagram is generated, wherein different lines are used to describe the networking in different ways; Obtain user requirements, and generate corresponding inspection services according to the user requirements and the networking diagram, wherein the inspection services include daily inspection services and operation and maintenance inspection services.
6. The device inspection method based on device networking according to claim 5, characterized in that: According to the inspection service, the inspection information of the central device, the soft bus device, the soft bus node device and the newly-built device is regularly obtained and reported, specifically including: Obtain daily operation and maintenance inspection services based on the inspection services described; The central device, the soft bus device, the soft bus node device and the newly-built device are controlled to obtain and report daily service information according to the daily inspection service requirements at first predetermined intervals.
7. The device inspection method based on device networking according to claim 5, characterized in that: The method further comprises: generating a network diagram according to the central device, the soft bus device, the soft bus node device and the newly-built device, obtaining user requirements, and generating an inspection service according to the user requirements and the network diagram, and then: Obtaining operation and maintenance inspection services according to the inspection services; When receiving a user inspection service instruction, the central device, soft bus device, soft bus node device and newly-built device are controlled to obtain and report operation and maintenance service information according to the operation and maintenance inspection service.
8. A device inspection system based on device networking, characterized in that: The device inspection system based on device networking includes: A project acquisition module is used to acquire a target project to be processed and select a central device that has completed networking with a local device from the target project according to user input; A networking module is used to scan soft bus devices within a preset range according to the low-power Bluetooth technology, and network the corresponding soft bus devices with local devices, control all the soft bus devices to scan, obtain soft bus node devices and network them, and generate corresponding new devices according to the soft bus node devices and soft bus devices and network them; The inspection service generation module is used to generate a network diagram based on the central device, soft bus device, soft bus node device and newly-built device, obtain user requirements, and generate inspection services based on the user requirements and the network diagram; The information acquisition and reporting module is used to regularly acquire and report the inspection information of the central equipment, soft bus equipment, soft bus node equipment and newly built equipment according to the inspection service.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a device inspection program based on device networking stored in the memory and executable on the processor. When the device inspection program based on device networking is executed by the processor, the steps of the device inspection method based on device networking 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 device inspection program based on device networking, and when the device inspection program based on device networking is executed by a processor, the steps of the device inspection method based on device networking according to any one of claims 1 to 7 are implemented.
