CN111522589A - Equipment label generation method, device and system - Google Patents

Equipment label generation method, device and system Download PDF

Info

Publication number
CN111522589A
CN111522589A CN202010302503.XA CN202010302503A CN111522589A CN 111522589 A CN111522589 A CN 111522589A CN 202010302503 A CN202010302503 A CN 202010302503A CN 111522589 A CN111522589 A CN 111522589A
Authority
CN
China
Prior art keywords
equipment
reading
serial number
model
device data
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
Application number
CN202010302503.XA
Other languages
Chinese (zh)
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.)
Shenzhen MicroBT Electronics Technology Co Ltd
Original Assignee
Shenzhen MicroBT Electronics Technology 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 Shenzhen MicroBT Electronics Technology Co Ltd filed Critical Shenzhen MicroBT Electronics Technology Co Ltd
Priority to CN202010302503.XA priority Critical patent/CN111522589A/en
Publication of CN111522589A publication Critical patent/CN111522589A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a method, a device and a system for generating an equipment label, wherein the method comprises the following steps: acquiring equipment data of equipment to be added with a label, wherein the equipment data comprises: device hardware parameters; extracting device data corresponding to the device tag content from the device data according to predefined device tag content; and generating a device tag according to the extracted device data. By adopting the embodiment of the invention, the equipment label generation efficiency can be effectively improved, and the labor cost can be reduced.

Description

