Method for generating production information, method for configuring registration code and configuration system

By randomly matching the device's unique identification and registration subcode, the corresponding relationship between the device's unique identification, registration subcode and device encoding is generated, which solves the problem of low efficiency in generating WeChat sun codes and realizes the need for rapid production.

CN114417032BActive Publication Date: 2025-07-22ZHUHAI TIANXIANG EDUCATION CONSULTING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210018018.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-07
Publication Date
2025-07-22
Estimated Expiration
2042-01-07

AI Technical Summary

Technical Problem

In the prior art, the generation method of WeChat Sun Code is relatively low in efficiency and is difficult to meet the needs of rapid production in the industry.

Method used

By randomly matching the device unique identification and registration subcode, the corresponding relationship between the device unique identification, registration subcode and device encoding is generated, and the process of finding device encoding according to preset rules is omitted.

Benefits of technology

It improves the efficiency of generating WeChat Sun Code, reduces work time, and meets the needs of rapid production in the industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114417032B_ABST
    Figure CN114417032B_ABST
Patent Text Reader

Abstract

This application relates to the technical field of production information generation, and specifically relates to a method for generating production information, a method for configuring a registration code, and a configuration system, including: obtaining request information; randomly obtaining a registration sub-code in a database according to a device batch code and a unique device identifier; obtaining a device code of the device; binding the unique device identifier and the device code to generate binding information; and binding the binding information and the registration sub-code to generate production information. Since the correspondence between the unique device identifier and the registration sub-code is determined by random matching in this application, compared with the existing method of matching the unique device identifier and the device code one by one according to a preset rule, the process of finding the corresponding device code according to the preset correspondence by the unique device identifier can be omitted, so the working time can be reduced, and thus the working efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of production information generation, and specifically relates to a method for generating production information, a method for configuring a registration code, and a configuration system. Background Art

[0002] Currently, there are many Internet of Things (IoT) terminals such as cameras, smart door locks, speakers, sockets, sweeping robots, etc., and remotely controlling IoT terminals through mobile phones has become one of the basic demands of users for IoT terminals. To control an IoT terminal through a mobile phone, the corresponding control APP needs to be bound to the IoT terminal first to complete the user registration work. The common practice for binding an IoT terminal with a mobile phone APP is to use the corresponding APP to scan the production information (usually a QR code) on the IoT terminal for binding and registration. However, since the APP needs to be downloaded and occupies storage space on the mobile terminal, in recent years, users prefer to use WeChat mini-programs, which are application software that does not require downloading and installation, to bind with IoT terminals.

[0003] With the conversion of application software on mobile terminals, IoT terminal manufacturers have also shifted from APP development to WeChat mini-program development. When binding and registering through a WeChat mini-program, it can be done either by scanning a QR code for binding and registration or by scanning a WeChat sun code for registration. However, the number of bindings and registrations through scanning QR codes is limited. The number of QR codes that can be bound and registered for each WeChat mini-program is 100,000, which limits the number of IoT terminals that can be bound and registered. The number of bindings and registrations through scanning WeChat sun codes is not limited. Therefore, pasting a WeChat sun code on an IoT terminal as production information is a better choice for manufacturers. However, since the generation rule of the WeChat sun code is not public, one can only rely on the application programming interface (API) provided by the WeChat public platform to register and generate the returned WeChat sun code picture.

[0004] In the prior art, when generating a corresponding WeChat sun code for an IoT terminal, it is necessary to match and bind the unique device identifier of each device and the corresponding device code in advance according to a preset correspondence relationship before registering and generating the corresponding WeChat sun code, thereby ensuring the correspondence relationship among the three. However, since the process of matching and binding the unique device identifier of each device and the corresponding device code takes a long time, the efficiency of the existing method for generating WeChat sun codes is low, making it difficult to meet the requirements of rapid industrial production. Summary of the Invention

[0005] In view of this, this application provides a method for configuring production information, which solves the technical problem that the efficiency of the existing method for generating WeChat sun codes is low and difficult to meet the requirements of rapid industrial production.

[0006] According to one aspect of the present application, the present application provides a method for generating production information, including:

[0007] Obtain a request message, which is used to identify a request to obtain the production information of a device, and the request message includes the device batch code and the unique device identifier of the device;

