Method, device and readable storage medium for identifying road sections passed by vehicles
By obtaining identifiers from readers and recording vehicle timestamps, the method of identifying vehicle passage segments solves the problem of RFID blind spot identification and achieves accurate vehicle passage identification.
Patent Information
- Application Number
- CN202210172642.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2042-02-24
AI Technical Summary
Existing RFID technology is prone to blind spots in vehicle identification, making it impossible to identify whether a vehicle is passing through a road segment or is located in a blind spot, and the signal cannot be transmitted normally.
By obtaining the identifier from the first message from the reader, the vehicle's time and blind spot duration are recorded. The time difference is used to identify whether the vehicle has passed through the road segment, including updating and creating records, and adjusting the blind spot duration to cope with environmental changes.
It effectively identifies whether a vehicle has successfully passed through a road segment, reduces misjudgments in blind spot recognition, and improves recognition accuracy.
Smart Images

Figure CN114611643B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of traffic technology, and in particular to a method, a device and a readable storage medium for identifying a road section through which a vehicle passes. Background Art
[0002] At present, RFID-related technologies are mainly used to identify vehicles. RFID base stations transmit RFID instructions of specific frequencies to a certain area, receive the electronic codes and user information stored in the RFID tags in the area, and transmit them to the application system to obtain the traffic conditions of each vehicle. However, the direct waves emitted by the RFID base station may be reflected to form reflected waves due to the influence of the environment. When the reflected waves are in opposite phases to the direct waves, the RFID black hole phenomenon will occur, that is, the direct waves and reflected waves cancel each other out, resulting in the signal being unable to be transmitted to the RFID tag normally or the RFID tag being unable to be fed back to the base station normally. At this time, the RFID will have a blind spot and cannot identify whether the vehicle has passed through the area or is in the blind spot. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the embodiments of the present invention provide a method, device and readable storage medium for identifying a road section through which a vehicle has passed, so as to identify a road section through which a vehicle has successfully passed.
[0004] On the one hand, an embodiment of the present invention provides a method for identifying a road section through which a vehicle passes, comprising: obtaining a first message from a reader / writer, obtaining a first identifier in the first message, wherein the first message is information fed back by a vehicle tag after receiving an identification signal sent by the reader / writer, and the first identifier is used to determine the corresponding vehicle tag; obtaining a corresponding first record according to the first identifier, wherein the first record comprises: a first moment, used to characterize the moment when the reader / writer obtains the first message each time; a second moment, used to characterize the moment when the reader / writer last obtained the first message; a second identifier, used to characterize the reader / writer that receives the first message; obtaining a first time difference through the second moment and the current moment, and obtaining a first blind zone duration of the reader / writer through the second identifier; identifying the road section through which the vehicle passes by determining the size of the first time difference and the first blind zone duration.
[0005] The method for identifying a road section through which a vehicle passes according to an embodiment of the present invention has at least the following beneficial effects: by obtaining a first identifier in a first message from a reader / writer, using the first identifier to obtain a first record, determining the first time difference and the first blind spot duration according to the first record to identify the road section through which the vehicle passes, and judging whether the vehicle is in a blind spot or has successfully left the road section where the reader / writer sends a signal by the time difference when the first message cannot be received.
[0006] According to some embodiments of the present invention, obtaining the corresponding first record based on the first identifier includes at least one of the following steps: determining that the first record corresponding to the first identifier exists, then updating the original first record; or determining that the first record corresponding to the first identifier does not exist, then creating a new first record.
[0007] According to some embodiments of the present invention, updating the original first record includes: storing the first message in the corresponding first record; recording the moment when the reader obtains the first message, and adding it to the first moment; modifying the value of the second moment to the moment when the reader obtains the first message.
[0008] According to some embodiments of the present invention, obtaining the first blind spot duration of the reader / writer through the second identifier includes: determining the reader / writer that receives the first message through the second identifier, and determining the second blind spot duration based on the reader / writer; obtaining the first blind spot duration through the second blind spot duration and a first error, wherein the first error represents the error between the actual time required for the vehicle to pass through the blind spot and the second blind spot duration.
[0009] According to some embodiments of the present invention, obtaining the second blind spot duration includes the following steps: obtaining a second time difference through two adjacent first moments; if it is determined that the second time difference is greater than the second blind spot duration, adjusting the value of the second blind spot duration to the value of the second time difference.
[0010] According to some embodiments of the present invention, the first record further includes: obtaining the number of times the first message is stored in the first record; and determining two adjacent first moments according to the number.
[0011] According to some embodiments of the present invention, identifying the road section through which the vehicle has passed by determining the size of the first time difference and the first blind spot duration includes at least one of the following steps: determining that the first time difference is greater than the first blind spot duration, then the first record corresponds to the road section through which the vehicle with the first identifier has passed, and the first record with the first identifier is deleted; or determining that the first time difference is less than or equal to the first blind spot duration, then the first record corresponds to the road section through which the vehicle with the first identifier has not passed.
[0012] According to some embodiments of the present invention, each of the reader / writers has a unique second identifier, and the first blind zone duration can be configured accordingly according to the differences among the reader / writers.
[0013] On the other hand, an embodiment of the present invention provides a device for identifying a road section through which a vehicle passes, comprising: a first module, used to obtain a first message from a reader / writer, and obtain a first identifier in the first message, wherein the first message is information fed back by a vehicle tag after receiving an identification signal sent by the reader / writer, and the first identifier is used to determine the corresponding vehicle tag; a second module, used to obtain a corresponding first record based on the first identifier, wherein the first record comprises: a first moment, used to characterize the moment when the reader / writer obtains the first message each time; a second moment, used to characterize the moment when the reader / writer last obtained the first message; a second identifier, used to characterize the reader / writer that receives the first message; a third module, used to obtain a first time difference through the second moment and the current moment, and obtain a first blind zone duration of the reader / writer through the second identifier; a fourth module, used to identify the road section through which the vehicle passes by determining the size of the first time difference and the first blind zone duration.
[0014] The device for identifying a road section through which a vehicle passes according to an embodiment of the present invention has at least the following beneficial effects: by obtaining a first identifier in a first message from a reader / writer, using the first identifier to obtain a first record, determining the first time difference and the first blind spot duration according to the first record to identify the road section through which the vehicle passes, and judging whether the vehicle is in a blind spot or has successfully driven away from the road section where the reader / writer sends a signal by the time difference when the first message cannot be received.
[0015] On the other hand, an embodiment of the present invention also provides a computer device, comprising: at least one processor; at least one memory for storing at least one program; when the at least one program is executed by the at least one processor, the at least one processor implements the method for identifying a vehicle passing through a road section as described in any one of the above.
[0016] The computer device according to the embodiment of the present invention has at least the same beneficial effects as the above-mentioned method for identifying a road section through which a vehicle passes.
[0017] On the other hand, an embodiment of the present invention provides a storage medium, wherein program instructions are stored in the storage medium, and when the program instructions are executed by a processor, the method for identifying a road section through which a vehicle passes as described in any one of the above can be implemented.
[0018] The storage medium according to the embodiment of the present invention has at least the same beneficial effect as the above-mentioned method for identifying a road section through which a vehicle passes.
[0019] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is an example diagram of an implementation environment of a method for identifying a road section through which a vehicle passes provided by an embodiment of the present invention;
[0021] Figure 2 yes Figure 1 Example diagram after the base station sends a signal;
[0022] Figure 3 yes Figure 1 Another example diagram after the base station sends a signal;
[0023] Figure 4 is a flowchart of the steps of a method for identifying a road section through which a vehicle passes provided by an embodiment of the present invention;
[0024] Figure 5 is a flowchart of steps of a method for identifying a road section through which a vehicle passes provided by another embodiment of the present invention;
[0025] Figure 6 is a flowchart of steps of a method for identifying a road section through which a vehicle passes provided by another embodiment of the present invention;
[0026] Figure 7 is a flowchart of steps of a method for identifying a road section through which a vehicle passes provided by another embodiment of the present invention;
[0027] Figure 8 is a flowchart of steps of a method for identifying a road section through which a vehicle passes provided by another embodiment of the present invention;
[0028] Fig. 9 is a schematic block diagram of a device for identifying a road section through which a vehicle passes, provided by an embodiment of the present invention;
[0029] Fig.10 is a schematic block diagram of a device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only for the purpose of facilitating the description of the present invention, and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner. "First", "second" and the like are only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. In this subsequent description, the continuous numbering of the method steps is for the convenience of review and understanding. In combination with the overall technical solution of the present invention and the logical relationship between the various steps, adjusting the implementation order between the steps will not affect the technical effect achieved by the technical solution of the present invention. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0031] At present, RFID-related technologies are mainly used to identify vehicles. RFID base stations transmit RFID instructions of specific frequencies to a certain area, receive the electronic codes and user information stored in the RFID tags in the area, and transmit them to the application system to obtain the traffic conditions of each vehicle. Figure 1 As shown in the figure, the direct wave (signal wave) emitted by the RFID base station may be reflected by the conductive surface to form a reflected wave (interference wave) due to the influence of the environment. Figure 2 As shown in , when the interference wave and the signal wave have the same phase, they have an enhancement effect on the signal wave, and the superimposed wave formed is called an active interference wave; Figure 3 As shown, when the interference wave is opposite in phase to the signal wave, it has a weakening effect on the signal wave, and the superimposed wave formed is called a destructive interference wave; when the interference wave is opposite in phase to the signal wave and has basically the same amplitude, the superimposed effect of the two will completely cancel each other out, causing the signal wave to completely disappear, thereby forming a signal "black hole", resulting in the signal being unable to be transmitted normally to the RFID tag or the RFID tag being unable to be fed back to the base station normally. At this time, the RFID will have a blind spot and cannot identify whether the vehicle has passed through the area or is located in the blind spot. To this end, an embodiment of the present invention proposes a method, device, and readable storage medium for identifying a vehicle passing through a road section to identify that the vehicle has successfully passed through the road section.
[0032] Reference Figure 4 , the method of the embodiment of the present invention includes:
[0033] Step S100: Obtain a first message from a reader / writer to obtain a first identifier in the first message.
[0034] Specifically, in order to monitor and obtain the traffic information of vehicles, RFID base stations are usually set up at checkpoints, intersections and other locations. The RFID base station is composed of RFID readers and antennas and other devices. At present, an RFID base station usually has a reader, and a reader can correspond to one or more antennas, and one antenna corresponds to a lane. It is understandable that a base station can also have multiple readers. The reader transmits an identification signal of a specific frequency to cover the road section. Because each vehicle is equipped with a vehicle tag specified by an RFID tag, the vehicle tag includes electronic code, user information and other information. When the vehicle tag receives a signal of a specific frequency, it will feedback the corresponding first message to the reader. For example, when entering or leaving the country, the electronic tag will feedback information including information to verify that the vehicle can enter legally and the first identification code used to identify the identity of the vehicle to the reader. The first identifier is used to determine the corresponding vehicle tag. Each vehicle has only one vehicle tag, and each vehicle tag has only one corresponding first identification code.
[0035] Step S200, obtaining a corresponding first record according to the first identifier, wherein the first record includes: a first moment, used to indicate the moment when the reader / writer obtains the first message each time; a second moment, used to indicate the moment when the reader / writer obtains the first message for the last time; and a second identifier, used to indicate the reader / writer receiving the first message.
[0036] In another embodiment, step S200 includes at least one of the following steps: Figure 5 As shown:
[0037] Step S210, determining that a first record corresponding to the first identifier exists, and then updating the original first record;
[0038] Step S220: If it is determined that there is no first record corresponding to the first identifier, a new first record is created.
[0039] In another embodiment, step S210 further includes the following steps:
[0040] Storing the first message in the corresponding first record;
[0041] Record the time when the reader obtains the first message and add it to the first time;
[0042] Modify the value of the second moment to the moment when the reader obtains the first message.
[0043] Specifically, in order to enable each passing vehicle to receive the identification signal and know the real-time status of each vehicle, the reader will repeatedly and indiscriminately transmit the identification signal to a specific area, that is, when a vehicle passes through a road section, the vehicle tag will receive the identification signal of the same reader many times, and each reception needs to be fed back accordingly. The feedback information is the first message. The first identifiers carried by these first messages fed back multiple times from the same vehicle are the same. After the reader obtains the first message, it obtains the first message from the message queue at the reader and stores it in the first record. It should be noted that the first message is stored in the corresponding first record according to the first identifier in the first message, that is, the first identifier in the same first record is the same, and multiple first records with different first identifiers can be uniformly stored in a certain location, such as a passing vehicle event pool. In addition, in addition to storing the first message, the first record also stores the time when the reader obtains the first message each time, that is, the first time; the time when the reader obtains the first message for the last time, that is, the second time; and the reader receiving the first message, that is, the second identifier. After obtaining one of the first messages from the message queue of the reader, determine whether there is a corresponding first record in the vehicle passing event pool according to the first identifier. If there is a corresponding first record, it means that the vehicle has fed back relevant information to the reader. At this time, the time when the reader obtains the first message is recorded and stored in the first moment in the first record, and the value of the second moment is modified to the time when the current reader last obtains the first message. It should be noted that the first moment includes one or more moment values, the second moment has only one moment value, and each reader has a unique second identifier; if it is determined that there is no corresponding first record in the vehicle passing event pool according to the first identifier, it means that the vehicle receives the identification signal sent by the reader for the first time in the road section and feeds back the first message for the first time, a new first record is created to store the first message, and the time when the reader obtains the first message each time is recorded as the first moment, and the time when the reader last obtains the first message so far is updated to the second moment.
[0044] Step S300, obtaining a first time difference through the second moment and the current moment, and obtaining a first blind zone duration of the reader / writer through the second identifier.
[0045] In another embodiment, step S300 further includes the following steps: Figure 6 As shown:
[0046] Step S310, determining the reader / writer that receives the first message through the second identifier, and determining the second blind zone duration according to the reader / writer;
[0047] Step S320, obtaining the first blind spot duration through the second blind spot duration and the first error, wherein the first error represents the error between the actual duration required for the vehicle to pass through the blind spot and the second blind spot duration.
[0048] In another embodiment, step S310 further includes the following steps: Figure 7 As shown:
[0049] Step S311, obtaining a second time difference through two adjacent first moments;
[0050] Step S312: If it is determined that the second time difference is greater than the second blind area duration, the value of the second blind area duration is adjusted to the value of the second time difference.
[0051] Specifically, the reader receiving the first message is determined by the second identifier, and each reader has a time difference required for the vehicle on the road section to pass through the black hole, that is, the second blind zone duration, and the first blind zone duration is obtained by the second blind zone duration and the first error. Among them, because the direct wave emitted by the reader and the reflected wave are affected by environmental changes, vehicle models, parallel vehicles, etc., the size of the black hole will fluctuate within a certain range. Affected by the size of the black hole and the speed of the vehicle, the second blind zone duration will also fluctuate within a certain range. Therefore, it is necessary to record the maximum duration of the vehicle experiencing the black hole, that is, it is necessary to continuously update the second blind zone duration to obtain the maximum second blind zone duration. The way to obtain the second time difference is: using the first record includes obtaining the number of times the first message is stored to the first record, determining the first moments of two adjacent times according to the number, and obtaining the second time difference by calculating the first moments of two adjacent times. It can be known that the second time difference may be the normal feedback message time difference of the vehicle on the road section, or it may be the time difference caused by the vehicle being able to feedback information after experiencing the black hole, so the second blind zone duration can be adjusted by the second time difference. If it is determined that the second time difference is greater than the second blind zone duration, the value of the second blind zone duration is adjusted to the value of the second time difference. If it is determined that the second time difference is less than or equal to the second blind zone duration, the value of the second blind zone duration is maintained unchanged. The second blind zone duration is continuously updated in this way. It should be noted that, in order to save resources and speed up the calculation rate, the maximum time difference value of the two adjacent first moments is obtained in the first record, and the maximum time difference value is directly compared with the second blind zone duration to determine whether to adjust the second blind zone duration. When the time difference value obtained between the latest first moment and the adjacent first moment is less than or equal to the maximum time difference value, it is not necessary to compare with the second blind zone duration. It is understandable that at the beginning, the second blind zone duration of the reader is zero. Therefore, after the second time difference is determined for the first time, the value of the second blind zone duration is adjusted to the value of the second time difference. After multiple tests and adjustments, it is officially put into use.
[0052] However, in the actual road traffic process, there is often a reverse traffic road parallel to the traffic section, that is, the vehicle turns around at a fixed point and then enters the reverse traffic lane. In this process, it may happen that the vehicle tag leaves the reader coverage section after responding to the reader, and after a period of time, the vehicle turns back and enters the reader coverage section again to respond to the reader. At this time, the system may mistakenly believe that the period during which the vehicle tag cannot respond to the reader is the time when the vehicle experiences a black hole, so the second blind zone duration is updated. In order to prevent this situation from occurring, a first error is set, and the first blind zone duration is obtained by adding the first error and the second blind zone duration, that is, once the time when the vehicle cannot respond to the reader again is greater than the first blind zone duration, it is considered that the vehicle has successfully passed the section, and at this time, the vehicle turns and enters the reading and writing area again to respond to the reader, which is also considered to be a new round of response; when the time from the last time the vehicle responded to the reader to the current time is less than or equal to the first blind zone duration, it is considered that the vehicle is still in the section and has not passed. It should be noted that the first error is used to filter out several target results from multiple training results. The first error can be selected based on prior knowledge or actual needs, and can be 3 seconds, 5 seconds, etc., for example. However, it should be noted that the duration of the first error selection must ensure that the first blind spot duration finally obtained meets the requirements, that is, through multiple training results, the time length from the vehicle leaving the identification area after the last response to the reader writer on the road section to turning again to enter the area covered by the reader writer on the road section is greater than the first blind spot duration. Optionally, the embodiment of the present application can be screened according to a preset screening method, and the preset screening method can be: obtaining the time required for the vehicle to leave the reader writer signal coverage area from the common position of the black hole at the lowest driving speed of the road section. The embodiment of the present application does not specifically limit the preset screening method. It should be noted that the time to pass through the black hole is relatively small compared to the time it takes for the vehicle to turn, that is, the selection of the first error will not cause the time for the vehicle to re-enter the reader writer identification area after turning to be less than the first blind spot duration.
[0053] Step S400, identifying the road section that the vehicle passes by by determining the first time difference and the first blind spot duration.
[0054] In another embodiment, step S400 further includes at least one of the following steps: Figure 8 As shown:
[0055] Step S410, determining that the first time difference is greater than the first blind zone duration, the first record corresponds to the vehicle passing through the road section with the first identifier, and the first record with the first identifier is deleted;
[0056] Step S420: If it is determined that the first time difference is less than or equal to the first blind spot duration, then the first record corresponds to the road section that the vehicle with the first identifier has not passed.
[0057] Specifically, the first time difference is the time difference between the time when the first message was last received and the current time. If the first time difference is determined to be greater than the first blind spot duration, it means that the vehicle corresponding to the first identifier has passed the road section, and the first record corresponding to the first identifier is deleted. If the first time difference is determined to be less than or equal to the first blind spot duration, the vehicle corresponding to the first identifier has not passed the road section, and the first record needs to be continuously detected.
[0058] It should be noted that in the common vehicle traffic roads, multiple lanes are set up for traffic at the same time, and the reader is equipped with one or more antennas, each antenna corresponds to a lane. When the system obtains the corresponding reader that receives the first message through the second identifier, it can also obtain the specific antenna of the reader through the second identifier, so as to accurately identify the corresponding lane, thereby improving the accuracy of identifying whether the vehicle has successfully passed the road section. When the first message is obtained from the message queue of the reader later, it can also determine which antenna sends the identification signal to the vehicle.
[0059] On the one hand, referring to Fig. 9 This embodiment provides a device for identifying a road section through which a vehicle passes, comprising at least: a first module 910, a second module 920, a third module 930 and a fourth module 940.
[0060] Specifically, the reader transmits an identification signal to a fixed area, and the vehicle tag corresponding to the vehicle feeds back a corresponding first message after receiving the identification signal. The first module 910 obtains the first message from the reader and obtains the first identifier in the first message. The second module 920 obtains the corresponding first record according to the first identifier, wherein the first record stores the first message, the moment when the reader obtains the first message each time, i.e., the first moment; the moment when the reader obtains the first message for the last time, i.e., the second moment; and the second identifier for identifying the identity of the reader receiving the first message. The third module 930 obtains the first time difference through the second moment stored in the first record and the current moment, determines the reader receiving the first message through the second identifier in the first record, obtains the first blind spot duration in the reader, and transmits it to the fourth module 940. The fourth module 940 identifies the vehicle passing through the road section by determining the first blind spot duration and the first time difference.
[0061] Reference Fig.10This embodiment provides an electronic device, including a processor 1010 and a memory 1020 coupled to the processor 1010, wherein the memory 1020 stores program instructions that can be executed by the processor 1010, and the processor 1010 implements the above-mentioned method for identifying a vehicle passing through a road section when executing the program instructions stored in the memory 1020. Among them, the processor 1010 can also be called a CPU (Central Processing Unit). The processor 1010 may be an integrated circuit chip with signal processing capabilities. The processor 1010 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor, or the general-purpose processor can also be any conventional processor, etc. The memory 1020 may include various components (e.g., machine-readable media), including but not limited to random access memory components, read-only components, and any combination thereof. The memory 1020 may also include: instructions (e.g., software) (e.g., stored in one or more machine-readable media); the instructions implement the method for identifying a vehicle passing through a road section in the above embodiment. The electronic device has the function of carrying and running the software system for identifying a vehicle passing through a road section provided in an embodiment of the present invention, for example, a personal computer (PC), a mobile phone, a smart phone, a personal digital assistant (PDA), a wearable device, a Pocket PC (PPC), a tablet computer, etc.
[0062] This embodiment provides a computer-readable storage medium, which stores a program. The program is executed by a processor to implement the above-mentioned method for identifying a road section through which a vehicle passes.
[0063] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0064] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the aforementioned business data processing method.
[0065] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0066] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0067] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0068] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0069] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0070] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0071] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0072] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A method for identifying a road section through which a vehicle passes, characterized in that: include: Acquire a first message from the reader / writer, and obtain a first identifier in the first message, wherein the first message is information fed back by the vehicle tag after receiving the identification signal sent by the reader / writer, and the first identifier is used to determine the corresponding vehicle tag; Obtaining a corresponding first record according to the first identifier, wherein the first record includes: a first time, used to indicate the time when the reader / writer obtains the first message each time; a second time, used to indicate the time when the reader / writer obtains the first message for the last time; and a second identifier, used to indicate the reader / writer receiving the first message; Obtain a first time difference through the second moment and the current moment, and obtain a first blind zone duration of the reader through the second identifier; Identifying a road section through which a vehicle passes by determining the first time difference and the first blind spot duration; The step of obtaining the corresponding first record according to the first identifier comprises at least one of the following steps: Determining that the first identifier has a corresponding first record, then updating the original first record; or, Determining that the first record corresponding to the first identifier does not exist, creating a new first record; The updating of the original first record comprises: storing the first message in the corresponding first record; Recording the time when the reader obtains the first message and adding it to the first time; Modify the value of the second moment to the moment when the reader obtains the first message; The obtaining the first blind zone duration of the reader / writer by using the second identifier includes: Determine the reader / writer that receives the first message by using the second identifier, and determine the second blind zone duration according to the reader / writer; The first blind spot duration is obtained by adding the second blind spot duration and the first error, wherein the first error represents the error between the actual duration required for the vehicle to pass through the blind spot and the second blind spot duration; The step of identifying a road section through which a vehicle passes by determining the first time difference and the first blind spot duration comprises at least one of the following steps: Determining that the first time difference is greater than the first blind spot duration, the first record corresponds to the road section passed by the vehicle with the first identifier, and deleting the first record with the first identifier; or, If it is determined that the first time difference is less than or equal to the first blind spot duration, then the first record corresponds to a road section that the vehicle with the first identifier has not passed.
2. The method for identifying a road section through which a vehicle passes according to claim 1, characterized in that: Updating the second blind zone duration includes the following steps: Obtain a second time difference by using two adjacent first moments; If it is determined that the second time difference is greater than the second blind area duration, the value of the second blind area duration is adjusted to the value of the second time difference.
3. The method for identifying a road section through which a vehicle passes according to claim 2, characterized in that: The first record also includes: obtaining the number of times the first message is stored in the first record; and determining two adjacent first moments according to the number.
4. A device for identifying a road section through which a vehicle passes, characterized in that: include: The first module is used to obtain a first message from a reader and obtain a first identifier in the first message, wherein the first message is information fed back by a vehicle tag after receiving an identification signal sent by the reader, and the first identifier is used to determine the corresponding vehicle tag; The second module is used to obtain a corresponding first record according to the first identifier, wherein the first record includes: a first time, used to indicate the time when the reader obtains the first message each time; a second time, used to indicate the time when the reader obtains the first message for the last time; and a second identifier, used to indicate the reader receiving the first message; A third module is used to obtain a first time difference through the second moment and the current moment, and obtain a first blind zone duration of the reader through the second identifier; A fourth module is used to identify the road section that the vehicle passes by determining the first time difference and the first blind zone duration; The second module is further configured to: if it is determined that the first identifier has a corresponding first record, then update the original first record; or, if it is determined that the first identifier has no corresponding first record, then create a new first record; The second module is further used to store the first message into the corresponding first record, record the time when the reader obtains the first message, add it to the first time, and modify the value of the second time to the time when the reader obtains the first message; The third module is further used to determine the reader / writer that receives the first message through the second identifier, determine the second blind spot duration according to the reader / writer, and obtain the first blind spot duration by adding the second blind spot duration and the first error, wherein the first error represents the error between the actual duration required for the vehicle to pass through the blind spot and the second blind spot duration; The fourth module is also used to determine that if the first time difference is greater than the first blind spot duration, the first record corresponds to a road section passed by a vehicle with the first identifier, and the first record with the first identifier is deleted; or, if the first time difference is less than or equal to the first blind spot duration, the first record corresponds to a road section not passed by a vehicle with the first identifier.
5. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Vehicle in and out carbarn detection method and device based on RFID
CN106652139A
Radio communication system for vehicle and radio communication method
JP2007231615A