Intelligent module binding method and device
By obtaining and judging the SN code and IMEI code of the intelligent module, automatic binding without specific burning software is achieved, complex operation problems during smart module replacement are solved, and user experience and data consistency are improved.
Patent Information
- Application Number
- CN202211053277.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-08-30
AI Technical Summary
When replacing existing smart modules, they need to be re-entered and bound, which is complicated and inconvenient in operation and poor user experience.
By obtaining the SN code and IMEI code sent by the Internet of Things information platform, we judge and bind the intelligent module, and realize automatic binding without the need for specific burning software and devices, which is simple to operate.
Improve user experience, simplify the process of smart module replacement and binding, ensure data consistency, and avoid the inconvenience of returning to the factory to burn.
Smart Images

Figure CN115412924B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and device for binding a smart module. Background Art
[0002] At present, with the development of Internet of Things technology, the use of smart devices is increasing, and the upgrading and replacement of smart modules are becoming more and more frequent.
[0003] At present, when the smart module needs to be replaced, the method usually adopted is to return the smart module to the factory, and then after getting the new smart module, go to the site to re-burn and bind the replaced module identification and device identification. For example, the patent with publication number CN110109683A discloses a method of remote burning through networking, which uploads a burning file in a specific format on the server side and then binds the burner. When the customer or the burning personnel of the production line want to upgrade the software of the product, they only need to connect the burner to the networked host computer through a communication interface such as USB, and use the host computer client software to check whether the burning file on the server has been updated. If there is an update, then selectively import the burning file in a specific format to the burner device.
[0004] However, the operating conditions and process of this method are complicated, and a specific burner and host computer are required for burning and binding, which causes great inconvenience to users. Summary of the invention
[0005] The present invention provides a method and device for binding a smart module, which can improve the user experience.
[0006] In a first aspect, an embodiment of the present invention provides a smart module binding method, which is applied to a smart module. The method includes:
[0007] Obtain device information sent by the Internet of Things information platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0008] Determine whether the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound;
[0009] If the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound, the SN code and the IMEI code in the device information are bound, and a successful binding message is sent to the IoT information platform so that the IoT information platform can match the SN code and the IMEI code;
[0010] If the IMEI code in the device information is inconsistent with the IMEI code of the smart module that currently needs to be bound, a binding failure message is sent to the Internet of Things platform.
[0011] In a possible implementation, before binding the SN code and the IMEI code in the device information, further comprising:
[0012] By calling the product test interface inside the smart module, it is determined whether the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information;
[0013] If the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information, the other IMEI codes bound to the SN code in the device information are unbound.
[0014] In a second aspect, an embodiment of the present invention provides a method for binding a smart module, which is applied to an Internet of Things information platform. The method includes:
[0015] Obtain device information sent by the cloud platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0016] Determine whether there is a smart module corresponding to the IMEI code in the device information;
[0017] If there is a smart module corresponding to the IMEI code in the device information, determining whether the IMEI code and the SN code in the device information have a matching relationship;
[0018] If the IMEI code and the SN code in the device information have a matching relationship, a successful binding message is returned to the cloud platform;
[0019] If the IMEI code and the SN code in the device information do not have a matching relationship, communicating with the smart module so that the smart module completes the binding operation;
[0020] If the smart module corresponding to the IMEI code in the device information does not exist, information indicating that the IMEI code does not exist is returned to the cloud platform.
[0021] In a possible implementation, the obtaining of device information sent by the cloud platform includes:
[0022] Receiving encrypted device information sent by the cloud platform;
[0023] The encrypted device information is decrypted according to the encryption and decryption protocol to obtain the device information.
[0024] In a third aspect, an embodiment of the present invention provides a method for binding a smart module, which is applied to a cloud platform. The method includes:
[0025] Obtain device information sent by the client; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0026] Sending the device information to the Internet of Things information platform so that the Internet of Things information platform completes the binding operation; and,
[0027] Receive the binding information returned by the Internet of Things information platform.
[0028] In a possible implementation, sending the device information to an Internet of Things information platform includes:
[0029] Encrypting the device information according to an encryption algorithm to obtain encrypted device information;
[0030] The encrypted device information is sent to the Internet of Things information platform.
[0031] In a possible implementation manner, encrypting the device information according to an encryption algorithm to obtain encrypted device information includes:
[0032] Determine, according to the SN code in the device information, a first key of a preset first encryption method;
[0033] Based on the first key, encrypting the SN code using a first encryption method; and,
[0034] Encrypting the IMEI code in the device information using a preset second encryption method;
[0035] The information obtained by encrypting the SN code and the information obtained by encrypting the IMEI code are determined as the encrypted device information.
[0036] In a fourth aspect, an embodiment of the present invention provides a smart module binding device, which is applied to a smart module; the device includes: a first acquisition module, a first judgment module and a first execution module;
[0037] The first acquisition module is configured to acquire device information sent by the Internet of Things information platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0038] The first determination module is configured to determine whether the IMEI code in the device information acquired by the first acquisition module is consistent with the IMEI code of the smart module currently to be bound;
[0039] The first execution module is configured to bind the SN code and IMEI code in the device information if the first judgment module determines that the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound, and send binding success information to the Internet of Things information platform so that the Internet of Things information platform can match the SN code and IMEI code; if the first judgment module determines that the IMEI code in the device information is inconsistent with the IMEI code of the smart module that currently needs to be bound, send binding failure information to the Internet of Things platform.
[0040] In a fifth aspect, an embodiment of the present invention provides a binding device for a smart module, which is applied to an Internet of Things information platform. The device includes: a second acquisition module, a second judgment module, and a second execution module;
[0041] The second acquisition module is configured to acquire device information sent by the cloud platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0042] The second determination module is configured to determine whether there is a smart module corresponding to the IMEI code in the device information acquired by the second acquisition module;
[0043] The second execution module is configured to, if the second judgment module determines that there is a smart module corresponding to the IMEI code in the device information, determine whether the IMEI code and the SN code in the device information have a matching relationship; if the IMEI code and the SN code in the device information have a matching relationship, return information of successful binding to the cloud platform; if the IMEI code and the SN code in the device information do not have a matching relationship, communicate with the smart module so that the binding operation is completed by the smart module; if the second judgment module determines that there is no smart module corresponding to the IMEI code in the device information, return information that the IMEI code does not exist to the cloud platform.
[0044] In a sixth aspect, an embodiment of the present invention provides a binding device for a smart module, which is applied to a cloud platform, and the device includes: a third acquisition module, a sending module, and a receiving module;
[0045] The third acquisition module is configured to acquire device information sent by the client; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0046] The sending module is configured to send the device information acquired by the third acquisition module to the Internet of Things information platform, so that the Internet of Things information platform completes the binding operation; and
[0047] The receiving module is configured to receive the binding information returned by the Internet of Things information platform.
[0048] It can be seen from the above technical solution that when the smart module performs a binding operation on the smart module, the SN code and IMEI code sent by the Internet of Things information platform can be obtained first. Then it is determined whether the IMEI code is consistent with the IMEI code of the smart module that currently needs to be bound. If they are consistent, the SN code and IMEI code in the device information can be bound, and the information of successful binding can be sent to the Internet of Things information platform so that the SN code and IMEI code can be matched by the Internet of Things information platform. It can be seen that since the SN code is unique to a smart device and the IMEI code displacement corresponds to the smart module, this solution can match the consistency of the data. Moreover, this solution does not require specific burning software, burning machines, etc., and only requires the smart module to be in a powered-on state to achieve the binding of the smart module. The operation is simple and can greatly improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 is a flow chart of a smart module binding method applied to a smart module provided by an embodiment of the present invention;
[0051] Figure 2 It is a flow chart of a method for binding a smart module applied to an Internet of Things information platform provided by an embodiment of the present invention;
[0052] Figure 3 is a flow chart of a method for binding a smart module applied to a cloud platform provided by an embodiment of the present invention;
[0053] Figure 4 It is a structural diagram of a binding device for a smart module provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all 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.
[0055] At present, with the development of the Internet of Things, the use of smart devices is increasing. Smart home is one of the areas that is widely favored. On the one hand, the Internet of Things technology, which is the basis of smart home, is gradually maturing, especially the maturity of the Internet of Things platform is increasing. On the other hand, the market potential of smart home is relatively large. Under the background of consumption upgrading, smart home will gradually enter more families in the future. However, market opportunities and the maturity of technology applications are often contradictory. After the installation of the smart system, users will gradually give feedback on some usage opinions after long-term use. In addition, after long-term use, some hidden problems of the smart module may also be exposed. At this time, the software or smart module needs to be replaced and upgraded.
[0056] At present, the cloud control of smart air conditioners mainly uses smart communication modules installed on air conditioners. One smart communication module has a unique IMEI number corresponding to one air conditioner. The IMEI number of the smart communication module is bound to the unique identification SN of the device. The cloud controls the status of the device by controlling the smart communication module. Each device will be burned with the unique identification SN of the smart communication module and the air conditioner before leaving the factory. Once the smart communication module fails during use or the communication module is upgraded, the communication module needs to be returned to the factory. After getting a new communication smart module, go to the site to re-burn and bind the IMEI number of the replaced module with the device SN. For traditional fixed-point burning, special staff are required to go to the site to open the corresponding module, or return the air conditioner to the factory and use a burner for burning. In the process of returning the smart module to the factory to burn the device information, users can only use traditional methods to control the device. This method is not only time-consuming and labor-intensive, but also affects the user's use, causing great inconvenience to the user.
[0057] Based on this, this solution considers obtaining the unique identification SN code of the smart device to be controlled and the unique identification IMEI code of the smart module from the IoT information platform, and judging whether it is the smart module to be bound according to the IMEI code, and then realizing the binding of the smart module and the smart device by binding the SN code and the IMEI code. In this way, this solution does not require specific burning software, burning machines, etc., and only requires the smart module to be powered on to realize the binding of the smart module. The operation is simple and can greatly improve the user experience.
[0058] The following is a detailed description of a smart module binding method and device provided by the present invention.
[0059] like Figure 1 As shown, an embodiment of the present invention provides a method for binding a smart module, which is applied to the smart module and may include the following steps:
[0060] Step 101: Obtain device information sent by the Internet of Things information platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0061] Step 102: Determine whether the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound;
[0062] Step 103: If the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound, the SN code in the device information and the IMEI code are bound, and a successful binding message is sent to the IoT information platform so that the IoT information platform can match the SN code and the IMEI code;
[0063] Step 104: If the IMEI code in the device information is inconsistent with the IMEI code of the smart module that currently needs to be bound, a binding failure message is sent to the IoT platform.
[0064] In an embodiment of the present invention, when a smart module performs a binding operation on a smart module, the SN code and IMEI code sent by the Internet of Things information platform can be first obtained. Then it is determined whether the IMEI code is consistent with the IMEI code of the smart module that currently needs to be bound. If they are consistent, the SN code and IMEI code in the device information can be bound, and a successful binding message can be sent to the Internet of Things information platform so that the Internet of Things information platform can match the SN code and the IMEI code. It can be seen that since the SN code is unique to a smart device and the IMEI code displacement corresponds to the smart module, this solution can match the consistency of the data. Moreover, this solution does not require specific burning software, burning machines, etc., and only requires the smart module to be in a powered-on state to achieve the binding of the smart module. The operation is simple and can greatly improve the user experience.
[0065] In a possible implementation, before binding the SN code and IMEI code in the device information in step 103, it is also possible to determine whether the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information by calling the product test interface inside the smart module. If the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information, the other IMEI codes bound to the SN code in the device information are unbound. In this way, if the smart module is replaced, the new smart module IMEI code can be bound to the smart device SN code after unbinding online, ensuring that one smart device corresponds to only one smart module in the communication, thereby ensuring data consistency. This process can be performed multiple times, and as long as the smart module needs to be replaced in actual operation, remote replacement of binding can be achieved.
[0066] like Figure 2 As shown, an embodiment of the present invention provides a method for binding a smart module, which is applied to an Internet of Things information platform and may include the following steps:
[0067] Step 201: Obtain device information sent by the cloud platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0068] Step 202: Determine whether there is a smart module corresponding to the IMEI code in the device information;
[0069] If there is a smart module corresponding to the IMEI code in the device information, execute steps 203-205, otherwise execute step 206;
[0070] Step 203: Determine whether the IMEI code and the SN code in the device information have a matching relationship;
[0071] Step 204: If yes, return the binding success information to the cloud platform;
[0072] If not, in step 205, communicate with the smart module so that the smart module completes the binding operation;
[0073] Step 206: If the smart module corresponding to the IMEI code in the device information does not exist, a message indicating that the IMEI code does not exist is returned to the cloud platform.
[0074] In this embodiment, when the Internet of Things information platform performs the binding operation of the smart module, it first obtains the device information including the SN code and the IMEI code sent by the cloud platform, and then determines whether the smart module corresponding to the IMEI code in the device information is filed in the Internet of Things information platform. If not, the information that the IMEI code does not exist is returned to the cloud platform. If it exists, it can be further determined whether the IMEI code and the SN code in the device information have a matching relationship. If there is a matching relationship, the information of successful binding can be returned to the cloud platform. If there is no matching relationship, the smart module is communicated with to complete the binding operation by the smart module. It can be seen that this scheme is to transmit data between the Internet of Things information platform, the cloud platform and the smart module by remotely burning the SN code and IMEI code of the device, so that each module can perform information identification to perform operations such as device binding. In this way, the matching of smart devices and smart modules is more flexible and convenient, not limited by various machines and environments, and binding freedom is achieved.
[0075] Of course, in a possible implementation method, the IMEI code of at least one smart module can be registered in the Internet of Things information platform before step 202. In this way, when step 202 determines whether there is a smart module corresponding to the IMEI code in the device information, it can be determined whether the IMEI code in the device information is included in the IMEI code that has been registered in the Internet of Things platform, thereby ensuring the accuracy of the binding information and further ensuring the accuracy of the binding operation.
[0076] In addition, in order to make the transmission of information more secure, in a possible implementation, the cloud platform can encrypt the device information and send it to the IoT information platform. In this way, when obtaining the device information sent by the cloud platform, step 201 can first receive the encrypted device information sent by the cloud platform, and then decrypt the encrypted device information according to the encryption protocol to obtain the device information, which can greatly improve the security of information transmission.
[0077] It is easy to understand that the cloud platform and the IoT information platform are pre-configured with encryption and decryption protocols. For example, the cloud platform can encrypt device information using the MD5 encryption algorithm, and the IoT information platform can decrypt the encrypted device information using the encryption and decryption protocol of the MD5 encryption algorithm. For another example, encryption can also be performed using the Advanced Encryption Standard AES encryption method.
[0078] like Figure 3 As shown, an embodiment of the present invention provides a method for binding a smart module, which is applied to a cloud platform. The method may include the following steps:
[0079] Step 301: Obtain device information sent by the client; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0080] Step 302: sending the device information to the Internet of Things information platform so that the Internet of Things information platform completes the binding operation; and,
[0081] Step 303: Receive the binding information returned by the Internet of Things information platform.
[0082] In an embodiment of the present invention, when the cloud platform performs the binding operation of the smart module, it can first obtain the device information sent by the client, and then send the device information to the Internet of Things information platform, and the Noon Internet Information Platform completes the binding operation. Of course, the cloud platform can receive the binding information returned by the Internet of Things information platform, such as binding success, binding failure and other information. It can be seen that this solution ensures that the smart device can accurately complete the binding with the smart module by performing operations such as transmission and authentication of device information between the cloud platform and the Internet of Things information platform, and does not require special staff to go to the site to open the corresponding smart module, or to return the entire smart device to the factory and use a burner to burn and bind, thereby bringing great convenience to users.
[0083] In a possible implementation, in order to ensure the security of information transmission and reduce the risk of privacy data leakage, when sending the device information to the IoT information platform in step 302, the device information may first be encrypted according to an encryption algorithm to obtain encrypted device information, and then the encrypted device information may be sent to the IoT information platform. For example, the device information may be encrypted using the MD5 encryption algorithm to improve the security of information transmission.
[0084] In a possible implementation, when the device information is encrypted according to the encryption algorithm to obtain the encrypted device information, the first key of the preset first encryption method can be determined according to the SN code in the device information, and then the SN code can be encrypted using the first encryption method based on the first key. In addition, the IMEI code in the device information can be encrypted using the preset second encryption method, and the information obtained by encrypting the SN code and the information obtained by encrypting the IMEI code can be determined as the encrypted device information. In this way, by encrypting the SN code and the IMEI code in the device information using different encryption methods, the risk of the encrypted device information being cracked can be further reduced, thereby further improving the security of the information.
[0085] For example, the first encryption method may be an encryption method of the Advanced Encryption Standard AES, and the second encryption method may be an encryption method such as DES or MD5.
[0086] The following describes the embodiment of the present invention by taking the client, cloud platform, IoT information platform and smart module as a whole, which can be implemented through the following process:
[0087] S1: After obtaining the smart module information, the IMEI code of the smart module is recorded in the data service of the IoT platform, and the module is powered on to maintain the communication status;
[0088] S2: After the smart module is powered on, enter the SN of the smart device and the IMEI code of the smart module on the client, and click Remote Flash Binding;
[0089] S3: The cloud platform will encrypt the device information according to the MD5 encryption algorithm and transmit the encrypted information to the IOT platform;
[0090] S4: After receiving the data, the IOT platform decrypts it according to the encryption and decryption protocol to obtain the IMEI code, checks whether the smart module exists, and verifies it. If the verification fails, it returns that the IMEI does not exist;
[0091] S5: Verify that the SN and IMEI code of the smart device have a matching relationship. If so, it will return to the cloud platform directly, and the binding and burning will be successful. If not, it will continue to communicate with the smart module;
[0092] It is easy to understand that when the SN and IMEI codes already match, this is usually the first time that the smart device and the smart module are bound. The smart device is equipped with a smart module before leaving the factory. At this time, the IMEI and SN have already been burned and bound, so there is no need to burn and bind again.
[0093] S6: The smart module receives the device information and also decrypts it to get the IMEI code and SN code, and checks whether it is the IMEI code of the current smart module. If not, the data fails and an error is returned;
[0094] S7: If the IMEI code matches, the product test interface inside the smart module is called to check whether this SN has been bound to other IMEIs. If it has been bound, unbind it. After unbinding, burn the device SN and this IMEI code and bind them. At this time, the binding information is returned;
[0095] S8: After the binding is completed, the smart module will actively report a binding completion message. After receiving the information, the IOT platform will match the SN with the IMEI number;
[0096] S9: When the cloud platform performs remote burning of the device again, it returns the message of successful burning. At this point, the smart communication module is successfully bound to the device.
[0097] It can be seen from the above technical solution that this solution can have at least the following beneficial effects:
[0098] First, the smart module and the cloud platform are independent and not restricted by the site. Through the joint linkage and mutual verification of the smart module, the cloud platform and the IOT platform, the safety and reliability of remote burning are improved, and the replaced smart module can be re-burned and bound remotely.
[0099] Second, the smart module IMEI code and the smart device SN code can be bound online. If the smart module is replaced, the new module IMEI can be unbound online and then bound to the device SN to ensure that one device corresponds to only one smart module in the communication, thereby ensuring data consistency. This process can be performed multiple times. As long as the smart module needs to be replaced in actual operation, remote replacement and binding can be achieved.
[0100] Third, the data transmitted during burning is encrypted using the MD5 encryption algorithm, and the smart module verifies the data according to the encryption and decryption protocol to ensure data security.
[0101] Fourth, maintenance is simple. No specific burning software or burning machine is required, and all operations are completed on the platform. The IMEI code of the smart module only needs to be filed on the IOT platform. During operation, the smart module is in the powered-on state.
[0102] like Figure 4 As shown, the embodiment of the present invention further provides a smart module binding device, which is applied to the smart module; the device includes: a first acquisition module 401, a first judgment module 402 and a first execution module 403;
[0103] The first acquisition module 401 is configured to acquire device information sent by the Internet of Things information platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0104] The first determination module 402 is configured to determine whether the IMEI code in the device information obtained by the first acquisition module 401 is consistent with the IMEI code of the smart module currently to be bound;
[0105] The first execution module 403 is configured to bind the SN code and IMEI code in the device information if the first judgment module 402 determines that the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound, and send a successful binding message to the Internet of Things information platform so that the Internet of Things information platform can match the SN code and the IMEI code; if the first judgment module 402 determines that the IMEI code in the device information is inconsistent with the IMEI code of the smart module that currently needs to be bound, send a binding failure message to the Internet of Things platform.
[0106] In a possible implementation, an unbinding module may be further included: before binding the SN code and the IMEI code in the device information, the unbinding module is configured to perform the following operations:
[0107] By calling the product test interface inside the smart module, determine whether the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information;
[0108] If the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information, then the other IMEI codes bound to the SN code in the device information will be unbound.
[0109] The embodiment of the present invention further provides a binding device for a smart module, which is applied to an Internet of Things information platform. The device includes: a second acquisition module, a second judgment module, and a second execution module;
[0110] The second acquisition module is configured to acquire device information sent by the cloud platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0111] A second determination module is configured to determine whether there is a smart module corresponding to the IMEI code in the device information acquired by the second acquisition module;
[0112] The second execution module is configured to, if the second judgment module determines that there is a smart module corresponding to the IMEI code in the device information, determine whether the IMEI code and the SN code in the device information have a matching relationship; if the IMEI code and the SN code in the device information have a matching relationship, return information of successful binding to the cloud platform; if the IMEI code and the SN code in the device information do not have a matching relationship, communicate with the smart module so that the smart module completes the binding operation; if the second judgment module determines that there is no smart module corresponding to the IMEI code in the device information, return information that the IMEI code does not exist to the cloud platform.
[0113] In a possible implementation, when the second acquisition module acquires the device information sent by the cloud platform, it is configured to perform the following operations:
[0114] Receive encrypted device information sent by the cloud platform;
[0115] The encrypted device information is decrypted according to the encryption and decryption protocol to obtain the device information.
[0116] The embodiment of the present invention further provides a binding device for a smart module, which is applied to a cloud platform, and the device includes: a third acquisition module, a sending module and a receiving module;
[0117] The third acquisition module is configured to acquire device information sent by the client; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code;
[0118] a sending module, configured to send the device information acquired by the third acquisition module to the Internet of Things information platform, so that the Internet of Things information platform completes the binding operation; and
[0119] The receiving module is configured to receive the binding information returned by the Internet of Things information platform.
[0120] In a possible implementation, when the sending module sends the device information to the Internet of Things information platform, it is configured to perform the following operations:
[0121] Encrypt the device information according to an encryption algorithm to obtain encrypted device information;
[0122] Send encrypted device information to the IoT information platform.
[0123] In a possible implementation, when the sending module encrypts the device information according to the encryption algorithm to obtain the encrypted device information, it is configured to perform the following operations:
[0124] Determine, according to the SN code in the device information, a first key of a preset first encryption method;
[0125] Based on the first key, encrypting the SN code using a first encryption method; and,
[0126] Encrypting the IMEI code in the device information using a preset second encryption method;
[0127] The information obtained by encrypting the SN code and the information obtained by encrypting the IMEI code are determined as the encrypted device information.
[0128] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the binding device of the smart module. In other embodiments of the present invention, the binding device of the smart module may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0129] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.
[0130] An embodiment of the present invention further provides a computing device, comprising: at least one memory and at least one processor;
[0131] at least one memory for storing a machine-readable program;
[0132] At least one processor is used to call a machine-readable program to execute the smart module binding method in any embodiment of the present invention.
[0133] The embodiment of the present invention also provides a computer-readable medium storing instructions for causing a computer to execute the method for binding a smart module as described herein. Specifically, a method or device equipped with a storage medium may be provided, on which a software program code for implementing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the method or device reads and executes the program code stored in the storage medium.
[0134] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0135] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0136] In addition, it should be clear that the functions of any of the above embodiments can be realized not only by executing the program code read by the computer, but also by completing part or all of the actual operations by operating methods operated on the computer based on the instructions of the program code.
[0137] The above describes specific embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0138] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for binding a smart module, characterized in that: Applied to the smart module, the method includes: Obtain device information sent by the Internet of Things information platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code; Determine whether the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound; If the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound, the SN code and the IMEI code in the device information are bound, and a successful binding message is sent to the IoT information platform so that the IoT information platform can match the SN code and the IMEI code; If the IMEI code in the device information is inconsistent with the IMEI code of the smart module that currently needs to be bound, a binding failure message is sent to the Internet of Things information platform.
2. The method according to claim 1, characterized in that Before binding the SN code and the IMEI code in the device information, further comprising: By calling the product test interface inside the smart module, it is determined whether the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information; If the SN code in the device information has been bound to other IMEI codes except the IMEI code in the device information, the other IMEI codes bound to the SN code in the device information are unbound.
3. A method for binding a smart module, characterized in that: Applied to the Internet of Things information platform, the method includes: Obtain device information sent by the cloud platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code; Determine whether there is a smart module corresponding to the IMEI code in the device information; If there is a smart module corresponding to the IMEI code in the device information, determining whether the IMEI code and the SN code in the device information have a matching relationship; If the IMEI code and the SN code in the device information have a matching relationship, a successful binding message is returned to the cloud platform; If the IMEI code and the SN code in the device information do not have a matching relationship, communicating with the smart module so that the smart module completes the binding operation; If the smart module corresponding to the IMEI code in the device information does not exist, information indicating that the IMEI code does not exist is returned to the cloud platform.
4. The method according to claim 3, characterized in that The obtaining of device information sent by the cloud platform includes: Receiving encrypted device information sent by the cloud platform; The encrypted device information is decrypted according to the encryption and decryption protocol to obtain the device information.
5. A method for binding a smart module, characterized in that: Applied to a cloud platform, the method includes: Obtain device information sent by the client; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code; Sending the device information to the Internet of Things information platform so that the Internet of Things information platform completes the binding operation; and, Receiving binding information returned by the Internet of Things information platform; Wherein, the Internet of Things information platform executes the binding method of the smart module as described in claim 3.
6. The method according to claim 5, characterized in that The sending of the device information to the Internet of Things information platform includes: Encrypting the device information according to an encryption algorithm to obtain encrypted device information; The encrypted device information is sent to the Internet of Things information platform.
7. The method according to claim 6, characterized in that The step of encrypting the device information according to an encryption algorithm to obtain encrypted device information includes: Determine, according to the SN code in the device information, a first key of a preset first encryption method; Based on the first key, encrypting the SN code using a first encryption method; and, Encrypting the IMEI code in the device information using a preset second encryption method; The information obtained by encrypting the SN code and the information obtained by encrypting the IMEI code are determined as the encrypted device information.
8. A binding device for a smart module, characterized in that: Applied to the smart module; the device comprises: a first acquisition module, a first judgment module and a first execution module; The first acquisition module is configured to acquire device information sent by the Internet of Things information platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code; The first determination module is configured to determine whether the IMEI code in the device information acquired by the first acquisition module is consistent with the IMEI code of the smart module that currently needs to be bound; The first execution module is configured to bind the SN code and IMEI code in the device information if the first judgment module determines that the IMEI code in the device information is consistent with the IMEI code of the smart module that currently needs to be bound, and send binding success information to the Internet of Things information platform so that the Internet of Things information platform can match the SN code and IMEI code; if the first judgment module determines that the IMEI code in the device information is inconsistent with the IMEI code of the smart module that currently needs to be bound, send binding failure information to the Internet of Things information platform.
9. A binding device for a smart module, characterized in that: Applied to the Internet of Things information platform, the device includes: a second acquisition module, a second judgment module and a second execution module; The second acquisition module is configured to acquire device information sent by the cloud platform; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code; The second determination module is configured to determine whether there is a smart module corresponding to the IMEI code in the device information acquired by the second acquisition module; The second execution module is configured to, if the second judgment module determines that there is a smart module corresponding to the IMEI code in the device information, determine whether the IMEI code and the SN code in the device information have a matching relationship; if the IMEI code and the SN code in the device information have a matching relationship, return information of successful binding to the cloud platform; if the IMEI code and the SN code in the device information do not have a matching relationship, communicate with the smart module so that the binding operation is completed by the smart module; if the second judgment module determines that there is no smart module corresponding to the IMEI code in the device information, return information that the IMEI code does not exist to the cloud platform.
10. A binding device for a smart module, characterized in that: Applied to a cloud platform, the device comprises: a third acquisition module, a sending module and a receiving module; The third acquisition module is configured to acquire device information sent by the client; wherein the device information includes: SN code and IMEI code; each smart device to be controlled has a unique SN code, and each smart module has a unique IMEI code; The sending module is configured to send the device information acquired by the third acquisition module to the Internet of Things information platform, so that the Internet of Things information platform completes the binding operation; and The receiving module is configured to receive the binding information returned by the Internet of Things information platform; Wherein, the Internet of Things information platform includes the binding device of the smart module as described in claim 9.
Citation Information
Patent Citations
Method for realizing remote burning through networking
CN110109683A
Communication module upgrading method, device and system based on soft card and storage medium
CN111651183A
Encrypted communication system and method for Internet of Things
CN112423276A
Machine card binding method, computer storage medium and electronic equipment
CN112714433A
IMEI binding and dynamic IMEI provisioning for wireless devices
US20220022014A1
