Method and system for processing barcode information of hardware equipment
By generating hardware identification codes in hardware devices and saving barcode information on the server side, the problem of low production efficiency and tampering risks caused by writing barcode information in equipment production is solved, and efficient and safe barcode management and unified filling of equipment are realized. .
Patent Information
- Application Number
- CN202011256878.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-11-11
AI Technical Summary
In the production of hardware equipment with existing technology, the writing of barcode information causes the equipment to be unable to be filled uniformly, resulting in low production efficiency, increased production costs, and the risk of tampering. In addition, if the barcode information needs to be supplemented in the later stages of equipment manufacturing, it must be returned to the production line for processing. .
By generating a unique hardware identification code inside the hardware device and saving the barcode information on the server side, after the device is turned on, the hardware identification code and barcode information are read through the production application program, bound, and sent to the server side to prevent the barcode information from being stored on the device. Saved internally.
It reduces the manufacturing process, prevents barcode information tampering, improves production efficiency and safety, reduces the impact of equipment maintenance and refilling, and reduces the risk of key information leakage.
Smart Images

Figure CN112380586B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment production, and in particular to a method and system for processing barcode information of hardware equipment. Background Art
[0002] Hardware devices are usually affixed with production or business-related barcodes. The most basic one is the barcode, which is divided into two categories. One is the barcode for production services, such as sequential numbers or serial numbers generated according to a certain rule; the other is the barcode that exists for business needs, such as the terminal number of the operator's equipment, some warranty codes, equipment business unique numbers, etc.
[0003] In some business scenarios, the device needs to automatically obtain information from one or more barcodes in order to meet service queries and other needs. In order to achieve this function, the existing practice is usually to write this information one by one into the hardware firmware or the file system of the hardware system when the hardware device is produced. The inventor found that in this way, each device needs to write different information, which may cause the problem of not being able to uniformly fill the equipment, or each device needs to be written and processed separately after filling. When the equipment is mass-produced, it will cause low production efficiency, increase process time, and increase production costs. In addition, the equipment business information is stored in the device, and there is a possibility of loss caused by malicious tampering. In addition, if a new business barcode needs to be added in the later stage of equipment manufacturing, it can only return to the production line for processing.
[0004] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for processing barcode information of a hardware device. In this solution, the barcode information is not stored inside the device, which can reduce the manufacturing process, and the barcode information cannot be tampered with. In addition, it is convenient for subsequent barcode expansion.
[0006] To achieve the above-mentioned purpose, the present invention provides a method for processing barcode information of hardware devices, the processing method comprising: providing multiple hardware devices, wherein each of the hardware devices includes a module carrying inherent information; generating a hardware identification code of each of the hardware devices according to the inherent information, and storing the hardware identification code inside the hardware device, wherein each of the hardware devices has a unique hardware identification code; batch-loading the multiple hardware devices in a system; after each of the hardware devices is turned on, reading the hardware identification code of the hardware device through a production use program in the loaded system; obtaining the barcode information of each of the hardware devices; the program running in the hardware device binds the hardware identification code and the barcode information of each of the hardware devices one by one, and sends them to a server.
[0007] In one embodiment of the present invention, the module carrying the inherent information includes: one or more of a mainboard, a computing module, and a network module.
[0008] In one embodiment of the present invention, the obtaining of the barcode information of each of the hardware devices includes: obtaining the barcode information of each of the hardware devices by scanning with a barcode scanner or by inputting.
[0009] In one embodiment of the present invention, the barcode includes a business barcode and a production sequence barcode, wherein the business barcode carries business capability information of the hardware device or business information to be processed.
[0010] In one embodiment of the present invention, the method also includes: after the hardware device is turned on, if a command is received to query or respond to the business capabilities of the hardware device, a hardware identification code is generated according to the inherent information; the barcode information corresponding to the hardware identification code is obtained from the server; and the business capabilities or business information to be processed of the hardware device are obtained according to the barcode information.
[0011] Based on the same inventive concept, the present invention also provides a system for processing barcode information of hardware devices, the system comprising: a hardware identification code generation module, a filling module, a production and use program, a barcode acquisition module, and a device operation program. The hardware identification code generation module is used to generate a hardware identification code of the hardware device itself according to inherent information and store the hardware identification code inside the hardware device, wherein the hardware device includes a module carrying the inherent information, and each of the hardware devices has a unique hardware identification code. The filling module is used to perform batch filling of multiple hardware devices in a system. The production and use program is arranged in the filling system and is also coupled with the hardware identification code generation module, and is used to read the hardware identification code of the hardware device itself through the production and use program in the filling system after the hardware device is turned on. The barcode acquisition module is used to obtain the barcode information of the hardware device. The device operation program is coupled with the production and use program and the barcode acquisition module, and is used to bind the hardware identification code and the barcode information of the hardware device and send them to the server.
[0012] In one embodiment of the present invention, the module carrying the inherent information includes: one or more of a mainboard, a computing module, and a network module.
[0013] In one embodiment of the present invention, the barcode acquisition module is used to acquire the barcode information of each of the hardware devices by scanning or inputting the barcode information.
[0014] In one embodiment of the present invention, the barcode includes a business barcode and a production sequence barcode, wherein the business barcode carries business capability information of the hardware device or business information to be processed.
[0015] In one embodiment of the present invention, the system also includes: a query and response module, which is used to generate a hardware identification code based on the inherent information after the hardware device is turned on, if a command to query or respond to the business capabilities of the hardware device is received; and obtain the barcode information corresponding to the hardware identification code from the server; and then obtain the business capabilities of the hardware device or the business information to be processed based on the barcode information.
[0016] Compared with the prior art, the method and system for processing the barcode information of hardware devices according to the present invention decouple the business barcode required by the device from the device hardware itself, and the barcode information and the binding relationship information between the barcode information and the hardware identification code are all stored on the server side. Because the barcode information is only input on the production line, the production process can control the input time period and number segment and other information, thereby avoiding the possibility of later tampering from the source; in addition, the devices on the production line can use the same system for unified filling, which can greatly improve efficiency; save time and cost; because the barcode information of the device is not stored inside the device, it has no effect on the re-maintenance and re-filling of the device system; because the barcode information of the device is not stored inside the device, it cannot be deliberately copied to imitate other devices to obtain service capabilities that do not belong to the device; in addition, the binding of the hardware identification code and the barcode on the production line is processed by a program running on the device, and the barcode information is directly sent back to the manufacturer, further reducing the risk of key information leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A method for processing barcode information of a hardware device according to an embodiment of the present invention;
[0018] Figure 2 A method for processing barcode information of a hardware device according to another embodiment of the present invention;
[0019] Figure 3 The invention relates to a system for processing barcode information of a hardware device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0021] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0022] In order to overcome the problems of the prior art, the present invention provides a method and system for processing barcode information of hardware devices, which stores the barcode information on a server and does not store any barcode information inside the device, thereby reducing the manufacturing process, and the barcode information cannot be tampered with, and is convenient for subsequent barcode expansion.
[0023] Figure 1 The invention relates to a method for processing barcode information of a hardware device according to an embodiment of the present invention. The method comprises: steps S1 to S5.
[0024] In step S1, a hardware identification code is generated according to the inherent information: a plurality of hardware devices are provided, wherein each of the hardware devices includes a module carrying the inherent information; a hardware identification code of each of the hardware devices is generated according to the inherent information, and the hardware identification code is stored inside the hardware device, wherein each of the hardware devices has a unique hardware identification code.
[0025] Specifically, the modules carrying inherent information include: one or more of a mainboard, a computing module, and a network module. The inherent information may be the serial number information of the supplier, especially the network card needs to contain a unique physical address. This type of information belongs to the attributes of the hardware itself, is not affected by the system, and will not change. The program extracts this type of information and generates a unique code by combining it according to certain rules. This code is the hardware identification code. The hardware identification code of each device is unique. The same algorithm will generate the same hardware identification code every time on the same device. Regardless of whether the system is reloaded or not, as long as the device hardware is not replaced, the hardware identification code will not change. However, if the module carrying the inherent information of the device changes, the hardware identification code will change.
[0026] In step S2, a plurality of hardware devices are systematically loaded in batches.
[0027] In step S3, the hardware identification code is read after the power is turned on: after each of the hardware devices is turned on, the hardware identification code of the hardware device itself is read through the production use program in the filled system;
[0028] In step S4, the barcode information of each of the hardware devices is obtained.
[0029] Specifically, the barcode includes a business barcode and a production sequence barcode, wherein the business barcode carries the business capability information of the hardware device or the business information to be processed. On the production line, the serial number and various business barcodes currently allocated for production are printed in advance and affixed to the device. When the device is turned on, the device interface will prompt the user to obtain the barcode information of each hardware device by scanning the barcode with a barcode scanner or by inputting the barcode.
[0030] In step S5, the hardware identification code is bound to the barcode information and sent to the server: the program running in the hardware device binds the hardware identification code and the barcode information of each hardware device one by one and sends them to the server. This server can be a cloud server or a local server. After the final production is completed, the data still needs to be transferred to the cloud server.
[0031] Because the hardware identification code of the hardware device itself retains a corresponding relationship with the barcode, you can use only the barcode on the outside of the body to perform business authorization, management and other operations when the device is not turned on; and use the hardware identification code to query, obtain and record the business status when the device is turned on.
[0032] Preferably, in order to perform a business query operation, such as Figure 2 As shown, the method for processing the barcode information of the hardware device further includes: steps S21 to S23.
[0033] In step S21, a hardware identification code is generated according to the inherent information: after the hardware device is powered on, if a command for querying or responding to the service capability of the hardware device is received, a hardware identification code is generated according to the inherent information.
[0034] In step S22, the barcode information corresponding to the hardware identification code is obtained from the server.
[0035] In step S23, the service capability of the hardware device or the service information to be processed is obtained according to the barcode information.
[0036] Figure 3 The invention relates to a system for processing barcode information of hardware equipment according to an embodiment of the present invention. The system comprises: a hardware identification code generation module 10, a filling module 11, a production and use program 12, a barcode acquisition module 13, and a device operation program 14.
[0037] The hardware identification code generation module 10 is used to generate a hardware identification code of the hardware device itself according to the inherent information and store the hardware identification code inside the hardware device, wherein the hardware device includes a module carrying the inherent information, and each of the hardware devices has a unique hardware identification code. The module carrying the inherent information includes: one or more of a mainboard, a computing module, and a network module.
[0038] The filling module 11 is used to systematically fill a plurality of the hardware devices in batches.
[0039] The production use program 12 is arranged in the system filled by the filling module 11 and is also coupled with the hardware identification code generation module 10 to read the hardware identification code of the hardware device itself after the hardware device is turned on.
[0040] The barcode acquisition module 13 is used to acquire the barcode information of the hardware device. Specifically, the barcode acquisition module 13 can acquire the barcode information of each of the hardware devices by scanning or inputting. The barcode includes a business barcode and a production sequence barcode, wherein the business barcode carries the business capability information of the hardware device or the business information to be processed.
[0041] The device operation program 14 is coupled with the production use program 12 and the barcode acquisition module 13, and is used to bind the hardware identification code and the barcode information of the hardware device and send them to the server.
[0042] Preferably, in order to perform business query operations, the system also includes: a query and response module, which is used to generate a hardware identification code based on the inherent information after the hardware device is turned on, if a command to query or respond to the business capabilities of the hardware device is received; then obtain the barcode information corresponding to the hardware identification code from the server; finally, obtain the business capabilities of the hardware device or the business information to be processed based on the barcode information.
[0043] Compared with the prior art, according to the method and system for processing the barcode information of hardware equipment in this embodiment, the business barcode required by the equipment is decoupled from the equipment hardware itself, and the corresponding information is stored on the server side. Because the information is input only on the production line, the production process can control the input time period and number segment and other information, thereby avoiding the possibility of later tampering from the source; in addition, the equipment on the production line can use the same system for unified filling, which can greatly improve efficiency; save time and cost; because the barcode information of the equipment is not stored inside the equipment, it has no effect on the re-maintenance and refilling of the equipment system; because the barcode information of the equipment is not stored inside the equipment, it cannot be deliberately copied to imitate other equipment to obtain service capabilities that do not belong to the equipment; in addition, the binding of the hardware identification code and the barcode on the production line is processed by a program running on the device, and the barcode information is sent directly back to the manufacturer, further reducing the risk of key information leakage.
[0044] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0045] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0046] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0047] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0048] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. A method for processing barcode information of a hardware device, characterized in that: The processing method comprises: Providing a plurality of hardware devices, wherein each of the hardware devices includes a module carrying inherent information; Generating a hardware identification code of each of the hardware devices according to the inherent information, and storing the hardware identification code inside the hardware device, wherein each of the hardware devices has a unique hardware identification code; Performing system filling of the plurality of hardware devices in batches; After each of the hardware devices is turned on, the hardware identification code of the hardware device itself is read through the production use program in the filled system; Obtaining barcode information of each of the hardware devices; and The program running in the hardware device binds the hardware identification code and the barcode information of each hardware device one by one and sends them to the server; Wherein, obtaining the barcode information of each of the hardware devices includes: Obtain barcode information of each of the hardware devices by scanning with a barcode scanner or by inputting the barcode; The barcode includes a business barcode and a production sequence barcode, wherein the business barcode carries business capability information of the hardware device or business information to be processed; The module carrying inherent information includes: one or more of a mainboard, a computing module, and a network module; Wherein, the method further comprises: After the hardware device is turned on, if a command to query or respond to the business capabilities of the hardware device is received, a hardware identification code is generated based on the inherent information; then the barcode information corresponding to the hardware identification code is obtained from the server; finally, the business capabilities of the hardware device or the business information to be processed is obtained based on the barcode information.
2. A system for processing barcode information of a hardware device, characterized in that: The system comprises: A hardware identification code generation module, used to generate a hardware identification code of the hardware device itself according to the inherent information and store the hardware identification code inside the hardware device, wherein the hardware device includes a module carrying the inherent information, and each of the hardware devices has a unique hardware identification code; A filling module, used for systematically filling a plurality of the hardware devices in batches; A production and use program is provided in the filling system, and the production and use program is also coupled with the hardware identification code generation module, and is used to read the hardware identification code of the hardware device itself after the hardware device is turned on; A barcode acquisition module, used to acquire the barcode information of the hardware device; and A device running program, coupled with the production and use program and the barcode acquisition module, is used to bind the hardware identification code of the hardware device and the barcode information, and send them to the server; The barcode acquisition module is used to acquire the barcode information of each of the hardware devices by scanning or inputting the barcode; The barcode includes a business barcode and a production sequence barcode, wherein the business barcode carries business capability information of the hardware device or business information to be processed; The module carrying inherent information includes: one or more of a mainboard, a computing module, and a network module; Wherein, the system further comprises: The query and response module is used to generate a hardware identification code according to the inherent information after the hardware device is turned on, if a command to query or respond to the business capabilities of the hardware device is received; and obtain the barcode information corresponding to the hardware identification code from the server; and then obtain the business capabilities of the hardware device or the business information to be processed according to the barcode information.
