CN107464298B - Intelligent traffic control equipment, system and method - Google Patents

Intelligent traffic control equipment, system and method Download PDF

Info

Publication number
CN107464298B
CN107464298B CN201710530789.5A CN201710530789A CN107464298B CN 107464298 B CN107464298 B CN 107464298B CN 201710530789 A CN201710530789 A CN 201710530789A CN 107464298 B CN107464298 B CN 107464298B
Authority
CN
China
Prior art keywords
service
thread
mutual exclusion
transaction
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710530789.5A
Other languages
Chinese (zh)
Other versions
CN107464298A (en
Inventor
章佳钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genvict Technology Co Ltd
Original Assignee
Shenzhen Genvict Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genvict Technology Co Ltd filed Critical Shenzhen Genvict Technology Co Ltd
Priority to CN201710530789.5A priority Critical patent/CN107464298B/en
Publication of CN107464298A publication Critical patent/CN107464298A/en
Application granted granted Critical
Publication of CN107464298B publication Critical patent/CN107464298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses intelligent traffic control equipment, system and method. In the main control thread, a control module enters an operation state after receiving a wake-up signal, creates a service mutual exclusion identifier and starts a plurality of service modules; when a certain service module detects that a service trigger signal corresponding to the certain service module exists, the main control module sends the service mutual exclusion identifier to the service module. In the service thread, the service module detects whether a service trigger signal corresponding to the service module exists, and if the service trigger signal exists, the service mutual exclusion identifier is acquired and the service transaction corresponding to the current service module is carried out. By adopting the thread management system and method provided by the invention, the transaction efficiency of the system and the vehicle can be improved, the time consumed for passing is saved, and the problems of multiple transactions, card loss and the like are effectively avoided.

Description

Intelligent traffic control equipment, system and method
Technical Field
The invention relates to the field of intelligent transportation, in particular to intelligent traffic control equipment, system and method.
Background
At present, a parking lot system such as a shopping mall parking lot is compatible with the passing requirements of different vehicle users, and supports multiple passing transaction modes such as an Electronic Toll Collection (ETC) mode, a card swiping mode, a card issuing mode and the like, wherein the ETC mode corresponds to a vehicle user who owns an On Board Unit (OBU), the card swiping mode corresponds to a vehicle user who owns a monthly card, and the card issuing mode generally corresponds to a temporary vehicle user.
In a parking lot application scenario compatible with multiple passing transaction modes, a traditional processing method is that a Road Side Unit (RSU) is started firstly, whether an OBU is installed on a vehicle or not is detected, if the OBU is not detected within preset time, overtime is generated, whether a vehicle owner swipes a monthly card or not is further detected, if a monthly card swiping request is not detected within the preset time, overtime is generated, whether the vehicle owner has a request for taking a temporary card by pressing a key or not is detected, polling detection is repeated in this way, a passing mode of a user is finally confirmed, and the transaction is completed. This approach is very inefficient. For example, when the car owner passes through the temporary card, the car owner may press the button multiple times to discharge the temporary card, which wastes time seriously and greatly affects the satisfaction degree of user experience. In addition, when the same vehicle user has multiple traffic transaction modes, problems in fee deduction and management can be caused. For example, the OBU may enter the vehicle in two passing ways, for twice the fee, when the vehicle is driven out, the user may leave the vehicle through the OBU and ignore the temporary card, which may result in the loss of the temporary card.
Therefore, when multiple transaction modes exist at the same time, in order to achieve rapid, smooth and orderly access management experience, how to efficiently distinguish which traffic mode a vehicle user enters and exits to rapidly complete a transaction becomes a difficult problem to be solved urgently in such parking lots.
Disclosure of Invention
According to a first aspect of the present invention, an intelligent traffic control device is provided, which includes a control module, a wake-up module and a plurality of service modules; the awakening module and the plurality of service modules are respectively connected to the control module; the awakening module is used for detecting whether a target object appears in a preset range, and if the target object appears in the preset range, an awakening signal is generated and sent to the control module; the control module is used for entering an operation state after receiving the wake-up signal, creating a service mutual exclusion identifier and starting a plurality of service modules; when a certain service module detects that a service trigger signal corresponding to the certain service module exists, the control module sends a service mutual exclusion identifier to the service module; the service module is used for detecting whether a service trigger signal corresponding to the service module exists, and if the service trigger signal exists, the service mutual exclusion identifier is acquired and service transaction corresponding to the current service module is carried out.
According to a second aspect of the present invention, an intelligent traffic control system is provided, which includes the above-mentioned intelligent traffic control device, and further includes a road side unit electrically connected to the ETC service processing module, a card swiping device electrically connected to the card swiping service processing module, and/or a card issuing device electrically connected to the card issuing service processing module; the ETC service processing module is used for starting the road side unit to detect whether the vehicle-mounted unit exists, and if the vehicle-mounted unit exists, the ETC service processing module acquires a service mutual exclusion identifier and carries out transaction on the vehicle-mounted unit; the card swiping service processing module is used for judging whether a user card swiping request exists according to the detection of the card swiping equipment, and if the user card swiping request exists, acquiring a service mutual exclusion identifier and conducting transaction on a user card; the card issuing service processing module is used for judging whether a user card taking request exists according to the detection of the card issuing equipment, and if so, acquiring a service mutual exclusion identifier and performing card issuing transaction.
According to a third aspect of the present invention, there is provided an intelligent traffic control method, which employs the above intelligent traffic control device or the above intelligent traffic control system, and includes a main control thread and several business threads running in parallel,
the main control thread: after receiving the wake-up signal, entering an operation state, creating a service mutual exclusion identifier, and starting the plurality of service threads; when a certain service thread detects that a service trigger signal corresponding to the certain service thread exists, the service mutual exclusion identifier is issued to the service thread;
and (4) service thread: detecting whether a service trigger signal corresponding to the current service thread exists, if so, acquiring a service mutual exclusion identifier and performing service transaction corresponding to the current service thread;
if the service mutual exclusion identifier is obtained and the service transaction corresponding to the current service thread is successfully completed, ending the process;
and if the service mutual exclusion identifier is acquired and fails in the service transaction corresponding to the current service thread, releasing the service mutual exclusion identifier so that other service threads can acquire the service mutual exclusion identifier, and ending.
The intelligent traffic control equipment, the system and the method are applied to the field of vehicle traffic, can improve the transaction efficiency of the system and the vehicle, save the time consumed by the vehicle for traffic, and effectively avoid the problems of multiple transactions, card loss and the like.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent traffic control device according to a first embodiment;
fig. 2 is a schematic flow chart of an intelligent traffic control method according to the first embodiment;
FIG. 3 is a flowchart illustrating a main thread according to a first embodiment;
fig. 4 is a schematic view of a thread flow of the ETC service processing according to the first embodiment;
fig. 5 is a schematic view illustrating a thread flow of card swiping service processing according to a first embodiment;
fig. 6 is a schematic view of a card fetching business processing thread flow according to the first embodiment.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
The first embodiment is as follows:
fig. 1 shows an intelligent traffic control device compatible with multiple transaction modes, such as ETC (Electronic Toll Collection), card swiping, card issuing, etc., for a parking lot according to this embodiment, which includes a controller 10, and a ground sensing module 20 (i.e., a wake-up module) and an ETC service processing module 30, a card swiping service processing module 40, a card issuing service processing module 50, a voice module 60, a display module 70, and a gateway 80, which are respectively connected to the controller. The ETC service processing module 30 is electrically connected to the RSU, the card swiping service processing module 40 is electrically connected to the card swiping device, the card issuing service processing module 50 is electrically connected to the card issuing device, the voice module 60 is electrically connected to the voice player, the display module 70 is electrically connected to the display screen, the card swiping device may specifically be a card swiping machine, and the card issuing device may specifically be a card issuing machine. The intelligent traffic control device, the RSU, the card swiping device, the card issuing device, the voice player, the display screen and the like together form the intelligent traffic control system of the embodiment.
As shown in fig. 2, the intelligent traffic control method of this embodiment mainly includes a main control thread and a plurality of parallel service processing threads. After the system is started, a business unified management thread monitor is created, and a plurality of business processing threads, such as an ETC business processing thread, a card swiping business processing thread, a card issuing business processing thread and the like, are created by the business unified management thread monitor.
The following describes in detail the application of the intelligent traffic control device, system and method of the present embodiment in the traffic management of vehicles in parking lots with reference to fig. 2 to 6.
St1, as shown in fig. 3, the ground sensing module 20 detects the presence or absence of a vehicle in the ground sensing area at any time, and generates a wake-up signal and transmits the wake-up signal to the controller 10 when detecting that a vehicle enters the ground sensing area.
St2, master thread:
st2.1, the main control thread is responsible for the management and control of the whole business logic of the system, and the controller 10 is in a blocking state when not receiving the wake-up signal, i.e. does not initiate operation, does not start other business processing threads, and waits for the wake-up signal from the ground sensing module 20;
st2.2, when the controller 10 is triggered, if the controller 10 receives a wake-up signal, judging that a vehicle enters a ground sensing area and enters a running state; if the wake-up signal is not received, the controller 10 is still in the blocking state;
st2.3, after the controller 10 enters the running state, creating a service mutual exclusion identifier, starting ETC service processing threads, card swiping service processing threads, card issuing service processing threads and other service processing threads;
at the same time, the service mutual exclusion identifier can only be acquired by one service processing thread in a plurality of service processing threads, namely when the service mutual exclusion identifier is occupied by any one service processing module, other service processing modules can not be occupied, and only when the service mutual exclusion identifier is released by the service processing module, the service mutual exclusion identifier can be occupied by other service processing modules again;
st2.4, after the controller 10 starts a plurality of business processing threads, waiting for the business processing threads to carry out transaction; when a certain service processing thread detects that a service trigger signal corresponding to the certain service processing thread exists, the controller 10 issues a service mutual exclusion identifier to the service processing thread; the service processing module may actively request the service mutex identifier from the controller, or the controller 10 actively monitors (e.g., simultaneously monitors or sequentially monitors) each service processing module and gives the service mutex identifier when a certain service processing module obtains a corresponding service trigger signal, or the service mutex identifier is sequentially inquired in turn in each service processing thread so as to enter the service processing thread when the certain service processing thread has the corresponding service trigger signal;
st2.5, if the business processing thread successfully completes the corresponding business transaction within the preset time, the controller 10 receives the transaction result of the business processing thread; if the result from any business processing thread is not received after the preset time, St2.6 is also entered;
st2.6, the controller 10 finishes all the service processing threads because the service processing threads with the service mutual exclusion mark finish the transaction; or if the preset time is exceeded, the service processing threads do not complete the corresponding service transaction successfully (including the situations that no service processing thread detects the service trigger signal, and the situations that some service processing thread detects the service trigger signal and obtains the service mutual exclusion identifier but fails to complete the service transaction), all the service processing threads are ended;
st2.7, for the result that the transaction is completed by the service processing thread holding the service mutual exclusion identifier, the controller 10 sends a prompt message to the voice module 60, the display module 70 and the barrier 80, so as to start the information processing threads St6 and St7, and then enters a blocking state;
st2.8, the controller 10 controls the barrier 80 to be opened so that the vehicle can pass through;
at st2.9, when the current vehicle passes through the barrier 80, the wake-up signal in the ground sensing area detected by the ground sensing module 20 disappears (i.e., the vehicle passes successfully), the ground sensing module 20 still detects whether there is a vehicle in the ground sensing area at any time, and the controller 10 enters the blocking state.
Each service processing thread mainly detects whether a service triggering signal corresponding to the current service processing thread exists, and if the service triggering signal exists, the service mutual exclusion identifier is acquired and service transaction corresponding to the current service processing thread is carried out. If the service mutual exclusion identifier is obtained and the service transaction corresponding to the current service processing thread is successfully completed, ending the process; and if the service mutual exclusion identifier is acquired and fails in the service transaction corresponding to the current service processing thread, releasing the service mutual exclusion identifier so that other service processing threads can acquire the service mutual exclusion identifier and end.
The working principle of each business processing thread is described below by taking an ETC business processing thread, a card swiping business processing thread, and a card issuing business processing thread as examples, and it should be understood by those skilled in the art that the business processing threads are not limited to the three types described in this embodiment, and more business processing threads may be added according to actual needs.
St3, ETC business process thread:
st3.1, as shown in FIG. 4, when the ETC service processing module 30 is not awakened by the controller 10, it is in a blocking state and waits for the main control thread to be awakened at any time;
st3.2, when the vehicle enters the ground sensing area and the controller 10 is triggered, the main control thread is started, and the controller 10 starts the ETC service processing module 30;
st3.3, ETC business processing module 30 starts RSU (Road Side Unit) and transmits BST signal to search whether OBU (On Board Unit) exists; if the ETC service processing module 30 searches for the OBU, the ETC service processing module 30 obtains a signal (i.e., a service trigger signal, which may be a signal responded by the ETC service processing module 30 after detecting the OBU and may also be a signal from the OBU itself) returned from the OBU, and then enters st3.4; if the OBU cannot be searched (the vehicle can not transact through the OBU; or the vehicle can transact through the OBU but can transact through other service processing threads so that other service processing modules occupy the service mutual exclusion identifier), St3.5 is entered;
st3.4, because the ETC service processing module 30 searches the OBU, which indicates that the vehicle owner carries out the business-to-business transaction with the OBU, the controller 10 sends the service mutual exclusion identifier to the ETC service processing module 30; if the ETC service processing module 30 acquires the mutual exclusion identifier, then St3.6 is entered; if the ETC service processing module 30 does not obtain the mutual exclusion identifier, then St3.7 is entered;
st3.5, the ETC service processing module 30 transmits a BST signal to continuously search whether an OBU exists; the ETC transaction processing module 30 continues the search because the vehicle's intent may be to transact via the OBU, which is only temporarily undetected by the ETC transaction processing module 30; or, although the transaction mode of the vehicle is determined as other service processing threads, the vehicle fails to perform transaction through the service processing threads, so that the service processing threads release the service mutual exclusion identifier, and the OBU is adopted as an alternative transaction mode;
st3.6, the ETC business processing module 30 utilizes the RSU and the OBU to carry out transaction; if the transaction is successful, St3.8 is entered; if the transaction fails, St3.9 is entered;
st3.7, the ETC business processing module 30 waits for the instruction of the controller 10;
st3.8, the ETC service processing module 30 informs the controller 10 and releases the mutual exclusion identifier, so that the controller 10 sends prompt information to the voice module 60, the display module 70 and the barrier gate 80, and the mutual exclusion identifier is obtained by the controller 10;
st3.9, the ETC service processing module 30 releases the mutual exclusion identifier, so that other service processing threads can acquire the service mutual exclusion identifier;
st3.10, regardless of whether the ETC business processing module 30 conducts the transaction or not and whether the transaction is successful or not when the transaction is conducted, the business processing thread is finally ended and the business processing thread is restored to the blocking state after receiving the instruction of the controller 10.
St4, card swiping business processing thread:
st4.1, as shown in FIG. 5, when the card swiping service processing module 40 is not woken up by the controller 10, it is in a blocking state and waits for the main control thread to wake up at any time;
st4.2, when the vehicle enters the ground sensing area and the controller 10 is triggered, the main control thread is started, and the controller 10 starts the card swiping service processing module 40;
st4.3, the card swiping business processing module 40 detects whether a user card exists through a card reader of the card swiping device; if the card swiping service processing module 40 reads card information (i.e. a service trigger signal), the operation enters St4.4; if the card is not detected (the vehicle can not carry out transaction through the card swiping business processing thread; or the vehicle can carry out transaction through the card swiping business processing thread, but the vehicle carries out transaction through other business processing threads so that other business processing modules occupy the business mutual exclusion identifier), St4.5 is entered;
st4.4, because the card is searched by the card swiping service processing module 40, which indicates that the car owner performs the business-to-business transaction in a card swiping mode, the controller 10 issues the service mutual exclusion identifier to the card swiping service processing module 40; if the card swiping service processing module 40 acquires the mutual exclusion identifier, St4.6 is entered; if the card swiping service processing module 40 does not obtain the mutual exclusion identifier, St4.7 is entered;
st4.5, the card swiping business processing module 40 continuously detects whether a card exists; the reason why the card swiping transaction module 40 continues to detect is that the vehicle may be willing to conduct a transaction by swiping a card, only that the card is temporarily not detected by the card swiping transaction module 40; or, although the transaction mode of the vehicle is determined as other service processing threads, the vehicle fails to perform the transaction through the service processing threads, so that the service processing threads release the service mutual exclusion identifier, and the card swiping service processing module 40 is adopted as an alternative transaction mode;
st4.6, the card swiping business processing module 40 carries out transaction with the card; if the transaction is successful, St4.8 is entered; if the transaction fails, St4.9 is entered;
st4.7, the card swiping service processing module 40 waits for the instruction of the controller 10;
st4.8, the card swiping service processing module 40 notifies the controller 10 and releases the mutual exclusion identifier, so that the controller 10 sends prompt information to the voice module 60, the display module 70 and the gateway 80, and the service mutual exclusion identifier is obtained by the controller 10;
st4.9, the card swiping service processing module 40 releases the mutual exclusion identifier, so that other service processing threads can acquire the service mutual exclusion identifier;
st4.10, whether the card swiping business processing module 40 carries out the transaction or not and whether the transaction is successful or not in the case of carrying out the transaction, the business processing thread is finally ended by receiving the instruction of the controller 10, and the business processing thread is restored to the blocking state.
St5, card fetching business processing thread:
st5.1, as shown in FIG. 6, when the card-fetching service processing module 50 is not woken up by the controller 10, it is in a blocking state and waits for the main control thread to wake up at any time;
st5.2, when the vehicle enters the ground sensing area and the controller 10 is triggered, the main control thread is started, and the controller 10 starts the card-fetching service processing module 50;
st5.3, the card taking service processing module 50 detects whether a card taking request of a user exists through a card reader of the card issuing equipment; if the user presses the card-taking key, the card-taking service processing module 50 reads the card-taking request (i.e. the service trigger signal), and then enters St5.4; if the card fetching request is not detected (the vehicle can not do transaction through the card fetching service processing thread, or the vehicle can do transaction through the card fetching service processing thread, but the vehicle already does transaction through other service processing threads so that other service processing modules occupy the service mutual exclusion identifier), then St5.5 is entered;
st5.4, as the card-taking service processing module 50 detects the card-taking request of the user, the controller 10 issues the service mutual exclusion identifier to the card-taking service processing module 50 if the car owner performs the business-to-business transaction in a card-taking mode; if the card-fetching service processing module 50 acquires the mutual exclusion identifier, then St5.6 is entered; if the card-fetching service processing module 50 does not obtain the mutual exclusion identifier, then St5.7 is entered;
st5.5, the card-taking business processing module 50 continuously detects whether a card exists; the reason why the card-fetching service processing module 50 continues to detect is that the intention of the vehicle may be to perform a transaction by fetching the card, but the key signal of the owner is not detected by the card-fetching service processing module 50 temporarily; or, although the transaction mode of the vehicle is determined as other service processing threads, the vehicle fails to perform the transaction through the service processing threads, so that the service processing threads release the service mutual exclusion identifier, and the card-taking service processing module 50 is adopted as an alternative transaction mode;
st5.6, the card taking business processing module 50 carries out card issuing transaction with the user; if the transaction is successful, St5.8 is entered; if the transaction fails, St5.9 is entered;
st5.7, the card-taking service processing module 50 waits for the instruction of the controller 10;
st5.8, the card-fetching service processing module 50 informs the controller 10 and releases the mutual exclusion identifier, so that the controller 10 sends prompt information to the voice module 60, the display module 70 and the gateway 80, and the service mutual exclusion identifier is obtained by the controller 10;
st5.9, the card-fetching service processing module 50 releases the mutual exclusion identifier, so that other service processing threads can obtain the service mutual exclusion identifier;
st5.10, whether the card-fetching business processing module 50 carries out the transaction or not and whether the transaction is successful or not when the transaction is carried out, the business processing thread is finally ended after receiving the instruction of the controller 10, and the business processing thread is restored to the blocking state.
St6, information processing thread: the voice module 60 prompts the conditions of allowing the vehicle to enter or exit and deducting the fee in a voice mode, the display module 70 displays the related transaction information and the vehicle information, and the display module 70 may be further provided with an LED, an LCD and the like, so that the traffic status is displayed at the same time of displaying the transaction information, for example, the LED displays blue when the traffic is allowed, yellow when the vehicle passes, red when the traffic fails and the like.
St7, the barrier 80 is opened so that the vehicle can pass.
By adopting the intelligent traffic control device, system and method for the parking lot compatible with various transaction modes such as ETC, card swiping, card issuing and the like, when a transaction with a vehicle is required, a plurality of service processing threads simultaneously and concurrently detect the traffic mode of a user, when a certain service processing thread detects that the vehicle is the traffic mode corresponding to the service processing thread, namely the service processing thread reaches a key point, the service processing thread can perform the transaction with the vehicle after obtaining the service mutual exclusion identifier. After the main control thread issues the service mutual exclusion identifier to the service processing thread, other service processing threads suspend operations related to transactions, for example, when a user presses a key to hope to fetch a card, the card issuing service processing thread acquires the service mutual exclusion identifier and processes card issuing transactions with a vehicle owner, and other service processing threads (such as an ETC service processing thread and a card swiping service processing thread) cannot execute operations related to vehicle transactions, so that multiple transactions are avoided. If the ETC service processing thread detects that the user vehicle has the authorized OBU, the ETC service processing thread can complete the transaction (such as fee deduction) with the OBU after obtaining the service mutual exclusion identifier, and informs the main control thread, and other service processing threads are suspended. When a user swipes a card at the card swiping machine, the card swiping service processing thread can complete the transaction (such as fee deduction) with the card after obtaining the service mutual exclusion identifier, and inform the main control thread that other service processing threads are suspended.
The intelligent traffic control device, the intelligent traffic control system and the intelligent traffic control method can be used for controlling vehicle release places, the main control thread uniformly manages the plurality of service processing threads, the plurality of service processing threads concurrently and efficiently process corresponding services, and the system can more easily distinguish a transaction mode expected to be adopted by a vehicle, so that the transaction efficiency of the system and the vehicle can be improved, the time consumed for traffic is saved, a series of processes such as arrival, transaction, traffic and the like of the vehicle are well-ordered, convenient and smooth, the user experience and satisfaction are improved, the management mode in the field is standardized, and various types of users such as monthly cards and temporary cards are considered.
For example, when there are multiple transaction modes for a vehicle, the prior art solution generally detects the actual transaction modes of the vehicle one by one according to a predetermined transaction mode sequence, which may possibly result in time waste; in the embodiment, the effect of rapidly detecting the vehicle transaction mode is achieved by setting the service mutual exclusion identifier and combining the scheme of parallel operation of multiple service processing threads, so that the time is greatly reduced, and the efficiency is improved.
In practice, the problem of multiple transactions still exists, particularly in the application of parking lots in public places such as shopping malls, hotels and exhibitions, vehicles often have multiple transaction schemes, but car owners do not determine how to perform the transactions (car owners may even perform more than two transaction modes, for example, car owners press keys to fetch cards, but car owners may try to fetch cards because cards are not immediately output), according to the prior art, all effective transactions are approved by a system, so that the vehicle only passes once and is calculated according to the multiple transactions, and the result of doubly deducting the car owner's cost is caused; by adopting the system and the method of the embodiment, the scheme of setting the service mutual exclusion identifier and combining the parallel operation of a plurality of service processing threads is adopted, and only one service processing thread is allowed to finish the transaction in the whole process, so that the problems are avoided.
In addition, in practice, the problem of card loss also exists, for example, a card owner pushes a button to take the card, but the card owner tries to swipe the card or open the OBU because the card is not immediately ejected, and swipes the card successfully or the OBU transaction succeeds, so that the card owner drives into a parking lot, and the card is only completely ejected by a card sender afterwards, and the card is lost because no one takes the card, so that various hidden dangers and defects are brought to the management of the vehicle, and the extra cost can be caused to the card owner, and even records are left in related integrity files. The system and method of the embodiment only allow one service processing thread to finish the transaction finally, thereby avoiding the problems.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (10)

1. The intelligent traffic control equipment is characterized by comprising a control module (10), a wake-up module (20) and a plurality of service modules (30, 40 and 50);
the awakening module and the plurality of service modules are respectively connected to the control module;
the awakening module is used for detecting whether a target object appears in a preset range, and if the target object appears in the preset range, an awakening signal is generated and sent to the control module;
the control module is used for entering an operation state after receiving the wake-up signal, creating a service mutual exclusion identifier and starting a plurality of service modules; when a certain service module judges that a service trigger signal corresponding to the certain service module exists, the control module sends a service mutual exclusion identifier to the service module;
the service module is used for judging whether a service trigger signal corresponding to the service module exists, and if the service trigger signal exists, acquiring a service mutual exclusion identifier and performing service transaction corresponding to the current service module.
2. The apparatus of claim 1,
the service module is also used for finishing after acquiring the service mutual exclusion identifier and successfully finishing the corresponding service transaction;
and the system is also used for releasing the service mutual exclusion identifier after the service mutual exclusion identifier is acquired and fails in the corresponding service transaction, so that other service modules can acquire the service mutual exclusion identifier.
3. The apparatus of claim 1,
the service modules are an ETC service processing module electrically connected with the road side unit, a card swiping service processing module electrically connected with the card swiping equipment and/or a card issuing service processing module electrically connected with the card issuing equipment;
the ETC service processing module is used for judging whether a vehicle-mounted unit exists according to the detection of the road side unit, and if the vehicle-mounted unit exists, acquiring a service mutual exclusion identifier and performing transaction on the vehicle-mounted unit;
the card swiping service processing module is used for judging whether a user card swiping request exists according to the detection of the card swiping equipment, and if the user card swiping request exists, acquiring a service mutual exclusion identifier and conducting transaction on a user card;
the card issuing service processing module is used for judging whether a user card taking request exists according to the detection of the card issuing equipment, and if so, acquiring a service mutual exclusion identifier and performing card issuing transaction.
4. The apparatus according to any one of claims 1 to 3,
the awakening module is used for detecting whether vehicles exist in the ground sensing area or not, and if the vehicles exist in the ground sensing area, an awakening signal is generated;
the control module is also used for controlling the barrier gate to be opened after a certain service module successfully completes the corresponding service transaction;
the intelligent traffic control equipment further comprises a voice control module electrically connected with the voice equipment and/or a display control module electrically connected with the display equipment;
the voice control module is used for receiving the instruction of the control module and controlling the voice equipment to play sound according to the instruction;
the display control module is used for receiving the instruction of the control module and controlling the display equipment to display information according to the instruction.
5. An intelligent traffic control system is characterized in that,
the intelligent traffic control device comprises the intelligent traffic control device according to any one of claims 1 to 4, and further comprises a road side unit electrically connected with the ETC service processing module, a card swiping device electrically connected with the card swiping service processing module, and/or a card issuing device electrically connected with the card issuing service processing module;
the ETC service processing module is used for judging whether a vehicle-mounted unit exists according to the detection of the road side unit, and if the vehicle-mounted unit exists, acquiring a service mutual exclusion identifier and performing transaction on the vehicle-mounted unit;
the card swiping service processing module is used for judging whether a user card swiping request exists according to the detection of the card swiping equipment, and if the user card swiping request exists, acquiring a service mutual exclusion identifier and conducting transaction on a user card;
the card issuing service processing module is used for judging whether a user card taking request exists according to the detection of the card issuing equipment, and if so, acquiring a service mutual exclusion identifier and performing card issuing transaction.
6. An intelligent traffic control method, which adopts the intelligent traffic control device according to any one of claims 1-4 or the intelligent traffic control system according to claim 5, and is characterized by comprising a master thread and a plurality of business threads which are executed in parallel,
the main control thread: after receiving the wake-up signal, entering an operation state, creating a service mutual exclusion identifier, and starting the plurality of service threads; when a certain service thread detects that a service trigger signal corresponding to the certain service thread exists, the service mutual exclusion identifier is issued to the service thread;
and (4) service thread: and detecting whether a service trigger signal corresponding to the current service thread exists, and if so, acquiring a service mutual exclusion identifier and performing service transaction corresponding to the current service thread.
7. The method of claim 6,
the business thread further comprises:
if the service mutual exclusion identifier is obtained and the service transaction corresponding to the current service thread is successfully completed, ending the process;
and if the service mutual exclusion identifier is acquired and fails in the service transaction corresponding to the current service thread, releasing the service mutual exclusion identifier so that other service threads can acquire the service mutual exclusion identifier, and ending.
8. The method of claim 6,
the main control thread is as follows:
when the wake-up signal is not received, the mobile terminal is in a blocking state;
after receiving the wake-up signal, entering a running state and starting the plurality of service threads;
when a certain service thread detects that a service trigger signal corresponding to the certain service thread exists, the service mutual exclusion identifier is issued to the service thread;
if the business thread successfully completes the corresponding business transaction within the preset time, entering a blocking state;
if the preset time is exceeded and the corresponding business transaction is not successfully completed by the plurality of business threads, the plurality of business threads are ended and the blocking state is entered.
9. The method of any one of claims 6 to 8,
the method is used for vehicle traffic management; the plurality of business threads comprise an ETC business processing thread, a card swiping business processing thread and/or a card issuing business processing thread;
the ETC business processing thread is as follows: detecting whether a vehicle-mounted unit exists, and if so, acquiring a service mutual exclusion identifier and performing transaction on the vehicle-mounted unit;
the card swiping service processing thread is as follows: detecting whether a user card swiping request exists, if so, acquiring a service mutual exclusion identifier and performing transaction on a user card;
the card issuing service processing thread is as follows: and detecting whether a user card taking request exists, and if so, acquiring a service mutual exclusion identifier and performing card issuing transaction.
10. The method of any one of claims 6 to 8,
the method also comprises a ground sensing detection process and a brake opening process;
the ground sensation detection process comprises the following steps: detecting whether vehicles exist in the ground sensing area, and if so, generating a wake-up signal;
the switching-off process comprises the following steps: and if a certain service thread successfully completes the corresponding service transaction, controlling the barrier gate to be opened.
CN201710530789.5A 2017-07-03 2017-07-03 Intelligent traffic control equipment, system and method Active CN107464298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710530789.5A CN107464298B (en) 2017-07-03 2017-07-03 Intelligent traffic control equipment, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710530789.5A CN107464298B (en) 2017-07-03 2017-07-03 Intelligent traffic control equipment, system and method

Publications (2)

Publication Number Publication Date
CN107464298A CN107464298A (en) 2017-12-12
CN107464298B true CN107464298B (en) 2019-12-31

Family

ID=60546592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710530789.5A Active CN107464298B (en) 2017-07-03 2017-07-03 Intelligent traffic control equipment, system and method

Country Status (1)

Country Link
CN (1) CN107464298B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324114A (en) * 2011-09-20 2012-01-18 广州新软计算机技术有限公司 The method and apparatus of the electric non-stop toll of compatible multiple ETC standard
CN103400422B (en) * 2013-08-16 2015-10-28 广州华工信息软件有限公司 Type free stream Electronic Toll Collection for Lane System and method
CN104574533B (en) * 2014-03-28 2017-09-19 深圳市金溢科技股份有限公司 Free flow board units concurrent processing method, roadside unit and free streaming system
CN105096393A (en) * 2015-06-30 2015-11-25 深圳市金溢科技股份有限公司 Free flow system and transaction method thereof
CN105184874B (en) * 2015-10-19 2017-11-10 广州华工信息软件有限公司 A kind of passing method of compound Self-service card sender lane system
CN105931309A (en) * 2016-05-19 2016-09-07 湖南省湘筑交通科技有限公司 Intelligent ETC (electronic toll collection) and MTC (manual toll collection) mixed lane system and toll collection method thereof
CN106097463A (en) * 2016-06-24 2016-11-09 深圳市金溢科技股份有限公司 A kind of method preventing parking lot from repeating payment, control device and parking system

Also Published As

Publication number Publication date
CN107464298A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN106384537A (en) Parking lot management system based on video technology
US20180247103A1 (en) Mechanical parking garage control system
CN206003167U (en) A kind of antitheft Fare Collection System in the parking lot based on car plate, recognition of face
US20120007983A1 (en) Method and system for detecting vehicle offences
CN105590477B (en) A kind of ETC electronic tag read method based on parking stall guidance
CN104157017A (en) Parking charge management method using Internet system
CN101364324B (en) Intelligent configuring system and method for empty vehicle parking position of parking lot
CN110246366A (en) A kind of Intelligent parking lot method, system, storage medium
JP2012203833A (en) Parking lot management system
CN105575152A (en) Parking lot safe and fast pass method based on Internet, and control system thereof
CN107464298B (en) Intelligent traffic control equipment, system and method
CN108629856B (en) Intelligent parking charging method for parking lot
CN107067811A (en) It is a kind of that the shared method and system in parking stall are realized based on car plate intelligent identification equipment
CN114038074A (en) Vehicle passing control method and system
CN107730605B (en) Touch intelligent terminal, parking lot charging method and system based on touch intelligent terminal
CN110570531B (en) Parking vehicle information confirmation method based on aggregate payment and electronic automobile identification and computer-readable storage medium
CN105184874B (en) A kind of passing method of compound Self-service card sender lane system
JP2003132380A (en) Parking facility system and charging method for parking fee
CN107622532B (en) Parking charging method and device, computer device and readable storage medium
CN207529526U (en) A kind of parking lot monitoring management system
CN210155835U (en) Automatic vehicle identification system
CN108399655A (en) The method and apparatus for paying parking fee for implementing electronic cash
CN108765592B (en) Intelligent parking lot management system
CN203405880U (en) Open-type ground self-service fee-paying system based on intelligent parking lock
CN106447802A (en) High security parking lot management system

Legal Events

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