Equipment activation method, wireless communication module, electronic equipment and storage medium

By obtaining and verifying the target serial number and activation code from the main controller during the device activation process, combining cyclic redundancy check and preset time period control, the problem of low device activation security is solved and the security of information interaction is achieved and the effective activation of the device.

CN119172757APending Publication Date: 2024-12-20GUANGDONG HOTATA TECH GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411335912.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the existing device activation methods, there is a risk of data leakage and intercepting in the information interaction process, resulting in low security of device activation.

Method used

By obtaining the target sequence number from the main controller of the device, sending and verifying the target activation code in the activation command to the activation terminal, generating an activation command in the preset format, and activate the device when the target activation code is consistent with the stored activation code. Combining the cyclic redundancy verification algorithm and reception control within the preset time period, prevent illegal activation.

Benefits of technology

It effectively avoids data leakage and interception, improves the security of the device activation process, increases the difficulty of cracking information transmission, and prevents brute-force cracking and activates the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172757A_ABST
    Figure CN119172757A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a device activation method, a wireless communication module, an electronic device and a storage medium, relates to the technical field of intelligent devices, is applied to the wireless communication module, and comprises the following steps: in response to an acquisition request sent by an activation terminal, acquiring a target serial number of a master controller from the master controller of the device, sending the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud; receiving an activation instruction sent by the activation terminal, wherein the activation instruction comprises a target activation code of the main controller; the target activation code is determined through the target serial number; and analyzing the activation instruction, generating an activation instruction in a preset format according to an analysis result, and sending the activation instruction to the main controller, so that after the main controller analyzes the activation instruction in the preset format, if it is determined that the target activation code is consistent with the stored activation code, the equipment is activated. According to the method and the device, data leakage or interception in the information interaction process is avoided, and the security of device activation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart devices. Specifically, the present application relates to a device activation method, a wireless communication module, an electronic device and a storage medium. Background Art

[0002] In the existing device activation process, an activation instruction for the device is usually received first, the activation process is determined according to the activation instruction, and the corresponding activation process is executed to complete the activation of the device. Therefore, during the activation process, information interaction is required between the IoT platform, the activation terminal and the device. However, in the related device activation method, information interaction is completed through a simple interaction process, which may lead to the possibility of brute force cracking and activation of the device. Therefore, there are problems of data leakage and interception during the device activation process, resulting in low security of device activation. Summary of the invention

[0003] The embodiments of the present application provide a device activation method, a wireless communication module, an electronic device and a storage medium, which are used to solve the technical problems of data leakage, interception and low security of device activation.

[0004] According to a first aspect of an embodiment of the present application, a device activation method is provided, the method comprising: In response to the acquisition request sent by the activation terminal, the target serial number of the main controller is acquired from the main controller of the device, and the target serial number is sent to the activation terminal, so that the activation terminal sends the target serial number to the cloud; Receiving an activation instruction sent by the activation terminal, the activation instruction including a target activation code of the main controller; the target activation code is determined by the target serial number; Parse the activation instruction, generate an activation instruction in a preset format according to the parsing result, and send it to the main controller, so that after the main controller parses the activation instruction in the preset format, if it determines that the target activation code is consistent with the stored activation code, it activates the device.

[0005] In a possible implementation, an activation instruction in a preset format is generated according to the parsing result and sent to the main controller, and then activation failure information sent by the main controller is received; the activation failure information is sent when the main controller determines that the target activation code is inconsistent with the stored activation code; If the number of times the activation failure information is received is greater than the first preset number, the activation instruction is stopped from being received within the preset time period, and a suspension activation information is sent to the activation terminal; the suspension activation information is used to indicate that the activation terminal cannot send an activation instruction to the wireless communication module within the preset time period; If the number of times the activation failure information is received is greater than a second preset number, an activation prohibition information is sent to the activation terminal.

[0006] In another possible implementation, the parsing result is calculated according to a cyclic redundancy check algorithm to obtain a target checksum of the activation instruction; Compare the calculated target checksum with the checksum in the parsed result; If the target checksum is consistent with the checksum in the parsing result, an activation instruction in a preset format is generated according to the parsing result.

[0007] In yet another possible implementation, before responding to the acquisition request sent by the activation terminal, if it is detected that the device is powered on, a device status acquisition request is sent to the main controller; Receive the device status sent by the main controller, and broadcast broadcast information including the device status and device identification, so that after the activation terminal scans the broadcast information, if it is determined that the device is in an unactivated state according to the device status, the device identification of the device is displayed.

[0008] In another possible implementation, after sending the target serial number to the activation terminal, receiving a confirmation device instruction sent by the activation terminal; the confirmation device instruction is sent by the activation terminal after determining that the cloud stores the target serial number of the main controller; After parsing the confirmation device instruction, generating a confirmation device instruction in a preset format according to the parsing result; A confirmation device instruction in a preset format is sent to the main controller, so that after the main controller parses the confirmation device instruction in the preset format, a preset sound is broadcast according to the confirmation device instruction; the preset sound is used to indicate the device to which the activation terminal is connected.

[0009] In another possible implementation, the parsing result includes at least one of the following: Instruction type; Type of device; Checksum; Instruction length; Instruction content.

[0010] According to a second aspect of an embodiment of the present application, a wireless communication module of a device is provided, the device comprising: An acquisition module, configured to obtain a target serial number of a main controller from a main controller of a device in response to an acquisition request sent by the activation terminal, and send the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud; Receiver module, Used to receive an activation instruction sent by an activation terminal, the activation instruction includes a target activation code of the main controller; the target activation code is determined by a target serial number; The parsing module is used to parse the activation instruction, generate an activation instruction in a preset format according to the parsing result, and send it to the main controller, so that after the main controller parses the activation instruction in the preset format, if it determines that the target activation code is consistent with the stored activation code, it activates the device.

[0011] According to a third aspect of an embodiment of the present application, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory, and when the processor executes the program, the steps of the method provided in the first aspect are implemented.

[0012] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.

[0013] According to the fifth aspect of the embodiment of the present application, a computer program product is provided, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. When a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the computer device executes the steps of implementing the method provided in the first aspect.

[0014] The beneficial effects of the technical solution provided by the embodiment of the present application are: The device activation method provided in the embodiment of the present application receives an acquisition request, obtains the target serial number of the main controller from the main controller of the device, and then sends the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud, and the activation terminal sends an activation instruction containing a target activation code to the wireless communication device. After the wireless communication module receives the activation instruction, it first parses the activation instruction, then generates an activation instruction in a preset format, and sends the activation instruction in the preset format to the controller, so that after the main controller receives the activation instruction in the preset format, when it determines that the received target activation code is consistent with the stored activation code, it activates the device. The present application parses and reorganizes the information exchanged between the cloud and the activation terminal through the wireless communication module, thereby ensuring information security during the information interaction process, making it more difficult to crack the transmitted information, effectively avoiding data leakage and interception, preventing brute force cracking of the activation device, and improving the security of the device activation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.

[0016] Figure 1 A schematic diagram of a system architecture for implementing a device activation method provided in an embodiment of the present application; Figure 2 A schematic diagram of a device activation method provided in an embodiment of the present application; Figure 3 A flowchart of another device activation method provided in an embodiment of the present application; Figure 4 A schematic diagram of an interactive process of a device activation method provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of a wireless communication module provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0018] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "an" and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we call an element "connected" or "coupled" to another element, the one element can be directly connected or coupled to the other element, or it can refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used here may include wireless connection or wireless coupling. The term "and / or" used here indicates at least one of the items defined by the term, for example, "A and / or B" can be implemented as "A", or as "B", or as "A and B".

[0019] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0020] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.

[0021] Figure 1A schematic diagram of a system architecture for implementing a device activation method provided in an embodiment of the present application, wherein the system architecture includes: a terminal 120, a cloud 140 and a wireless communication module 160.

[0022] The terminal 120 installs and runs an application program having a device activation method. The terminal 120 is used to send an acquisition request to the wireless communication module 160 of the device, and is also used to send an activation instruction to the wireless communication module 160 .

[0023] The terminal 120 is connected to the cloud 140 via a wireless network or a wired network.

[0024] The cloud 140 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. Schematically, the cloud 140 includes a processor 144 and a memory 142, and the memory 142 includes a display module 1421, a control module 1422, and a receiving module 1423. The cloud 140 is used to provide background services for the application of the device activation method. Optionally, the cloud 140 undertakes the main computing work and the terminal 120 undertakes the secondary computing work; or, the cloud 140 undertakes the secondary computing work and the terminal 120 undertakes the main computing work; or, the cloud 140 and the terminal 120 adopt a distributed computing architecture for collaborative computing.

[0025] The wireless communication module 160 is used to implement information exchange between the main controller and the activated terminal, and is also used to parse and reorganize the received information.

[0026] Optionally, the device types of the terminal include: at least one of a smart phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer and a desktop computer.

[0027] Those skilled in the art will appreciate that the number of the above terminals may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or more. The embodiment of the present application does not limit the number of terminals and device types.

[0028] The present application provides a device activation method, such as Figure 2 As shown, the method includes: S101, in response to an acquisition request sent by an activation terminal, acquiring a target serial number of a main controller from a main controller of a device, and sending the target serial number to the activation terminal.

[0029] In an embodiment of the present application, the method is applied to a wireless communication module of a device, and the wireless communication module is responsible for wireless data transmission between the device and other devices or networks. The wireless communication module is a component that integrates wireless communication protocols and hardware, and is used to implement wireless data transmission functions in various smart devices. These modules can be embedded in various devices, such as mobile phones, smart home devices, wearable devices, etc., to achieve wireless network connection and data exchange. For example, the wireless communication module is a combo module, which is a module that integrates multiple wireless communication functions. It integrates different wireless communication protocols (such as Wi-Fi, Bluetooth, GPS, etc.) into one module, which facilitates the device to realize multiple communication functions without the need for additional hardware.

[0030] In an embodiment of the present application, the activation terminal is a terminal operated by an installer. After installing the device, the installer activates the device through the activation terminal. For example, if the device is a smart clothes dryer, after the installer installs the smart clothes dryer at home, if the installer wants to use the smart clothes dryer, the installer must activate the smart clothes dryer through the activation terminal he carries.

[0031] In the embodiments of the present application, a device refers to a device that needs to complete an activation process before it can be used normally, and the device is a device that can interact with an activation terminal through wireless communication. The device can be a smart home device, such as a smart lock, a smart light, and a smart appliance; the device can also be a personal electronic device, such as a smart watch, a fitness device, an e-reader, etc.; the device can also be an industrial controller, such as a PLC control, an industrial robot, etc.; the device can also be other electronic devices that need to be activated remotely or locally.

