A smart device authorization system, method, device, equipment and medium

Through the smart device authorization system, the matching and certificate generation mechanism of the authorization device and server are used to automatically process the authorization of smart devices, solving complex and time-consuming problems in the existing technology, and improving production efficiency and equipment quality supervision.

CN111859359BInactive Publication Date: 2024-10-11QINGDAO HISENSE SMART LIFE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010499109.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-04
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing smart device management and control methods are complex and time-consuming, resulting in reduced production efficiency. In particular, online management and control requires manual entry of identification codes, which can easily lead to delays or misidentification, affecting production.

Method used

An intelligent device authorization system is provided. The authorization device sends a request to the server by obtaining the device model. The server matches and generates an authorization certificate. The authorization device writes the certificate into the device to realize an automated intelligent device authorization process.

Benefits of technology

It simplifies the authorization process of smart devices, reduces manual intervention, improves production efficiency, and ensures regular production and quality supervision of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111859359B_ABST
    Figure CN111859359B_ABST
Patent Text Reader

Abstract

The present application discloses a smart device authorization system, method, device, equipment and medium to solve the problems of the existing smart device control implementation scheme being complicated, time-consuming and reducing the production efficiency of smart devices. The staff only needs to enter the device model and the corresponding authorization quantity of the smart device in the order corresponding to each authorization device in the server in advance. After the server receives the authorization request sent by the authorization device, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device. When the number of authorization requests carrying the device model sent by the authorization device is not greater than the authorization quantity corresponding to the matched device model, an authorization certificate is generated and written into the smart device through the authorization device, thereby realizing the control of the smart device and improving the production efficiency of the smart device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things and smart home technologies, and in particular to a smart device authorization system, method, apparatus, device and medium. Background Art

[0002] With the development of science and technology, smart home systems have made great progress, and various lightweight smart devices have emerged, such as smart door locks, smart switches, smart speakers, etc., which are applied to more and more scenarios. At the same time, with the refinement of industrial division of labor, it is becoming more and more common for companies without production capacity to design smart devices and entrust manufacturers to produce smart devices.

[0003] When companies entrust manufacturers to produce smart devices, they need to provide all the manufacturing information of the smart devices, such as the programs and motherboards of the smart devices. It is easy for the programs of the smart devices to be leaked or the data to be leaked, resulting in the smart devices being counterfeited and sold. In order to protect their own rights and interests, companies need to control smart devices. Based on this, how to control smart devices has become a problem that companies have paid more attention to in recent years.

[0004] At present, enterprises' control over smart devices includes offline control methods and online control methods. Specifically, the offline control method provides enterprises with specific burning tools to manufacturers to limit the number of times the program of the smart device is burned, or divides the program burning and device assembly into multiple manufacturers for production to avoid the concentration of production materials of smart devices in one manufacturer. However, the above-mentioned offline control method has a relatively complicated operation process, which reduces the production efficiency of smart devices. For example, when program burning and device assembly are divided into multiple manufacturers for production, smart devices are constantly transported to other manufacturers for production, or the burning tools need to be specially customized, and it is easy to fail to recycle the burning tools.

[0005] The online control method is that the enterprise obtains the identification codes of the smart devices to be produced in this batch in advance, and the staff enters each identification code into the database of the enterprise server. After the production of the smart device is completed, the manufacturer connects the smart device to the enterprise server through the authorization device. The authorization device obtains the identification code of the smart device and requests the server authorization through the identification code. After the server receives the identification code, it matches it with any pre-saved identification code. After the match is successful, the authorization code will be sent to the smart device through the authorization device, thereby completing the remote authorization of the smart device. Since this online control method requires the enterprise to obtain the identification codes of the smart devices to be produced in this batch in advance, and manually enter each identification code into the database of the enterprise server, it is time-consuming and labor-intensive. If the staff fails to enter the identification code of the smart device in time, it will directly affect the production of the smart device, making it impossible for the smart device to be authorized in time, or it will be mistakenly identified as an unqualified smart device, reducing the production efficiency of the smart device. Summary of the invention

[0006] The present application provides a smart device authorization system, method, apparatus, device and medium to solve the problem that the existing smart device management and control implementation scheme has a complex implementation process, a long time consumption and a reduced production efficiency of smart devices.

[0007] In a first aspect, the present application provides a smart device authorization system, the system comprising: an authorization device and a server;

[0008] The authorization device is used to obtain the device model of the smart device connected to the authorization device, and send an authorization request carrying the device model to the server; and is used to receive the authorization certificate sent by the server, and write the authorization certificate into the smart device;

[0009] The server is used to receive the authorization request sent by the authorization device, and when the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determine whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matching order; if not, generate an authorization certificate and send the authorization certificate to the authorization device.

[0010] In a second aspect, the present application further provides a smart device authorization method, which is applied to a server and includes:

[0011] Receiving an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device;

[0012] When the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determining whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order;

[0013] If not, an authorization certificate is generated, and the authorization certificate is sent to the authorization device, so that the authorization device writes the authorization certificate into the smart device.

[0014] In a third aspect, the present application also provides a smart device authorization method, the method comprising:

[0015] Obtaining a device model of a smart device connected to the authorization device, and sending an authorization request carrying the device model to a server;

[0016] If the authorization certificate sent by the server is received, the authorization certificate is written into the smart device.

[0017] In a fourth aspect, the present application further provides a server, the server comprising:

[0018] A receiving unit, configured to receive an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device;

[0019] a judgment unit, configured to judge, when the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order;

[0020] A processing unit is used to generate an authorization certificate if the number of authorization requests carrying the device model sent by the authorization device is not greater than the number of authorizations corresponding to the device model in the matching order, and send the authorization certificate to the authorization device, so that the authorization device writes the authorization certificate into the smart device.

[0021] In a fifth aspect, the present application further provides a smart device authorization device, the device comprising:

[0022] A processing unit, configured to obtain a device model of a smart device connected to the authorization device, and send an authorization request carrying the device model to a server;

[0023] The receiving unit is configured to write the authorization certificate into the smart device if the authorization certificate sent by the server is received.

[0024] In a sixth aspect, the present application also provides an electronic device, comprising at least a processor and a memory, wherein the processor is used to implement the steps of the smart device authorization method as applied to the server as described above when executing a computer program stored in the memory, and implement the steps of the smart device authorization method as applied to the authorization device as described above.

[0025] In the seventh aspect, the present application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the smart device authorization method as applied to the server as described above, and implements the steps of the smart device authorization method as applied to the authorization device as described above.

[0026] Since in this application the staff only needs to enter the device model and its corresponding authorization quantity of the smart device in the order corresponding to each authorization device in the server in advance, after the server receives the authorization request sent by the authorization device, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device, and only when the number of authorization requests carrying the device model sent by the authorization device is not greater than the authorization quantity corresponding to the matched device model, an authorization certificate is generated and written into the smart device through the authorization device, thereby realizing the management and control of the smart device and improving the production efficiency of the smart device. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0028] Figure 1 A schematic diagram of the structure of a smart device authorization system provided for some embodiments of the present application;

[0029] Figure 2 A schematic diagram of the execution process of a specific smart device authorization system provided in some embodiments of the present application;

[0030] Figure 3 A schematic diagram of the execution process of a specific smart device authorization system provided in some embodiments of the present application;

[0031] Figure 4 A schematic diagram of the execution process of a specific smart device authorization system provided in some embodiments of the present application;

[0032] Figure 5 A schematic diagram of a smart device authorization process provided for some embodiments of the present application;

[0033] Figure 6 A schematic diagram of a smart device authorization process provided for some embodiments of the present application;

[0034] Figure 7 A schematic diagram of the structure of a server provided in some embodiments of the present application;

[0035] Figure 8 A schematic diagram of the structure of a smart device authorization device provided in some embodiments of the present application;

[0036] Fig. 9 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application;

[0037] Fig.10 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION

[0038] In order to improve the production efficiency of smart devices, the present application provides a smart device authorization system, method, apparatus, device and medium.

[0039] In order to make the purpose, technical solutions and advantages of this application clearer, this application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0040] In the smart home application scenario, there is generally at least one smart home terminal device (hereinafter referred to as "smart device", such as smart door locks, smart switches, etc.) that can be used as a single product or connected to a smart home system. Smart devices are limited by factors such as size and function. Most smart devices have the ability to form a local area network, but do not have the ability to directly connect to a server. Therefore, in the production process of smart devices, it is necessary to send the information of the smart device to the server through an authorization device, so that the server can authorize the smart device.

[0041] Figure 1 A schematic diagram of a smart device authorization system structure provided in some embodiments of the present application, the system comprising: an authorization device 11, a server 12 and a smart device;

[0042] The authorization device 11 is used to obtain the device model of the smart device connected to the authorization device 11, and send an authorization request carrying the device model to the server 12; and to receive the authorization certificate sent by the server 12, and write the authorization certificate into the smart device;

[0043] The server 12 is used to receive the authorization request sent by the authorization device 11. When the device model successfully matches the device model in the pre-saved order corresponding to the authorization device 11, it is determined whether the number of authorization requests carrying the device model that has been sent by the authorization device 11 is greater than the number of authorizations corresponding to the device model in the matched order. If not, an authorization certificate is generated and sent to the authorization device 11.

[0044] In the present application, the smart device authorization system includes: an authorization device 11, a server 12, and a smart device, and the authorization device 11 and the server 12 can exchange information and transmit data. The authorization device 11 is mainly used to obtain the device model of the smart device currently connected to it, and send an authorization request carrying the device model to the server 12. Based on the device model carried in the authorization request, the server 12 performs corresponding processing, thereby realizing the server 12's authorization of the smart device.

[0045] Among them, the authorization device 11 is connected to the smart device through a wired serial port. The device model of the smart device connected to it obtained by the authorization device 11 can be the device model output by the smart device connected to it and received by the authorization device 11 through the wired serial port, or it can be the device model of the smart device connected to it read by the authorization device 11 through the wired serial port.

[0046] Although there may be multiple manufacturers producing smart devices of the same device model, the IP addresses of the authorization devices 11 of the manufacturers are generally different and generally do not change much. The server 12 can distinguish different manufacturers based on the IP address of the authorization device 11. For example, the manufacturer corresponding to the IP address of the authorization device 11 is 192.168.9.75, and the manufacturer corresponding to the IP address of the authorization device 11 is 192.168.8.55. Z. At the same time, in order to facilitate the subsequent management and control of smart devices, in this application, the staff pre-entered the device model in the order corresponding to each authorization device 11 in the server 12. After the server 12 receives the authorization request sent by the authorization device 11, it parses the authorization request, obtains the device model carried in the authorization request, and the device model in the pre-saved order corresponding to the authorization device 11. Match the device model carried in the authorization request with the device model in the pre-saved order corresponding to the authorization device 11.

[0047] Specifically, if the device model carried in the authorization request successfully matches the device model in the pre-saved order corresponding to the authorization device 11, it means that the smart device is a smart device produced by the manufacturer corresponding to the authorization device 11, and the server 12 needs to perform subsequent processing on the smart device to implement smart device authorization. If the device model carried in the authorization request fails to match the device model in the pre-saved order corresponding to the authorization device 11, it means that the smart device is not a smart device produced by the manufacturer corresponding to the authorization device 11, and the server 12 can directly refuse to respond to the authorization request.

[0048] For example, the device model x carried in the authorization request sent by an authorization device 11A, and the device models in orders 1, 2, and 3 corresponding to the authorization device 11A pre-saved in the server 12 are a, m, x, and y respectively. It is determined that the device model x carried in the authorization request successfully matches the device model x in orders 1, 2, and 3 pre-saved corresponding to the authorization device 11A, indicating that the smart device is a smart device produced by the manufacturer corresponding to the authorization device 11. The server 12 is required to perform subsequent processing on the smart device to achieve smart device authorization.

[0049] Still taking the above example, the device model carried in the authorization request sent by an authorization device 11A is n, and the device models in the pre-saved orders 1, 2, and 3 corresponding to the authorization device 11A are a, m, x, and y, respectively, which all fail to match successfully, indicating that the smart device is not a smart device produced by the manufacturer corresponding to the authorization device 11, and the server 12 can directly refuse to respond to the authorization request.

[0050] Among them, in order to facilitate the manufacturer to obtain feedback information in a timely manner, when the server 12 determines that the device model carried in the authorization request and the device model in the order corresponding to the pre-saved authorization device 11 are not matched successfully, it can also return a prompt message of a model error to the authorization device 11 to control the authorization device 11 to output the prompt message. There are many ways for the authorization device 11 to output the prompt message, such as the authorization device 11 beeping, the display screen of the authorization device 11 flashing a red light, etc., which can be flexibly set according to actual requirements and are not limited here.

[0051] In order to effectively prevent smart devices from being copied, in this application, the authorization quantity corresponding to each device model in the order corresponding to each authorization device 11 is pre-entered, for example, 1000 units, 1500 units, etc. When the server 12 determines based on the above embodiment that the device model carried in the authorization request successfully matches the device model in the pre-saved order corresponding to the authorization device 11, the authorization quantity corresponding to the device model in the matched order is obtained, and it is determined whether the number of authorization requests carrying the device model sent by the authorization device 11 is greater than the authorization quantity corresponding to the device model in the matched order.

[0052] Specifically, if the number of authorization requests carrying the device model sent by the authorization device 11 is greater than the number of authorizations corresponding to the device model in the matching order, it means that the manufacturer has already produced the number of smart devices that meet the requirements of the order, and the smart device is likely to be a counterfeit smart device by the manufacturer, then the server 12 refuses to respond to the authorization request.

[0053] For example, if the number of authorization requests carrying the device model x sent by the authorization device 11 is 1500, which is greater than the authorization quantity 1500 corresponding to the device model x in the matching order, it means that the manufacturer has already produced the number of smart devices that meet the requirements of the order, and the smart device is likely to be a counterfeit smart device by the manufacturer, then the server 12 refuses to respond to the authorization request.

[0054] If the number of authorization requests carrying the device model that the authorization device 11 has sent is not greater than the authorization quantity corresponding to the device model in the matching order, it means that the smart device is a smart device within the company's expected production quantity and is a formally produced smart device. The server 12 generates an authorization certificate and sends the authorization certificate to the authorization device 11, so that the authorization device 11 can authorize the smart device connected to it.

[0055] Still taking the above example, if the number of authorization requests carrying the device model x sent by the authorization device 11 is 1300, which is greater than the authorization quantity 1500 corresponding to the device model x in the matching order, it means that the smart device is a smart device in the company's expected production quantity and is a formally produced smart device. Then, the server 12 generates an authorization certificate and sends the authorization certificate to the authorization device 11, so as to authorize the smart device connected to it through the authorization device 11.

