CN109120736B - Equipment marking method, device, system, computer equipment and storage medium - Google Patents

Equipment marking method, device, system, computer equipment and storage medium Download PDF

Info

Publication number
CN109120736B
CN109120736B CN201810903416.2A CN201810903416A CN109120736B CN 109120736 B CN109120736 B CN 109120736B CN 201810903416 A CN201810903416 A CN 201810903416A CN 109120736 B CN109120736 B CN 109120736B
Authority
CN
China
Prior art keywords
equipment
information
marked
mac address
address
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
CN201810903416.2A
Other languages
Chinese (zh)
Other versions
CN109120736A (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.)
Shenzhen Soniq Digital Smart Solution Ltd
Original Assignee
Lianyungang Quatius Digital 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 Lianyungang Quatius Digital Technology Co ltd filed Critical Lianyungang Quatius Digital Technology Co ltd
Priority to CN201810903416.2A priority Critical patent/CN109120736B/en
Publication of CN109120736A publication Critical patent/CN109120736A/en
Application granted granted Critical
Publication of CN109120736B publication Critical patent/CN109120736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Abstract

The invention relates to a device marking method, a device, a system, computer equipment and a storage medium, and belongs to the technical field of electronics. The method comprises the following steps: acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; acquiring second equipment information of equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and when the first equipment information is matched with the second equipment information, marking the equipment to be marked according to the first equipment information and the position information. Above-mentioned technical scheme has solved the problem of marking inefficiency to equipment. The equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the marking efficiency of the equipment is effectively improved.

Description

Equipment marking method, device, system, computer equipment and storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a device identification method, apparatus, system, computer device, and storage medium.
Background
With the development of technological progress, electronic devices are increasingly applied to various fields of life and work. Since the device may be installed in a different environment or store after shipment, indicating device information, an installation location, a use state, and the like of the device is an effective method of managing the device.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: at present, if equipment needs to be marked, information such as an MAC address and an installation position of the equipment needs to be counted manually and recorded in a management system. However, this method not only needs to consume huge labor cost, but also has low statistical accuracy, which makes the marking efficiency of the device low.
Disclosure of Invention
Based on the above, the invention provides a device marking method, a device, a system, a computer device and a storage medium, which can effectively improve the marking efficiency of the device.
The content of the embodiment of the invention is as follows:
an apparatus labeling method comprising the steps of: acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; acquiring second equipment information of equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and when the first equipment information is matched with the second equipment information, marking the equipment to be marked according to the first equipment information and the position information.
In one embodiment, before the step of obtaining the second device information of the device to be identified, the method further includes: generating third equipment information for the equipment to be marked; and generating a feature code according to the third equipment information and the link address of the home terminal.
In one embodiment, the step of obtaining the second device information of the device to be identified includes: and receiving second equipment information uploaded by the scanning terminal through the link address after the scanning terminal scans the feature code.
In one embodiment, the step of obtaining the first device information and the location information of the device to be marked includes: receiving first equipment information and position information uploaded by the equipment to be marked through a marking interface; and the first equipment information is pre-stored in the equipment to be marked.
In one embodiment, the device information includes a MAC address; when the first device information is matched with the second device information, before the step of marking the device to be marked according to the first device information and the position information, the method further includes: and when the first MAC address is matched with the second MAC address, judging that the first equipment information is matched with the second equipment information.
In one embodiment, the device information includes a hardware ID; when the first device information is matched with the second device information, before the step of marking the device to be marked according to the first device information and the position information, the method further includes: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
In one embodiment, the location information includes an IP address; the step of marking the device to be marked according to the first device information and the position information comprises the following steps: carrying out uniqueness check on the MAC address according to the IP address; when the MAC address is unique, marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address.
In one embodiment, the step of identifying the device to be identified according to the first MAC address, the first hardware ID, and the IP address includes: determining the position of the equipment to be marked according to the IP address; and recording the first MAC address, the first hardware ID and the position, and marking the equipment to be marked as marked.
Correspondingly, an embodiment of the present invention provides an apparatus identifier, including: the first information acquisition module is used for acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; the second information acquisition module is used for acquiring second equipment information of the equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and the equipment marking module is used for marking the equipment to be marked according to the first equipment information and the position information when the first equipment information is matched with the second equipment information.
There is also provided an equipment marking system comprising: a server and a scanning terminal; the server is connected with the equipment to be marked; the server is used for acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; the scanning terminal is used for scanning the feature codes on the equipment to be marked and sending second equipment information of the equipment to be marked to the server; and the server is used for marking the equipment to be marked according to the first equipment information and the position information when the first equipment information is matched with the second equipment information.
According to the equipment marking method, device and system, the server receives first equipment information and position information sent by equipment to be marked, receives second equipment information obtained by scanning the feature codes on the equipment to be marked through the scanning terminal, compares the first equipment information with the second equipment information, and marks the equipment to be marked according to the first equipment information and the position information when the two pieces of information are matched. The related information of the equipment to be marked does not need to be counted manually, and meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, so that the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; acquiring second equipment information of equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and when the first equipment information is matched with the second equipment information, marking the equipment to be marked according to the first equipment information and the position information.
According to the computer equipment, the related information of the equipment to be marked does not need to be counted manually, meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; acquiring second equipment information of equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and when the first equipment information is matched with the second equipment information, marking the equipment to be marked according to the first equipment information and the position information.
According to the computer-readable storage medium, the related information of the equipment to be marked does not need to be counted manually, meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of an application environment for a device labeling method;
FIG. 2 is a flow diagram illustrating an apparatus labeling method according to an embodiment;
FIG. 3 is a schematic illustration of an embodiment of an apparatus to be labeled;
FIG. 4 is a schematic flow chart diagram illustrating an apparatus labeling method according to another embodiment;
FIG. 5 is a block diagram showing an internal configuration of a server in one embodiment;
FIG. 6 is a block diagram showing the structure of a device label apparatus according to an embodiment;
FIG. 7 is a block diagram showing the construction of an apparatus marking system according to an embodiment;
FIG. 8 shows an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The device labeling method provided by the application can be applied to the application environment shown in fig. 1. The device to be marked 101 uploads the device information and the position information to the server 102, meanwhile, the scanning terminal 103 uploads the corresponding device information to the server 102 by scanning the feature code on the device to be marked 101, and the server 102 marks the device to be marked according to the device information and the position information uploaded by the device to be marked and the scanning terminal. The device 101 to be marked may be various electronic or non-electronic devices, and may be, but is not limited to, a personal computer, a notebook computer, a smartphone, a tablet computer, a portable wearable device, a medical apparatus, a refrigerator, and an RFID device. The server 102 may be implemented by an independent server or a server cluster composed of a plurality of servers, and may be, but is not limited to, a PC computer, a cloud server, and a cloud system. The server 102 is used by a producer and an authorized user of the device to be identified. The scanning terminal 103 may be various terminals with scanning function, including but not limited to a smartphone, a scanner.
The embodiment of the invention provides a device marking method, a device, a system, computer equipment and a storage medium. The following are detailed below.
In one embodiment, as shown in FIG. 2, a device identification method is provided. Taking the application of the method to the server side in fig. 1 as an example for explanation, the method comprises the following steps:
s201, acquiring first equipment information and position information of equipment to be marked; and the first equipment information and the position information are sent by the equipment to be marked.
In this step, the device to be marked sends the first device information and the location information to the server.
The device to be marked is an electronic device or product capable of performing network communication with other devices, for example: can be a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, a medical appliance, a refrigerator, an RFID device, etc. The first device information may be any information related to a device, may include one information, or may include two or more pieces of information. For example, it may be device model, size, function, MAC address, IP address, device hardware status, device software status, etc. information. The position information refers to information related to the position, and can be direct geographical position information; or information that can indirectly determine the position through a certain algorithm, such as: IP address, etc.
S202, acquiring second equipment information of equipment to be marked; and the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal.
In this step, the scanning terminal scans the feature code on the device to be marked, analyzes the second device information of the device to be marked, and uploads the second device information to the server. The scanning terminal can upload the second device information to the server in a network or non-network mode.
The scanning terminal may be various terminal devices having a scanning function, such as: smart phones, scanners, etc. The second device information may be any information related to the device. The contents of the second device information and the first device information may be identical or may not be identical. The signature code refers to a code containing device information. Can be a bar code, a one-dimensional code, a two-dimensional code, etc. The information corresponding to the feature code can be pasted and displayed on the surface of the equipment to be marked, and the scanning terminal can acquire the second equipment information contained in the feature code by scanning the feature code.
S203, when the first device information is matched with the second device information, marking the device to be marked according to the first device information and the position information.
In this step, the server compares the received first device information with the second device information, and when the first device information and the second device information are matched, the device to be marked is marked according to the first device information and the position information.
The matching of the first device information and the second device information may be that the first device information and the second device information have a certain association, or that the similarity satisfies a preset condition, or that the first device information and the second device information are consistent. The marking of the device to be marked may be recording device information, location information, hardware status, software status, etc. of the device to be marked, and marking the corresponding device to be marked as marked.
In the current society, devices (such as electronic products) are various, and the states of the devices are different due to different actual software states and hardware states. The similar devices are often installed in different environments or stores, and if the device identity information is not calibrated, users or merchants can only acquire the MAC address of the device through an electronic network, but the installation position, department, store, city, and the like where the devices are located need a lot of manpower and time for statistics. This will create a large hidden danger of use and maintenance for the identity status calibration of the device. According to the embodiment, the related information of the equipment to be marked does not need to be counted manually, and the equipment can be marked quickly when more equipment to be marked exists; meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, so that the equipment to be marked can be accurately marked on the basis of reducing the labor cost, the equipment marking efficiency is effectively improved, and the stability of the equipment marking process is ensured.
In an embodiment, before the step of obtaining the second device information of the device to be identified, the method further includes: generating third equipment information for the equipment to be marked; and generating a feature code according to the third equipment information and the link address of the home terminal.
The third device information may be any information related to the device, such as a MAC address. Meanwhile, the scanning terminal can access the server through a link address (URL) after scanning the feature code.
The server generates third device information for the device to be marked according to a preset rule, generates a corresponding feature code according to the generated third device information and the link address of the server, can provide a path for uploading information for the scanning terminal, and can realize centralized management of the device information.
In one embodiment, after the server generates the third device information, a process of storing the third device information may be further included.
In one embodiment, the step of obtaining second device information of the device to be identified includes: and receiving second equipment information uploaded by the scanning terminal through the link address after the scanning terminal scans the feature code.
The scanning terminal can automatically scan the feature code on the device to be marked, and the feature code can also be scanned by a user of the device to be marked or an authorized technician through the scanning device.
Taking the second device information including the MAC address and the hardware ID as an example, the process of the scanning terminal scanning the feature code to analyze the second device information and the link address therein may be:
the scanning terminal scans the feature code on the equipment to be marked to obtain the following information:
http://bind.soniq.com.cn/?mac=C81F6606FD37&id=1234567
according to a preset rule, the MAC address can be analyzed from the information as follows: C81F6606FD37, hardware ID: 1234567, and the link address at the end is http:// bind. Therefore, the scanning terminal can access http:// bind. soniq. com. cn and upload the second device information of C81F6606FD37+1234567 to the server.
In this embodiment, the scanning terminal can analyze the second feature information and the link address from the feature code, and upload the corresponding second device information to the server through the link address. The efficiency of information upload can be effectively improved, and then the efficiency that equipment marked is improved.
After the server generates the third device information, the scanning terminal generally scans the feature codes on the devices to be marked after a certain time and position change, and the second device information analyzed according to the feature codes may not correspond to the third device information generated by the server. For example, the third device information corresponds to the device 1, and the second device information obtained by scanning the feature code on the device 1 by the terminal corresponds to the device 2, which indicates that the feature code on the device 1 is wrong. It is necessary to check the second device information scanned by the scanning terminal.
In one embodiment, the scanning terminal may scan the feature codes on the devices to be marked and send the analyzed second device information to the server. And the server verifies the second equipment information according to the prestored third equipment information and feeds back the obtained initial verification result to the user in a display mode and the like. The initial verification result may be used in a marking process of the device to be marked.
After the second device information passes the verification, the server can control the printer to print the corresponding feature code. The user can paste the printed feature code on the corresponding device. As shown in fig. 3, a feature code is pasted on the device to be marked. The user can start to mark the equipment to be marked by scanning the two-dimensional code pasted on the equipment to be marked through the scanning terminal.
In one embodiment, the step of obtaining the first device information and the location information of the device to be marked includes: receiving first equipment information and position information uploaded by the equipment to be marked through a marking interface; and the first equipment information is pre-stored in the equipment to be marked.
The label interface refers to an interface capable of receiving information related to a label. The server is provided with a marking interface, the equipment to be marked can also be provided with a marking interface, and the two marking interfaces are connected together in a wired or wireless mode. The device to be marked can report the corresponding first device information, the position information and the like to the server through the connection.
In addition, the first device information may be stored in the memory of the device to be identified in advance.
In this embodiment, the device to be marked is connected to the server, and the device to be marked reads the first device information stored in advance and acquires the location information, and reports the information to the server through the network interface. The information sending mode is simple, meanwhile, the equipment to be marked directly uploads the information in the storage space of the equipment to be marked to the server, and the reliability of the first equipment information and the position information received by the server can be guaranteed.
In one embodiment, before the step of receiving the first device information and the position information uploaded by the device to be marked through the marking interface, the scanning terminal scans the feature codes attached to the device to be marked, analyzes the second device information in the feature codes, and sends the second device information to the burning device. And the burning equipment burns the second equipment information into the memory of the equipment to be marked. As shown in fig. 3, the memory of the device to be marked in fig. 3 is burned with the second device information.
The memory of the device to be marked may be a nonvolatile memory. And the information of the second equipment is ensured not to be lost, covered or mistakenly generated in the processes of power failure of the equipment to be marked, system upgrading and the like.
In the embodiment, the MAC + hardware ID is burned into the internal storage space of the marked device by a software means, and can be used as a primary protection of the marked device. Meanwhile, the subsequent upgrading of the system software by the user cannot cover the MAC + hardware ID, and the method has higher effects of fool-proofing and copy-proofing.
In an embodiment, after the device to be marked is installed, situations may occur that the first device information in the memory is not matched with the second device information in the feature code, the first device information is not unique, and the like, and if the information is directly used as the marking information of the device to be marked, the marking of the device may be inaccurate. Therefore, it is necessary to verify the first device information, the second device information, and the like. Therefore, after the scanning terminal sends the second device information to the server, the scanning terminal can send a mark verification request to the server, and the server verifies the first device information and the second device information according to the mark verification request.
The process of verifying the first device information and the second device information may include: the determination of the matching, uniqueness, etc. of the first device information and the second device information may also include a check of the binding relationship between the information contained in the first device information and the second device information, and of course, may also include other check manners.
In one embodiment, the device information includes a MAC address; when the first device information is matched with the second device information, before the step of marking the device to be marked according to the first device information and the position information, the method further includes: and when the first MAC address is matched with the second MAC address, judging that the first equipment information is matched with the second equipment information.
Wherein, the MAC address refers to the hardware address of the equipment to be marked; the hardware ID refers to the number, model, etc. of the device to be identified.
The MAC address and the hardware ID can be generated by the server, and the uniqueness of the information should be ensured as much as possible when the MAC address and the hardware ID are generated. After the server generates the MAC address and the hardware ID, a corresponding binding relationship between the MAC address and the hardware ID can be established. In addition, the server can store the MAC address, the hardware ID, and the binding relationship of the MAC address and the hardware ID in a classified manner.
Further, both the MAC address and the hardware ID may be generated in a conventional manner. The embodiment of the present invention does not limit the generation manner, format, bit number, etc. of the MAC address and the hardware ID, for example, the MAC address may be a 12-bit code in a 16-ary system, and the hardware ID may be a 2-bit code in a 16-ary system, or may be in other forms.
In this embodiment, whether the first device information and the second device information are matched is determined according to whether the first MAC address and the second MAC address are matched, so that an accurate matching determination result can be obtained.
In one embodiment, the device information includes a hardware ID; when the first device information is matched with the second device information, before the step of marking the device to be marked according to the first device information and the position information, the method further includes: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
In this embodiment, whether the first device information and the second device information are matched is determined according to whether the first hardware ID and the second hardware ID are matched, so that an accurate matching determination result can be obtained.
In an embodiment, after generating the MAC address and the hardware ID, the server may establish a binding relationship between the MAC address and the hardware ID, so that before the step of identifying the device to be identified according to the first device information and the location information, the method further includes: and when the first MAC address is matched with the second MAC address and the first hardware ID is matched with the second hardware ID, judging that the first equipment information is matched with the second equipment information. Namely, whether the binding relationship between the MAC address and the hardware ID sent by the device to be marked and the binding relationship between the MAC address and the hardware ID uploaded by the scanning terminal are matched is determined, and when the two binding relationships are matched, it is determined that the first device information is matched with the second device information.
In the embodiment, the MAC address and the hardware ID are combined to judge whether the first device information and the second device information are matched, and when the first device information and the second device information are matched, the marking device is marked, so that the accuracy of the information can be dually ensured, an accurate marking result can be obtained, and the situation that two or more pieces of marking information are identical or mixed up is prevented.
In one embodiment, the location information includes an IP address; the step of marking the device to be marked according to the first device information and the position information comprises the following steps: carrying out uniqueness check on the MAC address according to the IP address; when the MAC address is unique, marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address.
The process of implementing uniqueness check on the MAC address according to the IP address may be: judging whether the current MAC address corresponds to two IP addresses, if so, indicating that the MAC addresses of two devices are the same, and if marking the device to be marked according to the MAC address, then the situation of information confusion occurs when marking information of the device is required to be acquired subsequently. Thus, when a MAC address is not unique (the MAC address appears on two or more devices), then device identification is not performed, or one of the MAC addresses is changed.
The MAC addresses may be duplicated, that is, two identical devices or different devices have the same MAC identity, so that the embodiment performs uniqueness check on the MAC addresses, and only when the MAC addresses are unique, the device to be marked is marked. The reliability of the equipment marking result can be effectively ensured.
In one embodiment, before the matching check is performed on the first device information and the second device information, the uniqueness check may be performed on the MAC address, and if one or both of the first MAC address and the second MAC address are not unique, the subsequent matching check process is not performed. Therefore, when the MAC address is not unique, the subsequent steps can be omitted, and the efficiency of the marking process of the equipment to be marked is improved.
In one embodiment, before the device to be marked is marked, the device to be marked may be checked: and checking the matching of the MAC address, the matching of the hardware ID, the binding relationship of the MAC address and the hardware ID, the uniqueness of the MAC address, the initial checking result, the marking state of the MAC address and the hardware ID and the like. The equipment to be marked is judged to be checked to pass only when all the checking items in the equipment to be marked pass the checking, and the equipment to be marked is marked. The device to be marked can also be judged to be verified when one or more verification items fail to pass. If the equipment to be marked is judged not to pass the verification, the marking of the marked equipment can be finished, and the verification and marking process is carried out again after new equipment information and position information are obtained.
In addition, after the server receives the MAC address and the hardware ID uploaded by the device to be marked and the scanning terminal, the information uploaded by the two devices is compared, and the received information can be verified according to the MAC address and the hardware ID which are stored in advance.
In an embodiment, the step of identifying the device to be identified according to the first MAC address, the first hardware ID, and the IP address includes: determining the position of the equipment to be marked according to the IP address; and recording the first MAC address, the first hardware ID and the position, and marking the equipment to be marked as marked.
After the equipment to be marked is networked, the corresponding IP address can be obtained, and the position of the equipment to be marked can be determined according to the IP address.
In this embodiment, the first MAC address, the first hardware ID, and the location of the device to be marked are recorded, and the marking state of the device to be marked is changed to complete the marking process of the device to be marked.
In one embodiment, the process of device identification to be identified may be:
1) assuming that the information uploaded by the equipment to be marked through the marking interface is as follows:
the first MAC address is 00000000001 a, the first hardware ID is 0A, and the IP address is 00000000001B. Wherein 0A is a 4-channel RFID radio frequency transmitter.
2) The information analyzed by the scanning terminal for scanning the two-dimensional code on the surface of the equipment to be marked is as follows:
the second MAC address is 00000000001 a, the second hardware ID is 0A,
URL=http://bind.soniq.com.cn。
3) checking the matching of the MAC address and the hardware ID, the binding relationship of the MAC address and the hardware ID, the uniqueness of the MAC address, the initial checking result, the marking state of the MAC address and the hardware ID and the like:
the first MAC address is consistent with the second MAC address, the MAC address is unique (the same MAC address corresponds to no other IP address), the first hardware ID is consistent with the second hardware ID, the binding relationship of the MAC address and the hardware ID is consistent with the binding relationship of the MAC address and the hardware ID stored in the server in advance, the initial verification result is that the MAC address and the hardware ID are in an unmarked state, and the MAC address and the hardware ID are in a clear state. And considering that the equipment to be marked passes the verification.
4) Determining that the position of the equipment to be marked is in the store No. 1 according to the IP address, marking the equipment to be marked as marked equipment, and generating marking information for the equipment to be marked:
in store 1, the MAC address is 00000000001 a, the first hardware ID is 0A, and the IP address is 00000000001B.
In one embodiment, the process of marking the device to be marked may further be:
1) assuming that the information uploaded by the equipment to be marked through the marking interface is as follows:
the first MAC address is 00000000001 a, the first hardware ID is 0A, and the IP address is 00000000001B.
2) The information analyzed by the scanning terminal for scanning the two-dimensional code on the surface of the equipment to be marked is as follows:
the second MAC address is 00000000002 a, the second hardware ID is 1A, (where 1A is an 8-channel RFID radio frequency transmitter), and the URL is http:// bind.
3) Checking the matching of the MAC address and the hardware ID, the binding relationship of the MAC address and the hardware ID, the uniqueness of the MAC address, the initial checking result, the marking state of the MAC address and the hardware ID and the like:
the first MAC address and the second MAC address are inconsistent, the first MAC address and the second MAC address are both unique, the first hardware ID and the second hardware ID are inconsistent, the binding relationship of the first MAC address and the first hardware ID is consistent with the binding relationship of the first MAC address and the first hardware ID stored in the server in advance, the binding relationship of the second MAC address and the second hardware ID is consistent with the binding relationship of the second MAC address and the second hardware ID stored in the server in advance, the initial verification result of the first MAC address and the first hardware ID is passed, the initial verification result of the second MAC address and the second hardware ID is passed, and the MAC address and the hardware ID are in an unmarked state. Although the MAC address is unique, the information uploaded by the device to be marked and the scanning terminal is inconsistent, and the two-dimensional code on the device to be marked may not correspond to the device to be marked, which means that the device to be marked does not pass the verification. And marking the equipment to be marked as unmarked, and finishing marking the equipment to be marked.
In one embodiment, MAC addresses and hardware IDs, etc. may also be checked by devices other than the server, such as: and the fourth computer connected with the server, the equipment to be marked and the scanning terminal is used for completing the verification. The computer is connected with a hardware interface (USB, serial port, internet access and the like) of the equipment to be marked, and a first MAC address + a first hardware ID of the equipment to be marked are obtained through the hardware interface; acquiring a third MAC address + a third hardware ID pre-stored in a server; and acquiring a second MAC address + a second hardware ID of the scanning terminal. After the computer acquires the three groups of data, the three groups of data are verified, and if the three groups of data pass the verification, the following is shown: the first MAC address and the first hardware ID stored in the memory of the equipment to be marked are consistent with the second MAC address and the second hardware ID corresponding to the two-dimensional code attached to the equipment to be marked, the second MAC address and the second hardware ID are also consistent with the third MAC address and the third hardware ID which are stored in the server in advance and pass verification, and meanwhile, the binding relationship of the MAC address and the hardware ID passes verification, and the MAC addresses are not repeated.
The embodiment can realize the auditing and verification of software, hardware, two-dimension code labels, pre-stored data and other points of the equipment to be marked, greatly improves the error correction capability of software and hardware addresses of products, and effectively avoids a plurality of problems caused by the repetition of MAC addresses of the products.
In one embodiment, as shown in fig. 4, there is provided a device labeling method comprising the steps of:
s401, generating an MAC address and a hardware ID for the equipment to be marked; and generating a feature code according to the MAC address, the hardware ID and the link address of the home terminal.
S402, receiving a second MAC address and a second hardware ID uploaded by the scanning terminal through the link address after the scanning terminal scans the feature code.
S403, receiving a first MAC address, a first hardware ID and an IP address uploaded by the equipment to be marked through a marking interface.
S404, when the first MAC address is matched with the second MAC address and the first hardware ID is matched with the second hardware ID, the first equipment information is judged to be matched with the second equipment information.
S405, performing uniqueness check on the first MAC address according to the IP address.
S406, when the first MAC address is unique, determining the position of the equipment to be marked according to the IP address; and recording the first MAC address, the first hardware ID and the position, and marking the equipment to be marked as marked.
According to the embodiment, the related information of the equipment to be marked does not need to be counted manually, meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
In one embodiment, the server may be connected to a display device, a non-volatile memory, a feature code scanner, a hardware interface, and the like, and these structures function as: and the display device is used for displaying the information to be displayed in the server. And the nonvolatile memory is used for storing the MAC address, the hardware ID, the binding relationship between the MAC address and the hardware ID and other information in the server. And the characteristic code scanner is used for scanning the characteristic code generated by the server. And the hardware interface can be a keyboard, a mouse and the like and is used for interacting with a user.
In an embodiment, the schematic structural diagram in the server 102 may be as shown in fig. 5, where the server 102 includes an information labeling module, an information receiving module, an information pre-storing module, an audit verification module, a feature code generating module, a data output module, a labeling classification module, a code generating module, and a code binding module.
The functions of the above modules may be as follows:
the information marking module (i.e., the marking interface in the foregoing embodiment) is configured to connect to a device to be marked, and receive an MAC address, a hardware ID, an IP address, and the like sent by the device to be marked in a process of marking the device to be marked. Meanwhile, the two-dimensional code marking device can be connected with a scanning terminal, and the scanning terminal accesses the information marking module according to the link address after scanning the two-dimensional code on the device to be marked. The information receiving module is used for being connected with the equipment to be marked so as to receive information such as the MAC address, the RFID identification data and the software version uploaded by the equipment to be marked. The information prestoring module is used for storing the MAC address and the hardware ID generated by the information generating module, the binding relationship between the MAC address and the hardware ID, the two-dimensional code containing the link address and the like. The auditing and verifying module is used for verifying the MAC address, the hardware ID, the binding relationship between the MAC address and the hardware ID, the uniqueness of the MAC address and the like uploaded by the terminal. The two-dimension code generating module is used for generating a two-dimension code of the equipment to be marked according to a certain algorithm and the binding relation of the MAC address and the hardware ID. The data output module is used for outputting information such as MAC addresses, hardware IDs, equipment marking results, initial checking results and the like. And the marking classification module is used for classifying the auditing result of the auditing verification module and synchronizing the classifying result to the information prestoring module. The information generation module is used for generating information such as MAC addresses and hardware IDs according to a preset algorithm. The information binding module is used for classifying and binding the MAC address and the hardware ID according to a preset rule.
In order to better understand the above method, an application example of the device marking method of the present invention is described in detail below by taking the device to be marked as an RFID device and the server as a cloud system as an example.
An information generation section:
1. the cloud system generates MAC addresses and hardware IDs for the RFID devices according to the 16-system; and establishing a binding relationship between the MAC address and the hardware ID according to a preset rule, and storing the MAC address, the hardware ID and the binding relationship between the MAC address and the hardware ID in a classified manner.
2. And the cloud system generates a two-dimensional code according to the MAC address, the hardware ID, the binding relationship between the MAC address and the hardware ID and the link address of the marking interface.
3. The two-dimensional codes are printed by the peripheral connected with the cloud system and are pasted to the corresponding RFID equipment.
4. The staff scans the two-dimensional code on the RFID equipment through the two-dimensional code scanner connected with the cloud system, and uploads the two-dimensional code to the cloud system. And the cloud system checks the MAC address, the hardware ID and the like in the two-dimensional code, if the check is passed, the MAC address, the hardware ID and the like are fed back to a worker through the display, and meanwhile, an initial check result obtained by the check is stored in the memory.
An information burning part:
5. and (4) for the RFID equipment passing the verification process in the step (4), scanning the two-dimensional code on the RFID equipment by a two-dimensional code scanner connected with the RFID equipment, and analyzing the MAC address and the hardware ID in the RFID equipment.
6. And burning the analyzed MAC address and the hardware ID into a memory of the corresponding RFID equipment through a computer connected with the cloud system.
An equipment marking section:
7. after the RFID device 1 is installed, the network is connected to obtain an IP address, and a first MAC address, a first hardware ID and an IP address stored in a memory of the network are uploaded to the cloud system through a mark interface of the cloud system, where the first MAC address is 00000000001 a, the first hardware ID is 0A, and the IP address is 00000000001B.
8. The cloud system extracts the first MAC address, the first hardware ID and the IP address from the identification interface.
9. The user scans the two-dimensional code on the RFID device 1 through the scanning terminal, and resolves a second MAC address and a second hardware ID therein, where the second MAC address is 00000000001 a, the second hardware ID is 0A,
URL=http://bind.soniq.com.cn
10. the scanning terminal accesses the cloud system through the analyzed URL, sends a second MAC address and a second hardware ID to the cloud system, and sends a mark verification request.
11. And the cloud system verifies the matching property of the MAC address and the hardware ID, the uniqueness of the MAC address, the binding relationship of the MAC address and the hardware ID, the initial verification result, the marking state of the MAC address and the hardware ID and the like.
The check result is: the first MAC address is consistent with the second MAC address and the MAC address is unique (00000000001 a has no corresponding another IP address), the first hardware ID is consistent with the second hardware ID, the binding relationship between the MAC address and the hardware ID is consistent with the binding relationship between the MAC address and the hardware ID stored in the server in advance, the initial check result is passed, and 00000000001 a +0A is in an unmarked state. And considering that the equipment to be marked passes the verification.
12. Determining that the position of the equipment to be marked is in the store No. 1 according to the IP address, and generating marking information for the equipment to be marked:
in store 1, the MAC address is 00000000001 a, the first hardware ID is 0A, and the IP address is 00000000001B.
13. The cloud system marks the RFID equipment 1 as marked, stores the marking result into a memory, and feeds the marking result back to a user of the RFID equipment 1 through a marking interface.
14. The cloud system provides a marking information query interface, and a user can acquire information such as an MAC address and a hardware ID of a certain marked device through the query interface.
According to the embodiment, the related information of the equipment to be marked does not need to be counted manually, meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.
Based on the same idea as the device labeling method in the above embodiment, the present invention also provides a device labeling apparatus and a device labeling system, which can be used to perform the above device labeling method. For convenience of explanation, the structural diagrams of the embodiments of the device identification apparatus and the device identification system only show the parts related to the embodiments of the present invention, and those skilled in the art will understand that the illustrated structures do not constitute limitations on the apparatuses and systems, and may include more or less components than those illustrated, or combine some components, or arrange different components.
As shown in fig. 6, the device identifier apparatus includes a first information obtaining module 601, a second information obtaining module 602, and a device identifier module 603, which are described in detail as follows:
a first information obtaining module 601, configured to obtain first device information and location information of a device to be marked; and the first equipment information and the position information are sent by the equipment to be marked.
A second information obtaining module 602, configured to obtain second device information of a device to be marked; and the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal.
And an equipment marking module 603, configured to mark the equipment to be marked according to the first equipment information and the location information when the first equipment information matches the second equipment information.
According to the embodiment, the related information of the equipment to be marked does not need to be counted manually, meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
In one embodiment, further comprising: the feature code generating module is used for generating third equipment information for the equipment to be marked; and generating a feature code according to the third equipment information and the link address of the home terminal.
In an embodiment, the second information obtaining module 602 is further configured to receive second device information uploaded by the scanning terminal through the link address after scanning the feature code.
In an embodiment, the first information obtaining module 601 is further configured to receive first device information and location information uploaded by the device to be marked through a marking interface; and the first equipment information is pre-stored in the equipment to be marked.
In one embodiment, further comprising: and the first matching judgment module is used for judging that the first equipment information is matched with the second equipment information when the first MAC address is matched with the second MAC address.
In one embodiment, further comprising: and the second matching judgment module is used for judging that the first equipment information is matched with the second equipment information when the first hardware ID is matched with the second hardware ID.
In one embodiment, the device designation module 603 includes: the uniqueness checking submodule is used for carrying out uniqueness checking on the MAC address according to the IP address; and the marking submodule is used for marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address when the MAC address is unique.
In one embodiment, the labeling submodule includes: the position determining unit is used for determining the position of the equipment to be marked according to the IP address; and the information recording unit is used for recording the first MAC address, the first hardware ID and the position and marking the equipment to be marked as marked.
In one embodiment, as shown in fig. 7, there is provided a device labeling system comprising: a server and a scanning terminal; the server is connected with the equipment to be marked; the server is used for acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; the scanning terminal is used for scanning the feature codes on the equipment to be marked and sending second equipment information of the equipment to be marked to the server; and the server is used for marking the equipment to be marked according to the first equipment information and the position information when the first equipment information is matched with the second equipment information.
According to the embodiment, the related information of the equipment to be marked does not need to be counted manually, meanwhile, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal are compared, the equipment to be marked can be accurately marked on the basis of reducing the labor cost, and the equipment marking efficiency is effectively improved.
It should be noted that the device marking apparatus of the present invention corresponds to the device marking method of the present invention one to one, and the technical features and the advantageous effects described in the embodiments of the device marking method are all applicable to the embodiments of the device marking apparatus, and specific contents may refer to the description in the embodiments of the method of the present invention, which is not described herein again, and thus, the present invention is claimed.
In addition, in the above-mentioned embodiment of the device identifier apparatus, the logical division of each program module is only an example, and in practical applications, the above-mentioned functions may be distributed by different program modules according to needs, for example, due to the configuration requirements of corresponding hardware or the convenience of implementation of software, that is, the internal structure of the device identifier apparatus is divided into different program modules to complete all or part of the above-mentioned functions.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as MAC addresses, hardware IDs, IP addresses and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device labeling method.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; acquiring second equipment information of equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and when the first equipment information is matched with the second equipment information, marking the equipment to be marked according to the first equipment information and the position information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: generating third equipment information for the equipment to be marked; and generating a feature code according to the third equipment information and the link address of the home terminal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and receiving second equipment information uploaded by the scanning terminal through the link address after the scanning terminal scans the feature code.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving first equipment information and position information uploaded by the equipment to be marked through a marking interface; and the first equipment information is pre-stored in the equipment to be marked.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the first MAC address is matched with the second MAC address, judging that the first equipment information is matched with the second equipment information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: carrying out uniqueness check on the MAC address according to the IP address; when the MAC address is unique, marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining the position of the equipment to be marked according to the IP address; and recording the first MAC address, the first hardware ID and the position, and marking the equipment to be marked as marked.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring first equipment information and position information of equipment to be marked; the first equipment information and the position information are sent by the equipment to be marked; acquiring second equipment information of equipment to be marked; the second equipment information is obtained by scanning the feature code on the equipment to be marked by the scanning terminal; and when the first equipment information is matched with the second equipment information, marking the equipment to be marked according to the first equipment information and the position information.
In one embodiment, the computer program when executed by the processor further performs the steps of: generating third equipment information for the equipment to be marked; and generating a feature code according to the third equipment information and the link address of the home terminal.
In one embodiment, the computer program when executed by the processor further performs the steps of: and receiving second equipment information uploaded by the scanning terminal through the link address after the scanning terminal scans the feature code.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving first equipment information and position information uploaded by the equipment to be marked through a marking interface; and the first equipment information is pre-stored in the equipment to be marked.
In one embodiment, the computer program when executed by the processor further performs the steps of: and when the first MAC address is matched with the second MAC address, judging that the first equipment information is matched with the second equipment information.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
In one embodiment, the computer program when executed by the processor further performs the steps of: carrying out uniqueness check on the MAC address according to the IP address; when the MAC address is unique, marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining the position of the equipment to be marked according to the IP address; and recording the first MAC address, the first hardware ID and the position, and marking the equipment to be marked as marked.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium and sold or used as a stand-alone product. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or (module) elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-described examples merely represent several embodiments of the present invention and should not be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. An apparatus labeling method, comprising the steps of:
acquiring first equipment information and position information uploaded by equipment to be marked through a marking interface; the first equipment information and the position information are sent by the equipment to be marked; the position information is determined according to the IP address, wherein the corresponding IP address is acquired by the equipment to be marked after networking;
receiving information obtained by scanning after a scanning terminal scans the feature codes on the equipment to be marked, analyzing the information to obtain a link address, and uploading second equipment information of the equipment to be marked through the link address; burning the second equipment information into a nonvolatile memory of equipment to be marked; the second device information is information obtained by scanning a feature code on the device to be marked by the terminal and analyzing the feature code;
receiving a mark verification request sent by a scanning terminal, and verifying the binding relationship of information contained in the first equipment information and the second equipment information according to the mark verification request; the device information includes a MAC address and a hardware ID;
when the first equipment information is matched with the second equipment information, the uniqueness of the MAC address is verified according to the IP address in the position information;
when the MAC address is unique, marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address in the first equipment information so as to change the marking state of the equipment to be marked and generate marking information for the equipment to be marked.
2. The device labeling method of claim 1, wherein before the step of obtaining the second device information of the device to be labeled, the method further comprises:
generating third equipment information for the equipment to be marked;
and generating a feature code according to the third equipment information and the link address of the home terminal.
3. The device labeling method of claim 1, wherein the step of obtaining the first device information and the location information of the device to be labeled comprises:
receiving first equipment information and position information uploaded by the equipment to be marked through a marking interface; and the first equipment information is pre-stored in the equipment to be marked.
4. The device labeling method of claim 1, wherein the device information comprises a MAC address and a hardware ID;
when the first device information is matched with the second device information, before the step of marking the device to be marked according to the first device information and the position information, the method further includes:
and when the first MAC address in the first device information is matched with the second MAC address in the second device information, and/or when the first hardware ID is matched with the second hardware ID, judging that the first device information is matched with the second device information.
5. The device labeling method according to claim 1, wherein the step of labeling the device to be labeled according to the first MAC address, the first hardware ID and the IP address in the first device information comprises:
determining the position of the equipment to be marked according to the IP address;
and recording the first MAC address, the first hardware ID and the position, and marking the equipment to be marked as marked.
6. An apparatus marking device, comprising:
the first information acquisition module is used for acquiring first equipment information and position information uploaded by equipment to be marked through a marking interface; the first equipment information and the position information are sent by the equipment to be marked; the position information is determined according to the IP address, wherein the corresponding IP address is acquired by the equipment to be marked after networking;
the second information acquisition module is used for receiving the link address obtained by analyzing the information obtained by scanning after the scanning terminal scans the feature code on the equipment to be marked, and uploading the second equipment information of the equipment to be marked through the link address; burning the second equipment information into a nonvolatile memory of equipment to be marked; the second device information is information obtained by scanning a feature code on the device to be marked by the terminal and analyzing the feature code;
a module that performs the steps of: receiving a mark verification request sent by a scanning terminal, and verifying the binding relationship of information contained in the first equipment information and the second equipment information according to the mark verification request; the device information includes a MAC address and a hardware ID;
the device marking module is used for performing uniqueness check on the MAC address according to the IP address in the position information when the first device information is matched with the second device information; when the MAC address is unique, marking the equipment to be marked according to the first MAC address, the first hardware ID and the IP address in the first equipment information so as to change the marking state of the equipment to be marked and generate marking information for the equipment to be marked.
7. An equipment marking system, comprising: a server and a scanning terminal; the server is connected with the equipment to be marked;
the server is used for acquiring first equipment information and position information uploaded by equipment to be marked through a marking interface; the first equipment information and the position information are sent by the equipment to be marked; the position information is determined according to the IP address, wherein the corresponding IP address is acquired by the equipment to be marked after networking;
the scanning terminal is used for scanning the feature codes on the equipment to be marked, analyzing the scanned information to obtain a link address and sending second equipment information of the equipment to be marked to the server through the link address; burning the second equipment information into a nonvolatile memory of equipment to be marked; the second device information is information obtained by scanning a feature code on the device to be marked by the terminal and analyzing the feature code;
the server is used for receiving a mark verification request sent by the scanning terminal and verifying the binding relationship of the information contained in the first equipment information and the second equipment information according to the mark verification request; when the first equipment information is matched with the second equipment information, the uniqueness of the MAC address is verified according to the IP address in the position information; when the MAC address is unique, marking the equipment to be marked according to a first MAC address, a first hardware ID and an IP address in the first equipment information so as to change the marking state of the equipment to be marked and generate marking information for the equipment to be marked; the device information includes a MAC address and a hardware ID.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 5 are implemented by the processor when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201810903416.2A 2018-08-09 2018-08-09 Equipment marking method, device, system, computer equipment and storage medium Active CN109120736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810903416.2A CN109120736B (en) 2018-08-09 2018-08-09 Equipment marking method, device, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810903416.2A CN109120736B (en) 2018-08-09 2018-08-09 Equipment marking method, device, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109120736A CN109120736A (en) 2019-01-01
CN109120736B true CN109120736B (en) 2021-11-02

Family

ID=64852162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810903416.2A Active CN109120736B (en) 2018-08-09 2018-08-09 Equipment marking method, device, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109120736B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111398701B (en) * 2019-01-02 2022-07-22 深圳市广和通无线股份有限公司 Equipment test method, device, computer equipment and storage medium
CN109655762B (en) * 2019-01-09 2024-03-22 安徽省航嘉智源科技有限公司 Address calibration system and method for battery management unit
WO2021097825A1 (en) * 2019-11-22 2021-05-27 连云港伍江数码科技有限公司 Device marking method, apparatus, and system, computer device, and storage medium
CN112788545A (en) * 2020-12-29 2021-05-11 武汉联影智融医疗科技有限公司 Binding method, computer device and storage medium
CN115116169B (en) * 2022-08-29 2023-01-06 深圳市海清视讯科技有限公司 Device control method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997418A (en) * 2014-02-17 2014-08-20 华信咨询设计研究院有限公司 Optical network resource management method based on scanning codes
CN105391696A (en) * 2015-10-20 2016-03-09 山东泰信电子股份有限公司 Terminal registration method, terminal verification method, terminal registration system and terminal verification system
CN106911642A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of smart machine binding method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609671A (en) * 2012-02-07 2012-07-25 广东美的电器股份有限公司 Identification code entering system and identification code entering method
KR102060547B1 (en) * 2013-06-12 2020-02-20 삼성전자주식회사 Method and apparatus for registering wireless device in wireless communication system
CN103366004A (en) * 2013-07-19 2013-10-23 深圳市粮食集团有限公司 Data processing system and method for rail-sea combined transport based on two-dimension codes
CN103678516A (en) * 2013-11-26 2014-03-26 颜国兵 Method and system for superimposition inputting of two-dimensional code information data
CN104598950A (en) * 2015-01-08 2015-05-06 深圳创维数字技术有限公司 Information write-in method and device
CN104678771B (en) * 2015-01-26 2018-05-01 广东美的环境电器制造有限公司 Control method, the control system of household electrical appliance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997418A (en) * 2014-02-17 2014-08-20 华信咨询设计研究院有限公司 Optical network resource management method based on scanning codes
CN105391696A (en) * 2015-10-20 2016-03-09 山东泰信电子股份有限公司 Terminal registration method, terminal verification method, terminal registration system and terminal verification system
CN106911642A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of smart machine binding method and device

Also Published As

Publication number Publication date
CN109120736A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109120736B (en) Equipment marking method, device, system, computer equipment and storage medium
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
US9917737B2 (en) Systems and methods for programmable device installations
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
CN107911222B (en) Digital signature generating method, digital signature verifying method, digital signature generating apparatus, digital signature verifying apparatus, and storage medium storing digital signature verifying program
CN105426938A (en) Information acquisition method and device for air conditioners, mobile communication terminal and air conditioner server
CN103746840B (en) Method and system for automatic checking of software version information of network equipment
CN107908686B (en) Information pushing method and device, server and readable storage medium
CN112039900A (en) Network security risk detection method, system, computer device and storage medium
CN111106899A (en) Data verification method and device in Internet of things, computer equipment and storage medium
CN112232454A (en) Data writing method and system, terminal, household appliance and computer device
CN105553763A (en) Network-based detection method and detection system
WO2021097825A1 (en) Device marking method, apparatus, and system, computer device, and storage medium
CN111611465B (en) Product detection system, method, device, computer equipment and storage medium
CN112887451A (en) Domain name resolution method and device and computer equipment
CN106028326B (en) WiFi configuration method and device of smart watch
CN103577964A (en) Method and system for acquiring product circulation regional information and verifying authenticity of product
CN111258625A (en) Software flashing detection method and device, storage medium and electronic equipment
CN112702705A (en) Equipment debugging method, device and system based on Zigbee technology
CN108200060B (en) Single sign-on verification method based on web subsystem, server and storage medium
CN114398335A (en) Digital verification method and system for optical fiber network resources
CN113872819A (en) Equipment testing method and computer equipment
CN114816965A (en) Data verification method and device
CN106856473B (en) Vulnerability detection method and device
CN113128848A (en) Data quality monitoring method for full-service index, 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231018

Address after: Room 607, Building B, Lanjiangshan Phase I, No. 7, Lin Tong Mei Second Road, Meijing Community, Meilin Street, Futian District, Shenzhen, Guangdong 518000

Patentee after: SHENZHEN SONIQ DIGITAL SMART SOLUTION Ltd.

Address before: 222000 No.6, East Huanghai Avenue, Lingang Industrial Zone, Lianyungang Economic and Technological Development Zone, Lianyungang City, Jiangsu Province

Patentee before: LIANYUNGANG QUATIUS DIGITAL TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right