[0008] Randomly obtain a registration sub-code in a database according to the device batch code and the unique device identifier, and the registration sub-code corresponds uniquely to the unique device identifier;

[0009] Obtain the device code of the device, and the device code has a corresponding relationship with the registration sub-code;

[0010] Bind the unique device identifier to the device code to generate binding information; and

[0011] Bind the binding information to the registration sub-code to generate production information.

[0012] In a possible implementation manner of the present application, before randomly obtaining a registration sub-code in a database according to the device batch code and the unique device identifier, the method for generating production information further includes:

[0013] Obtain registration instructions for multiple devices, and generate device codes for multiple devices one by one according to the multiple registration instructions;

[0014] Obtain multiple WeChat sun code pictures respectively according to the multiple device codes;

[0015] Generate a corresponding registration sub-code according to the storage location of each WeChat sun code picture;

[0016] Store multiple registration sub-codes in a data sub-library to generate the database.

[0017] In a possible implementation manner of the present application, after obtaining the request message, the method for generating production information further includes:

[0018] When the request message is the same as the previously received request message, configure the registration sub-code obtained by the previously received request message as the registration sub-code corresponding to the request message.

[0019] According to another aspect of the present application, the present application provides a method for configuring a registration code, including:

[0020] The server generates the production information of the device according to the method for generating production information described in any one of the above, and the production information includes a registration sub-code and binding information;

[0021] The processing unit obtains the production information sent by the server;

[0022] The processing unit generates a registration code according to the registration sub-code and generates a configuration instruction according to the binding information;

[0023] The processing unit sends the configuration instruction to multiple devices;

[0024] Multiple devices respectively generate matching information according to the configuration instruction, the device code of the device, and / or the unique device identifier of the device;

[0025] When the matching information indicates that the device code of a device matches the device code in the binding information in the configuration instruction; and / or the matching information indicates that the unique device identifier of the device matches the unique device identifier of the device in the binding information in the configuration instruction, the device generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit;

[0026] The processing unit configures the registration code to the device according to the feedback prompt.

[0027] In a possible implementation manner of the present application, the server obtaining the request information includes:

[0028] The device sends the corresponding unique device identifier to the processing unit;

[0029] The processing unit obtains the device batch code;

[0030] The processing unit generates request information according to the unique device identifier and the device batch code;

[0031] The processing unit sends the request information to the server.

[0032] In a possible implementation manner of the present application, the processing unit generating the registration code according to the registration sub-code includes:

[0033] The processing unit obtains the WeChat sun code picture according to the registration sub-code;

[0034] The processing unit saves the WeChat sun code picture as a first registration code, and the registration code includes the first registration code.

[0035] In a possible implementation manner of the present application, the processing unit generating the registration code according to the registration sub-code includes:

[0036] The processing unit obtains the WeChat sun code picture according to the registration sub-code;

[0037] The processing unit generates the device code according to the binding information;

[0038] The processing unit synthesizes the WeChat sun code picture and the device code into a second registration code, and the registration code includes the second registration code.

[0039] In a possible implementation manner of the present application, after the processing unit obtains the production information sent by the server, the configuration method of the registration code further includes:

[0040] The processing unit generates the device code according to the binding information;

[0041] The processing unit sends the device code to the corresponding device.

[0042] In a possible implementation manner of the present application, the device generates a feedback prompt according to the matching information, including:

[0043] The device generates a sound prompt and / or a light prompt.

[0044] According to another aspect of the present application, the present application provides a registration code configuration system, which is characterized by including:

[0045] A server for generating production information of a device according to the production information generation method described in any one of the above, where the production information includes a registration sub-code and binding information;

[0046] A processing unit for obtaining the production information sent by the server;

[0047] The processing unit generates a registration code according to the registration sub-code and generates a configuration instruction according to the binding information;

[0048] The processing unit sends the configuration instruction to multiple devices;

[0049] The processing unit configures the registration code to the device according to the feedback prompt

[0050] Multiple devices for respectively generating matching information according to the configuration instruction and the device code and / or the device unique identifier of the device;

[0051] When the matching information indicates that the device code of a device matches the device code in the binding information in the configuration instruction; and / or the matching information indicates that the device unique identifier of the device matches the device unique identifier in the binding information in the configuration instruction, the device generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit;

[0052] The processing unit is respectively communicatively connected to the server and the device.

[0053] A method for configuring production information provided by this application generates multiple registration sub-codes in advance using multiple device codes, and then randomly binds the unique device identifier with one of the registration sub-codes. Since the device code used for the bound registration sub-code is also determined, it is equivalent to binding the device code and the unique device identifier together. Thus, the corresponding relationship among the unique device identifier, the registration sub-code, and the device code is generated.

[0054] Since, when determining the corresponding relationship between the unique device identifier and the registration sub-code in this application, a random matching method is used for pairing. Therefore, compared with the existing method that requires one-to-one corresponding matching of the unique device identifier and the device code according to a preset rule, the process of searching for the corresponding device code according to the preset corresponding relationship through the unique device identifier can be omitted, so the working time can be reduced, and thus the working efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] By describing the embodiments of the present application in more detail in conjunction with the drawings, the above and other objects, features, and advantages of the present application will become more obvious. The drawings are used to provide a further understanding of the embodiments of the present application, and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application, and do not constitute a limitation to the present application. In the drawings, the same reference numerals generally represent the same components or steps.

[0056] Figure 1 The figure shows a schematic flowchart of a method for generating production information provided by an embodiment of the present application;

[0057] Figure 2 The figure shows a schematic flowchart of a method for generating production information provided by another embodiment of the present application;

[0058] Figure 3 The figure shows a schematic flowchart of a method for generating production information provided by another embodiment of the present application;

[0059] Figure 4 The figure shows a schematic flowchart of a method for configuring a registration code provided by another embodiment of the present application;

[0060] Figure 5 The figure shows a schematic flowchart of a method for configuring a registration code provided by another embodiment of the present application;

[0061] Figure 6 The figure shows a schematic flowchart of step S10 in which the server obtains request information in a method for configuring a registration code provided by another embodiment of the present application;

[0062] Figure 7The figure shows a schematic flowchart of a method for configuring a registration code provided by another embodiment of the present application;

[0063] Figure 8 The figure shows a schematic flowchart of a method for configuring a registration code provided by another embodiment of the present application;

[0064] Figure 9 The figure shows a schematic flowchart of a method for configuring a registration code provided by another embodiment of the present application;

[0065] Figure 10 The figure shows a schematic structural diagram of a system for configuring a registration code provided by another embodiment of the present application; Detailed implementation manners

[0066] In the description of the present application, the meaning of "a plurality" is at least two, for example, two, three, etc., unless otherwise specifically defined. In the embodiments of the present application, all directional indications (such as up, down, left, right, front, back, top, bottom...) are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will change accordingly. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or Internet of Things terminal including a series of steps or units is not limited to the listed steps or units, but may optionally further include unlisted steps or units, or may optionally further include other steps or units inherent to these processes, methods, products or Internet of Things terminals.

[0067] In addition, the mention of "embodiment" in this article means that a specific feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.

[0068] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.

[0069] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.

[0070] Exemplary method

[0071] According to one aspect of the present application, as Figure 1 shown, the present application provides a method for generating production information, including:

[0072] Step S10: Obtain a request message, which is used to identify a request to obtain the production information of device 501. The request message includes the device batch code and the unique device identifier of device 501;

[0073] Step S20: Randomly obtain a registration sub-code in the database according to the device batch code and the unique device identifier. The registration sub-code is uniquely corresponding to the unique device identifier; match a uniquely corresponding registration sub-code for the unique device identifier according to a rule, and this rule is not to pre-correspond the unique device identifier with the registration sub-code one by one. In this process, the corresponding relationship between the unique device identifier and the registration sub-code is uncertain, but is matched according to a random correspondence rule. The specific random correspondence rule is: only ensure that a unique device identifier is uniquely corresponding to a registration sub-code. The specific matching form is illustrated by the following example. For example: there are 100 unique device identifiers and 100 registration sub-codes. When performing the matching, the first unique device identifier can be randomly paired with any one of the existing 100 registration sub-codes. After the first unique device identifier is paired with the one-hundredth registration sub-code; when the second unique device identifier is paired, the second unique device identifier can be randomly paired with any one of the remaining first to ninety-ninth registration sub-codes, and so on. When the third unique device identifier is paired, the third unique device identifier can be randomly paired with any one of the remaining ninety-eight registration sub-codes; follow this rule until all the unique device identifiers are completed in the matching.

