Equipment network access method and device and medium

By automatically configuring and verifying network access broadcasts in the Internet of Things platform, the problems of complexity and low maintenance efficiency of equipment access in the existing technology are solved, and the rapid and accurate network access and replacement of equipment are achieved, reducing the number of maintenance personnel Technical requirements.

CN119094567APending Publication Date: 2024-12-06JIANGSU MENGGUANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411261807.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The network access method of existing Bluetooth gateways and sub-equipments is complex and requires high operating skills. Some devices are incompatible, resulting in low maintenance efficiency.

Method used

By positioning the devices and gateways to be replaced in the Internet of Things platform, setting up the network to maintain the status, receiving and verifying the network access broadcast, sending network access instructions and issuing configuration files, the automated configuration and replacement of the device can be realized.

Benefits of technology

It simplifies the equipment replacement process, reduces the complexity and error rate of manual operation, improves maintenance efficiency, and is suitable for equipment management widely used in IoT platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094567A_ABST
    Figure CN119094567A_ABST
Patent Text Reader

Abstract

The invention relates to a device network access method and device and a medium, and relates to the Internet of Things technology, and the method comprises the steps: positioning a to-be-replaced first device in an Internet of Things platform and a gateway corresponding to the first device; placing the gateway in a maintenance state, and receiving a network access broadcast of a second device to be accessed to the network; after the network access broadcast is verified to be qualified, sending a network access instruction to the second equipment and issuing an equipment configuration file; and in response to the network access instruction, configuring the second equipment based on the equipment configuration file, so that the second equipment enters a working state, and replacement of the first equipment is completed. According to the invention, automatic configuration network access is carried out on the equipment when the equipment is replaced, so that the fault time is shortened and the maintenance experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method, device and medium for connecting a device to a network. Background Art

[0002] Currently, Bluetooth gateways and sub-devices on the market usually need to be configured and replaced through local computers, mobile phone apps, or WeChat applets. Each method has certain disadvantages, such as high requirements for maintenance personnel's operating ability, some low-end mobile phones may not be compatible, and on-site operations are complicated. In general, these methods have put forward high technical requirements for maintenance personnel in practical applications. Summary of the invention

[0003] In view of the shortcomings of the prior art described above, an object of the present invention is to provide a method, device and medium for connecting a device to the network, which can shorten the failure time and improve the maintenance experience by automatically configuring the device to connect to the network when the device is replaced.

[0004] To achieve the above purpose, the present invention adopts the following technical solution.

[0005] In a first aspect, the present invention provides a method for accessing a device to a network, which adopts the following technical solution: A device access method, applied to an Internet of Things platform, includes: Locating a first device to be replaced in the Internet of Things platform and a gateway corresponding to the first device; Put the gateway into a maintenance state, and receive a network access broadcast of a second device to be connected to the network; After the network access broadcast verification is qualified, sending a network access instruction to the second device and issuing a device configuration file; In response to the network access instruction, the second device is configured based on the device configuration file so that the second device enters a working state, thereby completing the replacement of the first device.

[0006] Furthermore, in the above-mentioned device network access method, the locating of the first device to be replaced in the Internet of Things platform and the gateway corresponding to the first device includes: Obtain an alarm work order from the IoT platform, and extract a fault code based on the alarm work order; A first device that needs to be replaced in the Internet of Things platform and a gateway corresponding to the first device are located based on the fault code.

[0007] Furthermore, in the above-mentioned device network access method, the step of obtaining an alarm work order of the Internet of Things platform and extracting a fault code based on the alarm work order includes: Monitor the operating status of all devices in the IoT platform in real time, and trigger an alarm mechanism when a hardware failure occurs in the first device; When the alarm mechanism is triggered, automatically generating an alarm work order corresponding to the alarm mechanism, wherein the alarm work order at least includes the ID information of the first device; Parse the alarm work order and obtain a fault code including the ID information of the first device.

[0008] Furthermore, in the above-mentioned device network access method, the locating the first device that needs to be replaced in the Internet of Things platform and the gateway corresponding to the first device based on the fault code includes: Acquire ID information of the first device based on the fault code; The gateway information corresponding to the first device is obtained based on the ID information and a preset ID-gateway mapping relationship.

[0009] Furthermore, in the above-mentioned device network access method, the network access broadcast of the second device is built into the second device through a signal transmitter, and is continuously sent out after the second device is powered on.