[0056] The authorization certificate can be generated directly according to the current time information of the production authorization certificate and the preset encryption algorithm, or according to the information of the authorization device 11, the time of sending the authorization request and the preset encryption algorithm. Specifically, the method of generating the authorization certificate can be flexibly set according to actual needs, which will not be repeated here.

[0057] Based on the above embodiment, after the authorization device 11 receives the authorization certificate sent by the server 12, it writes the authorization certificate into the smart device connected thereto.

[0058] Since in this application the staff only needs to enter the device model and the corresponding authorization quantity of the smart device in the order corresponding to each authorization device 11 in the server 12 in advance, after the server 12 receives the authorization request sent by the authorization device 11, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device 11, and only when the number of authorization requests carrying the device model sent by the authorization device 11 is not greater than the authorization quantity corresponding to the matched device model, will an authorization certificate be generated and written into the smart device through the authorization device 11, thereby realizing the management and control of the smart device and improving the production efficiency of the smart device.

[0059] In actual application scenarios, the production quality of smart devices also directly affects product reputation and user experience, and companies are more required to have remote supervision and control measures to supervise and control the quality of smart devices produced by manufacturers. Therefore, in order to supervise the production quality of smart devices, in this application, a functional test program for the smart device is pre-saved in the authorization device 11. When the manufacturer connects the smart device to the authorization device 11 through a wired serial port, the functional test program saved in the authorization device 11 is started. The authorization device 11 performs a functional test on the smart device according to the preset functional test items and obtains the functional test results of the smart device.

[0060] In general, companies will only sell smart devices that have passed the functional test results of each function, and only smart devices that have passed the functional test results of each function can have authorization certificates written. Therefore, in this application, after obtaining the functional test results of the smart device, if the authorization device 11 determines that the functional test results of each function are passed, it means that the smart device is a qualified product and can be sold to the outside, then the device model of the smart device is obtained, and an authorization request carrying the device model is sent to the server 12. If it is determined that the functional test result of any function is not passed, it means that the smart device is an unqualified product and cannot be sold to the outside, and there is no need to write an authorization certificate for the smart device. In order to promptly notify the staff to re-inspect the smart device, an abnormal alarm can be issued.

[0061] The alarm method of the authorization device 11 is the same as the above-mentioned method of outputting prompt information, which will not be repeated here.

[0062] The following is a detailed description of the implementation process of the smart device authorization system provided by this application through specific embodiments:

[0063] Figure 2 A schematic diagram of the execution process of a specific smart device authorization system provided in some embodiments of the present application, the process includes:

[0064] S201: The authorization device performs a function test on the smart device connected to the authorization device, and obtains a function test result of each function.

[0065] S202: The authorization device determines whether the function test results of each function are all passed, if so, execute S203, otherwise, execute S209.

[0066] S203: The authorization device obtains the device model of the smart device, and sends an authorization request carrying the device model to the server.

[0067] S204: The server receives the authorization request sent by the authorization device, and parses the authorization request to obtain the device model carried in the authorization request.

[0068] S205: The server determines whether the device model successfully matches any device model in the pre-saved order corresponding to the authorization device. If so, execute S206; otherwise, execute S210.

[0069] S206: The server determines whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matching order. If so, execute S207; otherwise, execute S210.

[0070] S207: The server generates an authorization certificate, sends the authorization certificate to the authorization device, and updates the currently saved number of authorization requests carrying the device model that have been sent by the authorization device.

[0071] S208: The authorization device receives the authorization certificate sent by the server, and writes the authorization certificate into the smart device.

[0072] S209: The authorization device issues an abnormal alarm.

[0073] S210: The server refuses to respond.

[0074] In order to ensure the uniqueness of the authorization certificate of the smart device, based on the above embodiment, in this application, the authorization device 11 is specifically used to obtain the preset chip identification information of the smart device, and send an authorization request carrying the preset chip identification information and the device model to the server 12;

[0075] The server 12 is specifically configured to generate the authorization certificate according to the preset chip identification information, the current time information for generating the authorization certificate, and a preset encryption algorithm.

[0076] The authorization certificate in the smart device with the authorization certificate written in it may be stolen. In order to further ensure the security of authorization and prevent the smart device from being imitated, in this application, the server 12 can generate an authorization certificate based on the preset chip identification information of the smart device, thereby ensuring the uniqueness of the authorization certificate of the smart device.

[0077] During the specific implementation process, the authorization device 11 also obtains the preset chip identification information of the smart device, and sends an authorization request carrying the preset chip identification information and the device model to the server 12. After receiving the authorization request, the server 12 parses the authorization request to obtain the device model and the preset chip identification information carried therein. When the server 12 determines that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device 11, and the number of authorization requests carrying the device model sent by the authorization device 11 is not greater than the number of authorizations corresponding to the device model in the matching order, an authorization certificate is generated based on the preset chip identification information, the current time information for generating the authorization certificate, and the preset encryption algorithm.

[0078] In addition, in the actual application process, in order to facilitate the enterprise to trace the smart device, the server 12 can save the above-mentioned information about the smart device after obtaining the authorization certificate, so that the enterprise can query the information of the smart device through the server 12 later. Since there is a lot of information in the smart device, if each information of the smart device is saved accordingly, a lot of storage space will be consumed. In general, when an enterprise queries the information of a smart device, it pays more attention to the preset chip identification information, device model and authorization certificate of the smart device. Therefore, in the present application, the server 12 is also used to save the preset chip identification information, the device model and the authorization certificate after obtaining the authorization certificate.

[0079] In another possible implementation, the core chip in the smart device may be replaced with a low-quality or other cheap chip, which may affect the quality of the smart device produced. Therefore, in order to further supervise the production quality of smart devices, in this application, the server 12 is also used to determine whether the preset chip identification information complies with the pre-saved preset coding rules after determining that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device 11. If yes, then determine whether the number of authorization requests carrying the device model sent by the authorization device 11 is greater than the number of authorizations corresponding to the device model in the matched order.

[0080] Generally speaking, the core chips used in smart devices of the same model have the same chip model, but the chip identification information of the core chips on different smart devices of the same model is different, and the length of the chip identification information of the core chip is generally within a certain range, and each character in the chip identification information represents a certain meaning. For example, in order from left to right, the 1st to 3rd characters in the chip identification information represent the brand, the 4th to 6th characters represent the chip model, and the 7th to 11th characters represent the chip number produced.

[0081] Therefore, in order to further supervise the production quality of smart devices, in this application, the core chip of each device model of the smart device can be used as a preset chip, and the staff pre-enters the preset coding rules of the chip identification information of the preset chip model used by each device model of the smart device, wherein the preset coding rules include the length of the chip identification information and the meaning represented by each character in the chip identification information. Based on the above embodiment, after the server 12 determines that the device model in the received authorization request matches the device model in the order corresponding to the pre-saved authorization device 11, it obtains the pre-saved preset coding rules corresponding to the chip model of the preset chip, and determines whether the preset chip identification information parsed from the authorization request meets the pre-saved preset coding rules.

[0082] Specifically, if the preset chip identification information conforms to the pre-saved preset coding rule, it means that the chip model installed on the smart device is likely to be a qualified chip. Then, it is determined whether the number of authorization requests carrying the device model that have been sent by the authorization device 11 is greater than the authorization quantity corresponding to the device model in the matching order.

