Node station number batch processing method, device, equipment, system and storage medium

Through intelligent identification and associated information tables, the problem of low efficiency in writing and verifying station numbers of node equipment is solved, efficient and accurate station number management is achieved, and the efficiency and accuracy of seismic exploration construction are improved.

CN118823293APending Publication Date: 2024-10-22CHINA NAT PETROLEUM CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310430508.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-20
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In the field of petroleum seismic exploration, writing or verifying station numbers for a large number of node devices is inefficient and error-prone. The existing technology requires manual scanning one by one, which is time-consuming and has large errors.

Method used

By intelligently identifying the overall photo of the charging and downloading integrated cabinet, each interface unit and its position is automatically detected, the station number on the node device is identified, and the associated information table of the interface unit position number and station number is generated to realize batch writing or calibration. test.

Benefits of technology

It reduces repetitive mechanical labor, reduces the probability of errors in manual operations, improves the efficiency and accuracy of station number writing and verification, and ensures the accuracy of equipment management and construction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118823293A_ABST
    Figure CN118823293A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a node station number batch processing method, apparatus, device and system, and a storage medium. The method comprises the steps of obtaining a target image of an area where each interface unit of a charging and downloading integrated cabinet is located; dividing the target image according to an arrangement rule of each interface unit, obtaining a target sub-image corresponding to each interface unit, and determining an interface unit position number corresponding to each target sub-image; node equipment detection is performed on each target sub-image, and a node station number corresponding to the node equipment is identified based on a preset area of the outer surface of the node equipment when the node equipment is detected; associating the identified node station number with a corresponding interface unit position number to generate a corresponding associated information table; based on the associated information table and a batch processing instruction, controlling the charging and downloading integrated cabinet to perform corresponding batch processing; the intelligent batch identification of the node station numbers is realized, and the efficiency and accuracy of writing and checking the node station numbers are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of seismic exploration equipment, and in particular to a method, device, equipment, system and storage medium for batch processing of node station numbers. Background Art

[0002] In the field of oil seismic exploration, node devices are gradually becoming the mainstream equipment for seismic exploration. Usually, a seismic exploration project requires the use of tens of thousands of node devices, so how to quickly write or verify a large number of node station numbers has become an urgent problem to be solved.

[0003] In the related technology, the node device to be written or verified is connected to each interface unit of the charging and downloading integrated cabinet, and the operator holds a mobile phone or a barcode scanner to scan and identify the node barcode area on the outer surface of the node device connected to each interface unit one by one. However, facing tens of thousands of node devices, this work is very large, time-consuming, and error-prone. In other words, there are technical problems of low efficiency and low accuracy in the related technology. Summary of the invention

[0004] Embodiments of the present invention provide a method, device, equipment, system and storage medium for batch processing of node station numbers to solve the technical problems of low efficiency and low accuracy in writing or verifying a large number of node station numbers.

[0005] In the first aspect, an embodiment of the present invention provides a method for batch processing of node station numbers, including: obtaining a target image of the area where each interface unit of a charging and downloading integrated cabinet is located, the interface unit being used to access a node device; dividing the target image according to the arrangement rules of each interface unit, obtaining a target sub-image corresponding to each interface unit, and determining the interface unit position number corresponding to each target sub-image; performing node device detection on each target sub-image, and when a node device is detected, identifying the node station number corresponding to the node device based on a preset area on the outer surface of the node device; associating the identified node station number with the corresponding interface unit position number to generate a corresponding association information table; based on the association information table and batch processing instructions, controlling the charging and downloading integrated cabinet to perform corresponding batch processing.

[0006] In some embodiments, the method of obtaining a target image of the area where each interface unit of the charging and downloading integrated cabinet is located includes at least one of the following: directly obtaining a complete target image of the area where each interface unit of the charging and downloading integrated cabinet is located; obtaining multiple sub-area images corresponding to the area where each interface unit of the charging and downloading integrated cabinet is located, and stitching and synthesizing the target image based on the multiple sub-area images.

[0007] In some embodiments, after acquiring the target image of the area where each interface unit of the charging and downloading integrated cabinet is located, it also includes: downsampling the target image to obtain a scaled target image; converting the scaled target image from RGB format to YCbCr format, and performing brightness equalization processing on the scaled target image in YCbCr format to obtain a preprocessed target image; dividing the target image according to the arrangement rules of each interface unit includes: dividing the preprocessed target image according to the arrangement rules of each interface unit.

[0008] In some embodiments, after obtaining the preprocessed target image, it also includes: binarizing the Cb component and Cr component in the preprocessed target image, identifying the minimum circumscribed quadrilateral of the area where each interface unit is located, and forming a first area image; dividing the target image according to the arrangement rules of each interface unit includes: dividing the first area image according to the arrangement rules of each interface unit.

[0009] In some embodiments, after forming the first area image, it also includes: correcting the first area image into a second area image that meets preset standards; dividing the target image according to the arrangement rules of each interface unit includes: dividing the second area image according to the arrangement rules of each interface unit.

[0010] In some embodiments, the node device detection for each target sub-image includes: expanding each of the target sub-image outward by a first preset range to obtain a corresponding first area to be detected; inputting feature data of the first area to be detected into a pre-trained support vector machine model, and outputting a classification result of whether the node device is detected.

[0011] In some embodiments, before inputting the feature data of the first area to be detected into a pre-trained support vector machine model, it also includes: constructing positive samples and negative samples, wherein the positive samples are images corresponding to node devices connected to a charging and downloading integrated cabinet, and the negative samples are images corresponding to non-node devices connected to a charging and downloading integrated cabinet; training the support vector machine model to be trained according to the positive samples and the negative samples to obtain the pre-trained support vector machine model.

[0012] In some embodiments, when a node device is detected, the node station number corresponding to the node device is identified based on a preset area on the outer surface of the node device, including: when a node device is detected, locating a preset area on the outer surface of the node device based on a template matching method, wherein the preset area is a node barcode area; parsing the node barcode content corresponding to the node barcode area to obtain the node station number corresponding to the node device.

[0013] In some embodiments, the method further includes: when no node device is detected, performing an empty interface unit detection on the target sub-image; when an empty interface unit is detected, recording the empty interface unit position number; when no empty interface unit is detected, identifying the corresponding interface unit abnormality.

[0014] In some embodiments, the empty interface unit detection of the target sub-image includes: expanding the target sub-image outward to a second preset range to obtain a second area to be detected; binarizing the second area to be detected to identify a connected domain; and determining whether the connected domain is the empty interface unit based on characteristic parameters of the connected domain.

[0015] In some embodiments, after identifying the minimum circumscribed quadrilateral of the area where each interface unit is located, it also includes: determining the cabinet number candidate area in the target image based on the correspondence between the area where each interface unit is located on the charging and downloading integrated cabinet and the cabinet number area; identifying the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area; associating the identified node station number with the corresponding interface unit position number to generate a corresponding association information table, including: associating the cabinet number, the identified node station number and the corresponding interface unit position number to generate a corresponding association information table.

[0016] In some embodiments, the identifying of the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area includes: performing grayscale processing on the cabinet number candidate area to obtain a grayscale image; binarizing the grayscale image based on the maximum inter-class variance method to obtain a binarized result image; performing horizontal integral projection and vertical integral projection on the binarized result image, and determining the cabinet barcode area according to the horizontal integral projection results and the vertical integral projection results; parsing the cabinet barcode content in the cabinet barcode area to obtain the corresponding cabinet number.

[0017] In some embodiments, based on the associated information table and the batch processing instructions, the charging and downloading integrated cabinet is controlled to perform corresponding batch processing, including: when the batch processing instruction is a batch write instruction, the corresponding node station number is written into the corresponding node device through the interface unit corresponding to the interface position unit number in the associated information table.

[0018] In some embodiments, based on the associated information table and the batch processing instructions, the charging and downloading integrated cabinet is controlled to perform corresponding batch processing, including: when the batch processing instruction is a batch verification instruction, the node station number in the node device to be verified is read through each interface unit of the charging and downloading integrated cabinet, and the node station number in the node device to be verified is verified according to the associated information table.

[0019] In the second aspect, an embodiment of the present invention provides a node station number batch processing device, including: an acquisition module, used to acquire a target image of the area where each interface unit is located on the charging and downloading integrated cabinet, and the interface unit is used to access the node device; a division module, used to divide the target image according to the arrangement rules of each interface unit, obtain the target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to the target sub-image; a detection module, used to perform node device detection on each target sub-image, and when the node device is detected, identify the node station number corresponding to the node device based on a preset area on the outer surface of the node device; a generation module, used to associate the identified node station number with the corresponding interface unit position number to generate a corresponding association information table; a processing module, used to control the charging and downloading integrated cabinet to perform corresponding batch processing based on the association information table and batch processing instructions.

[0020] In the third aspect, an embodiment of the present invention provides a node station number batch processing device, comprising: one or more processors; a memory for storing one or more programs; an image collector for collecting target images of the areas where the interface units of the charging and downloading integrated cabinet are located; when the one or more programs are executed by the one or more processors, the one or more processors implement the steps of the node station number batch processing method as described in any one of the first aspects.

[0021] In a fourth aspect, an embodiment of the present invention provides a node station number batch processing system, comprising an image acquisition device and a node station number batch processing device; wherein the image acquisition device is used to acquire a target image of the area where each interface unit on the charging and downloading integrated cabinet is located, and send the target image to the node station number batch processing device, so that the node station number batch processing device can execute the steps of the node station number batch processing method as described in any one of the first aspects.

[0022] In the fifth aspect, an embodiment of the present invention provides a node processing system, comprising a node station number batch processing device as described in the third aspect or a node station number batch processing system as described in the fourth aspect, and a charging and downloading integrated cabinet; wherein the charging and downloading integrated cabinet is used to respond to the batch processing instructions of the node station number batch processing device or the node station number batch processing system, and perform corresponding batch processing.

[0023] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the node station number batch processing method as described in any one of the first aspects are implemented.

[0024] The embodiments of the present invention have the following beneficial effects:

[0025] Through intelligent recognition of the overall photo of the charging and downloading integrated cabinet, each charging interface unit area on the cabinet and the corresponding interface unit position are automatically detected. If a node device is detected in the interface unit area, the node station number on the outer surface of the node device is automatically identified, and an associated information table of "interface unit position number-node station number" is generated. Then, the technical means of batch writing or batch comparison of node station numbers are performed according to the associated information list, thereby realizing intelligent batch recognition of node station numbers, reducing a large amount of unnecessary repetitive mechanical labor, reducing the error probability of manual operation, and improving the efficiency and accuracy of node station number writing and verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0028] Figure 1a A schematic diagram of a network architecture based on an embodiment of the present invention;

[0029] Figure 1b A schematic diagram of another network architecture based on an embodiment of the present invention;

[0030] Figure 2 A schematic diagram of another network architecture provided by an embodiment of the present invention;

[0031] Figure 3 Flow chart 1 of a method for batch processing of node station numbers provided by an embodiment of the present invention;

[0032] Figure 4a A schematic diagram of a front view of a node cabinet provided in an embodiment of the present invention;

[0033] Figure 4b A schematic diagram of a front view of a node upper cabinet after division provided by an embodiment of the present invention;

[0034] Figure 4c A schematic diagram of node device detection provided by an embodiment of the present invention;

[0035] Figure 4d A schematic diagram of an empty interface unit detection improved by an embodiment of the present invention;

[0036] Figure 5The process of the node station number batch processing method provided by the embodiment of the present invention Figure 2 ;

[0037] Figure 6 The process of the node station number batch processing method provided by the embodiment of the present invention Figure 3 ;

[0038] Figure 7 Flow chart 4 of the node station number batch processing method provided by the embodiment of the present invention;

[0039] Figure 8 The process of the node station number batch processing method provided by the embodiment of the present invention Figure 5 ;

[0040] Fig. 9 A schematic diagram of the structure of a node station number batch processing device provided by an embodiment of the present invention;

[0041] Fig.10 A schematic diagram of the hardware structure of a node station number batch processing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] In the field of oil seismic exploration, node devices are gradually becoming the mainstream equipment for seismic exploration. Unlike traditional geophysical acquisition equipment that uses wired connections, node devices do not require cable connections. They are compact and lightweight, easy to deploy on a large scale, and can be placed individually at designated observation sites for uninterrupted seismic wave acquisition for dozens of days. Currently, node devices have begun to be widely used in a variety of exploration projects such as mountains, urban areas, deserts, and plains. In addition, exploration and construction projects are usually large, and a seismic exploration project requires the use of tens of thousands of node devices for acquisition, which places high demands on equipment management, construction process management, and data acquisition management.

[0044] Each node device has a unique identity information "station number", which is the basis for equipment management, observation system deployment, data collection, data download and data segmentation processing. This information needs to be posted on the surface of the node device in the form of text or barcode to facilitate equipment users to identify and manage; at the same time, the "station number" also needs to be accurately written into the node device, and used in scenarios such as equipment electronic information management, observation system matching, data collection, and data automation processing. If the internal and external node station number information carried by the node device is inconsistent, there will be a series of problems such as chaotic equipment management, chaotic data collection, and scrapped data. This is very serious and requires a lot of manpower and material resources to find the problem station. If you are lucky, you can re-check and correct the data collected by the problem station in time. If you are unlucky, the data collected by the problem station will be discarded, and the seismic data will be missing. Therefore, it is necessary to eliminate the phenomenon of incorrect station number writing and inconsistent internal and external station numbers.

[0045] When manufacturing node equipment, it is necessary to paste the printed node station number information, usually in the form of text and barcode, on the surface of the node shell, and then burn the firmware to the node circuit board, assemble the node equipment, etc. When the node is assembled, the node only has the surface station number information, and the station number information in the firmware program needs to be written in batches using a node-specific cabinet-"node charging and downloading integrated cabinet". The charging and downloading integrated cabinet is a special equipment for geophysical exploration for charging, data downloading and parameter configuration of nodes. A cabinet has multiple neatly arranged charging interface units, which can operate multiple node devices at the same time. When using, each node device needs to be inserted into the charging interface unit of the cabinet, with the bottom of the node inside and the surface of the node outside. The station number information on the surface of the node is clearly visible.

[0046] When writing nodes, operators use mobile phones or dedicated barcode scanners to scan the codes one by one in order, and match each charging interface unit with the installed node device one by one, and then send the interface unit number and the corresponding node station number information to the host computer software of the charging and downloading integrated cabinet. The host computer software sends the command to write the station number and the station number information to the node device of each interface unit to complete the station number writing work of each node device. Usually, a charging and downloading integrated cabinet has dozens of electrical interface units. To scan a cabinet, the operator needs to repeat dozens of times. If several cabinets work at the same time, it needs to scan hundreds of times. Faced with tens of thousands of node outputs, this work is very large, time-consuming, and error-prone. In addition, using a mobile phone camera to scan barcodes requires focusing one by one, which is inefficient. Although using a barcode scanner is efficient, it is easy to mistakenly scan the adjacent node station number. In order to ensure the correctness of the code scan, two people are often required to scan the code separately and then proofread.