[0010] Furthermore, in the above-mentioned device network access method, the network access broadcast verification includes: Verifying whether the device type of the second device is correct; Check whether the signal strength of the incoming network broadcast is reasonable.

[0011] Furthermore, the above device network access method further includes: When the device type of the second device is incorrect, generating a prompt message indicating that the device type does not match; When the signal strength of the network-entry broadcast is unreasonable, a prompt message for adjusting the position relationship between the device and the gateway is generated.

[0012] Furthermore, in the above-mentioned device network access method, the configuring the second device based on the device configuration in response to the network access instruction includes: After confirming the network access request of the second device, the gateway will send a network access instruction to the second device, where the network access instruction includes basic information required for the device to access the network; The gateway sends the preset device configuration file to the second device; The second device performs application configuration based on the device configuration file and enters a working state after initialization.

[0013] In a second aspect, the present invention provides a device for accessing a network, which adopts the following technical solution: A device for accessing a network, applied to an Internet of Things platform, comprising: A device positioning module, at least used to locate a first device to be replaced in the Internet of Things platform and a gateway corresponding to the first device; The gateway control module is at least used to place the gateway in a maintenance state and receive a network access broadcast of a second device to be connected to the network; and after the network access broadcast is verified to be qualified, send a network access instruction to the second device and issue a device configuration file; the device configuration module is at least used to respond to the network access instruction and configure the second device based on the device configuration file to put the second device into a working state and complete the replacement of the first device.

[0014] In a third aspect, the present invention provides a readable storage medium, which adopts the following technical solution: A readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, a device network access method as described in any one of the first aspects above is implemented.

[0015] In summary, compared with the prior art, the present invention includes at least one of the following beneficial technical effects: The present invention realizes automatic configuration of equipment by placing the gateway in maintenance state and automatically receiving and verifying the network access broadcast of new equipment, thereby reducing the complexity and error rate of manual operation. Secondly, the method simplifies the equipment replacement process, allowing new equipment to quickly access the network and replace old equipment, thereby improving the efficiency of equipment maintenance. In addition, through the automated configuration and verification process, the method reduces the technical requirements for maintenance personnel and is suitable for being widely used in equipment management of the Internet of Things platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 It is a flowchart of a specific embodiment of a method for device network access of the present invention.

[0018] Figure 2 It is a flowchart of another specific embodiment of a device network access method of the present invention.

[0019] Figure 3 It is a flow chart of a specific embodiment of a method for device network access of the present invention.

[0020] Figure 4 It is a structural schematic diagram of a specific embodiment of a device for accessing a device to a network according to the present invention. DETAILED DESCRIPTION

[0021] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In addition, it should be understood that the specific implementation methods described herein are only used to illustrate and explain the present application, and are not used to limit the present application.

[0022] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments of the present application. In addition, in the following embodiments, the description of each embodiment has its own emphasis, and for parts not described in detail in one embodiment, reference can be made to the relevant description of other embodiments.

[0023] The method steps described in the embodiments of the present invention may be executed in the order described in the specific implementation manner, or the execution order of each step may be adjusted according to actual needs and on the premise that the technical problem can be solved, which will not be listed here one by one.

[0024] The IoT platform is a system that integrates software and hardware to connect and manage smart devices distributed in different locations. These platforms can interconnect various physical objects such as sensors, devices, and systems through the network, and collect, analyze, process, and issue instructions for data, thereby achieving remote monitoring, control, and automated operations. IoT platforms usually provide functions such as device management, data analysis, communication protocol support, and security assurance, and are the core infrastructure for realizing intelligent and automated applications.

[0025] The application of the IoT platform in hotel equipment is mainly reflected in intelligent management and automated control. Through the IoT platform, hotels can connect the air conditioning, lighting, door locks and other equipment in the guest rooms to a unified management system to achieve remote monitoring and control and improve user experience. In addition, the IoT platform can also help hotels monitor the operating status of equipment in real time, detect faults in time and automatically trigger maintenance processes, thereby improving operational efficiency, reducing energy consumption, and ensuring the reliability and safety of equipment.

[0026] Based on this, refer to Figure 1 The embodiment of the present invention provides a method for device network access, which is applied to an Internet of Things platform. The method includes the following steps: S1, locating a first device to be replaced in the Internet of Things platform and a gateway corresponding to the first device; S2, placing the gateway in a maintenance state, and receiving a network access broadcast of a second device to be connected to the network; S3, after the network access broadcast verification is qualified, sending a network access instruction to the second device and issuing a device configuration file; S4, in response to the network access instruction, configuring the second device based on the device configuration file, so that the second device enters a working state, thereby completing the replacement of the first device.

[0027] Specifically, first, in step S1, the alarm work order is obtained through the management system of the Internet of Things platform, and the fault code is extracted from it to locate the first device to be replaced and its corresponding gateway; it can also be directly queried based on the unique identifier of the device (such as MAC address, device ID, etc.); or the real-time monitoring interface provided by the platform is used to manually or automatically identify the device to be replaced and the associated gateway. These methods ensure accurate identification of the location of the device (such as the first device) and provide a reliable basis for subsequent device replacement operations.

[0028] Next, step S2 sends a command to the gateway through the IoT platform to switch the gateway to the maintenance state, so that it suspends regular management functions and focuses on the access of new devices; the gateway turns on the broadcast monitoring mode in the maintenance state to specifically receive broadcast signals from the devices to be connected to the network (such as the second device); the maintenance state can be entered by manual operation or preset automatic trigger conditions. In addition, the gateway can also automatically enter the maintenance state and start receiving the network access broadcast of new devices based on specific trigger signals or timed tasks received by the gateway.

[0029] Then, in step S3, after the gateway receives the broadcast signal of the device to be connected to the network, it first verifies the legitimacy of the broadcast signal to confirm the identity and compatibility of the device; after the verification is qualified, the gateway automatically sends a network access instruction to the device, instructing it to start the network access process; at the same time, the gateway sends the necessary network parameters, device settings and other configuration information to the device according to the preset configuration file. This process can be executed through an automated script or combined with a manual confirmation step to ensure the accuracy of the configuration and the smooth access of the device to the network.

[0030] Finally, in step S4, after receiving the network access instruction and configuration file from the gateway, the second device automatically applies these configuration parameters, adjusts its own network settings, communication protocols and functional parameters, so that it can operate normally in the IoT platform; after the configuration is completed, the second device needs to perform a series of initialization operations, such as starting network services, registering to the platform, verifying configuration, etc., to ensure that all configurations take effect and the device enters the working state. The entire configuration process can be fully automated, or it can be supervised or manually intervened by maintenance personnel when necessary to ensure that the device is replaced smoothly and operates normally.

[0031] Based on this, the embodiment of the present invention realizes the automatic configuration of the equipment by placing the gateway in the maintenance state and automatically receiving and verifying the network access broadcast of the new equipment, thereby reducing the complexity and error rate of manual operation. Secondly, the method simplifies the equipment replacement process, allowing the new equipment to quickly access the network and replace the old equipment, thereby improving the efficiency of equipment maintenance. In addition, through the automated configuration and verification process, the method reduces the technical requirements for maintenance personnel and is suitable for widespread application in equipment management of the Internet of Things platform.

[0032] Further, as an embodiment of the present invention, refer to Figure 2 , step S1, locating the first device to be replaced in the Internet of Things platform and the gateway corresponding to the first device, including: S11, obtaining an alarm work order of the Internet of Things platform, and extracting a fault code based on the alarm work order; S12: Locate a first device that needs to be replaced in the Internet of Things platform and a gateway corresponding to the first device based on the fault code.

[0033] Specifically, first, step S11 obtains the alarm work order automatically generated by the system from the IoT platform. These work orders include information about abnormal equipment operation, such as fault type, occurrence time, equipment ID, etc. The work order can be obtained by calling the platform's API interface, automatically capturing a scheduled task, or receiving it through system push. After receiving the work order, the fault code is extracted from the work order using text parsing, regular expressions, or preset rules. These fault codes are used to identify specific fault types and equipment, which serve as the key basis for subsequent equipment positioning.

[0034] Next, in step S12, the fault code extracted from the alarm work order is used to query and match in the device database or monitoring system of the IoT platform. The platform will automatically locate the specific first device and its corresponding gateway based on the device ID, location or other identification information associated with the fault code. This process can be completed through database query, system interface call or using the built-in search function of the platform to ensure that the device and its gateway location that need to be replaced are found quickly and accurately, providing precise targets for subsequent maintenance and replacement operations.

[0035] Furthermore, as an implementation mode of the present invention, step S11, obtaining an alarm work order of the Internet of Things platform, and extracting a fault code based on the alarm work order, includes: real-time monitoring of the operating status of all devices in the Internet of Things platform, and triggering an alarm mechanism when a hardware failure occurs in the first device; when the alarm mechanism is triggered, automatically generating an alarm work order corresponding to the alarm mechanism, the alarm work order including at least the ID information of the first device; parsing the alarm work order and obtaining a fault code containing the ID information of the first device.

[0036] Specifically, first, the IoT platform continuously monitors the various parameters of the devices (such as temperature, voltage, connection status, etc.) by monitoring the operating status of all devices in the system in real time. When the first device has a hardware failure (such as power failure, hardware damage, or abnormal network connection), the platform's monitoring system will immediately trigger an alarm mechanism. This mechanism will automatically detect device anomalies and generate an alarm event.

[0037] Then, when the alarm mechanism is triggered, the platform will automatically generate an alarm work order. The work order records detailed information related to the fault, including device ID information, fault type, occurrence time, etc. This information is used to describe the specific fault situation and provide reference for subsequent maintenance work.

[0038] Finally, the system parses the generated alarm work order and extracts the fault code related to the faulty device. The fault code is a specific string or code that contains the device ID information and fault type, which is used to identify the faulty device. Through the fault code, the system can accurately locate the device that needs to be replaced and replace the device in the subsequent steps. The whole process is highly automated, ensuring the rapid location and response of the faulty device.

[0039] Further, as an embodiment of the present invention, step S12, locating the first device that needs to be replaced in the Internet of Things platform and the gateway corresponding to the first device based on the fault code, includes: obtaining ID information of the first device based on the fault code; obtaining gateway information corresponding to the first device based on the ID information and a preset ID-gateway mapping relationship.

[0040] Specifically, first, after obtaining the fault code, the ID information of the first device contained therein will be extracted. The ID information is the unique identifier of the device, which is used to distinguish each device in the IoT platform. Then, using this ID information, a query is performed in a preset ID-gateway mapping database or table. The mapping relationship pre-stores the association information of each device and its corresponding gateway, which can be automatically generated before the device is connected to the network or manually configured by the administrator.

[0041] Through this query process, the gateway information associated with the faulty device can be quickly obtained. The gateway information includes the gateway's ID, location, current status, etc., which is used to indicate the network node to which the faulty device is connected. After obtaining the gateway information, the network management module or platform interface can be further used to directly locate and control the relevant gateway to perform subsequent maintenance operations, such as placing the gateway in maintenance status or starting the device replacement process. In this way, accurate positioning based on fault codes is achieved, ensuring the efficiency and accuracy of the equipment replacement process.

[0042] Furthermore, as an implementation mode of the present invention, the network entry broadcast of the second device is built into the second device through a signal transmitter, and is continuously sent out after the second device is powered on.

[0043] Specifically, when the second device is powered on, the built-in signal transmitter will automatically start and continue to send network access broadcast signals to the outside world. These broadcast signals usually contain the device's identification information, model, and other necessary network access data. The signal transmitter is designed as a low-power device that can continuously broadcast during device operation to ensure that it is discovered and processed by the gateway in a timely manner. The transmission frequency and range of the broadcast signal can be adjusted according to the application scenario of the device to optimize the efficiency and stability of the network access process.

[0044] Further, as an implementation mode of the present invention, the network entry broadcast verification includes: verifying whether the device type of the second device is correct; and verifying whether the signal strength of the network entry broadcast is reasonable.

[0045] First, when the gateway receives the network access broadcast of the second device, it will automatically check the device type information contained in the broadcast to confirm whether it is consistent with the expected device type. If the device type matches correctly, the signal strength of the network access broadcast is further checked to ensure that the signal strength is within a reasonable range to ensure stable communication of the device in the network. If the signal strength is too low, it may cause unstable communication, and a warning may be issued or a request may be made to resend the broadcast. This verification process is designed to ensure that the new device can access the network normally and securely.

[0046] Furthermore, as an embodiment of the present invention, the method also includes: when the device type of the second device is incorrect, generating a prompt message of device type mismatch; when the signal strength of the network access broadcast is unreasonable, generating a prompt message of adjusting the position relationship between the device and the gateway.

[0047] Specifically, when the system detects that the device type of the second device does not match the expected one, it will immediately generate and send a prompt message indicating that the device type does not match, reminding the user or maintenance personnel to check the correctness of the device type. At the same time, if the signal strength of the network broadcast is not within a reasonable range, the system will generate a prompt message, suggesting that the relative position of the device and the gateway be adjusted to optimize the signal strength and ensure that the device can access the network stably. These prompt messages can be used as a reminder through the signal indicator light or buzzer set on the second device, guiding the user to make necessary adjustments and inspections to ensure smooth network access and stable operation of the device.