[0083] For example, the length of the preset chip identification information TX234013 of a certain smart device is 8, and the length of the chip identification information of the preset chip in the preset coding rule of the preset chip is 8. From left to right, the first and second characters in the chip identification information represent the brand "TX", the third and fourth characters represent the chip model "23", and the fifth to eighth characters represent the number of chips produced. After it is determined that the device model A in the received authorization request successfully matches the device model A in the pre-saved order corresponding to the authorization device 11, the preset chip identification information TX234013 meets the pre-saved preset coding rule, indicating that the model of the chip installed on the smart device is likely to be a qualified chip, then it is determined whether the number of authorization requests carrying the device model A that the authorization device 11 has sent is greater than the number of authorizations corresponding to the device model in the matching order.

[0084] If the preset chip identification information does not conform to the pre-saved preset coding rule, it means that the model of the chip installed on the smart device is likely to be replaced with a chip of another model, and the smart device cannot be sold externally, then the server 12 refuses to respond to the authorization request sent by the authorization device 11.

[0085] Taking the above as an example, if the length of the preset chip identification information 0024013 of the smart device is 7, after determining that the device model A in the received authorization request successfully matches the device model A in the order corresponding to the pre-saved authorization device 11, the preset chip identification information 0024013 does not comply with the pre-saved preset coding rule, indicating that the model of the chip installed on the smart device is likely to be replaced with a chip of another model, and the smart device cannot be sold to the outside, then the server 12 refuses to respond to the authorization request sent by the authorization device 11.

[0086] The following is a detailed description of the implementation process of the smart device authorization system provided by this application through specific embodiments:

[0087] Figure 3 A schematic diagram of the execution process of a specific smart device authorization system provided in some embodiments of the present application, the process includes:

[0088] S301: The authorization device performs a function test on the smart device connected to the authorization device and obtains a function test result.

[0089] S302: The authorization device determines whether all the function test results are passed. If so, execute S303; otherwise, execute S310.

[0090] S303: The authorization device obtains the device model and preset chip identification information of the smart device, and sends an authorization request carrying the device model and preset chip identification information to the server.

[0091] S304: The server receives the authorization request sent by the authorization device, and parses the authorization request to obtain the device model and preset chip identification information carried in the authorization request.

[0092] S305: The server determines whether the device model successfully matches any device model in the pre-saved order corresponding to the authorization device. If so, execute S306; otherwise, execute S311.

[0093] S306: The server determines whether the preset chip identification information conforms to the pre-stored preset encoding rule, and if so, executes S307, otherwise, executes S311.

[0094] S307: The server determines whether the number of authorization requests carrying the device model sent by the authorization device is greater than the authorization quantity corresponding to the device model in the matching order. If so, execute S308; otherwise, execute S311.

[0095] S308: The server generates the authorization certificate according to the preset chip identification information, the current time information of generating the authorization certificate and the preset encryption algorithm, saves the preset chip identification information, the device model and the authorization certificate accordingly, and sends the authorization certificate to the authorization device.

[0096] S309: The authorization device receives the authorization certificate sent by the server, and writes the authorization certificate into the smart device.

[0097] S310: The authorization device issues an abnormal alarm.

[0098] S311: The server refuses to respond.

[0099] In order to further ensure the security of smart device authorization, based on the above embodiment, in this application, the authorization device 11 is also used to obtain the input manufacturer account and password information after receiving the account login request, and send the manufacturer account and password information to the server 12;

[0100] The server 12 is also used to receive the manufacturer account and the password information sent by the authorization device 11; when the manufacturer account information matches any pre-saved registered manufacturer account information, it is determined whether the password information matches the password information corresponding to the matching registered manufacturer account information. If they match, a notification message of verification success is sent to the authorization device 11; otherwise, a notification message of verification failure is sent to the authorization device 11.

[0101] In actual scenarios, if anyone can use the authorization device 11 to interact with the server 12 for information and transmit data, it is easy for illegal users to use the authorization device 11 to interact with the server 12 for information and transmit data, thereby failing to ensure the security of smart device authorization. Therefore, in this application, in order to further ensure the security of smart device management and control, when an enterprise cooperates with a manufacturer and entrusts the manufacturer to produce a production order for smart devices, the manufacturer can be issued its exclusive manufacturer account information. At the same time, the staff will also enter the issued manufacturer account information into the server 12 as the registered manufacturer account information. Through the authorization device 11, the manufacturer can set a password for its exclusive manufacturer account information to facilitate the manufacturer to log in to its own manufacturer account.

[0102] Specifically, the manufacturer can select the manufacturer account login icon on the display screen of the authorization device 11 by interactive operations such as clicking or long pressing, or can select the manufacturer account login by inputting voice information. When the authorization device 11 detects the above-mentioned account login trigger operation, that is, after receiving the account login request, the authorization device 11 detects the manufacturer account information and password information input on the interface displayed on the display screen, and sends the manufacturer account information and password information to the server 12.

[0103] After the server 12 receives the manufacturer account information and password information sent by the authorization device 11, it first matches the manufacturer account information with any pre-saved registered manufacturer account information. When it is determined that there is a registered manufacturer account information that matches the manufacturer account information, it means that the manufacturer corresponding to the manufacturer account information is a legal manufacturer, and then it is determined whether the password information corresponding to the manufacturer account information matches the password information corresponding to the matching registered manufacturer account information. If it matches, a notification message of verification success is sent to the authorization device 11, such as successful account login, correct account login, etc.; if the password information corresponding to the manufacturer account information does not match the password information corresponding to the matching registered manufacturer account information, a notification message of verification failure is sent to the authorization device 11, such as sorry, your account or password is wrong, login failed, etc.

[0104] In order to facilitate the manufacturer to view the order information, in the present application, the authorization device 11 is also used to obtain the input order number if a query instruction for order information is received, and send the order number to the server 12; and is also used to receive the order information sent by the server 12 and display it on the display screen of the authorization device 11;

[0105] The server 12 is also used to receive the order number sent by the authorization device 11; if the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information, the order information of the matching registered order number is sent to the authorization device 11.

[0106] In order to facilitate the manufacturer's subsequent query of order information, in this application, each time the enterprise entrusts a manufacturer with an order, the staff will save the order number in the order as the registered order number in advance in the server 12, and save the other order information in the order in correspondence with the registered order number in the server 12. For example, the manufacturer information of an order, the manufacturer account information, the equipment model in the order and its corresponding production quantity are saved in correspondence with the registered order number of the order in the server 12, so as to facilitate the subsequent manufacturer to query the order information through the authorization device 11 and the order number.

[0107] Based on the above embodiment, after the manufacturer receives the notification information of the authorization device 11 being verified by the server 12 through the correct manufacturer account information and its corresponding password information, the manufacturer can query the order information of each registered order number corresponding to the manufacturer account information through the authorization device 11, that is, query the order information of each registered order number of the matching registered manufacturer account information. In the specific implementation process, the manufacturer can select the query icon of the order information on the display screen of the authorization device 11 through interactive operations such as clicking or long pressing in the function interface corresponding to the account, or can choose to query the order information by inputting voice information. When the authorization device 11 detects the above-mentioned triggering operation of querying the order information, that is, after receiving the query instruction of the order information, it obtains the order number entered on the current page of the display screen, and sends the order number to the server 12 to query the order information.