[0032] In the embodiment of the present application, the main controller of the device refers to the core processing unit responsible for managing and coordinating the various components and functions of the device. The main controller is responsible for starting and initializing the device, including loading the operating system. Therefore, the activation process of the device needs to be executed by the main controller.

[0033] In an embodiment of the present application, the serial number of the main controller is a unique identifier of the main controller of the device, which is used to track and manage the main controller. The serial number of the main controller is assigned during the production stage of the device. During the production process, the serial number of the main controller will be burned into the memory of the main controller. The serial number helps to ensure the identity authentication of the device and prevent counterfeiting.

[0034] In an embodiment of the present application, the acquisition request is sent by the activation terminal after determining that the device is in a state to be activated. That is to say, when the installer determines that the device is in a state to be activated and the above-mentioned device is a device to be activated, it will first establish a wireless communication connection with the wireless communication module of the device, and then send an acquisition request to the wireless communication module to obtain the target serial number of the main controller of the device. Therefore, after the wireless communication module receives the acquisition request sent by the activation terminal, it interacts with the main controller of the device, obtains the target serial number of the main controller from the main controller, and finally sends the above-mentioned target serial number to the activation terminal.

[0035] In an embodiment of the present application, the target serial number is sent to the activation terminal so that the activation terminal sends the target serial number to the cloud.

[0036] In an embodiment of the present application, if the activation terminal wants to activate the device, it first needs to determine through the cloud whether the device meets the activation conditions. Therefore, after the wireless communication module obtains the target serial number of the main controller according to the acquisition request, it returns the target serial number to the activation terminal, so that the activation terminal can send the target serial number of the main controller to the cloud to determine whether the device meets the activation conditions.

[0037] S102: Receive an activation instruction sent by an activation terminal.

[0038] In an embodiment of the present application, the activation instruction includes a target activation code of the main controller; the target activation code is determined by a target serial number.

[0039] In an embodiment of the present application, the activation instruction is used to instruct the activation of the device, and the target activation code is used to activate the device, complete the configuration of the device and enable the functions. A unique activation code is assigned to the device when it is produced, and then the activation code is stored in the device's memory, and the correspondence between the serial number and the activation code is stored in the cloud, so that the activation device can obtain the target activation code from the cloud according to the target serial number when activating the device.

[0040] In the embodiment of the present application, after the cloud determines that the device meets the activation conditions based on the target serial number of the main controller, it will send an activation instruction carrying the target activation code to the activation terminal.

[0041] In an embodiment of the present application, after the cloud receives the target serial number sent by the activation terminal, it determines whether the device meets the activation conditions based on the serial number. If the device meets the activation conditions, it obtains the target activation code corresponding to the target serial number, and then sends an activation instruction containing the target activation code to the activation terminal. The activation instruction forwards the activation instruction containing the target activation code to the wireless communication module, so that the wireless communication module receives the activation instruction sent by the activation terminal.

[0042] In an embodiment of the present application, the activation condition is used to ensure that the device meets specific requirements or conditions, thereby ensuring the legality, functionality and security of the device. For example, the activation condition may be whether the target serial number is recorded in the serial number set of the main controller of the registered device. The cloud will record the serial number of the main controller of the registered device in the serial number set. If the target serial number is recorded in the serial number set, it is considered that the device does not meet the activation condition.

[0043] S103, parsing the activation instruction, generating an activation instruction in a preset format according to the parsing result, and sending the activation instruction to the main controller.

[0044] In an embodiment of the present application, the data format of the activation instruction sent by the activation terminal to the wireless communication module of the device is different from the data format of the activation instruction in a preset format sent to the main controller after the wireless communication module parses and reorganizes the activation instruction. The data format of the activation instruction sent by the activation terminal to the wireless communication module is a first data format, that is, the wireless communication module and the activation terminal use the first data format for information exchange, and the activation instruction in a preset format sent by the wireless communication module to the main controller uses a preset data format, that is, the information exchange between the wireless communication module and the main controller uses a preset data format.

[0045] In the embodiment of the present application, after receiving the activation instruction, the wireless communication module first parses the activation instruction, and determines the instruction type, the device to which the instruction is directed, and the specific information carried by the instruction based on the parsing result. For example, when the instruction is an activation instruction, the instruction type, target activation code, device type of the device to be activated, target serial number of the main controller of the device to be activated, and other information can be obtained based on the parsing result. The wireless communication module constructs an activation instruction in a preset format based on the above information, and then sends an activation instruction in a preset format containing information such as the instruction type, target activation code, and target serial number of the main controller to the main controller.

[0046] In an embodiment of the present application, the parsing result includes at least one of the following: instruction type, device type, checksum, instruction length, and instruction content.

[0047] In one example, the data format of the activation instruction sent by the activation terminal to the wireless communication module is shown in Table 1 below:

[0048] Table 1 Among them, the synchronization header length is 1 BYTE, which is used to characterize the instruction type. For example, the instruction type can be divided into function instructions, activation instructions, and lock instructions; the device type length is 1 BYTE, which is used to characterize different types of devices. For example, 0X02 represents a smart clothes dryer and 0X03 represents a smart door lock; the additional data length is used to characterize the length of the entire instruction; the message data length is greater than 12 BYTE, which is used to carry specific instruction content. For example, in the activation instruction, the target activation code and target serial number are stored in the message data; the checksum length is 1 BYTE, which is used for the wireless communication module to verify whether the activation instruction is legal and whether the content has been tampered with.

