CN108460867A - Gate control method, device, gate and storage medium - Google Patents

Gate control method, device, gate and storage medium Download PDF

Info

Publication number
CN108460867A
CN108460867A CN201810031299.5A CN201810031299A CN108460867A CN 108460867 A CN108460867 A CN 108460867A CN 201810031299 A CN201810031299 A CN 201810031299A CN 108460867 A CN108460867 A CN 108460867A
Authority
CN
China
Prior art keywords
gate
data
ticket card
bill
bill data
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.)
Pending
Application number
CN201810031299.5A
Other languages
Chinese (zh)
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 Haidong Green Software Polytron Technologies Inc
Original Assignee
Shenzhen Haidong Green Software Polytron Technologies Inc
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 Haidong Green Software Polytron Technologies Inc filed Critical Shenzhen Haidong Green Software Polytron Technologies Inc
Priority to CN201810031299.5A priority Critical patent/CN108460867A/en
Publication of CN108460867A publication Critical patent/CN108460867A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01FADDITIONAL WORK, SUCH AS EQUIPPING ROADS OR THE CONSTRUCTION OF PLATFORMS, HELICOPTER LANDING STAGES, SIGNS, SNOW FENCES, OR THE LIKE
    • E01F13/00Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions
    • E01F13/04Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions movable to allow or prevent passage
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/27Individual registration on entry or exit involving the use of a pass with central registration

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

This application involves a kind of gate control method, device, gate and storage medium, this method to include:Bluetooth connection is established by the bluetooth unit and mobile terminal of gate;Receive the bill data that mobile terminal is sent by bluetooth connection;Bill data is verified;After being verified, the ticket card data in bill data are sent to the ticket card processing unit of gate;By ticket card processing unit, and generates gate according to ticket card data and gate data processed;Gate is gated into data processed and is sent to gate controller;By gate controller, the unlatching that data processed control gate door is gated according to gate.Gate door is opened in such a way, in addition there is no need to buy one-way ticket or will can be into braker by transportation card etc., as long as the mobile terminal for possessing the Bluetooth function of low-power consumption sends bill data to the gate for being equipped with bluetooth unit, it can realize quickly and easily into braker, to substantially reduce the power consumption of mobile terminal, the efficiency that control gate door is opened is also improved.

Description