[0074] Step S30: Obtain the device code of device 501; the device code obtained in this step is the device code corresponding to the registration sub-code. Since the registration sub-code is obtained from the device code, each registration sub-code will uniquely correspond to a device code. In actual operation, when the unique device identifier obtains the corresponding registration sub-code in the database in step S20, the device 501 that generates this registration sub-code is also obtained together.

[0075] Step S40: Bind the unique device identifier and the device code to generate binding information; and

[0076] Bind the binding information to the registration sub-code to generate production information. Through this step, the correspondence among the device unique identifier, the device code, and the registration sub-code is bound. Thus, the original operation method of corresponding the device unique identifier with the device code and the registration sub-code according to a pre-specified corresponding rule is changed. Instead, a random matching is first performed between the device unique identifier and the registration sub-code, and after the matching is completed, the corresponding relationship is generated based on the matching result. Thus, the working time for finding the corresponding device code according to the preset corresponding relationship through the device unique identifier can be saved, thereby improving work efficiency.

[0077] In a possible implementation manner of the present application, as Figure 2 shown, before step S20: randomly obtain a registration sub-code in the database according to the device batch code and the device unique identifier, the method for generating production information further includes:

[0078] Step S11: Obtain registration instructions of multiple devices 501, and generate device codes of multiple devices 501 one by one according to the multiple registration instructions; the content of the registration instructions may specifically include the device batch code and the number of device codes to be generated. For example: the device batch code is: 12334524 and 100 device codes of devices 501 are to be generated. After input, the server 503 will automatically generate 100 corresponding device codes according to the generation rule of the device codes of the devices with the production batch of 12334524, and each device code corresponds to one device 501.

[0079] Step S12: Obtain multiple WeChat sun code pictures respectively according to the multiple device codes; the server 503 uses each device code to register with the application program interface (API) provided by the WeChat public platform and generate and return the WeChat sun code pictures.

[0080] Step S13: Generate a corresponding registration sub-code according to the storage location of each WeChat sun code picture; the generated WeChat sun code pictures will be stored in a specified picture storage, and then the acquisition link of the WeChat sun code will be generated according to the placement position of each WeChat sun code picture, and the acquisition link of the WeChat sun code is also the registration sub-code. Since the registration sub-code will be sent to the processing unit 502 together with the production information later, in order to reduce the amount of data transmission, it is necessary to generate the acquisition link of the WeChat sun code.

[0081] Step S14: Store multiple registration sub-codes in a data sub-library to generate a database. The database includes not only multiple registration sub-codes but also the corresponding device batch codes. The registration sub-codes in the database are used to match with the device unique identifier. At the same time, according to the device batch code in step S20, the database including the same device batch code in step S14 can be found. This can further ensure the accuracy during matching.

[0082] In a possible implementation manner of the present application, as Figure 3 shown, after step S10: obtaining request information, the method for generating production information further includes:

[0083] Step S15: When the request information is the same as the previously received request information, configure the registration sub-code obtained from the previously received request information as the registration sub-code corresponding to the request information. This step is a verification step, that is, before each execution of step S20, it is necessary to compare the received request information with the previously received request information. When the received request information is the same as the previously received request information, directly configure the registration sub-code obtained from the previously received request information as the registration sub-code corresponding to the request information, and no longer perform the operation of step S20 again. This can prevent the situation where, after the operator accidentally sends the same request information, a different registration sub-code is matched for each device unique identifier in each request information, thereby making the number of remaining device unique identifiers and the number of remaining registration sub-codes to be matched not correspond one by one. Thus, it is possible to avoid errors caused by the operator's accidental operation.

[0084] Exemplary method

[0085] According to another aspect of the present application, as Figure 4 shown, the present application provides a method for configuring a registration code, including:

[0086] Step S100: The server 503 generates the production information of the device 501 according to the method for generating production information in any one of the embodiments. The production information includes a registration sub-code and binding information;