[0049] In another example, the data format of the activation instruction in a preset format sent by the wireless communication module to the main controller is shown in Table 2 below:

[0050] Table 2 Among them, the synchronization header length is 1BYTE, which is used to characterize whether the current instruction is valid. For example, when the wireless communication module communicates with the main controller, the synchronization header is pre-set to 0X12. Only when the main controller determines that the synchronization header of the received instruction is 0X12, the main controller determines that the instruction is valid, and then parses other contents; the message length is 1BYTE, which is used to characterize the length of the entire instruction; the device type length is 1BYTE, which is used to characterize different types of devices; reserved as reserved bytes, or for padding; the message type identifier length is 1BYTE, which is used to characterize the instruction type. When the issued instruction is an activation instruction, the activation instruction is characterized by pre-established data. For example, the hexadecimal number 0X01 represents the activation instruction. Then when the main controller parses the synchronization header as 0X01, it can confirm that the received instruction is an activation instruction; the message body length is NBYTE, which is used to carry the target activation code and target serial number; the message check code length is 1BYTE, which is used to verify the legality of the instruction.

[0051] In another example, the data format of the response information sent by the wireless communication module to the activation terminal is shown in Table 3:

[0052] Table 3 Among them, the synchronization header length is 1 BYTE, which is used to characterize the instruction type. For example, the instruction type can be divided into function instructions, activation instructions, and lock instructions; the device type length is 1 BYTE, which is used to characterize different types of devices. For example, 0X02 characterizes a smart clothes dryer and 0X03 characterizes a smart door lock; the additional data length is used to characterize the length of the entire instruction; the operation result is used to characterize the operation result of the instruction, such as activation success or failure; the message data length is greater than 12 BYTE and is used to carry specific information; the checksum length is 1 BYTE, which is used for the activation terminal to verify whether the response information is legal and whether the content has been tampered with.

[0053] In an embodiment of the present application, an activation instruction in a preset format is sent to the main controller, so that after parsing the activation instruction in the preset format, the main controller activates the device when it determines that the target activation code is consistent with the stored activation code.

[0054] In an embodiment of the present application, after sending an activation instruction in a preset format to the main controller, the main controller can obtain the target activation code sent by the cloud after parsing the activation box in the preset format according to the preset protocol. If the main controller determines that the target activation code sent by the cloud is consistent with the stored activation code, it means that the device can be activated at present, thereby activating the device.

[0055] The device activation method provided in the embodiment of the present application receives an acquisition request, obtains the target serial number of the main controller from the main controller of the device, and then sends the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud, and the activation terminal sends an activation instruction containing a target activation code to the wireless communication device. After the wireless communication module receives the activation instruction, it first parses the activation instruction, then generates an activation instruction in a preset format, and sends the activation instruction in the preset format to the controller, so that after the main controller receives the activation instruction in the preset format, when it determines that the received target activation code is consistent with the stored activation code, it activates the device. The present application parses and reorganizes the information exchanged between the cloud and the activation terminal through the wireless communication module, thereby ensuring information security during the information interaction process, making it more difficult to crack the transmitted information, effectively avoiding data leakage and interception, preventing brute force cracking of the activation device, and improving the security of the device activation process.

[0056] On the basis of the above embodiments, as an optional embodiment, an activation instruction in a preset format is generated according to the analysis result, and after being sent to the main controller, an activation failure message sent by the main controller is received; if the number of times the activation failure message is received is greater than a first preset number, the activation instruction is stopped from being received within a preset time period, and a suspended activation message is sent to the activation terminal; the suspended activation message is used to indicate that the activation terminal cannot send an activation instruction to the wireless communication module within a preset time period; if the number of times the activation failure message is received is greater than a second preset number, an activation prohibition message is sent to the activation terminal; wherein, the activation failure message is sent when the main controller determines that the target activation code is inconsistent with the stored activation code, and the first preset number is less than the second preset number.

[0057] In the implementation of the present application, if the main controller determines that the target activation code in the received activation instruction of a preset format is inconsistent with the stored activation code, the activation instruction fails to pass the verification and the device cannot be activated. Therefore, the activation failure information is returned to the wireless communication module, so that the wireless communication module receives the activation failure information sent by the main controller, that is, the wireless communication module receives the activation failure information, which indicates that the activation has failed.

[0058] In an embodiment of the present application, after the wireless communication module determines that the activation has failed, it will return a response message of the activation failure to the activation terminal. Usually, after the activation fails, the activation terminal will re-acquire the target activation code from the cloud and then send an activation instruction containing the target activation code to the wireless communication module again. The wireless communication module will parse and reorganize the activation instruction again, generate an activation instruction in a preset format, and then send the activation instruction in the preset format to the main controller. In order to avoid security issues such as illegal activation, the number of activations for each device is limited. Therefore, when the number of activations of the device exceeds the pre-defined limit, the corresponding operation will be performed.

[0059] In an embodiment of the present application, if the wireless communication module determines that the number of times it receives activation failure information sent by the main controller exceeds a first preset number, it means that the current device has been activated too many times and there is a safety hazard. Therefore, the wireless communication module suspends receiving activation instructions sent by the activation terminal within a preset time period, and informs the activation terminal by sending a suspended activation message that the current number of activation failures is too many and that it is prohibited to send activation instructions to the wireless communication module within the preset time period. For example, if the wireless communication module receives activation failure information more than ten times, it stops receiving activation instructions sent by the activation terminal within three minutes, and sends a suspended activation message to the activation terminal, informing the activation terminal that it is prohibited to send activation instructions within three minutes starting from the current moment.