[0048] Further, as an embodiment of the present invention, in step S4, in response to the network access instruction, the second device is configured based on the device configuration, including: after confirming the network access request of the second device, the gateway sends a network access instruction to the second device, and the network access instruction includes basic information required for the device to access the network; the gateway sends a pre-set device configuration file to the second device; the second device performs application configuration based on the device configuration file and enters a working state after initialization.

[0049] Specifically, when the gateway confirms that it has received the network access request from the second device, it will first send a network access instruction to the second device. This network access instruction contains the basic information required for the device to successfully access the network, such as network identification, encryption key, authentication information, and network protocol parameters. This information is the basis for the device to successfully access the network, ensuring that the device can correctly join the network and communicate with other devices.

[0050] Next, the gateway sends the pre-set device configuration file to the second device. This configuration file is usually pre-set by the management system of the IoT platform according to the type, purpose, and network requirements of the device. The configuration file contains detailed device operating parameters, such as network address allocation (such as IP address or MAC address), communication port settings, security policies, and specific functional configuration of the device (such as sensor calibration, data collection frequency, etc.). These configurations ensure that the device can perform correct operations and data transmission according to the requirements of the platform.

[0051] When the second device receives the configuration file, it will automatically perform application configuration based on this information. This includes adjusting the internal parameters of the device, enabling or disabling specific functional modules, and setting the communication protocol and data transmission mode. After completing these configurations, the second device will perform necessary initialization operations, such as restarting the device, executing the self-test program, and verifying communication with the gateway, to ensure that the configuration is effective and the device operates normally.

[0052] Once the initialization is complete and all configurations are confirmed to be correctly applied, the second device will officially enter the working state. At this point, the device has successfully replaced the first device and started to perform its intended function, completing the entire device replacement and network access process. The entire process is highly automated, reducing the need for manual intervention and ensuring the efficiency and accuracy of device network access and configuration.

[0053] Based on the device access method described in any of the above embodiments, when it is necessary to replace the IoT platform device, refer to Figure 3, the replacement process includes: first, confirm the first device that needs to be replaced and its corresponding gateway, and put the gateway into maintenance status. Subsequently, the second device starts and publishes a network access broadcast. After the gateway detects the broadcast, it verifies whether the device type is correct and whether the signal strength is reasonable. If the device type is correct and the signal strength is reasonable, the gateway will send a network access instruction, and the device will successfully access the network and receive the configuration file. After the configuration is completed, the device enters the working state. Finally, the system checks whether all faulty devices have been replaced. If so, the gateway exits the maintenance state and the process ends. During the entire maintenance process, the maintenance personnel's operation is very simple. They only need to bring the second device to be connected to the network to the maintenance site and power it on. Other steps such as device access, configuration, and verification are automatically completed by the system without manual intervention, which greatly simplifies maintenance operations and improves efficiency.

[0054] The embodiment of the present invention also discloses a device for accessing the network.

[0055] Reference Figure 4 A device network access device includes a device positioning module 1, a gateway control module 2 and a device configuration module 3.

[0056] The device positioning module 1 obtains the alarm work order generated by the system through the Internet of Things platform and extracts the fault code related to the faulty device. Then, based on the fault code, it searches the device database or mapping table of the platform to accurately locate the first device that needs to be replaced and its corresponding gateway. The module automatically performs these steps to ensure that the target device is identified quickly and accurately, laying the foundation for subsequent maintenance and replacement operations.

[0057] The gateway control module 2 first receives instructions from the device positioning module 1, switches the target gateway to the maintenance state, and suspends the regular network management functions. Subsequently, the gateway control module 2 monitors the broadcast signal of the second device to be connected to the network, verifies the broadcast content, and confirms whether the device type and signal strength meet the requirements. If the verification passes, the gateway control module 2 will automatically send a network access instruction to the second device, and issue the necessary configuration files to guide the device to complete network access and initial configuration. The role of the gateway control module 2 is to ensure that the new device can access the network safely and correctly, and replace the faulty device, making the entire device replacement process efficient and seamless.