Gate control method, device, gate and storage medium
Technical field
The present invention relates to gate control technology fields, are situated between more particularly to gate control method, device, gate and storage Matter.
Background technology
With the development of computer technology, more and more various is also become for the means of payment of rail transit, inside gate Structure also changes correspondingly.The means of payment that traditional control gate door is opened has:Cash purchase one-way ticket, supplement with money transportation card or Pass through mobile terminal etc..
However, by cash or purchase one-way ticket in the way of paid if, need to have change with.But User can usually forget that band cash or band cash do not have change.Specified place is also required to by transportation card payment to carry out It supplements with money, and sometimes can also forget to supplement or forget and lose transportation card with money, bring various inconvenience.It is propped up by mobile terminal It is most convenient and most quick way to pay, but this mode usually requires that mobile terminal carries NFC (Near Field Communication, the short distance wireless communication technology) function, or NFC-SIM (Near Field can be used Communication Subscriber Identity Module, wireless near field communication identification) card.These gate controls The efficiency that mode processed controls the unlatching of gate door is low.
Invention content
Based on this, it is necessary to for the low problem of efficiency that control gate door is opened, provide a kind of gate control method, dress It sets, gate and storage medium.
A kind of gate control method, the method includes:
Bluetooth connection is established by the bluetooth unit and mobile terminal of gate;
Receive the bill data that the mobile terminal is sent by the bluetooth connection;
The bill data is verified;
After being verified, the ticket card data in the bill data are sent to the ticket card processing unit of the gate;
By the ticket card processing unit, and generates gate according to the ticket card data and gate data processed;
The gate is gated into data processed and is sent to gate controller;
By the gate controller, the unlatching that data processed control gate door is gated according to the gate.
It is described in one of the embodiments, that the bill data is verified, including:
Completeness check is carried out to the bill data;
When the completeness check by when, the bill data is decrypted;
Legitimate verification is carried out to the bill data that decryption obtains.
The bill data that described pair of decryption obtains in one of the embodiments, carries out legitimate verification, including:
Whether the signature for verifying the bill data that the decryption obtains is correct;
If the signature is correct, judge whether the bill data is expired;
If the bill data does not have expired, legitimate verification passes through.
It is described by the ticket card processing unit in one of the embodiments, and generate lock according to the ticket card data Gate controls data, including:
By the ticket card processing unit, the ticket card data are cached;
Receive the card seeking instruction of the gate controller poll of the gate;
It is instructed in response to the card seeking, the card seeking knot for caching the ticket card data is shown with to the gate controller feedback form Fruit;
Receive the site information that the gate controller is sent in response to the card seeking result;
Gate, which is generated, according to the site information gates data processed.
It is described in one of the embodiments, that gate gate data processed are generated according to the site information, including:
By the ticket card processing unit, the ticket card data are decrypted;
Validation verification is carried out to the ticket card data after decryption;
When the validation verification by when, gate is generated according to the site information and gates data processed.
The gate control method further includes in one of the embodiments,:
By the bluetooth unit, it is connect with the ticket card processing unit;
Receive the state-detection instruction that the ticket card processing unit is sent;
It is instructed in response to the state-detection, to the normal feedback information of ticket card processing unit feedback states;
Receive the initialization command for carrying gate number that the ticket card processing unit is triggered in response to the feedback information;
In response to the initialization command, the request of registering for carrying the gate and numbering is sent to cloud platform;It is described to register Request is used to indicate the cloud platform and carries out proof of identity to the bluetooth unit according to gate number, and according to identity school The result tested generates result of registering;
Receive the result of registering of the cloud platform feedback;When the result expression of registering is registered successfully, the indigo plant is opened The connection permission of tooth unit and the mobile terminal.
The bill data in one of the embodiments, is that the mobile terminal is flat to cloud by gate control application Platform request obtains;The bill data that request obtains includes the ticket requests time;The bill data obtained is asked, in the movement Terminal is established after connection with the bluetooth unit and is sent to the cloud platform, is sent in the bill data of the cloud platform The ticket requests time is updated to gate door control time;Updated bill data feeds back to the mobile terminal, and by described Mobile terminal is sent to the bluetooth unit by the bluetooth connection.
A kind of gate control device, described device include:
Bluetooth connection module establishes bluetooth connection for the bluetooth unit by gate with mobile terminal;
Bill data receiving module, the bill data sent by the bluetooth connection for receiving the mobile terminal;
Bill data authentication module, for being verified to the bill data;
Ticket card data transmission blocks, it is single to the processing of the ticket card of the gate after being verified to the bill data Member sends the ticket card data in the bill data;
Gate gates data generation module processed, for being given birth to by the ticket card processing unit, and according to the ticket card data Data processed are gated at gate;
Gate gates data transmission blocks processed, and gate controller is sent to for the gate to be gated data processed;
Gate door opening module, for by the gate controller, gating data processed according to the gate and controlling gate The unlatching of door.
The bill data authentication module in one of the embodiments, for carrying out integrality to the bill data Verification;When the completeness check by when, the bill data is decrypted;The bill data obtained to decryption closes Method is verified.
The bill data authentication module in one of the embodiments, is additionally operable to verify the bill that the decryption obtains Whether the signature of data is correct;If the signature is correct, judge whether the bill data is expired;If the bill data does not have Have expired, then legitimate verification passes through.
The gate gates data generation module processed in one of the embodiments, single for being handled by the ticket card Member caches the ticket card data;Receive the card seeking instruction of the gate controller poll of the gate;Refer in response to the card seeking It enables, the card seeking result for caching the ticket card data is shown with to the gate controller feedback form;The gate controller is received to ring The site information that card seeking result described in Ying Yu is sent;Gate, which is generated, according to the site information gates data processed.
The gate gates data generation module processed in one of the embodiments, is additionally operable to handle by the ticket card The ticket card data are decrypted in unit;Validation verification is carried out to the ticket card data after decryption;When the validation verification By when, gate is generated according to the site information and gates data processed.
The gate control device further includes in one of the embodiments,:
Unit link block, for by the bluetooth unit, being connect with the ticket card processing unit;
State detection module, the state-detection instruction sent for receiving the ticket card processing unit;In response to the shape State detection instruction, to the normal feedback information of ticket card processing unit feedback states;
It registers request sending module, the carrying triggered in response to the feedback information for receiving the ticket card processing unit The initialization command of gate number sends carrying the registering for gate number in response to the initialization command, to cloud platform and asks It asks;The request of registering is used to indicate the cloud platform and carries out proof of identity to the bluetooth unit according to gate number, And result of registering is generated according to the result of proof of identity;
Result of registering receiving module, the result of registering for receiving the cloud platform feedback;When the result of registering indicates When registering successfully, the connection permission of the bluetooth unit and the mobile terminal is opened.
The bill data in one of the embodiments, is that the mobile terminal is flat to cloud by gate control application Platform request obtains;The bill data that request obtains includes the ticket requests time;The bill data obtained is asked, in the movement Terminal is established after connection with the bluetooth unit and is sent to the cloud platform, is sent in the bill data of the cloud platform The ticket requests time is updated to gate door control time;Updated bill data feeds back to the mobile terminal, and by described Mobile terminal is sent to the bluetooth unit by the bluetooth connection.
A kind of gate, the gate include bluetooth unit, ticket card processing unit and gate controller;
The bluetooth unit is used to establish bluetooth connection with mobile terminal;The mobile terminal is received by the bluetooth to connect The bill data received and sent;The bill data is verified;After being verified to the bill data, at the ticket card Reason unit sends the ticket card data in the bill data;
The ticket card processing unit generates gate for receiving the ticket card data, according to the ticket card data and gates number processed According to;The gate is gated into data processed and is sent to gate controller;
The gate controller gates data processed for receiving the gate, and gates data control processed according to the gate The unlatching of gate door.
A kind of storage medium being stored with computer program, when the computer program is executed by processor so that described Processor executes following steps:
Bluetooth connection is established by the bluetooth unit and mobile terminal of gate;
Receive the bill data that the mobile terminal is sent by the bluetooth connection;
The bill data is verified;
After being verified, the ticket card data in the bill data are sent to the ticket card processing unit of the gate;
By the ticket card processing unit, and generates gate according to the ticket card data and gate data processed;By the gate Gate data processed are sent to gate controller;
By the gate controller, the unlatching that data processed control gate door is gated according to the gate.
Above-mentioned gate control method, device, gate and storage medium are established by the bluetooth unit and mobile terminal of gate Bluetooth connection;Receive the bill data that mobile terminal is sent by bluetooth connection;Bill data is verified;It is verified Afterwards, then by gate controller the unlatching of gate door is controlled.Gate door is opened in such a way, and there is no need in addition buy one way Ticket or will by transportation card etc. can into braker, as long as possess the Bluetooth function of low-power consumption mobile terminal send bill Data give the gate for being equipped with bluetooth unit, so that it may to realize quickly and easily into braker, to substantially reduce mobile terminal Power consumption, also improve control gate door open efficiency.
Description of the drawings
Fig. 1 is the applied environment figure of gate control method in one embodiment;
Fig. 2 is the internal structure schematic diagram of gate in one embodiment;
Fig. 3 is the flow chart of gate control method in one embodiment;
Fig. 4 is the serial ports connected mode schematic diagram of the bluetooth unit and ticket card reader in gate in one embodiment;
Fig. 5 is the flow chart of gate control method in a specific embodiment;
Fig. 6 is the schematic diagram for the terminal interaction that gate control method is related in one embodiment;
Fig. 7 is the structure diagram of gate control device in one embodiment;
Fig. 8 is the structure diagram of gate control device in another embodiment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Fig. 1 is the applied environment figure of gate control method in one embodiment.Referring to Fig.1, which includes gate 110, mobile terminal 120 and cloud platform 130.Gate 110 includes:Bluetooth unit 110a, ticket card processing unit 110b and gate control Device 110c processed.Gate 110 and mobile terminal 120 pass through bluetooth connection.Gate 110 and cloud platform 130 are mobile by network connection Terminal 120 and cloud platform 130 pass through network connection.Gate 110 (turnstile) is also referred to as:Pass gates, entrance machine etc..Lock Machine is that a kind of channel barrier device (or is:Channel management equipment), for managing the stream of people and specification pedestrian discrepancy, can be used for each The entrance of kind occasion.Mobile terminal 120 can be smart mobile phone, tablet computer or PDA (Personal Digital Assistants, personal digital assistant).Cloud platform 130 is to carry out the platform of cloud computing and/or cloud storage, can be physics clothes Being engaged in, either virtual server can be independent server or server cluster to device.
Fig. 2 is the internal structure schematic diagram of gate in one embodiment.The gate can be the gate 110 in Fig. 1.The lock Machine 110 includes processor, memory, network interface and the display screen connected by system bus.Wherein, memory may include Non-volatile memory medium and built-in storage.The processor supports the operation of entire gate for providing calculating and control ability. It is stored with computer program in the memory of gate, when which is executed by processor, processor may make to execute one Kind gate control method.Network interface is communicated for connecting network.Display screen is used to show the related data into braker.
It will be understood by those skilled in the art that structure shown in Figure 2, is only tied with the relevant part of application scheme The block diagram of structure, does not constitute the restriction for the gate being applied thereon to application scheme, and specific gate may include than figure Shown in more or fewer components, either combine certain components or arranged with different components.
As shown in figure 3, in one embodiment, providing a kind of gate control method.The present embodiment is mainly in this way It is illustrated applied to the gate in above-mentioned Fig. 2.With reference to Fig. 3, which specifically comprises the following steps:
S302 establishes bluetooth connection by the bluetooth unit and mobile terminal of gate.
Wherein, bluetooth (Bluetooth) is a kind of wireless technology standard, it can be achieved that fixed equipment, mobile device and building Short-range data between personal area network exchanges, and uses ISM (the Industrial Scientific of 2.4-2.485GHz Medical Band) wave band UHF (Ultra High Frequency, superfrequency) radio wave.Bluetooth unit (BLE) is installed It in gate, is connect with ticket card processing unit (TPU) by serial ports, main function is the finger for receiving and responding mobile terminal and send It enables, and completes the interaction with ticket card processing unit and gate controller, gate door is opened after realizing gate brush mobile terminal.Bluetooth Unit is configured with multi-core processor, Ethernet interface and 3G/4G radio network interfaces, passes through real-time performance and cloud platform server Data interaction is carried out, realize trading processing, storage and uploads the functions such as transaction data.Bluetooth unit has function of Bluetooth communication can Connection is established with the bluetooth of mobile terminal to be communicated.Bluetooth unit is reserved with the debugging of AccessPort Interface for System, reserves Have the maintenance that working station indicator facilitates the later stage to bluetooth unit, can by USB OTG (USB On-The-Go, that is, insert i.e. With) function realization system update.
S304 receives the bill data that mobile terminal is sent by bluetooth connection.
Wherein, the bill that the gate control application in bill data i.e. mobile terminal is shown, can be the bill that enters the station Data can also be outbound bill data comprising:Heading and ticket card data etc..Gate control application with gate for carrying out A kind of APP (Application) of data interaction, is installed on the third party application of mobile terminal.Message is network transmission Unit, can constantly be packaged into grouping, packet and frame to transmit in transmission process, the mode of encapsulation is exactly to add some information Section.Heading is exactly the message segment added.
S306 verifies bill data.
Specifically, the bluetooth unit of gate tests bill data after the bill data for receiving mobile terminal transmission Card.
After being verified, the ticket card data in bill data are sent to the ticket card processing unit of gate by S308.
Wherein, ticket card processing unit (TPU) is also referred to as ticket card reader.Ticket card processing unit is used to enter the station or outbound When ticket card data are written and read.Ticket card data include:User Identity, subscriber phone number and bill time etc..With Family identity is used for unique mark user identity, can be the combination of number, letter or number and letter.User mobile phone Number is used to register the account of the gate control application in mobile terminal.The bill time is that current gate controls application to cloud platform Ask the time of bill.
S310 by ticket card processing unit, and generates gate according to ticket card data and gates data processed.
Wherein, gate gate data processed are divided into enter the station gate control data and outbound gate control data.It enters the station gate control Data processed include:Subscriber phone number, time of entering the station, into website, the Data Identification that enters the station, card number, Card Type, ticket card data verification By can open gate door information or ticket card data verification not by can not open gate door and verification do not pass through the reason of Etc. information.Outbound gate control data bag includes:Subscriber phone number, outbound time go out website, outbound ticket card mark, card number, card Type, ticket card data verification by can open gate door information or ticket card data verification not by can not open gate door and Verification not by the reason of etc. information.The Data Identification that enters the station enters the station data for unique mark, and outbound data mark is for unique Mark outbound data is that ticket card processing unit generates.Card number can use digital representation, such as 88 or 98.Card Type includes:It moves The type etc. of dynamic terminal brush Card Type or traditional throwing one-way ticket.
Gate is gated data processed and is sent to gate controller by S312.
Wherein, gate controller is the host built in gate.Specifically, gate controller receives ticket card processing unit hair After the gate sent gates data processed, the information that ticket card data verification is known in data processed by the way that gate door can be opened is gated from gate Or ticket card data verification not by can not open gate door and verification not by the reason of information.
In one embodiment, gate is gated data processed and is sent to bluetooth unit by gate ticket card unit.Bluetooth unit exists It receives after gate gates data processed and unique mark generation transaction record is added, and be uploaded to cloud platform.
S314 gates the unlatching that data processed control gate door by gate controller according to gate.
Specifically, when gate controller gates the ticket card data verification known in data processed by that can open gate from gate When the information of door, control gate door is opened, and shows the information such as the account balance of gate control application on gate screen when entering the station, The information such as the amount of money value that deduct are shown on gate screen when outbound.When gate controller is gated from gate in data processed The ticket card data verification known not by can not open gate door and verification not by the reason of information when, gate door is not beaten It opens, and the reason of gate door is not opened is shown on the display screen of gate.
Above-mentioned gate control method establishes bluetooth connection by the bluetooth unit and mobile terminal of gate;It receives mobile whole Hold the bill data sent by bluetooth connection;Bill data is verified;After being verified, then controlled by gate controller The unlatching of gate door.Gate door is opened in such a way, in addition there is no need to buy one-way ticket or will be by transportation card etc. It can be into braker, as long as the mobile terminal for possessing the Bluetooth function of low-power consumption sends bill data to being equipped with bluetooth unit Gate, so that it may with realize quickly and easily also improve control into braker to substantially reduce the power consumption of mobile terminal The efficiency that gate door is opened.
In one embodiment, S306 includes:Completeness check is carried out to bill data;When completeness check by when, Bill data is decrypted;Legitimate verification is carried out to the bill data that decryption obtains.
Wherein, to bill data carry out completeness check refer to detection bill data it is whether complete.Bluetooth unit can be with The complete byte number of bill data is known from the heading of bill data, bluetooth unit is according to the complete byte number of bill data To verify the integrality of bill data.When bill data is imperfect, bluetooth unit receives bill data again.Decryption is bluetooth Unit finds corresponding policing rule according to strategy mark and carries out operation decryption.Strategy mark is obtained by Variable Factors, PCode operations Go out.Variable Factors and PCode constitute a set of security strategy rule, online dynamic mapping security strategy rule by change variable because Son and PCode are realized.When the inverse process encryption of this decryption is that gate control application asks bill to cloud platform, cloud platform adds It is close.Each security strategy version in cloud platform shares 256 groups of algorithm ciphers, and when each encrypted ticket is all random to obtain one Group algorithm and password, with user in the ticket requests of different moments or the same moment of different user, the encryption of bill Algorithm secret key is all different, strengthens the difficulty that key cracks in this way.
Legitimate verification is to examine whether bill data comes from and the related cloud platform of bluetooth unit and bill Whether effective time is.
In above-described embodiment, completeness check is carried out to bill data, avoids and incomplete data is decrypted, and The data for causing that incomplete data cannot be wanted are avoided, are made troubles.It is legal to be carried out to the bill data that decryption obtains Property verification, it is possible to reduce the loss that bill data is brought because the reasons such as being tampered.
In one embodiment, S306 further includes:Whether the signature for the bill data that verification decryption obtains is correct;If signature Correctly, then judge whether bill data is expired;If bill data does not have expired, legitimate verification passes through.
Specifically, whether signature verification correctly judges that bill data is to have from bluetooth unit by bluetooth unit The cloud platform of relationship.When judge bill data come from the related cloud platform of bluetooth unit, then signature is correct, carries out ticket According to the judgement of data time.When judge bill data be not from the related cloud platform of bluetooth unit, then sign not just Really, bluetooth unit receives again carries out bill data.Bluetooth unit carries out the whether expired judgement of bill data, judges bill number According to time be current brush gate time.If so, legitimate verification passes through.If it is not, then bluetooth unit connects again Take in row bill data.
In above-described embodiment, whether expired sentencing for signature verification and bill data is carried out to the obtained bill data of decryption It is disconnected, it is possible to reduce bill data such as is got by under false pretences at the loss that reasons are brought because being tampered, with expired bill data.
In one embodiment, S310 includes:By ticket card processing unit, ticket card data are cached;Receive the gate of gate The card seeking of controller poll instructs;It is instructed in response to card seeking, the card seeking of caching ticket card data is shown with to gate controller feedback form As a result;Receive the site information that gate controller is sent in response to card seeking result;Gate, which is generated, according to site information gates number processed According to.
Wherein, gate controller is used to send card seeking instruction and site information etc. to ticket card processing unit, receives card seeking knot Fruit sends gate gate system by network to ACC (AFC Clearing Center, the sorting center of AFC system) Data.Poll is to initiate inquiry request every prefixed time interval or every preset time point.Prefixed time interval such as 28 Millisecond.Card seeking instruction is that gate controller is being inquired about to the transmission of ticket card processing unit with the presence or absence of ticket card data every 28 milliseconds Instruction.Card seeking result may be which serial ports there are ticket card data be also likely to be serial ports be not present ticket card data.Serial ports is string The abbreviation of line interface, also referred to as serial communication interface, com interface (serial communication interface) are a kind of using serial communication mode (i.e.:Transmit in order on one ground of data) expansion interface.It is simple with communication line, cost is relatively low, it is remote to be suitable for Distance communication.Site information indicates that current gate enters the station or the information such as outbound.
In one embodiment, the bluetooth unit built in gate and ticket card processing unit are attached by serial ports, bluetooth Unit will be sent to ticket card processing unit by the bill data of verification by serial ports, and ticket card processing unit listens to ticket in poll According to acquisition bill data after data and it is buffered in serial ports.Gate controller is sought when every 28 milliseconds to the transmission of ticket card processing unit Card instruction.Ticket card processing unit, if there is caching ticket card data in 1 serial ports, is just controlled to gate after receiving card seeking instruction Device, which is sent in 1 serial ports, the card seeking result of caching ticket card data.Gate controller is in the card seeking for receiving caching ticket card data As a result just no longer poll card seeking instructs after, until gate completes the secondary gate business.Gate business refers to gate and completes bill number According to read-write, inspection, open disengaging gate, outbound deduct fees, deduct fees later or generate the business such as transaction record.Later it deducts fees finger Periodically spending amount is deducted from gate control application.As shown in figure 4, for the serial ports connection side of bluetooth unit and ticket card reader Formula.
In one embodiment, gate controller sends card seeking instruction when every 28 milliseconds to ticket card processing unit.Ticket If card processing unit, without caching ticket card data in serial ports, does not just have to the transmission of gate controller after receiving card seeking instruction There is the card seeking result of caching ticket card data.Gate controller receive indicate without caching ticket card data card seeking result after, Card seeking instruction is retransmitted after 28 milliseconds.
In above-described embodiment, gate controller after the card seeking result for receiving caching ticket card data just no longer seek by poll Card instruction, until gate completes the secondary gate business.It thus can be when gate business complete no longer to ticket card Processing unit is polled, and avoids the waste of Internet resources.
In an example, S310 further includes:By ticket card processing unit, ticket card data are decrypted;After decryption Ticket card data carry out validation verification;When validation verification by when, gate is generated according to site information and gates data processed.
Wherein, it decrypts and uses secret key decryption ticket card data in SAM cards for the ticket card processing unit of gate.SAM cards (Security Access module) blocks, and is mounted on ticket card unit.The inverse process encryption of decryption is completed in cloud platform 's.Cloud platform is encrypted according to the built-in key of the gate of different occasions.If cannot be solved with the SAM cards in ticket card unit It is close, then send gate to gate controller and gate data processed, the gate gate data processed include can not open gate door and The information such as the reason of cannot opening gate door.Validation verification refer to verification phone number it is no wrong, or verification whether the city Usable ticket card data etc..When validation verification by when, ticket card processing unit is according to site information, when entering the station, will pass in and out Website and time out of the station are set to the website to enter the station and time, enter the station website and time filling zero of entering the station.When outbound, Website out of the station and time out of the station are set to outbound website and time.
In above-described embodiment, the ticket card data after ticket card data are decrypted and are decrypted by ticket card processing unit carry out The verification of validity can gate data processed to avoid illegal data are also generated gate in this way, cause unnecessary resource Waste.
In an example, gate control method further includes:By bluetooth unit, it is connect with ticket card processing unit;It receives The state-detection instruction that ticket card processing unit is sent;It is instructed in response to state-detection, it is normal to ticket card processing unit feedback states Feedback information;Receive the initialization command for carrying gate number that ticket card processing unit is triggered in response to feedback information;Response In initialization command, the request of registering for carrying gate and numbering is sent to cloud platform;Request of registering is used to indicate cloud platform according to lock Machine number carries out proof of identity to bluetooth unit, and generates result of registering according to the result of proof of identity;Receive cloud platform feedback Result of registering;When result expression of registering is registered successfully, the connection permission of bluetooth unit and mobile terminal is opened.
Wherein, state-detection refers to detection bluetooth unit and can successfully connect with ticket card processing unit after power-up It connects.State normally indicates expression bluetooth unit and ticket card processing unit successful connection, can pass through the transmission that serial ports carries out data. Gate number is the unique mark of each gate, can be the combination of number, letter or number and letter.Request of registering is blue The authentication request that tooth unit is sent to cloud platform.It is whether correct that authentication refers to verification bluetooth unit.It registers result May be register be also likely to be successfully register it is unsuccessful.
In one embodiment, bluetooth unit is connect by serial ports with ticket card processing unit in gate, and bluetooth unit is connecing After the state-detection instruction for receiving the transmission of ticket card processing unit, to the normal feedback information of ticket card processing unit feedback states.Ticket Card processing unit sends to bluetooth unit after the normal information of state for receiving bluetooth unit feedback and carries what gate was numbered Initialization command.Bluetooth unit is completed to initialize according to initialization command, and is sent to cloud platform and carry registering for gate number Request.Cloud platform receive register request after extraction verification bluetooth unit identity it is whether correct.If correct, indigo plant is judged Whether tooth unit registers for the first time, if it is, being bound and being stored bluetooth unit with gate number.If it is not, then Gate number stored in gate number and cloud platform is compared, if comparing unanimously, to corresponding bluetooth unit Return, which is registered, successfully registers result.Bluetooth unit is successfully registered after result receiving to register, and is opened and mobile terminal Connect permission.If comparison is inconsistent, bluetooth unit is not turned on and mobile terminal after receiving the result of registering for failure of registering Connection permission.
In above-described embodiment, authentication is carried out to bluetooth unit and is registered, to ensure the correctness of data transmission, no The unnecessary waste that can cause Internet resources, also improves the efficiency of data transmission.
In one embodiment, bill data is that mobile terminal asks to obtain by gate control application to cloud platform; The bill data that request obtains includes the ticket requests time;The bill data obtained is asked, is built in mobile terminal and bluetooth unit It is sent to cloud platform after vertical connection, the ticket requests time being sent in the bill data of cloud platform is updated to gate gate system Time;Updated bill data feeds back to mobile terminal, and is sent to bluetooth unit by bluetooth connection by mobile terminal.
Wherein, gate door control time may be the current time of entering the station it could also be possible that the current outbound time.Ticket requests Time is the time for applying for bill.
In one embodiment, the bluetooth of mobile terminal is opened with after bluetooth unit foundation connection, is opened in mobile terminal Gate control application.It is entered the station to cloud platform ticket requests or outbound bill by gate control application.Cloud platform is receiving To after ticket requests, judge whether ticket requests include bill.If including bill, when the ticket requests time is updated to current Between, and bill is returned into gate control application.If not including bill, the identity information of user is verified according to ticket requests.When When being verified, generation is entered the station or outbound bill, and bill is sent to gate control application.
In above-described embodiment, the ticket requests time is updated to current time, it is ensured that the ticket requests time is current It enters the station the time either current outbound time, avoids the time of effective bill from not being current time and cause unnecessary to obscure.
As shown in figure 5, the interaction schematic diagram for the terminal being related to for above-mentioned gate control method.
As shown in fig. 6, in a specific embodiment, providing a kind of gate control method, this method is applied to lock Machine.This method specifically comprises the following steps:
The bluetooth unit of S602, subway gate are connect with ticket card processing unit;Receive the state that ticket card processing unit is sent Detection instruction;It is instructed in response to state-detection, to the normal feedback information of ticket card processing unit feedback states.
S604, the bluetooth unit of subway gate receive ticket card processing unit and are compiled in response to the carrying gate that feedback information triggers Number initialization command;In response to initialization command, the request of registering for carrying gate and numbering is sent to cloud platform;Request of registering is used It is numbered according to gate in instruction cloud platform and proof of identity is carried out to bluetooth unit, and knot of registering is generated according to the result of proof of identity Fruit.
S606 receives the result of registering of cloud platform feedback;When register result expression register successfully when, open bluetooth unit and The connection permission of mobile terminal.
S608, bluetooth unit and the mobile terminal of subway gate establish bluetooth connection;Mobile terminal is received by bluetooth to connect The bill data received and sent;Completeness check is carried out to bill data.
S610, when completeness check by when, bill data is decrypted;The bill data obtained to decryption closes Method is verified;Whether the signature for the bill data that verification decryption obtains is correct.
S612 judges whether bill data is expired if signature is correct;If bill data does not have expired, legitimacy is tested Card passes through;After being verified, the ticket card data in bill data are sent to the ticket card processing unit of gate.
S614 by ticket card processing unit, and generates gate according to ticket card data and gates data processed;Gate is gated into number processed According to being sent to gate controller;By gate controller, the unlatching that data processed control gate door is gated according to gate.
Above-mentioned gate control method establishes bluetooth connection by the bluetooth unit and mobile terminal of subway gate;It receives and moves The bill data that dynamic terminal is sent by bluetooth connection;Bill data is verified;After being verified, then by gate controller Control the unlatching of gate door.Gate door is opened in such a way, and there is no need in addition buy one-way ticket or to pass through traffic Card etc. can be into braker, as long as the mobile terminal for possessing the Bluetooth function of low-power consumption sends bill data to being equipped with bluetooth The gate of unit, so that it may quickly and easily be also improved into braker to substantially reduce the power consumption of mobile terminal with realizing Control the efficiency that gate door is opened.
As shown in fig. 7, a kind of gate control device 700, the device 700 include:Bluetooth connection module 701, bill data Receiving module 702, bill data authentication module 703, ticket card data transmission blocks 704, gate gate data generation module processed 705, gate gate data transmission blocks 706 processed, gate door opening module 707.
Bluetooth connection module 701 establishes bluetooth connection for the bluetooth unit by gate with mobile terminal.
Bill data receiving module 702, the bill data sent by bluetooth connection for receiving mobile terminal.
Bill data authentication module 703, for being verified to bill data.
Ticket card data transmission blocks 704 are sent after being verified to bill data to the ticket card processing unit of gate Ticket card data in bill data.
Gate gates data generation module 705 processed, for generating gate by ticket card processing unit, and according to ticket card data Gate data processed.
Gate gates data transmission blocks 706 processed, and gate controller is sent to for gate to be gated data processed.
Gate door opening module 707, for by gate controller, gating data processed according to gate and controlling opening for gate door It opens.
In one embodiment, bill data authentication module 703 is additionally operable to carry out completeness check to bill data;When Completeness check by when, bill data is decrypted;Legitimate verification is carried out to the bill data that decryption obtains.
In one embodiment, bill data authentication module 703 is additionally operable to the signature for the bill data that verification decryption obtains It is whether correct;If signature is correct, judge whether bill data is expired;If bill data does not have expired, legitimate verification is logical It crosses.
In one embodiment, gate gates data generation module 705 processed, is additionally operable to through ticket card processing unit, caching Ticket card data;Receive the card seeking instruction of the gate controller poll of gate;It is instructed in response to card seeking, to gate controller feedback form It is shown with the card seeking result of caching ticket card data;Receive the site information that gate controller is sent in response to card seeking result;According to station Point information generates gate and gates data processed.
In one embodiment, gate gates data generation module 705 processed, is additionally operable to by ticket card processing unit, to ticket Card data are decrypted;Validation verification is carried out to the ticket card data after decryption;
When validation verification by when, gate is generated according to site information and gates data processed.
As shown in figure 8, in one embodiment, gate control device 700 further includes:Unit link block 708, state inspection Survey module 709, request sending module of registering 710 and result receiving module 711 of registering.
Unit link block 708, for by bluetooth unit, being connect with ticket card processing unit;
State detection module 709, the state-detection instruction for receiving the transmission of ticket card processing unit;In response to state-detection Instruction, to the normal feedback information of ticket card processing unit feedback states.
Request sending module of registering 710, the carrying gate triggered in response to feedback information for receiving ticket card processing unit The initialization command of number;In response to initialization command, the request of registering for carrying gate and numbering is sent to cloud platform;It registers request It is used to indicate cloud platform and proof of identity is carried out to bluetooth unit according to gate number, and registered according to the generation of the result of proof of identity As a result.
Result of registering receiving module 711, the result of registering for receiving cloud platform feedback;When registering, result expression is registered into When work(, the connection permission of bluetooth unit and mobile terminal is opened.
In one embodiment, bill data is that mobile terminal asks to obtain by gate control application to cloud platform; The bill data that request obtains includes the ticket requests time;The bill data obtained is asked, is built in mobile terminal and bluetooth unit It is sent to cloud platform after vertical connection, the ticket requests time being sent in the bill data of cloud platform is updated to gate gate system Time;Updated bill data feeds back to mobile terminal, and is sent to bluetooth unit by bluetooth connection by mobile terminal.
Above-mentioned gate control device establishes bluetooth connection by the bluetooth unit and mobile terminal of gate;It receives mobile whole Hold the bill data sent by bluetooth connection;Bill data is verified;After being verified, then controlled by gate controller The unlatching of gate door.Gate door is opened in such a way, in addition there is no need to buy one-way ticket or will be by transportation card etc. It can be into braker, as long as the mobile terminal for possessing the Bluetooth function of low-power consumption sends bill data to being equipped with bluetooth unit Gate, so that it may with realize quickly and easily also improve control into braker to substantially reduce the power consumption of mobile terminal The efficiency that gate door is opened.
In one embodiment, a kind of gate is provided.The gate includes bluetooth unit, ticket card processing unit and gate control Device;Bluetooth unit is used to establish bluetooth connection with mobile terminal;Receive the bill data that mobile terminal is sent by bluetooth connection; Bill data is verified;After being verified to bill data, the ticket card number in bill data is sent to ticket card processing unit According to;Ticket card processing unit generates gate for receiving ticket card data, according to ticket card data and gates data processed;Gate is gated into number processed According to being sent to gate controller;Gate controller gates data processed for receiving gate, and gates data control processed according to gate The unlatching of gate door.
In one embodiment, mobile terminal by gate control for after being that bluetooth unit establishes bluetooth connection, being answered Bill data is asked with to cloud platform;The bill data that request obtains includes the ticket requests time.
In one embodiment, bluetooth unit is used to carry out completeness check to bill data;When completeness check passes through When, bill data is decrypted;Whether the signature for the bill data that verification decryption obtains is correct;If signature is correct, judge Whether bill data is expired;If bill data does not have expired, legitimate verification passes through, and ticket card number is sent to ticket card processing unit According to;It receives the gate that ticket card processing unit is sent and gates data processed, and data generation transaction record processed is gated according to gate and is sent To cloud platform.
In one embodiment, ticket card processing unit is for after listening to ticket card data, receiving and storing ticket card data;It connects Receive the card seeking instruction of the gate controller poll of gate;It is instructed in response to card seeking, caching ticket is shown with to gate controller feedback form The card seeking result of card data;Receive the site information that gate controller is sent in response to card seeking result;Ticket card data are solved It is close;Validation verification is carried out to the ticket card data after decryption;When validation verification by when, according to site information generate gate door Data are controlled, gate, which is gated data processed, is sent to bluetooth unit.
In one embodiment, cloud platform is used to receive mobile terminal and controls the ticket requests that application is sent by gate, Authentication is carried out according to ticket requests, and generates bill, is sent to mobile terminal.Receive the transaction record that bluetooth unit is sent And it stores
In one embodiment, gate controller is used to send card seeking instruction to ticket card processing unit poll, is receiving After the card seeking result for indicating to cache ticket card data of ticket card processing unit feedback, in response to card seeking result to ticket card processing unit Transmitting station information.
In one embodiment, the bluetooth unit of gate is connect for passing through with ticket card processing unit;Receive ticket card processing The state-detection instruction that unit is sent;It is instructed in response to state-detection, to the normal feedback letter of ticket card processing unit feedback states Breath;Receive the initialization command for carrying gate number that ticket card processing unit is triggered in response to feedback information;In response to initialization Order sends the request of registering for carrying gate and numbering to cloud platform;Request of registering is used to indicate cloud platform according to gate number pair Bluetooth unit carries out proof of identity, and generates result of registering according to the result of proof of identity;Receive the knot of registering of cloud platform feedback Fruit;When result expression of registering is registered successfully, the connection permission of bluetooth unit and mobile terminal is opened.
In one embodiment, ticket card processing unit is used to receive the normal feedback information of state of bluetooth unit transmission, The initialization command for carrying gate and numbering is sent to bluetooth unit in response to feedback information.
In one embodiment, cloud platform is used to receive the request of registering of bluetooth unit transmission, is numbered to indigo plant according to gate Tooth unit carries out proof of identity, and generates result of registering according to the result of proof of identity;Result of registering is sent to bluetooth unit.
Above-mentioned gate establishes bluetooth connection by the bluetooth unit and mobile terminal of gate;It receives mobile terminal and passes through indigo plant The bill data that tooth connection is sent;Bill data is verified;After being verified, then by gate controller control gate door It opens.Gate door is opened in such a way, and there is no need in addition buy one-way ticket or can be passed in and out by transportation card etc. Gate, as long as the mobile terminal for possessing the Bluetooth function of low-power consumption sends bill data to the gate for being equipped with bluetooth unit, It can realize quickly and easily into braker, to substantially reduce the power consumption of mobile terminal, also improve control gate door and open The efficiency opened.
In one embodiment, a kind of storage medium being stored with computer program is provided.The computer program is handled When device executes so that processor executes following steps:Bluetooth connection is established by the bluetooth unit and mobile terminal of gate;It receives The bill data that mobile terminal is sent by bluetooth connection;Bill data is verified;After being verified, to the ticket card of gate Processing unit sends the ticket card data in bill data;Gate gate is generated by ticket card processing unit, and according to ticket card data Data processed;Gate is gated into data processed and is sent to gate controller;By gate controller, data control processed is gated according to gate The unlatching of gate door.
In one embodiment, the step of being verified to bill data include:Completeness check is carried out to bill data; When completeness check by when, bill data is decrypted;Legitimate verification is carried out to the bill data that decryption obtains.
In one embodiment, include to the step of bill data progress legitimate verification of decryption acquisition:Verification decryption Whether the signature of the bill data of acquisition is correct;If signature is correct, judge whether bill data is expired;If bill data does not have Expired, then legitimate verification passes through.
In one embodiment, by ticket card processing unit, and the step that gate gates data processed is generated according to ticket card data Suddenly include:By ticket card processing unit, ticket card data are cached;Receive the card seeking instruction of the gate controller poll of gate;Response It is instructed in card seeking, the card seeking result of caching ticket card data is shown with to gate controller feedback form;Receive gate controller in response to The site information that card seeking result is sent;Gate, which is generated, according to site information gates data processed.
In one embodiment, generating the step of gate gates data processed according to site information includes:It is handled by ticket card Ticket card data are decrypted in unit;Validation verification is carried out to the ticket card data after decryption;When validation verification by when, Gate, which is generated, according to site information gates data processed.
In one embodiment, when which is executed by processor so that processor executes following steps:Pass through Bluetooth unit is connect with ticket card processing unit;Receive the state-detection instruction that ticket card processing unit is sent;In response to state-detection Instruction, to the normal feedback information of ticket card processing unit feedback states;Ticket card processing unit is received to trigger in response to feedback information Carry gate number initialization command;In response to initialization command, sends registering for carrying gate number to cloud platform and ask It asks;Request of registering is used to indicate cloud platform and carries out proof of identity to bluetooth unit according to gate number, and according to proof of identity As a result result of registering is generated;Receive the result of registering of cloud platform feedback;When result expression of registering is registered successfully, bluetooth list is opened The connection permission of member and mobile terminal.
In one embodiment, bill data is that mobile terminal asks to obtain by gate control application to cloud platform; The bill data that request obtains includes the ticket requests time;The bill data obtained is asked, is built in mobile terminal and bluetooth unit It is sent to cloud platform after vertical connection, the ticket requests time being sent in the bill data of cloud platform is updated to gate gate system Time;Updated bill data feeds back to mobile terminal, and is sent to bluetooth unit by bluetooth connection by mobile terminal.
Above-mentioned storage medium establishes bluetooth connection by the bluetooth unit and mobile terminal of gate;It is logical to receive mobile terminal Cross the bill data of bluetooth connection transmission;Bill data is verified;After being verified, then by gate controller control gate The unlatching of door.Gate door is opened in such a way, in addition there is no need to buy one-way ticket or will be by energy such as transportation cards Into braker, as long as the mobile terminal for possessing the Bluetooth function of low-power consumption sends bill data to the lock for being equipped with bluetooth unit Machine, so that it may quickly and easily also improve control gate into braker to substantially reduce the power consumption of mobile terminal to realize The efficiency that door is opened.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Instruct relevant hardware to complete by computer program, program can be stored in a non-volatile computer storage can be read In medium, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, provided herein each Any reference to memory, storage, database or other media used in embodiment, may each comprise it is non-volatile and/ Or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield is all considered to be the range of this specification record.
Only several embodiments of the present invention are expressed for above example, the description thereof is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from present inventive concept, various modifications and improvements can be made, these are all within the scope of protection of the present invention. Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of gate control method, the method includes:
Bluetooth connection is established by the bluetooth unit and mobile terminal of gate;
Receive the bill data that the mobile terminal is sent by the bluetooth connection;
The bill data is verified;
After being verified, the ticket card data in the bill data are sent to the ticket card processing unit of the gate;
By the ticket card processing unit, and generates gate according to the ticket card data and gate data processed;
The gate is gated into data processed and is sent to gate controller;
By the gate controller, the unlatching that data processed control gate door is gated according to the gate.
2. according to the method described in claim 1, it is characterized in that, described verify the bill data, including:
Completeness check is carried out to the bill data;
When the completeness check by when, the bill data is decrypted;
Legitimate verification is carried out to the bill data that decryption obtains.
3. according to the method described in claim 2, it is characterized in that, the bill data progress legitimacy that described pair of decryption obtains is tested Card, including:
Whether the signature for verifying the bill data that the decryption obtains is correct;
If the signature is correct, judge whether the bill data is expired;
If the bill data does not have expired, legitimate verification passes through.
4. according to the method described in claim 1, it is characterized in that, described by the ticket card processing unit, and according to described Ticket card data generate gate and gate data processed, including:
By the ticket card processing unit, the ticket card data are cached;
Receive the card seeking instruction of the gate controller poll of the gate;
It is instructed in response to the card seeking, the card seeking result for caching the ticket card data is shown with to the gate controller feedback form;
Receive the site information that the gate controller is sent in response to the card seeking result;
Gate, which is generated, according to the site information gates data processed.
5. according to the method described in claim 4, it is characterized in that, described generate gate gate number processed according to the site information According to, including:
By the ticket card processing unit, the ticket card data are decrypted;
Validation verification is carried out to the ticket card data after decryption;
When the validation verification by when, gate is generated according to the site information and gates data processed.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
By the bluetooth unit, it is connect with the ticket card processing unit;
Receive the state-detection instruction that the ticket card processing unit is sent;
It is instructed in response to the state-detection, to the normal feedback information of ticket card processing unit feedback states;
Receive the initialization command for carrying gate number that the ticket card processing unit is triggered in response to the feedback information;
In response to the initialization command, the request of registering for carrying the gate and numbering is sent to cloud platform;The request of registering It is used to indicate the cloud platform and proof of identity is carried out to the bluetooth unit according to gate number, and according to proof of identity As a result result of registering is generated;
Receive the result of registering of the cloud platform feedback;When the result expression of registering is registered successfully, the bluetooth list is opened First connection permission with the mobile terminal.
7. method according to any one of claim 1 to 6, which is characterized in that the bill data is described mobile whole End is obtained by gate control application to cloud platform request;The bill data that request obtains includes the ticket requests time;Request The bill data of acquisition is sent to the cloud platform after the mobile terminal and the bluetooth unit establish connection, sends It is updated to gate door control time to the ticket requests time in the bill data of the cloud platform;Updated bill data is anti- It is fed to the mobile terminal, and the bluetooth unit is sent to by the bluetooth connection by the mobile terminal.
8. a kind of gate control device, which is characterized in that described device includes:
Bluetooth connection module establishes bluetooth connection for the bluetooth unit by gate with mobile terminal;
Bill data receiving module, the bill data sent by the bluetooth connection for receiving the mobile terminal;
Bill data authentication module, for being verified to the bill data;
Ticket card data transmission blocks are sent out after being verified to the bill data to the ticket card processing unit of the gate Send the ticket card data in the bill data;
Gate gates data generation module processed, for generating lock by the ticket card processing unit, and according to the ticket card data Gate controls data;
Gate gates data transmission blocks processed, and gate controller is sent to for the gate to be gated data processed;
Gate door opening module, for by the gate controller, gating data processed according to the gate and controlling gate door It opens.
9. a kind of gate, which is characterized in that the gate includes bluetooth unit, ticket card processing unit and gate controller;
The bluetooth unit is used to establish bluetooth connection with mobile terminal;The mobile terminal is received to send out by the bluetooth connection The bill data sent;The bill data is verified;It is single to ticket card processing after being verified to the bill data Member sends the ticket card data in the bill data;
The ticket card processing unit generates gate for receiving the ticket card data, according to the ticket card data and gates data processed; The gate is gated into data processed and is sent to gate controller;
The gate controller gates data processed for receiving the gate, and gates data processed according to the gate and control gate The unlatching of door.
10. a kind of storage medium being stored with computer program, when the computer program is executed by processor so that the place Device is managed to execute such as the step of any one of claim 1 to 7 the method.
CN201810031299.5A 2018-01-12 2018-01-12 Gate control method, device, gate and storage medium Pending CN108460867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810031299.5A CN108460867A (en) 2018-01-12 2018-01-12 Gate control method, device, gate and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810031299.5A CN108460867A (en) 2018-01-12 2018-01-12 Gate control method, device, gate and storage medium

Publications (1)

Publication Number Publication Date
CN108460867A true CN108460867A (en) 2018-08-28

Family

ID=63220653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810031299.5A Pending CN108460867A (en) 2018-01-12 2018-01-12 Gate control method, device, gate and storage medium

Country Status (1)

Country Link
CN (1) CN108460867A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544729A (en) * 2018-10-09 2019-03-29 日立楼宇技术(广州)有限公司 Gate control method, device, computer equipment and storage medium
CN112002049A (en) * 2019-05-08 2020-11-27 腾讯科技(深圳)有限公司 Gate control method, system, gate, server and storage medium
CN113516787A (en) * 2021-04-21 2021-10-19 广州广电运通智能科技有限公司 Automatic ticket checking method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105243689A (en) * 2015-11-13 2016-01-13 广西米付网络技术有限公司 Subway ticket buying and checking system based on Bluetooth technology
CN107146124A (en) * 2017-03-14 2017-09-08 北京中软万维网络技术有限公司 A kind of implementation method, system and the device of electronics one-way ticket
CN206684807U (en) * 2016-11-22 2017-11-28 深圳市微付充科技有限公司 gate and gate system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105243689A (en) * 2015-11-13 2016-01-13 广西米付网络技术有限公司 Subway ticket buying and checking system based on Bluetooth technology
CN206684807U (en) * 2016-11-22 2017-11-28 深圳市微付充科技有限公司 gate and gate system
CN107146124A (en) * 2017-03-14 2017-09-08 北京中软万维网络技术有限公司 A kind of implementation method, system and the device of electronics one-way ticket

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544729A (en) * 2018-10-09 2019-03-29 日立楼宇技术(广州)有限公司 Gate control method, device, computer equipment and storage medium
CN109544729B (en) * 2018-10-09 2020-12-29 日立楼宇技术(广州)有限公司 Gate control method and device, computer equipment and storage medium
CN112002049A (en) * 2019-05-08 2020-11-27 腾讯科技(深圳)有限公司 Gate control method, system, gate, server and storage medium
CN113516787A (en) * 2021-04-21 2021-10-19 广州广电运通智能科技有限公司 Automatic ticket checking method and device, computer equipment and storage medium
CN113516787B (en) * 2021-04-21 2024-02-06 广州广电运通智能科技有限公司 Automatic ticket checking method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN100462987C (en) Method and system for transmitting electronic value information
US20160316367A1 (en) Method and system for secure peer-to-peer mobile communications
US11132664B2 (en) Securing contactless payment performed by a mobile device
MX2014000434A (en) System and method for enabling transactions on an associated network.
US20050283444A1 (en) Transaction & payment system securing remote authentication/validation of transactions from a transaction provider
CN104794613B (en) A kind of mobile device authentication method based on point-of-sale terminal
CN106027250B (en) A kind of ID card information safe transmission method and system
Tamrakar et al. Identity verification schemes for public transport ticketing with NFC phones
CN108460867A (en) Gate control method, device, gate and storage medium
CN104077814B (en) Electronic charging system without parking, equipment, authentication method and method of commerce
CN105354518B (en) Virtual chip card system based on mobile intelligent terminal soft excitation electromagnetic near field mutual inductance
CN112508575B (en) Subway passing brake payment method and system based on digital currency
CN101807318B (en) Mobile communication terminal, automatic transaction device, automatic transaction system and automatic transaction method
US20140316992A1 (en) Method for charging an onboard-unit with an electronic ticket
CN108537536A (en) A kind of method for secure transactions and system based on strategy mark
CN105931048A (en) Electronic signature devices, and trading method and trading system thereof
Dang et al. Pricing data tampering in automated fare collection with NFC-equipped smartphones
US20180240113A1 (en) Determining legitimate conditions at a computing device
JPH10143695A (en) Mutual authentication system, toll receiving system of toll road and mutual authentication method of toll receiving system
CN107548059A (en) A kind of authentication method and system
CN106327183A (en) Data exchange system and method for onsite transaction processing
Dang et al. Large-scale invisible attack on AFC systems with NFC-equipped smartphones
JPH10162176A (en) Automatic ticket examination system
CN115862238A (en) Public transport payment method, payment card and gate device combined with digital RMB
KR20020048926A (en) Settlement method using electronic cash coupled usb connector and rf-chip

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828