[0060] In an embodiment of the present application, when the activation instruction sent by the activation terminal is suspended for more than a preset time period, the activation instruction is restarted, and the number of activation failure information received is continued to be counted. If the number of subsequent activation failure information received is greater than the second preset number, it means that the current device cannot be activated. Therefore, an activation prohibition message is sent to the activation terminal to instruct the installer of the activation terminal to contact the after-sales staff of the device, so as to solve the problem that the device cannot be activated. For example, based on the above example, after the activation is suspended for three minutes, if the activation failure message is still received subsequently, it is accumulated based on the original ten times of receiving the activation failure message until the number of activation failures received is twenty times, and then an activation prohibition message is sent to the activation terminal to instruct the activation terminal to connect with the relevant staff to solve the problem that the device cannot be activated.

[0061] In the above scheme, the wireless communication module determines whether the device can still be activated based on the number of activation failure information fed back by the main controller. When multiple activation failures occur, the activation is limited for a short time. When the number of activations exceeds the upper limit, the device activation is completely prohibited to avoid large amounts of data attempts to crack the activation through external devices or scripts, thereby protecting the device to be activated and providing higher security.

[0062] Based on the above embodiments, as an optional embodiment, the parsing result is calculated according to a cyclic redundancy check algorithm to obtain a target checksum of the activation instruction; the calculated target checksum is compared with the checksum in the parsing result; if the target checksum is consistent with the checksum in the parsing result, an activation instruction in a preset format is generated according to the parsing result.

[0063] In an embodiment of the present application, when the activation terminal sends an activation instruction to the wireless communication module, the activation instruction will carry a checksum. After the wireless communication module receives the activation instruction, it will also calculate the target checksum based on the received activation instruction. When the calculated target checksum is consistent with the activation checksum carried by the activation instruction, it means that the activation instruction is legal and has not been tampered with, thereby further generating an activation instruction in a preset format that can be parsed by the main controller based on the parsing result, thereby instructing the main controller to activate the device.

[0064] In one example, the wireless communication module parses the activation instruction and obtains the parsing result, which includes: synchronization header, message data and checksum, where the synchronization header is 0x01, the message data is 0xA3, and the CRC register is initialized. The CRC register is a component used to execute the cyclic redundancy check algorithm. For example, it is set to 0xFFFF, and each byte of the synchronization header and message data is gradually input into the CRC register to execute each step of the RC algorithm. The CRC algorithm generally includes the following steps: Shift and XOR Operations: The processing of each byte consists of XORing the byte with the current value in the CRC register, followed by shifts and other bit operations as dictated by the algorithm.

[0065] Calculate the final CRC value: After all bytes are processed, the final CRC value, that is, the target checksum, is obtained. When the target checksum is consistent with the checksum carried by the instruction, it can be determined that the instruction received by the wireless communication module maintains integrity and correctness during the transmission process.

[0066] In the above scheme, when receiving the activation instruction, the activation instruction is first parsed to obtain the parsing result. According to the parsing result, the target checksum can be calculated, and the checksum sent by the activation terminal can also be obtained. When the target checksum and the checksum sent are consistent, it means that the current activation instruction has not been tampered with during the transmission process. Therefore, the activation instruction in a preset format is generated according to the parsing result obtained by parsing the activation instruction, which prevents the execution of unauthorized instructions and ensures the legal activation of the device.

[0067] On the basis of the above embodiments, as an optional embodiment, before responding to the acquisition request sent by the activation terminal, if it is detected that the device is powered on, a device status acquisition request is sent to the main controller; the device status sent by the main controller is received, and a broadcast message containing the device status and the device identification is broadcast, so that after the activation terminal scans the broadcast information, if it is determined that the device is in an unactivated state according to the device status, the device identification of the device is displayed.

[0068] In an embodiment of the present application, before receiving the acquisition request sent by the activation terminal, the wireless communication module will also broadcast the device status of the device. Therefore, after detecting that the device is powered on, the wireless communication module first sends a device status acquisition request to the main controller. After receiving the device status acquisition request, the main controller sends the device status of the device to the wireless communication module. After receiving the device status, the wireless communication module will add the device status to the broadcast information for broadcasting. There are four types of device status: activated, unconfigured and unbound, activated, networked and bound, inactivated and locally bound. Each device status has a corresponding Bluetooth broadcast flag. The device status is represented by the Bluetooth broadcast flag in the broadcast information. For example, the Bluetooth broadcast flag corresponding to activated, unconfigured and unbound is FFE3050500, the Bluetooth broadcast flag corresponding to activated, networked and bound is FFE3050501, the Bluetooth binding flag corresponding to inactivated is FFE3050502, and the Bluetooth binding flag corresponding to locally bound is FFE3050504.

[0069] In an embodiment of the present application, the wireless communication module broadcasts broadcast information carrying the device status so that after the activation terminal scans the broadcast information, it can determine whether the currently scanned device needs to be activated based on the device status carried in the broadcast information. When it is determined that the Bluetooth broadcast flag representing the device status in the broadcast information indicates that it is not activated, it means that the currently scanned device needs to be activated. Therefore, the device identification of the device is displayed on the visual interface of the activation terminal. The device identification can be the Mac address of the device. By triggering the control corresponding to the device identification, a Bluetooth connection with the device corresponding to the device identification can be established, so that the activation terminal can send a request to the wireless communication module to further determine the identity of the device.

[0070] In the above scheme, when it is detected that the device is powered on, the wireless sends a device status acquisition request to the main controller to obtain the device status. After obtaining the device status, it starts broadcasting broadcast information containing the device status, so that when the device is not activated, it can be scanned by the activation terminal in time, so that it can be selected for Bluetooth connection, thereby performing the activation operation.

[0071] On the basis of the above embodiments, as an optional embodiment, after sending the target serial number to the activation terminal, a confirmation device instruction sent by the activation terminal is received; the confirmation device instruction is sent by the activation terminal after determining that the target serial number of the main controller is stored in the cloud; after parsing the confirmation device instruction, a confirmation device instruction in a preset format is generated according to the parsing result; a confirmation device instruction in a preset format is sent to the main controller, so that after the main controller parses the confirmation device instruction in the preset format, a preset sound is broadcast according to the confirmation device instruction; the preset sound is used to indicate the device to which the activation terminal is connected.

[0072] In an embodiment of the present application, after the wireless communication module sends the target serial number to the activation terminal, the activation terminal will send the target serial number to the cloud. The cloud will determine whether the target serial number is stored. After determining that the target serial number is stored, it will send a confirmation device instruction to the activation terminal. The activation terminal sends the confirmation device instruction to the wireless communication module. Since the main controller can only parse information in a preset format, the wireless communication module will first parse the confirmation device instruction, and then generate a confirmation device instruction in a preset format based on the parsing result, and then send the confirmation device instruction in a preset format to the main controller. After receiving the confirmation device instruction in the preset format, the main controller will parse the confirmation device instruction and broadcast a preset sound based on the parsing result. For example, the device broadcasts a beeping sound, so that the installer can confirm whether the currently connected device is the same device as the device planned to be activated.

[0073] In the above scheme, in order to actually establish the consistency between the device connected by wireless communication and the device to be activated, the device instructions are received, parsed and reorganized to confirm, and a device confirmation instruction in a preset format is sent to the main controller to instruct the connected wireless communication device to broadcast a preset sound. When the connected device broadcasts the preset sound, the installer can confirm that the currently connected device and the device to be activated are the same device. The above scheme ensures the consistency between the actually activated device and the device to be activated during the activation process.

[0074] refer to Figure 3 The figure shows a flow chart of a device activation method by way of example, and the specific contents are as follows: S201, if it is detected that the device is powered on, obtain the device status of the device from the main controller, and broadcast a broadcast message carrying the device status; S202, establish a connection with the activation terminal, and parse the confirmation device instruction sent by the activation terminal, generate a confirmation device instruction in a preset format according to the analysis result, and send a confirmation device instruction in a preset format to the main controller; S203, determining whether an activation instruction sent by the activation terminal is received; if the activation instruction is received, executing S204; if the activation instruction is not received, executing S203; S204, analyze whether the activation instruction is legal; if the activation instruction is legal, execute S205; if the activation instruction is illegal, execute S203 S205, generating an activation instruction in a preset format according to the analysis result, and sending the activation instruction in the preset format to the main controller; S206, determining whether the activation is successful based on the information returned by the main controller; if the activation is successful, executing S207, and if the activation is unsuccessful, executing S208; S207, parsing and reorganizing the received activation success information, and then sending the reorganized activation success information to the activation terminal; S208, determining whether the number of times the activation failure information is received is greater than a first preset number of times and less than a second preset number of times; if the above conditions are met, executing S209, if the above conditions are not met, executing S210; S209, stop receiving activation instructions, and cancel the stop receiving activation instructions after a preset time period; S210, determining whether the number of times the activation failure information is received is greater than a second preset number; if the above condition is met, executing S211; if the above condition is not met, executing S203; S211, turning on the device activation prohibition function, and sending activation prohibition information to the activation terminal.

[0075] refer to Figure 4It exemplarily shows an interactive flow chart of a device activation method, the specific contents are as follows: S301, if the wireless communication module detects that the device is powered on, it sends a device status acquisition request to the main controller; S302, the main controller sends the device status to the wireless communication module; S303, the wireless communication module broadcasts broadcast information including device status; S304, the activation terminal scans the device, obtains the broadcast information of the device, determines the device status of the device according to the broadcast information, and displays the device identification and corresponding controls if the device status is inactive; S305, the activation terminal establishes a Bluetooth connection with the wireless communication module of the device in response to the control corresponding to the device identifier being triggered; S306, the activation terminal sends an acquisition request to the wireless communication module; S307, the activation terminal sends an acquisition request in a preset format to the main controller; S308, the main controller sends the target serial number of the main controller to the activation terminal; S309, the wireless communication module sends the target serial number to the activation terminal; S310, the activation terminal sends the target serial number to the cloud; S311. If the cloud determines that the target serial number is stored, it sends a confirmation device instruction to the activation terminal; S312, the activation terminal sends a confirmation device instruction to the wireless communication module; S313, the wireless communication module parses and reorganizes the confirmation device instruction to obtain a confirmation device instruction in a preset format; S314, the wireless communication module sends a confirmation device instruction in a preset format to the main controller; S315, the main controller broadcasts a preset sound; S316, the activation terminal sends an activation request including a target serial number to the activation terminal in response to confirming that the device control is triggered; S317, the cloud determines that the device meets the activation condition according to the target serial number, and obtains the target activation code corresponding to the target serial number; S318, the cloud sends an activation instruction including a target activation code to the activation terminal; S319, the activation terminal forwards the activation instruction including the target activation code to the wireless communication module; S320, the wireless communication module parses and reorganizes the activation instruction to generate an activation instruction in a preset format; S321, the wireless communication module sends an activation instruction in a preset format to the main controller; S322: When the main controller determines that the target activation code in the activation instruction is consistent with the stored activation code, it activates the device.

[0076] S323, the main controller sends activation success information to the wireless communication device; S324. The wireless communication device sends activation success information to the activation terminal.

[0077] The present application embodiment provides a wireless communication module, such as Figure 5 As shown, the wireless communication module 50 may include: an acquisition module 501, a receiving module 502 and a parsing module 503, wherein: The acquisition module 501 is used to obtain the target serial number of the main controller from the main controller of the device in response to the acquisition request sent by the activation terminal, and send the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud; The receiving module 502 is used to receive an activation instruction sent by the activation terminal, where the activation instruction includes a target activation code of the main controller; the target activation code is determined by a target serial number; The parsing module 503 is used to parse the activation instruction, generate an activation instruction in a preset format according to the parsing result, and send it to the main controller, so that after parsing the activation instruction in the preset format, if the main controller determines that the target activation code is consistent with the stored activation code, it activates the device.

[0078] The device of the embodiments of the present application can execute the method provided by the embodiments of the present application, and the implementation principles are similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.

[0079] Further, in a possible implementation, an activation instruction in a preset format is generated according to the parsing result and sent to the main controller, and then activation failure information sent by the main controller is received; the activation failure information is sent when the main controller determines that the target activation code is inconsistent with the stored activation code; If the number of times the activation failure information is received is greater than the first preset number, the activation instruction is stopped from being received within the preset time period, and a suspension activation information is sent to the activation terminal; the suspension activation information is used to indicate that the activation terminal cannot send an activation instruction to the wireless communication module within the preset time period; If the number of times the activation failure information is received is greater than a second preset number, an activation prohibition information is sent to the activation terminal.

[0080] In another possible implementation, the parsing result is calculated according to a cyclic redundancy check algorithm to obtain a target checksum of the activation instruction; Compare the calculated target checksum with the checksum in the parsed result; If the target checksum is consistent with the checksum in the parsing result, an activation instruction in a preset format is generated according to the parsing result.

[0081] In yet another possible implementation, before responding to the acquisition request sent by the activation terminal, if it is detected that the device is powered on, a device status acquisition request is sent to the main controller; Receive the device status sent by the main controller, and broadcast the broadcast information including the device status and device identification, so that after the activation terminal scans the broadcast information, if the device is determined to be in an unactivated state according to the device status, the device identification of the device is displayed for the activation terminal to establish a Bluetooth connection with the device.

[0082] In another possible implementation, after sending the target serial number to the activation terminal, receiving a confirmation device instruction sent by the activation terminal; the confirmation device instruction is sent by the activation terminal after determining that the cloud stores the target serial number of the main controller; After parsing the confirmation device instruction, generating a confirmation device instruction in a preset format according to the parsing result; A confirmation device instruction in a preset format is sent to the main controller, so that after the main controller parses the confirmation device instruction in the preset format, a preset sound is broadcast according to the confirmation device instruction; the preset sound is used to indicate the device to which the activation terminal is connected.

[0083] In another possible implementation, the parsing result includes at least one of the following: Instruction type; Type of device; Checksum; Instruction length; Instruction content.

[0084] In an embodiment of the present application, an electronic device (computer device / equipment / system) is provided, including a memory, a processor and a computer program stored in the memory, and the processor executes the above-mentioned computer program to implement the steps of the device activation method. Compared with the related art, it can be implemented as follows: by receiving an acquisition request, a target serial number of the main controller is obtained from the main controller of the device, and then the target serial number is sent to the activation terminal, so that the activation terminal sends the target serial number to the cloud, so that the cloud determines whether the device meets the activation condition according to the target serial number. When the device meets the activation condition, an activation instruction containing a target activation code is sent to the wireless communication device through the activation terminal. After the wireless communication module receives the activation instruction, the activation instruction is first parsed, and then an activation instruction in a preset format is generated, and the activation instruction in the preset format is sent to the controller, so that after the main controller receives the activation instruction in the preset format, when it determines that the received target activation code is consistent with the stored activation code, the device is activated. The present application parses and reorganizes the information exchanged between the cloud and the activation terminal through the wireless communication module, thereby ensuring the information security in the information interaction process, making the transmitted information more difficult to crack, effectively avoiding data leakage and interception, preventing brute force cracking of the activation device, and improving the security in the device activation process.

[0085] In an alternative embodiment, an electronic device is provided, such as Figure 6 As shown, Figure 6 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.

[0086] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0087] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 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.

[0088] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.

[0089] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.