[0047] Before the geophysical exploration construction begins, it is also necessary to verify whether the internal and external station numbers of the nodes are consistent to avoid equipment confusion, management confusion, data confusion and other problems caused by inconsistent internal and external station numbers of the nodes. In the related technology, the node equipment is placed on the charging and downloading integrated cabinet, and the upper computer software of the charging and downloading integrated cabinet reads the internal station number of the node equipment connected to each interface unit, and then the operator uses a mobile phone or a scanner to scan the external station number of each node device on the cabinet one by one, and then sends the scanned external station number to the cabinet upper computer software for comparison with the read internal station number.

[0048] In summary, when faced with the work of writing or verifying the station numbers of a large number of node devices, a large amount of repeated scanning work is required manually, which is inefficient and prone to errors.

[0049] In view of the above technical problems, the technical concept of the present invention is: first intelligently batch read the barcode information on the surface of the node equipment, and then batch write it into the node equipment or verify it with the read internal information of the node equipment. When intelligently batch read the barcode information on the surface of the node equipment, the overall image of the node cabinet is intelligently identified, the overall image is divided according to each interface unit, and each interface unit area is automatically detected whether it is connected to the node equipment. If the node equipment is connected, the node station number information on the outer surface of the node is automatically identified, and the "interface unit position number-node station number" information list is generated. Finally, the node station number information is batch written using the charging download cabinet or verified with the node station number information read by the charging download cabinet.

[0050] Figure 1a A schematic diagram of a network architecture based on an embodiment of the present invention is shown in FIG. Figure 1a As shown, one of the network architectures based on the present invention may include a charging and downloading integrated cabinet 1 and a first node station number batch processing device 2, wherein the first node station number batch processing device 2 can be used to execute the node station number batch processing method described in the following embodiments to control the batch writing or verification of node station numbers using the charging and downloading integrated cabinet 1.

[0051] It should be noted that the first node station number batch processing device 2 is a hardware device or intelligent terminal with image acquisition and data processing functions, such as a digital camera, a smart phone with image acquisition function, etc.; the first node station number batch processing device 2 serves as the host computer of the charging and downloading integrated cabinet 2, and controls the charging and downloading integrated cabinet 2 to perform corresponding processing.

[0052] Figure 1b A schematic diagram of another network architecture based on an embodiment of the present invention is shown in FIG. Figure 1bAs shown, one of the network architectures based on the present invention may include a charging and downloading integrated cabinet 1, an image acquisition device 3, and a second node station number batch processing device 4, wherein the image acquisition device 3 and the second node station number batch processing device 4 provide a medium for a communication link through a network, and the network may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. In addition, the image acquisition device 3 and the second node station number batch processing device 4 are used in conjunction to execute the methods described in the following embodiments to control the batch writing or verification of node station numbers using the charging and downloading integrated cabinet 1.

[0053] It should be noted that the image acquisition device 3 is a hardware device or intelligent terminal with image acquisition function, such as a digital camera, a smart phone with image acquisition function or other portable special device, etc.; correspondingly, the second node station number batch processing device 4 is an electronic device that provides computing and processing functions for the image acquisition device 3, such as the host computer of the charging and downloading integrated cabinet 1, a smart phone, etc., and can also be software. When the second node station number batch processing device 4 is software, it can be installed in the corresponding electronic devices listed above, such as the software form of the second node batch processing device 4 can be software installed in a mobile phone terminal.

[0054] Figure 2 A schematic diagram of a charging and downloading integrated cabinet provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown in the figure, one of the charging and downloading integrated cabinets based on the present invention has various interface units (circular solid lines) distributed on the front of the cabinet, and the interface units are distributed in rows and columns. Node devices can be connected to the interface units. In the following embodiments, Figure 2 The charging and downloading integrated cabinet shown in the figure is used as an example for explanation.

[0055] Figure 3 Flow chart 1 of the node station number batch processing method provided by the embodiment of the present invention, as shown in Figure 3 As shown, the node station number batch processing method includes:

[0056] Step S301: Acquire a target image of the area where each interface unit on the charging and downloading integrated cabinet is located, wherein the interface unit is used to access a node device.

[0057] Specifically, Figure 2 As shown, each interface unit is distributed on the front of the charging and downloading integrated cabinet, that is, the target image can be understood as the front view image of the charging and downloading integrated cabinet. In this embodiment, the node device that needs to write or verify the station number is inserted into each interface unit of the charging and downloading integrated cabinet (referred to as the node cabinet), and the node station number information on the surface of the node device is ensured to be unobstructed. Then, an image acquisition device (such as a digital camera, a mobile phone, a dedicated portable device) can be used to shoot the front of the cabinet to obtain a clear front view image of the cabinet, such as Figure 4a A schematic diagram of a front view of a node cabinet provided in an embodiment of the present invention.

[0058] In some embodiments, the step S301 of obtaining the target image corresponding to the area where each interface unit on the charging and downloading integrated cabinet is located includes at least one of the following: directly obtaining the complete target image corresponding to the area where each interface unit on the charging and downloading integrated cabinet is located; obtaining multiple sub-area images corresponding to the area where each interface unit on the charging and downloading integrated cabinet is located, and stitching the target image based on the multiple sub-area images.

[0059] Specifically, if the image acquisition device has a high resolution, a single high-definition front view image of the cabinet can be directly acquired; if the image acquisition device has a low resolution, multiple sub-region photos can be taken for each cabinet, and then a complete cabinet high-definition front view image can be obtained by stitching and synthesis. Among them, when using the stitching and synthesis method, it is necessary to ensure that there is a certain overlap between the adjacent cabinet sub-region photos for stitching and synthesis. In summary, a front view photo corresponding to each cabinet or a group of sub-region front view pictures to be stitched can be obtained. In addition, in order to improve processing efficiency, multiple groups of cabinet front view photos can be obtained at the same time and processed together.

[0060] Step S302: Divide the target image according to the arrangement rule of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to the target sub-image.

[0061] Specifically, the interface units on the charging and downloading integrated cabinet are arranged in rows and columns. The target image can be divided proportionally according to the actual number of rows and columns of each interface unit, divided into R*C small rectangular units, namely, target sub-images, and the interface unit position number (number of rows, number of columns) corresponding to each target sub-image is determined, such as Figure 4b A schematic diagram of a front view of a divided node cabinet provided in an embodiment of the present invention.

[0062] Step S303: perform node device detection on each target sub-image.

[0063] Specifically, each target sub-image may be detected in turn to determine whether the interface unit corresponding to the target sub-image is connected to the node device, such as Figure 4c A schematic diagram of node device detection provided by an embodiment of the present invention, wherein the square dotted frame represents the detected node device.

[0064] In some embodiments, step S303 includes: expanding each of the target sub-images outwardly to a first preset range to obtain a corresponding first area to be detected; inputting feature data of the first area to be detected into a pre-trained support vector machine model, and outputting a classification result of whether a node device is detected.

[0065] Specifically, each first area to be detected is expanded outwards to a certain range with each interface unit rectangular area as the center. Each first area to be detected constitutes the entire area to be detected. For the entire area to be detected, the image data of each first area to be detected can be taken out according to a certain length, width and step length, and the corresponding feature data I is calculated based on formula (1): rgn , I rgn is m rgn *n rgn *3 three-dimensional matrix, m rgn *n rgn Indicates the size of the corresponding first image of the area to be detected.

[0066]

[0067] The calculated feature data are then input into a pre-trained support vector machine (SVM) model to calculate its classification results and find the maximum value in the results. If the maximum value is close to the classification result of the node device, it is considered that the node device is detected, that is, the interface unit corresponding to this target sub-image is connected to the node device.

