Device activation method, device and medium
By introducing a double verification mechanism of device unique code and activation code into IoT devices, the security risks existing in the activation methods of IoT devices in the existing technology are solved, and higher activation security and success rate are achieved.
Patent Information
- Application Number
- CN202411348933.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-24
AI Technical Summary
The activation methods of existing IoT devices pose great security risks and illegal access cannot be avoided.
Through a double verification mechanism based on the device's unique code and activation code, IoT devices can be activated one-to-one to avoid security risks caused by the same activation code.
It improves the security and fault tolerance of device activation, improves the success rate and accuracy of activation, and reduces the risk of illegal access.
Smart Images

Figure CN119363350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a device activation method, device and medium. Background Art
[0002] As an extension and expansion of the Internet, the Internet of Things has realized ubiquitous connections between things and things, and between things and people. More and more information sensor devices are connected to the Internet through various possible networks. The cloud platform, as a management system for IoT devices, has realized functions such as management, monitoring, upgrading, and configuration of Internet-connected devices, making it possible for IoT devices to provide more diversified services.
[0003] At present, in order to effectively manage IoT devices, only activated devices can access the cloud platform; the existing activation method for IoT devices to access the cloud platform is to use the same activation code to activate all devices. This method has great security risks and cannot prevent illegal access. Summary of the invention
[0004] The object of the present invention is to provide a device activation method, device and medium, thereby solving all or one of the above problems existing in the prior art.
[0005] In order to solve the above technical problems, the specific technical solutions of the present invention are as follows: In one aspect, the present invention provides a method for activating a device, comprising the following steps: Set an activation code based on the information to be activated; Perform preliminary activation verification of the device based on the device's unique code; The device is selectively activated using the activation code according to the preliminary activation verification result of the device.
[0006] In one implementation manner, the step of setting an activation code based on the information to be activated includes: Generate a matching activation code based on the device to be activated and the activation location.
[0007] In one embodiment, the unique code is a unique code generated by the device when the device is successfully activated for the first time; The unique code is stored in the cloud platform after the device is successfully activated for the first time, corresponding to the device to be activated.
[0008] In one embodiment, performing preliminary activation verification of the device according to the unique code of the device includes: In response to the device to be activated being turned on, performing a unique code verification; When the cloud platform detects the unique code, it determines that the device has completed activation and starts directly; When the cloud platform does not detect the unique code, the device is activated using the activation code.
[0009] In one embodiment, the device activation using the activation code includes: Entering an activation code on the device to be activated to verify device information; Call the activation code verification interface through the cloud platform; The information to be verified is displayed for confirmation, and the device is activated based on the information confirmation result.
[0010] In one embodiment, activating the device according to the information confirmation result includes: In response to the information being confirmed to be correct, the confirmation result and activation code are sent to the cloud platform. The cloud platform receives the device credential information and saves the record. The device is activated successfully and the startup is completed.
[0011] In one embodiment, activating the device according to the information confirmation result includes: In response to the information being confirmed to be incorrect, an option of whether to re-enter the activation code is popped up on the device to be activated.
[0012] In one embodiment, activating the device according to the information confirmation result further includes: When you choose to re-enter the activation code, re-enter the activation code on the device to be activated to verify the device information; When you choose not to re-enter the activation code, the activation process ends directly; When entering the activation code, enter the operator's work number or identification number.
[0013] On the other hand, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the device activation method are implemented.
[0014] On the other hand, the present invention further provides a computer device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the device activation method by running the program stored in the memory.
[0015] The beneficial effects of the technical solution of the present invention are: 1. The device activation method described in the present invention can realize one-to-one activation of IoT devices based on a unique code and an activation code, avoiding security risks caused by the same activation code. At the same time, the dual-code activation operation further improves the activation security and fault tolerance, and improves the activation success rate and accuracy.
[0016] 2. The computer-readable storage medium described in the present invention can realize the cooperation of the guidance system module, thereby realizing the device activation method described in the present invention, and the computer-readable storage medium described in the present invention also effectively improves the operability of the device activation method.
[0017] 3. The computer device described in the present invention can store and execute the computer-readable storage medium, thereby realizing the device activation method described in the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 is a flowchart of the device activation method described in Example 1 of the present invention; Figure 2 is a schematic diagram of the structure of the computer device described in Example 3 of the present invention; The symbols in the accompanying drawings are explained as follows: 1501, processor; 1502, communication interface; 1503, memory; 1504, communication bus. DETAILED DESCRIPTION
[0020] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0021] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0022] The terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. Example 1
[0023] This embodiment provides a device activation method, such as Figure 1 As shown, the following steps are included: S100, setting an activation code based on the information to be activated; S200, performing preliminary activation verification of the device according to the unique code of the device; S300: selectively activate the device using the activation code according to the preliminary activation verification result of the device.
[0024] In one implementation manner, the step of setting an activation code based on the information to be activated includes: Generate a matching activation code based on the device to be activated and the activation location.
[0025] In one embodiment, the unique code is a unique code generated by the device when the device is successfully activated for the first time; The unique code is stored in the cloud platform after the device is successfully activated for the first time, corresponding to the device to be activated.
[0026] In one embodiment, performing preliminary activation verification of the device according to the unique code of the device includes: In response to the device to be activated being turned on, performing a unique code verification; When the cloud platform detects the unique code, it determines that the device has completed activation and starts directly; When the cloud platform does not detect the unique code, the device is activated using the activation code.
[0027] In one embodiment, the device activation using the activation code includes: Entering an activation code on the device to be activated to verify device information; Call the activation code verification interface through the cloud platform; The information to be verified is displayed for confirmation, and the device is activated based on the information confirmation result.
[0028] In one embodiment, activating the device according to the information confirmation result includes: In response to the information being confirmed to be correct, the confirmation result and activation code are sent to the cloud platform. The cloud platform receives the device credential information and saves the record. The device is activated successfully and the startup is completed.
[0029] In one embodiment, activating the device according to the information confirmation result includes: In response to the information being confirmed to be incorrect, an option of whether to re-enter the activation code is popped up on the device to be activated.
[0030] In one embodiment, activating the device according to the information confirmation result further includes: When you choose to re-enter the activation code, re-enter the activation code on the device to be activated to verify the device information; When you choose not to re-enter the activation code, the activation process ends directly; When entering the activation code, enter the operator's work number or identification number.
[0031] It should be noted that the above examples are only for explaining the present invention and cannot limit the protection scope of the present invention. Example 2
[0032] This embodiment provides a computer-readable storage medium, including: The storage medium is used to store computer software instructions used to implement the device activation method described in the above-mentioned embodiment 1, which includes a program for executing the above-mentioned program set for the device activation method; specifically, the executable program can be built into the electronic device described in embodiment 3, so that the electronic device can implement the device activation method described in embodiment 1 by executing the built-in executable program.
[0033] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof. Example 3
[0034] This embodiment provides an electronic device, such as Figure 2 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .
[0035] Memory 1503, used for storing computer programs; The processor 1501 is used to implement the steps of the device activation method described in the above embodiment 1 when executing the computer program stored in the memory 1503.
[0036] As an embodiment of the present invention, the communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0037] As an implementation mode of the present invention, the communication interface is used for communication between the above-mentioned terminal and other devices.
[0038] As an embodiment of the present invention, the memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0039] As an embodiment of the present invention, the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0040] Different from the prior art, the device activation method, device and medium of the present application can perform one-to-one activation of IoT devices based on unique codes and activation codes, avoiding security risks caused by the same activation codes. At the same time, the dual-code activation operation further improves the activation security and fault tolerance, and improves the activation success rate and accuracy.
[0041] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.
[0042] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0043] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.
[0044] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0045] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0046] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.
[0047] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
[0048] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0049] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A device activation method, characterized in that: The following steps are involved: Set an activation code based on the information to be activated; Perform preliminary activation verification of the device based on the device's unique code; The device is selectively activated using the activation code according to the preliminary activation verification result of the device.
2. The device activation method according to claim 1, characterized in that: The step of setting the activation code based on the information to be activated includes: Generate a matching activation code based on the device to be activated and the activation location.
3. The device activation method according to claim 1, characterized in that: The unique code is a unique code generated by the device when the device is successfully activated for the first time; The unique code is stored in the cloud platform after the device is successfully activated for the first time, corresponding to the device to be activated.
4. The device activation method according to claim 1, characterized in that: The preliminary activation verification of the device according to the unique code of the device includes: In response to the device to be activated being turned on, performing unique code verification; When the cloud platform detects the unique code, it determines that the device has completed activation and starts directly; When the cloud platform does not detect the unique code, the device is activated using the activation code.
5. The device activation method according to claim 1, characterized in that: The device activation by using the activation code includes: Entering an activation code on the device to be activated to verify device information; Call the activation code verification interface through the cloud platform; The information to be verified is displayed for confirmation, and the device is activated based on the information confirmation result.
6. The device activation method according to claim 5, characterized in that: The device activation according to the information confirmation result includes: In response to the information being confirmed to be correct, the confirmation result and activation code are sent to the cloud platform. The cloud platform receives the device credential information and saves the record. The device is activated successfully and the startup is completed.
7. The device activation method according to claim 5, characterized in that: The device activation according to the information confirmation result includes: In response to the information being confirmed to be incorrect, an option of whether to re-enter the activation code is popped up on the device to be activated.
8. The device activation method according to claim 7, characterized in that: The device activation according to the information confirmation result also includes: When you choose to re-enter the activation code, re-enter the activation code on the device to be activated to verify the device information; When you choose not to re-enter the activation code, the activation process ends directly; When entering the activation code, enter the operator's work number or identification number.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the device activation method described in any one of claims 1 to 8 are implemented.
10. A computer device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the device activation method according to any one of claims 1 to 8 by running the program stored in the memory.