[0087] Step S200: The processing unit 502 obtains the production information sent by the server 503; the processing unit 502 sends request information to the server 503, and the server 503 then obtains a corresponding production information according to the device batch code and device unique identifier information in the obtained request information. Then the server 503 sends the production information to the processing unit 502.

[0088] Step S300: The processing unit 502 generates a registration code according to the registration sub-code and generates a configuration instruction according to the binding information; the processing unit 502 respectively generates a registration code and a configuration instruction according to the registration sub-code and the binding information in the production information.

[0089] Step S400: The processing unit 502 sends the configuration instruction to multiple devices 501;

[0090] Step S500: Multiple devices 501 respectively generate matching information according to the configuration instruction and the device code and / or device unique identifier of the device 501; specifically, after the device 501 receives the configuration instruction, it can compare the device code and / or device unique identifier of the device 501 itself with the device code and / or device unique identifier in the configuration instruction one by one, and the comparison result is the matching information.

[0091] Step S600: When the matching information indicates that the device code of a device 501 matches the device code in the binding information in the configuration instruction; and / or the matching information indicates that the device unique identifier of the device 501 matches the device unique identifier in the binding information in the configuration instruction successfully, the device 501 generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit 502; when the comparison result is exactly the same, it means the matching is successful. At this time, the device 501 can issue a feedback prompt to remind the staff, and at the same time, it will also send the feedback prompt to the processing unit 502. This feedback prompt is used to inform the processing unit 502 which specific device 501 corresponds to which registration code. Thus, when the processing unit 502 sends the configuration instruction, it can send the configuration instructions of multiple devices 501 at the same time, and at the same time, find multiple devices 501 and accurately configure the corresponding registration code for each device 501. Thus, the configuration efficiency of the registration code of the device 501, that is, the Internet of Things terminal, can be further improved.

[0092] Optionally, as Figure 5 shown, Step S600: The device 501 generates a feedback prompt according to the matching information, including:

[0093] Step S601: The device 501 issues a sound prompt and / or a light prompt. By using sound and / or light to give feedback prompts to the staff, it can facilitate the staff to find the corresponding device 501 more quickly.

[0094] Step S700: The processing unit 502 configures the registration code to the device 501 according to the feedback prompt. The processing unit 502 configures different registration codes to the corresponding devices 501 according to the feedback prompt.

[0095] In a possible implementation manner of the present application, as Figure 1 、 Figure 4 and Figure 6 shown, Step S10: The server 503 obtains the request information, including:

[0096] Step S101: Device 501 sends its corresponding unique device identifier to processing unit 502; after device 501 to be configured with a registration code is powered on, device 501 automatically sends its unique device identifier to processing unit 502, and the unique device identifier is used by processing unit 502 to generate a request message later. The unique device identifier is usually the network physical address (MAC address) of device 501.

[0097] Step S102: Processing unit 502 obtains the device batch code; the device batch code is a code shared by devices 501 of the same production batch, which is used to distinguish the production batches of products and also to distinguish multiple devices 501 using the same device code in different production batches, preventing misconfiguration when configuring the registration code. The device batch code can be manually input into processing unit 502 by an operator.

[0098] Step S103: Processing unit 502 generates a request message based on the unique device identifier and the device batch code;

[0099] Step S104: Processing unit 502 sends the request message to server 503.

[0100] In a possible implementation manner of this application, as Figure 7 shown, step S300: Processing unit 502 generates a registration code according to the registration sub-code, including:

[0101] Step S301: Processing unit 502 obtains the WeChat sun code picture according to the registration sub-code; processing unit 502 downloads the WeChat sun code picture according to the registration sub-code, that is, the acquisition link of the WeChat sun code picture.

[0102] Step S302: Processing unit 502 saves the WeChat sun code picture as the first registration code, and the registration code includes the first registration code. After the registration code is printed on a pasteable carrier, it can be pasted on the corresponding device 501.

[0103] In a possible implementation manner of this application, as Figure 8 shown, step S300: Processing unit 502 generates a registration code according to the registration sub-code, including:

[0104] Step S303: Processing unit 502 obtains the WeChat sun code picture according to the registration sub-code;

[0105] Step S304: Processing unit 502 generates a device code according to the binding information;