Equipment label generation method, device and system
Technical Field
The invention relates to the technical field of equipment automation, in particular to a method, a device and a system for generating an equipment label.
Background
To distinguish the devices, a device label is usually affixed to the device, the label content including: name, model, etc. of the device.
The current device tag generation process is as follows: first, by manually collecting device tag content, including: the name, model, etc. of the device; then, the label content of the equipment is manually input into the computer, the label is generated according to the preset label format, and the computer is manually operated to drive the printer to print the label.
The existing equipment label generation method has the following problems:
firstly, the whole equipment label generation process needs manual participation for many times, the efficiency is low, the labor cost is high, and label data is possibly lost or modified due to human factors;
and secondly, the content of the equipment label is simple, only basic information of the equipment is included frequently, and the equipment of the same model shares one label, so that personalized customization cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a device label generation method, a device and a system, which aim to improve the device label generation efficiency and reduce the labor cost.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a device label generation method, which comprises the following steps:
acquiring equipment data of equipment to be added with a label, wherein the equipment data comprises: device hardware parameters;
extracting device data corresponding to the device tag content from the device data according to predefined device tag content;
and generating a device tag according to the extracted device data.
The device hardware parameters include: and at least one of the control board model, the force calculation board model, the serial number of each force calculation board and the version number of the chip on the force calculation board.
The device tag content includes a device serial number,
the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number;
reading an externally input equipment production serial number stored by the self;
the generating of the device tag according to the extracted device data includes:
combining the plant code and the equipment production serial number into an equipment serial number.
The device tag content includes a device serial number,
the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading an externally input equipment production serial number stored by the self; and the number of the first and second groups,
reading the model code or/and the equipment version from the computing board serial number; and/or the first and/or second light sources,
reading the model number of the force calculation board or/and the version number of a chip on the force calculation board from the hardware parameters of the equipment; and/or the first and/or second light sources,
reading a computational power level or/and a power consumption level from the device performance parameters; and/or the first and/or second light sources,
acquiring the offline time of equipment;
generating the device tag according to the extracted device data specifically includes: and forming the equipment serial number by the factory code, the equipment production serial number and one or any combination of the following parameters:
the model code, the equipment version, the computing board model, the version number of a chip on the computing board, the computing level, the power consumption level and the equipment offline time.
The device tag content comprises a product model, and the extracting the device data corresponding to the device tag content from the device data comprises:
reading any computation force plate serial number from the hardware parameters of the equipment, and reading a model code from the computation force plate serial number; reading the model of the force calculation board from the hardware parameters of the equipment;
the generating of the device tag according to the extracted device data includes:
and combining the model code and the force calculation board model into a product model of the equipment.
The device data further includes: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
the device tag content includes a product model number;
the extracting the device data corresponding to the device tag content from the device data includes:
reading any computation force plate serial number from the hardware parameters of the equipment, and reading a model code from the computation force plate serial number; reading the model of the force calculation board from the hardware parameters of the equipment; reading a computational power level and a power consumption level from the device performance parameters;
the generating of the device tag according to the extracted device data includes:
and combining the model code, the calculation board model, the calculation level and the power consumption level into a product model of the equipment.
The device tag content includes a customer order number, and the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number;
reading a factory order number which is stored by the self and input externally;
the generating of the device tag according to the extracted device data includes:
combining the factory code and the factory order number into a customer order number.
The device data further includes: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
the device tag content includes a customer order number;
the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading a factory order number which is stored by the self and input externally; reading a computational power level and a power consumption level from the device performance parameters;
the generating of the device tag according to the extracted device data includes:
combining the factory code, the factory order number, the computing power level, and the power consumption level into a customer order number.
The device hardware parameters are identified by the MAC address of the device;
after the device data of the device to be tagged is obtained and before the device data corresponding to the device tag content is extracted from the device data, the method further includes:
storing the equipment data to a local memory or a cloud server;
and after receiving an externally input tag generation request carrying the Media Access Control (MAC) address of the equipment, finding the equipment data of the equipment according to the MAC address.
An apparatus for device tag generation, the apparatus comprising:
the device data acquisition module is used for acquiring device data of the device to be added with the label, wherein the device data comprises: device hardware parameters;
the device tag generation module is used for extracting device data corresponding to the device tag content from the device data according to the predefined device tag content; and generating a device tag according to the extracted device data.
A device tag generation system comprising: a device to be added with a label and the device label generating device.
According to the embodiment of the invention, the equipment data of the equipment to be added with the label is obtained, and the equipment data comprises: device hardware parameters; extracting device data corresponding to the device tag content from the device data according to the predefined device tag content; and generating a device tag according to the extracted device data. Compared with the prior art, the scheme of comprehensively collecting the equipment data, extracting the data corresponding to the content of the equipment label from the equipment data and generating the equipment label does not need manual participation, improves the efficiency of generating the equipment label and reduces the labor cost.
Drawings
Fig. 1 is a flowchart of a device tag generation method according to an embodiment of the present invention;
fig. 2 is a flowchart of a device tag generation method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a device tag provided in accordance with another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus tag generation apparatus according to another embodiment of the present invention;
fig. 5 is a schematic diagram of a device tag generation system according to another embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of an apparatus tag generation method according to an embodiment of the present invention, and includes the following specific steps:
step 101: acquiring equipment data of equipment to be added with a label, wherein the equipment data comprises: device hardware parameters.
In an optional embodiment, the main execution body in this step is an equipment tag generation device, the equipment to be tagged is started to acquire equipment data of this equipment, and then the equipment data is sent out through connection with the equipment tag generation device, so that the equipment tag generation device acquires the equipment data of the equipment to be tagged.
Step 102: and extracting data corresponding to the device tag content from the device data according to the predefined device tag content.
Step 103: and generating a device tag according to the extracted device data.
In an optional embodiment, the device tag is obtained by combining one or more of device hardware parameters of the device data. For example: and if the predefined device label content comprises the device serial number, extracting the plant code and the device production serial number included by the device serial number from the device hardware parameters of the device data, and combining the plant code and the device production serial number into the device serial number.
The equipment label generation method provided by the embodiment of the invention automatically generates the equipment label for the equipment without manual participation, improves the efficiency and the accuracy of equipment label generation, and reduces the labor cost.
In an alternative embodiment, the device hardware parameters in step 101 include: and at least one of the control board model, the force calculation board model, the serial number of each force calculation board and the version number of the chip on the force calculation board.
In an optional embodiment, when the device tag content includes the device serial number, step 102 specifically includes: reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading an externally input equipment production serial number stored by the self;
step 103 specifically comprises: the plant code and the equipment production serial number are combined into an equipment serial number.
Or, in an optional embodiment, when the device tag content includes the device serial number, step 102 specifically includes: reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading an externally input equipment production serial number stored by the self; and at least one of:
reading a model code or/and an equipment version from the serial number of the force computing board, reading a model number of the force computing board or/and a version number of a chip on the force computing board from hardware parameters of the equipment, reading a force computing grade or/and a power consumption grade from performance parameters of the equipment, and acquiring the offline time of the equipment;
step 103 specifically comprises: and forming the equipment serial number by using the factory code, the equipment production serial number and one or any combination of the following parameters: the computer comprises a model code, an equipment version, a computing board model, a version number of a chip on the computing board, a computing level, a power consumption level and equipment offline time.
In an optional embodiment, when the device tag content includes a product model, step 102 specifically includes: reading any force calculation board serial number from the hardware parameters of the equipment, and reading a model code from the force calculation board serial number; reading the model of the force calculation board from the hardware parameters of the equipment;
step 103 specifically comprises: and combining the model code and the force calculation board model into a product model of the equipment.
In an alternative embodiment, the device data comprises: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
and, when the device tag content includes a product model, step 102 specifically includes: reading any force calculation board serial number from the hardware parameters of the equipment, and reading a model code from the force calculation board serial number; reading the model of the force calculation board from the hardware parameters of the equipment; reading a computational power level and a power consumption level from the equipment performance parameters;
step 103 specifically comprises: and combining the model code, the calculation board model, the calculation level and the power consumption level into a product model of the equipment.
In an optional embodiment, when the device tag content includes a customer order number, step 102 specifically includes: reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading a factory order number which is stored by the self and input externally;
step 103 specifically comprises: the factory code and factory order number are combined into a customer order number.
Alternatively, in an optional embodiment, the device data further includes: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
and, when the device tag content includes a customer order number, step 102 specifically includes: reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading a factory order number which is stored by the self and input externally; reading a computational power level and a power consumption level from the equipment performance parameters;
step 103 specifically comprises: the factory code, factory order number, effort level and power consumption level are combined into a customer order number.
In an alternative embodiment, the device hardware parameters are identified by the Media Access Control (MAC) address of the device;
and step 101 is followed by further comprising: storing the equipment data into a local memory or a cloud server; and after receiving an externally input tag generation request carrying the equipment MAC address, finding the equipment data of the equipment according to the MAC address.
Fig. 2 is a flowchart of a device tag generation method according to another embodiment of the present invention, which includes the following specific steps:
step 201: and after the equipment added with the equipment label is started, collecting the equipment data of the equipment.
The term equipment is used herein to refer generally to equipment that has just been taken off-line.
The device data includes: a device hardware parameter, and at least one of a device software parameter, a device performance parameter, and a device power consumption parameter. Wherein:
one) device hardware parameters include: the MAC address of the equipment, the model of the control panel, the model of the force calculation plate, the serial number of each force calculation plate, the version number of a chip on the force calculation plate, the power supply model and the like;
two) the device software parameters include: the version number of each software on the device;
if the device is a virtual coin calculation server, and the virtual coin calculation server and other virtual coin calculation servers jointly form a virtual coin calculation server pool, the virtual coin calculation server pool has an address of the virtual coin calculation server pool, the device software parameters further include: the address of the virtual currency computing server pool in which the device is located. Because the virtual coin computing server pool integrates a plurality of virtual coin computing servers and has more computing resources, the virtual coin computing server pool robs the virtual coin from the block chain by an independent identity, and the probability of robbing the virtual coin from the block chain is increased.
Third) the device performance parameters include: the device calculates force value, power consumption ratio (i.e. power consumption value/force value), power consumption level, etc.;
dividing the whole value range of the calculation force into a plurality of sub-ranges, wherein each sub-range corresponds to one grade, and determining the calculation force grade of the equipment according to the sub-range where the calculation force value of the equipment is located;
similarly, the whole value range of the power consumption is divided into a plurality of sub-ranges in the industry, each sub-range corresponds to a level, and the power consumption level of the device can be determined according to the sub-range in which the power consumption value of the device is located.
Four) the device power consumption parameters include: voltage, current, power, etc., in any combination.
Step 202: the device tag generation means acquires device data of the device from the device and stores the device data.
In practical application, the device label generating apparatus and each device having label requirements may be deployed in the same local area network, and an IP address may be allocated to the device label generating apparatus and each device according to an IP address field that can be allocated by the local area network.
After the device label generating device is started, according to the self-configured IP address field which can be allocated by the local area network, connection establishment with each IP address is actively tried, if the connection is established, a thread is established for the connection, and device data sent by the device corresponding to the connection is monitored on the thread. In step 201, after the device collects the device data, the device data is actively sent out through the connection with the device tag generating apparatus.
The device tag generation device can put the device data into a local memory, and can also send the device data to the cloud server, and the cloud server stores the device data.
Step 203: and the equipment label generating device receives an equipment label generating request carrying equipment identification information and acquires corresponding equipment data from all stored equipment data according to the equipment identification information.
Wherein the device identification information may be a device MAC address.
The source of the device tag generation request may be one of:
first, from the scanning gun. Specifically, after the device is offline, the scanning gun is manually held to scan the device MAC address attached to the device, and then the scanning gun sends the device MAC address to the device label generating apparatus;
and secondly, manual input is performed. Specifically, after the device is offline, the MAC address of the device attached to the device is manually read, and then the MAC address of the device is input to the device tag generation apparatus.
Step 204: the device tag generation device extracts device data corresponding to the device tag content of the device from the device data of the device according to predefined device tag content of the device, and generates a device tag according to the extracted device data.
The device tag content includes at least a device serial number and may also include one or a combination of a product model number, a customer order number.
The device serial number may be a combination of the following parameters:
firstly, the equipment serial number comprises: factory code and equipment production serial number;
secondly, the equipment serial number comprises: the factory code and the equipment production serial number further comprise: the power consumption of the computer is controlled by one or any combination of model codes, equipment versions, computing board models, version numbers of chips on the computing boards, computing power levels, power consumption levels and equipment offline time.
For example: when the equipment label includes the equipment serial number, and the equipment serial number includes: when a factory code, an equipment production serial number, a model code, an equipment version, an effort board model, a version number of a chip on the effort board, an effort level, a power consumption level and equipment offline time are used, the equipment tag generation device extracts equipment data corresponding to the equipment tag content of the equipment from the equipment data of the equipment as follows:
1) reading any force calculation board serial number from hardware parameters of equipment data, and reading a factory code, a model code and an equipment version from the force calculation board serial number;
the equipment data comprises a plurality of computing board serial numbers, and each computing board serial number comprises a factory code, a model code and an equipment version, so that the factory code, the model code and the equipment version can be read from any computing board serial number;
2) reading a production serial number of the equipment which is stored by the equipment and is input from the outside;
3) reading the model of the force calculation board and the version number of a chip on the force calculation board from the hardware parameters of the equipment data;
all chips on all force plates of the same device have the same version number.
4) Reading a computational power level and a power consumption level from performance parameters of the equipment data;
5) and taking the time when the device label generation request is received as the offline time of the device.
Generating the device tag according to the extracted device data specifically includes: and combining the obtained factory code, equipment production line number, model code, equipment version, force calculation board model number, chip version number on the force calculation board, force calculation level, power consumption level and equipment offline time into an equipment serial number.
The device serial number is a string of characters, usually represented in the form of a two-dimensional code or bar code.
An example of a device serial number is given below, as shown in fig. 3, and fig. 3 is a schematic diagram of a device tag provided in an embodiment of the present invention:
for example: the factory code, model code, calculation board model, power consumption grade, equipment off-line time, calculation grade and production flow number of one equipment are respectively as follows:
factory code (2 bit): HT;
model code (4bit, 16 scale representation): M14S;
force calculation plate model (2 bit): 14;
power consumption class (2 bit): 48;
device down time (6 bit): 191209, respectively;
computing power rating (3 bit): 070;
production run number (5 bit): 00744.
then the device serial number is: HTM14S 144819120907000744.
The 16-system model code is used for enabling the model code to occupy less bits and represent more models as much as possible.
The product model can be a combination of the following parameters:
the product model comprises: model code and calculation board model;
secondly, the product types comprise: the model code and the calculation board model further comprise: one or a combination of both computational and power consumption levels. When the device tag includes a product model, and the product model includes: when the model code, the calculation board model, the calculation level and the power consumption level are determined, the device tag generation apparatus extracts device data corresponding to the device tag content of the device from the device data of the device as follows:
1) reading any computation force plate serial number from hardware parameters of equipment data, and reading a model code from the computation force plate serial number;
2) reading the model of the force calculation board from the hardware parameters of the equipment data;
3) the computational power level and the power consumption level are read from performance parameters of the device data.
Generating the device tag according to the extracted device data specifically includes: and combining the acquired model code, the calculation board model, the calculation level and the power consumption level into a product model.
For example: the model code of a virtual coin computing device is M20S, the model number of the computer board is V1.4, and then the product model number of the virtual coin computing device is: M20S, V1.4. Where M20S is in decimal representation for easy direct viewing.
It should be noted that, in the device tag, the product model is for all people (including professionals and non-professionals) who use or know the device to know the product model of the device, and therefore, the product model is expressed in a direct explicit manner, for example, the model code is expressed in a decimal system; and device serial numbers are typically given to professionals as: the maintenance personnel can conveniently know the detailed information of the equipment, so the equipment serial number can contain the detailed information of the equipment beneficial to the equipment maintenance and the like, wherein the detailed information also contains information such as a model code and an hour plate model number which are necessary for the equipment maintenance, and meanwhile, in order to save space, the equipment serial number is usually represented in a more space-saving mode such as a two-dimensional code, wherein the model code can be represented in hexadecimal in order to represent more models. As shown in fig. 3, M14S in the serial number of the device is a model code expressed in hexadecimal, and M20S in the model number of the product is a model code expressed in decimal, which both represent the same model.
The customer order number may be a combination of the following parameters:
the client order number comprises: factory code and factory order number;
secondly, the customer order number comprises: the factory code and the factory order number, further comprising: one or a combination of both computational and power consumption levels.
When the device tag includes a customer order number, and the customer order number includes: when the factory code, the factory order number, the calculation power level, and the power consumption level are determined, the device tag generation apparatus extracts device data corresponding to the device tag content of the device from the device data of the device as follows:
1) reading any force calculation board serial number from hardware parameters of equipment data, and reading a factory code from the force calculation board serial number;
2) reading a factory order number of the equipment which is stored by the device and is input externally;
3) the computational power level and the power consumption level are read from performance parameters of the device data.
Generating the device tag according to the extracted device data specifically includes: and combining the acquired factory code, the factory order number, the calculation power level and the power consumption level into a customer order number.
For example: a virtual currency computing device having a factory code of HT, a factory order number of 0001, a computing power level of 70T, and a power consumption level of 48, has a customer order number of: HT, 0001, 70T, 48.
In the embodiment of the invention, the device label content or the device label typesetting rule can be respectively set for the devices of the same model or for each device according to different device models or/and different customer requirements. In addition, in step 204, when the device tag is generated according to the extracted device data, the device tag is generated according to the device tag typesetting rule of the device.
In practical applications, step 204 may be followed by: the apparatus drives a printer to print device labels.
The printer may be a two-dimensional code printer, a barcode printer, or the like, and the connection with the device label generation apparatus may be a wired connection or a wireless connection. Wired connections such as: ethernet, Universal Serial Bus (USB), controller area network bus (CAN), Universal Asynchronous Receiver Transmitter (UART), or parallel port, etc., and the wireless connection is as follows: wireless fidelity (WIFI) or fourth generation mobile communication network (4G) connections, etc. The final printed device label may include the product model number P/N, the customer Order number Order No and the device serial number SN as shown in FIG. 3.
The equipment label generating method provided by the embodiment of the invention has no manual work in the whole process and can participate in the streamlined operation process of equipment assembly, test, printing and packaging. Compared with the prior art, the method reduces manual intervention and improves the efficiency and accuracy of equipment label generation.
In addition, the equipment tag content is customized for different equipment independently, or the equipment tag content and the typesetting rule are customized independently, so that the equipment tag content of each equipment can be highly customized, and the tag content with the detailed equipment specification can be displayed.
The device in the embodiment of the present invention may be a virtual coin computing device, for example: a bitcoin computing device for computing a bitcoin,
the device tag generation apparatus in the embodiment of the present invention may be located on a fixed terminal or a mobile terminal, where the fixed terminal includes: personal Computers (PCs), etc., mobile terminals such as: tablet personal computers (PAD), cell phones, etc.
The connection mode between the device tag generation apparatus and the device in the embodiment of the present invention may be wired connection or wireless connection. Wired connections such as: ethernet, Universal Serial Bus (USB), controller area network bus (CAN), Universal Asynchronous Receiver Transmitter (UART), or parallel port, etc., and the wireless connection is as follows: wireless fidelity (WIFI) or fourth generation mobile communication network (4G) connections, etc.
In another embodiment, the invention also provides a device label generating device.
Fig. 4 is a schematic structural diagram of an apparatus tag generation apparatus provided in an embodiment of the present invention, where the apparatus includes:
an apparatus data obtaining module 401, configured to obtain apparatus data of an apparatus to be tagged, where the apparatus data includes: device hardware parameters;
a device tag generating module 402, configured to extract device data corresponding to device tag content from the device data according to predefined device tag content; and generating a device tag according to the extracted device data.
Further, the device tag content includes a device serial number;
the extracting, by the device tag generation module 402, the device data corresponding to the device tag content from the device data includes:
reading any force plate serial number from the hardware parameters of the equipment, and reading a factory code from the force plate serial number, wherein the hardware parameters of the equipment comprise: the model of the control panel, the model of the force calculating plate, the serial number of each force calculating plate and the version number of the chip on the force calculating plate; reading an externally input equipment production serial number stored by the self; and the number of the first and second groups,
reading the model code or/and the equipment version from the computing board serial number; and/or the first and/or second light sources,
reading the model number of the force calculation board or/and the version number of a chip on the force calculation board from the hardware parameters of the equipment; and/or the first and/or second light sources,
reading a computational power level or/and a power consumption level from the device performance parameters; and/or the first and/or second light sources,
acquiring the offline time of equipment;
the step of generating the device tag by the device tag generation module 402 according to the extracted device data specifically includes: and combining the factory code, the equipment production serial number and the model code or/and the equipment version or/and the power board model number or/and the version number of a chip on the power board or/and the power level or/and the power consumption level or/and the equipment offline time into an equipment serial number.
Further, the device tag content includes a product model;
the extracting, by the device tag generation module 402, the device data corresponding to the device tag content from the device data includes:
reading any computer power board serial number from the hardware parameters of the equipment, and reading the model code from the computer power board serial number, wherein the hardware parameters of the equipment comprise: the model of the control panel, the model of the force calculating plate, the serial number of each force calculating plate and the version number of the chip on the force calculating plate; reading the model of the force calculation board from the hardware parameters of the equipment; reading computational power levels and power consumption levels from the device performance parameters, the device data further comprising: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
the device tag generation module 402 generating the device tag according to the extracted device data includes:
and combining the model code, the calculation board model, the calculation level and the power consumption level into a product model of the equipment.
Further, the device tag content includes a customer order number;
the extracting, by the device tag generation module 402, the device data corresponding to the device tag content from the device data includes:
reading any force plate serial number from the hardware parameters of the equipment, and reading a factory code from the force plate serial number, wherein the hardware parameters of the equipment comprise: the model of the control panel, the model of the force calculating plate, the serial number of each force calculating plate and the version number of the chip on the force calculating plate; reading a factory order number which is stored by the self and input externally; reading computational power levels and power consumption levels from the device performance parameters, the device data further comprising: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
the device tag generation module 402 generating the device tag according to the extracted device data includes:
the factory code, factory order number, effort level and power consumption level are combined into a customer order number.
The hardware parameters of the equipment are identified by the MAC address of the equipment; the apparatus further comprises: the device data storage module 403 stores the device data after acquiring the device data of the device to be tagged and before extracting the device data corresponding to the device tag content from the device data.
Preferably, the device data obtaining module communicates with the device tag generating module through a Remote Procedure Call (RPC) interface, a Socket (Socket) interface, or a hypertext transfer protocol (HTTP) interface.
Preferably, the device is located on a fixed terminal or a mobile terminal.
In another embodiment, the present invention further provides a device tag generating system as shown in fig. 5, the system including: a device 501 to be tagged and a device tag generation apparatus 502 as above.
Preferably, the system further comprises: the cloud server 503 is connected to the internet,
the device is further used for storing the device data to a local memory or a cloud server after acquiring the device data of the device to be added with the tag;
and the device is further used for acquiring the equipment data from the cloud server before extracting the equipment tag content from the equipment data.
The connection mode between the equipment and the device is wired connection or wireless connection;
the wired connection is Ethernet, USB, CAN, UART or parallel port connection, and the wireless connection is WIFI or 4G connection.
Wherein the device is a virtual currency computing device.
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, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A device tag generation method, comprising:
acquiring equipment data of equipment to be added with a label, wherein the equipment data comprises: device hardware parameters;
extracting device data corresponding to the device tag content from the device data according to predefined device tag content;
and generating a device tag according to the extracted device data.
2. The method of claim 1, wherein the device hardware parameters comprise: and at least one of the control board model, the force calculation board model, the serial number of each force calculation board and the version number of the chip on the force calculation board.
3. The method of claim 2, wherein the device tag content includes a device serial number,
the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number;
reading an externally input equipment production serial number stored by the self;
the generating of the device tag according to the extracted device data includes:
combining the plant code and the equipment production serial number into an equipment serial number.
4. The method of claim 2, wherein the device tag content includes a device serial number,
the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading an externally input equipment production serial number stored by the self; and the number of the first and second groups,
reading the model code or/and the equipment version from the computing board serial number; and/or the first and/or second light sources,
reading the model number of the force calculation board or/and the version number of a chip on the force calculation board from the hardware parameters of the equipment; and/or the first and/or second light sources,
reading a computational power level or/and a power consumption level from the device performance parameters; and/or the first and/or second light sources,
acquiring the offline time of equipment;
generating the device tag according to the extracted device data specifically includes: and forming the equipment serial number by the factory code, the equipment production serial number and one or any combination of the following parameters:
the model code, the equipment version, the computing board model, the version number of a chip on the computing board, the computing level, the power consumption level and the equipment offline time.
5. The method of claim 2, wherein the device tag content comprises a product model number, and wherein extracting the device data corresponding to the device tag content from the device data comprises:
reading any computation force plate serial number from the hardware parameters of the equipment, and reading a model code from the computation force plate serial number; reading the model of the force calculation board from the hardware parameters of the equipment;
the generating of the device tag according to the extracted device data includes:
and combining the model code and the force calculation board model into a product model of the equipment.
6. The method of claim 2, wherein the device data further comprises: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
the device tag content includes a product model number;
the extracting the device data corresponding to the device tag content from the device data includes:
reading any computation force plate serial number from the hardware parameters of the equipment, and reading a model code from the computation force plate serial number; reading the model of the force calculation board from the hardware parameters of the equipment; reading a computational power level and a power consumption level from the device performance parameters;
the generating of the device tag according to the extracted device data includes:
and combining the model code, the calculation board model, the calculation level and the power consumption level into a product model of the equipment.
7. The method of claim 2, wherein the device tag content comprises a customer order number, and wherein extracting the device data corresponding to the device tag content from the device data comprises:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number;
reading a factory order number which is stored by the self and input externally;
the generating of the device tag according to the extracted device data includes:
combining the factory code and the factory order number into a customer order number.
8. The method of claim 2, wherein the device data further comprises: device performance parameters, the device performance parameters including: calculating a force level and a power consumption level;
the device tag content includes a customer order number;
the extracting the device data corresponding to the device tag content from the device data includes:
reading any force calculation board serial number from the hardware parameters of the equipment, and reading a factory code from the force calculation board serial number; reading a factory order number which is stored by the self and input externally; reading a computational power level and a power consumption level from the device performance parameters;
the generating of the device tag according to the extracted device data includes:
combining the factory code, the factory order number, the computing power level, and the power consumption level into a customer order number.
9. The method of claim 1, wherein the device hardware parameter is identified by a MAC address of the device;
after the device data of the device to be tagged is obtained and before the device data corresponding to the device tag content is extracted from the device data, the method further includes:
storing the equipment data to a local memory or a cloud server;
and after receiving an externally input tag generation request carrying the Media Access Control (MAC) address of the equipment, finding the equipment data of the equipment according to the MAC address.
10. An apparatus for generating a device tag, the apparatus comprising:
the device data acquisition module is used for acquiring device data of the device to be added with the label, wherein the device data comprises: device hardware parameters;
the device tag generation module is used for extracting device data corresponding to the device tag content from the device data according to the predefined device tag content; and generating a device tag according to the extracted device data.
11. A device tag generation system, comprising: a device to be tagged and a device tag generation apparatus as claimed in claim 10.
CN202010302503.XA 2020-04-17 2020-04-17 Equipment label generation method, device and system Pending CN111522589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010302503.XA CN111522589A (en) 2020-04-17 2020-04-17 Equipment label generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010302503.XA CN111522589A (en) 2020-04-17 2020-04-17 Equipment label generation method, device and system

Publications (1)

Publication Number Publication Date
CN111522589A true CN111522589A (en) 2020-08-11

Family

ID=71902712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010302503.XA Pending CN111522589A (en) 2020-04-17 2020-04-17 Equipment label generation method, device and system

Country Status (1)

Country Link
CN (1) CN111522589A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269981A (en) * 2020-11-17 2021-01-26 深圳杰微芯片科技有限公司 Block-based linkage computing power equipment data construction method, server and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710240A (en) * 2009-11-18 2010-05-19 深圳市九洲电器有限公司 Set-top box production control system
US20110121065A1 (en) * 2009-11-20 2011-05-26 Shahrokh Shahidzadeh Radio-frequency reconfigurations of microelctronic systems in commercial packages
CN104376341A (en) * 2014-09-05 2015-02-25 合肥美的电冰箱有限公司 Write-in method and system of sequence number of household appliance
CN107248040A (en) * 2017-06-12 2017-10-13 郑州云海信息技术有限公司 A kind of method and device for customizing the automatic fool proof control of information
CN108243264A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A kind of sequence number generation method and system
CN109034332A (en) * 2018-07-23 2018-12-18 珠海格力电器股份有限公司 Two-dimensional code generation method, device, electrical equipment and control device
CN109190361A (en) * 2018-08-14 2019-01-11 深圳市华旭科技开发有限公司 A kind of method, apparatus, system and readable storage medium that sequence number generates
CN110197520A (en) * 2019-04-25 2019-09-03 珠海格力电器股份有限公司 Label generating method, device, terminal device and computer readable storage medium
CN110858131A (en) * 2018-08-23 2020-03-03 神讯电脑(昆山)有限公司 System and method for automatically generating and printing labels

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710240A (en) * 2009-11-18 2010-05-19 深圳市九洲电器有限公司 Set-top box production control system
US20110121065A1 (en) * 2009-11-20 2011-05-26 Shahrokh Shahidzadeh Radio-frequency reconfigurations of microelctronic systems in commercial packages
CN104376341A (en) * 2014-09-05 2015-02-25 合肥美的电冰箱有限公司 Write-in method and system of sequence number of household appliance
CN108243264A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A kind of sequence number generation method and system
CN107248040A (en) * 2017-06-12 2017-10-13 郑州云海信息技术有限公司 A kind of method and device for customizing the automatic fool proof control of information
CN109034332A (en) * 2018-07-23 2018-12-18 珠海格力电器股份有限公司 Two-dimensional code generation method, device, electrical equipment and control device
CN109190361A (en) * 2018-08-14 2019-01-11 深圳市华旭科技开发有限公司 A kind of method, apparatus, system and readable storage medium that sequence number generates
CN110858131A (en) * 2018-08-23 2020-03-03 神讯电脑(昆山)有限公司 System and method for automatically generating and printing labels
CN110197520A (en) * 2019-04-25 2019-09-03 珠海格力电器股份有限公司 Label generating method, device, terminal device and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269981A (en) * 2020-11-17 2021-01-26 深圳杰微芯片科技有限公司 Block-based linkage computing power equipment data construction method, server and storage medium

Similar Documents

Publication Publication Date Title
CN108449407A (en) Multi-source heterogeneous coal mine safety monitoring collecting method
CN112671921A (en) Data transmission method and device, electronic equipment and readable storage medium
CN105139149B (en) A kind of method of quick counting server assets configuration information
CN107705472B (en) Time-space positioning module for billing, cloud billing system and method
CN112653760A (en) Cross-server file transmission method and device, electronic equipment and storage medium
CN111522589A (en) Equipment label generation method, device and system
CN112702228A (en) Service current limiting response method and device, electronic equipment and readable storage medium
CN104182811A (en) Base operation and maintenance management system of data centre and control method thereof
CN114491646A (en) Data desensitization method and device, electronic equipment and storage medium
CN114301670A (en) Terminal authentication method, device, equipment and medium based on IPV6 address
CN112541688A (en) Service data checking method and device, electronic equipment and computer storage medium
CN111506526A (en) Battery model identification method and device, electronic equipment and storage medium
CN113542301B (en) Interaction method and device, electronic equipment and storage medium
CN106407173B (en) A kind of on-line automatic this composing system of picture and text and its composition method
CN114884965A (en) Server capacity expansion decision method based on artificial intelligence and related equipment
CN114595321A (en) Question marking method and device, electronic equipment and storage medium
CN114691782A (en) Database table increment synchronization method and device and storage medium
CN114518993A (en) System performance monitoring method, device, equipment and medium based on business characteristics
CN114125024A (en) Audio transmission method, electronic device and readable storage medium
CN113206878A (en) Multi-terminal cluster networking communication control method and device, server and cluster networking
CN115204158B (en) Data isolation application method and device, electronic equipment and storage medium
JP2021033688A (en) Date generation apparatus, control method, and program
HK1082857A1 (en) System and method for assigning a network address to a wireless device
CN109194529B (en) Interaction method and device for virtual SIM card and server apdu
CN115658781A (en) Data acquisition method and device, electronic equipment and storage medium

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