[0068] In some embodiments, before inputting the feature data of the first area to be detected into a pre-trained support vector machine model, it also includes: constructing positive samples and negative samples, wherein the positive samples are images corresponding to node devices connected to a charging and downloading integrated cabinet, and the negative samples are images corresponding to non-node devices connected to a charging and downloading integrated cabinet; training the support vector machine model to be trained according to the positive samples and the negative samples to obtain the pre-trained support vector machine model.

[0069] Specifically, when using the SVM model to detect node devices, the SVM model needs to be trained in advance, that is, the front view of the node cabinet is used as a positive sample, and the front view of the non-node cabinet is used as a negative sample. Based on formula (2), the model optimization objective function is constructed, and the SVM model is trained to obtain the super classification plane of the SVM, as shown in formula (3).

[0070]

[0071] y=w T x+b (3)

[0072] Among them, w and b are the hyperplane classification parameters, ξ i is the slack variable, C is the penalty factor, n is the number of samples, x i is the feature vector of the i-th sample, y i is the classification result of the i-th sample.

[0073] Step S304: When the node device is detected, a node station number corresponding to the node device is identified based on a preset area on the outer surface of the node device.

[0074] Specifically, after detecting that a node device exists in the target sub-image, a specific area (such as Figure 2 The shaded part of the node device in the figure) reads the node station number information.

[0075] In some embodiments, the step S304 includes: when a node device is detected, locating a preset area on the outer surface of the node device based on a template matching method, the preset area being a node barcode area; parsing the node barcode content corresponding to the node barcode area to obtain a node station number corresponding to the node device.

[0076] Specifically, after the node device is detected, the template matching method can be used to find the node barcode area, that is, the barcode template T calculated from several node barcode subgraphs is used, and then the correlation coefficient between each sub-area and the template is calculated in the detected node device area according to formula (4), and the area with the correlation coefficient closest to 1 is found as the node barcode area; after determining the node barcode area, the barcode parsing program is used to interpret the node barcode content to obtain the node station number.

[0077]

[0078] Among them, T(x′, y′) is the point (x′, y′) on the template, and I(x, y) represents the point (x, y) on the target sub-image.

[0079] Step S305: associate the identified node station number with the corresponding interface unit position number to generate a corresponding association information table.

[0080] Specifically, the node station number of the identified node device is associated with the interface unit position number (hereinafter referred to as interface number) of the interface unit to which it is connected, and an associated information list of "interface number-node station number" is generated.

[0081] Step S306: Based on the association information table and the batch processing instruction, control the charging and downloading integrated cabinet to perform corresponding batch processing.

[0082] Specifically, the generated "interface position number-node station number" association information list is parsed, and according to the batch processing instructions input by the user, the node station number is written or verified by using the charging and downloading integrated cabinet.

[0083] In some embodiments, the step S306 includes: when the batch processing instruction is a batch write instruction, writing the corresponding node station number into the corresponding node device through the interface unit corresponding to the interface position unit number in the associated information table; when the batch processing instruction is a batch verification instruction, reading the node station number in the node device to be verified through each interface unit of the charging and downloading integrated cabinet, and verifying the node station number in the node device to be verified according to the associated information table.

[0084] Specifically, for the station number writing operation, the host computer software of the charging download integrated cabinet loads the above-mentioned associated information list and parses it, and then sends the station number writing command and the corresponding station number information to the node devices installed thereon according to the position of the interface unit, and completes the node station number writing in batches.

[0085] For the verification operation, the host computer software of the charging and downloading integrated cabinet loads the above-mentioned associated information list and parses it, and sends a command to read the node station number to the charging and downloading integrated cabinet to be verified, and obtains the internal station number information of each node device to be verified connected to the cabinet, as well as the position relationship with the corresponding interface unit; then the internal station number information intelligently read is compared with the external station number information batch identified in the associated information table; if there is any inconsistency between the internal and external, it is marked out, and the node station number is rewritten according to the associated information table to complete the intelligent batch comparison.

[0086] This embodiment intelligently identifies the overall photo of the cabinet on the node, divides the overall photo according to each interface unit, automatically determines each interface unit and its position, and intelligently identifies whether the interface unit is placed with a node device. If the interface unit has been placed with a node device, it automatically locates the node barcode position and reads the station number information on the barcode, and finally generates a list of associated information containing "interface position number-node station number", and performs batch station number writing or verification based on the associated information list. Through the above method, a large amount of unnecessary heavy labor is reduced, the error probability of human operation is reduced, and the speed and accuracy of station number writing and station number comparison are improved; further, the efficiency of writing station numbers of node devices before leaving the factory can be improved, the qualified rate of writing station numbers of node devices before leaving the factory can be guaranteed, the efficiency and accuracy of equipment verification before node exploration and construction can be improved, and the efficient and correct implementation of node exploration and construction can be guaranteed.

[0087] Based on the above embodiments, Figure 5 The process of the node station number batch processing method provided by the embodiment of the present invention Figure 2 ,like Figure 5 As shown, the node station number batch processing method includes:

[0088] Step S501: Acquire a target image of the area where each interface unit on the charging and downloading integrated cabinet is located, wherein the interface unit is used to access a node device.

[0089] The implementation of step S501 in this embodiment is similar to that of step S301 in the aforementioned embodiment, and will not be repeated here.

[0090] Step S502: down-sample the target image to obtain a scaled target image.

[0091] When collecting the front view image of the cabinet, in order to ensure that the node barcode on each node device is clear and identifiable, the amount of data contained in the front view image of the entire cabinet is very large. In order to reduce the amount of data processed and improve the calculation speed, after obtaining a complete front view image of the node cabinet, the front view image must be scaled first. The Gaussian pyramid downsampling method can be used to obtain a small-sized cabinet front view image.

[0092] The Gaussian convolution function is shown in formula (5), and the Gaussian convolution function can be convolved with the original target image and filtered, and the process is repeated for multiple times until the size of the original target image is reduced to a certain extent.

[0093]

[0094] σ i+1 =k i *σ i (6)

[0095] Among them, (x0, y0) represents the coordinates of the center point of the convolution kernel, σ i is the coefficient that changes with the number of iterations, as shown in formula (6), k i is the scaling factor associated with the iteration.

[0096] Step S503: convert the scaled target image from RGB format to YCbCr format, and perform brightness equalization processing on the scaled target image in YCbCr format to obtain a preprocessed target image.

[0097] In order to reduce the impact of uneven illumination and facilitate identification, the target image is converted from the original RGB color system to the YCbCr color system. The conversion is shown in formula (7):

[0098]

[0099] Then, brightness equalization is performed, that is, the Y component is taken from the converted YCbCr data and processed separately, and the Y component is subjected to histogram equalization as shown in formula (8):

[0100]

[0101] Among them, Y kis the kth gray level of the Y component, k = 0, 1, 2, ..., L-1, n k The gray level in the image is Y k The number of pixels in the image is n, and n is the total number of pixels in the image.

[0102] Step S504: Binarize the Cb component and the Cr component in the pre-processed target image, identify the minimum circumscribed quadrilateral of the area where each interface unit is located, and form a first area image.

[0103] Specifically, the Cb and Cr components in the YCbCr data are binarized in sections, as shown in formulas (9) and (10); then the binarization results are merged, as shown in formula (11):

[0104]

[0105]

[0106]

[0107] in, is the binarization result of Cb component, where Indicates the minimum value of the first color in the Cb component, Indicates the maximum value of the first color in the Cb component, Similarly; is the binarization result of the Cr component, Indicates the minimum value of the first color in the Cr component, Indicates the maximum value of the first color in the Cr component, Similarly; I b (x, y) is the set of binarization results of Cb and Cr components, ∨ represents an OR operation, where the first color and the second color are determined according to the image chromaticity of the area where each interface unit is located.

[0108] Analyze the binary result image and find the minimum circumscribed quadrilateral of the area where each interface unit is located to form the first area image. Figure 2 Taking the charging and downloading integrated cabinet shown as an example, the interface units are usually distributed on two cabinet doors. In this embodiment, the smallest circumscribed quadrilateral of the two regions with the largest areas is found to obtain the four vertices of the quadrilateral area. The two rectangular areas are the two cabinet door areas of the cabinet.

[0109] Step S505: Correct the first region image to a second region image that meets a preset standard.

[0110] When collecting the front view image of the charging and downloading integrated cabinet, due to the angle problem during the shooting process, the area where each interface unit is located, such as the cabinet door, may have a certain distortion, which can be mapped into a standard cabinet door shape through geometric affine transformation.

[0111] First, determine the four vertices (x1, y1), (x2, y2), (x3, y3), and (x4, y4) of the quadrilateral corresponding to the cabinet door in the original target image. Then, with the upper left corner vertex as the fixed point, correct the other three vertices to a horizontal rectangle, that is, a normal cabinet door. The corrected vertex coordinates are (x′1, y′1), (x′2, y′2), (x′3, y′3), and (x′4, y′4).

[0112] There is a certain mapping transformation relationship between the new and old points before and after correction, as shown in formula (12):

[0113]

[0114] Among them, (x, y, 1) is the homogeneous coordinates of each vertex in the original target image, (x′, y′, 1) is the vertex coordinate after mapping transformation, and the matrix coefficients of the coordinate mapping matrix can be calculated from the four pairs of point coordinates. After calculating the coordinate mapping matrix, the content in the quadrilateral in the original target image can be mapped to a horizontally placed rectangle through the coordinate mapping matrix transformation, which is consistent with the front shape of the charging and downloading integrated cabinet.

[0115] Step S506: divide the second region image according to the distribution of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to the target sub-image.

[0116] Step S507: Perform node device detection on each target sub-image.

[0117] Step S508: When the node device is detected, a node station number corresponding to the node device is identified based on a preset area on the outer surface of the node device.

[0118] Step S509: associate the identified node station number with the corresponding interface unit position number to generate a corresponding association information table.

[0119] Step S510: Based on the association information table and the batch processing instruction, control the charging and downloading integrated cabinet to perform corresponding batch processing.

[0120] Steps S507-S510 in this embodiment are implemented in similar ways to steps S303-306 in the aforementioned embodiment, and are not described again here.

[0121] It should be noted that steps S504 and S505 in this embodiment are optional steps. That is, after executing step S503 to obtain the preprocessed target image, the preprocessed target image can be directly divided according to the arrangement rules of each interface unit, and the subsequent steps S507-S510 can be executed; or after executing step S504 to obtain the first region image, the first region image can be directly divided according to the arrangement rules of each interface unit, and the subsequent steps S507-S510 can be executed.

[0122] On the basis of the foregoing embodiments, the target image is down-sampled to reduce the amount of data to be processed and the calculation speed is increased; the target image is converted from RGB format to YCbCr format and the brightness of the target image in YCbCr format is equalized to reduce the impact of uneven lighting and facilitate recognition; image correction is also performed to reduce the problem of difficulty in recognition caused by distortion of cabinet doors due to angle problems during shooting.

[0123] Based on the above embodiments, Figure 6 The process of the node station number batch processing method provided by the embodiment of the present invention Figure 3 ,like Figure 6 As shown, the point batch processing method includes:

[0124] Step S601: Acquire a target image of the area where each interface unit on the charging and downloading integrated cabinet is located, wherein the interface unit is used to access a node device.

[0125] Step S602: Divide the target image according to the arrangement rule of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to each target sub-image.

[0126] Step S603: Perform node device detection on each target sub-image.

[0127] If no node device is detected, steps S604-S606 are executed; if a node device is detected, steps S607-S609 are executed.

[0128] Step S604: When the node device is not detected, perform empty interface unit detection on the target sub-image.

[0129] Step S605: When the empty interface unit is detected, the position number of the empty interface unit is recorded.

[0130] Step S606: When the empty interface unit is not detected, mark the corresponding interface unit as abnormal.

[0131] Step S607: When a node device is detected, a node station number corresponding to the node device is identified based on a preset area on an outer surface of the node device.

[0132] Step S608: associate the identified node station number with the corresponding interface unit position number to generate a corresponding association information table.

[0133] Step S609: Based on the association information table and the batch processing instruction, control the charging and downloading integrated cabinet to perform corresponding batch processing.

[0134] The implementation of steps S601-S603 and S607-S609 in the embodiment of the present invention is similar to S301-306 in the above embodiment, and will not be repeated here.

[0135] The difference from the above embodiment is that this embodiment further limits the specific implementation method when no node device is detected, that is, when no node device is detected in the target sub-image, a judgment is made as to whether the interface unit is empty. If it is an empty interface unit, the corresponding interface unit position number is recorded. If it is not an empty interface unit, an abnormality is marked on this interface unit. Figure 4d A schematic diagram of an empty interface unit detection provided by an embodiment of the present invention, such as Figure 4d The circular dotted box in the figure is the detected empty interface unit.

[0136] In some embodiments, the empty interface unit detection of the target sub-image includes: expanding the target sub-image outward to a second preset range to obtain a second area to be detected; binarizing the second area to be detected to identify a connected domain; and determining whether the connected domain is the empty interface unit based on characteristic parameters of the connected domain.

[0137] Specifically, the empty interface unit detection process is similar to the node device detection process, that is, taking the rectangular area of ​​the interface unit to be detected as the center, a certain range is expanded outward as the area to be detected; the image data in the area to be detected is binarized, and the connected domain analysis is performed on the binarization result; the characteristic parameters of each connected domain are counted; and whether the connected domain is an empty interface unit is determined by judging the size of the characteristic parameters of the connected domain.

[0138] The characteristic parameters of the connected domain include at least one of the following: area S, perimeter P, convex hull area H, roundness C, convexity V, and inertia rate I. The calculation formula of roundness C is shown in (13), the calculation formula of convexity V is shown in (14), and the calculation formula of inertia rate I is shown in (15).

[0139]

[0140]

[0141]

[0142] Among them, μ 20 , μ 02 , μ 11 It is calculated by the covariance formula of the connected domain, as shown in formula (16):

[0143]

[0144] On the basis of the foregoing embodiments, when no node device is detected, an empty interface unit detection is performed on the target sub-image; when an empty interface unit is detected, the empty interface unit position number is recorded; when no empty interface unit is detected, the corresponding interface unit is identified as abnormal; and during subsequent writing or verification, the interface units of non-node devices are directly skipped, thereby improving batch processing efficiency.

[0145] Based on the above embodiments, Figure 7 Flow chart 4 of the node station number batch processing method provided by the embodiment of the present invention, as shown in Figure 7 As shown, the node batch processing method includes:

[0146] Step S701: Acquire a target image of the area where each interface unit on the charging and downloading integrated cabinet is located, wherein the interface unit is used to access a node device.

[0147] Step S702: Divide the target image according to the arrangement rule of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to each target sub-image.

[0148] Step S703: perform node device detection on each target sub-image.

[0149] Step S704: When a node device is detected, a node station number corresponding to the node device is identified based on a preset area on an outer surface of the node device.

[0150] Step S705: Based on the correspondence between the regions where the interface units on the charging and downloading integrated cabinet are located and the cabinet number regions, determine the cabinet number candidate regions in the target image.

[0151] Step S706: Identify the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area.

[0152] Step S707: associate the cabinet number, the identified node station number and the corresponding interface unit position number to generate a corresponding association information table.

[0153] Step S708: Based on the association information table and the batch processing instruction, control the charging and downloading integrated cabinet to perform corresponding batch processing.

[0154] The implementation of steps S701-704 in the embodiment of the present invention is similar to that of steps S301-304 in the above embodiment, and will not be described in detail here.

[0155] The difference from the above embodiment is that, in order to further improve the efficiency of batch processing, the node station numbers on multiple groups of cabinets can be identified at the same time. That is, according to the relative position relationship of the cabinet barcode, the cabinet barcode area is found and parsed to obtain the cabinet number, and finally a "cabinet cabinet number-interface position number-node station number" association information list is obtained; similarly, all the mechanisms to be processed are obtained to generate an association information list containing multiple cabinets.

[0156] The generated "cabinet number - interface position number - node station number" association information list is transmitted to the cabinet host computer software, and the cabinet host computer software then performs station number writing or station number verification operations as required. For station number writing operations, the host computer software loads the association information list and parses it, and then sends the station number writing command and the corresponding station number information to the node devices installed thereon according to the cabinet number and the interface unit position number, and completes the node station number writing in batches. For station number verification operations, the host computer software loads the association information list and parses it, and sends the station number information reading command to the cabinet to be verified, and obtains the node station number information to be verified on each cabinet and the corresponding relationship between the interface unit position; then the station number information intelligently parsed in the association information table is compared with the batch read station number information, and the inconsistent station numbers are identified, thereby realizing intelligent batch comparison.

[0157] In some embodiments, the identifying of the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area includes: performing grayscale processing on the cabinet number candidate area to obtain a grayscale image; binarizing the grayscale image based on the maximum inter-class variance method to obtain a binarized result image; performing horizontal integral projection and vertical integral projection on the binarized result image, and determining the cabinet barcode area according to the horizontal integral projection results and the vertical integral projection results; parsing the cabinet barcode content in the cabinet barcode area to obtain the corresponding cabinet number.

[0158] Specifically, the cabinet number is usually affixed in the upper right corner of the cabinet in the form of a barcode. After finding the two largest areas as the cabinet doors, you can take a sub-area in the upper right corner based on the relative size and position relationship between the cabinet door and the cabinet number area. m As the search area for the cabinet number barcode, then set the sub-area Region m Convert it into a grayscale image, and then use the maximum inter-class variance method to perform binarization processing. The specific process is as follows:

[0159] First, the probability density of the grayscale image is calculated based on formula (18):

[0160]

[0161] Among them, P i is the probability density of the i-th grayscale.

[0162] Then, the cumulative mean m of the gray level K is calculated based on formula (19):

[0163]

[0164] Then, the global mean m of the grayscale image is calculated based on formula (20): g :

[0165]

[0166] Finally, the inter-class variance is determined as shown in formula (21):

[0167]

[0168] Find the value that makes σ 2 The gray level k with the largest value is taken as the threshold; the cabinet number barcode area is binarized according to the calculated threshold; then the binary result image is subjected to horizontal integral projection and vertical integral projection, respectively, as shown in formulas (22) and (23):

[0169] v v (x) = ∑ y I bm (x,y) (22)

[0170] v h (y)=∑ x I bm (x,y) (23)

[0171] In the horizontal integral projection results and the vertical integral projection results, find the first point greater than the projection mean from both ends to the middle, use the four points found to frame the cabinet number barcode area, and then parse the barcode content in the cabinet number barcode area to get the cabinet number.

[0172] On the basis of the above-mentioned embodiment, after completing the interface unit position identification and the node station number identification, the cabinet number identification is also completed, and a list of associated information of the cabinet number, the interface unit position number and the node station number is generated. Similarly, all cabinets are processed in sequence to obtain a list of associated information containing multiple cabinets, thereby further improving the batch processing efficiency.

[0173] Figure 8The process of the node station number batch processing method provided by the embodiment of the present invention Figure 5 Now combined Figure 8 The embodiments of the present invention are described in detail. Figure 8 As shown, the node batch processing method is mainly divided into three parts: obtaining node cabinets and node cabinet photos, batch intelligent identification of node station numbers, and batch writing and proofreading of node station numbers.

[0174] 1. Obtaining node listing and node listing photos

[0175] Place the node devices that need to write station numbers or station numbers for comparison on the interface units of the charging and downloading integrated cabinet; then use a mobile phone, a dedicated portable device or a high-definition camera to take a photo of the front of the cabinet. For devices with lower camera resolution, you can take sub-pictures of the front of the cabinet in sequence, and then use panoramic stitching to stitch together a photo of the front of the cabinet.

[0176] 2. Batch intelligent identification of node station numbers

[0177] The batch intelligent identification of node station numbers can be completed on the cabinet host computer software or mobile phone or dedicated portable device for image acquisition. It mainly includes the steps of data preprocessing and cabinet detection, node device detection, empty interface unit detection, cabinet number positioning and analysis, and generation of associated information table.

[0178] like Figure 8 As shown in the figure, first, a complete front view of the cabinet must be obtained. For panoramic stitching, the stitching of the cabinet front view image must be completed first; then downsampling is performed, and the Gaussian pyramid downsampling method can be used to reduce the image to increase the processing speed; then color conversion is performed, and the image can be converted from RGB format to YCbCr space, and the Y component is subjected to histogram equalization processing; then cabinet detection is performed, and the Cb component and Cr component in the YCbCr format image can be segmented and binarized to obtain the main area of ​​the cabinet front door; then cabinet correction is performed, and in view of the problem of cabinet door distortion due to angle problems during shooting, it can be mapped into a standard cabinet door shape through geometric affine transformation; then interface division is performed, that is, after completing the projection correction, each interface unit sub-area can be divided according to the arrangement rules of each interface unit.

[0179] Then, node detection is performed, that is, each interface unit sub-area is identified to determine whether it is a node device or an empty interface. The detection of node devices adopts the support vector basis method, and the pre-trained support vector basis model can be used to detect and classify the feature vectors of the data to be detected in each interface unit sub-area; if a node is detected, the template matching method is used to find the node barcode position, and the barcode content is parsed after finding it to obtain the node station number, and the node station number is matched with the interface position number. If no node is detected, empty interface detection is performed, and for non-node areas, the connected domain feature analysis is used to determine whether it is an empty interface unit; finally, according to the relative position relationship of the cabinet barcode, the cabinet barcode area is found and parsed to obtain the cabinet number; finally, a "cabinet number-interface position number-node station number" association information list is generated.

[0180] By repeating this process, the station number information on multiple cabinets can be intelligently parsed in batches, and finally a total "cabinet number - interface position number - node station number" associated information list can be generated.

[0181] 3. Batch writing and proofreading of node station numbers

[0182] The generated "cabinet number - interface position number - node station number" association information list is transmitted to the cabinet host computer software, and the cabinet host computer software then writes the station number or verifies the station number according to the requirements.

[0183] For the station number writing operation, the host computer software loads the associated information list and parses it, and then sends the station number writing command and station number information to the node devices installed thereon according to the cabinet number and interface unit location, completing the node station number writing in batches.

[0184] For node station number comparison, the upper computer software loads the associated information list and parses it, and sends a station number information reading command to the cabinet to be verified to obtain the station number information of each node to be verified on the cabinet and the corresponding relationship between the position of the interface unit; then the intelligently parsed station number information is compared with the batch-read station number information, and the inconsistent station numbers are identified, thereby realizing intelligent batch comparison.

[0185] In summary, the embodiment of the present invention performs intelligent recognition of the overall photo of the cabinet on the node, automatically determines the charging interface units and their positions on the cabinet, and intelligently identifies whether the interface is empty or has a node device placed on it. If the interface unit has a node device placed on it, it automatically locates the node barcode position and reads the station number information on the barcode, and finally generates an information list containing "cabinet number-interface position number-node station number", which is sent to the cabinet host computer software for station number writing or station number comparison. Intelligent recognition of station images on nodes reduces a lot of unnecessary heavy labor, reduces the probability of error in human operations, and improves the speed and accuracy of station number writing and station number comparison. This embodiment can improve the efficiency of writing station numbers for node devices when they leave the factory, ensure the pass rate of writing station numbers for node devices when they leave the factory, improve the efficiency and accuracy of equipment verification before node exploration and construction, and ensure efficient and correct node exploration and construction.

[0186] Fig. 9 A schematic diagram of the structure of a node station number batch processing device provided by an embodiment of the present invention, such as Fig. 9 As shown, the processing device includes:

[0187] An acquisition module 901 is used to acquire a target image of an area where each interface unit on the charging and downloading integrated cabinet is located, and the interface unit is used to access a node device; a division module 902 is used to divide the target image according to the arrangement rules of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to the target sub-image; a detection module 903 is used to perform node device detection on each target sub-image, and when a node device is detected, identify the node station number corresponding to the node device based on a preset area on the outer surface of the node device; a generation module 904 is used to associate the identified node station number with the corresponding interface unit position number to generate a corresponding association information table; a processing module 905 is used to control the charging and downloading integrated cabinet to perform corresponding batch processing based on the association information table and batch processing instructions.

[0188] In some embodiments, the acquisition module 901 includes at least one of the following: directly acquiring a complete target image of the area where each interface unit of the charging and downloading integrated cabinet is located; acquiring multiple sub-area images corresponding to the area where each interface unit of the charging and downloading integrated cabinet is located, and stitching and synthesizing the target image based on the multiple sub-area images.

[0189] In some embodiments, the processing device also includes a preprocessing module 906, which is used to: downsample the target image to obtain a scaled target image; convert the scaled target image from RGB format to YCbCr format, and perform brightness equalization processing on the scaled target image in YCbCr format to obtain a preprocessed target image; the division module 902 is specifically used to: divide the preprocessed target image according to the arrangement rules of each interface unit.

[0190] In some embodiments, the preprocessing module 906 is further used to: binarize the Cb component and the Cr component in the preprocessing target image, identify the minimum circumscribed quadrilateral of the area where each interface unit is located, and form a first area image; the division module 902 is specifically used to: divide the first area image according to the arrangement rules of each interface unit.

[0191] In some embodiments, the preprocessing module 906 is further used to: correct the first area image into a second area image that meets preset standards; the division module 902 is specifically used to: divide the second area image according to the arrangement rules of each interface unit.

[0192] In some embodiments, the detection module 903 is specifically used to: expand each of the target sub-images outwardly to a first preset range to obtain a corresponding first area to be detected; input feature data of the first area to be detected into a pre-trained support vector machine model, and output a classification result of whether a node device is detected.

[0193] In some embodiments, the detection module 903 is also used to: construct positive samples and negative samples, wherein the positive samples are images corresponding to node devices connected to the charging and downloading integrated cabinet, and the negative samples are images corresponding to non-node devices connected to the charging and downloading integrated cabinet; train the support vector machine model to be trained according to the positive samples and the negative samples to obtain the pre-trained support vector machine model.

[0194] In some embodiments, the detection module 903 is specifically used to: when a node device is detected, locate a preset area on the outer surface of the node device based on a template matching method, where the preset area is a node barcode area; parse the node barcode content corresponding to the node barcode area to obtain the node station number corresponding to the node device.

[0195] In some embodiments, the detection module 903 is further used to: perform empty interface unit detection on the target sub-image when no node device is detected; record the empty interface unit position number when an empty interface unit is detected; and identify the corresponding interface unit abnormality when no empty interface unit is detected.

[0196] In some embodiments, the detection module 903 is further used to: expand the target sub-image outward to a second preset range to obtain a second area to be detected; binarize the second area to be detected to identify a connected domain; and determine whether the connected domain is the empty interface unit based on characteristic parameters of the connected domain.

[0197] In some embodiments, the detection module 903 is also used to: determine the cabinet number candidate area in the target image based on the correspondence between the area where each interface unit on the charging and downloading integrated cabinet is located and the cabinet number area; identify the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area; the generation module 904 is specifically used to: associate the cabinet number, the identified node station number and the corresponding interface unit position number to generate a corresponding association information table.

[0198] In some embodiments, the detection module 903 is specifically used to: perform grayscale processing on the cabinet number candidate area to obtain a grayscale image; perform binarization processing on the grayscale image based on the maximum inter-class variance method to obtain a binarization result image; perform horizontal integral projection and vertical integral projection on the binarization result image, and determine the cabinet barcode area according to the horizontal integral projection results and the vertical integral projection results; parse the cabinet barcode content in the cabinet barcode area to obtain the corresponding cabinet number.

[0199] In some embodiments, the processing module 905 is specifically used to: when the batch processing instruction is a batch write instruction, write the corresponding node station number into the corresponding node device through the interface unit corresponding to the interface position unit number in the association information table.

[0200] In some embodiments, the processing module 905 is specifically used to: when the batch processing instruction is a batch verification instruction, read the node station number in the node device to be verified through each interface unit of the charging and downloading integrated cabinet, and verify the node station number in the node device to be verified according to the associated information table.

[0201] The implementation principle and technical effect of the onshore node instrument pile number matching device provided in the embodiment of the present invention are similar to those of the above-mentioned embodiment and will not be repeated here.

[0202] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and corresponding beneficial effects of the node station number batch processing device described above can refer to the corresponding process in the aforementioned method example and will not be repeated here.

[0203] Fig.10 A schematic diagram of the hardware structure of a node station number batch processing device provided in an embodiment of the present invention is shown in FIG. Fig.10 As shown, the processing device includes:

[0204] One or more processors 1001;

[0205] Memory 1002, used to store one or more programs;

[0206] The image collector 1003 is used to collect target images of the areas where the interface units of the charging and downloading integrated cabinet are located;

[0207] When the one or more programs are executed by the one or more processors 1001, the one or more processors implement the steps of the node station number batch processing method as described in any one of the first aspects.

[0208] The specific implementation process of the processor 1001 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0209] In the above Fig.10 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0210] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0211] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0212] The embodiment of the present invention provides a node station number batch processing system, which can refer to Figure 2 As shown, it includes an image acquisition device and a node station number batch processing device; wherein the image acquisition device is used to acquire the target image of the area where each interface unit on the charging and downloading integrated cabinet is located, and send the target image to the node station number batch processing device, so that the node station number batch processing device can execute the steps of the node station number batch processing method as described in any one of the first aspects.

[0213] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and corresponding beneficial effects of the node station number batch processing system described above can refer to the corresponding process in the aforementioned method example and will not be repeated here.

[0214] The embodiment of the present invention provides a node processing system, which can be referred to in FIG. Figure 2 As shown, it includes the above-mentioned node station number batch processing device or the above-mentioned node station number batch processing system, and a charging and downloading integrated cabinet; wherein the charging and downloading integrated cabinet is used to respond to the batch processing instructions of the node station number batch processing device or the node station number batch processing system to perform corresponding batch processing.

[0215] Technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process and corresponding beneficial effects of the node station number batch processing device or node station number batch processing system described above can refer to the corresponding process in the aforementioned method example and will not be repeated here.

[0216] The embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the node station number batch processing method described above are implemented.

[0217] The computer-readable storage medium may be included in the device / apparatus described in the above embodiment; or it may exist independently without being assembled into the device / apparatus. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.

[0218] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0219] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0220] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for batch processing of node station numbers, characterized in that: include: Acquire a target image of the area where each interface unit of the charging and downloading integrated cabinet is located, wherein the interface unit is used to access the node device; Divide the target image according to the arrangement rules of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to each target sub-image; Perform node device detection on each target sub-image, and when a node device is detected, identify the node station number corresponding to the node device based on a preset area on the outer surface of the node device; Associating the identified node station number with the corresponding interface unit position number to generate a corresponding association information table; Based on the associated information table and the batch processing instructions, the charging and downloading integrated cabinet is controlled to perform corresponding batch processing.

2. The method according to claim 1, characterized in that The step of acquiring a target image of an area where each interface unit of the charging and downloading integrated cabinet is located includes at least one of the following: Directly obtain the complete target image of the area where each interface unit of the charging and downloading integrated cabinet is located; A plurality of sub-region images corresponding to the regions where the interface units of the charging and downloading integrated cabinet are located are obtained, and the target image is synthesized based on the plurality of sub-region images.

3. The method according to claim 2, characterized in that After acquiring the target image of the area where each interface unit of the charging and downloading integrated cabinet is located, the method further includes: Performing downsampling processing on the target image to obtain a scaled target image; Convert the scaled target image from RGB format to YCbCr format, and perform brightness equalization processing on the scaled target image in YCbCr format to obtain a preprocessed target image; The dividing the target image according to the arrangement rules of the interface units includes: The pre-processed target image is divided according to the arrangement rules of each interface unit.

4. The method according to claim 3, characterized in that After obtaining the preprocessed target image, the method further includes: Binarization is performed on the Cb component and the Cr component in the preprocessed target image, and the minimum circumscribed quadrilateral of the area where each interface unit is located is identified to form a first area image; The dividing the target image according to the arrangement rules of the interface units includes: The first region image is divided according to the arrangement rule of each interface unit.

5. The method according to claim 4, characterized in that After forming the first region image, the method further includes: Correcting the first region image into a second region image that meets a preset standard; The dividing the target image according to the arrangement rules of the interface units includes: The second region image is divided according to the arrangement rule of each interface unit.

6. The method according to any one of claims 1 to 5, characterized in that: The performing node device detection on each target sub-image includes: Expand each of the target sub-images outwardly to a first preset range to obtain a corresponding first area to be detected; The feature data of the first area to be detected is input into a pre-trained support vector machine model, and a classification result of whether a node device is detected is output.

7. The method according to claim 6, characterized in that Before inputting the feature data of the first to-be-detected area into the pre-trained support vector machine model, the method further includes: Construct positive samples and negative samples, wherein the positive samples are images corresponding to node devices connected to the charging and downloading integrated cabinet, and the negative samples are images corresponding to non-node devices connected to the charging and downloading integrated cabinet; The support vector machine model to be trained is trained according to the positive samples and the negative samples to obtain the pre-trained support vector machine model.

8. The method according to any one of claims 1 to 5, characterized in that: When a node device is detected, identifying a node station number corresponding to the node device based on a preset area on an outer surface of the node device includes: When a node device is detected, a preset area on the outer surface of the node device is located based on a template matching method, where the preset area is a node barcode area; Parse the node barcode content corresponding to the node barcode area to obtain the node station number corresponding to the node device.

9. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In the case where no node device is detected, performing empty interface unit detection on the target sub-image; In case an empty interface unit is detected, the position number of the empty interface unit is recorded; In the case where no empty interface unit is detected, the corresponding interface unit is identified as abnormal.

10. The method according to claim 9, characterized in that The detecting of empty interface units on the target sub-image includes: Expanding the target sub-image outward to a second preset range to obtain a second area to be detected; performing binarization processing on the second area to be detected to identify a connected domain; Determine whether the connected domain is the empty interface unit according to the characteristic parameters of the connected domain.

11. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Based on the correspondence between the area where each interface unit on the charging and downloading integrated cabinet is located and the cabinet number area, determine the cabinet number candidate area in the target image; Identify the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area; The step of associating the identified node station number with the corresponding interface unit position number to generate a corresponding association information table includes: The cabinet number, the identified node station number and the corresponding interface unit position number are associated to generate a corresponding association information table.

12. The method according to claim 11, characterized in that The step of identifying the cabinet number corresponding to the charging and downloading integrated cabinet based on the cabinet number candidate area includes: Performing grayscale processing on the cabinet number candidate area to obtain a grayscale image; Binarization is performed on the grayscale image based on the maximum inter-class variance method to obtain a binarization result image; Performing horizontal integral projection and vertical integral projection on the binarization result image, and determining the cabinet barcode area according to the horizontal integral projection result and the vertical integral projection result; Parse the cabinet barcode content in the cabinet barcode area to obtain the corresponding cabinet number.

13. The method according to any one of claims 1 to 5, characterized in that: The controlling the charging and downloading integrated cabinet to perform corresponding batch processing based on the association information table and the batch processing instruction includes: In the case where the batch processing instruction is a batch write instruction, the corresponding node station number is written into the corresponding node device through the interface unit corresponding to the interface position unit number in the association information table.

14. The method according to any one of claims 1 to 5, characterized in that: The controlling the charging and downloading integrated cabinet to perform corresponding batch processing based on the association information table and the batch processing instruction includes: In the case where the batch processing instruction is a batch verification instruction, the node station number in the node device to be verified is read through each interface unit of the charging and downloading integrated cabinet, and the node station number in the node device to be verified is verified according to the association information table.

15. A node station number batch processing device, characterized in that: include: An acquisition module is used to acquire a target image of the area where each interface unit on the charging and downloading integrated cabinet is located, and the interface unit is used to access the node device; A division module, used to divide the target image according to the arrangement rules of each interface unit, obtain a target sub-image corresponding to each interface unit, and determine the interface unit position number corresponding to the target sub-image; A detection module, used to perform node device detection on each target sub-image, and when a node device is detected, identify a node station number corresponding to the node device based on a preset area on the outer surface of the node device; A generating module, used to associate the identified node station number with the corresponding interface unit position number to generate a corresponding association information table; The processing module is used to control the charging and downloading integrated cabinet to perform corresponding batch processing based on the associated information table and the batch processing instructions.

16. A node station number batch processing device, characterized in that: include: one or more processors; A memory for storing one or more programs; An image collector is used to collect target images of the areas where the interface units of the charging and downloading integrated cabinet are located; When the one or more programs are executed by the one or more processors, the one or more processors implement the steps of the node station number batch processing method as described in any one of claims 1-14.

17. A node station number batch processing system, characterized in that: Including image acquisition equipment and node station number batch processing equipment; Among them, the image acquisition device is used to collect the target image of the area where each interface unit on the charging and downloading integrated cabinet is located, and send the target image to the node station number batch processing device, so that the node station number batch processing device can execute the steps of the node station number batch processing method as described in any one of claims 1-14.

18. A node processing system, characterized in that: It includes the node station number batch processing device as claimed in claim 16 or the node station number batch processing system as claimed in claim 17, and a charging and downloading integrated cabinet; Among them, the charging and downloading integrated cabinet is used to respond to the batch processing instructions of the node station number batch processing device or the node station number batch processing system to perform corresponding batch processing.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the node station number batch processing method as described in any one of claims 1 to 14 are implemented.