WO2021097825A1 - Device marking method, apparatus, and system, computer device, and storage medium - Google Patents

Device marking method, apparatus, and system, computer device, and storage medium Download PDF

Info

Publication number
WO2021097825A1
WO2021097825A1 PCT/CN2019/120358 CN2019120358W WO2021097825A1 WO 2021097825 A1 WO2021097825 A1 WO 2021097825A1 CN 2019120358 W CN2019120358 W CN 2019120358W WO 2021097825 A1 WO2021097825 A1 WO 2021097825A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
marked
device information
mac address
marking
Prior art date
Application number
PCT/CN2019/120358
Other languages
French (fr)
Chinese (zh)
Inventor
吴晓
胡龙耀
耿路
吴靖
范育宸
刘怀国
刘润声
Original Assignee
连云港伍江数码科技有限公司
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 连云港伍江数码科技有限公司 filed Critical 连云港伍江数码科技有限公司
Priority to PCT/CN2019/120358 priority Critical patent/WO2021097825A1/en
Publication of WO2021097825A1 publication Critical patent/WO2021097825A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present invention relates to the field of electronic technology, in particular to a device marking method, device, system, computer equipment and storage medium.
  • the inventor found that at least the following problems exist in the prior art: at present, if the device needs to be marked, it is necessary to manually count the MAC address, installation location and other information of the device and record it in the management system.
  • this method not only requires huge labor costs, but also has low statistical accuracy, which makes the marking of equipment inefficient.
  • the present invention provides equipment marking methods, devices, systems, computer equipment and storage media, which can effectively improve equipment marking efficiency.
  • a device marking method includes the following steps: acquiring first device information and location information of a device to be marked; the first device information and location information are sent by the device to be marked; acquiring second device information of the device to be marked; The second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked; when the first device information matches the second device information, the first device information and the location information are compared with each other. Describe the equipment to be marked for marking.
  • the method before the step of obtaining the second device information of the device to be labeled, the method further includes: generating third device information for the device to be labeled; generating according to the third device information and the link address of the local end Feature code.
  • the step of obtaining the second device information of the device to be marked includes: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
  • the step of obtaining the first device information and location information of the device to be labeled includes: receiving the first device information and location information uploaded by the device to be labeled through a labeling interface; wherein, the first device information and location information are uploaded by the device to be labeled.
  • a piece of equipment information is pre-stored in the equipment to be marked.
  • the device information includes a MAC address; when the first device information matches the second device information, the first device information and location information are used to mark the Before the step of marking the device, the method further includes: when the first MAC address matches the second MAC address, determining that the first device information matches the second device information.
  • the device information includes a hardware ID; when the first device information matches the second device information, the first device information and the location information are used to mark the Before the step of marking the device, it further includes: when the first hardware ID matches the second hardware ID, determining that the first device information matches the second device information.
  • the location information includes an IP address; the step of marking the device to be marked according to the first device information and the location information includes: registering the MAC address according to the IP address Perform a uniqueness check; when the MAC address is unique, mark the device to be marked according to the first MAC address, the first hardware ID, and the IP address.
  • the step of marking the device to be marked according to the first MAC address, the first hardware ID, and the IP address includes: determining the location of the device to be marked according to the IP address ; Record the first MAC address, the first hardware ID and the location, and mark the device to be marked as marked.
  • an embodiment of the present invention provides a device marking device, including: a first information acquisition module for acquiring first device information and location information of a device to be marked; the first device information and location information are determined by the device to be marked.
  • the marking device sends; the second information acquisition module is used to acquire the second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked; and the device marking module is used to When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
  • a device marking system including: a server and a scanning terminal; wherein the server is connected to the device to be marked; the server is used to obtain first device information and location information of the device to be marked; the first device Information and location information are sent by the device to be labeled; the scanning terminal is used to scan the feature code on the device to be labeled and send the second device information of the device to be labeled to the server; the server uses When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
  • the server receives the first equipment information and location information sent by the equipment to be marked, and at the same time receives the second equipment information obtained by scanning the feature code on the equipment to be marked by the scanning terminal.
  • the second device information is compared, and when the two pieces of information match, the device to be marked is marked according to the first device information and the location information. There is no need to manually count the relevant information of the equipment to be marked.
  • the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal can be compared, which can accurately mark the equipment to be marked on the basis of reducing labor costs, effectively improving The efficiency of equipment marking.
  • a computer device includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
  • the processor executes the computer program, the following steps are implemented: acquiring first device information of a device to be marked and Location information; the first device information and location information are sent by the device to be labeled; the second device information of the device to be labeled is acquired; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be labeled; When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
  • the above-mentioned computer equipment does not need to manually count the relevant information of the equipment to be marked, and compare the first equipment information uploaded by the equipment to be marked with the second equipment information uploaded by the scanning terminal, which can accurately perform the marking equipment on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
  • the following steps are implemented: acquiring first device information and location information of a device to be marked; the first device information and location information Sent by the device to be labeled; obtain the second device information of the device to be labeled; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be labeled; when the first device information and the second device information When the device information matches, the device to be labeled is labeled according to the first device information and location information.
  • the above-mentioned computer-readable storage medium does not need to manually count the relevant information of the device to be marked, and compare the first device information uploaded by the device to be marked with the second device information uploaded by the scanning terminal, which can reduce the labor cost on the basis of the device to be marked. Carry out accurate marking, effectively improving the efficiency of equipment marking.
  • Figure 1 is an application environment diagram of a device marking method in an embodiment
  • FIG. 2 is a schematic flowchart of a device marking method in an embodiment
  • Figure 3 is a schematic diagram of a device to be marked in an embodiment
  • FIG. 4 is a schematic flowchart of a device marking method in another embodiment
  • Figure 5 is a block diagram of the internal structure of the server in an embodiment
  • Fig. 6 is a structural block diagram of a device marking device in an embodiment
  • Fig. 7 is a structural block diagram of a device marking system in an embodiment
  • Fig. 8 shows the internal structure of a computer device in an embodiment.
  • the device marking method provided in this application can be applied to the application environment as shown in FIG. 1.
  • the device to be labeled 101 uploads its device information and location information to the server 102.
  • the scanning terminal 103 uploads the corresponding device information to the server 102 by scanning the feature code on the device to be labeled 101.
  • the server 102 uploads the corresponding device information according to the device to be labeled and the scanning terminal.
  • the device information and location information of the device to be marked are marked.
  • the device to be marked 101 can be various electronic or non-electronic devices, and can be, but not limited to, personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, medical devices, freezers, and RFID devices.
  • the server 102 may be implemented by an independent server or a server cluster composed of multiple servers, and may be, but not limited to, a PC computer, a cloud server, or a cloud system.
  • the server 102 is used by the manufacturer and authorized user of the equipment to be marked.
  • the scanning terminal 103 may be various terminals with scanning functions, including but not limited to smart phones and scanners.
  • the embodiments of the present invention provide a device marking method, device, system, computer device, and storage medium. Detailed descriptions are given below.
  • a device marking method is provided. Taking the method applied to the server side in Figure 1 as an example, it includes the following steps:
  • the device to be marked sends the first device information and location information to the server.
  • the device to be marked is an electronic device or product that can communicate with other devices on the network, for example, it can be a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, a medical device, a refrigerator, an RFID device, etc.
  • the first device information may be any information related to the device, may include one piece of information, or may include two or more pieces of information. For example, it can be information such as device model, size, function, MAC address, IP address, device hardware status, device software status, and so on.
  • Location information refers to information related to location, which can be direct geographic location information; it can also be information that can determine location indirectly through a certain algorithm, such as an IP address.
  • the scanning terminal scans the feature code on the device to be labeled, parses out the second device information of the device to be labeled, 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 manner.
  • the scanning terminal may be various terminal devices with scanning functions, such as smart phones, scanners, and so on.
  • the second device information may be any information related to the device.
  • the content of the second device information and the first device information may be consistent or inconsistent.
  • the feature code refers to the code that contains device information. It can be a barcode, one-dimensional code, two-dimensional code, etc.
  • the information corresponding to the feature code can be pasted and displayed on the surface of the device to be marked, and the scanning terminal can obtain the second device information contained in it by scanning the feature code.
  • the server compares the received first device information and the second device information, and when the two match, it marks the device to be marked according to the first device information and location information.
  • the matching of the first device information and the second device information may be that the two have a certain association, or that the similarity satisfies a preset condition, or that the two are consistent.
  • Marking the device to be marked may be recording the device information, location information, hardware status, software state, etc. of the device to be marked, and marking the corresponding device to be marked as marked.
  • This embodiment does not need to manually count the relevant information of the device to be marked, and can quickly complete the marking of the device when there are many devices to be marked; at the same time, it can compare the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal. On the basis of reducing labor costs, the equipment to be marked is accurately marked, which effectively improves the efficiency of equipment marking and ensures the stability of the equipment marking process.
  • the method before the step of obtaining the second device information of the device to be labeled, the method further includes: generating third device information for the device to be labeled; generating features based on the third device information and the link address of the local end code.
  • the third device information may also be any device-related information such as a MAC address.
  • the scanning terminal can access the server through the link address (URL) after scanning the feature code.
  • URL link address
  • the server generates third device information for the device to be marked according to preset rules, and generates a corresponding feature code based on the generated third device information and the link address of the server, which can provide the scanning terminal with a path for uploading information, and at the same time Realize the centralized management of equipment information.
  • the server may further include a process of storing the third device information.
  • the step of obtaining the second device information of the device to be marked includes: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
  • the scanning terminal can automatically scan the feature code on the device to be marked, or the user of the device to be marked or an authorized technician can scan the feature code through the scanning device.
  • the process of scanning the terminal scanning feature code to analyze the second device information and link address therein may be:
  • the scanning terminal scans the feature code on the device to be marked, and obtains the following information:
  • the MAC address can be parsed from this information as: C81F6606FD37, the hardware ID is: 1234567, and the local link address is http://bind.soniq.com.cn. Therefore, the scanning terminal can access http://bind.soniq.com.cn and upload the second device information of C81F6606FD37+1234567 to the server.
  • the second feature information and the link address can be parsed from it, and the corresponding second device information can be uploaded to the server through the link address. It can effectively improve the efficiency of information upload, thereby improving the efficiency of equipment marking.
  • the scanning terminal scans the feature code on the device to be marked after a certain period of time and location changes.
  • the second device information parsed according to the feature code and the third device information generated by the server may be different. correspond.
  • the third device information corresponds to device 1
  • the second device information obtained by scanning the feature code on device 1 by the scanning terminal corresponds to device 2, which indicates that the feature code on device 1 is wrong. Therefore, it is necessary to verify the second device information scanned by the scanning terminal.
  • the scanning terminal may scan the feature code on the device to be marked and send the parsed second device information to the server.
  • the server verifies the second device information according to the pre-stored third device information, and feeds back the obtained initial verification result to the user in a manner such as display.
  • the initial verification result can be used in the marking process of the equipment to be marked.
  • 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 Figure 3, a feature code is pasted on the device to be marked.
  • the user scans the QR code pasted on the device to be marked through the scanning terminal to start the marking of the device to be marked.
  • the step of acquiring the first device information and location information of the device to be labeled includes: receiving the first device information and location information uploaded by the device to be labeled through a labeling interface; wherein, the first device information and location information are uploaded by the device to be labeled.
  • the device information is pre-stored in the device to be marked.
  • the label interface refers to an interface that can receive information related to the label.
  • the server is provided with a label interface, and the device to be labeled can also be provided with a label interface, and the two label interfaces are connected together in a wired or wireless manner.
  • the device to be marked can report the corresponding first device information, location information, etc. to the server through the connection.
  • the first device information may be pre-stored in the memory of the device to be marked.
  • the device to be marked is connected to the server, and the device to be marked reads the pre-stored first device information and obtains location information, and reports the information to the server through the network interface.
  • the information sending method is simple, and at the same time, the device to be marked directly uploads the information in its own storage space to the server, which can ensure the reliability of the first device information and location information received by the server.
  • the scanning terminal scans the feature code attached to the device to be marked, and parses out the second device information therein. , Send the second device information to the burning device.
  • the burning device burns the second device information into the memory of the device to be marked. As shown in Fig. 3, the second device information is burned in the memory of the device to be marked in Fig. 3.
  • the memory of the device to be marked may be a non-volatile memory. Ensure that the information of the second device will not be lost, overwritten, or errors occur during the process of power failure of the device to be marked and system upgrade.
  • the MAC+hardware ID is burned into the internal storage space of the marked device by software means, which can be used as the primary protection of the marked device.
  • the user's subsequent upgrade of the system software will not cover the MAC+ hardware ID, which has a higher effect of dullness and anti-copy.
  • the scanning terminal sends the second device information to the server, it can send a label verification request to the server, and the server verifies the first device information and the second device information according to the label verification request.
  • the process of verifying the first device information and the second device information may include: judging the matching and uniqueness of the first device information and the second device information, and may also include checking the first device information and the second device information. 2.
  • the verification of the binding relationship of the information contained in the device information may also include other verification methods.
  • the device information includes a MAC address; when the first device information matches the second device information, the device to be labeled is checked according to the first device information and location information. Before the step of marking, it further includes: when the first MAC address matches the second MAC address, determining that the first device information matches the second device information.
  • the MAC address refers to the hardware address of the device to be marked;
  • the hardware ID refers to the number, model, etc. of the device to be marked.
  • Both 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 generating the MAC address and the hardware ID.
  • the server After the server generates the MAC address and the hardware ID, the binding relationship between the corresponding MAC address and the hardware ID can be established.
  • the server can classify and store the binding relationship between the MAC address, the hardware ID, the MAC address, and the hardware ID.
  • both the MAC address and the hardware ID can be generated in a conventional manner.
  • the embodiment of the present invention does not limit the generation method, format, and number of bits of the MAC address and the hardware ID.
  • the MAC address can be a 12-digit hexadecimal code
  • the hardware ID can be a 2-digit hexadecimal code. It can be in other forms.
  • the device information includes a hardware ID; when the first device information matches the second device information, the device to be labeled is checked according to the first device information and location information. Before the step of marking, it further includes: when the first hardware ID matches the second hardware ID, determining that the first device information matches the second device information.
  • the step of marking the device to be marked according to the first device information and location information Before, it further includes: when the first MAC address matches the second MAC address and the first hardware ID matches the second hardware ID, determining that the first device information matches the second device information. That is, it is determined whether the binding relationship of the MAC address + hardware ID sent by the device to be marked and the binding relationship of the MAC address + hardware ID uploaded by the scanning terminal match. When the two binding relationships match, the first device information is determined Match with the second device information.
  • the MAC address and the hardware ID are combined to determine whether the first device information and the second device information match, and when both match, the device to be marked is marked, which can double guarantee the accuracy of the information, and thus obtain the accuracy.
  • the result of the labeling can prevent two or more labeling information being the same or confusing.
  • the location information includes an IP address; the step of marking the device to be marked according to the first device information and the location information includes: performing the MAC address according to the IP address Uniqueness check; when the MAC address is unique, the device to be marked is marked according to the first MAC address, the first hardware ID, and the IP address.
  • the implementation process of performing 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, it means that the MAC addresses of the two devices are the same If the device to be marked is marked based on such a MAC address, information confusion will occur when the marking information of the device needs to be obtained later. Therefore, when the MAC address is not unique (the MAC address appears on two or more devices), the device is not marked, or one of the MAC addresses is changed.
  • this embodiment performs the uniqueness check on the MAC address, and only when the MAC address is unique, the device to be marked is marked. It can effectively ensure the reliability of the equipment marked results.
  • the MAC address may be uniquely checked before the matching check is performed on the first device information and the second device information. If one or both of the first MAC address and the second MAC address are If one is not unique, the subsequent matching check process will not be performed. In this way, subsequent steps can be omitted when the MAC address is not unique, and the efficiency of the labeling process of the device to be labeled can be improved.
  • the device to be labeled before marking the device to be labeled, the device to be labeled can be verified: the matching of the MAC address, the matching of the hardware ID, the binding relationship of the MAC address + the hardware ID, the uniqueness of the MAC address, and the initial The verification result, the marking status of the MAC address + hardware ID, etc. are verified. It can be determined that the device to be marked has passed the verification after all the verification items in it are verified, and the device to be marked is marked. It is also possible to determine that the equipment to be marked has passed the verification when one or several of the verification items have not passed. If it is determined that the verification of the device to be marked has not passed, the marking of the marking device can be ended, and the verification and marking process can be performed again after acquiring the new device information and location information.
  • the server After the server receives the MAC address and hardware ID uploaded by the device to be marked and the scanning terminal, in addition to comparing the information uploaded from the two devices, it can also compare the received information based on the pre-stored MAC address and hardware ID authenticating.
  • the step of marking the device to be marked according to the first MAC address, the first hardware ID and the IP address includes: determining the location of the device to be marked according to the IP address; Record the first MAC address, the first hardware ID, and the location, and mark the device to be marked as marked.
  • the corresponding IP address can be obtained, and the location of the device to be marked can be determined based on the IP address.
  • the first MAC address, first hardware ID, and 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.
  • the process of marking the device to be marked may be:
  • the first MAC address 00 00 00 00 00 1A
  • the first hardware ID 0A
  • the IP address 00 00 00 00 00 1B.
  • 0A is a 4-channel RFID radio frequency transmitter.
  • the second MAC address 00 00 00 00 00 00 1A
  • the second hardware ID 0A
  • the first MAC address is consistent with the second MAC address and the MAC address is unique (the same MAC address does not correspond to another IP address), the first hardware ID is consistent with the second hardware ID, and the binding relationship of MAC address + hardware ID is stored in advance
  • the binding relationship of the MAC address + hardware ID in the server is consistent, the initial verification result is passed, and the MAC address + hardware ID is in an unmarked state. It is considered that the device to be marked passes the verification.
  • IP address it is determined that the location of the device to be marked is in the No. 1 shop, so the device to be marked is marked as a marked device, and marking information is generated for the device to be marked:
  • MAC address 00 00 00 00 00 1A
  • first hardware ID 0A
  • IP address 00 00 00 00 00 1B.
  • the process of marking the device to be marked may also be:
  • the first MAC address 00 00 00 00 00 1A
  • the first hardware ID 0A
  • the IP address 00 00 00 00 00 1B.
  • the second MAC address 00 00 00 00 00 00 002A
  • the second hardware ID 1A
  • URL http://bind.soniq.com.cn.
  • 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 is inconsistent with the second hardware ID, and the binding relationship of the first MAC address + the first hardware ID is pre-stored in The binding relationship of the first MAC address + the first hardware ID in the server is consistent, and the binding relationship of the second MAC address + the second hardware ID is consistent with the binding relationship of the second MAC address + the second hardware ID pre-stored in the server,
  • the initial verification result of the first MAC address + the first hardware ID is passed, and the initial verification result of the second MAC address + the second hardware ID is also passed, and the MAC address + hardware ID is in an unmarked state.
  • the MAC address is unique, the information uploaded by the device to be labeled and the scanning terminal are inconsistent. It is possible that the two-dimensional code on the device to be labeled does not correspond to the device to be labeled, and it is considered that the device to be labeled fails the verification. Mark the equipment to be marked as unmarked, and end the marking of the equipment to be marked.
  • a device other than the server may also verify the MAC address and hardware ID, for example: the verification is completed by a fourth-party computer connected to the server, the device to be marked, and the scanning terminal.
  • the computer is connected to the hardware interface (USB, serial port, network port, etc.) of the device to be marked, and the first MAC address + first hardware ID of the device to be marked is obtained through the hardware interface; the third MAC address pre-stored in the server + The third hardware ID; to obtain the second MAC address of the scanning terminal + the second hardware ID. After the computer obtains these three sets of data, it verifies them.
  • the verification passes, it means: the first MAC address + the first hardware ID stored in the memory of the device to be labeled and the QR code attached to the device to be labeled
  • the corresponding second MAC address + second hardware ID is the same, which is also consistent with the verified third MAC address + third hardware ID pre-stored in the server.
  • the binding relationship of MAC address + hardware ID is verified. The address is not duplicated.
  • This embodiment can implement multi-point review and verification of the software, hardware, QR code labels, pre-stored data, etc. of the device to be marked, which greatly improves the error correction capability of the product's software and hardware addresses, and effectively avoids the repetition of product MAC addresses. Many problems.
  • a device marking method which includes the following steps:
  • S401 Generate a MAC address and a hardware ID for the device to be marked; generate a feature code according to the MAC address, hardware ID and the link address of the local end.
  • S402 Receive a second MAC address and a second hardware ID uploaded by the scanning terminal through the link address after scanning the characteristic code.
  • S403 Receive the first MAC address, the first hardware ID, and the IP address uploaded by the device to be marked through the marking interface.
  • S405 Perform uniqueness check on the first MAC address according to the IP address.
  • the first MAC address is unique, determine the location of the device to be labeled according to the IP address; record the first MAC address, the first hardware ID, and the location, and mark the device to be labeled Is marked.
  • the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared, so that the device to be marked can be accurately performed on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
  • the server can be connected to a display device, a non-volatile memory, a feature code scanner, a hardware interface, etc.
  • the functions of these structures are respectively: a display device for displaying information to be displayed in the server.
  • Non-volatile memory is used to store information such as the MAC address, hardware ID, the binding relationship between the MAC address and the hardware ID in the server.
  • the feature code scanner is used to scan the feature code generated by the server.
  • the hardware interface which can be a keyboard, a mouse, etc., is used to interact with the user.
  • the schematic diagram of the structure in the server 102 may be as shown in FIG. 5.
  • the server 102 includes an information labeling module, an information receiving module, an information pre-storage module, an audit verification module, a feature code generation module, a data output module, and a label classification module. , Code generation module, code binding module.
  • the information labeling module (ie, the labeling interface in the foregoing embodiment) is used to connect with the device to be labeled, and to receive the MAC address, hardware ID, IP address, etc. sent by the device to be labeled during the process of labeling the device to be labeled. At the same time, it can be connected with a scanning terminal. After scanning the QR code on the device to be marked, the scanning terminal accesses the information marking module according to the link address therein.
  • the information receiving module is used to connect with the device to be marked to receive the MAC address, RFID identification data, software version and other information uploaded by the device to be marked.
  • the information pre-storage module is used to store the MAC address and the hardware ID, the binding relationship between the MAC address and the hardware ID, and the QR code containing the link address generated by the information generation module.
  • the audit verification module is used to verify the MAC address, the hardware ID, the binding relationship of the MAC address + the hardware ID, and the uniqueness of the MAC address uploaded by the terminal.
  • the two-dimensional code generation module is used to generate the two-dimensional code of the device to be marked according to a certain algorithm according to the binding relationship of MAC address + hardware ID.
  • the data output module is used to output information such as MAC address, hardware ID, device marking result, and initial verification result.
  • the marking classification module is used to classify the audit results of the audit verification module and synchronize the classification results to the information pre-storage module.
  • the information generating module is used to generate MAC address, hardware ID and other information according to a preset algorithm.
  • the information binding module is used for classifying and binding MAC addresses and hardware IDs according to preset rules.
  • the cloud system generates MAC addresses and hardware IDs for multiple RFID devices according to the hexadecimal system; establishes the binding relationship between MAC addresses and hardware IDs according to preset rules, and combines the MAC addresses, hardware IDs, and MAC addresses with hardware IDs. The binding relationship is classified and stored.
  • the cloud system generates a QR code based on the MAC address, hardware ID, the binding relationship between the MAC address and the hardware ID, and the link address that indicates the interface.
  • the peripherals connected to the cloud system print these QR codes and paste the QR codes on the corresponding RFID devices.
  • the staff scans the QR code on the RFID device through the QR code scanner connected to the cloud system, and uploads the QR code to the cloud system.
  • the cloud system verifies the MAC address, hardware ID, etc. in the two-dimensional code. If the verification passes, it will be reported to the staff through the display, and the initial verification result obtained by this verification will be stored in the memory at the same time.
  • step 5 For the RFID device that passed the verification process in step 4, scan the QR code on the QR code scanner connected to the RFID device to parse out the MAC address and hardware ID.
  • the cloud system extracts the first MAC address, the first hardware ID, and the IP address from it through the marking interface.
  • the scanning terminal accesses the cloud system through the parsed URL, and sends the second MAC address and the second hardware ID to the cloud system, and sends a mark verification request.
  • the cloud system verifies the matching of the MAC address + hardware ID, the uniqueness of the MAC address, the binding relationship of the MAC address + hardware ID, the initial verification result, and the marking status of the MAC address + hardware ID.
  • the verification result is: the first MAC address is consistent with the second MAC address and the MAC address is unique (00 00 00 00 00 00 1A does not have another corresponding IP address), the first hardware ID is consistent with the second hardware ID, the MAC address The binding relationship of +hardware ID is consistent with the binding relationship of MAC address+hardware ID pre-stored in the server.
  • the initial verification result is passed, and 00 00 00 00 00 00 00 00 1A+0A is in the unmarked state. It is considered that the device to be marked passes the verification.
  • MAC address 00 00 00 00 00 1A
  • first hardware ID 0A
  • IP address 00 00 00 00 00 1B.
  • the cloud system marks the RFID device 1 as marked, stores the marking result in the memory, and feeds the marking result back to the user of the RFID device 1 through the marking interface.
  • the cloud system provides a label information query interface, through which users can obtain the MAC address, hardware ID and other information of a marked device.
  • the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared, so that the device to be marked can be accurately performed on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
  • the present invention also provides a device marking device and a device marking system, which can be used to implement the device marking method described above.
  • a device marking device and a device marking system which can be used to implement the device marking method described above.
  • the illustrated structure does not constitute a limitation on the device and the system. It may include more or fewer components than shown, or combine some components, or different component arrangements.
  • the device identification device includes a first information acquisition module 601, a second information acquisition module 602, and an equipment identification module 603, which are described in detail as follows:
  • the first information acquisition module 601 is configured to acquire first device information and location information of the device to be labeled; the first device information and location information are sent by the device to be labeled.
  • the second information acquisition module 602 is configured to acquire second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked.
  • the device marking module 603 is configured to mark the device to be marked according to the first device information and location information when the first device information matches the second device information.
  • the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared, so that the device to be marked can be accurately performed on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
  • it further includes: a feature code generation module, configured to generate third device information for the device to be marked; and generate a feature code based on the third device information and the link address of the local end.
  • a feature code generation module configured to generate third device information for the device to be marked; and generate a feature code based on the third device information and the link address of the local end.
  • the second information acquisition module 602 is further configured to receive the second device information uploaded through the link address after the scanning terminal scans the feature code.
  • the first information acquisition module 601 is further configured to receive first device information and location information uploaded by the device to be marked through a marking interface; wherein, the first device information is pre-stored in the device to be marked In the device.
  • it further includes: a first matching judging module, configured to judge that the first device information matches the second device information when the first MAC address matches the second MAC address.
  • it further includes: a second matching judging module, configured to judge that the first device information matches the second device information when the first hardware ID matches the second hardware ID.
  • the device identification module 603 includes: a uniqueness check sub-module for performing uniqueness verification on the MAC address according to the IP address; and an identification sub-module for when the MAC address is unique At this time, the device to be marked is marked according to the first MAC address, the first hardware ID and the IP address.
  • the marking submodule includes: a location determining unit, which determines the location of the device to be marked according to the IP address; and an information recording unit, which records the first MAC address, the first hardware ID, and the location of the device to be marked. In the position, the device to be marked is marked as marked.
  • a device marking system including: a server and a scanning terminal; wherein the server is connected to the device to be marked; the server is used to obtain the first device to be marked.
  • Device information and location information; the first device information and location information are sent by the device to be labeled; the scanning terminal is used to scan the feature code on the device to be labeled and to mark the second device of the device to be labeled
  • the information is sent to the server; the server is configured to mark the device to be marked according to the first device information and location information when the first device information matches the second device information.
  • the device marking device of the present invention corresponds to the device marking method of the present invention one-to-one.
  • the technical features and beneficial effects described in the foregoing device marking method embodiments are all applicable to the device marking device embodiments.
  • the logical division of each program module is just an example.
  • the above functions can be changed according to needs, for example, due to the configuration requirements of the corresponding hardware or the convenience of software implementation.
  • the allocation is completed by different program modules, that is, the internal structure of the equipment marking device is divided into different program modules to complete all or part of the functions described above.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 8.
  • the computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile 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 the operating system and computer programs in the non-volatile storage medium.
  • the computer equipment database is used to store data such as MAC addresses, hardware IDs, and IP addresses.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize a device marking method.
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program, the following steps are implemented: acquiring the first device to be marked 1. Device information and location information; the first device information and location information are sent by the device to be labeled; the second device information of the device to be labeled is acquired; the second device information is scanned by the scanning terminal by scanning the device to be labeled The feature code is obtained; when the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
  • the processor further implements the following steps when executing the computer program: generating third device information for the device to be marked; generating a feature code based on the third device information and the link address of the local end.
  • the processor further implements the following step when executing the computer program: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
  • the processor further implements the following steps when executing the computer program: receiving the first device information and location information uploaded by the device to be marked through the marking interface; wherein, the first device information is pre-stored in the device to be marked. Marking equipment.
  • the processor further implements the following step when executing the computer program: when the first MAC address matches the second MAC address, it is determined that the first device information matches the second device information.
  • the processor further implements the following step when executing the computer program: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
  • the processor further implements the following steps when executing the computer program: the MAC address is uniquely verified according to the IP address; when the MAC address is unique, the first MAC address and the first MAC address are used. A hardware ID and IP address mark the device to be marked.
  • the processor further implements the following steps when executing the computer program: determining the location of the device to be labeled according to the IP address; recording the first MAC address, the first hardware ID, and the location, The equipment to be marked is marked as marked.
  • a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: acquiring first device information and location information of the device to be marked; One device information and location information are sent by the device to be labeled; the second device information of the device to be labeled is acquired; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be labeled; when the first device When the information matches the second device information, the device to be marked is marked according to the first device information and location information.
  • the following steps are further implemented: generating third device information for the device to be marked; generating a feature code based on the third device information and the link address of the local end.
  • the following step is further implemented: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
  • the following steps are further implemented: receiving the first device information and location information uploaded by the device to be marked through the marking interface; wherein, the first device information is pre-stored in the In the equipment to be marked.
  • the following step is further implemented: when the first MAC address matches the second MAC address, it is determined that the first device information matches the second device information.
  • the following steps are further implemented: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
  • the following steps are further implemented: the MAC address is uniquely checked according to the IP address; when the MAC address is unique, according to the first MAC address, The first hardware ID and IP address mark the device to be marked.
  • the following steps are also implemented: determine the location of the device to be marked according to the IP address; record the first MAC address, the first hardware ID and the location, and The device to be marked is marked as marked.
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary.
  • the program is processed in a way to obtain the program electronically and then stored in the computer memory.
  • each part of the present invention can be implemented by hardware, software, firmware or a combination thereof.
  • multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if it is implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: Discrete logic circuits, application-specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A device marking method, apparatus, and system, a computer device, and a storage medium, pertaining to the technical field of electronics. The method comprises: acquiring first device information and location information of a device to be marked, wherein the first device information and the location information are sent by the device (S201); acquiring second device information of the device, wherein the second device information is acquired by a scanning terminal by scanning a feature code on the device (S202); and when the first device information matches the second device information, marking the device according to the first device information and the location information (S203). The above technical solution resolves the issue in which the efficiency of device marking is low, reduces labor costs, accurately marks the device, and effectively improves the efficiency of device marking.