[0106] Step S305: The processing unit 502 synthesizes the WeChat sun code picture and the device code into a second registration code, and the registration code includes the second registration code. This form of registration code is applicable to the case where the corresponding device code is marked on the device 501. In this case, the printed second registration code is pasted on the outer package of the device 501. Since it is possible to avoid pasting the registration code on the device 501, the simplicity and aesthetics of the appearance of the device 501 can be improved.

[0107] In a possible implementation manner of the present application, as Figure 9 shown, after step S200: The processing unit 502 obtains the production information sent by the server 503, the configuration method of the registration code further includes:

[0108] Step S201: The processing unit 502 generates a device code according to the binding information;

[0109] Step S202: The processing unit 502 sends the device code to the corresponding device 501.

[0110] After sending the device code to the corresponding device 501, the device code can be used to encrypt the communication method of the device 501. Since the device code and the device unique identifier are randomly matched, that is, the device code and the device 501 are randomly matched, so before the processing unit 502 sends the device code to the corresponding device 501, the device code of each device 501 is unknown, thereby further improving the confidentiality of the information related to the device 501.

[0111] Exemplary system

[0112] According to another aspect of the present application, as Figure 10 shown, the present application provides a configuration system for the registration code of the device 501, which is characterized in that it includes:

[0113] A server 503, configured to generate the production information of the device 501 according to the generation method of the production information in any one of the above, and the production information includes a registration sub-code and binding information;

[0114] A processing unit 502, configured to obtain the production information sent by the server 503;

[0115] The processing unit 502 generates a registration code according to the registration sub-code and generates a configuration instruction according to the binding information;

[0116] The processing unit 502 sends the configuration instruction to a plurality of devices 501;

[0117] The processing unit 502 configures the registration code to the device 501 according to the feedback prompt

[0118] Multiple devices 501, configured to generate matching information respectively according to configuration instructions and the device code and / or unique device identifier of the device 501;

[0119] When the matching information indicates that the device code of a device 501 matches the device code in the binding information in the configuration instructions; and / or when the matching information indicates that the unique device identifier of the device 501 matches the unique device identifier in the binding information in the configuration instructions, the device 501 generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit 502;

[0120] The processing unit 502 is communicatively connected to the server 503 and the devices 501 respectively.

[0121] In addition to the above methods and Internet of Things terminals, embodiments of the present application may also be computer program products, which include computer program information. When the computer program information is run by a processor, the processor is caused to execute the steps in a configuration method for generating production information according to various embodiments of the present application described in this specification.

[0122] The computer program product may be written in a configuration method for generating production information or in any combination of multiple programming languages to write program code for performing the operations of the embodiments of the present application. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing Internet of Things terminal, partially on the user's Internet of Things terminal, executed as an independent software package, partially on the user's computing Internet of Things terminal and partially on a remote computing Internet of Things terminal, or executed entirely on a remote computing Internet of Things terminal or server.

[0123] Furthermore, embodiments of the present application may also be computer-readable storage media, on which computer program information is stored. When the computer program information is run by a processor, the processor is caused to execute the steps in a configuration method for generating production information according to various embodiments of the present application described in this specification.

[0124] A computer-readable storage medium may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0125] The basic principles of the present application have been described in conjunction with specific embodiments. However, it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are only examples and not limitations. It cannot be considered that these advantages, benefits, effects, etc. are essential for each embodiment of the present application. Additionally, the above-disclosed specific details are only for illustrative and facilitating understanding purposes and are not limitations. These details do not limit the present application to necessarily adopt the above specific details for implementation.

[0126] The block diagrams of the devices, apparatuses, Internet of Things terminals, and systems involved in the present application are only illustrative examples and do not intend to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, Internet of Things terminals, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open-ended terms, meaning "including but not limited to", and can be used interchangeably with each other. The word "or" and "and" used herein refer to the word "and / or" and can be used interchangeably with each other, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to" and can be used interchangeably with each other.

[0127] It should also be noted that in the devices, Internet of Things terminals, and methods of the present application, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present application.

[0128] The above description of the disclosed aspects enables any person skilled in the art to make or use the present application. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the broadest scope consistent with the principles and novel features invented herein.