[0108] When the server 12 receives the order number sent by the authorization device 11, it matches the order number with any registered order number of the pre-saved matching registered manufacturer account information. If there is a registered order number that matches the order number, it means that the order with the order number is an order signed between the manufacturer and the enterprise, and the manufacturer has the authority to view the order number. The server 12 then obtains the order information of the matching registered order number and sends the order information of the matching registered order number to the authorization device 11.

[0109] When the authorization device 11 receives the order information returned by the server 12 , the order information is displayed on the display screen of the authorization device 11 for the convenience of the manufacturer to view.

[0110] The order information returned by the server 12 includes at least the order number, manufacturer information, each device model and its corresponding production quantity, and the number of sent authorization certificates corresponding to each device model.

[0111] The manufacturer can learn detailed order information based on the order information displayed on the display screen of the authorization device 11, thereby adjusting the strategy for producing smart devices and improving the production efficiency of the smart devices.

[0112] The following is a detailed description of the implementation process of the smart device authorization system provided by this application through specific embodiments:

[0113] Figure 4 A schematic diagram of the execution process of a specific smart device authorization system provided in some embodiments of the present application, the process includes:

[0114] S401: After receiving the account login request, the authorization device obtains the input manufacturer account and password information, and sends the manufacturer account and password information to the server.

[0115] S402: The server receives the manufacturer account and password information sent by the authorization device, and determines whether the manufacturer account information matches any pre-stored registered manufacturer account information. If so, execute S403; otherwise, execute S405.

[0116] S403: The server determines whether the password information matches the password information corresponding to the matching registered manufacturer account information. If so, execute S404; otherwise, execute S405.

[0117] S404: The server sends a notification message indicating that the verification is successful to the authorization device, and then executes S406.

[0118] S405: The server sends a notification message of verification failure to the authorization device, and the authorization process ends.

[0119] S406: If the authorization device receives the query instruction of the order information, it obtains the input order number and sends the order number to the server.

[0120] S407: The server receives the order number sent by the authorization device, and determines whether the order number matches any registered order number of the pre-saved matching registered manufacturer account information successfully. If so, execute S408, otherwise, execute S419.

[0121] S408: The authorization device receives the order information sent by the server and displays it on a display screen of the authorization device.

[0122] S409: If the authorization device receives the authorization request for the smart device, it performs a function test on the smart device connected to the authorization device and obtains the function test result.

[0123] S410: The authorization device determines whether all the function test results are passed. If so, execute S411, otherwise, execute S418.

[0124] S411: The authorization device obtains the device model and preset chip identification information of the smart device, and sends an authorization request carrying the device model and preset chip identification information to the server.

[0125] S412: The server receives the authorization request sent by the authorization device, and parses the authorization request to obtain the device model and preset chip identification information carried in the authorization request.

[0126] S413: The server determines whether the device model successfully matches any device model in the pre-saved order corresponding to the authorization device. If so, execute S414; otherwise, execute S419.

[0127] S414: The server determines whether the preset chip identification information conforms to the pre-saved preset encoding rule, and if so, executes S415, otherwise, executes S419.

[0128] S415: The server determines whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matching order. If so, execute S416; otherwise, execute S419.

[0129] S416: The server generates the authorization certificate according to the preset chip identification information, the current time information of generating the authorization certificate and the preset encryption algorithm, saves the preset chip identification information, the device model and the authorization certificate accordingly, and sends the authorization certificate to the authorization device.

[0130] S417: The authorization device receives the authorization certificate sent by the server, and writes the authorization certificate into the smart device.

[0131] S418: The authorization device issues an abnormal alarm.

[0132] S419: The server refuses to respond.

[0133] The present application also provides an intelligent authorization method, which is applied to a server. Figure 5 A schematic diagram of a smart device authorization process provided in some embodiments of the present application, the process includes:

[0134] S501: Receive an authorization request sent by an authorization device, where the authorization request carries a device model of a smart device connected to the authorization device.

[0135] S502: When the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determine whether the number of authorization requests carrying the device model that the authorization device has sent is greater than the authorization quantity corresponding to the device model in the matching order.

[0136] S503: If not, generate an authorization certificate, and send the authorization certificate to the authorization device, so that the authorization device writes the authorization certificate into the smart device.

[0137] In some possible implementations, if the authorization request carries the device model and preset chip identification information of the smart device connected to the authorization device, generating the authorization certificate includes:

[0138] The authorization certificate is generated according to the preset chip identification information, the current time information for generating the authorization certificate, and the preset encryption algorithm.

[0139] In some possible implementations, after determining that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, before determining whether the number of authorization requests carrying the device model that has been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order, the method further includes:

[0140] Determining whether the preset chip identification information complies with a pre-stored preset coding rule;

[0141] If they are equal, it is determined whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the authorization quantity corresponding to the device model in the matching order.

[0142] In some possible implementations, after obtaining the authorization certificate, the method further includes:

[0143] The preset chip identification information, the device model and the authorization certificate are saved accordingly.

[0144] In some possible implementations, the method further includes:

[0145] Receiving the manufacturer account and password information sent by the authorization device;

[0146] When the manufacturer account information matches any pre-saved registered manufacturer account information, determining whether the password information matches the password information corresponding to the matching registered manufacturer account information;

[0147] If they match, a notification message indicating that the verification is successful is sent to the authorization device;

[0148] Otherwise, a notification message of verification failure is sent to the authorization device.

[0149] In some possible implementations, the method further includes:

[0150] Receiving the order number sent by the authorization device;

[0151] If the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information, the order information of the matching registered order number is sent to the authorization device.

[0152] In this application, the concepts, explanations, detailed descriptions and other steps involved in the smart device authorization method of the application and the server and related to the technical solution provided in the embodiment of the present application can be found in the description of these contents in the aforementioned method or other embodiments, and will not be repeated here.

[0153] Since in this application the staff only needs to enter the device model and its corresponding authorization quantity of the smart device in the order corresponding to each authorization device in the server in advance, after the server receives the authorization request sent by the authorization device, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device, and only when the number of authorization requests carrying the device model sent by the authorization device is not greater than the authorization quantity corresponding to the matched device model, an authorization certificate is generated and written into the smart device through the authorization device, thereby realizing the management and control of the smart device and improving the production efficiency of the smart device.

[0154] The present application also provides an intelligent authorization method, which is applied to an authorization device. Figure 6 A schematic diagram of a smart device authorization process provided in some embodiments of the present application, the process includes:

[0155] S601: Obtaining a device model of a smart device connected to the authorization device, and sending an authorization request carrying the device model to a server;

[0156] S602: If the authorization certificate sent by the server is received, the authorization certificate is written into the smart device.

[0157] In some possible implementations, before obtaining the device model of the smart device connected to the authorization device and sending the authorization request carrying the device model to the server, the method further includes:

[0158] Performing a functional test on the smart device connected to the authorization device and obtaining a functional test result;

[0159] If the function test result is passed, the subsequent steps of obtaining the device model of the smart device and sending an authorization request carrying the device model to the server are performed.

[0160] In some possible implementations, obtaining the device model of the smart device connected to the authorization device and sending an authorization request carrying the device model to the server includes:

[0161] The device model and preset chip identification information of the smart device connected to the authorization device are obtained, and an authorization request carrying the preset chip identification information and the device model is sent to the server.

[0162] In some possible implementations, the method further includes:

[0163] After receiving the account login request, obtaining the input manufacturer account and password information, and sending the manufacturer account and password information to the server;

[0164] Receive notification information sent by the server.