Description

设备标示方法、装置、系统、计算机设备和存储介质Equipment marking method, device, system, computer equipment and storage medium 技术领域Technical field
本发明涉及电子技术领域,特别是涉及一种设备标示方法、装置、系统、计算机设备和存储介质。The present invention relates to the field of electronic technology, in particular to a device marking method, device, system, computer equipment and storage medium.
背景技术Background technique
随着科技进步的发展,电子设备越来越多得被应用于生活工作的各个领域。设备出厂以后可能会被安装在不同环境或门店中,因此对设备的设备信息、安装位置、使用状态等进行标示是有效管理设备的方法。With the development of science and technology, more and more electronic devices are used in various fields of life and work. After the device leaves the factory, it may be installed in different environments or stores. Therefore, marking the device information, installation location, and usage status of the device is an effective way to manage the device.
在实现本发明过程中,发明人发现现有技术中至少存在如下问题:目前若需要对设备进行标示,则需要人工对设备的MAC地址、安装位置等信息进行统计并记录到管理系统中。但这种方式不仅需要耗费巨大的人力成本,统计的准确率也较为低下,这就使得对设备的标示效率低下。In the process of implementing the present invention, the inventor found that at least the following problems exist in the prior art: at present, if the device needs to be marked, it is necessary to manually count the MAC address, installation location and other information of the device and record it in the management system. However, this method not only requires huge labor costs, but also has low statistical accuracy, which makes the marking of equipment inefficient.
发明内容Summary of the invention
基于此,本发明提供了设备标示方法、装置、系统、计算机设备和存储介质,能有效提高设备的标示效率。Based on this, the present invention provides equipment marking methods, devices, systems, computer equipment and storage media, which can effectively improve equipment marking efficiency.
本发明实施例的内容如下:The content of the embodiment of the present invention is as follows:
一种设备标示方法,包括以下步骤:获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。A device marking method includes the following steps: acquiring first device information and location information of a device to be marked; the first device information and location information are sent by the device to be marked; acquiring second device information of the device to be marked; The second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked; when the first device information matches the second device information, the first device information and the location information are compared with each other. Describe the equipment to be marked for marking.
在其中一个实施例中,所述获取待标示设备的第二设备信息的步骤之前,还包括:为所述待标示设备生成第三设备信息;根据所述第三设备信息以及本端的链接地址生成特征码。In one of the embodiments, before the step of obtaining the second device information of the device to be labeled, the method further includes: generating third device information for the device to be labeled; generating according to the third device information and the link address of the local end Feature code.
在其中一个实施例中,所述获取待标示设备的第二设备信息的步骤,包括:接收扫描终端扫描所述特征码以后通过所述链接地址上传的第二设备信息。In one of the embodiments, the step of obtaining the second device information of the device to be marked includes: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
在其中一个实施例中,所述获取待标示设备的第一设备信息和位置信息的步骤,包括:接收所述待标示设备通过标示接口上传的第一设备信息和位置信息;其中,所述第一设备信 息预先存储于所述待标示设备中。In one of the embodiments, the step of obtaining the first device information and location information of the device to be labeled includes: receiving the first device information and location information uploaded by the device to be labeled through a labeling interface; wherein, the first device information and location information are uploaded by the device to be labeled. A piece of equipment information is pre-stored in the equipment to be marked.
在其中一个实施例中,所述设备信息包括MAC地址;所述当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤之前,还包括:当所述第一MAC地址与第二MAC地址相匹配时,判定第一设备信息与第二设备信息相匹配。In one of the embodiments, the device information includes a MAC address; when the first device information matches the second device information, the first device information and location information are used to mark the Before the step of marking the device, the method further includes: when the first MAC address matches the second MAC address, determining that the first device information matches the second device information.
在其中一个实施例中,所述设备信息包括硬件ID;所述当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤之前,还包括:当第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。In one of the embodiments, the device information includes a hardware ID; when the first device information matches the second device information, the first device information and the location information are used to mark the Before the step of marking the device, it further includes: when the first hardware ID matches the second hardware ID, determining that the first device information matches the second device information.
在其中一个实施例中,所述位置信息包括IP地址;所述根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤,包括:根据所述IP地址对所述MAC地址进行唯一性校验;当所述MAC地址唯一时,根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示。In one of the embodiments, the location information includes an IP address; the step of marking the device to be marked according to the first device information and the location information includes: registering the MAC address according to the IP address Perform a uniqueness check; when the MAC address is unique, mark the device to be marked according to the first MAC address, the first hardware ID, and the IP address.
在其中一个实施例中,所述根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示的步骤,包括:根据所述IP地址确定所述待标示设备的位置;记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。In one of the embodiments, the step of marking the device to be marked according to the first MAC address, the first hardware ID, and the IP address includes: determining the location of the device to be marked according to the IP address ; Record the first MAC address, the first hardware ID and the location, and mark the device to be marked as marked.
相应的,本发明实施例提供一种设备标示装置,包括:第一信息获取模块,用于获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;第二信息获取模块,用于获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;以及,设备标示模块,用于当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。Correspondingly, an embodiment of the present invention provides a device marking device, including: a first information acquisition module for acquiring first device information and location information of a device to be marked; the first device information and location information are determined by the device to be marked. The marking device sends; the second information acquisition module is used to acquire the second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked; and the device marking module is used to When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
还提供一种设备标示系统,包括:服务器和扫描终端;其中,所述服务器与待标示设备连接;所述服务器,用于获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;所述扫描终端,用于扫描待标示设备上的特征码并将所述待标示设备的第二设备信息发送给所述服务器;所述服务器,用于当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。A device marking system is also provided, including: a server and a scanning terminal; wherein the server is connected to the device to be marked; the server is used to obtain first device information and location information of the device to be marked; the first device Information and location information are sent by the device to be labeled; the scanning terminal is used to scan the feature code on the device to be labeled and send the second device information of the device to be labeled to the server; the server uses When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
上述设备标示方法、装置及系统,服务器接收待标示设备发送的第一设备信息和位置信息,同时接收扫描终端扫描待标示设备上的特征码获取的第二设备信息,对第一设备信息和第二设备信息进行比对,当这两个信息相匹配时根据第一设备信息和位置信息对待标示设备 进行标示。不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率。In the above-mentioned equipment marking method, device and system, the server receives the first equipment information and location information sent by the equipment to be marked, and at the same time receives the second equipment information obtained by scanning the feature code on the equipment to be marked by the scanning terminal. The second device information is compared, and when the two pieces of information match, the device to be marked is marked according to the first device information and the location information. There is no need to manually count the relevant information of the equipment to be marked. At the same time, the first equipment information uploaded by the equipment to be marked and the second equipment information uploaded by the scanning terminal can be compared, which can accurately mark the equipment to be marked on the basis of reducing labor costs, effectively improving The efficiency of equipment marking.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。A computer device includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor. When the processor executes the computer program, the following steps are implemented: acquiring first device information of a device to be marked and Location information; the first device information and location information are sent by the device to be labeled; the second device information of the device to be labeled is acquired; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be labeled; When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
上述计算机设备,不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率。The above-mentioned computer equipment does not need to manually count the relevant information of the equipment to be marked, and compare the first equipment information uploaded by the equipment to be marked with the second equipment information uploaded by the scanning terminal, which can accurately perform the marking equipment on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。A computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: acquiring first device information and location information of a device to be marked; the first device information and location information Sent by the device to be labeled; obtain the second device information of the device to be labeled; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be labeled; when the first device information and the second device information When the device information matches, the device to be labeled is labeled according to the first device information and location information.
上述计算机可读存储介质,不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息和扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率。The above-mentioned computer-readable storage medium does not need to manually count the relevant information of the device to be marked, and compare the first device information uploaded by the device to be marked with the second device information uploaded by the scanning terminal, which can reduce the labor cost on the basis of the device to be marked. Carry out accurate marking, effectively improving the efficiency of equipment marking.
附图说明Description of the drawings
图1为一个实施例中设备标示方法的应用环境图;Figure 1 is an application environment diagram of a device marking method in an embodiment;
图2为一个实施例中设备标示方法的流程示意图;FIG. 2 is a schematic flowchart of a device marking method in an embodiment;
图3为一个实施例中待标示设备的示意图;Figure 3 is a schematic diagram of a device to be marked in an embodiment;
图4为另一个实施例中设备标示方法的流程示意图;FIG. 4 is a schematic flowchart of a device marking method in another embodiment;
图5为一个实施例中服务器的内部结构框图;Figure 5 is a block diagram of the internal structure of the server in an embodiment;
图6为一个实施例中设备标示装置的结构框图;Fig. 6 is a structural block diagram of a device marking device in an embodiment;
图7为一个实施例中设备标示系统的结构框图;Fig. 7 is a structural block diagram of a device marking system in an embodiment;
图8为一个实施例中计算机设备的内部结构。Fig. 8 shows the internal structure of a computer device in an embodiment.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.
本申请提供的设备标示方法可以应用于如图1所示的应用环境中。待标示设备101将其设备信息和位置信息上传给服务器102,同时扫描终端103通过扫描待标示设备101上的特征码向服务器102上传相应的设备信息,服务器102根据待标示设备和扫描终端所上传的设备信息和位置信息对待标示设备进行标示。其中,待标示设备101可以是各种电子或非电子设备,可以但不限于是个人计算机、笔记本电脑、智能手机、平板电脑、便携式可穿戴设备、医疗器械、冰柜、RFID设备。服务器102可以用独立的服务器或者是多个服务器组成的服务器集群来实现,可以但不限于是PC计算机、云服务器、云端系统。服务器102由待标示设备的生产方、授权使用方使用。扫描终端103可以是各种具有扫描功能的终端,包括但不限于智能手机、扫描仪。The device marking method provided in this application can be applied to the application environment as shown in FIG. 1. The device to be labeled 101 uploads its device information and location information to the server 102. At the same time, the scanning terminal 103 uploads the corresponding device information to the server 102 by scanning the feature code on the device to be labeled 101. The server 102 uploads the corresponding device information according to the device to be labeled and the scanning terminal. The device information and location information of the device to be marked are marked. Among them, the device to be marked 101 can be various electronic or non-electronic devices, and can be, but not limited to, personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, medical devices, freezers, and RFID devices. The server 102 may be implemented by an independent server or a server cluster composed of multiple servers, and may be, but not limited to, a PC computer, a cloud server, or a cloud system. The server 102 is used by the manufacturer and authorized user of the equipment to be marked. The scanning terminal 103 may be various terminals with scanning functions, including but not limited to smart phones and scanners.
本发明实施例提供一种设备标示方法、装置、系统、计算机设备和存储介质。以下分别进行详细说明。The embodiments of the present invention provide a device marking method, device, system, computer device, and storage medium. Detailed descriptions are given below.
在一个实施例中,如图2所示,提供了一种设备标示方法。以该方法应用于图1中的服务器端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a device marking method is provided. Taking the method applied to the server side in Figure 1 as an example, it includes the following steps:
S201、获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送。S201. Acquire first device information and location information of a device to be marked; the first device information and location information are sent by the device to be marked.
在本步骤中,待标示设备将第一设备信息和位置信息发送给服务器。In this step, the device to be marked sends the first device information and location information to the server.
其中,待标示设备为能与其他设备进行网络通讯的电子设备或产品,例如:可以是个人计算机、笔记本电脑、智能手机、平板电脑、便携式可穿戴设备、医疗器械、冰柜、RFID设备等。第一设备信息可以是与设备相关的任何信息,可以包括一个信息,也可以包括两个或多个信息。例如,可以是设备型号、尺寸、功能、MAC地址、IP地址、设备硬件状态、设备软件状态等等信息。位置信息指的是与位置相关的信息,可以是直接的地理位置信息;也可以是经过一定的算法可以间接确定位置的信息,例如:IP地址等。Among them, the device to be marked is an electronic device or product that can communicate with other devices on the network, for example, it can be a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, a medical device, a refrigerator, an RFID device, etc. The first device information may be any information related to the device, may include one piece of information, or may include two or more pieces of information. For example, it can be information such as device model, size, function, MAC address, IP address, device hardware status, device software status, and so on. Location information refers to information related to location, which can be direct geographic location information; it can also be information that can determine location indirectly through a certain algorithm, such as an IP address.
S202、获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示 设备上的特征码得到。S202. Obtain second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked.
在本步骤中,扫描终端扫描待标示设备上的特征码,解析出该待标示设备的第二设备信息并将该第二设备信息上传到服务器中。扫描终端可以通过网络或者非网络的方式将第二设备信息上传至服务器中。In this step, the scanning terminal scans the feature code on the device to be labeled, parses out the second device information of the device to be labeled, 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 manner.
其中,扫描终端可以是具有扫描功能的各种终端设备,例如:智能手机、扫描仪等。第二设备信息可以是与设备相关的任何信息。第二设备信息与第一设备信息的内容可以一致,也可以不一致。特征码指包含有设备信息的编码。可以是条形码、一维码、二维码等。特征码对应的信息可以粘贴、显示在待标示设备表面,扫描终端通过扫描特征码就能获取到其中包含的第二设备信息。Among them, the scanning terminal may be various terminal devices with scanning functions, such as smart phones, scanners, and so on. The second device information may be any information related to the device. The content of the second device information and the first device information may be consistent or inconsistent. The feature code refers to the code that contains device information. It can be a barcode, one-dimensional code, two-dimensional code, etc. The information corresponding to the feature code can be pasted and displayed on the surface of the device to be marked, and the scanning terminal can obtain the second device information contained in it by scanning the feature code.
S203、当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。S203: When the first device information matches the second device information, mark the device to be marked according to the first device information and location information.
在本步骤中,服务器对所接收的第一设备信息和第二设备信息进行比对,当两者相匹配时,根据第一设备信息和位置信息对待标示设备进行标示。In this step, the server compares the received first device information and the second device information, and when the two match, it marks the device to be marked according to the first device information and location information.
其中,第一设备信息和第二设备信息相匹配可以是两者具有一定的关联,也可以是相似度满足预设条件,还可以是两者相一致。对待标示设备进行标示可以是记录待标示设备的设备信息、位置信息、硬件状态、软件状态等,并将对应的待标示设备标记为已标示。Wherein, the matching of the first device information and the second device information may be that the two have a certain association, or that the similarity satisfies a preset condition, or that the two are consistent. Marking the device to be marked may be recording the device information, location information, hardware status, software state, etc. of the device to be marked, and marking the corresponding device to be marked as marked.
当前社会,设备(如电子产品等)种类繁多,设备的状态因实际软件状态及硬件状态不同而存在较多差异。同类设备往往会被安装于不同环境或门店,若没有采用设备身份信息标定,往往会出现用户或商家通过电子网络的方式仅仅可以获取设备的MAC地址,但其所在的安装位置、部门、门店、城市等需要大量的人力、时间来统计。这将对设备的身份状态标定产生较大的使用、维护隐患。本实施例不需要人工统计待标示设备的相关信息,在待标示设备较多时也能快速完成设备的标示;同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率,保证设备标示过程的稳定性。In the current society, there are many types of equipment (such as electronic products, etc.), and the status of the equipment varies greatly due to the actual software status and hardware status. Devices of the same type are often installed in different environments or stores. If the identification information of the device is not used for calibration, it will often appear that users or businesses can only obtain the MAC address of the device through the electronic network, but the installation location, department, store, Cities need a lot of manpower and time to make statistics. This will cause greater use and maintenance hidden dangers to the equipment's identity status calibration. This embodiment does not need to manually count the relevant information of the device to be marked, and can quickly complete the marking of the device when there are many devices to be marked; at the same time, it can compare the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal. On the basis of reducing labor costs, the equipment to be marked is accurately marked, which effectively improves the efficiency of equipment marking and ensures the stability of the equipment marking process.
在一个实施例中,所述获取待标示设备的第二设备信息的步骤之前,还包括:为所述待标示设备生成第三设备信息;根据所述第三设备信息以及本端的链接地址生成特征码。In one embodiment, before the step of obtaining the second device information of the device to be labeled, the method further includes: generating third device information for the device to be labeled; generating features based on the third device information and the link address of the local end code.
其中,第三设备信息也可以是MAC地址等与设备相关的任何信息。同时,扫描终端扫描该特征码以后就能通过链接地址(URL)访问服务器。Among them, the third device information may also be any device-related information such as a MAC address. At the same time, the scanning terminal can access the server through the link address (URL) after scanning the feature code.
本实施例服务器按照预设的规则为待标示设备生成第三设备信息,根据所生成的第三设 备信息以及服务端的链接地址生成对应的特征码,能为扫描终端提供信息上传的路径,同时能实现设备信息的集中管理。In this embodiment, the server generates third device information for the device to be marked according to preset rules, and generates a corresponding feature code based on the generated third device information and the link address of the server, which can provide the scanning terminal with a path for uploading information, and at the same time Realize the centralized management of equipment information.
在一个实施例中,服务器生成第三设备信息以后,还可以包括对第三设备信息进行存储的过程。In an embodiment, after the server generates the third device information, it may further include a process of storing the third device information.
在一个实施例中,所述获取待标示设备的第二设备信息的步骤,包括:接收扫描终端扫描所述特征码以后通过所述链接地址上传的第二设备信息。In one embodiment, the step of obtaining the second device information of the device to be marked includes: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
扫描终端可以自动扫描待标示设备上的特征码,也可以由待标示设备的用户或者经过授权的技术人员通过扫描设备来扫描特征码。The scanning terminal can automatically scan the feature code on the device to be marked, or the user of the device to be marked or an authorized technician can scan the feature code through the scanning device.
以第二设备信息包括MAC地址和硬件ID为例,扫描终端扫描特征码解析其中的第二设备信息和链接地址的过程可以为:Taking the second device information including the MAC address and the hardware ID as an example, the process of scanning the terminal scanning feature code to analyze the second device information and link address therein may be:
扫描终端扫描待标示设备上的特征码,得到如下信息:The scanning terminal scans the feature code on the device to be marked, and obtains the following information:
http://bind.soniq.com.cn/?mac=C81F6606FD37&id=1234567http://bind.soniq.com.cn/? mac=C81F6606FD37&id=1234567
根据预设的规则,从这个信息中可以解析出MAC地址为:C81F6606FD37,硬件ID为:1234567,本端的链接地址为http://bind.soniq.com.cn。因此,扫描终端可以访问http://bind.soniq.com.cn,并将C81F6606FD37+1234567的第二设备信息上传至服务器中。According to the preset rules, the MAC address can be parsed from this information as: C81F6606FD37, the hardware ID is: 1234567, and the local link address is http://bind.soniq.com.cn. 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, after the scanning terminal scans the feature code, the second feature information and the link address can be parsed from it, and the corresponding second device information can be uploaded to the server through the link address. It can effectively improve the efficiency of information upload, thereby improving the efficiency of equipment marking.
服务器生成第三设备信息以后,一般经过一定的时间、位置变化扫描终端才扫描待标示设备上的特征码,根据特征码所解析出的第二设备信息与服务器生成的第三设备信息可能会不对应。例如,第三设备信息与设备1对应,扫描终端扫描设备1上的特征码得到的第二设备信息是与设备2对应的,这就说明设备1上的特征码是错误的。因此有必要对扫描终端扫描得到的第二设备信息进行校验。After the server generates the third device information, the scanning terminal scans the feature code on the device to be marked after a certain period of time and location changes. The second device information parsed according to the feature code and the third device information generated by the server may be different. correspond. For example, the third device information corresponds to device 1, and the second device information obtained by scanning the feature code on device 1 by the scanning terminal corresponds to device 2, which indicates that the feature code on device 1 is wrong. Therefore, it is necessary to verify the second device information scanned by the scanning terminal.
在一个实施例中,扫描终端可以扫描待标示设备上的特征码并将解析出的第二设备信息发送给服务器。服务器根据预先存储的第三设备信息对第二设备信息进行校验,并将得到的初始校验结果通过显示等方式反馈给用户。该初始校验结果可以用于待标示设备的标示过程。In an embodiment, the scanning terminal may scan the feature code on the device to be marked and send the parsed second device information to the server. The server verifies the second device information according to the pre-stored third device information, and feeds back the obtained initial verification result to the user in a manner such as display. The initial verification result can be used in the marking process of the equipment to be marked.
第二设备信息校验通过以后,服务器可以控制打印机打印对应的特征码。用户可以将打印出来的特征码粘贴在对应的设备上。如图3所示,待标示设备上粘贴有特征码。用户通过扫描终端扫描粘贴在待标示设备上的二维码可以启动对该待标示设备的标示。After the second device information is verified, 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 Figure 3, a feature code is pasted on the device to be marked. The user scans the QR code pasted on the device to be marked through the scanning terminal to start the marking of the device to be marked.
在一个实施例中,所述获取待标示设备的第一设备信息和位置信息的步骤,包括:接收所述待标示设备通过标示接口上传的第一设备信息和位置信息;其中,所述第一设备信息预先存储于所述待标示设备中。In one embodiment, the step of acquiring the first device information and location information of the device to be labeled includes: receiving the first device information and location information uploaded by the device to be labeled through a labeling interface; wherein, the first device information and location information are uploaded by the device to be labeled. The device information is pre-stored in the device to be marked.
其中,标示接口指的是能接收与标示相关的信息的接口。服务器上设置有标示接口,待标示设备上也可以设置标示接口,这两个标示接口通过有线或无线的方式连接在一起。待标示设备可以通过该连接将相应的第一设备信息、位置信息等上报至服务器。Among them, the label interface refers to an interface that can receive information related to the label. The server is provided with a label interface, and the device to be labeled can also be provided with a label interface, and the two label interfaces are connected together in a wired or wireless manner. The device to be marked can report the corresponding first device information, location information, etc. to the server through the connection.
另外,第一设备信息可以预先存储在待标示设备的内存中。In addition, the first device information may be pre-stored in the memory of the device to be marked.
本实施例中,待标示设备与服务器连接,待标示设备读取预先存储的第一设备信息并获取位置信息,将这些信息通过网络接口自行上报至服务器中。信息的发送方式简单,同时是待标示设备将自身存储空间中的信息直接上传至服务器,能保证服务器所接收的第一设备信息和位置信息的可靠性。In this embodiment, the device to be marked is connected to the server, and the device to be marked reads the pre-stored first device information and obtains location information, and reports the information to the server through the network interface. The information sending method is simple, and at the same time, the device to be marked directly uploads the information in its own storage space to the server, which can ensure the reliability of the first device information and location information received by the server.
在一个实施例中,接收所述待标示设备通过标示接口上传的第一设备信息和位置信息的步骤之前,扫描终端扫描贴附在待标示设备上的特征码,解析出其中的第二设备信息,将第二设备信息发送给烧录设备。烧录设备将第二设备信息烧录至待标示设备的内存中。如图3所示,图3中的待标示设备的内存中烧录有第二设备信息。In one embodiment, before the step of receiving the first device information and location information uploaded by the device to be marked through the marking interface, the scanning terminal scans the feature code attached to the device to be marked, and parses out the second device information therein. , Send the second device information to the burning device. The burning device burns the second device information into the memory of the device to be marked. As shown in Fig. 3, the second device information is burned in the memory of the device to be marked in Fig. 3.
其中,待标示设备的内存可以为非易失性存储器。保证在待标示设备断电以及系统升级等过程中,第二设备信息不会被丢失、覆盖或出现错误。Among them, the memory of the device to be marked may be a non-volatile memory. Ensure that the information of the second device will not be lost, overwritten, or errors occur during the process of power failure of the device to be marked and system upgrade.
本实施例通过软件手段将MAC+硬件ID烧录进被标示设备的内部存储空间中,能作为被标示设备的一级防护。同时,用户后续升级系统软件不会覆盖MAC+硬件ID,具有较高的放呆、防复制的效果。In this embodiment, the MAC+hardware ID is burned into the internal storage space of the marked device by software means, which can be used as the primary protection of the marked device. At the same time, the user's subsequent upgrade of the system software will not cover the MAC+ hardware ID, which has a higher effect of dullness and anti-copy.
在一个实施例中,待标示设备在安装以后,有可能出现内存的第一设备信息与特征码中的第二设备信息不匹配、第一设备信息不唯一等情况,如果直接将这些信息作为待标示设备的标示信息,则会导致设备的标示不够准确。因此,需要对第一设备信息和第二设备信息等进行校验。因此,扫描终端向服务器发送第二设备信息以后,可以向服务器发送标示验证请求,服务器根据该标示验证请求对第一设备信息和第二设备信息进行校验。In one embodiment, after the device to be marked is installed, there may be situations where the first device information in the memory does not match the second device information in the feature code, and the first device information is not unique. Marking the marking information of the equipment will result in the marking of the equipment being inaccurate. Therefore, it is necessary to verify the first device information and the second device information. Therefore, after the scanning terminal sends the second device information to the server, it can send a label verification request to the server, and the server verifies the first device information and the second device information according to the label verification request.
其中,对第一设备信息和第二设备信息进行校验的过程可以包括:对第一设备信息和第二设备信息的匹配性、唯一性等进行判断,也可以包括对第一设备信息和第二设备信息中所包含信息的绑定关系的校验,当然,还可以包括其他的校验方式。Wherein, the process of verifying the first device information and the second device information may include: judging the matching and uniqueness of the first device information and the second device information, and may also include checking the first device information and the second device information. 2. The verification of the binding relationship of the information contained in the device information, of course, may also include other verification methods.
在一个实施例中,所述设备信息包括MAC地址;所述当所述第一设备信息与所述第二 设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤之前,还包括:当所述第一MAC地址与第二MAC地址相匹配时,判定第一设备信息与第二设备信息相匹配。In an embodiment, the device information includes a MAC address; when the first device information matches the second device information, the device to be labeled is checked according to the first device information and location information. Before the step of marking, it further includes: when the first MAC address matches the second MAC address, determining that the first device information matches the second device information.
其中,MAC地址指的是待标示设备的硬件地址;硬件ID指的是待标示设备的编号、型号等。Among them, the MAC address refers to the hardware address of the device to be marked; the hardware ID refers to the number, model, etc. of the device to be marked.
MAC地址和硬件ID都可以由服务器生成,生成MAC地址和硬件ID时应尽可能保证信息的唯一性。服务器生成MAC地址和硬件ID以后可以建立相应的MAC地址和硬件ID的捆绑关系。另外,服务器可以将MAC地址、硬件ID、MAC地址和硬件ID的捆绑关系进行分类存储。Both 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 generating the MAC address and the hardware ID. After the server generates the MAC address and the hardware ID, the binding relationship between the corresponding MAC address and the hardware ID can be established. In addition, the server can classify and store the binding relationship between the MAC address, the hardware ID, the MAC address, and the hardware ID.
进一步地,MAC地址和硬件ID都可以采用常规的方式生成。本发明实施例对MAC地址和硬件ID的生成方式、格式、位数等不做限定,例如,MAC地址可以是16进制的12位代码,硬件ID可以是16进制的2位代码,还可以为其他形式。Further, both the MAC address and the hardware ID can be generated in a conventional manner. The embodiment of the present invention does not limit the generation method, format, and number of bits of the MAC address and the hardware ID. For example, the MAC address can be a 12-digit hexadecimal code, and the hardware ID can be a 2-digit hexadecimal code. It can be in other forms.
本实施例根据第一MAC地址与第二MAC地址是否匹配来判断第一设备信息和第二设备信息是否匹配,能得到准确的匹配判断结果。In this embodiment, it is judged whether the first device information and the second device information match according to whether the first MAC address matches the second MAC address, and an accurate matching judgment result can be obtained.
在一个实施例中,所述设备信息包括硬件ID;所述当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤之前,还包括:当第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。In one embodiment, the device information includes a hardware ID; when the first device information matches the second device information, the device to be labeled is checked according to the first device information and location information. Before the step of marking, it further includes: when the first hardware ID matches the second hardware ID, determining that the first device information matches the second device information.
本实施例根据第一硬件ID与第二硬件ID是否匹配来判断第一设备信息和第二设备信息是否匹配,能得到准确的匹配判断结果。In this embodiment, it is judged whether the first device information and the second device information match according to whether the first hardware ID matches the second hardware ID, and an accurate matching judgment result can be obtained.
在一个实施例中,服务器在生成MAC地址和硬件ID之后,可以建立MAC地址和硬件ID的绑定关系,因此,根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤之前,还包括:当所述第一MAC地址与第二MAC地址相匹配且第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。即,判定待标示设备发送的MAC地址+硬件ID的绑定关系以及扫描终端上传的MAC地址+硬件ID的绑定关系是否相匹配,当这两个绑定关系匹配时,判定第一设备信息与第二设备信息相匹配。In one embodiment, after the server generates the MAC address and the hardware ID, the binding relationship between the MAC address and the hardware ID may be established. Therefore, the step of marking the device to be marked according to the first device information and location information Before, it further includes: when the first MAC address matches the second MAC address and the first hardware ID matches the second hardware ID, determining that the first device information matches the second device information. That is, it is determined whether the binding relationship of the MAC address + hardware ID sent by the device to be marked and the binding relationship of the MAC address + hardware ID uploaded by the scanning terminal match. When the two binding relationships match, the first device information is determined Match with the second device information.
本实施例将MAC地址和硬件ID结合起来判断第一设备信息和第二设备信息是否相匹配,在两者均匹配时再对待标示设备进行标示,能双重保证信息的准确性,进而可以得到准确的标示结果,防止出现两个或多个的标示信息一样或混淆的情况。In this embodiment, the MAC address and the hardware ID are combined to determine whether the first device information and the second device information match, and when both match, the device to be marked is marked, which can double guarantee the accuracy of the information, and thus obtain the accuracy. The result of the labeling can prevent two or more labeling information being the same or confusing.
在一个实施例中,所述位置信息包括IP地址;所述根据所述第一设备信息和位置信息对 所述待标示设备进行标示的步骤,包括:根据所述IP地址对所述MAC地址进行唯一性校验;当所述MAC地址唯一时,根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示。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 location information includes: performing the MAC address according to the IP address Uniqueness check; when the MAC address is unique, the device to be marked is marked according to the first MAC address, the first hardware ID, and the IP address.
其中,根据所述IP地址对所述MAC地址进行唯一性校验的实现过程可以为:判断当前的MAC地址是否对应有两个IP地址,若是,则说明有两个设备的MAC地址是一样的,如果根据这样的MAC地址对待标示设备进行标示,则后续需要获取设备的标示信息时会出现信息混乱的情况。因此,当MAC地址不唯一(该MAC地址出现在两个或多个设备上)时,则不进行设备标示,或更改其中一个MAC地址。Wherein, the implementation process of performing 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, it means that the MAC addresses of the two devices are the same If the device to be marked is marked based on such a MAC address, information confusion will occur when the marking information of the device needs to be obtained later. Therefore, when the MAC address is not unique (the MAC address appears on two or more devices), the device is not marked, or one of the MAC addresses is changed.
MAC地址可能存在重复,即两台相同的设备或不同的设备具有相同的MAC身份,因此本实施例对MAC地址进行唯一性校验,只有在MAC地址唯一时,才对待标示设备进行标示。能有效保证设备标示结果的可靠性。There may be duplication of MAC addresses, that is, two identical devices or different devices have the same MAC identity. Therefore, this embodiment performs the uniqueness check on the MAC address, and only when the MAC address is unique, the device to be marked is marked. It can effectively ensure the reliability of the equipment marked results.
在一个实施例中,可以在对第一设备信息和第二设备信息进行匹配性校验之前,先对MAC地址进行唯一性校验,如果第一MAC地址和第二MAC地址中的一个或两个不唯一,则不进行后续的匹配性校验过程。这样能在MAC地址不唯一时省去后续的步骤,提高待标示设备标示过程的效率。In one embodiment, the MAC address may be uniquely checked before the matching check is performed on the first device information and the second device information. If one or both of the first MAC address and the second MAC address are If one is not unique, the subsequent matching check process will not be performed. In this way, subsequent steps can be omitted when the MAC address is not unique, and the efficiency of the labeling process of the device to be labeled can be improved.
在一个实施例中,在对待标示设备进行标示之前,可以对待标示设备进行校验:对MAC地址的匹配性、硬件ID的匹配性、MAC地址+硬件ID的捆绑关系、MAC地址唯一性、初始校验结果、MAC地址+硬件ID的标示状态等进行校验。可以在其中的所有校验项目都检验通过才判定待标示设备校验通过,对待标示设备进行标示。也可以在其中某一或某几个校验项目未通过时仍判定待标示设备校验通过。若判定待标示设备校验未通过,可以结束对该标示设备的标示,在获取到新的设备信息和位置信息以后重新进行校验和标示过程。In one embodiment, before marking the device to be labeled, the device to be labeled can be verified: the matching of the MAC address, the matching of the hardware ID, the binding relationship of the MAC address + the hardware ID, the uniqueness of the MAC address, and the initial The verification result, the marking status of the MAC address + hardware ID, etc. are verified. It can be determined that the device to be marked has passed the verification after all the verification items in it are verified, and the device to be marked is marked. It is also possible to determine that the equipment to be marked has passed the verification when one or several of the verification items have not passed. If it is determined that the verification of the device to be marked has not passed, the marking of the marking device can be ended, and the verification and marking process can be performed again after acquiring the new device information and location information.
另外,在服务器接收到待标示设备和扫描终端上传的MAC地址和硬件ID以后,除了将从两个设备上传的信息进行比对,还可以根据预先存储的MAC地址和硬件ID对所接收的信息进行验证。In addition, after the server receives the MAC address and hardware ID uploaded by the device to be marked and the scanning terminal, in addition to comparing the information uploaded from the two devices, it can also compare the received information based on the pre-stored MAC address and hardware ID authenticating.
在一个实施例中,所述根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示的步骤,包括:根据所述IP地址确定所述待标示设备的位置;记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。In one embodiment, the step of marking the device to be marked according to the first MAC address, the first hardware ID and the IP address includes: determining the location of the device to be marked according to the IP address; Record the first MAC address, the first hardware ID, and the location, and mark the device to be marked as marked.
待标示设备联网以后能获取到对应的IP地址,根据IP地址能确定出待标示设备的位置。After the device to be marked is connected to the Internet, the corresponding IP address can be obtained, and the location of the device to be marked can be determined based on the IP address.
本实施例,记录待标示设备的第一MAC地址、第一硬件ID以及所在的位置,并改变待 标示设备的标示状态,完成待标示设备的标示过程。In this embodiment, the first MAC address, first hardware ID, and 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 marking the device to be marked may be:
1)假设待标示设备通过标示接口上传的信息为:1) Assume that the information uploaded by the device to be marked through the marking interface is:
第一MAC地址=00 00 00 00 00 1A,第一硬件ID=0A,IP地址=00 00 00 00 00 1B。其中,0A为4通道RFID射频发射器。The first MAC address = 00 00 00 00 00 1A, the first hardware ID = 0A, and the IP address = 00 00 00 00 00 1B. Among them, 0A is a 4-channel RFID radio frequency transmitter.
2)扫描终端扫描待标示设备表面的二维码所解析出来的信息为:2) The information parsed by the scanning terminal by scanning the QR code on the surface of the device to be marked is:
第二MAC地址=00 00 00 00 00 1A,第二硬件ID=0A,The second MAC address = 00 00 00 00 00 1A, the second hardware ID = 0A,
URL=http://bind.soniq.com.cn。URL = http://bind.soniq.com.cn.
3)对MAC地址+硬件ID的匹配性、MAC地址+硬件ID的捆绑关系、MAC地址唯一性、初始校验结果、MAC地址+硬件ID的标示状态等进行校验:3) Verify the matching of the MAC address + hardware ID, the binding relationship of the MAC address + hardware ID, the uniqueness of the MAC address, the initial verification result, the marking status of the MAC address + hardware ID, etc.:
第一MAC地址与第二MAC地址一致且该MAC地址唯一(同一MAC地址对应没有另一个IP地址),第一硬件ID与第二硬件ID一致,MAC地址+硬件ID的捆绑关系与预先存储在服务器中的MAC地址+硬件ID的捆绑关系一致,初始校验结果为通过,该MAC地址+硬件ID为未标示状态。认为所述待标示设备校验通过。The first MAC address is consistent with the second MAC address and the MAC address is unique (the same MAC address does not correspond to another IP address), the first hardware ID is consistent with the second hardware ID, and the binding relationship of MAC address + hardware ID is stored in advance The binding relationship of the MAC address + hardware ID in the server is consistent, the initial verification result is passed, and the MAC address + hardware ID is in an unmarked state. It is considered that the device to be marked passes the verification.
4)根据该IP地址确定待标示设备的位置是在1号店中,因此将待标示设备标记为已标记设备,并为该待标示设备生成标记信息:4) According to the IP address, it is determined that the location of the device to be marked is in the No. 1 shop, so the device to be marked is marked as a marked device, and marking information is generated for the device to be marked:
1号店中,MAC地址=00 00 00 00 00 1A,第一硬件ID=0A,IP地址=00 00 00 00 00 1B。In the No. 1 shop, MAC address = 00 00 00 00 00 1A, first hardware ID = 0A, IP address = 00 00 00 00 00 1B.
在一个实施例中,对待标示设备标示的过程还可以为:In an embodiment, the process of marking the device to be marked may also be:
1)假设待标示设备通过标示接口上传的信息为:1) Assume that the information uploaded by the device to be marked through the marking interface is:
第一MAC地址=00 00 00 00 00 1A,第一硬件ID=0A,IP地址=00 00 00 00 00 1B。The first MAC address = 00 00 00 00 00 1A, the first hardware ID = 0A, and the IP address = 00 00 00 00 00 1B.
2)扫描终端扫描待标示设备表面的二维码所解析出来的信息为:2) The information parsed by the scanning terminal by scanning the QR code on the surface of the device to be marked is:
第二MAC地址=00 00 00 00 002A,第二硬件ID=1A,(其中,1A为8通道RFID射频发射器),URL=http://bind.soniq.com.cn。The second MAC address = 00 00 00 00 00 002A, the second hardware ID = 1A, (where 1A is an 8-channel RFID radio frequency transmitter), URL = http://bind.soniq.com.cn.
3)对MAC地址+硬件ID的匹配性、MAC地址+硬件ID的捆绑关系、MAC地址唯一性、初始校验结果、MAC地址+硬件ID的标示状态等进行校验:3) Verify the matching of the MAC address + hardware ID, the binding relationship of the MAC address + hardware ID, the uniqueness of the MAC address, the initial verification result, the marking status of the MAC address + hardware ID, etc.:
第一MAC地址与第二MAC地址不一致,第一MAC地址和第二MAC地址均唯一,第一硬件ID与第二硬件ID不一致,第一MAC地址+第一硬件ID的捆绑关系与预先存储在服务器中的第一MAC地址+第一硬件ID的捆绑关系一致,第二MAC地址+第二硬件ID的捆绑关系与预先存储在服务器中的第二MAC地址+第二硬件ID的捆绑关系一致,第一MAC 地址+第一硬件ID的初始校验结果为通过,第二MAC地址+第二硬件ID的初始校验结果也为通过,该MAC地址+硬件ID为未标示状态。虽然MAC地址唯一,但是待标示设备和扫描终端上传的信息不一致,可能待标示设备上的二维码与该待标示设备不对应,认为所述待标示设备校验不通过。将该待标示设备标记为未标示,结束对该待标示设备的标示。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 is inconsistent with the second hardware ID, and the binding relationship of the first MAC address + the first hardware ID is pre-stored in The binding relationship of the first MAC address + the first hardware ID in the server is consistent, and the binding relationship of the second MAC address + the second hardware ID is consistent with the binding relationship of the second MAC address + the second hardware ID pre-stored in the server, The initial verification result of the first MAC address + the first hardware ID is passed, and the initial verification result of the second MAC address + the second hardware ID is also passed, and the MAC address + hardware ID is in an unmarked state. Although the MAC address is unique, the information uploaded by the device to be labeled and the scanning terminal are inconsistent. It is possible that the two-dimensional code on the device to be labeled does not correspond to the device to be labeled, and it is considered that the device to be labeled fails the verification. Mark the equipment to be marked as unmarked, and end the marking of the equipment to be marked.
在一个实施例中,还可以由服务器以外的设备来校验MAC地址和硬件ID等,例如:通过与服务器、待标示设备、扫描终端连接的第四方计算机来完成校验。该计算机与待标示设备的硬件接口(USB、串口、网口等)连接,通过该硬件接口获取待标示设备的第一MAC地址+第一硬件ID;获取服务器中预先存储的第三MAC地址+第三硬件ID;获取扫描终端的第二MAC地址+第二硬件ID。计算机获取这三组数据以后,对它们进行校验,若校验通过则说明:存储在待标示设备内存中的第一MAC地址+第一硬件ID与贴附在待标示设备上的二维码对应的第二MAC地址+第二硬件ID是一致的,与服务器中预先存储的验证通过的第三MAC地址+第三硬件ID也一致,同时MAC地址+硬件ID的绑定关系验证通过,MAC地址不重复。In one embodiment, a device other than the server may also verify the MAC address and hardware ID, for example: the verification is completed by a fourth-party computer connected to the server, the device to be marked, and the scanning terminal. The computer is connected to the hardware interface (USB, serial port, network port, etc.) of the device to be marked, and the first MAC address + first hardware ID of the device to be marked is obtained through the hardware interface; the third MAC address pre-stored in the server + The third hardware ID; to obtain the second MAC address of the scanning terminal + the second hardware ID. After the computer obtains these three sets of data, it verifies them. If the verification passes, it means: the first MAC address + the first hardware ID stored in the memory of the device to be labeled and the QR code attached to the device to be labeled The corresponding second MAC address + second hardware ID is the same, which is also consistent with the verified third MAC address + third hardware ID pre-stored in the server. At the same time, the binding relationship of MAC address + hardware ID is verified. The address is not duplicated.
本实施例可实现待标示设备的软件、硬件、二维码标签、预存数据等多点的审核与验证,大大提升了产品软硬件地址的纠错能力,有效避免了产品MAC地址重复带来的诸多问题。This embodiment can implement multi-point review and verification of the software, hardware, QR code labels, pre-stored data, etc. of the device to be marked, which greatly improves the error correction capability of the product's software and hardware addresses, and effectively avoids the repetition of product MAC addresses. Many problems.
在一个实施例中,如图4所示,提供一种设备标示方法,包括以下步骤:In one embodiment, as shown in FIG. 4, a device marking method is provided, which includes the following steps:
S401、为待标示设备生成MAC地址和硬件ID;根据所述MAC地址和硬件ID以及本端的链接地址生成特征码。S401: Generate a MAC address and a hardware ID for the device to be marked; generate a feature code according to the MAC address, hardware ID and the link address of the local end.
S402、接收扫描终端扫描所述特征码以后通过所述链接地址上传的第二MAC地址和第二硬件ID。S402: Receive a second MAC address and a second hardware ID uploaded by the scanning terminal through the link address after scanning the characteristic code.
S403、接收所述待标示设备通过标示接口上传的第一MAC地址、第一硬件ID和IP地址。S403: Receive the first MAC address, the first hardware ID, and the IP address uploaded by the device to be marked through the marking interface.
S404、当所述第一MAC地址与第二MAC地址相匹配且第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。S404: When the first MAC address matches the second MAC address and the first hardware ID matches the second hardware ID, determine that the first device information matches the second device information.
S405、根据所述IP地址对所述第一MAC地址进行唯一性校验。S405: Perform uniqueness check on the first MAC address according to the IP address.
S406、当所述第一MAC地址唯一时,根据所述IP地址确定所述待标示设备的位置;记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。S406. When the first MAC address is unique, determine the location of the device to be labeled according to the IP address; record the first MAC address, the first hardware ID, and the location, and mark the device to be labeled Is marked.
本实施例,不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准 确地标示,有效提高设备标示的效率。In this embodiment, there is no need to manually count the relevant information of the device to be marked, and at the same time, the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared, so that the device to be marked can be accurately performed on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
在一个实施例中,服务器可以连接显示装置、非易失性存储器、特征码扫描器、硬件接口等,这些结构的功能分别为:显示装置,用于显示服务器中所要显示的信息。非易失性存储器,用于存储服务器中的MAC地址、硬件ID、MAC地址和硬件ID的捆绑关系等信息。特征码扫描器,用于扫描服务器所生成的特征码。硬件接口,可以为键盘、鼠标等,用于与用户进行交互。In an embodiment, the server can be connected to a display device, a non-volatile memory, a feature code scanner, a hardware interface, etc. The functions of these structures are respectively: a display device for displaying information to be displayed in the server. Non-volatile memory is used to store information such as the MAC address, hardware ID, the binding relationship between the MAC address and the hardware ID in the server. The feature code scanner is used to scan the feature code generated by the server. The hardware interface, which can be a keyboard, a mouse, etc., is used to interact with the user.
在一个实施例中,服务器102中的结构示意图可以如图5所示,服务器102包括信息标示模块、信息接收模块、信息预存模块、审核验证模块、特征码生成模块、数据输出模块、标示分类模块、代码生成模块、代码捆绑模块。In one embodiment, the schematic diagram of the structure in the server 102 may be as shown in FIG. 5. The server 102 includes an information labeling module, an information receiving module, an information pre-storage module, an audit verification module, a feature code generation module, a data output module, and a label classification module. , Code generation module, code binding module.
以上各个模块的功能可以如下:The functions of the above modules can be as follows:
信息标示模块(即前述实施例中的标示接口)用于与待标示设备连接,在对待标示设备进行标示的过程中接收待标示设备发送的MAC地址、硬件ID、IP地址等。同时,可以与扫描终端连接,扫描终端在扫描待标示设备上的二维码以后,根据其中的链接地址访问信息标示模块。信息接收模块用于与待标示设备连接,以接收待标示设备上传的MAC地址、RFID识别数据、软件版本等信息。信息预存模块用于存储信息生成模块生成的MAC地址和硬件ID、MAC地址和硬件ID的捆绑关系以及包含有链接地址的二维码等。审核验证模块用于对终端上传的MAC地址、硬件ID、MAC地址+硬件ID的绑定关系、MAC地址唯一性等进行验证。二维码生成模块用于按照一定的算法根据MAC地址+硬件ID的绑定关系生成待标示设备的二维码。数据输出模块用于输出MAC地址、硬件ID、设备标示结果、初始校验结果等信息。标示分类模块用于对审核验证模块的审核结果进行分类,并将分类结果同步到信息预存模块中。信息生成模块用于按照预设的算法生成MAC地址、硬件ID等信息。信息捆绑模块用于根据预先设定的规则将MAC地址和硬件ID进行分类捆绑。The information labeling module (ie, the labeling interface in the foregoing embodiment) is used to connect with the device to be labeled, and to receive the MAC address, hardware ID, IP address, etc. sent by the device to be labeled during the process of labeling the device to be labeled. At the same time, it can be connected with a scanning terminal. After scanning the QR code on the device to be marked, the scanning terminal accesses the information marking module according to the link address therein. The information receiving module is used to connect with the device to be marked to receive the MAC address, RFID identification data, software version and other information uploaded by the device to be marked. The information pre-storage module is used to store the MAC address and the hardware ID, the binding relationship between the MAC address and the hardware ID, and the QR code containing the link address generated by the information generation module. The audit verification module is used to verify the MAC address, the hardware ID, the binding relationship of the MAC address + the hardware ID, and the uniqueness of the MAC address uploaded by the terminal. The two-dimensional code generation module is used to generate the two-dimensional code of the device to be marked according to a certain algorithm according to the binding relationship of MAC address + hardware ID. The data output module is used to output information such as MAC address, hardware ID, device marking result, and initial verification result. The marking classification module is used to classify the audit results of the audit verification module and synchronize the classification results to the information pre-storage module. The information generating module is used to generate MAC address, hardware ID and other information according to a preset algorithm. The information binding module is used for classifying and binding MAC addresses and hardware IDs according to preset rules.
为了更好地理解上述方法,以下以待标示设备为RFID设备、服务器为云端系统为例详细阐述一个本发明设备标示方法的应用实例。In order to better understand the above method, an application example of the device labeling method of the present invention is described in detail below, taking the device to be labeled as an RFID device and the server as a cloud system as an example.
信息生成部分:Information generation part:
1、云端系统根据16进制为多个RFID设备生成MAC地址和硬件ID;根据预先设定的规则建立MAC地址和硬件ID的捆绑关系,并将MAC地址、硬件ID以及MAC地址和硬件ID的捆绑关系进行分类存储。1. The cloud system generates MAC addresses and hardware IDs for multiple RFID devices according to the hexadecimal system; establishes the binding relationship between MAC addresses and hardware IDs according to preset rules, and combines the MAC addresses, hardware IDs, and MAC addresses with hardware IDs. The binding relationship is classified and stored.
2、云端系统根据MAC地址、硬件ID、MAC地址和硬件ID的绑定关系以及标示接口 的链接地址生成二维码。2. The cloud system generates a QR code based on the MAC address, hardware ID, the binding relationship between the MAC address and the hardware ID, and the link address that indicates the interface.
3、由于云端系统连接的外设打印这些二维码,并将二维码粘贴到对应的RFID设备上。3. The peripherals connected to the cloud system print these QR codes and paste the QR codes on the corresponding RFID devices.
4、工作人员通过与云端系统连接的二维码扫描器扫描RFID设备上的二维码,将二维码上传至云端系统。云端系统对二维码中的MAC地址、硬件ID等进行校验,若校验通过,通过显示器反馈给工作人员,同时将本次校验所得到的初始校验结果存储到存储器中。4. The staff scans the QR code on the RFID device through the QR code scanner connected to the cloud system, and uploads the QR code to the cloud system. The cloud system verifies the MAC address, hardware ID, etc. in the two-dimensional code. If the verification passes, it will be reported to the staff through the display, and the initial verification result obtained by this verification will be stored in the memory at the same time.
信息烧录部分:Information burning part:
5、对于通过步骤4中验证过程的RFID设备,通过与RFID设备连接的二维码扫描器扫描其上的二维码,解析出其中的MAC地址和硬件ID。5. For the RFID device that passed the verification process in step 4, scan the QR code on the QR code scanner connected to the RFID device to parse out the MAC address and hardware ID.
6、通过与云端系统连接的计算机将解析出的MAC地址和硬件ID烧录至对应RFID设备的内存中。6. Burn the parsed MAC address and hardware ID into the memory of the corresponding RFID device through a computer connected to the cloud system.
设备标示部分:Equipment marking part:
7、RFID设备1安装完成以后连接网络获取IP地址,通过与云端系统的标示接口向云端系统上传其内存中存储的第一MAC地址、第一硬件ID和IP地址,其中第一MAC地址=00 00 00 00 00 1A,第一硬件ID=0A,IP地址=00 00 00 00 00 1B。7. After the RFID device 1 is installed, it connects to the network to obtain an IP address, and uploads the first MAC address, first hardware ID and IP address stored in its memory to the cloud system through the label interface with the cloud system, where the first MAC address = 00 00 00 00 00 1A, first hardware ID = 0A, IP address = 00 00 00 00 00 1B.
8、云端系统通过标示接口提取其中的第一MAC地址、第一硬件ID和IP地址。8. The cloud system extracts the first MAC address, the first hardware ID, and the IP address from it through the marking interface.
9、用户通过扫描终端扫描RFID设备1上的二维码,解析出其中的第二MAC地址和第二硬件ID,其中第二MAC地址=00 00 00 00 00 1A,第二硬件ID=0A,9. The user scans the QR code on the RFID device 1 through the scanning terminal, and parses out the second MAC address and the second hardware ID, where the second MAC address = 00 00 00 00 00 1A, and the second hardware ID = 0A.
URL=http://bind.soniq.com.cnURL = http://bind.soniq.com.cn
10、扫描终端通过所解析出的URL访问云端系统,并向云端系统发送第二MAC地址和第二硬件ID,并发送标示验证请求。10. The scanning terminal accesses the cloud system through the parsed URL, and sends the second MAC address and the second hardware ID to the cloud system, and sends a mark verification request.
11、云端系统对MAC地址+硬件ID的匹配性、MAC地址唯一性、MAC地址+硬件ID的捆绑关系、初始校验结果、MAC地址+硬件ID的标示状态等进行校验。11. The cloud system verifies the matching of the MAC address + hardware ID, the uniqueness of the MAC address, the binding relationship of the MAC address + hardware ID, the initial verification result, and the marking status of the MAC address + hardware ID.
校验结果为:第一MAC地址与第二MAC地址一致且该MAC地址唯一(00 00 00 00 00 1A没有相对应的另一个IP地址),第一硬件ID与第二硬件ID一致,MAC地址+硬件ID的捆绑关系与预先存储在服务器中的MAC地址+硬件ID的捆绑关系一致,初始校验结果为通过,00 00 00 00 00 1A+0A为未标示状态。认为所述待标示设备校验通过。The verification result is: the first MAC address is consistent with the second MAC address and the MAC address is unique (00 00 00 00 00 1A does not have another corresponding IP address), the first hardware ID is consistent with the second hardware ID, the MAC address The binding relationship of +hardware ID is consistent with the binding relationship of MAC address+hardware ID pre-stored in the server. The initial verification result is passed, and 00 00 00 00 00 1A+0A is in the unmarked state. It is considered that the device to be marked passes the verification.
12、根据该IP地址确定待标示设备的位置是在1号店中,因此为该待标示设备生成标记信息:12. According to the IP address, it is determined that the location of the device to be marked is in the No. 1 shop, so marking information is generated for the device to be marked:
1号店中,MAC地址=00 00 00 00 00 1A,第一硬件ID=0A,IP地址=00 00 00 00 00 1B。In the No. 1 shop, MAC address = 00 00 00 00 00 1A, first hardware ID = 0A, IP address = 00 00 00 00 00 1B.
13、云端系统将RFID设备1标记为已标示,将标示结果存储到存储器中,并将标示结果通过标示接口反馈给RFID设备1的用户。13. The cloud system marks the RFID device 1 as marked, stores the marking result in the memory, and feeds the marking result back to the user of the RFID device 1 through the marking interface.
14、云端系统提供标示信息查询接口,用户可以通过该查询接口获取某个已标示设备的MAC地址、硬件ID等信息。14. The cloud system provides a label information query interface, through which users can obtain the MAC address, hardware ID and other information of a marked device.
本实施例,不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率。In this embodiment, there is no need to manually count the relevant information of the device to be marked, and at the same time, the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared, so that the device to be marked can be accurately performed on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。It should be noted that for the foregoing method embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described sequence of actions, because According to the present invention, certain steps can be performed in other order or simultaneously.
基于与上述实施例中的设备标示方法相同的思想,本发明还提供设备标示装置和设备标示系统,该装置和系统可用于执行上述设备标示方法。为了便于说明,设备标示装置和设备标示系统实施例的结构示意图中,仅仅示出了与本发明实施例相关的部分,本领域技术人员可以理解,图示结构并不构成对装置和系统的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same idea as the device marking method in the foregoing embodiment, the present invention also provides a device marking device and a device marking system, which can be used to implement the device marking method described above. For ease of description, in the schematic structural diagrams of the embodiments of the device marking device and the device marking system, only the parts related to the embodiments of the present invention are shown. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the device and the system. It may include more or fewer components than shown, or combine some components, or different component arrangements.
如图6所述,设备标示装置包括第一信息获取模块601、第二信息获取模块602和设备标示模块603,详细说明如下:As shown in FIG. 6, the device identification device includes a first information acquisition module 601, a second information acquisition module 602, and an equipment identification module 603, which are described in detail as follows:
第一信息获取模块601,用于获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送。The first information acquisition module 601 is configured to acquire first device information and location information of the device to be labeled; the first device information and location information are sent by the device to be labeled.
第二信息获取模块602,用于获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到。The second information acquisition module 602 is configured to acquire second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked.
以及,设备标示模块603,用于当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。And, the device marking module 603 is configured to mark the device to be marked according to the first device information and location information when the first device information matches the second device information.
本实施例,不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率。In this embodiment, there is no need to manually count the relevant information of the device to be marked, and at the same time, the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared, so that the device to be marked can be accurately performed on the basis of reducing labor costs. Marking effectively improves the efficiency of equipment marking.
在一个实施例中,还包括:特征码生成模块,用于为所述待标示设备生成第三设备信息;根据所述第三设备信息以及本端的链接地址生成特征码。In one embodiment, it further includes: a feature code generation module, configured to generate third device information for the device to be marked; and generate a feature code based on the third device information and the link address of the local end.
在一个实施例中,第二信息获取模块602,还用于接收扫描终端扫描所述特征码以后通 过所述链接地址上传的第二设备信息。In an embodiment, the second information acquisition module 602 is further configured to receive the second device information uploaded through the link address after the scanning terminal scans the feature code.
在一个实施例中,第一信息获取模块601,还用于接收所述待标示设备通过标示接口上传的第一设备信息和位置信息;其中,所述第一设备信息预先存储于所述待标示设备中。In one embodiment, the first information acquisition module 601 is further configured to receive first device information and location information uploaded by the device to be marked through a marking interface; wherein, the first device information is pre-stored in the device to be marked In the device.
在一个实施例中,还包括:第一匹配性判断模块,用于当所述第一MAC地址与第二MAC地址相匹配时,判定第一设备信息与第二设备信息相匹配。In one embodiment, it further includes: a first matching judging module, configured to judge that the first device information matches the second device information when the first MAC address matches the second MAC address.
在一个实施例中,还包括:第二匹配性判断模块,用于当第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。In one embodiment, it further includes: a second matching judging module, configured to judge that the first device information matches the second device information when the first hardware ID matches the second hardware ID.
在一个实施例中,设备标示模块603,包括:唯一性校验子模块,用于根据所述IP地址对所述MAC地址进行唯一性校验;标示子模块,用于当所述MAC地址唯一时,根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示。In one embodiment, the device identification module 603 includes: a uniqueness check sub-module for performing uniqueness verification on the MAC address according to the IP address; and an identification sub-module for when the MAC address is unique At this time, the device to be marked is marked according to the first MAC address, the first hardware ID and the IP address.
在一个实施例中,标示子模块,包括:位置确定单元,根据所述IP地址确定所述待标示设备的位置;信息记录单元,用于记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。In one embodiment, the marking submodule includes: a location determining unit, which determines the location of the device to be marked according to the IP address; and an information recording unit, which records the first MAC address, the first hardware ID, and the location of the device to be marked. In the position, the device to be marked is marked as marked.
在一个实施例中,如图7所示,提供了一种设备标示系统,包括:服务器和扫描终端;其中,所述服务器与待标示设备连接;所述服务器,用于获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;所述扫描终端,用于扫描待标示设备上的特征码并将所述待标示设备的第二设备信息发送给所述服务器;所述服务器,用于当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。In one embodiment, as shown in FIG. 7, a device marking system is provided, including: a server and a scanning terminal; wherein the server is connected to the device to be marked; the server is used to obtain the first device to be marked. 1. Device information and location information; the first device information and location information are sent by the device to be labeled; the scanning terminal is used to scan the feature code on the device to be labeled and to mark the second device of the device to be labeled The information is sent to the server; the server is configured to mark the device to be marked according to the first device information and location information when the first device information matches the second device information.
本实施例,不需要人工统计待标示设备的相关信息,同时比较待标示设备上传的第一设备信息以及扫描终端上传的第二设备信息,能在减少人力成本的基础上对待标示设备进行准确地标示,有效提高设备标示的效率。In this embodiment, there is no need to manually count the relevant information of the device to be marked, and at the same time, the first device information uploaded by the device to be marked and the second device information uploaded by the scanning terminal can be compared. Marking effectively improves the efficiency of equipment marking.
需要说明的是,本发明的设备标示装置与本发明的设备标示方法一一对应,在上述设备标示方法的实施例阐述的技术特征及其有益效果均适用于设备标示装置的实施例中,具体内容可参见本发明方法实施例中的叙述,此处不再赘述,特此声明。It should be noted that the device marking device of the present invention corresponds to the device marking method of the present invention one-to-one. The technical features and beneficial effects described in the foregoing device marking method embodiments are all applicable to the device marking device embodiments. For the content, please refer to the description in the method embodiment of the present invention, which will not be repeated here, and it is hereby declared.
此外,上述示例的设备标示装置的实施方式中,各程序模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的程序模块完成,即将所述设备标示装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分功能。In addition, in the implementation of the device marking device in the above example, the logical division of each program module is just an example. In actual applications, the above functions can be changed according to needs, for example, due to the configuration requirements of the corresponding hardware or the convenience of software implementation. The allocation is completed by different program modules, that is, the internal structure of the equipment marking device is divided into different program modules to complete all or part of the functions described above.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图8所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储MAC地址、硬件ID、IP地址等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种设备标示方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 8. The computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile 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 the operating system and computer programs in the non-volatile storage medium. The computer equipment database is used to store data such as MAC addresses, hardware IDs, and IP addresses. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize a device marking method.
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the following steps are implemented: acquiring the first device to be marked 1. Device information and location information; the first device information and location information are sent by the device to be labeled; the second device information of the device to be labeled is acquired; the second device information is scanned by the scanning terminal by scanning the device to be labeled The feature code is obtained; when the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:为所述待标示设备生成第三设备信息;根据所述第三设备信息以及本端的链接地址生成特征码。In an embodiment, the processor further implements the following steps when executing the computer program: generating third device information for the device to be marked; generating a feature code based on the third device information and the link address of the local end.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:接收扫描终端扫描所述特征码以后通过所述链接地址上传的第二设备信息。In an embodiment, the processor further implements the following step when executing the computer program: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:接收所述待标示设备通过标示接口上传的第一设备信息和位置信息;其中,所述第一设备信息预先存储于所述待标示设备中。In one embodiment, the processor further implements the following steps when executing the computer program: receiving the first device information and location information uploaded by the device to be marked through the marking interface; wherein, the first device information is pre-stored in the device to be marked. Marking equipment.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当所述第一MAC地址与第二MAC地址相匹配时,判定第一设备信息与第二设备信息相匹配。In an embodiment, the processor further implements the following step when executing the computer program: when the first MAC address matches the second MAC address, it is determined that the first device information matches the second device information.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。In an embodiment, the processor further implements the following step when executing the computer program: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:根据所述IP地址对所述MAC地址进行唯一性校验;当所述MAC地址唯一时,根据所述第一MAC地址、第一硬件 ID和IP地址对所述待标示设备进行标示。In one embodiment, the processor further implements the following steps when executing the computer program: the MAC address is uniquely verified according to the IP address; when the MAC address is unique, the first MAC address and the first MAC address are used. A hardware ID and IP address mark the device to be marked.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:根据所述IP地址确定所述待标示设备的位置;记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。In one embodiment, the processor further implements the following steps when executing the computer program: determining the location of the device to be labeled according to the IP address; recording the first MAC address, the first hardware ID, and the location, The equipment to be marked is marked as marked.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: acquiring first device information and location information of the device to be marked; One device information and location information are sent by the device to be labeled; the second device information of the device to be labeled is acquired; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be labeled; when the first device When the information matches the second device information, the device to be marked is marked according to the first device information and location information.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:为所述待标示设备生成第三设备信息;根据所述第三设备信息以及本端的链接地址生成特征码。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: generating third device information for the device to be marked; generating a feature code based on the third device information and the link address of the local end.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:接收扫描终端扫描所述特征码以后通过所述链接地址上传的第二设备信息。In an embodiment, when the computer program is executed by the processor, the following step is further implemented: receiving the second device information uploaded through the link address after the scanning terminal scans the characteristic code.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:接收所述待标示设备通过标示接口上传的第一设备信息和位置信息;其中,所述第一设备信息预先存储于所述待标示设备中。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: receiving the first device information and location information uploaded by the device to be marked through the marking interface; wherein, the first device information is pre-stored in the In the equipment to be marked.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当所述第一MAC地址与第二MAC地址相匹配时,判定第一设备信息与第二设备信息相匹配。In one embodiment, when the computer program is executed by the processor, the following step is further implemented: when the first MAC address matches the second MAC address, it is determined that the first device information matches the second device information.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:根据所述IP地址对所述MAC地址进行唯一性校验;当所述MAC地址唯一时,根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the MAC address is uniquely checked according to the IP address; when the MAC address is unique, according to the first MAC address, The first hardware ID and IP address mark the device to be marked.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:根据所述IP地址确定所述待标示设备的位置;记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determine the location of the device to be marked according to the IP address; record the first MAC address, the first hardware ID and the location, and The device to be marked is marked as marked.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,作为独立的产品销售或使用。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具 有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer readable storage medium, as Independent product sales or use. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary. The program is processed in a way to obtain the program electronically and then stored in the computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: Discrete logic circuits, application-specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本发明实施例的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或(模块)单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or (module) units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optional The ground also includes other steps or units inherent to these processes, methods, products, or equipment.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered as the scope of this specification.
以上所述实施例仅表达了本发明的几种实施方式,不能理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several embodiments of the present invention, and cannot be understood as a limitation of the patent scope of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can be made, and these all fall within the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (11)

  1. 一种设备标示方法,其特征在于,包括以下步骤:A device marking method, characterized in that it comprises the following steps:
    获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;Acquiring first device information and location information of the device to be labeled; the first device information and location information are sent by the device to be labeled;
    获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;Acquiring second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked;
    当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。When the first device information matches the second device information, the device to be marked is marked according to the first device information and location information.
  2. 根据权利要求1所述的设备标示方法,其特征在于,所述获取待标示设备的第二设备信息的步骤之前,还包括:The device marking method according to claim 1, wherein before the step of obtaining second device information of the device to be marked, the method further comprises:
    为所述待标示设备生成第三设备信息;Generating third device information for the device to be marked;
    根据所述第三设备信息以及本端的链接地址生成特征码。A feature code is generated according to the third device information and the link address of the local end.
  3. 根据权利要求2所述的设备标示方法,其特征在于,所述获取待标示设备的第二设备信息的步骤,包括:The device marking method according to claim 2, wherein the step of obtaining second device information of the device to be marked comprises:
    接收扫描终端扫描所述特征码以后通过所述链接地址上传的第二设备信息。Receiving the second device information uploaded through the link address after the scanning terminal scans the feature code.
  4. 根据权利要求1所述的设备标示方法,其特征在于,所述获取待标示设备的第一设备信息和位置信息的步骤,包括:The device marking method according to claim 1, wherein the step of obtaining first device information and location information of the device to be marked comprises:
    接收所述待标示设备通过标示接口上传的第一设备信息和位置信息;其中,所述第一设备信息预先存储于所述待标示设备中。Receiving first device information and location information uploaded by the device to be marked through a marking interface; wherein the first device information is pre-stored in the device to be marked.
  5. 根据权利要求1所述的设备标示方法,其特征在于,所述设备信息包括MAC地址和硬件ID;The device marking method according to claim 1, wherein the device information includes a MAC address and a hardware ID;
    所述当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤之前,还包括:When the first device information matches the second device information, before the step of marking the device to be marked according to the first device information and location information, the method further includes:
    当所述第一MAC地址与第二MAC地址相匹配时,和/或,当第一硬件ID与第二硬件ID相匹配时,判定第一设备信息与第二设备信息相匹配。When the first MAC address matches the second MAC address, and/or when the first hardware ID matches the second hardware ID, it is determined that the first device information matches the second device information.
  6. 根据权利要求5所述的设备标示方法,其特征在于,所述位置信息包括IP地址;The device marking method according to claim 5, wherein the location information includes an IP address;
    所述根据所述第一设备信息和位置信息对所述待标示设备进行标示的步骤,包括:The step of marking the device to be marked according to the first device information and location information includes:
    根据所述IP地址对所述MAC地址进行唯一性校验;Performing a unique check on the MAC address according to the IP address;
    当所述MAC地址唯一时,根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示。When the MAC address is unique, the device to be labeled is labeled according to the first MAC address, the first hardware ID, and the IP address.
  7. 根据权利要求6所述的设备标示方法,其特征在于,所述根据所述第一MAC地址、第一硬件ID和IP地址对所述待标示设备进行标示的步骤,包括:The device marking method according to claim 6, wherein the step of marking the device to be marked according to the first MAC address, the first hardware ID, and the IP address comprises:
    根据所述IP地址确定所述待标示设备的位置;Determining the location of the device to be marked according to the IP address;
    记录所述第一MAC地址、第一硬件ID和所述位置,将所述待标示设备标记为已标示。Record the first MAC address, the first hardware ID, and the location, and mark the device to be marked as marked.
  8. 一种设备标示装置,其特征在于,包括:An equipment marking device, characterized in that it comprises:
    第一信息获取模块,用于获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;The first information acquisition module is configured to acquire first device information and location information of the device to be marked; the first device information and location information are sent by the device to be marked;
    第二信息获取模块,用于获取待标示设备的第二设备信息;所述第二设备信息由扫描终端通过扫描待标示设备上的特征码得到;The second information acquisition module is used to acquire the second device information of the device to be marked; the second device information is obtained by the scanning terminal by scanning the feature code on the device to be marked;
    以及,设备标示模块,用于当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。And, the device marking module is configured to mark the device to be marked according to the first device information and location information when the first device information matches the second device information.
  9. 一种设备标示系统,其特征在于,包括:服务器和扫描终端;其中,所述服务器与待标示设备连接;A device marking system, characterized by comprising: a server and a scanning terminal; wherein the server is connected to the device to be marked;
    所述服务器,用于获取待标示设备的第一设备信息和位置信息;所述第一设备信息和位置信息由所述待标示设备发送;The server is configured to obtain first device information and location information of the device to be labeled; the first device information and location information are sent by the device to be labeled;
    所述扫描终端,用于扫描待标示设备上的特征码并将所述待标示设备的第二设备信息发送给所述服务器;The scanning terminal is configured to scan the feature code on the device to be marked and send the second device information of the device to be marked to the server;
    所述服务器,用于当所述第一设备信息与所述第二设备信息相匹配时,根据所述第一设备信息和位置信息对所述待标示设备进行标示。The server is configured to mark the device to be marked according to the first device information and location information when the first device information matches the second device information.
  10. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7任一项所述的方法的步骤。A computer device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor implements the computer program described in any one of claims 1 to 7 when the processor executes the computer program. The steps of the method described.
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed by a processor.
PCT/CN2019/120358 2019-11-22 2019-11-22 Device marking method, apparatus, and system, computer device, and storage medium WO2021097825A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/120358 WO2021097825A1 (en) 2019-11-22 2019-11-22 Device marking method, apparatus, and system, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/120358 WO2021097825A1 (en) 2019-11-22 2019-11-22 Device marking method, apparatus, and system, computer device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021097825A1 true WO2021097825A1 (en) 2021-05-27

Family

ID=75980092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/120358 WO2021097825A1 (en) 2019-11-22 2019-11-22 Device marking method, apparatus, and system, computer device, and storage medium

Country Status (1)

Country Link
WO (1) WO2021097825A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615533A (en) * 2022-03-17 2022-06-10 深圳创维-Rgb电子有限公司 Control method, device and equipment for burning key codes and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954167A (en) * 2015-04-27 2015-09-30 深信服网络科技(深圳)有限公司 Physical device maintenance method and system
CN109120736A (en) * 2018-08-09 2019-01-01 连云港伍江数码科技有限公司 Equipment marker method, device, system, computer equipment and storage medium
CN109547535A (en) * 2018-10-31 2019-03-29 阿里巴巴集团控股有限公司 Apparatus bound methods, devices and systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954167A (en) * 2015-04-27 2015-09-30 深信服网络科技(深圳)有限公司 Physical device maintenance method and system
CN109120736A (en) * 2018-08-09 2019-01-01 连云港伍江数码科技有限公司 Equipment marker method, device, system, computer equipment and storage medium
CN109547535A (en) * 2018-10-31 2019-03-29 阿里巴巴集团控股有限公司 Apparatus bound methods, devices and systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615533A (en) * 2022-03-17 2022-06-10 深圳创维-Rgb电子有限公司 Control method, device and equipment for burning key codes and storage medium

Similar Documents

Publication Publication Date Title
CN109120736B (en) Equipment marking method, device, system, computer equipment and storage medium
CN108762803B (en) Configuration management method, device, terminal equipment and storage medium
CN103530199B (en) A kind of method, Apparatus and system repairing running software mistake
CN106844645B (en) Power communication equipment information inquiry system
US9576044B2 (en) Registration of CIM agent to management agent and system
CN112328619A (en) Data quality monitoring method, device, system, electronic device and storage medium
CN105139149B (en) A kind of method of quick counting server assets configuration information
CN110633177A (en) Method and device for acquiring equipment information, server and storage medium
CN105553731A (en) Automatic inspection method and device
WO2021097825A1 (en) Device marking method, apparatus, and system, computer device, and storage medium
CN113449339A (en) Log collection method, system, computer device and computer readable storage medium
CN104899134A (en) Automatic domain name registration server testing system and method
CN104680378A (en) Article identifying identification of anti-counterfeiting tracing system and querying device
CN112073521A (en) Sharing scheduling method and system for scattered data
CN101159632A (en) Network event processing method
CN110071921B (en) Internet of things platform access method, device, computer readable storage medium and system
CN103312530A (en) Method and system for correspondingly counting on-line server and rack position, and counting platform
CN112800130A (en) Data uplink method, system, device, equipment and storage medium
CN106954226B (en) Feedback method and system for configuration condition of base station module
CN112286881A (en) Document authentication and tracing method and device
CN113872819A (en) Equipment testing method and computer equipment
CN115185759B (en) Method, device and system for checking server wiring based on LLDP
CN111245971A (en) Method, system and storage medium for modifying network server BMC host name
US20240143958A1 (en) Code Generation System and Code Generation Method
CN114531420B (en) IP address configuration method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19953305

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19953305

Country of ref document: EP

Kind code of ref document: A1