CN110120977B - Equipment production serial number uploading method and system - Google Patents

Equipment production serial number uploading method and system Download PDF

Info

Publication number
CN110120977B
CN110120977B CN201910388400.7A CN201910388400A CN110120977B CN 110120977 B CN110120977 B CN 110120977B CN 201910388400 A CN201910388400 A CN 201910388400A CN 110120977 B CN110120977 B CN 110120977B
Authority
CN
China
Prior art keywords
serial number
client
scanning
target device
graphic code
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.)
Active
Application number
CN201910388400.7A
Other languages
Chinese (zh)
Other versions
CN110120977A (en
Inventor
胡侃伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN201910388400.7A priority Critical patent/CN110120977B/en
Publication of CN110120977A publication Critical patent/CN110120977A/en
Application granted granted Critical
Publication of CN110120977B publication Critical patent/CN110120977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The invention provides a method and a system for uploading a production serial number of equipment, wherein the method comprises the following steps: step S10, establishing communication connection between the client and the target device; step S20, scanning the graphic code on the target device to obtain the serial number corresponding to the graphic code, and storing the serial number in the client; step S30, the serial number stored in the client is sent to the target device and stored by the target device; step S40, after the target device is powered on, controlling the wireless module of the target device to establish a connection with the network and uploading the serial number to the server. Therefore, the serial number does not need to be manually input, so that the process of uploading the serial number is more convenient and accurate; and the serial number is uploaded to the server through the equipment, and compared with the method that the serial number is directly uploaded to the server through a mobile phone, the serial number is guaranteed to be successfully bound with the equipment, and the reliability of serial number uploading is improved.

Description

Equipment production serial number uploading method and system
Technical Field
The invention relates to the technical field of serial number uploading, in particular to a method and a system for uploading a production serial number of equipment.
Background
With the continuous development of the information age, data sharing has been applied to various fields, and provides support for analysis, decision making and information exchange. And for data sharing among the devices, support can be provided for after-sales problems of the devices or the use condition of the analysis devices. Data sharing among the devices is generally realized through the serial numbers, the serial numbers and the devices are bound by a user and then uploaded to a server, and the serial numbers serve as unique identifiers of the devices and share data with other platforms. In the traditional scheme, a user manually inputs a serial number at a client, and simultaneously issues the serial number to equipment and uploads the serial number to a server, namely a channel for data sharing between the equipment is established. In the scheme, the serial number is manually input in a troublesome manner and is easy to generate errors, and the serial number uploaded by the client cannot ensure that the serial number is stored in the equipment and bound, so that the uploading process is complicated and the reliability is low.
Therefore, a user needs to provide a convenient and reliable serial number uploading method.
Disclosure of Invention
The invention solves the problems that: the traditional serial number uploading process is complicated and low in reliability.
In order to solve the above problems, the present invention provides a method for uploading a serial number of equipment, including:
step S10, establishing communication connection between the client and the target device;
step S20, scanning the graphic code on the target device to obtain the serial number corresponding to the graphic code, and storing the serial number in the client;
step S30, the serial number stored in the client is sent to the target device and stored by the target device;
step S40, after the target device is powered on, controlling the wireless module of the target device to establish a connection with the network and uploading the serial number to the server.
Therefore, the sequence number is obtained by scanning the graphic code on the equipment and is sent to the equipment for storage, and the sequence number does not need to be manually input, so that the process of uploading the sequence number is more convenient and accurate; and the serial number is uploaded to the server through the equipment, and compared with the method that the serial number is directly uploaded to the server through a mobile phone, the serial number is guaranteed to be successfully bound with the equipment, and the reliability of serial number uploading is improved.
Optionally, in step S20, scanning the graphics code on the target device to obtain a serial number corresponding to the graphics code, and storing the serial number in the client, where the step includes: and continuously scanning the graphic codes on the adjacent target equipment to obtain the serial numbers corresponding to the graphic codes, and storing the serial numbers in the client when the serial numbers corresponding to the adjacent target equipment are continuous.
Therefore, the serial numbers corresponding to the adjacent target devices are continuous, the serial numbers stored by the client side are continuous, and the management of the serial numbers can be conveniently carried out.
Optionally, in step S20, scanning the graphics code on the target device to obtain a serial number corresponding to the graphics code, and storing the serial number in the client, where the step includes:
step S201, scanning the graphic code on the target device to obtain a serial number;
step S202, comparing the serial number obtained by current scanning with the serial number obtained by last scanning stored in the client, and judging whether the serial numbers obtained by two times of scanning are continuous or not;
step S203, if yes, storing the serial number obtained by current scanning in the client;
and step S204, if not, acquiring a serial number continuous to the serial number obtained by the last scanning, and storing the serial number in the client.
Therefore, whether the serial number obtained by scanning is matched with the target equipment can be determined by judging whether the serial number obtained by scanning twice is continuous, and the correct serial number is obtained when the serial number obtained by scanning is not matched with the target equipment, so that the situation that the target equipment is not corresponding to the serial number is avoided, and further the data sharing among the equipment is prevented from being influenced.
Optionally, in step S204, if not, obtaining a serial number consecutive to the serial number obtained in the last scanning, and storing the serial number in the client, further including:
step S2041, if the serial number obtained by the two-time scanning is not continuous, the target equipment is rescanned to obtain the serial number;
step S2042, comparing the serial number obtained by rescanning with the serial number stored in the client, and judging whether the serial number obtained by rescanning is repeated;
step S2043, if yes, replacing the graphic code on the target device, and after replacement, scanning a new graphic code to obtain a new serial number and storing the new serial number in the client;
step S2044, if not, storing the serial number obtained by rescanning in the client.
Therefore, the correct serial number can be further obtained through duplicate checking and judgment under the condition that the serial numbers obtained by current scanning and last scanning are not continuous, the condition that the target equipment is not corresponding to the serial number is avoided, and further the influence on data sharing among the equipment is avoided; and if the rescanned serial number is still repeated, the reason for the repetition can be judged to be misoperation or repeated printing, and timely repair after the repeated printing is facilitated.
Optionally, after the step S30 and before the step S40, the method further includes: and if the serial number is successfully issued, controlling the target equipment to display a special symbol.
Therefore, if the serial number is successfully issued to the target device for storage, the manufacturer can confirm the successful issuing by observing the special symbol and timely and directly acquire information.
Optionally, after the step S30 and before the step S40, the method further includes:
the control target device displays the last digit or the last two digits of the serial number.
Therefore, the last bit or the last two bits of the sequence code displayed by the target device can be compared with the last bit or the last two bits of the sequence number on the graphic code to further confirm that the sequence number is successfully issued.
The invention also aims to provide an equipment production serial number uploading system to solve the problems of complexity and low reliability of the traditional serial number uploading process.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
an equipment production serial number uploading system comprises a client, wherein the client comprises:
a connection module for establishing a communication connection between the client and a target device;
the scanning module is used for scanning the graphic code on the target equipment to obtain a serial number corresponding to the graphic code, and storing the serial number in the client;
the sending module is used for sending the serial number stored in the client to the target equipment and storing the serial number by the target equipment;
and the control module is used for controlling the wireless module of the target equipment to establish connection with the network and upload the serial number to the server after the target equipment is powered on.
Optionally, the client further includes a determining module;
the judging module is used for comparing the serial number obtained by the current scanning of the scanning module with the serial number obtained by the last scanning stored in the client and judging whether the serial numbers obtained by the two times of scanning are continuous or not;
the scanning module is also used for storing the serial number obtained by the current scanning in the client if the serial numbers obtained by the two times of scanning are continuous; and if the serial numbers obtained by the two scans are not continuous, acquiring the serial number continuous with the serial number obtained by the last scan, and storing the serial number in the client.
Optionally, the scanning module is further configured to rescan the target device to obtain the serial number if the serial number obtained by the two scanning operations is discontinuous; the judging module is also used for comparing the serial number obtained by the rescanning of the scanning module with the serial number stored in the client and judging whether the serial number obtained by rescanning is repeated.
Optionally, the control module is further configured to control the target device to display a special symbol if the serial number is successfully issued.
Compared with the prior art, the equipment production serial number uploading system and the equipment production serial number uploading method have similar advantages, and are not described again.
Drawings
FIG. 1 is a flowchart of an apparatus production serial number uploading method according to an embodiment of the present invention;
FIG. 2 is a flowchart of step S20 according to an embodiment of the present invention;
FIG. 3 is a flowchart of step S204 according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an apparatus serial number uploading system according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an apparatus serial number uploading system in an embodiment of the present invention.
Description of reference numerals:
the system comprises a connection module, a scanning module, a sending module, a control module and a judgment module, wherein the connection module is 1, the scanning module is 2, the sending module is 3, the control module is 4, and the judgment module is 5.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
As shown in fig. 1, it is a flowchart of an uploading method of serial numbers of equipment production in this embodiment; the equipment production serial number uploading method comprises the following steps:
step S10, establishing communication connection between the client and the target device;
the client can be a mobile terminal such as a mobile phone and a tablet providing a service program, and can also be a fixed terminal; the client and the target equipment can be in wireless connection or wired connection; the target device is the device to be scanned.
Step S20, scanning the graphic code on the target device to obtain the serial number corresponding to the graphic code, and storing the serial number in the client;
when the equipment enters the last production ring on the production line, the computer automatically generates a serial number according to the serial number of the equipment, the computer is connected with a printer to automatically generate a graphic code corresponding to the serial number, the graphic code can be a bar code or a two-dimensional code and the like, each equipment is attached with one graphic code, the serial number can be displayed on the graphic code, and the client scans the graphic code on the equipment so as to read the serial number. Before the serial number is sent to the device for storage, the device is not associated with the serial number.
Step S30, the serial number stored in the client is sent to the target device and stored by the target device;
after the serial number is issued to the target device for storage, the serial number is bound with the target device, and the serial number can be used as a unique identifier of the device.
Step S40, after the target device is powered on, controlling the wireless module of the target device to establish connection with the network and uploading the serial number to the server;
the wireless module of the target device can be connected with the router for networking, and after the serial number is uploaded to the server, the serial number can be used as a unique identifier of the device to share data with other platforms through the server.
Therefore, the serial number uploading method in the embodiment obtains the serial number by scanning the graphic code on the equipment and sends the serial number to the equipment for storage, and the serial number does not need to be manually input, so that the process of uploading the serial number is more convenient and accurate; and the serial number is uploaded to the server through the equipment, and compared with the method that the serial number is directly uploaded to the server through a mobile phone, the serial number is guaranteed to be successfully bound with the equipment, and the reliability of serial number uploading is improved.
In this embodiment, step S10, step S20, and step S30 are all completed in the equipment production process, and may be performed by a production staff-controlled client, or performed by an automated machine, and step S40 may be performed after the equipment production process is completed, or may be performed by a user-controlled client after the equipment enters the home of the user. After the serial number issuing process of one target device is completed, the client establishes connection with the next target device and repeats the scanning and issuing processes.
Optionally, step S20 includes: and continuously scanning the graphic codes on the adjacent target equipment to obtain the serial numbers corresponding to the graphic codes, and storing the serial numbers in the client when the serial numbers corresponding to the adjacent target equipment are continuous.
The adjacent target equipment refers to adjacent equipment to be scanned on the pipeline, and the serial number corresponding to the target equipment refers to the serial number corresponding to the graphic code attached to the target equipment. And entering the scanning process of the next equipment after the scanning process of one equipment is finished. The serial number includes a set of fields, and the serial number continuously refers to the value formed by the fields of the next serial number and the value formed by the fields of the previous serial number, wherein the difference is 1.
Therefore, the serial numbers corresponding to the adjacent target devices are continuous, the serial numbers stored by the client side are continuous, and the management of the serial numbers can be conveniently carried out.
Optionally, step S20 includes:
step S201, scanning the graphic code on the target device to obtain a serial number;
step S202, comparing the serial number obtained by current scanning with the serial number obtained by last scanning stored in the client, and judging whether the serial numbers obtained by two times of scanning are continuous or not;
step S203, if yes, storing the serial number obtained by current scanning in the client;
and step S204, if not, acquiring a serial number continuous to the serial number obtained by the last scanning, and storing the serial number in the client.
Assuming that the pipeline is sequentially provided with the target device A, B, C, D, in a normal state, the target device a is pasted with the graphic code a, the target device B is pasted with the graphic code B, the target device C is pasted with the graphic code C, the target device D is pasted with the graphic code D, the serial numbers corresponding to the graphic codes a, B, C, and D are consecutive, the serial numbers corresponding to the graphic codes a and B are respectively and successfully issued to the target device A, B, and the serial number uploading process of the target device C is being performed, the serial number obtained by the last scanning and stored in the client is the serial number corresponding to the graphic code B.
In a normal state, when the production staff controls the client to scan the graphic code on the target device C, the graphic code C should be scanned. Due to misoperation of production personnel, after the client is connected with the target device C, the graphic code b or the graphic code d may be scanned (the misoperation usually occurs in two adjacent target devices on the left and right sides), so that the currently scanned serial number is not the serial number corresponding to the graphic code C.
Under normal state, when the computer controls the printer to print out the graphic code, the graphic code corresponding to each device is unique. As there may be a situation of repeated printing, that is, when the graphic code of the target device C is printed, the graphic code B is repeatedly printed (repeated printing usually occurs between the current target device and the last target device), so that the graphic code on the target device C is the same as the graphic code on the target device B, and both are the graphic code B, and the serial number obtained by current scanning is not the serial number corresponding to the graphic code C.
In the above two cases, if the serial number obtained by current scanning is sent to the target device C, the serial number may not match the target device.
In step S203, if the serial numbers obtained by two scans are consecutive, it indicates that no misoperation or repeated printing has occurred, and the currently scanned serial number is represented by the serial number corresponding to the graphic code c in the above example.
In step S204, if the serial numbers obtained by two scans are not consecutive, it is indicated that an incorrect operation or repeated printing occurs, which is shown in the above example, the serial number consecutive to the serial number obtained by the last scan (i.e., the serial number corresponding to the graphic code b) refers to the serial number corresponding to the graphic code c, but is not the serial number corresponding to the graphic code a, i.e., consecutive to the serial number obtained by the last scan refers to unidirectional continuity, and is consistent with the pipeline.
In step S204, when an error operation occurs or printing is repeated, the graphic code corresponding to the target device is rescanned to obtain a serial number consecutive to the serial number obtained by the last scanning.
Therefore, the embodiment can determine whether the serial number obtained by scanning is matched with the target device by judging whether the serial number obtained by scanning twice is continuous or not, and obtain the correct serial number when the serial number obtained by scanning is not matched with the target device, so that the situation that the target device is not corresponding to the serial number is avoided, and further the influence on data sharing among devices is avoided.
Optionally, step S204 includes:
step S2041, if the serial number obtained by the two-time scanning is not continuous, the target equipment is rescanned to obtain the serial number;
step S2042, comparing the serial number obtained by rescanning with the serial number stored in the client, and judging whether the serial number obtained by rescanning is repeated;
step S2043, if yes, replacing the graphic code on the target device, and after replacement, scanning a new graphic code to obtain a new serial number and storing the new serial number in the client;
step S2044, if not, storing the serial number obtained by rescanning in the client.
In the above example, if the sequence numbers obtained by the current scanning and the last scanning are not consecutive, the graphic code on the target device C can be correctly scanned again, and the possibility of misoperation cannot occur in the rescan. If the serial number obtained by rescanning is repeated, the fact that the serial number is discontinuous due to repeated printing of the graphic code b when the current scanning is carried out is shown, and the graphic code on the target equipment C can be replaced to obtain the correct serial number; if the serial number obtained by rescanning is not repeated, the fact that the serial number is discontinuous due to the fact that the graphic code d is scanned by misoperation when the current scanning is carried out is shown, the serial number obtained by rescanning is correct, and the serial number obtained by rescanning can be directly stored in the client.
Therefore, the embodiment can further acquire the correct serial number by duplicate checking and judging under the condition that the serial numbers obtained by current scanning and last scanning are not continuous, thereby avoiding the condition that the target equipment and the serial number are not corresponding and further avoiding influencing data sharing among the equipment; and if the rescanned serial number is still repeated, the reason for the repetition can be judged to be misoperation or repeated printing, and timely repair after the repeated printing is facilitated.
Optionally, after the step S30 and before the step S40, the method further includes: and if the serial number is successfully issued, controlling the target equipment to display a special symbol. Therefore, if the serial number is successfully issued to the target device for storage, the manufacturer can confirm the successful issuing by observing the special symbol and timely and directly acquire information.
Optionally, after the step S30 and before the step S40, the method further includes:
the control target device displays the last digit or the last two digits of the serial number.
Therefore, the last bit or the last two bits of the sequence code displayed by the target device can be compared with the last bit or the last two bits of the sequence number on the graphic code to further confirm that the sequence number is successfully issued.
The embodiment further provides an equipment production serial number uploading system, which includes a client, where the client includes:
a connection module 1, configured to establish a communication connection between the client and a target device;
the scanning module 2 is used for scanning the graphic code on the target equipment to obtain a serial number corresponding to the graphic code, and storing the serial number in the client;
a sending module 3, configured to send the serial number stored in the client to the target device and store the serial number by the target device;
and the control module 4 is used for controlling the wireless module of the target equipment to establish connection with the network and upload the serial number to the server after the target equipment is powered on.
In this way, the device production serial number uploading system in this embodiment scans the graphic code on the device through the scanning module 2 in the client to obtain the serial number and sends the serial number to the device for storage, and the serial number does not need to be manually input, so that the process of uploading the serial number is more convenient and accurate; and the control module 4 in the client can upload the serial number to the server through the equipment under the power-on condition, which ensures that the serial number is successfully bound with the equipment and improves the reliability of serial number uploading compared with directly uploading the serial number to the server through a mobile phone.
Optionally, the sending module 3 includes an infrared module or a bluetooth module.
Optionally, the scanning module 2 is further configured to continuously scan the graphics codes on the adjacent target devices to obtain serial numbers corresponding to the graphics codes, and store the serial numbers in the client when the serial numbers corresponding to the adjacent target devices are continuous.
The adjacent target equipment refers to adjacent equipment to be scanned on the pipeline, and the serial number corresponding to the target equipment refers to the serial number corresponding to the graphic code attached to the target equipment. The serial number includes a set of fields, and the serial number continuously refers to the value formed by the fields of the next serial number and the value formed by the fields of the previous serial number, wherein the difference is 1. And entering the scanning process of the next equipment after the scanning process of one equipment is finished.
Therefore, the serial numbers corresponding to the adjacent target devices are continuous, the serial numbers stored by the client side are continuous, and the management of the serial numbers can be conveniently carried out.
Optionally, the client further includes:
the judging module 5 is used for comparing the serial number obtained by current scanning with the serial number obtained by last scanning stored in the client, and judging whether the serial numbers obtained by two times of scanning are continuous or not;
the scanning module 2 is further configured to store the serial number obtained by the current scanning in the client if the serial numbers obtained by the two scans are continuous; and if the serial numbers obtained by the two scans are not continuous, acquiring the serial number continuous with the serial number obtained by the last scan, and storing the serial number in the client.
Assuming that the pipeline is sequentially provided with the target device A, B, C, D, in a normal state, the target device a is pasted with the graphic code a, the target device B is pasted with the graphic code B, the target device C is pasted with the graphic code C, the target device D is pasted with the graphic code D, the serial numbers corresponding to the graphic codes a, B, C, D are consecutive, the serial numbers corresponding to the graphic codes a, B have been successfully issued to the target device A, B, and the serial number uploading process of the target device C is being performed, the serial number obtained by the last scanning and stored in the client is the serial number corresponding to the graphic code B.
In a normal state, when the production staff controls the client to scan the graphic code on the target device C, the scanning module 2 should scan the graphic code C. However, due to misoperation of a production staff, after the client is connected to the target device C, the scanning module 2 may scan the graphic code b or the graphic code d (the misoperation generally occurs in two target devices adjacent to each other on the left and right sides), so that the serial number currently scanned by the scanning module 2 is not the serial number corresponding to the graphic code C.
Under normal state, when the computer controls the printer to print out the graphic code, the graphic code corresponding to each device is unique. However, there may be a situation of repeated printing, that is, when the graphic code of the target device C is printed, the graphic code B is repeatedly printed (repeated printing usually occurs between the current target device and the last target device), so that the graphic code on the target device C is the same as the graphic code on the target device B, and both are the graphic code B, and the serial number currently scanned by the scanning module 2 is not the serial number corresponding to the graphic code C.
In the above two cases, if the sending module 3 of the client directly issues the serial number obtained by current scanning to the target device C, the serial number may not be matched with the target device.
If the serial numbers obtained by the two scans are continuous, it indicates that no misoperation or repeated printing occurs, and the serial number obtained by the scanning module 2 is currently scanned, which is represented by the serial number corresponding to the graphic code c in the above example.
If the serial numbers obtained by the two scans are not continuous, it indicates that an incorrect operation or repeated printing occurs, which is shown in the above example, the serial number obtained by the obtaining module 6 and continuous with the serial number obtained by the last scan (i.e., the serial number corresponding to the graphic code b) refers to the serial number corresponding to the graphic code c, but is not the serial number corresponding to the graphic code a, i.e., continuous with the serial number obtained by the last scan refers to unidirectional continuity, and is consistent with the pipeline.
When misoperation occurs or printing is repeated, the scanning module 2 rescans the graphic code corresponding to the target device to obtain a serial number which is continuous with the serial number obtained by the last scanning.
In this way, the serial number uploading system in this embodiment may further determine whether the serial number obtained by scanning by the scanning module 2 matches the target device by determining whether the serial number obtained by scanning twice is consecutive through the determining module 5, and obtain a correct serial number by the obtaining module 6 when the serial number obtained by scanning by the scanning module 2 does not match the target device, thereby avoiding a situation that the target device does not correspond to the serial number, and further avoiding affecting data sharing between devices.
Optionally, the scanning module 2 is further configured to rescan the target device to obtain the serial number if the serial numbers obtained by the two scans are not continuous;
the judging module 5 is further configured to compare the serial number obtained by rescanning by the scanning module 2 with the serial number stored in the client, and judge whether the serial number obtained by rescanning is repeated;
the scanning module 2 is further configured to replace the graphic code on the target device if the serial number obtained by rescanning is repeated, and scan a new graphic code after replacement to obtain a new serial number and store the new serial number in the client; and if the serial number obtained by rescanning is not repeated, storing the serial number obtained by rescanning in the client.
In the above example, if the serial numbers obtained by the current scanning and the last scanning of the scanning module 2 are not consecutive, the graphic code on the target device C can be correctly scanned again, and the possibility of misoperation cannot occur in the rescanning. If the serial number obtained by rescanning by the scanning module 2 is repeated, the fact that the serial number is discontinuous due to repeated printing of the graphic code b when the current scanning is carried out is shown, and the graphic code on the target equipment C can be replaced to obtain the correct serial number; if the serial number obtained by the rescanning of the scanning module 2 is not repeated, it indicates that the serial number is discontinuous due to the fact that the graphic code c is scanned by misoperation during the current scanning, and the serial number obtained by the rescanning of the scanning module 2 is correct, so that the serial number obtained by rescanning can be directly stored in the client.
Therefore, the serial number uploading system in the embodiment can acquire the correct serial number under the condition that the serial numbers obtained by the current scanning and the last scanning are not continuous, so that the condition that the target equipment is not corresponding to the serial number is avoided, and further the influence on data sharing among the equipment is avoided; and if the rescanned serial number is still repeated, the reason for the repetition can be judged to be misoperation or repeated printing, and timely repair after the repeated printing is facilitated.
Optionally, the control module 4 is further configured to control the target device to display a special symbol if the serial number is successfully issued. Therefore, if the serial number is successfully issued to the target device for storage, the manufacturer can confirm the successful issuing by observing the special symbol and timely and directly acquire information.
Optionally, the control module 4 is further configured to control the target device to display the last bit or the last two bits of the serial number.
Specifically, after the client enters the special mode, the control module 4 may control the target device to display the last bit or the last two bits of the sequence code, and compare the last bit or the last two bits of the sequence number on the graphic code, so as to further confirm that the sequence number is successfully issued.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. The method for uploading the production serial number of the equipment is applied to the production equipment and comprises the following steps:
step S10, establishing communication connection between the client and the target device;
step S20, scanning the graphic code on the target device to obtain the serial number corresponding to the graphic code, and storing the serial number in the client;
step S30, the serial number stored in the client is sent to the target device and stored by the target device, and the serial number and the target device are bound;
step S40, after the target device is powered on, controlling the wireless module of the target device to establish a connection with the network and uploading the serial number to the server.
2. The serial number uploading method according to claim 1, wherein the step S20 of scanning the graphic code on the target device to obtain a serial number corresponding to the graphic code, and storing the serial number in the client includes: and continuously scanning the graphic codes on the adjacent target equipment to obtain the serial numbers corresponding to the graphic codes, and storing the serial numbers in the client when the serial numbers corresponding to the adjacent target equipment are continuous.
3. The serial number uploading method according to claim 2, wherein the step S20 of scanning the graphic code on the target device to obtain a serial number corresponding to the graphic code, and storing the serial number in the client includes:
step S201, scanning the graphic code on the target device to obtain a serial number;
step S202, comparing the serial number obtained by current scanning with the serial number obtained by last scanning stored in the client, and judging whether the serial numbers obtained by two times of scanning are continuous or not;
step S203, if yes, storing the serial number obtained by current scanning in the client;
and step S204, if not, acquiring a serial number continuous to the serial number obtained by the last scanning, and storing the serial number in the client.
4. The serial number uploading method according to claim 3, wherein, in step S204, if no, acquiring a serial number consecutive to the serial number obtained from the last scan, and storing the serial number in the client, including:
step S2041, if the serial number obtained by the two-time scanning is not continuous, the target equipment is rescanned to obtain the serial number;
step S2042, comparing the serial number obtained by rescanning with the serial number stored in the client, and judging whether the serial number obtained by rescanning is repeated;
step S2043, if yes, replacing the graphic code on the target device, and after replacement, scanning a new graphic code to obtain a new serial number and storing the new serial number in the client;
step S2044, if not, storing the serial number obtained by rescanning in the client.
5. The serial number uploading method according to any one of claims 1 to 4, wherein after the step S30 and before the step S40, the method further comprises: and if the serial number is successfully issued, controlling the target equipment to display a special symbol.
6. The serial number uploading method according to any one of claims 1 to 4, wherein after the step S30 and before the step S40, the method further comprises:
the control target device displays the last digit or the last two digits of the serial number.
7. The utility model provides an equipment production serial number uploads system, is applied to the in-process of production facility, its characterized in that includes the client, the client includes:
a connection module (1) for establishing a communication connection between the client and a target device;
the scanning module (2) is used for scanning the graphic code on the target equipment to obtain a serial number corresponding to the graphic code, and storing the serial number in the client;
a sending module (3) for sending the serial number stored in the client to the target device and storing the serial number by the target device, and binding the serial number and the target device;
and the control module (4) is used for controlling the wireless module of the target equipment to establish connection with the network and upload the serial number to the server after the target equipment is powered on.
8. The serial number upload system of claim 7, wherein the client further comprises:
the judging module (5) is used for comparing the serial number obtained by the current scanning of the scanning module (2) with the serial number obtained by the last scanning stored in the client and judging whether the serial numbers obtained by the two times of scanning are continuous or not;
the scanning module (2) is also used for storing the serial number obtained by the current scanning in the client if the serial numbers obtained by the two times of scanning are continuous; and if the serial numbers obtained by the two scans are not continuous, acquiring the serial number continuous with the serial number obtained by the last scan, and storing the serial number in the client.
9. The serial number uploading system according to claim 8, wherein the scanning module (2) is further configured to rescan the target device to obtain the serial number if the serial numbers obtained by two scans are not consecutive; the judging module (5) is further configured to compare the serial number obtained by rescanning by the scanning module (2) with the serial number stored in the client, and judge whether the serial number obtained by rescanning is repeated.
10. The serial number uploading system according to claim 7, wherein the control module (4) is further configured to control the target device to display a special symbol if the serial number is successfully issued.
CN201910388400.7A 2019-05-10 2019-05-10 Equipment production serial number uploading method and system Active CN110120977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910388400.7A CN110120977B (en) 2019-05-10 2019-05-10 Equipment production serial number uploading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910388400.7A CN110120977B (en) 2019-05-10 2019-05-10 Equipment production serial number uploading method and system

Publications (2)

Publication Number Publication Date
CN110120977A CN110120977A (en) 2019-08-13
CN110120977B true CN110120977B (en) 2022-04-08

Family

ID=67522006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910388400.7A Active CN110120977B (en) 2019-05-10 2019-05-10 Equipment production serial number uploading method and system

Country Status (1)

Country Link
CN (1) CN110120977B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615165A (en) * 2009-08-06 2009-12-30 北京中星微电子有限公司 A kind of method and device that obtains the sequence number of USB device
CN102222282A (en) * 2011-06-23 2011-10-19 成都新易盛通信技术有限公司 Automatic tracing method suitable for optical module production
CN102750983A (en) * 2011-04-19 2012-10-24 上海博泰悦臻电子设备制造有限公司 Method and system for production test burning
CN105100279A (en) * 2015-08-31 2015-11-25 广东美的环境电器制造有限公司 Control method and device for household appliance
CN106413124A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Device binding method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2835574A1 (en) * 2012-11-28 2014-05-28 Craig Arnatt Method and system for the creation and delivery to a user of an automated, real time, online insurance policy and certificate of insurance for rental of a venue and/or equipment
WO2015077947A1 (en) * 2013-11-28 2015-06-04 任明 System for recovering lost device
US10685317B2 (en) * 2015-09-22 2020-06-16 United States Postal Service Trackable postage
CN107911337A (en) * 2017-10-11 2018-04-13 海信集团有限公司 A kind of apparatus bound method, server and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615165A (en) * 2009-08-06 2009-12-30 北京中星微电子有限公司 A kind of method and device that obtains the sequence number of USB device
CN102750983A (en) * 2011-04-19 2012-10-24 上海博泰悦臻电子设备制造有限公司 Method and system for production test burning
CN102222282A (en) * 2011-06-23 2011-10-19 成都新易盛通信技术有限公司 Automatic tracing method suitable for optical module production
CN106413124A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Device binding method and apparatus
CN105100279A (en) * 2015-08-31 2015-11-25 广东美的环境电器制造有限公司 Control method and device for household appliance

Also Published As

Publication number Publication date
CN110120977A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN106210102A (en) The method and device of radio upgrade handle firmware based on bluetooth BLE
CN102478797A (en) Monitoring system with configurable communication protocol
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
US20130299570A1 (en) Connection setting method using barcode pattern, connection setting system and user equipment thereof
US11499732B2 (en) Method, device and system for wireless networking of air conditioning unit
CN104598950A (en) Information write-in method and device
CN112346425B (en) Factory automation testing method, system, projection equipment and storage medium
CN104182779A (en) Method and equipment for programming product information
JP4821659B2 (en) Wireless communication setting device, wireless communication setting method, and program
CN110120977B (en) Equipment production serial number uploading method and system
CN112311574B (en) Network topology connection checking method, device and equipment
CN108738059B (en) WIFI module testing method and device
CN109032956B (en) Interface testing method and device
CN112232454A (en) Data writing method and system, terminal, household appliance and computer device
CN116057636A (en) Method for transmitting data from a medical device and medical device
CN112788576A (en) Equipment offline processing method and system, storage medium and electronic device
CN115374490A (en) Device and method for writing equipment identifier, storage medium and terminal
CN108898201B (en) Information association system and method for solar assembly
CN110100214A (en) Managing device and management method
CN215817653U (en) Electric power monitoring system
CN115802345A (en) Method, device and storage medium for accessing equipment to wireless network
JP2020052938A (en) Operation panel management system
CN101409625A (en) Method and apparatus for initializing USB interface modem
CN109286923B (en) Communication method based on Bluetooth
CN107944507A (en) Packaging products in boxes error-reporting method and its system

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
GR01 Patent grant
GR01 Patent grant