[0165] In some possible implementations, if the notification information is information of passed verification, the method further includes:

[0166] If a query instruction for order information is received, the input order number is obtained, and the order number is sent to the server;

[0167] If the order information sent by the server is received, it is displayed on the display screen of the authorization device.

[0168] In this application, the concepts, explanations, detailed descriptions and other steps involved in the smart device authorization method of the application and the server and related to the technical solution provided in the embodiment of the present application can be found in the description of these contents in the aforementioned method or other embodiments, and will not be repeated here.

[0169] During the process of smart device authorization, the authorization device can obtain the device model of the smart device connected to it and send an authorization request carrying the device model to the server, which facilitates the subsequent server to determine whether the smart device is authorized based on the device model in the authorization request sent by the authorization device, and after receiving the authorization certificate sent by the server, write the authorization certificate to the smart device, thereby realizing the authorization of the smart device and improving the production efficiency of the smart device.

[0170] The present application also provides a smart authorization device, Figure 7 A schematic diagram of the structure of a server provided in some embodiments of the present application, the server comprising:

[0171] The receiving unit 71 is used to receive an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device;

[0172] The judging unit 72 is configured to judge, when the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order;

[0173] Processing unit 73 is used to generate an authorization certificate if the number of authorization requests carrying the device model sent by the authorization device is not greater than the number of authorizations corresponding to the device model in the matching order, and send the authorization certificate to the authorization device, so that the authorization device writes the authorization certificate into the smart device.

[0174] In some possible implementations, the processing unit 73 is specifically used to generate the authorization certificate according to the preset chip identification information, the current time information for generating the authorization certificate, and a preset encryption algorithm if the authorization request carries the device model of the smart device connected to the authorization device and the preset chip identification information.

[0175] In some possible implementations, the judgment unit 72 is also used to, after determining that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determine whether the number of authorization requests carrying the device model that the authorization device has sent is greater than the number of authorizations corresponding to the device model in the matched order, and then determine whether the preset chip identification information complies with a pre-saved preset coding rule; if so, determine whether the number of authorization requests carrying the device model that the authorization device has sent is greater than the number of authorizations corresponding to the device model in the matched order.

[0176] In some possible implementations, the processing unit 73 is further configured to correspondingly save the preset chip identification information, the device model, and the authorization certificate after obtaining the authorization certificate.

[0177] In some possible implementations, the receiving unit 71 is further configured to receive the manufacturer account and password information sent by the authorization device;

[0178] The judging unit 72 is further configured to judge whether the password information matches the password information corresponding to the matching registered manufacturer account information when the manufacturer account information matches any pre-stored registered manufacturer account information;

[0179] The processing unit 73 is further configured to send a verification success notification message to the authorization device if the password information matches the password information corresponding to the matching registered manufacturer account information; otherwise, send a verification failure notification message to the authorization device.

[0180] In some possible implementations, the receiving unit 71 is further configured to receive an order number sent by the authorization device;

[0181] The processing unit 73 is further configured to send the order information of the matching registered order number to the authorization device if the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information.

[0182] Since in this application the staff only needs to enter the device model and its corresponding authorization quantity of the smart device in the order corresponding to each authorization device in the server in advance, after the server receives the authorization request sent by the authorization device, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device, and only when the number of authorization requests carrying the device model sent by the authorization device is not greater than the authorization quantity corresponding to the matched device model, an authorization certificate is generated and written into the smart device through the authorization device, thereby realizing the management and control of the smart device and improving the production efficiency of the smart device.

[0183] The present application also provides a smart authorization device, Figure 8 A schematic diagram of a smart device authorization device provided in some embodiments of the present application, the device comprising:

[0184] The processing unit 81 is used to obtain the device model of the smart device connected to the authorization device, and send an authorization request carrying the device model to the server;

[0185] The receiving unit 82 is configured to write the authorization certificate into the smart device if the authorization certificate sent by the server is received.

[0186] In some possible implementations, the processing unit 81 is also used to obtain the device model of the smart device connected to the authorization device, and before sending an authorization request carrying the device model to the server, perform a functional test on the smart device connected to the authorization device to obtain a functional test result; if the functional test result is passed, execute the subsequent steps of obtaining the device model of the smart device and sending an authorization request carrying the device model to the server.

[0187] In some possible implementations, the processing unit 81 is specifically configured to obtain a device model and preset chip identification information of a smart device connected to the authorization device, and send an authorization request carrying the preset chip identification information and the device model to the server.

[0188] In some possible implementations, the processing unit 81 is further configured to, after receiving an account login request, obtain the input manufacturer account and password information, and send the manufacturer account and password information to the server;

[0189] The receiving unit 82 is further configured to receive notification information sent by the server.

[0190] In some possible implementations, the processing unit 81 is further configured to, when the notification information is verified information, obtain an input order number if a query instruction for order information is received, and send the order number to the server;

[0191] The device also includes:

[0192] The display unit is used to display the order information sent by the server on the display screen of the authorization device if the order information is received.

[0193] During the process of smart device authorization, the authorization device can obtain the device model of the smart device connected to it and send an authorization request carrying the device model to the server, which facilitates the subsequent server to determine whether the smart device is authorized based on the device model in the authorization request sent by the authorization device, and after receiving the authorization certificate sent by the server, write the authorization certificate to the smart device, thereby realizing the authorization of the smart device and improving the production efficiency of the smart device.

[0194] like Fig. 9 This is a schematic diagram of an electronic device structure provided by some embodiments of the present application. Based on the above embodiments, the present application also provides an electronic device, such as Fig. 9 As shown, it includes: a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904;

[0195] The memory 903 stores a computer program. When the program is executed by the processor 901, the processor 901 performs the following steps:

[0196] Receiving an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device;

[0197] When the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determining whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order;

[0198] If not, an authorization certificate is generated, and the authorization certificate is sent to the authorization device, so that the authorization device writes the authorization certificate into the smart device.

[0199] In some possible implementations, the processor 901 is specifically used to generate the authorization certificate according to the preset chip identification information, the current time information for generating the authorization certificate, and a preset encryption algorithm if the authorization request carries the device model of the smart device connected to the authorization device and the preset chip identification information.

[0200] In some possible implementations, the processor 901 is also used to, after determining that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determine whether the number of authorization requests carrying the device model that the authorization device has sent is greater than the number of authorizations corresponding to the device model in the matched order, and then determine whether the preset chip identification information complies with a pre-saved preset coding rule; if so, determine whether the number of authorization requests carrying the device model that the authorization device has sent is greater than the number of authorizations corresponding to the device model in the matched order.

[0201] In some possible implementations, the processor 901 is further configured to, after obtaining the authorization certificate, correspondingly save the preset chip identification information, the device model, and the authorization certificate.

[0202] In some possible implementations, the processor 901 is further configured to receive the manufacturer account and password information sent by the authorization device;

[0203] The processor 901 is further configured to, when the manufacturer account information matches any pre-stored registered manufacturer account information, determine whether the password information matches the password information corresponding to the matching registered manufacturer account information;

[0204] The processor 901 is further configured to send a verification success notification message to the authorization device if the password information matches the password information corresponding to the matching registered manufacturer account information; otherwise, send a verification failure notification message to the authorization device.

[0205] In some possible implementations, the processor 901 is further configured to receive an order number sent by the authorization device;

[0206] The processor 901 is further configured to send the order information of the matching registered order number to the authorization device if the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information.

[0207] Since the principle of solving the problem by the above electronic device is similar to the smart device authorization method, the implementation of the above electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0208] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0209] The communication interface 902 is used for communication between the above electronic device and other devices.

[0210] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0211] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (NP), etc.; it can also be a digital signal processing processor (DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0212] Since in this application the staff only needs to enter the device model and its corresponding authorization quantity of the smart device in the order corresponding to each authorization device in the server in advance, after the server receives the authorization request sent by the authorization device, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device, and only when the number of authorization requests carrying the device model sent by the authorization device is not greater than the authorization quantity corresponding to the matched device model, an authorization certificate is generated and written into the smart device through the authorization device, thereby realizing the management and control of the smart device and improving the production efficiency of the smart device.

[0213] like Fig.10 This is a schematic diagram of an electronic device structure provided by some embodiments of the present application. Based on the above embodiments, the present application also provides an electronic device, such as Fig.10 As shown, it includes: a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004;

[0214] The memory 1003 stores a computer program. When the program is executed by the processor 1001, the processor 1001 performs the following steps:

[0215] Obtaining a device model of a smart device connected to the authorization device, and sending an authorization request carrying the device model to a server;

[0216] If the authorization certificate sent by the server is received, the authorization certificate is written into the smart device.

[0217] In some possible implementations, the processor 1001 is further used to obtain the device model of the smart device connected to the authorization device, and before sending an authorization request carrying the device model to the server, perform a functional test on the smart device connected to the authorization device to obtain a functional test result; if the functional test result is passed, execute the subsequent steps of obtaining the device model of the smart device and sending an authorization request carrying the device model to the server.

[0218] In some possible implementations, the processor 1001 is specifically configured to obtain a device model and preset chip identification information of a smart device connected to the authorization device, and send an authorization request carrying the preset chip identification information and the device model to the server.

[0219] In some possible implementations, the processor 1001 is further configured to, after receiving an account login request, obtain the input manufacturer account and password information, and send the manufacturer account and password information to the server;

[0220] The processor 1001 is further configured to receive notification information sent by the server.

[0221] In some possible implementations, the processor 1001 is further configured to, when the notification information is verified information, obtain an input order number if a query instruction for order information is received, and send the order number to the server;

[0222] The processor 1001 is further configured to display the order information sent by the server on a display screen of the authorization device if the order information is received.

[0223] Since the principle of solving the problem by the above electronic device is similar to the smart device authorization method, the implementation of the above electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0224] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0225] The communication interface 1002 is used for communication between the above electronic device and other devices.

[0226] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0227] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (NP), etc.; it can also be a digital signal processing processor (DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0228] During the process of smart device authorization, the authorization device can obtain the device model of the smart device connected to it and send an authorization request carrying the device model to the server, which facilitates the subsequent server to determine whether the smart device is authorized based on the device model in the authorization request sent by the authorization device, and after receiving the authorization certificate sent by the server, write the authorization certificate to the smart device, thereby realizing the authorization of the smart device and improving the production efficiency of the smart device.

[0229] On the basis of the above embodiments, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program executable by a processor, and when the program runs on the processor, the processor implements the following steps when executing:

[0230] Receiving an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device;

[0231] When the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determining whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order;

[0232] If not, an authorization certificate is generated, and the authorization certificate is sent to the authorization device, so that the authorization device writes the authorization certificate into the smart device.

[0233] In some possible implementations, if the authorization request carries the device model and preset chip identification information of the smart device connected to the authorization device, generating the authorization certificate includes:

[0234] The authorization certificate is generated according to the preset chip identification information, the current time information for generating the authorization certificate, and the preset encryption algorithm.

[0235] In some possible implementations, after determining that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, before determining whether the number of authorization requests carrying the device model that has been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order, the method further includes:

[0236] Determining whether the preset chip identification information complies with a pre-stored preset coding rule;

[0237] If they are equal, it is determined whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the authorization quantity corresponding to the device model in the matching order.

[0238] In some possible implementations, after obtaining the authorization certificate, the method further includes:

[0239] The preset chip identification information, the device model and the authorization certificate are saved accordingly.

[0240] In some possible implementations, the method further includes:

[0241] Receiving the manufacturer account and password information sent by the authorization device;

[0242] When the manufacturer account information matches any pre-saved registered manufacturer account information, determining whether the password information matches the password information corresponding to the matching registered manufacturer account information;

[0243] If they match, a notification message indicating that the verification is successful is sent to the authorization device;

[0244] Otherwise, a notification message of verification failure is sent to the authorization device.

[0245] In some possible implementations, the method further includes:

[0246] Receiving the order number sent by the authorization device;

[0247] If the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information, the order information of the matching registered order number is sent to the authorization device.

[0248] Since the principle of solving the problem provided by the computer-readable medium is similar to that of the smart device authorization method, after the processor executes the computer program in the computer-readable medium, the implemented steps can be referred to the implementation of the method, and the repeated parts will not be repeated.

[0249] Since in this application the staff only needs to enter the device model and its corresponding authorization quantity of the smart device in the order corresponding to each authorization device in the server in advance, after the server receives the authorization request sent by the authorization device, it matches the device model in the authorization request with the device model in the order corresponding to the pre-saved authorization device, and only when the number of authorization requests carrying the device model sent by the authorization device is not greater than the authorization quantity corresponding to the matched device model, an authorization certificate is generated and written into the smart device through the authorization device, thereby realizing the management and control of the smart device and improving the production efficiency of the smart device.

[0250] On the basis of the above embodiments, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program executable by a processor, and when the program runs on the processor, the processor implements the following steps when executing:

[0251] Obtaining a device model of a smart device connected to the authorization device, and sending an authorization request carrying the device model to a server;

[0252] If the authorization certificate sent by the server is received, the authorization certificate is written into the smart device.

[0253] In some possible implementations, before obtaining the device model of the smart device connected to the authorization device and sending the authorization request carrying the device model to the server, the method further includes:

[0254] Performing a functional test on the smart device connected to the authorization device and obtaining a functional test result;

[0255] If the function test result is passed, the subsequent steps of obtaining the device model of the smart device and sending an authorization request carrying the device model to the server are performed.

[0256] In some possible implementations, obtaining the device model of the smart device connected to the authorization device and sending an authorization request carrying the device model to the server includes:

[0257] The device model and preset chip identification information of the smart device connected to the authorization device are obtained, and an authorization request carrying the preset chip identification information and the device model is sent to the server.

[0258] In some possible implementations, the method further includes:

[0259] After receiving the account login request, obtaining the input manufacturer account and password information, and sending the manufacturer account and password information to the server;

[0260] Receive notification information sent by the server.

[0261] In some possible implementations, if the notification information is information of passed verification, the method further includes:

[0262] If a query instruction for order information is received, the input order number is obtained, and the order number is sent to the server;

[0263] If the order information sent by the server is received, it is displayed on the display screen of the authorization device.

[0264] Since the principle of solving the problem provided by the computer-readable medium is similar to that of the smart device authorization method, after the processor executes the computer program in the computer-readable medium, the implemented steps can be referred to the implementation of the method, and the repeated parts will not be repeated.

[0265] During the process of smart device authorization, the authorization device can obtain the device model of the smart device connected to it and send an authorization request carrying the device model to the server, which facilitates the subsequent server to determine whether the smart device is authorized based on the device model in the authorization request sent by the authorization device, and after receiving the authorization certificate sent by the server, write the authorization certificate to the smart device, thereby realizing the authorization of the smart device and improving the production efficiency of the smart device.