[0090] Among them, the electronic equipment package may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0091] The embodiment of the present application 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 and corresponding contents of the aforementioned method embodiment can be implemented. Compared with the prior art, it can be implemented as follows: by receiving an acquisition request, a target serial number of a main controller is obtained from a main controller of the device, and then the target serial number is sent to an activation terminal, so that the activation terminal sends the target serial number to the cloud, so that the cloud determines whether the device meets the activation condition according to the target serial number, and when the device meets the activation condition, an activation instruction containing a target activation code is sent to the wireless communication device through the activation terminal, and after the wireless communication module receives the activation instruction, the activation instruction is first parsed, and then an activation instruction in a preset format is generated, and the activation instruction in a preset format is sent to the controller, so that after the main controller receives the activation instruction in the preset format, when it is determined that the received target activation code is consistent with the stored activation code, the device is activated, and the present application parses and reorganizes the information exchanged between the cloud and the activation terminal through the wireless communication module, thereby ensuring the information security in the information interaction process, making it more difficult to crack the transmitted information, effectively avoiding data leakage and interception, preventing violent cracking of the activation device, and improving the security of the device activation process.

[0092] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable 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 disclosure, 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 disclosure, 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: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0093] The present application also provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the above method embodiments when executed by a processor. Compared with the prior art, it can achieve: By receiving an acquisition request, the target serial number of the main controller is obtained from the main controller of the device, and then the target serial number is sent to the activation terminal, so that the activation terminal sends the target serial number to the cloud, so that the cloud can determine whether the device meets the activation conditions based on the target serial number. When the device meets the activation conditions, an activation instruction containing a target activation code is sent to the wireless communication device through the activation terminal. After the wireless communication module receives the activation instruction, it first parses the activation instruction, then generates an activation instruction in a preset format, and sends the activation instruction in the preset format to the controller, so that after the main controller receives the activation instruction in the preset format, when it determines that the received target activation code is consistent with the stored activation code, it activates the device. The present application parses and reorganizes the information exchanged between the cloud and the activation terminal through the wireless communication module, thereby ensuring information security during the information interaction process, making it more difficult to crack the transmitted information, effectively avoiding data leakage and interception, preventing brute force cracking of the activation device, and improving the security of the device activation process.

[0094] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.

[0095] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.

[0096] The above are only optional implementation methods for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the scheme of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. A device activation method, It is characterized in that A wireless communication module applied to a device, the method comprising: In response to the acquisition request sent by the activation terminal, acquiring a target serial number of the main controller from the main controller of the device, and sending the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud; receiving an activation instruction sent by the activation terminal, wherein the activation instruction includes a target activation code of the main controller; the target activation code is determined by the target serial number; Parse the activation instruction, generate an activation instruction in a preset format according to the parsing result, and send it to the main controller, so that after the main controller parses the activation instruction in the preset format, if it is determined that the target activation code is consistent with the stored activation code, the device is activated.

2. The method according to claim 1, It is characterized in that The method further comprises: generating an activation instruction in a preset format according to the analysis result and sending the activation instruction to the main controller; and then: receiving activation failure information sent by the main controller; the activation failure information is sent when the main controller determines that the target activation code is inconsistent with the stored activation code; If the number of times the activation failure information is received is greater than a first preset number of times, then stop receiving the activation instruction within a preset time period, and send a suspended activation information to the activation terminal; the suspended activation information is used to indicate that the activation terminal cannot send an activation instruction to the wireless communication module within a preset time period; If the number of times the activation failure information is received is greater than a second preset number of times, sending activation prohibition information to the activation terminal; Wherein, the first preset number of times is less than the second preset number of times.

3. The method according to claim 1, It is characterized in that The step of generating an activation instruction in a preset format according to the parsing result includes: Calculating the parsing result according to a cyclic redundancy check algorithm to obtain a target checksum of the activation instruction; comparing the calculated target checksum with the checksum in the parsed result; If the target checksum is consistent with the checksum in the parsing result, an activation instruction in a preset format is generated according to the parsing result.

4. The method according to claim 1, It is characterized in that The method further comprises, in response to the acquisition request sent by the activation terminal: If it is detected that the device is powered on, a device status acquisition request is sent to the main controller; The device status sent by the main controller is received, and broadcast information including the device status and device identification is broadcasted, so that after the activation terminal scans the broadcast information, if the device is determined to be in an inactivated state according to the device status, the device identification of the device is displayed.

5. The method according to claim 1, It is characterized in that The sending of the target sequence number to the activation terminal further comprises: receiving a confirmation device instruction sent by the activation terminal; the confirmation device instruction is sent by the activation terminal after determining that the cloud storage has the target serial number of the main controller; After parsing the confirmation device instruction, generating a confirmation device instruction in a preset format according to the parsing result; The device confirmation instruction in the preset format is sent to the main controller, so that after the main controller parses the device confirmation instruction in the preset format, a preset sound is broadcast according to the device confirmation instruction; the preset sound is used to indicate the device to which the activation terminal is connected.

6. The method according to claim 1, It is characterized in that The analysis result includes at least one of the following: Instruction type; Type of device; Checksum; Instruction length; Instruction content.

7. A wireless communication module, It is characterized in that include: an acquisition module, configured to acquire a target serial number of the main controller from the main controller of the device in response to an acquisition request sent by the activation terminal, and send the target serial number to the activation terminal, so that the activation terminal sends the target serial number to the cloud; A receiving module, configured to receive an activation instruction sent by the activation terminal, wherein the activation instruction includes a target activation code of the main controller; The target activation code is determined by the target sequence number; A parsing module is used to parse the activation instruction, generate an activation instruction in a preset format according to the parsing result, and send it to the main controller, so that after the main controller parses the activation instruction in the preset format, if it is determined that the target activation code is consistent with the stored activation code, the device is activated.

8. An electronic device comprising a memory, a processor and a computer program stored in the memory, It is characterized in that The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.