[0129] The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent substitutions, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for generating production information, characterized in that, Including: Obtain request information, where the request information is used to identify a request to obtain production information of a device, and the request information includes the device batch code and the unique device identifier of the device; Randomly obtain a registration sub-code in a database according to the device batch code and the unique device identifier, and the registration sub-code corresponds uniquely to the unique device identifier; Obtain the device code of the device, where the device code has a corresponding relationship with the registration sub-code; Bind the unique device identifier and the device code to generate binding information; And Bind the binding information and the registration sub-code to generate production information.

2. The method for generating production information according to claim 1, wherein Before randomly obtaining a registration sub-code in a database according to the device batch code and the unique device identifier, the method for generating production information further includes: Obtain registration instructions for multiple devices, and generate device codes for the multiple devices one by one according to the multiple registration instructions; Obtain multiple WeChat sun code pictures respectively according to the multiple device codes; Generate corresponding registration sub-codes according to the storage locations of each WeChat sun code picture; Store the multiple registration sub-codes in a data sub-library to generate the database.

3. The method for generating production information according to claim 2, wherein: After obtaining the request information, the method for generating production information further includes: When the request information is the same as the previously received request information, configure the registration sub-code obtained by the previously received request information as the registration sub-code corresponding to the request information.

4. A method for configuring a registration code, characterized in that, Including: The server generates production information of a device according to the method for generating production information described in any one of claims 1 to 3, where the production information includes a registration sub-code and binding information; The processing unit obtains the production information sent by the server; The processing unit generates a registration code according to the registration sub-code and generates a configuration instruction according to the binding information; The processing unit sends the configuration instruction to multiple devices; The multiple devices respectively generate matching information according to the configuration instruction and the device code and / or the unique device identifier of the device; When the matching information indicates that the device code of a device is the same as the device code in the binding information in the configuration instruction; And / or when the matching information indicates that the unique device identifier of the device matches successfully with the unique device identifier of the device in the binding information in the configuration instruction, the device generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit; The processing unit configures the registration code to the device according to the feedback prompt.

5. The configuration method of the registration code according to claim 4, wherein The server obtains the request information including: The device sends the corresponding unique device identifier to the processing unit; The processing unit obtains the device batch code; The processing unit generates request information according to the unique device identifier and the device batch code; The processing unit sends the request information to the server.

6. The configuration method of the registration code according to claim 4, characterized in that, The processing unit generates a registration code according to the registration sub-code including: The processing unit obtains a WeChat sun code picture according to the registration sub-code; The processing unit saves the WeChat sun code picture as a first registration code, and the registration code includes the first registration code.

7. The configuration method of the registration code according to claim 4, characterized in that The processing unit generates a registration code based on the registration sub-code, including: The processing unit obtains a WeChat sun code picture according to the registration sub-code; The processing unit generates the device code according to the binding information; The processing unit synthesizes the WeChat sun code picture and the device code into a second registration code, and the registration code includes the second registration code.

8. The configuration method of the registration code according to claim 4, characterized in that, After the processing unit obtains the production information sent by the server, the configuration method of the registration code further includes: The processing unit generates the device code according to the binding information; The processing unit sends the device code to the corresponding device.

9. The configuration method of the registration code according to claim 4, wherein, The device generates a feedback prompt according to the matching information, including: The device generates a sound prompt and / or a light prompt.

10. A configuration system for registration codes, characterized in that, Including: A server for generating production information of a device according to the production information generation method according to any one of claims 1 to 3, where the production information includes a registration sub-code and binding information; A processing unit for obtaining the production information sent by the server; The processing unit generates a registration code according to the registration sub-code and generates a configuration instruction according to the binding information; The processing unit sends the configuration instruction to multiple devices; The processing unit configures the registration code to the device according to the feedback prompt; Multiple devices for respectively generating matching information according to the configuration instruction and the device code and / or the device unique identifier of the device; When the matching information indicates that the device code of a device matches the device code in the binding information in the configuration instruction; And / or when the matching information indicates that the device unique identifier of the device matches the device unique identifier in the binding information in the configuration instruction successfully, the device generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit; The processing unit is communicatively connected to the server and the device respectively.

Citation Information

Patent Citations

  • Method for binding intelligent device through binding code

    CN105704116A

  • Method and system for smart home device with smart terminal

    CN106301785A