[0266] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0267] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0268] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0269] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0270] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A smart device authorization system, characterized in that: The system comprises: an authorization device and a server; The authorization device is used to obtain the device model of the smart device connected to the authorization device, and send an authorization request carrying the device model to the server; and is used to receive the authorization certificate sent by the server, and write the authorization certificate into the smart device; The server is configured to receive the authorization request sent by the authorization device, and when the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determine whether the number of authorization requests carrying the device model sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order, and if not, generate an authorization certificate and send the authorization certificate to the authorization device; The authorization device is specifically used to obtain the preset chip identification information of the smart device, and send an authorization request carrying the preset chip identification information and the device model to the server; The server is specifically used to generate the authorization certificate according to the preset chip identification information, the current time information of generating the authorization certificate and the preset encryption algorithm; and correspondingly save the preset chip identification information, the device model and the authorization certificate.

2. The system according to claim 1, characterized in that The authorization device is also used to perform a functional test on the smart device connected to the authorization device and obtain a functional test result; if the functional test result is passed, the device model of the smart device is obtained, and an authorization request carrying the device model is sent to the server.

3. The system according to claim 1, characterized in that The server is also used to determine whether the preset chip identification information complies with the pre-saved preset coding rules after determining that the device model successfully matches the device model in the pre-saved order corresponding to the authorization device. If yes, determine whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the authorization quantity corresponding to the device model in the matched order.

4. The system according to claim 1, characterized in that The authorization device is further used to obtain the input manufacturer account and password information after receiving the account login request, and send the manufacturer account and password information to the server; The server is also used to receive the manufacturer account and the password information sent by the authorization device; when the manufacturer account information matches any pre-saved registered manufacturer account information, it is determined whether the password information matches the password information corresponding to the matching registered manufacturer account information. If so, a notification message of verification success is sent to the authorization device; otherwise, a notification message of verification failure is sent to the authorization device.

5. The system according to claim 4, characterized in that The authorization device is further configured to obtain the input order number and send the order number to the server if a query instruction for order information is received; and is further configured to receive the order information sent by the server and display it on the display screen of the authorization device; The server is also used to receive the order number sent by the authorization device; if the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information, the order information of the matching registered order number is sent to the authorization device.

6. A smart device authorization method, characterized in that: The method is applied to a server, and the method comprises: Receiving an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device; When the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, determining whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order; If not, generate an authorization certificate, and send the authorization certificate to the authorization device, so that the authorization device writes the authorization certificate into the smart device; The authorization request carries the device model and preset chip identification information of the smart device connected to the authorization device, and the generating of the authorization certificate includes: The authorization certificate is generated according to the preset chip identification information, the current time information of generating the authorization certificate, and the preset encryption algorithm; and the preset chip identification information, the device model, and the authorization certificate are correspondingly saved.

7. The method according to claim 6, characterized in that After the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, before determining whether the number of authorization requests carrying the device model sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order, the method further includes: Determining whether the preset chip identification information complies with a pre-stored preset coding rule; If yes, it is determined whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the authorization quantity corresponding to the device model in the matching order.

8. The method according to claim 6, characterized in that The method further comprises: Receiving the manufacturer account and password information sent by the authorization device; When the manufacturer account information matches any pre-saved registered manufacturer account information, determining whether the password information matches the password information corresponding to the matching registered manufacturer account information; If they match, a notification message indicating that the verification is successful is sent to the authorization device; Otherwise, a notification message of verification failure is sent to the authorization device.

9. The method according to claim 8, characterized in that The method further comprises: Receiving the order number sent by the authorization device; If the order number successfully matches any registered order number of the pre-saved matching registered manufacturer account information, the order information of the matching registered order number is sent to the authorization device.

10. A smart device authorization method, characterized in that: The method is applied to an authorization device, and the method comprises: Obtaining a device model of a smart device connected to the authorization device, and sending an authorization request carrying the device model to a server; If the authorization certificate sent by the server is received, writing the authorization certificate into the smart device; The step of obtaining the device model of the smart device connected to the authorization device and sending an authorization request carrying the device model to the server includes: Obtain the device model and preset chip identification information of the smart device connected to the authorization device, and send an authorization request carrying the preset chip identification information and the device model to the server, so that the server generates the authorization certificate according to the preset chip identification information, the current time information for generating the authorization certificate, and the preset encryption algorithm; and correspondingly save the preset chip identification information, the device model, and the authorization certificate.

11. The method according to claim 10, characterized in that Before obtaining the device model of the smart device connected to the authorization device and sending an authorization request carrying the device model to the server, the method further includes: Performing a functional test on the smart device connected to the authorization device and obtaining a functional test result; If the function test result is passed, the subsequent steps of obtaining the device model of the smart device and sending an authorization request carrying the device model to the server are performed.

12. The method according to claim 10, characterized in that The method further comprises: After receiving the account login request, obtaining the input manufacturer account and password information, and sending the manufacturer account and password information to the server; Receive notification information sent by the server.

13. The method according to claim 12, characterized in that If the notification information is information that has passed the verification, the method further includes: If a query instruction for order information is received, the input order number is obtained, and the order number is sent to the server; If the order information sent by the server is received, it is displayed on the display screen of the authorization device.

14. A server, characterized in that: The server comprises: A receiving unit, configured to receive an authorization request sent by an authorization device, wherein the authorization request carries a device model of a smart device connected to the authorization device; a judgment unit, configured to judge, when the device model successfully matches the device model in the pre-saved order corresponding to the authorization device, whether the number of authorization requests carrying the device model that have been sent by the authorization device is greater than the number of authorizations corresponding to the device model in the matched order; a processing unit, configured to generate an authorization certificate if the number of authorization requests carrying the device model sent by the authorization device is not greater than the number of authorizations corresponding to the device model in the matched order, and send the authorization certificate to the authorization device, so that the authorization device writes the authorization certificate into the smart device; The authorization request carries the device model of the smart device connected to the authorization device and the preset chip identification information. The processing unit is specifically used to generate the authorization certificate based on the preset chip identification information, the current time information for generating the authorization certificate, and the preset encryption algorithm; and correspondingly save the preset chip identification information, the device model, and the authorization certificate.

15. A smart device authorization device, characterized in that: The device comprises: A processing unit, configured to obtain a device model of a smart device connected to the authorization device, and send an authorization request carrying the device model to a server; A receiving unit, configured to write the authorization certificate into the smart device if the authorization certificate sent by the server is received; The processing unit is specifically used to obtain the device model and preset chip identification information of the smart device connected to the authorization device, and send an authorization request carrying the preset chip identification information and the device model to the server, so that the server generates the authorization certificate according to the preset chip identification information, the current time information for generating the authorization certificate, and the preset encryption algorithm; and correspondingly save the preset chip identification information, the device model and the authorization certificate.

16. An electronic device, characterized in that: The electronic device comprises at least a processor and a memory, and the processor is used to implement the steps of the smart device authorization method applied to the server as claimed in any one of claims 6 to 9 when executing the computer program stored in the memory, and to implement the steps of the smart device authorization method applied to the authorization device as claimed in any one of claims 10 to 13.

17. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the steps of the smart device authorization method applied to a server as claimed in any one of claims 6 to 9, and implements the steps of the smart device authorization method applied to an authorization device as claimed in any one of claims 10 to 13.