Device registration method, device, device and storage medium
By introducing the collaborative work of registration platforms, distribution platforms and registration devices in the IoT device registration system, the equipment registration process is automatically completed, and the problem of low efficiency of IoT device registration is solved and a more efficient equipment registration process is achieved.
Patent Information
- Application Number
- CN202211531767.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-01
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2042-12-01
AI Technical Summary
The registration efficiency of IoT devices is low, and operation and maintenance personnel need to do a lot of repetitive work, which makes the registration process time-consuming and inefficient.
Provide a device registration method, which automatically completes the equipment registration process through the collaborative work of the registration platform, the distribution platform and the registration equipment. The specific steps include: the registration platform generates an account, password and a first activation code, the distribution platform obtains this information and verifys the second activation code of the registered device. If it matches, the first activation code is output to the registered device, the registration device receives and outputs to the registered platform, generates the device ID and login credentials and stores it.
Through the automated equipment registration process, the registration efficiency of IoT devices has been significantly improved and the repetitive working time of operation and maintenance personnel has been reduced.
Smart Images

Figure CN115914357B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of physical network device registration, and more specifically, to a device registration method, apparatus, device and storage medium. Background Art
[0002] The registration management of IoT devices is a very important part in the IoT field. Compared with the registration in the Internet field, it has its own particularity. This particularity is reflected in the fact that each operation and maintenance personnel in the IoT network needs to maintain a lot of equipment. Therefore, when registering multiple IoT devices, the operation and maintenance personnel need to perform a lot of repetitive work, resulting in low registration efficiency of IoT devices. Summary of the invention
[0003] According to an embodiment of the present application, a device registration solution is provided.
[0004] In a first aspect of the present application, a device registration method is provided. The method includes: the method is applied to an Internet of Things registration system, the registration system includes a registration platform, a distribution platform and a registration device, the method includes:
[0005] The registration platform obtains a registration instruction, generates an account number, a password and a first activation code according to the registration instruction, and the first activation code is associated with the account number;
[0006] The distribution platform obtains the account number, password, first activation code and second activation code output by the registered device, and when it is determined according to the second activation code that the registered device belongs to the target device, outputs the first activation code to the registered device;
[0007] The registration device receives the first activation code and outputs it to the registration platform;
[0008] The registration platform generates an associated device ID and login credentials based on the first activation code, and outputs the device ID and login credentials to the registration device.
[0009] In a preferred example, the present application can be further configured as follows: the distribution platform obtains the account number, password, and first activation code:
[0010] The distribution platform obtains the account number and password, generates a request instruction according to the account number and password, and sends the request instruction to the registration platform;
[0011] The registration platform sends a first activation code to the distribution platform according to the associated account number and password.
[0012] In a preferred example, the present application may be further configured such that, when it is determined according to the second activation code that the registered device belongs to the target device, outputting the first activation code to the registered device includes:
[0013] The distribution platform determines whether the second activation code belongs to a preset second activation code library;
[0014] When the second activation code belongs to the second activation code library, the first activation code is output to the registered device.
[0015] In a preferred example, the present application may be further configured such that, after the registration platform generates an associated device ID and login credentials according to the first activation code and outputs the device ID and login credentials to the registration device, the method further includes:
[0016] The registration device stores the device ID and login credentials.
[0017] In a preferred example, the present application can be further configured to include:
[0018] The registered device:
[0019] Step S201: start the probe program;
[0020] Step S202: Verify whether the probe program contains a device ID and login credentials, if not, proceed to step S203;
[0021] Step S203: verify whether the probe program contains the first activation code, if not, execute step S204;
[0022] Step S204: When the probe program does not contain the first activation code, sending the second activation code to the distribution platform;
[0023] Step S205: Obtaining a first activation code from the distribution platform;
[0024] Step S206: Sending the first activation code to the registration platform;
[0025] Step S207: Output the device ID and login credentials to the registration device and store the device ID and login credentials in the registration device;
[0026] Step S208: Connecting to the registration platform according to the device ID and the login credentials.
[0027] In a preferred example, the present application may be further configured as follows: Step S202: verifying whether the probe program contains the device ID and login credentials; if not, executing step S203, further comprising:
[0028] If yes, execute step S208
[0029] When the probe program does not contain the device ID and login credentials, jump to step S108.
[0030] In a preferred example, the present application may be further configured as follows: Step S203: verifying whether the probe program contains the first activation code, if not, executing step S204, further comprising:
[0031] If yes, execute step S206.
[0032] The present application provides a device registration method, in which a user registers an account and password through a registration platform, and an operation and maintenance personnel enters the account and password on a distribution platform to start the registered device, thereby achieving the purpose of automatic registration of the registered device, which has the effect of improving the registration efficiency of networked devices to a certain extent.
[0033] In a second aspect of the present application, a device registration apparatus is provided. The apparatus comprises:
[0034] A registration platform, the registration platform comprising an activation code generation module and a login generation module;
[0035] The activation code generation module is used to obtain a registration instruction, and generate an account number, a password and a first activation code according to the registration instruction, wherein the first activation code is associated with the account number;
[0036] The login generation module is used to generate an associated device ID and login credentials according to the first activation code, and output the device ID and login credentials to the registered device;
[0037] The distribution platform is used to obtain the account number, password, first activation code and second activation code output by the registered device, and when it is determined that the registered device belongs to the target device according to the second activation code, output the first activation code to the registered device;
[0038] The registration device is used to receive the first activation code and output it to the registration platform.
[0039] In a third aspect of the present application, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.
[0040] In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present application is implemented.
[0041] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0043] Figure 1 A flow chart of a device registration method according to an embodiment of the present application is shown.
[0044] Figure 2 A block diagram of an IoT design registration device according to an embodiment of the present application is shown.
[0045] Figure 3 A schematic diagram of the structure of a terminal device or server suitable for implementing an embodiment of the present application is shown.
[0046] Explanation of the accompanying drawings: 1. registration platform; 11. activation code generation module; 12. login generation module; 2. distribution platform; 4. registration device; 301. CPU; 302. ROM; 303. RAM; 304. bus; 305. I / O interface; 306. input part; 307. output part; 308. storage part; 309. communication part; 310. drive; 311. removable medium. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution 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 part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0049] The registration and management of registered devices is a very important part in the field of Internet of Things. Compared with the registration in the field of Internet, it has its own characteristics. For example, in the field of Internet, the registered object is virtual, and the registration only requires the user to complete the whole registration process. However, in the field of Internet of Things, the registered device is a physical entity, and professional operation and maintenance personnel are required to install and register the registered device on site. Moreover, each operation and maintenance personnel needs to maintain a large number of registered devices. When registering devices, if the operation and maintenance personnel register the registered devices one by one, it will take a lot of time.
[0050] Furthermore, when the registered device leaves the factory, it is not certain which specific user it will be associated with in the future.
[0051] Under this application, the user registers an account and password on the registration platform, and the operation and maintenance personnel go to the location of the user and the registered device to install and register. The operation and maintenance personnel hold the distribution platform, place the distribution platform and the registered device in the same local area network, and the registered device is in the open state. The user's account, password and first activation code are obtained through the distribution platform, and the second activation code of the registered device is obtained. After the distribution platform verifies that the registered device belongs to the target device, it sends the first activation code to the registered device. The registered device receives the first activation code and sends it to the registration platform. The registration platform generates a device ID and login credentials based on the first activation code and sends them to the registered device. The registered device stores the device ID and login credentials. Through the above method, the registration efficiency of IoT registered devices can be improved.
[0052] Figure 1 A device registration method according to an embodiment of the present application is shown. The method is applied to an Internet of Things registration system. The registration system includes a registration platform 1, a distribution platform 2, and a registration device 4. The method includes:
[0053] Step S110, the registration platform 1 obtains a registration instruction and generates an account number, a password and a first activation code according to the registration instruction, wherein the first activation code is associated with the account number;
[0054] In the actual operation process, the registration platform 1 is an Internet server, and the tenants of the registered device 4 can register on the Internet server. The user enters the account and password set by the user, and the Internet server issues a registration instruction. After receiving the registration instruction, the registration platform 1 generates a first activation code and associates the first activation code with the account and password; obviously, in order to complete the registration of multiple registered devices 4, the platform generates multiple first activation codes after receiving the registration instruction, and associates the account and password with multiple first activations.
[0055] Step S120, the distribution platform 2 obtains the account number, password, first activation code and second activation code output by the registration device 4;
[0056] Step S121, the distribution platform 2 obtains the account and password, generates a request instruction according to the account and password, and sends the request instruction to the registration platform 1;
[0057] When the device needs to be registered, the distribution platform 2 and the registered device 4 are in the same local area network. The distribution platform 2 is exclusively owned by the operation and maintenance personnel who register the registered device 4 , and the tenant of the registered device 4 does not have the distribution platform 2 .
[0058] The operation and maintenance personnel enter the account and password through the distribution platform 2. When the login is successful, the distribution platform 2 obtains the account and password and generates a request instruction. The distribution platform 2 sends the request instruction to the registration platform 1. The request instruction requests the registration platform 1 to send the first activation code to the distribution platform 2 and the request instruction contains the account password information, and the request instruction only requests the first activation code under the account password.
[0059] Step S122: the registration platform 1 sends a first activation code to the distribution platform 2 according to the associated account and password.
[0060] After the registration platform 1 receives the request instruction, the registration platform 1 retrieves the account and password related to the request instruction, and retrieves one of the multiple first activation codes associated with the account and password, and the registration platform 1 sends any first activation code to the distribution platform 2, and the first activation code sent to the distribution platform 2 is deleted from these first activation codes.
[0061] Step S123, obtaining a second activation code preset in the registration device 4;
[0062] The registered device 4 is preset with a second activation code when it leaves the factory. When the registered device 4 to be registered is turned on, the unregistered registered device 4 will periodically send out the second activation code, and the distribution platform 2 receives the second activation code.
[0063] Step S130, when it is determined according to the second activation code that the registered device 4 belongs to the target device, outputting the first activation code to the registered device 4;
[0064] Step S131, the distribution platform 2 determines whether the second activation code belongs to the second activation code library;
[0065] A second activation code library is provided in the distribution platform 2, and the second activation code library includes the second activation code preset in all the devices shipped out of the factory. The distribution platform 2 is distributed throughout the second activation code library, and the same second activation code is found therein. If the second activation code is included in the second activation code library, the second activation code belongs to the second activation code library, and the process jumps to step S132;
[0066] If the second activation code library does not contain the second activation code, the second activation code does not belong to the second activation code library, and this process terminates.
[0067] By verifying the second activation code, the registered device 4 can be verified, thereby verifying whether the registered device 4 is the target device. It can be understood that the target device is a genuine device produced by the manufacturer or a registered device 4 that can be processed by the distribution platform 2.
[0068] Step S132, when the second activation code belongs to the second activation code library, the distribution platform 2 sends the first activation code to the registration platform 1;
[0069] When the second activation code belongs to the second activation code library, it indicates that the registered device 4 pre-stored with the second activation code belongs to the target device.
[0070] Step S140, the registration device 4 receives the first activation code and outputs it to the registration platform 1;
[0071] During the specific operation process, the registration device 4 receives the first activation code associated with the account password, and stores the first activation code in the probe program of the registration device 4, so that the registration device 4 can be associated with the account password associated with the first activation code. After storing the first activation code in the probe program of the registration device 4, the first activation code is output to the registration platform 1.
[0072] Step S150, the registration platform 1 generates an associated device ID and login credentials according to the first activation code, and outputs the device ID and login credentials to the registration device 4;
[0073] The registration platform 1 receives the first activation code sent by the registration device 4, which indicates that the first activation code is stored in the registration device 4. The registration platform 1 generates a device ID and a login credential based on the first activation code associated with the account password, and associates the device ID, the login credential, and the account password, and sends the device ID and the account password to the registration device 4. The device ID facilitates the subsequent control and management of the registration device 4 by the registration platform 1, and the login credential is used to establish a connection between the registration device 4 and the platform.
[0074] Step S160, the registration device 4 stores the device ID and login credentials;
[0075] The registered device 4 receives the device ID and login credentials. At this time, the registered device 4 completes the registration and establishes an association with the unique first activation code. Subsequent users can also log in to the registration platform 1 through the account number and password to control and manage the registered device 4.
[0076] It should be noted that the device ID and login credentials stored in the registration device 4 will have a certain period of validity. After the validity period expires, the registration device 4 will not be able to establish contact with the registration platform 1. In order to re-acquire the device ID and login credentials after the device ID and login credentials expire, the registration device 4 will include:
[0077] Step S201, start the probe program;
[0078] When the registration device 4 is started, the probe program is automatically started.
[0079] Step S202, verifying whether the probe program contains a device ID and login credentials;
[0080] The registration device 4 runs the probe program to verify whether the device has the device ID and login credentials, thereby verifying whether the registration device 4 has established contact with the registration platform 1.
[0081] Step S2031, when the probe program contains the device ID and login credentials, jump to step S208;
[0082] When the probe program contains the device ID and login credentials, it means that the registered device 4 has established a connection with the registration platform 1.
[0083] Step S2032, when the probe program does not contain the device ID and the login credential, verifying whether the probe program contains a first activation code;
[0084] When the probe program does not contain the device ID and login credentials, it means that the registered device 4 has not established a connection with the registration platform 1. The registered device 4 needs to be processed to verify whether the probe program in the registered device 4 contains the first activation code, so as to determine whether the registered device 4 is associated with the distribution platform 2.
[0085] Step S2041, when the probe program contains a first activation code, jump to step S206;
[0086] When the probe program contains the first activation code, it means that the registered device 4 has established an association with the distribution platform 2, and the registered device 4 only needs to obtain the device ID and login credentials from the registration platform 1.
[0087] Step S2042, when the probe program does not contain the first activation code, sending the second activation code to the distribution platform 2;
[0088] When the probe program does not contain the first activation code, it means that the device has not established an association with the distribution platform 2, and the registration device 4 needs to complete the registration process, and the registration device 4 sends the second activation code to the distribution platform 2 for device verification.
[0089] Step S205, obtaining a first activation code from the distribution platform 2;
[0090] Step S206, sending the first activation code to the registration platform 1;
[0091] Step S207, obtaining a device ID and login credentials and storing the device ID and login credentials in the probe program;
[0092] By storing the device ID and login credentials associated with the account password into the probe program, the registered device 4 is associated with the registration platform 1, completing the registration process of the registered device 4.
[0093] Step S208, connecting to the registration platform 1 with the device ID and the login credentials;
[0094] The probe program is connected to the registration platform 1 through the device ID and login credentials associated with the registration platform 1 stored in the probe program, so that the registration platform 1 can manage and operate the registration device 4.
[0095] In a specific example, a user orders 5 cameras from a manufacturer, which are devices to be registered 4. The user registers a unique account and password on the manufacturer's registration platform 1. When registering, the user needs to enter the type of equipment purchased and the quantity purchased, or only enter the number of cameras purchased. When the account and password are successfully registered, the registration platform 1 generates 5 first activation codes and associates them with the account and password. The manufacturer sends 5 cameras to the user and sends a distribution platform 2 to the user. The distribution platform 2 can be software that executes the process, a device that executes the process, or a server that executes the process. The distribution platform 2 is unique to the user's operation and maintenance personnel, who can be the user himself or a person designated by the user. The operation and maintenance personnel log in the user's account and password on the distribution platform 2, the distribution platform 2 synchronizes the first activation code associated with the account and password in the registration platform 1, the distribution platform 2 obtains the second activation code preset in the camera, the distribution platform 2 verifies that the camera belongs to the target device, the distribution platform 2 sends any first activation code among the five first activation codes to the registration device 4, and marks the first activation code as used, the registration device 4 receives the first activation code and sends the first activation code to the registration platform 1, the registration platform 1 generates a device ID and login credentials associated with the first activation code according to the first activation code, and sends the device ID and login credentials to the registration device 4, and the registration device 4 stores the device ID and login credentials.
[0096] Through the above process, the registration process of the registered device 4 can be automatically completed, reducing the repetitive work time of the operation and maintenance personnel.
[0097] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0098] The above is an introduction to the method embodiment. The following is a further explanation of the scheme described in this application through an apparatus embodiment.
[0099] Figure 2 A block diagram of a device registration device according to an embodiment of the present application is shown, as shown in the figure, the device includes:
[0100] Registration platform 1, registration platform 1 includes activation code generation module 11 and login generation module 12;
[0101] The activation code generation module 11 is used to obtain a registration instruction, and generate an account number, a password and a first activation code according to the registration instruction, wherein the first activation code is associated with the account number;
[0102] The login generation module 12 is used to generate an associated device ID and login credentials according to the first activation code, and output the device ID and login credentials to the registration device 4;
[0103] The distribution platform 2 is used to obtain the account number, password, first activation code and second activation code output by the registration device 4, and when it is determined that the registration device 4 belongs to the target device according to the second activation code, output the first activation code to the registration device 4;
[0104] The registration device 4 is used to receive the first activation code and output it to the registration platform 1 .
[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0106] Figure 3 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application is shown.
[0107] like Figure 3 As shown, the electronic device includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage part 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the system 300 are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0108] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
[0109] In particular, according to an embodiment of the present application, the above reference flow chart Figure 1 The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.
[0110] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0111] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0112] The units or modules involved in the embodiments of the present application may be implemented in software or hardware. The units or modules described may also be provided in a processor. For example, they may be described as: a processor including a registration platform, a distribution platform, and a registration device. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves. For example, the registration platform may also be described as a "module for registering an account and password for an IoT device manager."
[0113] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the device to be registered described in the present application.
[0114] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A device registration method, characterized in that: The method is applied to an Internet of Things registration system, the registration system comprising a registration platform (1), a distribution platform (2) and a registration device (4), and the method comprises: The registration platform (1) obtains a registration instruction, generates an account number, a password and a first activation code according to the registration instruction, and the first activation code is associated with the account number; The distribution platform (2) obtains an account number, a password, a first activation code, and a second activation code output by a registration device (4), and when it is determined according to the second activation code that the registration device (4) belongs to a target device, outputs the first activation code to the registration device (4); The registration device (4) receives the first activation code and outputs it to the registration platform (1); The registration platform (1) generates an associated device ID and login credentials based on the first activation code, and outputs the device ID and login credentials to the registration device (4).
2. A device registration method according to claim 1, characterized in that: The distribution platform (2) obtains the account number, password, and first activation code: The distribution platform (2) obtains the account number and password, generates a request instruction according to the account number and password, and sends the request instruction to the registration platform (1); The registration platform (1) sends a first activation code to the distribution platform (2) according to the associated account number and password.
3. A device registration method according to claim 1, characterized in that: When it is determined according to the second activation code that the registered device (4) belongs to the target device, outputting the first activation code to the registered device (4) comprises: The distribution platform (2) determines whether the second activation code belongs to a preset second activation code library; When the second activation code belongs to the second activation code library, the distribution platform (2) sends the first activation code to the registration device (4).
4. A device registration method according to claim 1, characterized in that: After the registration platform (1) generates an associated device ID and login credentials according to the first activation code and outputs the device ID and login credentials to the registration device (4), the method further comprises: The registration device (4) stores the device ID and login credentials.
5. A device registration method according to claim 1, characterized in that: Also includes: The registration device (4): Step S201: start the probe program; Step S202: Verify whether the probe program contains a device ID and login credentials, if not, proceed to step S203; Step S203: verify whether the probe program contains the first activation code, if not, execute step S204; Step S204: When the probe program does not contain the first activation code, sending the second activation code to the distribution platform (2); Step S205: Obtaining a first activation code from the distribution platform (2); Step S206: Sending the first activation code to the registration platform (1); Step S207: outputting the device ID and login credentials to the registration device (4) and storing the device ID and login credentials in the registration device (4); Step S208: Connecting to the registration platform (1) according to the device ID and the login credentials.
6. A device registration method according to claim 5, characterized in that: The step S202: verifying whether the probe program contains the device ID and login credentials, if not, executing step S203, further comprising: If yes, execute step S208 When the probe program does not contain the device ID and login credentials, jump to step S208.
7. A device registration method according to claim 5, characterized in that: Step S203: Verify whether the probe program contains the first activation code. If not, execute step S204, which also includes: If yes, execute step S206.
8. A device registration device, characterized in that: include: A registration platform (1), the registration platform (1) comprising an activation code generation module (11) and a login generation module (12); The activation code generation module (11) is used to obtain a registration instruction, and generate an account number, a password and a first activation code according to the registration instruction, wherein the first activation code is associated with the account number; The login generation module (12) is used to generate an associated device ID and login credentials according to the first activation code, and output the device ID and login credentials to the registration device (4); The distribution platform (2) is used to obtain an account number, a password, a first activation code, and a second activation code output by a registration device (4), and when it is determined according to the second activation code that the registration device (4) belongs to a target device, output the first activation code to the registration device (4); The registration device (4) is used to receive the first activation code and output it to the registration platform (1).
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Household appliance control method, and household appliance and server adopting same
CN103078904A
Method and apparatus for registering devices on Internet of things platform
CN104967595A