CN114417032A - Production information generation method, registration code configuration method and configuration system - Google Patents
Production information generation method, registration code configuration method and configuration system Download PDFInfo
- Publication number
- CN114417032A CN114417032A CN202210018018.9A CN202210018018A CN114417032A CN 114417032 A CN114417032 A CN 114417032A CN 202210018018 A CN202210018018 A CN 202210018018A CN 114417032 A CN114417032 A CN 114417032A
- Authority
- CN
- China
- Prior art keywords
- code
- equipment
- registration
- information
- processing unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application relates to the technical field of production information generation, in particular to a production information generation method, a registration code configuration method and a registration code configuration system, which comprise the following steps: acquiring request information; randomly acquiring a registration subcode in a database according to the equipment batch code and the equipment unique identifier; acquiring a device code of a device; binding the unique equipment identifier with the equipment code to generate binding information; and binding the binding information with the registration subcodes to generate production information. According to the method and the device, when the corresponding relation between the unique equipment identifier and the registration subcode is determined, the matching is performed in a random matching mode, so that compared with the existing mode that the unique equipment identifier and the equipment code are required to be matched in a one-to-one correspondence mode according to the preset rule, the process of searching the corresponding equipment code according to the preset corresponding relation through the unique equipment identifier can be omitted, the time consumed by work can be reduced, and the work efficiency can be improved.
Description
Technical Field
The present application relates to the technical field of production information generation, and in particular, to a production information generation method, a registration code configuration method, and a registration code configuration system.
Background
At present, the terminals of the internet of things are numerous, such as a camera, an intelligent door lock, a sound box, a socket, a sweeping robot and the like, and the terminals of the internet of things are remotely controlled through a mobile phone to become one of basic requirements of users on the terminals of the internet of things. The mobile phone is used for controlling the Internet of things terminal, the corresponding control APP is bound with the Internet of things terminal, and user registration work is completed. The common method for binding the existing mobile phone APP to the terminal of the Internet of things is as follows: and scanning production information (generally two-dimensional codes) on the terminal of the Internet of things by using the corresponding APP for binding registration. However, since the APP needs to be downloaded and occupies the storage space of the mobile terminal, in recent years, the user prefers to use the download-free installed application software, such as the WeChat applet, to bind with the terminal of the internet of things.
With the conversion of application software of the mobile terminal, the terminal manufacturers of the internet of things also turn from APP development to wechat applet development. When the WeChat small program is bound and registered, the binding and registration can be carried out by scanning the two-dimensional code, and the registration can also be carried out by scanning the WeChat sun code. However, the number of binding registrations performed by scanning the two-dimensional codes is limited, and the number of the two-dimensional codes which can be bound and registered by each wechat applet is 10 ten thousand, so that the number of terminals of the internet of things which can be bound and registered is limited. The number of binding registrations performed by scanning the WeChat Sun code is not limited, so that pasting the WeChat Sun code on the terminal of the Internet of things as production information is a better choice for manufacturers. However, since the WeChat sun code generation rule is not public, only an Application Program Interface (API) provided by a WeChat public platform can be relied on to register and generate a return WeChat sun code picture.
In the method for generating the corresponding WeChat Sun code for the terminal of the Internet of things in the prior art, the unique device identifier of each device and the corresponding device code need to be matched and bound in advance according to the preset corresponding relationship, and then the corresponding WeChat Sun code can be generated by registering, so that the corresponding relationship among the three is ensured. However, the process of matching and binding the unique device identifier of each device and the corresponding device code takes a long time, so that the efficiency of the existing method for generating the WeChat sun code is low, and the requirement of the industry for rapid production is difficult to meet.
Disclosure of Invention
In view of this, the present application provides a method for configuring production information, which solves the technical problems that the generation method of WeChat Sun code in the prior art is low in efficiency and is difficult to meet the requirement of rapid production in industry.
According to an aspect of the present application, there is provided a method for generating production information, including:
acquiring request information, wherein the request information is used for identifying production information of equipment requested to be acquired, and the request information comprises an equipment batch code and an equipment unique identification of the equipment;
randomly acquiring a registration subcode in a database according to the equipment batch code and the equipment unique identifier, wherein the registration subcode is uniquely corresponding to the equipment unique identifier;
acquiring a device code of the device;
binding the unique equipment identifier with the equipment code to generate binding information; and
and binding the binding information with the registration subcode to generate production information.
In a possible implementation manner of the present application, before randomly acquiring the registration subcode in the database according to the device batch code and the device unique identifier, the method for generating the production information further includes:
acquiring registration instructions of a plurality of devices, and generating device codes of the plurality of devices in a one-to-one correspondence mode according to the registration instructions;
respectively acquiring a plurality of WeChat sun code pictures in one-to-one correspondence according to the equipment codes;
generating a corresponding registration subcode according to the storage position of each WeChat sun code picture;
and storing the plurality of registration subcodes into a database to generate the database.
In one possible implementation manner of the present application, after the request information is obtained, the method for generating production information further includes:
and when the request information is the same as the request information received in history, configuring the registration subcode obtained by the request information received in history as the registration subcode corresponding to the request information.
According to another aspect of the present application, there is provided a method for configuring a registration code, including:
the server generates the production information of the equipment according to any one of the production information generation methods, wherein the production information comprises a registration subcode and binding information;
the processing unit acquires the production information sent by the server;
the processing unit generates a registration code according to the registration subcode and generates a configuration instruction according to the binding information;
the processing unit sends the configuration instruction to a plurality of devices;
the plurality of devices respectively generate matching information according to the configuration instruction and the device codes and/or the unique device identifiers of the devices;
when the matching information indicates the equipment code of one equipment and the equipment code in the binding information in the configuration instruction; and/or when the matching information shows that the equipment unique identifier of the equipment is successfully matched with the equipment unique identifier in the binding information in the configuration instruction, the equipment generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit;
and the processing unit configures the registration code to the equipment according to the feedback prompt.
In one possible implementation manner of the present application, the server acquiring the request information includes:
the equipment sends a corresponding equipment unique identifier to the processing unit;
the processing unit acquires the equipment batch code;
the processing unit generates request information according to the unique equipment identifier and the batch code of the equipment;
and the processing unit sends the request information to the server.
In one possible implementation manner of the present application, the generating, by the processing unit, a registration code according to the registration sub-code includes:
the processing unit acquires the WeChat sun code picture according to the registration subcode;
the processing unit stores the WeChat sun code picture as a first registration code, and the registration code comprises the first registration code.
In one possible implementation manner of the present application, the generating, by the processing unit, a registration code according to the registration sub-code includes:
the processing unit acquires the WeChat sun code picture according to the registration subcode;
the processing unit generates the device code according to the binding information;
and the processing unit codes and synthesizes the WeChat sun code picture and the equipment into a second registration code, wherein the registration code comprises the second registration code.
In a possible implementation manner of the present application, after the processing unit obtains the production information sent by the server, the method for configuring 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.
In a possible implementation manner of the present application, the generating, by the device, the feedback prompt according to the matching information includes:
the device generates a sound prompt and/or a light prompt.
According to another aspect of the present application, there is provided a system for configuring a registration code, including:
the server is used for generating the production information of the equipment according to the production information generation method, and the production information comprises a registration subcode and binding information;
the processing unit is used for acquiring the production information sent by the server;
the processing unit generates a registration code according to the registration subcode and generates a configuration instruction according to the binding information;
the processing unit sends the configuration instruction to a plurality of devices;
the processing unit configures the registration code to the device according to a feedback prompt
The equipment comprises a plurality of pieces of equipment, a plurality of pieces of equipment and a plurality of control units, wherein the equipment is used for generating matching information according to the configuration instruction and equipment codes and/or the equipment unique identifiers of the equipment;
when the matching information indicates the equipment code of one equipment and the equipment code in the binding information in the configuration instruction; and/or when the matching information shows that the equipment unique identifier of the equipment is successfully matched with the equipment unique identifier in the binding information in the configuration instruction, the equipment generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit;
the processing unit is in communication connection with the server and the equipment respectively.
According to the configuration method of the production information, the plurality of registration sub-codes are generated by utilizing the plurality of equipment codes in advance, then the equipment unique identifier is bound with one registration sub-code randomly, and the equipment code used by the bound registration sub-code is also determined, so that the equipment code and the equipment unique identifier are bound together. Thereby generating the corresponding relation among the unique device identification, the registration subcode and the device code.
According to the method and the device, when the corresponding relation between the unique equipment identifier and the registration subcode is determined, the matching is performed in a random matching mode, so that compared with the existing mode that the unique equipment identifier and the equipment code are required to be matched in a one-to-one correspondence mode according to the preset rule, the process of searching the corresponding equipment code according to the preset corresponding relation through the unique equipment identifier can be omitted, the time consumed by work can be reduced, and the work efficiency can be improved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic flow chart illustrating a method for generating production information according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a method for generating production information according to another embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a method for generating production information according to another embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a method for configuring a registration code according to another embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a method for configuring a registration code according to another embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a process of acquiring request information by the server in step S10 in a method for configuring a registration code according to another embodiment of the present application;
fig. 7 is a schematic flowchart illustrating a method for configuring a registration code according to another embodiment of the present application;
fig. 8 is a schematic flowchart illustrating a method for configuring a registration code according to another embodiment of the present application;
fig. 9 is a schematic flowchart illustrating a method for configuring a registration code according to another embodiment of the present application;
fig. 10 is a schematic structural diagram illustrating a configuration system of a registration code according to another embodiment of the present application;
Detailed Description
In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise. All directional indicators in the embodiments of the present application (such as upper, lower, left, right, front, rear, top, bottom … …) are only used to explain the relative positional relationship between the components, the movement, etc. in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or internet of things terminal that includes a series of steps or elements is not limited to the listed steps or elements, but may alternatively include additional steps or elements not listed, or alternatively include additional steps or elements inherent to such process, method, system, article, or internet of things terminal.
Furthermore, reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Exemplary method
According to an aspect of the present application, as shown in fig. 1, the present application provides a method for generating production information, including:
step S10: acquiring request information, wherein the request information is used for identifying production information of the device 501 requested to be acquired, and the request information comprises a device batch code and a device unique identifier of the device 501;
step S20: randomly acquiring a registration subcode in a database according to the equipment batch code and the equipment unique identifier, wherein the registration subcode is uniquely corresponding to the equipment unique identifier; and matching the unique equipment identifier with a uniquely corresponding registration subcode according to a rule, wherein the rule does not correspond the unique equipment identifier with the registration subcode one by one in advance. In the process, the corresponding relation between the unique equipment identifier and the registration subcode is uncertain, and the matching is carried out according to a random corresponding rule, wherein the random corresponding rule specifically comprises the following steps: only one device unique identifier needs to be uniquely corresponding to one registration subcode. The specific matching pattern is illustrated by way of example as follows, for example: when matching is performed, the first device unique identifier can be randomly paired with any one of the 100 existing registration sub-codes, for example, after the first device unique identifier is paired with the one hundred th registration sub-code; when the second device unique identifier is paired, the second device unique identifier can be randomly paired with any one of the remaining first to ninety-ninth registration subcodes, and so on, when the third device unique identifier is paired, the third device unique identifier can be randomly paired with any one of the remaining ninety-eight registration subcodes; and according to the rule, matching all the unique equipment identifications.
Step S30: acquiring a device code of the device 501; the device code obtained in this step is a device code having a correspondence with the registration subcode. Because the registration subcodes are derived from the device codes, each registration subcode will uniquely correspond to a device code. In actual operation, when the device unique identifier acquires the corresponding registration sub-code in the database in step S20, the device 501 that generated the registration sub-code is also acquired together.
Step S40: binding the unique equipment identifier with the equipment code to generate binding information; and
and binding the binding information with the registration subcodes to generate production information. And the binding of the corresponding relation among the unique equipment identifier, the equipment code and the registration subcode is completed in the step. Therefore, the original operation mode of corresponding the unique device identification, the device code and the registration sub-code together according to the pre-specified corresponding rule is changed. The random matching is firstly carried out on the unique equipment identifier and the registration subcodes, and the corresponding relation is generated according to the matching result after the matching is finished, so that the time consumed for searching the corresponding equipment code according to the preset corresponding relation through the unique equipment identifier can be saved, and the working efficiency is improved.
In one possible implementation manner of the present application, as shown in fig. 2, in step S20: before randomly acquiring the registration subcode in the database according to the equipment batch code and the equipment unique identifier, the method for generating the production information further comprises the following steps:
step S11: acquiring registration instructions of a plurality of devices 501, and generating device codes of the plurality of devices 501 according to the registration instructions in a one-to-one correspondence manner; the content of the registration instruction may specifically include the device batch code and the number of generated device codes. Such as: the equipment batch code is: 12334524 and generate 100 device codes of the device 501, after the input, the server 503 will automatically generate 100 corresponding device codes according to the generation rule of the device code with the production lot 12334524, and each device code corresponds to one device 501.
Step S12: respectively acquiring a plurality of WeChat sun code pictures in one-to-one correspondence according to a plurality of equipment codes; the server 503 registers and generates a return WeChat Sun code picture using an Application Program Interface (API) provided by each device code to the WeChat public platform.
Step S13: generating a corresponding registration subcode according to the storage position of each WeChat sun code picture; the generated WeChat solar code pictures are stored into a designated picture storage, and then an acquisition link of the WeChat solar code is generated according to the placement position of each WeChat solar code picture, and the acquisition link of the WeChat solar code is also a registration subcode. Since the registration subcode is sent to the processing unit 502 later along with the production information, in order to reduce the amount of data transmitted, an acquisition link for sending the WeChat Sun code needs to be generated.
Step S14: and storing the plurality of registration subcodes into a database to generate a database. The database not only comprises a plurality of registration subcodes, but also comprises corresponding equipment batch codes, and the registration subcodes in the database are used for matching with the unique equipment identification. Meanwhile, the database including the same equipment lot code in step S14 may be found according to the equipment lot code in step S20. Thereby further ensuring the accuracy of the matching.
In one possible implementation manner of the present application, as shown in fig. 3, in step S10: after the request information is acquired, the method for generating the production information further comprises the following steps:
step S15: and when the request information is the same as the request information received in the history, configuring the registration subcode obtained by the request information received in the history as the registration subcode corresponding to the request information. The step is a verification step, that is, before step S20 is performed each time, the received request information and the request information received historically need to be compared, and when the received request information is the same as the request information received historically, the registration sub-code obtained from the request information received historically is directly configured as the registration sub-code corresponding to the request information without performing the operation of step S20 again, so that it is possible to prevent that, after the same request information is sent by an operator through misoperation, the unique device identifier in each request information is matched with a different registration sub-code, and further, the number of the remaining unique device identifiers and the number of the remaining registration sub-codes to be matched cannot be in one-to-one correspondence. Thus, it is possible to avoid the occurrence of an error due to an erroneous operation by an operator.
Exemplary method
According to another aspect of the present application, as shown in fig. 4, the present application provides a method for configuring a registration code, including:
step S100: the server 503 generates the production information of the device 501 according to the generation method of the production information in any embodiment, where the production information includes the registration subcode and the binding information;
step S200: the processing unit 502 acquires production information sent by the server 503; the processing unit 502 sends the request information to the server 503, and the server 503 acquires a corresponding piece of production information according to the equipment batch code and the unique equipment identification information in the acquired request information. The server 503 then sends the production information to the processing unit 502.
Step S300: the processing unit 502 generates a registration code according to the registration subcode, and generates a configuration instruction according to the binding information; the processing unit 502 correspondingly generates a registration code and a configuration instruction according to the registration subcode and the binding information in the production information.
Step S400: the processing unit 502 sends configuration instructions to the plurality of devices 501;
step S500: the multiple devices 501 respectively generate matching information according to the configuration instruction and the device code and/or the device unique identifier of the device 501; specifically, after the device 501 receives the configuration instruction, the device code and/or the unique device identifier of the device 501 may be compared with the device code and/or the unique device identifier in the configuration instruction one by one, and the comparison result is the matching information.
Step S600: when the matching information indicates a device code of the device 501 and a 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 501 is successfully matched with the device unique identifier in the binding information in the configuration instruction, the device 501 generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit 502; and when the comparison result is completely consistent, the matching is successful. At this time, the device 501 may send a feedback prompt to remind the worker, and at the same time, send the feedback prompt to the processing unit 502, where the feedback prompt is used to inform the processing unit 502 of which device 501 corresponds to which registration code. Therefore, when the processing unit 502 sends the configuration instruction, the configuration instructions of the multiple devices 501 can be sent at the same time, and meanwhile, the multiple devices 501 are searched and the corresponding registration codes are accurately configured for each device 501, so that the configuration efficiency of the registration codes of the devices 501, namely the internet of things terminals, can be further improved.
Optionally, as shown in fig. 5, step S600: the generating, by the device 501, the feedback prompt according to the matching information includes:
step S601: the device 501 emits an audible prompt and/or a light prompt. Feedback prompt is carried out on the working personnel through sound and/or light, and the working personnel can find the corresponding equipment 501 more quickly.
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 device 501 according to the feedback prompt.
In one possible implementation manner of the present application, as shown in fig. 1, 4, and 6, step S10: the server 503 acquires the request information including:
step S101: the device 501 sends a corresponding device unique identifier to the processing unit 502; after the device 501 to be configured with the registration code is powered on, the device 501 automatically sends its unique device identifier to the processing unit 502, where the unique device identifier is used for the processing unit 502 to generate the request information in the later period. The device unique identification is typically the network physical address (MAC address) of the device 501.
Step S102: the processing unit 502 obtains the equipment lot code; the device lot code is a code shared by the devices 501 in the same production lot, and is used for distinguishing the production lots of products and also for distinguishing a plurality of devices 501 using the same device code in different production lots, so as to prevent mismatching when the registration code is configured. The equipment lot code may be manually entered into the processing unit 502 by an operator.
Step S103: the processing unit 502 generates request information according to the unique device identifier and the device batch code;
step S104: the processing unit 502 sends the request information to the server 503.
In one possible implementation manner of the present application, as shown in fig. 7, step S300: the processing unit 502 generating the registration code according to the registration subcode includes:
step S301: the processing unit 502 acquires a WeChat sun code picture according to the registration subcode; the processing unit 502 downloads the WeChat sun code picture according to the acquisition link of the registered subcode, i.e., the WeChat sun code picture.
Step S302: the processing unit 502 saves the WeChat Sun code picture as a first registration code, which includes the first registration code. The registration code is printed on an attachable carrier and then attached to the corresponding device 501.
In one possible implementation manner of the present application, as shown in fig. 8, step S300: the processing unit 502 generating the registration code according to the registration subcode includes:
step S303: the processing unit 502 acquires a WeChat sun code picture according to the registration subcode;
step S304: the processing unit 502 generates a device code according to the binding information;
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 suitable for use where the device 501 is marked with a corresponding device code. In this case, the printed second registration code is pasted on the package of the device 501. Because the registration code can be prevented from being pasted on the device 501, the simplicity and the aesthetic property of the appearance of the device 501 can be improved.
In one possible implementation manner of the present application, as shown in fig. 9, in step S200: after the processing unit 502 obtains the production information sent by the server 503, the method for configuring the registration code further includes:
step S201: the processing unit 502 generates a device code according to the binding information;
step S202: the processing unit 502 sends the device code to the corresponding device 501.
After the device code is sent to the corresponding device 501, the device code may be used to perform an encryption operation on the communication mode of the device 501, and since the device code is randomly matched with the unique device identifier, that is, the device code is randomly matched with the device 501, the device code of each device 501 is unknown before the processing unit 502 sends the device code to the corresponding device 501, thereby further improving the confidentiality of the related information of the device 501.
Exemplary System
According to another aspect of the present application, as shown in fig. 10, the present application provides a configuration system for a device 501 registration code, comprising:
the server 503 is configured to generate the production information of the device 501 according to any one of the above-mentioned methods for generating production information, where the production information includes a registration subcode and binding information;
a processing unit 502, configured to obtain production information sent by the server 503;
the processing unit 502 generates a registration code according to the registration subcode, and generates a configuration instruction according to the binding information;
the processing unit 502 sends configuration instructions to the plurality of devices 501;
the processing unit 502 configures the registration code to the device 501 according to the feedback prompt
The multiple devices 501 are configured to generate matching information according to the configuration instruction and the device code and/or the device unique identifier of the device 501, respectively;
when the matching information indicates a device code of the device 501 and a 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 501 is successfully matched with the device unique identifier in the binding information in the configuration instruction, the device 501 generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit 502;
the processing unit 502 is communicatively connected to the server 503 and the device 501, respectively.
In addition to the above method and the internet of things terminal, embodiments of the present application may also be a computer program product comprising computer program information which, when executed by a processor, causes the processor to perform the steps of a method of configuring production information according to various embodiments of the present application described in the present specification.
The computer program product may be written in any combination of programming languages, including an object oriented programming language such as Java, C + +, or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages, to produce information for use in performing the operations of embodiments of the present application. The program code may execute entirely on the user computing internet of things terminal, partly on the user computing internet of things terminal, as a stand-alone software package, partly on the user computing internet of things terminal, partly on the remote computing internet of things terminal, or entirely on the remote computing internet of things terminal or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program information which, when executed by a processor, causes the processor to perform the steps of one of the methods of configuring production information according to various embodiments of the present application.
A computer-readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of the devices, apparatuses, terminals of the internet of things, and systems referred to in this application are only used as illustrative examples and are not intended to require or imply that the connections, arrangements, and configurations must be made in the manner shown in the block diagrams. These devices, apparatuses, internet of things terminals, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that, in the device, the terminal and the method of the internet of things of the present application, each component or each step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and the like that fall within the spirit and principles of the present invention are intended to be included within the scope of the present invention.
Claims (10)
1. A method for generating production information, comprising:
acquiring request information, wherein the request information is used for identifying production information of equipment requested to be acquired, and the request information comprises an equipment batch code and an equipment unique identification of the equipment;
randomly acquiring a registration subcode in a database according to the equipment batch code and the equipment unique identifier, wherein the registration subcode is uniquely corresponding to the equipment unique identifier;
acquiring a device code of the device;
binding the unique equipment identifier with the equipment code to generate binding information; and
and binding the binding information with the registration subcode to generate production information.
2. The method for generating production information according to claim 1, wherein before randomly acquiring the registration subcode from the device batch code and the device unique identifier in the database, the method for generating production information further comprises:
acquiring registration instructions of a plurality of devices, and generating device codes of the plurality of devices in a one-to-one correspondence mode according to the registration instructions;
respectively acquiring a plurality of WeChat sun code pictures in one-to-one correspondence according to the equipment codes;
generating a corresponding registration subcode according to the storage position of each WeChat sun code picture;
and storing the plurality of registration subcodes into a database to generate the database.
3. The production information generation method according to claim 2, characterized in that: after the request information is acquired, the method for generating production information further includes:
and when the request information is the same as the request information received in history, configuring the registration subcode obtained by the request information received in history as the registration subcode corresponding to the request information.
4. A method for configuring a registration code, comprising:
the server generates production information of the device according to the production information generation method of any one of claims 1 to 3, the production information including a registration subcode and binding information;
the processing unit acquires the production information sent by the server;
the processing unit generates a registration code according to the registration subcode and generates a configuration instruction according to the binding information;
the processing unit sends the configuration instruction to a plurality of devices;
the plurality of devices respectively generate matching information according to the configuration instruction and the device codes and/or the unique device identifiers of the devices;
when the matching information indicates the equipment code of one equipment and the equipment code in the binding information in the configuration instruction; and/or when the matching information shows that the equipment unique identifier of the equipment is successfully matched with the equipment unique identifier in the binding information in the configuration instruction, the equipment generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit;
and the processing unit configures the registration code to the equipment according to the feedback prompt.
5. The method for configuring production information according to claim 4, wherein the server obtaining the request information includes:
the equipment sends a corresponding equipment unique identifier to the processing unit;
the processing unit acquires the equipment batch code;
the processing unit generates request information according to the unique equipment identifier and the batch code of the equipment;
and the processing unit sends the request information to the server.
6. The method of claim 4, wherein the generating, by the processing unit, the registration code according to the registration subcode comprises:
the processing unit acquires the WeChat sun code picture according to the registration subcode;
the processing unit stores the WeChat sun code picture as a first registration code, and the registration code comprises the first registration code.
7. The method of claim 4, wherein the generating, by the processing unit, the registration code according to the registration subcode comprises:
the processing unit acquires the WeChat sun code picture according to the registration subcode;
the processing unit generates the device code according to the binding information;
and the processing unit codes and synthesizes the WeChat sun code picture and the equipment into a second registration code, wherein the registration code comprises the second registration code.
8. The method for configuring registration code according to claim 4, wherein after the processing unit obtains the production information sent by the server, the method for configuring registration code further comprises:
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 method of configuring registration codes according to claim 4, wherein the device generating a feedback prompt according to the matching information comprises:
the device generates a sound prompt and/or a light prompt.
10. A system for configuring a registration code, comprising:
a server for generating production information of a device according to the production information generation method of any one of claims 1 to 3, the production information including a registration subcode and binding information;
the processing unit is used for acquiring the production information sent by the server;
the processing unit generates a registration code according to the registration subcode and generates a configuration instruction according to the binding information;
the processing unit sends the configuration instruction to a plurality of devices;
the processing unit configures the registration code to the device according to a feedback prompt
The equipment comprises a plurality of pieces of equipment, a plurality of pieces of equipment and a plurality of control units, wherein the equipment is used for generating matching information according to the configuration instruction and equipment codes and/or the equipment unique identifiers of the equipment;
when the matching information indicates the equipment code of one equipment and the equipment code in the binding information in the configuration instruction; and/or when the matching information shows that the equipment unique identifier of the equipment is successfully matched with the equipment unique identifier in the binding information in the configuration instruction, the equipment generates a feedback prompt according to the matching information and sends the feedback prompt to the processing unit;
the processing unit is in communication connection with the server and the equipment respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210018018.9A CN114417032A (en) | 2022-01-07 | 2022-01-07 | Production information generation method, registration code configuration method and configuration system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210018018.9A CN114417032A (en) | 2022-01-07 | 2022-01-07 | Production information generation method, registration code configuration method and configuration system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114417032A true CN114417032A (en) | 2022-04-29 |
Family
ID=81270654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210018018.9A Pending CN114417032A (en) | 2022-01-07 | 2022-01-07 | Production information generation method, registration code configuration method and configuration system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114417032A (en) |
-
2022
- 2022-01-07 CN CN202210018018.9A patent/CN114417032A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110290049B (en) | Message pushing method, server and computer readable storage medium | |
CN108196878A (en) | Method and device for generating application program installation package, electronic equipment and storage medium | |
CN108549799B (en) | Android permission management method and device, terminal and computer storage medium | |
CN104199706A (en) | Firmware upgrade method and device for eMMC | |
CN110875850B (en) | Firmware upgrading method and system, readable storage medium and terminal equipment | |
CN112416327A (en) | Project construction method and device, computer equipment and storage medium | |
CN112202747A (en) | Target device binding method and device, storage medium and electronic device | |
CN107078806A (en) | Optical transceiver apparatus and method | |
CN107656722B (en) | Data manipulation method, device and computer readable storage medium | |
CN1656451A (en) | Configuration of software applications on a target terminal | |
CN103491395A (en) | Peripheral extension method of smart television and smart television | |
US20170171198A1 (en) | Communication system and information processing method | |
CN108958786B (en) | Matching and updating processing method and device for refrigerator software | |
CN113115435B (en) | Activation processing method, device, equipment and storage medium | |
CN114417032A (en) | Production information generation method, registration code configuration method and configuration system | |
CN112448917B (en) | Website login method and device, readable medium and electronic equipment | |
CN110474825B (en) | Equipment access system, equipment access server method, application and equipment server | |
CN111797413A (en) | BIM model modification method, device, equipment and computer readable storage medium | |
CN111258625A (en) | Software flashing detection method and device, storage medium and electronic equipment | |
US20230143525A1 (en) | Electronic device, data usage method, and recording medium | |
CN111614487A (en) | Device upgrading system, method, electronic device and storage medium | |
CN111243189A (en) | Leasing method, server, leasing equipment and leasing system for mobile power supply | |
CN101197959B (en) | Terminal control method, system and equipment | |
WO2020019291A1 (en) | Information processing method, electronic device, server, and information processing system | |
CN106210898B (en) | Upgrading method and system for television terminal in network-free state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |