CN114693313B - Identification code-based warehousing equipment detection method and device, electronic equipment and medium - Google Patents

Identification code-based warehousing equipment detection method and device, electronic equipment and medium Download PDF

Info

Publication number
CN114693313B
CN114693313B CN202210276156.7A CN202210276156A CN114693313B CN 114693313 B CN114693313 B CN 114693313B CN 202210276156 A CN202210276156 A CN 202210276156A CN 114693313 B CN114693313 B CN 114693313B
Authority
CN
China
Prior art keywords
networking
identification code
network equipment
equipment
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210276156.7A
Other languages
Chinese (zh)
Other versions
CN114693313A (en
Inventor
陈光宇
李永贵
杜江涛
薛亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huanyu Boya Technology Co ltd
Original Assignee
Beijing Huanyu Boya Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huanyu Boya Technology Co ltd filed Critical Beijing Huanyu Boya Technology Co ltd
Priority to CN202210276156.7A priority Critical patent/CN114693313B/en
Publication of CN114693313A publication Critical patent/CN114693313A/en
Application granted granted Critical
Publication of CN114693313B publication Critical patent/CN114693313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for detecting warehousing equipment based on identification codes, electronic equipment and a medium. One embodiment of the method comprises: controlling a related camera device to scan a first identification code of the network equipment to obtain attribute information of the network equipment; in response to the fact that the attribute information of the network equipment is consistent with the attribute information of the preset equipment, controlling a camera device to shoot a second identification code of the network equipment to obtain a second identification code image; in response to determining that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information; performing networking test on the network equipment to obtain a networking test result in response to the fact that the equipment test information meets the target condition; and in response to the networking test result being a networking failure, determining the network equipment as abnormal equipment. The embodiment can determine whether the network equipment is exchanged in the transportation process, and prevent receiving pirated network equipment.

Description

Identification code-based warehousing equipment detection method and device, electronic equipment and medium
Technical Field
The embodiment of the disclosure relates to the field of computers, in particular to a method and a device for detecting warehousing equipment based on identification codes, electronic equipment and a medium.
Background
When the warehouse receives the network equipment transported by the third-party logistics platform, the received network equipment is checked to prevent the loss of the warehouse caused by receiving the damaged network equipment. Currently, when a received network device is checked, a commonly used checking method is as follows: whether the shell of the network equipment has damage traces or not is checked by a picking personnel to determine whether the network equipment is damaged or not.
However, the following technical problems generally exist in the above-mentioned inspection methods:
firstly, whether the network equipment is exchanged in the transportation process cannot be determined, and pirated network equipment is easily received;
second, can't carry out networking detection to network equipment, when leading to network equipment circulation to the user, need send out technical staff and go on the door and carry out the networking test, lead to network equipment's the flow of test of going into the net comparatively loaded down with trivial details, be unfavorable for the circulation of equipment.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure provide an identification code-based warehousing device detection method, apparatus, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an identification code-based warehousing device detection method, including: in response to the detected warehousing information of the network equipment, controlling a related camera device to scan a first identification code of the network equipment to obtain attribute information of the network equipment, wherein the first identification code is an information identification code set on the network equipment by a server of the network equipment; in response to the fact that the attribute information of the network equipment is consistent with the preset equipment attribute information, controlling the camera device to shoot a second identification code of the network equipment to obtain a second identification code image, wherein the second identification code is an access identification code set on the network equipment by the server; determining whether the second identification code image is consistent with a preset second identification code image; in response to determining that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information; in response to determining that the equipment inspection information meets the target condition, performing networking test on the network equipment to obtain a networking test result; and in response to the networking test result being a networking failure, determining the network equipment as abnormal equipment.
In a second aspect, some embodiments of the present disclosure provide an identification code-based warehousing device detection apparatus, including: the system comprises a first control unit, a second control unit and a third control unit, wherein the first control unit is configured to respond to the detected warehousing information of the network equipment, control an associated camera device to scan a first identification code of the network equipment to obtain network equipment attribute information, and the first identification code is an information identification code which is set on the network equipment by a server of the network equipment; the second control unit is configured to control the camera to shoot a second identification code of the network equipment to obtain a second identification code image in response to the fact that the network equipment attribute information is determined to be consistent with preset equipment attribute information, wherein the second identification code is an access identification code set on the network equipment by the server; a first determination unit configured to determine whether the second identification code image is identical to a preset second identification code image; a scanning unit configured to scan a second identification code in the second identification code image to obtain equipment inspection information in response to determining that the second identification code image is consistent with the preset second identification code image; the testing unit is configured to respond to the fact that the equipment inspection information meets the target condition, and conduct networking test on the network equipment to obtain a networking test result; and the second determining unit is configured to determine the network equipment as abnormal equipment in response to the networking test result being networking failure.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the identification code-based warehousing equipment detection method in some embodiments of the disclosure, whether the network equipment is exchanged in the transportation process can be determined, and pirated network equipment is prevented from being received. In particular, the reason why pirated network devices are easily received is that: the network equipment cannot be determined whether to be exchanged or not in the transportation process, and the pirated network equipment is easily received. Based on this, in the warehousing equipment detection method based on the identification code according to some embodiments of the present disclosure, first, in response to detecting warehousing information of the network equipment, the associated camera device is controlled to scan the first identification code of the network equipment, so as to obtain network equipment attribute information. Therefore, the attribute information of the network equipment can be identified through the first identification code, and whether the network equipment is exchanged or not is convenient to determine. And secondly, in response to the fact that the attribute information of the network equipment is determined to be consistent with the attribute information of the preset equipment, controlling the camera device to shoot a second identification code of the network equipment to obtain a second identification code image. The second identification code is an access identification code set on the network equipment by the server. And then, determining whether the second identification code image is consistent with a preset second identification code image. Thereby, it is possible to detect whether the second identification code is tampered with or replaced. Then, in response to determining that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information. Therefore, whether the network equipment is exchanged in the transportation process can be determined, and the pirated network equipment is prevented from being received. And then, in response to the fact that the equipment inspection information meets the target condition, performing networking test on the network equipment to obtain a networking test result. Therefore, whether the network equipment is normally networked can be detected. And finally, in response to the networking test result being networking failure, determining the network equipment as abnormal equipment. Therefore, abnormal network equipment can be prevented from being transferred to the user.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flow diagram of some embodiments of an identification code based warehousing device detection method according to the present disclosure;
fig. 2 is a schematic structural diagram of some embodiments of an identification code based warehousing device detection arrangement according to the present disclosure;
FIG. 3 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a flow diagram of some embodiments of an identification code based warehousing device detection method according to the present disclosure, illustrating a flow 100 of some embodiments of an identification code based warehousing device detection method according to the present disclosure. The warehousing equipment detection method based on the identification code comprises the following steps:
step 101, in response to the detected warehousing information of the network equipment, controlling the associated camera to scan the first identification code of the network equipment to obtain the attribute information of the network equipment.
In some embodiments, an execution subject (e.g., a computing device of a warehouse) of the identification code-based warehousing device detection method may control an associated imaging apparatus to scan the first identification code of the network device for network device attribute information in response to detecting warehousing information of the network device. The first identification code is an information identification code set on the network equipment by the server side of the network equipment. Here, the network device may refer to a network device stored in a warehouse, for example, an intelligent appliance, a switch, and the like. Here, the warehousing information may indicate a network device that receives the logistics platform transportation. Here, the first identification code may be an identification code (e.g., a two-dimensional code) attached to a surface of the housing of the network device, for identifying attribute information of the network device. Here, the server of the network device may refer to a terminal of a provider that produces the network device. Here, the network device attribute information may include, but is not limited to: device name, operating power, device attribute values, etc. Here, the device attribute values of different network devices are different, and for example, when the network device is a switch, the device attribute value may be a maximum bandwidth. When the network device is an intelligent refrigerator, the device attribute value may be a freezing rate. Here, the image pickup apparatus may be an image pickup apparatus having a scan function, which is connected in communication with the execution main body described above.
And 102, in response to the fact that the attribute information of the network equipment is determined to be consistent with the attribute information of the preset equipment, controlling the camera to shoot a second identification code of the network equipment to obtain a second identification code image.
In some embodiments, the execution main body may control the image capturing device to capture a second identification code of the network device to obtain a second identification code image in response to determining that the network device attribute information is consistent with preset device attribute information. The second identification code is an access identification code set on the network equipment by the server. Here, the background setup website of the network device may be accessed by accessing the identification code. For example, when the network device is a router, the access identifier can be used to access a background setting website of the router, and set the password of the router. Here, each time the background setting website is accessed by accessing the identification code, the number of accesses and the physical address (MAC address) of the network device are recorded. In practice, the execution main body may control the image capturing device to capture a second identification code of the network device in response to determining that the network device attribute information is the same as the preset device attribute information, so as to obtain a second identification code image. Here, the preset device attribute information may refer to attribute information of the network device sent by the server.
Optionally, before step 102, the method further includes: acquiring device attribute information corresponding to the network device from a target database as preset device attribute information; acquiring a second identification code image corresponding to the network equipment from the target database; and determining whether the network equipment attribute information is consistent with the preset equipment attribute information.
In some embodiments, first, the execution main body may obtain device attribute information corresponding to the network device from a target database as preset device attribute information through a wired connection or a wireless connection. Then, a second identification code image corresponding to the network device may be acquired from the target database. And finally, determining whether the network equipment attribute information is the same as the preset equipment attribute information. Here, the target database may be a database for storing the device attribute information of the network device and the second identification code image transmitted by the server.
And 103, determining whether the second identification code image is consistent with a preset second identification code image.
In some embodiments, the execution body may determine whether the second identification code image is identical to a preset second identification code image. Here, the preset second identification code image may refer to an image of the second identification code transmitted by the server.
And 104, in response to the fact that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information.
In some embodiments, the execution body may scan the second identification code in the second identification code image to obtain the device verification information in response to determining that the second identification code image is identical to the preset second identification code image. In practice, the execution main body may scan the second identification code in the second identification code image to obtain the device verification information in response to determining that the second identification code image is identical to the preset second identification code image. Here, the device verification information may include, but is not limited to: number of accesses, physical address (MAC address).
And 105, in response to the fact that the equipment inspection information meets the target condition, performing networking test on the network equipment to obtain a networking test result.
In some embodiments, the execution subject may perform a networking test on the network device in response to determining that the device verification information satisfies a target condition, so as to obtain a networking test result. Here, the target condition may be "the number of accesses included in the device check information is 0, and the physical address is a preset physical address (MAC address initially set by the server)". Here, the networking test may refer to a network connection test.
In practice, the execution subject may perform a networking test on the network device through the following steps to obtain a networking test result:
and step one, controlling the communication connection between the network equipment and a local routing switch. Here, the local routing switch may be a switch set in the warehouse for testing networking of network devices.
Secondly, for the network equipment, the following networking test steps are executed:
a first test step, in response to detecting a selection operation acting on a networking program in the network device, of recording a first time. Here, the networking program may be a software program preset in a display interface of the network device for performing a network connection test. Here, the first time may refer to a time when a networking program is selected. Here, the selection operation may include, but is not limited to: clicking and sliding.
And a second testing step, responding to the display interface display networking result of the network equipment and recording a second time. Here, the networking result may include a networking success result and a networking failure result. Here, the second time may refer to a time when the display interface displays the networking result.
And a third test step, determining the time interval between the second time and the first time as the networking time length.
And a fourth testing step, adding the networking time length to a preset networking time length sequence. Wherein, the networking time length sequence is initially a null sequence.
And a fifth testing step, namely adding the networking result into a preset networking result sequence. Wherein, the networking result sequence is initially a null sequence.
And thirdly, responding to the condition that the number of the networking time lengths included by the networking time length sequence is larger than or equal to a preset threshold value, and generating a networking test result according to the networking time length sequence and the networking result sequence. Here, the setting of the preset threshold is not limited.
In practice, the above-mentioned third step may comprise the following sub-steps:
the first substep, confirm whether there is networking result that characterizes networking failure in the above-mentioned networking result sequence.
And a second substep, in response to determining that the networking result sequence representing the networking failure exists, determining the networking result representing the networking failure in the networking result sequence as a to-be-detected networking result, and obtaining the to-be-detected networking result sequence.
A third substep, for each networking result to be detected in the networking result sequence to be detected, executing the following processing steps:
1. and respectively determining the first time and the second time corresponding to the networking result to be detected as the first detection time and the second detection time.
2. And acquiring the network speed information sequence of the local routing switch in the target time period. Wherein. The target time period is a time period between the first detection time and the second detection time. In practice, the execution main body may obtain the network speed information sequence of the local routing switch in the target time period from the network speed monitoring terminal of the local routing switch through a wired connection or a wireless connection. Here, the time granularity corresponding to the target time period may be 1 second. Here, the wire speed information in the wire speed information sequence may indicate a network transmission speed of the local routing switch.
3. And determining whether the network speed information meeting the abnormal network speed condition exists in the network speed information sequence. Wherein the abnormal network speed condition is as follows: the network speed information comprises the network speed less than or equal to the preset network speed. Here, the setting of the preset wire speed may not be limited. For example, the preset wire speed may be 5 KBs.
4. And in response to the fact that the network speed information meeting the abnormal network speed condition exists in the network speed information sequence, determining the networking result to be detected as an abnormal networking result.
And a fourth substep, generating networking test results according to the networking time length sequence in response to the fact that the number of the determined abnormal networking results is the same as the number of the networking results to be detected included in the networking result sequence to be detected.
In practice, the fourth substep described above may comprise the following steps:
1. and in response to the fact that the number of the determined abnormal networking results is smaller than or equal to the preset number, deleting each networking time length corresponding to the determined abnormal networking results in the networking time length sequence so as to update the networking time length sequence. In practice, for each determined abnormal networking result, the execution main body may delete the networking duration corresponding to the abnormal networking result in the networking duration sequence, so as to update the networking duration sequence.
2. And in response to the fact that the networking time length which is greater than or equal to the preset time length exists in the updated networking time length sequence, determining the networking time length which is greater than or equal to the preset time length in the updated networking time length sequence as the abnormal networking time length, and obtaining an abnormal networking time length group.
3. And determining the ratio of the first number to the second number as the networking failure rate. The first number is the number of the abnormal networking durations included in the abnormal networking duration group, and the second number is the number of the networking durations included in the updated networking duration sequence.
4. And generating a networking test result representing networking failure in response to the fact that the networking failure rate is larger than or equal to the preset failure rate. Here, the setting of the preset failure rate is not limited. For example, the preset failure rate may be 1%.
The related content in step 105 is used as an invention point of the present disclosure, thereby solving the technical problem mentioned in the background art that "network equipment cannot be detected in a networking manner", so that when the network equipment is transferred to a user end, a technician needs to be dispatched to perform a networking test, which results in a complicated network access test process of the network equipment and is not beneficial to the transfer of the equipment. ". The network access test procedure of the network device is complicated, and the factors which are not beneficial to the circulation of the device are as follows: the network equipment can not be networked for detection, so that when the network equipment is circulated to a user side, technical personnel need to be dispatched to carry out networking test, the flow of the network access test of the network equipment is complicated, and the circulation of the equipment is not facilitated. If the above factors are solved, the effect of simplifying the network access test flow of the network equipment can be achieved. To this effect, the network device is controlled to be communicatively coupled to the local routing switch. For the network device, the following networking test steps are executed: first, in response to detecting a selection operation acting on a networking program in the above-described network device, a first time is recorded. And secondly, responding to the detection that the display interface of the network equipment displays the networking result, and recording a second time. Thus, the network connection duration of the network device may be determined. And then, determining the time interval between the second time and the first time as the networking time length. Thus, whether the networking duration of the network device is normal can be determined. And then, adding the networking time length to a preset networking time length sequence. And then, adding the networking result to a preset networking result sequence. Therefore, data support is provided for comprehensively detecting the networking duration of the network equipment. And finally, responding to the condition that the number of the networking time lengths included by the networking time length sequence is larger than or equal to a preset threshold value, and generating a networking test result according to the networking time length sequence and the networking result sequence. Therefore, the network access test of the network equipment is completed. And the network equipment can be directly subjected to networking detection by the warehouse side, so that the condition that technicians are dispatched to go on the door to perform networking test is avoided. Therefore, the network access test flow of the network equipment is simplified, and the circulation of the equipment is facilitated.
Optionally, in response to that the number of the networking durations included in the networking duration sequence is smaller than the preset threshold, taking the networking duration sequence as a preset networking duration sequence, taking the networking result sequence as a preset networking result sequence, and executing the networking test step again.
In some embodiments, the executing entity may, in response to that the number of networking durations included in the networking duration sequence is smaller than the preset threshold, regard the networking duration sequence as a preset networking duration sequence, regard the networking result sequence as a preset networking result sequence, and execute the networking testing step again.
Optionally, in response to that the determined number of the abnormal networking results is different from the number of the to-be-detected networking results included in the to-be-detected networking result sequence, generating a networking test result representing networking failure.
In some embodiments, the execution subject may generate a networking test result representing a networking failure in response to that the determined number of abnormal networking results is different from the number of networking results to be detected included in the networking result sequence to be detected.
And step 106, in response to the networking test result being networking failure, determining the network equipment as abnormal equipment.
In some embodiments, the execution subject may determine the network device as an abnormal device in response to the networking test result being a networking failure. Thus, the warehouse can be made to refuse to receive abnormal network devices, so that the loss of the warehouse is reduced.
Optionally, in response to determining that the network device attribute information is inconsistent with preset device attribute information, determining the network device as an abnormal device.
In some embodiments, the execution subject may determine the network device as an abnormal device in response to determining that the network device attribute information is different from preset device attribute information.
Optionally, in response to determining that the second identification code image is inconsistent with the preset second identification code image, determining the network device as an abnormal device.
In some embodiments, the execution subject may determine the network device as an abnormal device in response to determining that the second identification code image is not identical to the preset second identification code image.
Optionally, in response to determining that the device check information does not satisfy the target condition, determining the network device as an abnormal device.
In some embodiments, the execution subject may determine the network device as an abnormal device in response to determining that the device check information does not satisfy the target condition.
The above embodiments of the present disclosure have the following beneficial effects: by the identification code-based warehousing equipment detection method in some embodiments of the disclosure, whether the network equipment is exchanged in the transportation process can be determined, and pirated network equipment is prevented from being received. In particular, the reason why pirated network devices are easily received is that: the network equipment cannot be determined whether to be exchanged in the transportation process, and the pirated network equipment is easily received. Based on this, in the warehousing equipment detection method based on the identification code according to some embodiments of the present disclosure, first, in response to detecting warehousing information of the network equipment, the associated camera device is controlled to scan the first identification code of the network equipment, so as to obtain network equipment attribute information. Therefore, the attribute information of the network equipment can be identified through the first identification code, and whether the network equipment is exchanged or not is convenient to determine. And secondly, in response to the fact that the attribute information of the network equipment is determined to be consistent with the attribute information of the preset equipment, controlling the camera device to shoot a second identification code of the network equipment to obtain a second identification code image. The second identification code is an access identification code set on the network equipment by the server. And then, determining whether the second identification code image is consistent with a preset second identification code image. Thereby, it is possible to detect whether the second identification code is tampered with or replaced. And then, in response to the fact that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information. Therefore, whether the network equipment is exchanged in the transportation process can be determined, and the pirated network equipment is prevented from being received. And then, in response to the fact that the equipment inspection information meets the target condition, performing networking test on the network equipment to obtain a networking test result. Therefore, whether the network equipment is normally networked can be detected. And finally, in response to the networking test result being networking failure, determining the network equipment as abnormal equipment. Therefore, abnormal network equipment can be prevented from being transferred to the user.
With further reference to fig. 2, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an apparatus for detecting warehousing equipment based on identification codes, which correspond to those of the method embodiments shown in fig. 1, and which may be applied in various electronic devices.
As shown in fig. 2, the identification code-based warehousing device detection apparatus 200 of some embodiments includes: a first control unit 201, a second control unit 202, a first determination unit 203, a scanning unit 204, a test unit 205, and a second determination unit 206. The first control unit 201 is configured to, in response to detecting warehousing information of a network device, control an associated imaging device to scan a first identification code of the network device to obtain network device attribute information, where the first identification code is an information identification code set on the network device by a server of the network device; a second control unit 202, configured to, in response to determining that the network device attribute information is consistent with preset device attribute information, control the image capturing apparatus to capture a second identification code of the network device, so as to obtain a second identification code image, where the second identification code is an access identification code set on the network device by the server; a first determination unit 203 configured to determine whether the second identification code image coincides with a preset second identification code image; a scanning unit 204 configured to scan a second identification code in the second identification code image to obtain device verification information in response to determining that the second identification code image is consistent with the preset second identification code image; a testing unit 205, configured to perform a networking test on the network device in response to determining that the device inspection information satisfies a target condition, so as to obtain a networking test result; a second determining unit 206, configured to determine the network device as an abnormal device in response to the networking test result being a networking failure.
It will be understood that the units described in the apparatus 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 200 and the units included therein, and are not described herein again.
Referring now to FIG. 3, a block diagram of an electronic device 300 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, or the like; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 3 may represent one device or may represent multiple devices, as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. The computer program, when executed by the processing apparatus 301, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the detected warehousing information of the network equipment, controlling a related camera device to scan a first identification code of the network equipment to obtain attribute information of the network equipment, wherein the first identification code is an information identification code set on the network equipment by a server of the network equipment; in response to the fact that the attribute information of the network equipment is consistent with the preset equipment attribute information, controlling the camera device to shoot a second identification code of the network equipment to obtain a second identification code image, wherein the second identification code is an access identification code set on the network equipment by the server; determining whether the second identification code image is consistent with a preset second identification code image; in response to determining that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information; in response to determining that the equipment inspection information meets the target condition, performing networking test on the network equipment to obtain a networking test result; and in response to the networking test result being a networking failure, determining the network equipment as abnormal equipment.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first control unit, a second control unit, a first determination unit, a scanning unit, a test unit, and a second determination unit. For example, the second control unit may be further described as "a unit that, in response to determining that the network device attribute information matches preset device attribute information, controls the image pickup device to capture a second identification code of the network device, which is an access identification code set by the server on the network device, to obtain a second identification code image".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (7)

1. A warehousing equipment detection method based on identification codes comprises the following steps:
in response to the detected warehousing information of the network equipment, controlling a related camera device to scan a first identification code of the network equipment to obtain attribute information of the network equipment, wherein the first identification code is an information identification code set on the network equipment by a server of the network equipment;
in response to the fact that the attribute information of the network equipment is determined to be consistent with the attribute information of the preset equipment, controlling the camera to shoot a second identification code of the network equipment to obtain a second identification code image, wherein the second identification code is an access identification code set on the network equipment by the server;
determining whether the second identification code image is consistent with a preset second identification code image;
in response to determining that the second identification code image is consistent with the preset second identification code image, scanning a second identification code in the second identification code image to obtain equipment inspection information;
in response to determining that the equipment inspection information meets a target condition, performing networking test on the network equipment to obtain a networking test result;
in response to the networking test result being a networking failure, determining the network equipment as abnormal equipment;
wherein, the network device is tested in a networking way to obtain a networking test result, and the method comprises the following steps:
controlling the network equipment to be in communication connection with a local routing switch;
for the network device, performing the following networking test steps:
recording a first time in response to detecting a selection operation acting on a networking program in the network device;
responding to the detection that the display interface of the network equipment displays the networking result, and recording a second time;
determining a time interval between the second time and the first time as a networking duration;
adding the networking time length to a preset networking time length sequence, wherein the networking time length sequence is initially a null sequence;
adding the networking result to a preset networking result sequence, wherein the networking result sequence is initially a null sequence;
and responding to the networking time length sequence with the number of the networking time lengths larger than or equal to a preset threshold value, and generating a networking test result according to the networking time length sequence and the networking result sequence.
2. The method of claim 1, wherein before the controlling the image capturing apparatus to capture the second identification code of the network device to obtain a second identification code image in response to determining that the network device attribute information is consistent with preset device attribute information, the method further comprises:
acquiring equipment attribute information corresponding to the network equipment from a target database as preset equipment attribute information;
acquiring a second identification code image corresponding to the network equipment from the target database;
and determining whether the network equipment attribute information is consistent with the preset equipment attribute information.
3. The method of claim 1, wherein the method further comprises:
and responding to the networking time length sequence with the number smaller than the preset threshold value, using the networking time length sequence as a preset networking time length sequence, using the networking result sequence as a preset networking result sequence, and executing the networking test step again.
4. The method of claim 1, wherein the method further comprises:
in response to determining that the network device attribute information is inconsistent with preset device attribute information, determining the network device as an abnormal device;
determining the network device as an abnormal device in response to determining that the second identification code image is inconsistent with the preset second identification code image;
determining the network device as an abnormal device in response to determining that the device check information does not satisfy the target condition.
5. A warehousing equipment detection device based on identification codes comprises:
the system comprises a first control unit, a second control unit and a third control unit, wherein the first control unit is configured to respond to the detection of warehousing information of the network equipment, control an associated camera to scan a first identification code of the network equipment to obtain network equipment attribute information, and the first identification code is an information identification code which is set on the network equipment by a server of the network equipment;
the second control unit is configured to control the camera device to shoot a second identification code of the network equipment to obtain a second identification code image in response to the fact that the network equipment attribute information is determined to be consistent with the preset equipment attribute information, wherein the second identification code is an access identification code set on the network equipment by the server;
a first determination unit configured to determine whether the second identification code image is identical to a preset second identification code image;
a scanning unit configured to scan a second identification code in the second identification code image for device verification information in response to determining that the second identification code image is consistent with the preset second identification code image;
a testing unit configured to perform a networking test on the network device in response to determining that the device inspection information satisfies a target condition, resulting in a networking test result; a test unit further configured to:
controlling the network equipment to be in communication connection with a local routing switch;
for the network device, performing the following networking test steps:
recording a first time in response to detecting a selection operation acting on a networking program in the network device;
responding to the detection that the display interface of the network equipment displays the networking result, and recording a second time;
determining a time interval between the second time and the first time as a networking time length;
adding the networking time length to a preset networking time length sequence, wherein the networking time length sequence is initially a null sequence;
adding the networking result to a preset networking result sequence, wherein the networking result sequence is initially a null sequence;
responding to the networking time length sequence that the number of the networking time lengths is larger than or equal to a preset threshold value, and generating a networking test result according to the networking time length sequence and the networking result sequence;
a second determination unit configured to determine the network device as an abnormal device in response to the networking test result being a networking failure.
6. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
7. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-4.
CN202210276156.7A 2022-03-21 2022-03-21 Identification code-based warehousing equipment detection method and device, electronic equipment and medium Active CN114693313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210276156.7A CN114693313B (en) 2022-03-21 2022-03-21 Identification code-based warehousing equipment detection method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210276156.7A CN114693313B (en) 2022-03-21 2022-03-21 Identification code-based warehousing equipment detection method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN114693313A CN114693313A (en) 2022-07-01
CN114693313B true CN114693313B (en) 2022-09-20

Family

ID=82140066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210276156.7A Active CN114693313B (en) 2022-03-21 2022-03-21 Identification code-based warehousing equipment detection method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114693313B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634767A (en) * 2018-12-06 2019-04-16 北京字节跳动网络技术有限公司 Method and apparatus for detection information
CN110601871A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Virtual equipment testing method and device
CN111314181A (en) * 2020-03-20 2020-06-19 北京无限光场科技有限公司 Network connectivity diagnosis method, device, terminal and storage medium
CN111881699A (en) * 2020-07-01 2020-11-03 格力电器(武汉)有限公司 Product detection method, device, storage medium and system
CN113139957A (en) * 2021-05-13 2021-07-20 青岛海尔工业智能研究院有限公司 Inspection method, apparatus, system and medium in product assembly process
CN113596832A (en) * 2021-06-11 2021-11-02 青岛海尔科技有限公司 Network connection establishing method and device, storage medium and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095899A (en) * 2021-11-12 2022-02-25 山西大鲲智联科技有限公司 Communication signal detection method and device, electronic equipment and computer readable medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634767A (en) * 2018-12-06 2019-04-16 北京字节跳动网络技术有限公司 Method and apparatus for detection information
CN110601871A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Virtual equipment testing method and device
CN111314181A (en) * 2020-03-20 2020-06-19 北京无限光场科技有限公司 Network connectivity diagnosis method, device, terminal and storage medium
CN111881699A (en) * 2020-07-01 2020-11-03 格力电器(武汉)有限公司 Product detection method, device, storage medium and system
CN113139957A (en) * 2021-05-13 2021-07-20 青岛海尔工业智能研究院有限公司 Inspection method, apparatus, system and medium in product assembly process
CN113596832A (en) * 2021-06-11 2021-11-02 青岛海尔科技有限公司 Network connection establishing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN114693313A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN110737726B (en) Method and device for determining test data of interface to be tested
CN110460584B (en) Access request processing method and device, electronic equipment and computer readable medium
CN107403112B (en) Data checking method and equipment thereof
CN107315672B (en) Method and device for monitoring server
US20200028733A1 (en) Method and apparatus for processing information
CN114693313B (en) Identification code-based warehousing equipment detection method and device, electronic equipment and medium
CN115938013A (en) Method, apparatus, device and computer readable medium for monitoring data
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
US20230229289A1 (en) Template selection method, electronic device and non-transitory computer-readable storage medium
CN114510305B (en) Model training method and device, storage medium and electronic equipment
US20230418470A1 (en) Data processing method and apparatus, and electronic device
CN115622963A (en) Message detection method, device, equipment and medium based on industrial switch
CN108875638B (en) Face matching test method, device and system
CN114968696A (en) Index monitoring method, electronic equipment and chip system
CN113763646A (en) Device control method, device, electronic device and computer readable medium
CN112817874A (en) User interface test method, device, equipment and medium
CN114356788B (en) Application program detection method, device, equipment and medium based on user information
CN112084114A (en) Method and apparatus for testing an interface
CN111782549A (en) Test method and device and electronic equipment
CN111831530A (en) Test method and device
CN108089823B (en) Information output method and device for storage system
CN113537028B (en) Control method, apparatus, device and medium for face recognition system
CN112084440B (en) Data verification method, device, electronic equipment and computer readable medium
CN117824974B (en) Switch drop test method, device, electronic equipment and computer readable medium
CN111371745B (en) Method and apparatus for determining SSRF vulnerability

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant