Vehicle load information acquisition method and system, matching charging integrated machine
When the charging computer cannot obtain the load information, it uses search requests and vehicle images to match the data packets in the preset storage space, and solves the problem of inefficient acquisition of load information, improves road traffic efficiency and reduces labor costs.
Patent Information
- Application Number
- CN202010591371.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-24
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2040-06-24
AI Technical Summary
When the charging computer cannot obtain the load information of the current vehicle, it is usually necessary to manually intervene in the search, resulting in inefficient search and seriously affecting the efficiency of road traffic.
By receiving a search request or search instruction, as well as the first vehicle image, traversing the preset storage space, a data packet matching the first vehicle image includes a second vehicle image acquired by the weighing detection device and corresponding load information, thereby quickly obtaining the load information of the current vehicle.
It solves the problem of inefficient searching when the paid computer cannot obtain load information, improves the efficiency of confirming vehicle load information, improves road traffic efficiency, and reduces labor costs.
Smart Images

Figure CN113836340B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to a method and system for acquiring vehicle load information, and a matching charging all-in-one machine. Background Art
[0002] With the development of the automobile industry and highway facilities, the number of cars and the volume of freight vehicles have increased dramatically, and competition among transportation companies has become increasingly fierce. In order to reduce transportation costs and increase profits, overloading and limiting the limit often occur. Overloading and limiting the limit of vehicles not only leads to traffic congestion, but also causes frequent traffic accidents, and in serious cases, causes serious damage to road infrastructure.
[0003] In the related art, the toll computer at the toll entrance matches the license plate information. If the match is successful, the current vehicle load information measured by the weighing detection equipment at the weighing entrance is obtained, and then the barrier machine is controlled to release the vehicle according to the load information. However, in the actual operation process, there are situations where the toll computer cannot obtain the current vehicle load information at the toll entrance. In this case, it is generally necessary to solve the problem by manual intervention. This processing method is inefficient and seriously affects the road traffic efficiency.
[0004] In the related technology, when the toll computer cannot obtain the current vehicle load information, it can only be searched manually, resulting in low search efficiency. No effective technical solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method and system for obtaining vehicle load information and a matching toll collection machine, so as to at least solve the problem in the related art that when the toll collection computer cannot obtain the load information of the current vehicle, the toll collection machine can only search manually, resulting in low search efficiency.
[0006] According to one embodiment of the present invention, there is provided a method for acquiring vehicle load information, comprising: receiving a search request or a search instruction, and a first vehicle image, wherein the search request or the search instruction is a request or an instruction generated by a toll collection computer when the load information of the current vehicle is abnormally acquired, and the first vehicle image is an image of the current vehicle acquired by the toll collection computer; according to the search request or the search instruction, traversing a preset storage space to acquire a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of the data packets comprising: a second vehicle image acquired by a weighing and detection device and the corresponding load information; acquiring the load information of the current vehicle according to the matching data packet.
[0007] According to another embodiment of the present invention, another method for obtaining vehicle load information is provided, including: if it is detected that the acquisition of the load information of the current vehicle is abnormal, generating a search request or a search instruction; receiving the load information returned by the target device based on the search request or the search instruction; wherein the target device executes any one of the above methods for obtaining vehicle load information to obtain the load information of the current vehicle.
[0008] According to one embodiment of the present invention, a control method for a barrier machine is also provided, comprising: generating a search request or a search instruction when an abnormality is detected in the acquisition of the load information of a current vehicle; receiving the load information returned by a target device based on the search request or the search instruction; the target device executing any of the above methods for acquiring the vehicle load information to acquire the load information of the current vehicle; and controlling the barrier machine according to the load information of the current vehicle.
[0009] According to another embodiment of the present invention, a matching toll collection machine is provided, comprising: a receiving module, used for receiving a search request and a first vehicle image, wherein the search request is a request generated by a toll collection computer when the load information of a current vehicle is abnormally obtained, and the first vehicle image is an image of the current vehicle obtained by the toll collection computer; a first acquisition module, used for traversing a preset storage space according to the search request, and obtaining a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which comprises: a second vehicle image obtained by a weighing and detection device and the corresponding load information; a second acquisition module, used for obtaining the load information of the current vehicle according to the matching data packet.
[0010] According to another embodiment of the present invention, a system for acquiring vehicle load information is provided, including: a toll computer, for generating a search request when detecting an abnormality in the acquisition of the load information of the current vehicle; a toll matching integrated machine, connected to the toll computer, for receiving the search request and a first vehicle image, and traversing a preset storage space according to the search request to acquire a data packet matching the first vehicle image; and acquiring the load information of the current vehicle according to the matched data packet, wherein the first vehicle image is an image of the current vehicle acquired by the toll computer; the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image acquired by a weighing detection device and corresponding load information.
[0011] According to another embodiment of the present invention, another vehicle load information acquisition system is provided, including: a toll computer, for generating a search instruction when detecting an abnormality in the acquisition of the load information of the current vehicle; traversing a preset storage space according to the search instruction to acquire a data packet matching a pre-acquired first vehicle image; and acquiring the load information of the current vehicle according to the matching data packet, wherein the first vehicle image is an image of the current vehicle acquired by the toll computer; the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image acquired by a weighing detection device and corresponding load information.
[0012] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.
[0013] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0014] According to the present invention, a search request or a search instruction and a first vehicle image are received, wherein the search request or the search instruction is a request or an instruction generated by a toll collection computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is the image of the current vehicle obtained by the toll collection computer; according to the search request or the search instruction, a preset storage space is traversed to obtain a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image obtained by a weighing detection device and corresponding load information; the load information of the current vehicle is obtained according to the matched data packet, that is, the data packet corresponding to the first vehicle image is found from the plurality of data packets stored in the preset storage space through the search request or the search instruction, and the second vehicle image obtained by the weighing detection device and the corresponding load information are matched with the data packet, so as to quickly obtain the load information of the current vehicle, and solve the problem in the related art that when the toll collection computer cannot obtain the load information of the current vehicle, the search can only be performed manually, resulting in low search efficiency, and the like, thereby improving the efficiency of confirming the load information of the vehicle, improving the road traffic efficiency, and reducing the labor cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0016] Figure 1 It is a hardware structure block diagram of a matching computing all-in-one machine of a method for acquiring vehicle load information according to an embodiment of the present invention;
[0017] Figure 2 is a flow chart of a method for obtaining vehicle load information according to an embodiment of the present invention (I);
[0018] Figure 3 is a flow chart (II) of a method for acquiring vehicle load information according to an embodiment of the present invention;
[0019] Figure 4 is a flow chart of a control method of a barrier machine according to an embodiment of the present invention;
[0020] Figure 5 1 is a schematic structural diagram of an entrance overload control system according to an optional embodiment of the present invention (I);
[0021] Figure 6 2 is a schematic structural diagram of an entrance overload control system according to an optional embodiment of the present invention (II);
[0022] Figure 7 A method for matching overload control vehicles at an entrance according to an optional embodiment of the present invention;
[0023] Figure 8 is a structural block diagram of a matching and charging integrated machine according to an embodiment of the present invention;
[0024] Fig. 9 is a structural schematic diagram of a vehicle load information acquisition system according to an embodiment of the present invention (I);
[0025] Fig.10 is a structural schematic diagram of a vehicle load information acquisition system according to an embodiment of the present invention (II);
[0026] Fig.11 is a structural schematic diagram of a vehicle load information acquisition system according to an embodiment of the present invention (III);
[0027] Fig.12 4 is a structural schematic diagram of a system for acquiring vehicle load information according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0030] The method embodiments provided in this application can be executed in a matching computing all-in-one machine or a similar computing device. Taking running on a matching computing all-in-one machine as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a matching computing integrated machine for a method for obtaining vehicle load information according to an embodiment of the present invention. Figure 1 As shown, the matching computing machine may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned matching computing machine. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.
[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for obtaining vehicle load information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0032] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider matching the all-in-one computer. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0033] In one of the embodiments, a method for re-acquiring information when information acquisition is abnormal is provided. The method comprises: receiving a search request / instruction, the search request / instruction being generated when information acquisition is abnormal; traversing a preset storage space according to the search request / instruction, acquiring matching data, and acquiring target data according to the matching data. Optionally, the request / instruction may be an instruction input through an interactive device, or may be generated by the device itself when information acquisition is abnormal. The method can be applied to multiple scenarios. For example, when a vehicle exits a toll gate and the toll computer acquires vehicle load information abnormally, the load information can be acquired using this method. During vehicle tracking, when vehicle identity information acquisition is abnormal, the vehicle identity information can be acquired using this method.
[0034] The following takes the abnormal acquisition of load information as an example to explain the solution in detail.
[0035] In this embodiment, a method for obtaining vehicle load information running on the above-mentioned matching computing integrated machine is provided. Figure 2 is a flow chart of a method for obtaining vehicle load information according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0036] Step S302, receiving a search request or a search instruction, and a first vehicle image, wherein the search request or the search instruction is a request or an instruction generated by the toll collection computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is an image of the current vehicle obtained by the toll collection computer;
[0037] Step S304, according to the search request or search instruction, traverse the preset storage space to obtain a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: the second vehicle image obtained by the weighing detection device and the corresponding load information;
[0038] Step S306, obtaining the load information of the current vehicle according to the matched data packet.
[0039] In this embodiment, when the toll computer obtains abnormal vehicle load information, it sends a search request to the matching computing machine or the toll computer finds the data packet corresponding to the first vehicle image from multiple data packets stored in the preset storage space according to the search instruction, and matches the second vehicle image obtained by the weighing and detection equipment and the corresponding load information with the data packet, thereby quickly obtaining the load information of the current vehicle. This solves the problem in the related art that when the toll computer cannot obtain the load information of the current vehicle, it can only search manually, resulting in low search efficiency. This improves the efficiency of confirming the vehicle's load information, improves road traffic efficiency, and reduces labor costs.
[0040] In the above step S304, there are multiple ways to obtain a data packet that matches the first vehicle image. In an optional embodiment, it can be achieved by the following scheme: select a target data packet from the data packets in the preset storage space, and obtain a second image feature corresponding to the target data packet; the second image feature is a feature extracted from the second vehicle image in the data packet; extract features from the first vehicle image to obtain the first image feature; calculate the target similarity based on the first image feature and the second image feature corresponding to the target data packet, the target similarity is the similarity between the first vehicle image and the second vehicle image in the target data packet; determine the data packet in the preset storage space that matches the first vehicle image based on the target similarity.
[0041] It should be noted that the target data packet may be any data packet in the preset storage space, or may be a target data packet preferentially selected from multiple data packets in the preset storage space according to a preset rule, which is not limited in the embodiment of the present invention.
[0042] For example, when a vehicle passes through a toll gate and exit, if the toll computer fails to successfully obtain the vehicle's load information, the toll computer will generate a search request or search instruction based on the abnormal acquisition of the vehicle's load information, and then send the search request and the first vehicle image to the matching toll machine, or the toll computer will select a target data packet corresponding to the first vehicle image from multiple vehicle data packets stored in a preset storage space based on the search instruction, and calculate the target similarity between the first image feature extracted from the first vehicle image and the second image feature extracted from the second vehicle image in the target data packet. When the target similarity is greater than a preset threshold, the corresponding load information of the vehicle can be obtained from the target data packet.
[0043] It should be noted that the target data packet may also include other descriptive information of the vehicle, and the present invention does not impose too many limitations on this.
[0044] Optionally, obtaining a second image feature corresponding to a target data packet includes: obtaining a target second vehicle image according to the target data packet; performing feature extraction on the second vehicle image to obtain a second image feature; that is, after obtaining the target data packet, extracting the target second vehicle image from the target data packet, and further performing feature extraction on the second vehicle image to generate a second image feature that can be compared with the first image feature for target similarity.
[0045] Optionally, the above method also includes: storing the second image features in correspondence with the data packets in the preset storage space. In short, in order to facilitate obtaining the data packets matching the first vehicle image when traversing the preset storage space according to a search request or a search instruction, when pre-storing the data packets, the second image features are stored in correspondence with the data packets in the preset storage space. After the data packets matching the first vehicle image are found through the search request or the search instruction, the similarity can be compared between the second image features corresponding to the data packets and the first image features.
[0046] Optionally, determining the data packet matching the first vehicle image in the preset storage space based on the target similarity includes: if the target similarity is greater than a preset threshold, taking the corresponding target data packet as the data packet matching the first vehicle image; that is, based on the target similarity comparison result of the first image feature of the first vehicle image and the second image feature corresponding to the second vehicle image in the data packet, when the target similarity is greater than the preset threshold, it can be confirmed that the data packet containing the second image feature corresponding to the second vehicle image is the target data packet matching the first vehicle image, and when the target similarity is less than the preset threshold, it can be determined that the target data packet is not the data packet matching the first vehicle image.
[0047] Optionally, if multiple target data packets are selected, the data packets matching the first vehicle image in the preset storage space are determined according to the target similarity, including: obtaining weights corresponding to each target data packet, the weights being set according to time information of the data packet; processing each target similarity according to the weights to obtain a final similarity; and determining the data packet matching the first vehicle image from multiple target data packets according to the final similarity.
[0048] In short, when there are multiple target data packets, the weight set by the time information of each target data packet can be obtained according to the time information of the target data packet in the preset storage space, and the target similarity of the comparison between the second image feature and the first image feature in the target data packet is further processed according to the weight of the target data packet to obtain the final similarity, so as to determine the target data packet matching the first vehicle image according to the final similarity result. Optionally, the process of determining the final similarity according to multiple target similarities can be to arrange the multiple target similarities in sequence according to the weight size, and select the target similarity corresponding to the largest weight from the multiple target similarities to determine the final similarity.
[0049] Optionally, the weight corresponding to each target data packet is obtained, including: determining the weight corresponding to each data packet in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, and K>0.
[0050] Optionally, the above-mentioned preset storage space utilizes a queue mechanism to manage data packets, and the above-mentioned method also includes: receiving a data packet containing a second vehicle image and corresponding load information sent by a weighing detection device; placing the data packet containing the second vehicle image and corresponding load information into a queue; selecting a target data packet from the preset storage space, including: determining the data packet at the head of the queue as the target data packet.
[0051] That is to say, since the preset storage space uses a queue mechanism to manage data packets, operations such as updating and deleting can be performed on the data packets in the preset storage space, and data packets containing the second vehicle image and corresponding load information sent by the weighing detection equipment can be received; and the data packets containing the second vehicle image and the corresponding load information can be placed in the queue. When it is necessary to determine the target data packet that matches the first vehicle image from multiple target data packets, the data packet at the head of the queue can be preferentially selected as the target data packet.
[0052] Optionally, the above-mentioned data packet also includes: a second image feature. After receiving the second vehicle image and the corresponding load information sent by the weighing detection equipment, the above-mentioned method also includes: extracting features from the received second vehicle image to obtain the second image feature; and packaging the received second vehicle image and the corresponding load information and the second image feature to obtain a data packet.
[0053] That is to say, in order to ensure the consistency of the second vehicle image, load information and second image features, the second image features extracted from the second vehicle image, the second vehicle load information sent by the weighing detection equipment, the second vehicle image and other information are packaged together to obtain a data packet that can be stored in a preset storage space.
[0054] Optionally, the method further includes: deleting data packets stored for more than a preset time period from a preset storage space, and / or deleting successfully matched data packets from the preset storage space.
[0055] Since the preset storage space utilizes a queue mechanism to manage data packets, when it is found that the storage time of data packets in the preset storage space exceeds a preset duration (for example, in an optional embodiment of the present invention, the preferred preset duration may be 2 minutes), the data packets exceeding the preset duration may be deleted from the preset storage space, and the data packets that have successfully matched the preset storage space may also be deleted, thereby ensuring the storage environment of the preset storage space.
[0056] Optionally, the above method also includes: if no data packet is matched in the preset storage space, the current vehicle is determined to be abnormal; that is, when a data packet that matches the first vehicle image cannot be traversed in the preset storage space, it means that the current vehicle is an abnormal vehicle, and an alarm message is issued in time to prompt that the vehicle is abnormal and needs further processing and viewing. The vehicle abnormality can be understood as the inability to obtain the vehicle's load information.
[0057] This embodiment also provides another method for obtaining vehicle load information, which is applied to a charging computer. Figure 3 is a flow chart of another method for obtaining vehicle load information according to an embodiment of the present invention, the process comprising the following steps:
[0058] Step S402: if it is detected that the load information of the current vehicle is abnormal, a search request or a search instruction is generated;
[0059] Step S404: receiving the load information returned by the target device based on the search request or search instruction; wherein the target device executes any of the above methods for obtaining vehicle load information to obtain the load information of the current vehicle.
[0060] Through the above steps, if it is detected that the load information of the current vehicle is abnormal, a search request or a search instruction is generated; the load information returned by the target device based on the search request or the search instruction is received; wherein the target device executes the vehicle load information acquisition method described in the above embodiment to obtain the load information of the current vehicle, which solves the problem in the related technology that when the toll computer cannot obtain the load information of the current vehicle, it can only be searched manually, resulting in low search efficiency, etc., improves the efficiency of confirming the vehicle's load information, improves road traffic efficiency, and reduces labor costs.
[0061] Optionally, the above method also includes: obtaining identity information of the current vehicle from a search request or search instruction, wherein the identity information is used to uniquely identify the current vehicle; using the identity information to obtain the load information of the current vehicle; that is, the toll computer can generate a search request or search instruction based on the vehicle's load information abnormality and obtain the identity information of the current vehicle from the first vehicle image of the vehicle, and further, the load information of the current vehicle can also be obtained by using the identity information that uniquely identifies the current vehicle.
[0062] In an optional embodiment, the above-mentioned identity recognition information may be information such as license plate information that can be used to uniquely identify a vehicle, which is not limited in this embodiment of the present invention.
[0063] In this embodiment, a control method for a barrier machine is provided. Figure 4is a flow chart of a control method of a barrier machine according to an embodiment of the present invention, the flow chart comprising the following steps:
[0064] Step S502: generating a search request or a search instruction when it is detected that the load information of the current vehicle is abnormally acquired;
[0065] Step S504: receiving the load information returned by the target device based on the search request or search instruction; the target device executes any of the above methods for obtaining vehicle load information to obtain the load information of the current vehicle; and controlling the barrier machine according to the load information of the current vehicle.
[0066] Through the above steps, when it is detected that the load information of the current vehicle is abnormal, a search request or a search instruction is generated; the load information returned by the target device based on the search request or the search instruction is received; the target device executes the vehicle load information acquisition method to acquire the load information of the current vehicle; the barrier machine is controlled according to the load information of the current vehicle, which solves the problem in the related technology that when the toll computer cannot obtain the load information of the current vehicle, the search can only be done manually, resulting in low search efficiency, etc., improves the efficiency of confirming the vehicle's load information, improves road traffic efficiency, and reduces labor costs.
[0067] In an optional embodiment, after the vehicle enters the toll entrance, the toll computer matches the first vehicle image obtained by capturing the vehicle at the toll entrance and the second vehicle image previously captured at the weighing entrance. If the match is successful, the load information obtained by the weighing detection device when weighing the vehicle at the weighing entrance can be obtained, and then the toll computer controls the barrier machine to release or prohibit the vehicle according to the load information; and when the first vehicle image and the second vehicle image fail to match, that is, the vehicle load information is obtained abnormally, the toll computer generates a search request or a search instruction and obtains the current vehicle image and uploads it to the target device (equivalent to matching the toll machine or the toll computer. When a search request is generated, the present invention focuses on the interactive process of matching the toll machine and the toll computer. When a search instruction is generated, the present invention focuses on the internal process of the toll computer itself). The target device determines the similarity between the first image feature of the first vehicle image and the second image feature of the second vehicle image, and then determines the second vehicle image that matches the first vehicle image, and then obtains the load information of the vehicle, and then the toll computer controls the barrier machine to release or prohibit the vehicle according to the load information.
[0068] It should be noted that the functions performed by the above-mentioned matching charging integrated machine can also be completely completed by the charging computer, and the embodiment of the present invention is not limited to this.
[0069] In order to better understand the process of obtaining the above vehicle load information, the following takes the entrance overload control system as an example. Figure 5 , Figure 6 , Figure 7 The implementation details of the method for acquiring vehicle load information of the disclosed embodiment of the present invention are elaborated in detail, but are not used to limit the technical solution of the embodiment of the present invention.
[0070] In an optional embodiment of the present invention, an entrance overload control system is provided, such as Figure 5 As shown, it includes: an over-limit detection subsystem 502 and a charging subsystem 504; the over-limit detection subsystem includes a weighing device 52, a second image acquisition device 54, and an over-limit detection computer 56; the charging subsystem includes a first image acquisition device 58, a barrier machine 62, and a charging computer 60.
[0071] The weighing device 52 (equivalent to the weighing detection equipment in the above embodiment) is used to detect vehicle passing signals and output vehicle weighing information, and is connected to the over-limit detection computer to send the vehicle weighing information (equivalent to the load information in the above embodiment) results to the over-limit detection computer (equivalent to the target device in the above embodiment).
[0072] The second image acquisition device 54 is used to capture the vehicle, output second vehicle image information, and connect to the overload detection computer to send the second vehicle image information to the overload detection computer.
[0073] The over-limit detection computer 56 is used to receive the vehicle weighing information and the second vehicle image information and match and bind them, and output vehicle matching data (equivalent to the data packet of the above embodiment), including the matched vehicle weighing information, the second license plate information, and the second vehicle image information.
[0074] The first image acquisition and recognition device 58 is used to capture the vehicle, output the first vehicle image information and send it to the toll collection computer at the same time.
[0075] The charging computer 60 is used to receive the first vehicle image information and the vehicle matching data output by the overload detection computer. Furthermore, the license plate information can be used for comparison. If a matching license plate is found, the barrier machine is controlled according to the comparison result information; if a matching license plate is not found, the second vehicle image information and the first vehicle image information are feature extracted, the second vehicle image information features and the first image information features are output, and the first vehicle image features are searched and compared with the second vehicle image features, and the barrier machine is controlled according to the comparison result information; the specific feature comparison process in the optional embodiment of the present invention can be understood as: according to comparing the target similarity between the first image feature of the first vehicle image and the second image feature corresponding to the second vehicle image in the vehicle matching data, when the target similarity is greater than a preset threshold, it can be confirmed that the vehicle matching data containing the second image feature corresponding to the second vehicle image is the target vehicle matching data matching the first vehicle image; when the target similarity is less than the preset threshold, it can be determined that the target vehicle matching data is not the vehicle matching data matching the first vehicle image.
[0076] The barrier machine 62 is used to lift the barrier to allow passage or lower the barrier to prohibit passage.
[0077] The optional embodiment of the present invention also provides another entrance overload control system, such as Figure 6 As shown, the composition is as follows: it includes an over-limit detection subsystem 502 and a charging subsystem 504; the over-limit detection subsystem 502 includes a weighing device 52, a second image acquisition device 54, and an over-limit detection computer 56; the charging subsystem 504 includes a first image acquisition device 58, a barrier machine 62, a charging computer 60, and a matching computing all-in-one machine 64.
[0078] The weighing device 52 is connected to the over-limit detection computer 56 for detecting vehicle passing signals and outputting vehicle weighing information, and sending the weighing information results to the over-limit detection computer.
[0079] The second image acquisition device 54 is connected to the over-limit detection computer 56 to capture the vehicle, output second vehicle image information, and send the second vehicle image information to the over-limit detection computer.
[0080] The over-limit detection computer 56 is connected to the weighing device 52, the second image acquisition device 54, and the charging computer 60, and is used to receive the vehicle weighing information and the second vehicle image information, and match and bind them, and output vehicle matching data, including the matched vehicle weighing information, the second license plate information, and the second vehicle image information; the first image acquisition and recognition device is connected to the charging computer, and is used to capture the vehicle, output the first vehicle image information and send it to the charging computer at the same time.
[0081] The barrier machine 62 is connected to the toll computer 60 and is used to lift the barrier to allow passage or lower the barrier to prohibit passage.
[0082] The charging computer 60 is connected to the first image acquisition device 58, the barrier machine 62, and the over-limit detection computer 56, so that the charging computer can receive the first vehicle image information and the vehicle matching data output by the over-limit detection computer, and search and compare the first vehicle image information with the vehicle matching data. If the comparison is successful, the barrier machine is controlled according to the comparison result information. If the comparison fails, the first vehicle image information is output to the matching calculation integrated machine (equivalent to the matching charging integrated machine in the above embodiment).
[0083] The matching computing all-in-one machine 64 is connected to the over-limit detection computer 56 and the charging computer 60, and is used to receive the second vehicle image information of the over-limit detection computer and the first vehicle image information of the charging computer, and perform feature extraction on the second vehicle image information and the first vehicle image information, compare and match the second vehicle image information corresponding to the first vehicle image information, and send the matching result to the charging computer; the charging computer controls the barrier machine according to the matching result of the matching computing all-in-one machine. Optionally, the comparison result after feature extraction of the second vehicle image information and the first vehicle image information is as follows: by comparing the target similarity of the first image feature of the first vehicle image with the second image feature corresponding to the second vehicle image corresponding to the vehicle matching data, when the target similarity is greater than a preset threshold, it can be confirmed that the vehicle matching data containing the second image feature corresponding to the second vehicle image is the target vehicle matching data matched with the first vehicle image; when the target similarity is less than the preset threshold, it can be determined that the target vehicle matching data is not the vehicle matching data matched with the first vehicle image.
[0084] It should be noted that the matching computing integrated machine 64 may also control the barrier machine according to the matching result, and this embodiment of the present invention is not limited to this.
[0085] An optional embodiment of the present invention also provides a method for matching overload vehicles at an entrance, such as Figure 7 As shown, the specific steps are as follows:
[0086] Step S1: Obtain the weight information of the matched vehicle (equivalent to the load information in the above embodiment, which can also be understood as the vehicle weighing information in the above embodiment) and the second vehicle image information, and put the weight information and the second vehicle image information into a queue to be matched, wherein the second vehicle image information includes the original image and the second license plate information;
[0087] Step S2: Acquire first vehicle image information, where the first vehicle image information includes an original image and first license plate information;
[0088] Step S3: traverse the second license plate information of the vehicle in the to-be-matched queue (equivalent to the preset storage space in the above embodiment) to find the second license plate information matching the first license plate information of the vehicle. If the second license plate information matching the first license plate information is found, the search is successful, and step S5 is executed. If the search is unsuccessful, step S4 is executed.
[0089] Step S4: extracting features from each second vehicle image information in the queue to be matched to obtain second vehicle image feature information (equivalent to the second image feature in the above embodiment), and putting the information into the queue to be matched. If the second vehicle image feature information already exists in the queue, it is not necessary to extract it again in order to save the operation process. If the second license plate information matching the first license plate information is not found, the first vehicle image feature is compared with the second vehicle image feature in the queue to be matched (i.e., distance calculation). Specifically, extracting features from the first vehicle image information to obtain the first vehicle image feature information (equivalent to the first image feature in the above embodiment), and calculating the distance with the unmatched second vehicle image feature to search for the second vehicle image feature information that is closest to the first vehicle image feature information and greater than the distance threshold. The above distance calculation process can be understood as the target similarity determination process in the above embodiment.
[0090] Step S5: Use the weight information of the successfully matched vehicle as a basis for judging whether to release or prohibit the vehicle, and delete the successfully matched second vehicle image information, second license plate information, and second vehicle feature information from the queue to be matched. If the match fails, it will prompt that the vehicle has obtained abnormal weight information.
[0091] It should be noted that in step S3, in order to reduce the search range and improve the search accuracy, a fixed threshold can be set for the time range of license plate information matching and vehicle image feature comparison, and then the image feature search is performed within a range of at least M minutes to improve the search efficiency. M can be determined based on the distance from the vehicle weighing device to the toll computer, the number of truck toll gates at the road entrance (each toll gate is equipped with a toll computer), etc. Optionally, M can be any value from 1 to 15, for example, M can be 2 minutes.
[0092] Optionally, the time weight information of the vehicles in the queue to be matched can also be added when performing the distance calculation in step S4. For example, the weight of the Ith vehicle in the queue to be matched is (NI) / K, N is the total number of queues to be matched that can be stored in the preset storage space, K is the weight adjustment coefficient, K>0, N>0, and the information in the queue to be matched is sorted according to the time of generation, and the earliest generated vehicle information is numbered 1, and so on.
[0093] It should be noted that, in an optional embodiment of the present invention, part of the image features are obtained by training a neural network using historical sample data, and part of them are obtained by calculating image invariant moments. The above two features are integrated to match vehicle images and increase the matching success rate; comparison of vehicle image features: the method of comparing the distance between features adopts one or more of the following evaluation methods: Euclidean distance, Mahalanobis distance, Chebyshev distance, Manhattan distance, Minkowski distance, cosine distance, Hamming distance, Jaccard distance / Jaccard coefficient, correlation distance / correlation coefficient, and information entropy.
[0094] In summary, through the optional embodiments of the present invention, in the entrance overload control system, through the method of image search, using image feature matching and considering the time series characteristics of the entrance overload control, the weight of time is added to the vehicle image matching, thereby increasing the accuracy of vehicle image matching, solving the problem of inability to obtain vehicle weight information due to license plate recognition errors, and replacing the manual comparison method to make the vehicle matching method process efficient and highly accurate, reducing excessive manual operations, improving traffic efficiency, and reducing labor costs. At the same time, the optional embodiments of the present invention can be modified on the basis of the existing system, so that the original system components are maximized and the modification cost is reduced.
[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0096] In this embodiment, a matching charging integrated machine is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0097] Figure 8 is a structural block diagram of a matching charging integrated machine according to an embodiment of the present invention. Figure 8 As shown, the device comprises:
[0098] (1) a receiving module 82, configured to receive a search request and a first vehicle image, wherein the search request is a request generated by the toll collection computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is an image of the current vehicle obtained by the toll collection computer;
[0099] (2) a first acquisition module 84, configured to traverse a preset storage space according to the search request to acquire a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image acquired by a weighing detection device and corresponding load information;
[0100] (3) A second acquisition module 86, used to acquire the load information of the current vehicle according to the matched data packet.
[0101] Through the above-mentioned device, a search request and a first vehicle image are received, wherein the search request is a request generated by the toll computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is the image of the current vehicle obtained by the toll computer; according to the search request, the preset storage space is traversed to obtain a data packet matching the first vehicle image; wherein the preset storage space stores multiple data packets, each data packet includes: a second vehicle image obtained by a weighing and detection device and corresponding load information; the load information of the current vehicle is obtained according to the matched data packet, that is, the data packet corresponding to the first vehicle image is found from multiple data packets stored in the preset storage space through a search request, and the second vehicle image obtained by the weighing and detection device and the corresponding load information are matched with the data packet, so as to quickly obtain the load information of the current vehicle, which solves the problem in the related art that when the toll computer cannot obtain the load information of the current vehicle, it can only be searched manually, resulting in low search efficiency, etc., improves the efficiency of confirming the vehicle's load information, improves road traffic efficiency, and reduces labor costs.
[0102] Optionally, the first acquisition module is also used to select a target data packet from the data packets in the preset storage space, and obtain a second image feature corresponding to the target data packet; the second image feature is a feature extracted from the second vehicle image in the data packet; feature extraction is performed on the first vehicle image to obtain the first image feature; target similarity is calculated based on the first image feature and the second image feature corresponding to the target data packet, the target similarity is the similarity between the first vehicle image and the second vehicle image in the target data packet; and a data packet in the preset storage space that matches the first vehicle image is determined based on the target similarity.
[0103] It should be noted that the target data packet may be any data packet in the preset storage space, or may be a target data packet preferentially selected from multiple data packets in the preset storage space according to a preset rule, which is not limited in the embodiment of the present invention.
[0104] For example, when a vehicle passes through a toll gate and exit, if the toll computer fails to successfully obtain the vehicle's load information, the toll computer will generate a search request based on the abnormality in obtaining the vehicle's load information, and then send the search request and the first vehicle image to the matching toll collection machine, and then select a target data packet corresponding to the first vehicle image from the data packets of multiple vehicles stored in the preset storage space, and calculate the target similarity between the first image feature extracted from the first vehicle image and the second image feature extracted from the second vehicle image in the target data packet. When the target similarity is greater than a preset threshold, the corresponding load information of the vehicle can be obtained from the target data packet.
[0105] It should be noted that the target data packet may also include other descriptive information of the vehicle, and the present invention does not impose too many limitations on this.
[0106] Optionally, the first acquisition module is also used to acquire a target second vehicle image based on the target data packet; perform feature extraction on the second vehicle image to obtain second image features; that is, after acquiring the target data packet, extract the target second vehicle image from the target data packet, and further perform feature extraction on the second vehicle image to generate second image features that can be compared with the first image features for target similarity.
[0107] Optionally, the first acquisition module is also used to, when the target similarity is greater than a preset threshold, use the corresponding target data packet as a data packet matching the first vehicle image; that is, based on the target similarity comparison result between the first image feature of the first vehicle image and the second image feature corresponding to the second vehicle image in the data packet, when the target similarity is greater than the preset threshold, it can be confirmed that the data packet containing the second image feature corresponding to the second vehicle image is the target data packet matching the first vehicle image, and when the target similarity is less than the preset threshold, it can be determined that the target data packet is not a data packet matching the first vehicle image.
[0108] Optionally, the first acquisition module is also used to obtain weights corresponding to each target data packet, where the weights are set according to the time information of the data packet; use the weights to process each target similarity to obtain a final similarity; and determine a data packet that matches the first vehicle image from multiple target data packets based on the final similarity.
[0109] In short, when there are multiple target data packets, the weight set by the time information of each target data packet can be obtained according to the time information of the target data packet in the preset storage space, and the target similarity of the comparison between the second image feature and the first image feature in the target data packet is further processed according to the weight of the target data packet to obtain the final similarity, so as to determine the target data packet matching the first vehicle image according to the final similarity result. Optionally, the process of determining the final similarity according to multiple target similarities can be to arrange the multiple target similarities in sequence according to the weight size, and select the target similarity corresponding to the largest weight from the multiple target similarities to determine the final similarity.
[0110] Optionally, a queue module is used to receive a data packet containing a second vehicle image and corresponding load information sent by a weighing and detection device; put the data packet containing the second vehicle image and corresponding load information into a queue; and select a target data packet from a preset storage space, including: determining the data packet at the head of the queue as the target data packet.
[0111] That is to say, since the preset storage space uses a queue mechanism to manage data packets, operations such as updating and deleting can be performed on the data packets in the preset storage space, and data packets containing the second vehicle image and corresponding load information sent by the weighing and detection equipment can be received; and the data packets containing the second vehicle image and the corresponding load information can be placed in the queue. When it is necessary to determine the target data packet that matches the first vehicle image from multiple target data packets, the data packet at the head of the queue can be preferentially selected as the target data packet.
[0112] Optionally, the packaging module is used to extract features from the received second vehicle image to obtain second image features; and to package the received second vehicle image and the corresponding load information and the second image features to obtain a data packet.
[0113] That is to say, in order to ensure the consistency of the second vehicle image, load information and second image features, the second image features extracted from the second vehicle image, the second vehicle load information sent by the weighing detection equipment, the second vehicle image and other information are packaged together to obtain a data packet that can be stored in a preset storage space.
[0114] Optionally, the deleting module is used to delete data packets that have been stored for more than a preset time period from a preset storage space, and / or to delete data packets that have been successfully matched from the preset storage space.
[0115] Since the preset storage space utilizes a queue mechanism to manage data packets, when it is found that the storage time of data packets in the preset storage space exceeds a preset duration (for example, in an optional embodiment of the present invention, the preferred preset duration may be 2 minutes), the data packets exceeding the preset duration may be deleted from the preset storage space, and the data packets successfully matched in the preset storage space may also be deleted, thereby ensuring the storage environment of the preset storage space.
[0116] Optionally, the abnormal module is used to determine that the current vehicle is abnormal if no data packet is matched in the preset storage space.
[0117] That is to say, when a data packet that matches the first vehicle image cannot be traversed within the preset storage space, it indicates that the current vehicle is an abnormal vehicle, and an alarm message is issued in a timely manner to indicate that the vehicle is abnormal and requires further processing and review. The vehicle abnormality can be understood as the inability to obtain the vehicle's load information.
[0118] Fig. 9 1 is a schematic diagram of the structure of a vehicle load information acquisition system according to an embodiment of the present invention (I), Fig. 9 As shown, the system includes: a charging computer 22, a charging matching integrated machine 24;
[0119] The charging computer 22 is used to generate a search request when it is detected that the load information of the current vehicle is abnormal;
[0120] The toll matching integrated machine 24 is connected to the toll computer, and is used to receive the search request and the first vehicle image, and traverse the preset storage space according to the search request to obtain the data packet matching the first vehicle image; and obtain the load information of the current vehicle according to the matching data packet, wherein the first vehicle image is the image of the current vehicle obtained by the toll computer; the preset storage space stores multiple data packets, each of which includes: the second vehicle image obtained by the weighing detection equipment and the corresponding load information.
[0121] Through the above technical solution, when it is detected that the load information of the current vehicle is abnormally obtained, a search request is generated; the search request and the first vehicle image are received, and according to the search request, the preset storage space is traversed to obtain a data packet matching the first vehicle image; and the load information of the current vehicle is obtained according to the matched data packet, wherein the first vehicle image is the image of the current vehicle obtained by the toll computer; the preset storage space stores multiple data packets, each of which includes: a second vehicle image obtained by the weighing detection device and the corresponding load information, that is, the data packet corresponding to the first vehicle image is found from the multiple data packets stored in the preset storage space through the search request, and the second vehicle image obtained by the weighing detection device and the corresponding load information are matched with the data packet, so as to quickly obtain the load information of the current vehicle, which solves the problem in the related art that when the toll computer cannot obtain the load information of the current vehicle, it can only be searched manually, resulting in low search efficiency, etc., improves the efficiency of confirming the vehicle's load information, improves road traffic efficiency, and reduces labor costs.
[0122] Fig.10 The figure shows a schematic diagram of the structure of a vehicle load information acquisition system according to an embodiment of the present invention (II), wherein the system further comprises: a barrier machine 26, wherein the charging matching integrated machine is used to send control information to the barrier machine according to the load information; the barrier machine is used to determine whether the current vehicle is allowed to travel out of the target area according to the control information.
[0123] Optionally, the above-mentioned matching and computing integrated machine is also used to select a target data packet from the data packets in a preset storage space, and obtain a second image feature corresponding to the target data packet; the second image feature is a feature extracted from the second vehicle image in the data packet; feature extraction is performed on the first vehicle image to obtain the first image feature; target similarity is calculated based on the first image feature and the second image feature corresponding to the target data packet, and the target similarity is the similarity between the first vehicle image and the second vehicle image in the target data packet; and the data packet in the preset storage space that matches the first vehicle image is determined based on the target similarity.
[0124] Optionally, the above-mentioned matching computing integrated machine is also used to obtain a target second vehicle image according to the target data packet; and perform feature extraction on the second vehicle image to obtain second image features.
[0125] Optionally, the above-mentioned matching computing integrated machine is also used to store the second image feature in correspondence with the data packet in the preset storage space.
[0126] Optionally, the above-mentioned matching computing integrated machine is also used to use the corresponding target data packet as a data packet matching the first vehicle image if the target similarity is greater than a preset threshold.
[0127] Optionally, the above-mentioned matching and computing integrated machine is also used to obtain weights corresponding to each target data packet, and the weights are set according to the time information of the data packet; use the weights to process each target similarity to obtain a final similarity; and determine a data packet that matches the first vehicle image from multiple target data packets based on the final similarity.
[0128] Optionally, the above-mentioned matching computing integrated machine is also used to determine the weight corresponding to each data packet in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, and K>0.
[0129] Optionally, the above-mentioned matching computing integrated machine is also used to receive a data packet containing a second vehicle image and corresponding load information sent by a weighing and detection device; put the data packet containing the second vehicle image and corresponding load information into a queue; select a target data packet from a preset storage space, including: determining the data packet at the head of the queue as the target data packet.
[0130] Optionally, the above-mentioned matching computing integrated machine is also used to extract features from the received second vehicle image to obtain second image features; and to package the received second vehicle image and the corresponding load information and second image features to obtain a data packet.
[0131] Optionally, the above-mentioned matching and computing integrated machine is also used to delete data packets that have been stored for more than a preset time period from a preset storage space, and / or delete successfully matched data packets from the preset storage space.
[0132] Optionally, the above-mentioned matching and computing integrated machine is also used to determine that the current vehicle is abnormal if no data packet is matched in the preset storage space.
[0133] Fig.11 3 is a structural diagram of a vehicle load information acquisition system according to an embodiment of the present invention, such as Fig.11 As shown, the system includes: a charging computer 22;
[0134] The charging computer 22 is used to generate a search instruction when it detects that the load information of the current vehicle is abnormal, and traverse the preset storage space according to the search instruction to obtain a data packet matching the pre-acquired first vehicle image; and obtain the load information of the current vehicle according to the matching data packet, wherein the first vehicle image is the image of the current vehicle acquired by the charging computer; the preset storage space stores multiple data packets, each of which includes: a second vehicle image acquired by the weighing detection equipment and the corresponding load information.
[0135] Through the above technical solution, when the toll computer detects that the load information of the current vehicle is abnormally obtained, it generates a search instruction, and according to the search instruction, it traverses the preset storage space to obtain a data packet matching the pre-acquired first vehicle image; and obtains the load information of the current vehicle according to the matched data packet, wherein the first vehicle image is the image of the current vehicle obtained by the toll computer; the preset storage space stores multiple data packets, each of which includes: a second vehicle image obtained by the weighing detection device and the corresponding load information, that is, the data packet corresponding to the first vehicle image is found from the multiple data packets stored in the preset storage space through the search instruction, and the second vehicle image obtained by the weighing detection device and the corresponding load information are matched with the data packet, so as to quickly obtain the load information of the current vehicle, which solves the problem in the related art that when the toll computer cannot obtain the load information of the current vehicle, it can only search manually, resulting in low search efficiency, etc., improves the efficiency of confirming the vehicle's load information, improves road traffic efficiency, and reduces labor costs.
[0136] Fig.12 The figure is a schematic diagram of the structure of a vehicle load information acquisition system according to an embodiment of the present invention (IV), the system also includes: a barrier machine 26, wherein the charging computer is used to send control information to the barrier machine according to the load information; the barrier machine is used to determine whether the current vehicle is allowed to travel out of the target area according to the control information.
[0137] Optionally, the charging computer is further used to select a target data packet from the data packets in a preset storage space, and obtain a second image feature corresponding to the target data packet; the second image feature is a feature extracted from the second vehicle image in the data packet; feature extraction is performed on the first vehicle image to obtain the first image feature; target similarity is calculated based on the first image feature and the second image feature corresponding to the target data packet, the target similarity is the similarity between the first vehicle image and the second vehicle image in the target data packet; and a data packet in the preset storage space that matches the first vehicle image is determined based on the target similarity.
[0138] Optionally, the charging computer is further used to obtain a target second vehicle image according to the target data packet; and perform feature extraction on the second vehicle image to obtain second image features.
[0139] Optionally, the charging computer is further used to store the second image feature in correspondence with the data packet in a preset storage space.
[0140] Optionally, the charging computer is further configured to use the corresponding target data packet as a data packet matching the first vehicle image if the target similarity is greater than a preset threshold.
[0141] Optionally, the charging computer is further used to obtain weights corresponding to each target data packet, where the weights are set according to the time information of the data packet; use the weights to process each target similarity to obtain a final similarity; and determine a data packet that matches the first vehicle image from multiple target data packets based on the final similarity.
[0142] Optionally, the above-mentioned charging computer is also used to determine the weight corresponding to each data packet in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, and K>0.
[0143] Optionally, the above-mentioned charging computer is also used to receive a data packet containing a second vehicle image and corresponding load information sent by a weighing and detection device; put the data packet containing the second vehicle image and corresponding load information into a queue; select a target data packet from a preset storage space, including: determining the data packet at the head of the queue as the target data packet.
[0144] Optionally, the charging computer is further used to extract features from the received second vehicle image to obtain second image features; and to package the received second vehicle image and the corresponding load information and second image features to obtain a data packet.
[0145] Optionally, the charging computer is further configured to delete data packets that have been stored for longer than a preset time from a preset storage space, and / or delete data packets that have been successfully matched from the preset storage space.
[0146] Optionally, the charging computer is further used to determine that the current vehicle is abnormal if no data packet is matched in the preset storage space.
[0147] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0148] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0149] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0150] S1, receiving a search request or a search instruction, and a first vehicle image, wherein the search request or the search instruction is a request or an instruction generated by a toll collection computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is an image of the current vehicle obtained by the toll collection computer;
[0151] S2, according to the search request or search instruction, traverse the preset storage space to obtain a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image obtained by a weighing detection device and corresponding load information;
[0152] S3, obtaining the load information of the current vehicle according to the matched data packet.
[0153] Optionally, in this embodiment, the storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0154] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0155] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0156] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0157] S1, receiving a search request or a search instruction, and a first vehicle image, wherein the search request or the search instruction is a request or an instruction generated by a toll collection computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is an image of the current vehicle obtained by the toll collection computer;
[0158] S2, according to the search request or search instruction, traverse the preset storage space to obtain a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image obtained by a weighing detection device and corresponding load information;
[0159] S3, obtaining the load information of the current vehicle according to the matched data packet.
[0160] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0161] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0162] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for obtaining vehicle load information, characterized in that: include: Receiving a search request or a search instruction, and a first vehicle image, wherein the search request or the search instruction is a request or an instruction generated by the toll collection computer when the load information of the current vehicle is abnormally obtained, and the first vehicle image is an image of the current vehicle obtained by the toll collection computer; According to the search request or search instruction, traverse the preset storage space to obtain a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image obtained by a weighing detection device and corresponding load information; Acquiring the load information of the current vehicle according to the matched data packet; Wherein, the obtaining of the data packet matching the first vehicle image comprises: when it is determined that there are multiple target data packets matching the first vehicle image, obtaining weights corresponding to the respective target data packets, wherein the weights are set according to time information of the data packets; wherein the weights corresponding to the respective data packets are determined in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein the multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, and K>0; The weights are used to process the similarities of each target to obtain a final similarity; A data packet matching the first vehicle image is determined from the multiple target data packets according to the final similarity.
2. The method according to claim 1, characterized in that: According to the search request or the search instruction, traversing a preset storage space to obtain a data packet matching the first vehicle image includes: Select a target data packet from the data packets in the preset storage space, and obtain a second image feature corresponding to the target data packet; the second image feature is a feature extracted from the second vehicle image in the data packet; Performing feature extraction on the first vehicle image to obtain a first image feature; Calculating target similarity based on the first image feature and the second image feature corresponding to the target data packet, the target similarity being the similarity between the first vehicle image and the second vehicle image in the target data packet; Determining a data packet in the preset storage space that matches the first vehicle image according to the target similarity; Preferably, obtaining a second image feature corresponding to the target data packet includes: Acquire a target second vehicle image according to the target data packet; performing feature extraction on the second vehicle image to obtain second image features; Preferably, the method further comprises: storing the second image feature in correspondence with the data packet in the preset storage space; Preferably, determining the data packet in the preset storage space that matches the first vehicle image according to the target similarity includes: If the target similarity is greater than a preset threshold, the corresponding target data packet is used as a data packet matching the first vehicle image.
3. The method according to claim 2, characterized in that The preset storage space manages the data packets using a queue mechanism, and the method further includes: receiving a data packet including a second vehicle image and corresponding load information sent by a weighing detection device; placing the data packet including the second vehicle image and corresponding load information into a queue; Selecting a target data packet from the preset storage space includes: Determine the data packet at the head of the queue as the target data packet; Preferably, the data packet further includes: a second image feature, and after receiving the second vehicle image and corresponding load information sent by the weighing detection device, the method further includes: Performing feature extraction on the received second vehicle image to obtain second image features; Packing the received second vehicle image and the corresponding load information and second image features to obtain the data packet; Preferably, the method further comprises: deleting data packets stored for more than a preset time from the preset storage space, and / or deleting successfully matched data packets from the preset storage space; Preferably, the method further comprises: if no data packet is matched in the preset storage space, determining that the current vehicle is abnormal.
4. A method for obtaining vehicle load information, characterized in that: include: If it is detected that the load information of the current vehicle is abnormally obtained, a search request or a search instruction is generated; Receive the load information returned by the target device based on the search request or search instruction; wherein the target device executes the vehicle load information acquisition method as described in claims 1-3 to acquire the load information of the current vehicle.
5. The method for obtaining vehicle load information according to claim 4, characterized in that: The method further comprises: Acquire the identity information of the current vehicle from the search request or the search instruction, wherein the identity information is used to uniquely identify the current vehicle; The load information of the current vehicle is obtained by using the identity recognition information.
6. A control method for a barrier machine, characterized in that: The method comprises: When it is detected that the load information of the current vehicle is abnormally acquired, a search request or a search instruction is generated; Receiving the load information returned by the target device based on the search request or search instruction; the target device executes the vehicle load information acquisition method according to claims 1-3 to acquire the load information of the current vehicle; The barrier machine is controlled according to the load information of the current vehicle.
7. A matching charging integrated machine, characterized in that: include: A receiving module, configured to receive a search request and a first vehicle image, wherein the search request is a request generated by a charging computer when the load information of a current vehicle is abnormally acquired, and the first vehicle image is an image of the current vehicle acquired by the charging computer; A first acquisition module is used to traverse a preset storage space according to the search request to acquire a data packet matching the first vehicle image; wherein the preset storage space stores a plurality of data packets, each of which includes: a second vehicle image acquired by a weighing detection device and corresponding load information; A second acquisition module, used for acquiring the load information of the current vehicle according to the matched data packet; The first acquisition module is also used to obtain the weights corresponding to each target data packet when it is determined that there are multiple target data packets matching the first vehicle image, and the weights are set according to the time information of the data packets; wherein the weights corresponding to the each data packet are determined in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein the multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, K>0; each target similarity is processed using the weights to obtain a final similarity; and a data packet matching the first vehicle image is determined from the multiple target data packets according to the final similarity.
8. A vehicle load information acquisition system, characterized in that: include: A charging computer, used for generating a search request when detecting that the load information acquisition of the current vehicle is abnormal; A charging matching integrated machine, connected to the charging computer, for receiving the search request and the first vehicle image, and traversing a preset storage space according to the search request to obtain a data packet matching the first vehicle image; and obtaining the load information of the current vehicle according to the matched data packet, wherein the first vehicle image is the image of the current vehicle obtained by the toll collection computer; the preset storage space stores a plurality of data packets, each of which includes: the second vehicle image obtained by the weighing detection device and the corresponding load information; The charging matching integrated machine is also used to obtain the weight corresponding to each target data packet when it is determined that there are multiple target data packets matching the first vehicle image, and the weight is set according to the time information of the data packet; wherein the weight corresponding to each data packet is determined in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein the multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, K>0; each target similarity is processed using the weight to obtain a final similarity; and a data packet matching the first vehicle image is determined from the multiple target data packets according to the final similarity.
9. The vehicle load information acquisition system according to claim 8, characterized in that: The system further comprises: a barrier machine, wherein the charging matching integrated machine is used to send control information to the barrier machine according to the load information; The barrier machine is used to determine whether to allow the current vehicle to drive out of the target area according to the control information.
10. A vehicle load information acquisition system, characterized in that: include: The charging computer is used to generate a search instruction when detecting that the load information of the current vehicle is abnormally acquired, and traverse the preset storage space according to the search instruction to acquire a data packet matching the pre-acquired first vehicle image; and obtaining the load information of the current vehicle according to the matched data packet, wherein the first vehicle image is the image of the current vehicle obtained by the toll collection computer; the preset storage space stores a plurality of data packets, each of which includes: the second vehicle image obtained by the weighing detection device and the corresponding load information; Wherein, the obtaining of the data packet matching the first vehicle image comprises: when it is determined that there are multiple target data packets matching the first vehicle image, obtaining weights corresponding to the respective target data packets, wherein the weights are set according to time information of the data packets; wherein the weights corresponding to the respective data packets are determined in the following manner: the weight of the Ith data packet in the preset storage space is (NI) / K, wherein the multiple data packets are arranged in chronological order in the preset storage space, N is the total number of data packets in the preset storage space, K is the weight adjustment coefficient, and K>0; The weights are used to process the similarities of each target to obtain a final similarity; A data packet matching the first vehicle image is determined from the multiple target data packets according to the final similarity.
Citation Information
Patent Citations
Highway toll station vehicle management server, system and method
CN107146292A
Highway non-stop electronic toll collection method and system
CN109754475A