[0058] After the second device receives the network access instruction sent by the gateway control module 2, the device configuration module 3 is responsible for fully configuring the second device according to the issued device configuration file. Specific operations include adjusting the network parameters of the device, setting the communication protocol, enabling the functional module, etc. After the configuration is completed, the device will be initialized to ensure that all settings are effective and enter normal working state. The role of the device configuration module 3 is to automatically complete the configuration process of the new device, ensuring that the device can successfully replace the faulty device and operate normally, thereby achieving seamless access and efficient device replacement.

[0059] The device positioning module 1 is responsible for accurately locating the faulty device to be replaced and its associated gateway; the gateway control module 2 puts the gateway into maintenance mode, receives and verifies the network access broadcast of the new device, and then sends the network access command and issues the configuration file; the device configuration module 3 sets up the new device according to these configuration files to ensure that it successfully accesses the network and enters the working state. Through the collaborative work of these three modules, the entire device achieves efficient and accurate device replacement and seamless network access, reduces manual intervention, and improves the efficiency and reliability of device management on the IoT platform.

[0060] The embodiment of the present invention also discloses a readable storage medium.

[0061] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a device access method described in any one of the above embodiments. The computer-readable storage medium may include: any entity or device capable of carrying a computer program, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc. The computer program includes a computer program code. The computer program code may be in source code form, object code form, an executable file, or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying a computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc.

[0062] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0063] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0064] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A device access method, applied to an Internet of Things platform, characterized in that: The method comprises: Locating a first device to be replaced in the Internet of Things platform and a gateway corresponding to the first device; Put the gateway into a maintenance state, and receive a network access broadcast of a second device to be connected to the network; After the network access broadcast verification is qualified, sending a network access instruction to the second device and issuing a device configuration file; In response to the network access instruction, the second device is configured based on the device configuration file so that the second device enters a working state, thereby completing the replacement of the first device.

2. The device network access method according to claim 1, characterized in that: The locating the first device to be replaced in the Internet of Things platform and the gateway corresponding to the first device includes: Obtain an alarm work order from the IoT platform, and extract a fault code based on the alarm work order; A first device that needs to be replaced in the Internet of Things platform and a gateway corresponding to the first device are located based on the fault code.

3. The device network access method according to claim 2, characterized in that: The obtaining of the alarm work order of the Internet of Things platform and extracting the fault code based on the alarm work order includes: Monitor the operating status of all devices in the IoT platform in real time, and trigger an alarm mechanism when a hardware failure occurs in the first device; When the alarm mechanism is triggered, automatically generating an alarm work order corresponding to the alarm mechanism, wherein the alarm work order at least includes the ID information of the first device; Parse the alarm work order and obtain a fault code including the ID information of the first device.

4. The device network access method according to claim 3, characterized in that: The locating the first device that needs to be replaced in the Internet of Things platform and the gateway corresponding to the first device based on the fault code includes: Acquire ID information of the first device based on the fault code; The gateway information corresponding to the first device is obtained based on the ID information and a preset ID-gateway mapping relationship.

5. The device network access method according to claim 1, characterized in that: The network entry broadcast of the second device is built into the second device through a signal transmitter, and is continuously sent out after the second device is powered on.

6. The device network access method according to claim 1, characterized in that: The network access broadcast verification includes: Verifying whether the device type of the second device is correct; Check whether the signal strength of the incoming network broadcast is reasonable.

7. The device network access method according to claim 6, characterized in that: The method further comprises: When the device type of the second device is incorrect, generating a prompt message indicating that the device type does not match; When the signal strength of the network-entry broadcast is unreasonable, a prompt message for adjusting the position relationship between the device and the gateway is generated.

8. The device network access method according to claim 1, characterized in that: The configuring the second device based on the device configuration in response to the network access instruction includes: After confirming the network access request of the second device, the gateway will send a network access instruction to the second device, where the network access instruction includes basic information required for the device to access the network; The gateway sends the preset device configuration file to the second device; The second device performs application configuration based on the device configuration file and enters a working state after initialization.

9. A device network access device, applied to the Internet of Things platform, characterized in that: The device comprises: A device positioning module, at least used to locate a first device to be replaced in the Internet of Things platform and a gateway corresponding to the first device; A gateway control module, at least used to place the gateway in a maintenance state and receive a network access broadcast of a second device to be connected to the network; and after the network access broadcast is verified to be qualified, send a network access instruction to the second device and issue a device configuration file; The device configuration module is at least used to respond to the network access instruction and configure the second device based on the device configuration file to enable the second device to enter a working state and complete the replacement of the first device.

10. A readable storage medium, characterized in that: The readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, a device network access method according to any one of claims 1 to 8 is implemented.