CN108074301A - A kind of system of real name method and device of transportation card - Google Patents
A kind of system of real name method and device of transportation card Download PDFInfo
- Publication number
- CN108074301A CN108074301A CN201611005965.5A CN201611005965A CN108074301A CN 108074301 A CN108074301 A CN 108074301A CN 201611005965 A CN201611005965 A CN 201611005965A CN 108074301 A CN108074301 A CN 108074301A
- Authority
- CN
- China
- Prior art keywords
- card
- record
- identification information
- target
- matching
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/20—Individual registration on entry or exit involving the use of a pass
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/349—Rechargeable cards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B11/00—Apparatus for validating or cancelling issued tickets
Abstract
The invention discloses a kind of system of real name method and device of transportation card, this method is mainly used in electronic equipment, and this method includes:For subway station to be matched, the distance between identification and the subway station are less than the cell of setpoint distance threshold value;Record is swiped the card for subway station preserves in setting time length first and each cell preserves second swipes the card record, statistics second, which is swiped the card, record and first swipes the card record, it records the time out of the station and second if first swipes the card and swipes the card and record out difference between the time of entering and be less than setting time threshold value, it is determined that target first swipes the card record and target second swipes the card and is recorded as a matching record;According to the item number of matching record, the identification information match of target user's identification information and target transportation card is determined, so as to think that the user's identification information is User Identity information corresponding to identification information of the transportation card.The problem of this method solve existing inefficiency and cost of labor increase during system of real name.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of system of real name method and devices of transportation card.
Background technology
The current city for realizing transportation card system of real name is simultaneously few, and transportation card is lost, tracks lawless people track in order to prevent
With development smart city, the system of real name of transportation card is of great significance.
And most of method for realizing transportation card system of real name in the prior art is holder is arrived with citizen's effective identity certificate
Appointed place is handled, but has provided substantial amounts of transportation card now, if user does not go to register itself effective identity card, still
It can not realize system of real name;In addition, if realize system of real name, it is also necessary to transportation card is upgraded, workload is bigger, and into
This is higher.
The content of the invention
The present invention provides a kind of system of real name method and device of transportation card, to solve to exist in the prior art transportation card reality
The problem of inefficiency existing for during name system and cost of labor increase.
To solve the above problems, the present invention provides a kind of system of real name method of transportation card, this method includes:
For subway station to be matched, the distance between identification and the subway station are less than the cell of setpoint distance threshold value;
It swipes the card for first that subway station preservation is directed in setting time length and records and protected for each cell
Second deposited is swiped the card record, the identification information for the transportation card that identification described first is swiped the card in record and time out of the station, and is identified
Described second swipe the card record in User Identity information and go out to enter the time;
Statistics second swiping the card and record and include the identification information of target transportation card comprising target user's identification information
First swipe the card record, if target first is swiped the card in record enter the station the time and target second is swiped the card going out the time in record
Between difference be less than setting time threshold value or target second and swipe the card and enter the time in record and target first swipes the card to go out in record
The difference of time of standing is less than setting time threshold value, it is determined that target first swipes the card record and target second swipes the card and is recorded as one
With record;According to the item number that the matching of the identification information of target user's identification information and target transportation card records, determine
The matching times of the identification information of the User Identity information and target transportation card, when the matching times are more than setting
During frequency threshold value, the identification information match of target user's identification information and the target transportation card is determined.
Further, it is described identification described first swipe the card record in transportation card identification information and the time out of the station, and
Identify described second swipe the card record in User Identity information and go out before the time of entering, the method further includes:
For every first record of swiping the card, first transportation card corresponding to identification information for swiping the card transportation card in record is judged
Card number length whether be equal to the first length threshold of setting, if not, this first is swiped the card record deletion;
For every second record of swiping the card, judge that this second is swiped the card and record the length of corresponding User Identity information and be
It is no to be equal to the second length threshold of setting, if not, this second is swiped the card record deletion.
Further, it is described statistics comprising target user's identification information second swipe the card record and comprising target traffic
The first of the identification information of card is swiped the card before record, and the method further includes:
For the identification information of each transportation card recognized, judge that first of the identification information comprising the transportation card is swiped the card
Whether the quantity of record is more than the frequency threshold value of setting, if not, the first of the identification information for recording the transportation card is swiped the card note
Record is deleted;
For each User Identity information recognized, judge that second comprising the user's identification information is swiped the card
Whether the quantity of record is more than the frequency threshold value of setting, swipes the card note if not, the second of the user's identification information will be recorded
Record is deleted.
Further, the identification information match for determining target user's identification information and the target transportation card it
Afterwards, the method further includes:
Determine the identification information of the target transportation card and the matching weight of target user's identification information;
It is weighed according to the matching of the identification information with the matched each target transportation card of target user's identification information
Weight, is ranked up the identification information of each target transportation card.
Further, the identification information for determining the target transportation card and target user's identification information
Matching weight includes:
According to the matching times and the corresponding matching times scope of each weighted value of setting, the matching time is determined
The corresponding matching times scopes of number by the corresponding weighted value of matching times scope, are determined as the mark of the target transportation card
The matching weight of information and target user's identification information.
Further, the identification information for determining the target transportation card and target user's identification information
Matching weight includes:
It identifies in the matching record, target first swipes the card time out of the station in record and target second is swiped the card in record
Go out to enter the time be located at setting first time period first matching record;
According to the item number and the corresponding item number scope of each first weighted value of the described first matching record, the mesh is determined
The identification information of mark transportation card matches weight with the first of target user's identification information.
Further, the identification information for determining the target transportation card and target user's identification information
Matching weight includes:
Calculate the distance of the cell and the subway station corresponding to target user's identification information;
According to the distance and the corresponding distance range of each second weighted value, the mark of the target transportation card is determined
Information matches weight with the second of target user's identification information.
Further, the identification information for determining the target transportation card and target user's identification information
Matching weight includes:
It identifies in the matching record, target first swipes the card time out of the station in record and target second is swiped the card in record
Go out to enter the time be located at setting second time period second matching record, wherein the first time period and second time period
It is different;
According to the item number of the described second matching record and each corresponding article of number scope of 3rd weighted value, the mesh is determined
The identification information of mark transportation card matches weight with the 3rd of target user's identification information.
The present invention provides a kind of system of real name device of transportation card, described device includes:
First identification module for being directed to subway station to be matched, identifies that the distance between described subway station is less than and sets
The cell of set a distance threshold value;
Second identification module is swiped the card record for being directed in setting time length for the subway station preserves first
And swipe the card record for each cell preserves second, identification described first swipe the card the transportation card in recording identification information and into
The outbound time, and identify described second swipe the card record in User Identity information and go out to enter the time;
Determining module is swiped the card for second of statistics comprising target user's identification information and is recorded and comprising target traffic
The first of the identification information of card is swiped the card record, if target first is swiped the card in record enter the station the time and target second is swiped the card record
In time of going out between difference be less than setting time threshold value or target second and swipe the card time and the target first of entering in record
The difference of outbound time in record of swiping the card is less than setting time threshold value, it is determined that target first swipes the card record and target second is swiped the card
It is recorded as a matching record;It is recorded according to the matching of target user's identification information and the identification information of target transportation card
Item number, the matching times of the identification information of target user's identification information and target transportation card are determined, when described
When being more than the frequency threshold value of setting with number, the identification information of target user's identification information and the target transportation card is determined
Matching.
Further, described device further includes:
Filtering module is swiped the card record for being directed to each first, judges the first mark letter for swiping the card transportation card in record
Whether the card number length for ceasing corresponding transportation card is equal to the first length threshold of setting, if not, this first is swiped the card record deletion;
It swipes the card record for each second, judges that this second is swiped the card and record the length of corresponding User Identity information and whether be equal to and set
Fixed second length threshold, if not, this second is swiped the card record deletion.
Further, described device further includes:
Filtering module for being directed to the identification information of each transportation card recognized, judges the mark for including the transportation card
The first of information swipe the card record quantity whether be more than setting frequency threshold value, if not, will record the transportation card mark letter
The first of breath is swiped the card record deletion;For each User Identity information recognized, judge comprising the user's identity
Whether the swipe the card quantity of record of the second of information is more than the frequency threshold value of setting, if not, will record the user identity letter
The second of breath is swiped the card record deletion.
Further, described device further includes:
Weight determination module, for determining that the identification information of the target transportation card is believed with target user's identity
Breath matching weight;
Sorting module, for according to the mark with the matched each target transportation card of target user's identification information
The matching weight of information is ranked up the identification information of each target transportation card.
Further, the weight determination module, specifically for each weighted value according to the matching times and setting
Corresponding matching times scope determines the corresponding matching times scope of the matching times, and the matching times scope is corresponding
Weighted value is determined as the identification information of the target transportation card and the matching weight of target user's identification information.
Further, the weight determination module, specifically for identifying in the matching record, target first is swiped the card record
In time out of the station and target second swipe the card record in go out to enter the time be located at setting first time period first matching
Record;According to the item number and the corresponding item number scope of each first weighted value of the described first matching record, determine that the target is handed over
The identification information of logical card matches weight with the first of target user's identification information.
Further, the weight determination module, specifically for calculating corresponding to target user's identification information
Cell and the subway station distance;According to the distance and the corresponding distance range of each second weighted value, determine described
The identification information of target transportation card matches weight with the second of target user's identification information.
Further, the weight determination module, specifically for identifying in the matching record, target first is swiped the card record
In time out of the station and target second swipe the card record in go out to enter the time be located at setting second time period second matching
Record, wherein the first time period is different from second time period;According to the item number and each 3rd of the described second matching record
The corresponding item number scope of weighted value determines the identification information of the target transportation card and target user's identification information
3rd matching weight.
An embodiment of the present invention provides a kind of system of real name method and device of transportation card, applied to electronic equipment, this method
Including:For subway station to be matched, the distance between identification and the subway station are less than the cell of setpoint distance threshold value;For
It swipes the card in setting time length for the subway station preserves first and records and swipe the card for each cell preserves second
Record, the identification information for the transportation card that identification described first is swiped the card in record and time out of the station, and identify that described second swipes the card
User Identity information in record and go out to enter the time;Statistics second swiping the card note comprising target user's identification information
The first of record and identification information comprising target transportation card is swiped the card record, if target first is swiped the card in record enter the station the time with
The difference that target second was swiped the card between the time of going out in record be less than setting time threshold value or target second swipe the card in record into
Door time and target first difference of outbound time in record of swiping the card are less than setting time threshold value, it is determined that target first is swiped the card note
Record and target second, which are swiped the card, is recorded as a matching record;According to target user's identification information and the mark of target transportation card
Know the item number of the matching record of information, determine the matching time of the identification information of the User Identity information and target transportation card
Number when the matching times are more than the frequency threshold value of setting, determines target user's identification information and the target traffic
The identification information match of card.It is recorded and for each due to swiping the card in the embodiment of the present invention according to preserved for subway station first
What cell preserved second swipes the card record, according to it is each swipe the card record in the temporal information that includes, the user of time conditions will be met
Swipe the card the first record of swiping the card of identification information of record and the corresponding transportation card of transportation card of the second of identification information is determined as
One matching record, according to the item number of matching record, determine User Identity information and transportation card identification information whether
Match somebody with somebody, when the identification information match of User Identity information and transportation card, it is believed that the user's identification information is this
User Identity information corresponding to the identification information of transportation card, it is achieved thereby that transportation card system of real name, saves transportation card liter
The cost of grade, and improve the efficiency of transportation card system of real name.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of the system of real name method for the transportation card that the embodiment of the present invention 1 provides;
Fig. 2 is a record of swiping the card of the transportation card for the identification information containing transportation card that the embodiment of the present invention 2 provides;
Fig. 3 is a record of swiping the card of the access card containing User Identity information that the embodiment of the present invention 2 provides;
Fig. 4 is the matching result schematic diagram that the embodiment of the present invention 3 provides;
Fig. 5 is the structure chart of the system of real name device for the transportation card that the embodiment of the present invention 7 provides;
Fig. 6 is a kind of structure chart of the system of real name device of transportation card provided by the invention.
Specific embodiment
In order to improve the efficiency of transportation card system of real name process, and cost of labor is reduced, an embodiment of the present invention provides one kind
The system of real name method and device of transportation card.
In order to make the object, technical solutions and advantages of the present invention clearer, make below in conjunction with the attached drawing present invention into one
It is described in detail on step ground, it is clear that described embodiment is only the implementation of the part of the embodiment rather than whole of the present invention
Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work
Every other embodiment, belongs to the scope of protection of the invention.
Embodiment 1:
Fig. 1 is the schematic diagram of the system of real name method of transportation card provided in an embodiment of the present invention, and this method comprises the following steps:
S101:For subway station to be matched, the distance between identification and the subway station are less than setpoint distance threshold value
Cell.
The system of real name method of transportation card provided in an embodiment of the present invention is applied to electronic equipment, and the electronic equipment can be
PC, laptop etc. can carry out the electronic equipment of data operation.The electronic equipment preserves the data message of subway station
With the data message of cell, the data message of subway station includes the identification information of subway station and the first geographical location letter of subway station
Breath, the data message of cell includes the identification information of cell and the second geographical location information of cell, wherein described first is geographical
Location information and second geographical location information can be latitude and longitude information, and the wherein identification information of cell and subway station can be with
It is corresponding title or the information such as unique identification cell and the number of subway station.
When for the system of real name of transportation card, carried out for each transportation card that there is record of swiping the card in each subway station,
Therefore each subway station is identified first in embodiments of the present invention, successively using each subway station as subway station to be matched.When
After subway station to be matched is determined, because the first geographical location information of the subway station is understood, and protect in the electronic device
There is the distance threshold of setting, can certain be determined according to first geographical location information and the distance threshold of the setting
With scope.According to the second geographical location information of each cell, identification is located at the cell in the matching range.
Specifically, the second geographical location information of the cell preserved in electronic equipment, can be using each cell as one
A, which can be the specific location information of the point.In order to accurate, the second of the cell of preservation
Geographical location information can also be the location information of the cell location, that is to say, that it is for the preservation of each cell is second
Geographical location information is multiple location informations, the scope according to where the plurality of location information can determine the cell.
It, can be directly according to the position of the point when the second geographical location information of the cell is the location information of point
Information, identifies whether the corresponding point of the cell is located in matching range.If the second geographical location information of the cell is multiple
During location information, if the area that the cell is located in the matching range is more than the cell occupied area 50%, then it is assumed that this is small
When the area that area is located in the matching range or in the matching range is more than the threshold value of setting, then it is assumed that the small position
In in the matching range.
S102:It swipes the card and records and for each small for first that subway station preservation is directed in setting time length
What area preserved second swipes the card record, identification described first swipe the card the transportation card in recording identification information and the time out of the station, and
Identify described second swipe the card record in User Identity information and go out to enter the time.
Swiping the card for the transportation card of the identification information containing transportation card is preserved in the electronic equipment and records and contain user
The record of swiping the card of the access card of identification information, every record of swiping the card of transportation card include:The identification information of transportation card, disengaging
State, the state of standing correspond to time, the identification information of subway station, and the wherein identification information of the subway station can be the name of subway station
Claim, the status indicator out of the station record of swiping the card enters the station or outbound, which corresponds to the time, if entering the station, then to enter the station
Time is then the outbound time if outbound;The record of swiping the card of every of access card includes:User Identity information goes out to enter
State, the state correspond to the identification information of time and cell, and the wherein identification information of the cell can be the title of the cell, use
Family identification information is the identification information of access card, and the inlet/outlet status indicator record of swiping the card enters or gos out, the shape
State corresponds to the time, is then the time of entering if entering, and is then the time of going out if going out.
Determine subway station to be matched and between the subway station distance be less than setpoint distance threshold value cell after, for
Charge time, i.e., the out of the station or time that goes out to enter is located at the record of swiping the card in the setting time length, according to the mark of the subway station
Know the identification information of information and each cell, bag is searched in the record of swiping the card of the transportation card of the identification information containing transportation card
First of identification information containing the subway station is swiped the card record, and searches the note of swiping the card of the access card containing User Identity information
Second of the identification information comprising respective cell is swiped the card record in record.The setting time length can be half a year, 10 months, one
Year, 2 years etc..
First according to finding record and second of swiping the card is swiped the card record, the mark for the identification transportation card in record of swiping the card first
Know information and time out of the station, and identify User Identity information in swiping the card and record second and go out to enter the time.
S103:Statistics second swiping the card and record and include the mark of target transportation card comprising target user's identification information
The first of information is swiped the card record, if target first is swiped the card in record enter the station the time and target second is swiped the card going out in record
It enters the time in difference between time is less than setting time threshold value or target second is swiped the card record and target first is swiped the card record
In the difference of outbound time be less than setting time threshold value, it is determined that target first swipes the card record and target second swipes the card and is recorded as one
Item matching record;According to the item number that record is matched in the identification information of target user's identification information and target transportation card,
It determines the matching times of the identification information of the User Identity information and target transportation card, is set when the matching times are more than
During fixed frequency threshold value, the identification information match of target user's identification information and the target transportation card is determined.
Because exist in subway station the transportation card of the identification information containing transportation card for record of swiping the card have it is multiple, and small
Area exist swipe the card record the access card containing User Identity information also have it is multiple, when have identified first swipe the card record and
Second swipes the card after record, the corresponding User Identity information of identification information and access card for each transportation card, and identification is every
Whether the identification information of a User Identity information and each transportation card matches.Specifically for each User Identity
When the identification information of information and each transportation card is matched, using User Identity information to be matched as target user's body
Part identification information, using the identification information of transportation card to be matched as the identification information of target transportation card, statistics is used comprising target
The second of family identification information, which is swiped the card, the first of record and identification information comprising target transportation card swipes the card record.
Because the distance between subway station and cell are no more than the distance threshold of setting, the user in cell should be able to
It is gone on a journey by nearest subway station, duration of the user from cell to subway station or the duration from subway station to cell, according to this
Distance threshold is general it was determined that therefore can the duration be set as time threshold.Such as when distance threshold is 2 kilometers,
Time threshold can be 30 minutes, so if a certain second swipe the card record in enter the time and a certain first swipe the card record in go out
The difference of time of standing is less than 30 minutes or a certain first swipe the card time and a certain second of entering the station in record swiped the card in record when going out
Between difference be less than 30 minutes, then first record of swiping the card is determined as target first and swiped the card record, this second is swiped the card record
It is determined as target second to swipe the card record, the target first is swiped the card into record and the record of swiping the card of target second is recorded as a matching note
Record.According to the item number that record is matched in the setting time length, the identification information of the target transportation card and target user's body are determined
The matching times of part identification information.
In embodiments of the present invention in order to realize the system of real name of transportation card, it should first determine the corresponding user identity of access card
Whether the identification information of identification information and the corresponding transportation card of transportation card matches, and can preset frequency threshold value, such as this sets
When fixed time span is 1 year, which can be that 60 times or 65 are inferior, if the identification information of target transportation card
It is more than the frequency threshold value of the setting with the matching times of target user's identification information, it is determined that the mark of the target transportation card
Information and the matching of target user's identification information, otherwise, it determines the identification information of target transportation card and target user's identity mark
Know information to mismatch.
Due to being directed to each subway station in the embodiment of the present invention, it is determined that with the subway station in setpoint distance threshold range
Cell, the user in cell in the distance threshold generally rides nearby, therefore there is note of swiping the card according in the subway station
Each transportation card of record and there is the access card of record of swiping the card in cell, when a certain swipe the card record and the transportation card of access card
When going out to enter with time interval out of the station less than setting time threshold value in a certain record of swiping the card, it is determined that the access card is corresponding
The identification information of User Identity information and transportation card is there are a matching record, according to the user's body in setting time length
The item number of the matching record of the identification information of part identification information and transportation card determines the user's identification information and transportation card
The matching times of identification information, if the matching times are more than the frequency threshold value of setting, it is determined that the user's identification information
With the identification information match of transportation card, therefore when the identification information match of User Identity information and transportation card, can recognize
It is User Identity information corresponding to identification information of the transportation card for the user's identification information, it is achieved thereby that traffic
Card system of real name, saves the cost of traffic card upgrade, and improves the efficiency of transportation card system of real name.
Embodiment 2:
The identification information of transportation card included because the error of data record in record of swiping the card and the corresponding user of access card
Identification information may be incorrect, and the identification information and User Identity information of incorrect transportation card are to final
Determining with relation is nonsensical, therefore in order to reduce calculation amount, matched efficiency is improved, on the basis of the various embodiments described above
On, in the embodiment of the present invention, it is described identification described first swipe the card record in transportation card identification information and the time out of the station, and
Identify described second swipe the card record in User Identity information and go out before the time of entering, the method further includes:
For every first record of swiping the card, first transportation card corresponding to identification information for swiping the card transportation card in record is judged
Card number length whether be equal to the first length threshold of setting, if not, this first is swiped the card record deletion;
For every second record of swiping the card, judge that this second is swiped the card and record the length of corresponding User Identity information and be
It is no to be equal to the second length threshold of setting, if not, this second is swiped the card record deletion.
Because the card number length of transportation card is fixed, and the length of the corresponding identification card number of each access card is also fixed
, if the card number length of the first transportation card swiped the card in record is incorrect or second swipes the card and record corresponding identification card number
Length is incorrect, then it will not bring subsequent matching process any contribution.Therefore in order to reduce the calculating of Data Matching
Amount, improves matched efficiency, swipes the card record and for found in setting time length first in embodiments of the present invention
Two, which swipe the card, records progress data processing.
The process of wherein described data processing is:Described first is swiped the card to record to swipe the card with described second and records deposit
In hbase (Hadoop Database, distributed computational data storehouse);The length for getting rid of corresponding identification card number is not 18
Second swipe the card record, and get rid of the traffic card number length of record for 16 first is swiped the card record.
First is swiped the card to record and is separated according to the identification information of the subway station of its record, is stored in respectively in hbase.And
Second is swiped the card to record and is distinguished according to the identification information of the cell of its record, is deposited into respectively in hbase.
Fig. 2 is one first record of swiping the card after data processing, and shown in Fig. 2 first, which swipes the card, records includes successively:
Traffic card number cardnum:5100000316164170th, the identification information station of subway station:White clouds Cultural Square, it is out of the station
State inout:Outbound, the corresponding time time of the state:20160302185107, i.e., the outbound time is on March 2nd, 2016
18:51:07, in addition, this first swipe the card record in also include subway station inlet and outlet identification information gatenum:3028, multiply
The subway line line of seat:The information such as No. two lines.
Fig. 3 is one second record of swiping the card after data processing, and shown in Fig. 3 second, which swipes the card, records includes successively:
Identification card number papernum:42272420062470673rd, the cell address buildingall where access card:Tea hill South Street 43
Number A201 rooms go out into door state inout:1, that is, it gos out, the corresponding time inout time of the state:2016/3/11 17:22:
38, that is, the time of going out is 11 days 17 March in 2016:22:38, in addition, this second swipe the card record in also include access card
Room information buildingname:Rooms 201, identification card number owner name person name:Gao Wenjie, access card place are small
The affiliated local police station's information police in area:101, disengaging cell is swiped the card position position:Baiyun District, Guangzhou City Taihe county Zhen great Yuan villages
The A acquiescences gate of tea hill South Street 43, state of swiping the card status:0, that is, it gos out.To ensure user privacy information safety, Fig. 3 institutes
Second shown swipe the card record in identification card number for simulation data value.
Because in embodiments of the present invention as the identification information for determining a certain transportation card and of User Identity information
When being more than the frequency threshold value of setting with number, just determine that the identification information of the transportation card is matched with the user's identification information.
It swipes the card so if the identification information comprising transportation card or User Identity information in the time span of the setting are total
The quantity of record is less than the frequency threshold value, then can directly determine None- identified to the identification information with the transportation card or user's body
Part User Identity information of identification information match or the identification information of transportation card.
Therefore in order to further reduce matched calculation amount, in embodiments of the present invention, the statistics includes target user
The second of identification information, which is swiped the card, the first of record and identification information comprising target transportation card swipes the card before record, the side
Method further includes:
For the identification information of each transportation card recognized, judge that first of the identification information comprising the transportation card is swiped the card
Whether the quantity of record is more than the frequency threshold value of setting, if not, the first of the identification information for recording the transportation card is swiped the card note
Record is deleted;
For each User Identity information recognized, judge that second comprising the user's identification information is swiped the card
Whether the quantity of record is more than the frequency threshold value of setting, swipes the card note if not, the second of the user's identification information will be recorded
Record is deleted.
It needs to carry out data screening to the record of swiping the card in the setting time length in embodiments of the present invention, wherein described
The process of data screening is:The described second User Identity information and described first swiped the card in record is extracted to swipe the card in record
The identification information of transportation card generate independent text file, and for each transportation card and access card, kept records of the friendship
The record and second of swiping the card of the first of the identification information of logical card and access card is swiped the card record, and the identification information of the wherein access card is
User Identity information;It swipes the card for each User Identity information, second when record the user's identification information
When the item number of record is no more than the first frequency threshold value set, the user's identification information is deleted, and record is had into the use
Each the second of family identification information is swiped the card record deletion, and for the identification information of each transportation card, when recording the traffic
The first of the identification information of card swipe the card record item number no more than setting the second frequency threshold value when, the mark of the transportation card is believed
Breath is deleted, and will be recorded each the first of the identification information for having the transportation card and be swiped the card record deletion, wherein the first frequency threshold value and
Second frequency threshold value can be equal, can not also wait, and first frequency threshold value and the second frequency threshold value can be set with above-mentioned
Fixed frequency threshold value is equal, can not also wait.
The embodiment of the present invention is swiped the card record in second of statistics comprising the corresponding User Identity information of target access card
And first of the identification information comprising target transportation card is swiped the card before record, and described first in setting time length is swiped the card note
Record and the described second record of swiping the card carry out data processing and screening, and described first after processing and screening is swiped the card record and described
Second record of swiping the card is matched, and can effectively be shielded the influence that invalid data is brought, be reduced the quantity of Data Matching, is improved
Matched efficiency, and ensure that the accuracy of matching result to a certain extent.
Embodiment 3:
On the basis of the various embodiments described above of the present invention, in order to reduce the blindness for searching matching result, the present invention is implemented
Example is after the identification information match for determining target user's identification information with the target transportation card, and the method is also
Including:
Determine the identification information of the target transportation card and the matching weight of target user's identification information;
It is weighed according to the matching of the identification information with the matched each target transportation card of target user's identification information
Weight, is ranked up the identification information of each target transportation card.
Weight is an opposite concept, is for a certain index.The weight of a certain index refers to the index whole
Relative importance in body evaluation, can be such that matching result is more accurately directed to by matching weight to balance matching result
Property, and by being ranked up to matching weight to the identification information of the target transportation card, it can to search matching result
Blindness reduces.So the identification information of the target transportation card and target user's body can be determined in the embodiment of the present invention
The matching weight of part identification information, is ranked up the identification information of each target transportation card according to the matching weight, so that
User is more intuitively presented to result.
The matching weight of the identification information and target user's identification information for determining the target transportation card
Including:
According to the matching times and the corresponding matching times scope of each weighted value of setting, the matching time is determined
The corresponding matching times scopes of number by the corresponding weighted value of matching times scope, are determined as the mark of the target transportation card
The matching weight of information and target user's identification information.
When the identification information of target transportation card and target user's identification information are matched, if target traffic
The identification information of card and the matching times of target user's identification information are relatively more, illustrate the mark letter of target transportation card
Breath is higher with target user's identification information matching degree, therefore in order to determine each traffic in the embodiment of the present invention
The matching degree of the identification information of card and each User Identity information, the weight for each matching times range set
Value.
For example, it can be set in 1 year when matching times not less than 40 times and less than 60 times when corresponding weighted value be
0.2, corresponding weighted value is 0.6 when matching times are not less than 60 times and less than 80 times, when matching times not less than 80 times and
Corresponding weighted value is 0.9 during less than 100 times, and corresponding weighted value is 1.0 when matching times are more than 100 times, such as a certain
It is right when the matching times of the identification information of target transportation card and a certain target user's identification information in 1 year are 92 times
The weighted value answered is 0.9.
Fig. 4 is that the mark of each transportation card provided in an embodiment of the present invention with a certain User Identity information matches is believed
The ranking results of breath, first parameter of every record is User Identity information in Fig. 4, and second parameter is transportation card
Identification information, the 3rd parameter are the matching times of the two, and the 4th parameter is matching weight.By taking the first data as an example, the
One parameter, that is, User Identity information is 431122200406160073, the identification information of second parameter, that is, transportation card
For 5100000918415166, the 3rd parameter, that is, matching times are 25, and it is 1.0 that the 4th parameter, which matches weight, to ensure
User privacy information is safe, and User Identity information is the data value of simulation in Fig. 4.
Since the embodiment of the present invention by described determines the corresponding User Identity information of the target access card and the target
On the basis of the identification information match result of the corresponding transportation card of transportation card, according to matched every with target user's identity information
The matching weight of the identification information of a target transportation card is ranked up the identification information of each target transportation card, for sequence
As a result the identification information of each transportation card and the matching degree of the User Identity information can be determined, reduce and search matching
As a result blindness.
Embodiment 4:
On the basis of the various embodiments described above of the present invention, in order to reduce the blindness for searching matching result, the present invention is implemented
Determine that the identification information of the target transportation card and the matching weight of target user's identification information include described in example:
It identifies in the matching record, target first swipes the card time out of the station in record and target second is swiped the card in record
Go out to enter the time be located at setting first time period first matching record;
According to the item number and the corresponding item number scope of each first weighted value of the described first matching record, the mesh is determined
Mark User Identity information matches weight with the first of the identification information of the target transportation card.
Because generally on peak on and off duty, user generally can arrive the subway station nearest apart from family, and to take subway on and off duty,
Therefore described first generated within the period of peak period on and off duty swipes the card to record to swipe the card to record with described second and more concentrate,
And the system of real name to realizing transportation card is more efficient.Therefore the embodiment of the present invention can be by 6 points to 9 points working peak periods of the morning
First time period is set to 5 points to the 9 points peak period periods of coming off duty of afternoon, and the first weight is set for the first time period
It is worth corresponding item number scope.
Such as it is described matching record in, identification target first swipe the card record in time out of the station and the second target swipe the card
First matching record strip number is not less than 40 by the first matching record that the time that goes out to enter in record is located in the first time period
The matching result of item, the weighted value for determining the User Identity information and the identification information of the target transportation card is 0.4.
Since the record and second of swiping the card of described first in selection is relatively concentrated in the embodiment of the present invention period is swiped the card note
Record is matched, and is provided according to the matching record in the first time period of setting not less than the corresponding item of the first weighted value
Number scope, determines that target user's identification information matches weight with the first of the identification information of the target transportation card,
It is higher that target user's identification information with the first of the identification information of the target transportation card matches weight, determines target
User Identity information and the matching degree of the identification information of the target transportation card are higher so that target user's identity
The matching result of identification information and the identification information of the target transportation card is more accurate, so that the system of real name knot of subway card
Fruit is more accurate.
Embodiment 5:
On the basis of each above-described embodiment of the present invention, in order to reduce the blindness for searching matching result, the present invention is implemented
The example identification information for determining the target transportation card and the matching weight of target user's identification information include:
Calculate the distance of the cell and the subway station corresponding to target user's identification information;
According to the distance and the corresponding distance range of each second weighted value, target user's identity is determined
Information matches weight with the second of the identification information of the target transportation card.
Because when user has trip to need, the user in the cell should be able to arrive nearest subway station and take ground
Iron, therefore cell and subway station distance are nearer, user in cell to subway station probability of swiping the card is bigger, cell generation
Second swipes the card, and record and subway station generate that the first record matching degree of swiping the card is higher, and to realizing the system of real name of transportation card more
Added with effect.
Therefore the embodiment of the present invention can be directed to the distance between cell and subway station, be set according to different distance ranges
Different weighted value, for example, if cell and subway station distance within 500 meters, then corresponding second weight is 0.6, if small
Area and subway station distance are in the range of 500 meters to 1000 meters, then corresponding second weight is 0.4, if cell and subway station
Distance is in the range of 1500 meters to 1000 meters, then corresponding second weight is 0.3, if cell and subway station distance are 2000
Rice is in the range of 1500 meters, then corresponding second weight is 0.2.
By being provided in the embodiment of the present invention according to the cell corresponding to target user's identification information and institute
The distance of subway station is stated no more than the corresponding distance range of the second weighted value, determines target user's identity and the mesh
The second matching weight of the identification information of transportation card is marked, target user's identity and the mark of the target transportation card are believed
Second matching weight of breath is higher, determines target user's identification information and the matching of the identification information of the target transportation card
Degree is higher so that the matching result of the identification information of target user's identification information and the target transportation card is more
Accurately, so that the system of real name result of subway card is more accurate.
Embodiment 6:
On the basis of the various embodiments described above of the present invention, in order to reduce the blindness for searching matching result, the present invention is implemented
Example is described to determine that the target transportation card and the matching weight of target user's identification information include:
It identifies in the matching record, target first swipes the card time out of the station in record and target second is swiped the card in record
Go out to enter the time be located at setting second time period second matching record, wherein the first time period and second time period
It is different;
According to the item number of the described second matching record and each corresponding article of number scope of 3rd weighted value, the mesh is determined
Mark User Identity information matches weight with the 3rd of the target transportation card.
Because if when having trip requirements in festivals or holidays at weekend, user generally can arrive the subway station nearest apart from family and multiply
It goes on a journey by the subway, therefore described first generated within the period of festivals or holidays at weekend record and described second of swiping the card is swiped the card record
Matching degree it is higher, and to realize transportation card system of real name it is more efficient.Therefore the embodiment of the present invention can be by all minor details
The period of holiday is set to second time period, such as in the matching record, and identification target first is swiped the card the disengaging in record
It stands the time and the second matching that time that goes out to enter that the second target is swiped the card in record is located in the second time period records, by second
Matching result of the matching record strip number not less than 32 determines the mark of the User Identity information and the target transportation card
The weighted value for knowing information is 0.2.
Due to selecting described first in specific weekend holiday time section to swipe the card record and the in the embodiment of the present invention
Two records of swiping the card are matched, and are provided according to the matching record in the second time period of setting not less than the 3rd weighted value
Corresponding item number scope determines the 3rd of the identification information of target user's identification information and the target transportation card
With weight, it is higher that target user's identification information with the 3rd of the identification information of the target transportation card matches weight,
Determine that target user's identification information and the matching degree of the identification information of the target transportation card are higher so that the target
User Identity information and the matching result of the identification information of the target transportation card are more accurate, so that subway card
System of real name result is more accurate.
It, can be right according to each matching weight determined in any of the above-described embodiment in the basis of the embodiment of the present invention
It is ranked up with the identification information of the matched target transportation card of target user's identification information, naturally it is also possible to according to above-mentioned
Any two, the sum for the matching weight that three or whole embodiments determine pair are matched with target user's identification information
The identification information of target transportation card be ranked up.
The multiple matching weights determined due to considering multiple matching conditions in the embodiment of the present invention, are weighed according to multiple matchings
Each target transportation card is ranked up again, can determine that each transportation card is believed with the User Identity for ranking results
The matching degree of breath so that matching result is more accurate, and so that the result of transportation card system of real name is more accurate, so that ground
The system of real name result of iron card is more accurate.
Embodiment 7:
Fig. 5 is the structure chart of the system of real name device of transportation card provided in an embodiment of the present invention, applied to electronic equipment, the dress
Put including:
First identification module 51 for being directed to subway station to be matched, identifies that the distance between described subway station is less than
The cell of setpoint distance threshold value;
Second identification module 52 is swiped the card note for being directed in setting time length for the subway station preserves first
Record and swipe the card record for each cell preserves second, identification described first swipe the card the transportation card in recording identification information and
Time out of the station, and identify described second swipe the card record in User Identity information and go out to enter the time;
Determining module 53 swipes the card for second of statistics comprising target user's identification information and records and handed over comprising target
The first of the identification information of logical card is swiped the card record, if target first swipe the card in recording enter the station the time and target second is swiped the card note
Time and the target of entering in the difference between time of going out in record is less than setting time threshold value or target second is swiped the card record the
One difference of outbound time in record of swiping the card is less than setting time threshold value, it is determined that target first swipes the card record and target second is brushed
Card is recorded as a matching record;Remember according to being matched in the identification information of target user's identification information and target transportation card
The item number of record determines the identification information of the target transportation card and the matching times of target user's identification information, when described
When matching times are more than the frequency threshold value of setting, determine that the corresponding User Identity information of the target access card is handed over the target
The identification information match of logical card.
Fig. 6 is the structure chart of the system of real name device of transportation card provided in an embodiment of the present invention, on the basis of Fig. 5, the dress
It puts and further includes:
Filtering module 61 is swiped the card record for being directed to each first, judges first mark for swiping the card transportation card in record
Whether the card number length of the corresponding transportation card of information is equal to the first length threshold of setting, if not, first record of swiping the card is deleted
It removes;Swipe the card record for each second, judge this second swipe the card record corresponding User Identity information length whether etc.
In setting the second length threshold, if not, this second is swiped the card record deletion.
The device further includes:
Filtering module 61 for being directed to the identification information of each transportation card recognized, judges the mark for including the transportation card
The frequency threshold value whether the first of the information quantity for swiping the card record is more than setting is known, if not, the mark that the transportation card will be recorded
The first of information is swiped the card record deletion;For each User Identity information recognized, judge comprising the user's identity mark
Know whether the second of the information quantity for swiping the card record is more than the frequency threshold value of setting, if not, the user's identity will be recorded
The second of information is swiped the card record deletion.
The device further includes:
Weight determination module 62, for determining the identification information of the target transportation card and target user's identity
The matching weight of information.
The device further includes:
Sorting module 63, for according to the mark with the matched each target transportation card of target user's identification information
Know the matching weight of information, the identification information of each target transportation card is ranked up.
The device further includes:
The weight determination module 62, it is corresponding specifically for each weighted value according to the matching times and setting
Matching times scope determines the corresponding matching times scope of the matching times, by the corresponding weighted value of matching times scope,
It is determined as the identification information of the target transportation card and the matching weight of target user's identification information.
The device further includes:
The weight determination module 62, specifically for identify it is described matching record in, target first swipe the card record in into
Outbound time and target second swipe the card record in go out to enter the time be located at setting first time period first matching record;Root
According to the item number and the corresponding item number scope of each first weighted value of the described first matching record, target user's identity is determined
Identification information matches weight with the first of the identification information of the target transportation card.
The device further includes:
The weight determination module 62, specifically for calculating the cell corresponding to the target access card and the subway station
Distance;According to the distance and the corresponding distance range of each second weighted value, target user's identity letter is determined
Breath matches weight with the second of the identification information of the target transportation card.
The device further includes:
The weight determination module 62, specifically for identify it is described matching record in, target first swipe the card record in into
Outbound time and target second swipe the card record in go out to enter the time be located at setting second time period second matching record,
Described in first time period it is different from second time period;According to the item number of the described second matching record and each 3rd weighted value
Corresponding item number scope determines the 3rd of the identification information of target user's identification information and the target transportation card
With weight.
An embodiment of the present invention provides a kind of system of real name method and device of transportation card, applied to electronic equipment, this method
Including:For subway station to be matched, the distance between identification and the subway station are less than the cell of setpoint distance threshold value;For
It swipes the card in setting time length for the subway station preserves first and records and swipe the card for each cell preserves second
Record, the identification information for the transportation card that identification described first is swiped the card in record and time out of the station, and identify that described second swipes the card
User Identity information in record and go out to enter the time;Statistics second swiping the card note comprising target user's identification information
The first of record and identification information comprising target transportation card is swiped the card record, if target first is swiped the card in record enter the station the time with
The difference that target second was swiped the card between the time of going out in record be less than setting time threshold value or target second swipe the card in record into
Door time and target first difference of outbound time in record of swiping the card are less than setting time threshold value, it is determined that target first is swiped the card note
Record and target second, which are swiped the card, is recorded as a matching record;According to target user's identification information and the mark of target transportation card
Know the item number of the matching record of information, determine the matching time of the identification information of the User Identity information and target transportation card
Number when the matching times are more than the frequency threshold value of setting, determines the corresponding User Identity information of the target access card
With the identification information match of the target transportation card.Due to swiping the card note according to preserved for subway station first in the embodiment of the present invention
Record and swipe the card record for each cell preserves second, according to it is each swipe the card record in the temporal information that includes, during by meeting
Between condition the corresponding User Identity information of access card the second mark for swiping the card record and the corresponding transportation card of transportation card
The first of information swipe the card record be determined as one matching record, according to matching record item number, determine User Identity information
Whether match with the identification information of transportation card, when the identification information match of User Identity information and transportation card, can recognize
It is User Identity information corresponding to identification information of the transportation card for the user's identification information, it is achieved thereby that traffic
Card system of real name, saves the cost of traffic card upgrade, and improves the efficiency of transportation card system of real name.
For systems/devices embodiment, since it is substantially similar to embodiment of the method, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
It selects embodiment and falls into all change and modification of the application scope.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (16)
1. a kind of system of real name method of transportation card, which is characterized in that applied to electronic equipment, this method includes:
For subway station to be matched, the distance between identification and the subway station are less than the cell of setpoint distance threshold value;
Swipe the card what is recorded and preserved for each cell for first that subway station preservation is directed in setting time length
Second swipes the card record, the identification information for the transportation card that identification described first is swiped the card in record and time out of the station, and described in identifying
Second swipe the card record in User Identity information and go out to enter the time;
Statistics second swipes the card the of record and identification information comprising target transportation card comprising target user's identification information
One swipes the card record, and the time is entered the station between time of going out that target second is swiped the card in record in record if target first is swiped the card
Difference be less than setting time threshold value or target second and swipe the card and enter the time in record and when target first swipes the card outbound in record
Between difference be less than setting time threshold value, it is determined that target first, which swipes the card record, and target second is swiped the card is recorded as a matching note
Record;According to the item number that the matching of the identification information of target user's identification information and target transportation card records, determine described
The matching times of the identification information of User Identity information and target transportation card, when the matching times are more than the number of setting
During threshold value, the identification information match of target user's identification information and the target transportation card is determined.
2. the method as described in claim 1, which is characterized in that it is described identification described first swipe the card record in transportation card mark
Know information and time out of the station, and identify described second swipe the card the User Identity information in record and go out to enter the time it
Before, the method further includes:
For every first record of swiping the card, judge this first swipe the card transportation card in record transportation card corresponding to identification information card
Whether number length is equal to the first length threshold of setting, if not, this first is swiped the card record deletion;
For every second record of swiping the card, judge this second swipe the card record corresponding User Identity information length whether etc.
In setting the second length threshold, if not, this second is swiped the card record deletion.
3. method as claimed in claim 1 or 2, which is characterized in that the statistics includes target user's identification information
Second, which swipes the card, the first of record and identification information comprising target transportation card swipes the card before record, and the method further includes:
For the identification information of each transportation card recognized, judge that first of the identification information comprising the transportation card swipes the card record
Quantity whether be more than the frequency threshold value of setting, if not, the first of the identification information for recording the transportation card the record of swiping the card is deleted
It removes;
For each User Identity information recognized, judge that second comprising the user's identification information swipes the card record
Quantity whether be more than the frequency threshold value of setting, if not, the second record of swiping the card that will record the user's identification information is deleted
It removes.
4. the method as described in claim 1, which is characterized in that described to determine target user's identification information and the target
After the identification information match of transportation card, the method further includes:
Determine the identification information of the target transportation card and the matching weight of target user's identification information;
It is right according to the matching weight of the identification information with the matched each target transportation card of target user's identification information
The identification information of each target transportation card is ranked up.
5. method as claimed in claim 4, which is characterized in that it is described determine the target transportation card identification information with it is described
The matching weight of target user's identification information includes:
According to the matching times and the corresponding matching times scope of each weighted value of setting, the matching times pair are determined
The matching times scope answered by the corresponding weighted value of matching times scope, is determined as the identification information of the target transportation card
With the matching weight of target user's identification information.
6. method as claimed in claim 4, which is characterized in that it is described determine the target transportation card identification information with it is described
The matching weight of target user's identification information includes:
Identify it is described matching record in, target first swipe the card record in time out of the station and target second swipe the card record in going out
Enter the time be located at setting first time period first matching record;
According to the item number and the corresponding item number scope of each first weighted value of the described first matching record, determine that the target is handed over
The identification information of logical card matches weight with the first of target user's identification information.
7. the method as described in claim 4 or 6, which is characterized in that it is described determine the target transportation card identification information with
The matching weight of target user's identification information includes:
Calculate the distance of the cell and the subway station corresponding to target user's identification information;
According to the distance and the corresponding distance range of each second weighted value, the identification information of the target transportation card is determined
Weight is matched with the second of target user's identification information.
8. the method for claim 7, which is characterized in that it is described determine the target transportation card identification information with it is described
The matching weight of target user's identification information includes:
Identify it is described matching record in, target first swipe the card record in time out of the station and target second swipe the card record in going out
Enter the time be located at setting second time period the second matching record, wherein the first time period and second time period are not
Together;
According to the item number of the described second matching record and each corresponding article of number scope of 3rd weighted value, determine that the target is handed over
The identification information of logical card matches weight with the 3rd of target user's identification information.
9. the system of real name device of a kind of transportation card, which is characterized in that applied to electronic equipment, described device includes:
First identification module, for being directed to subway station to be matched, the distance between identification and described subway station be less than setting away from
Cell from threshold value;
Second identification module is swiped the card record and pin for being directed in setting time length for the subway station preserves first
It swipes the card record to each cell preserves second, identification described first is swiped the card the identification information of the transportation card in recording and out of the station
Time, and identify described second swipe the card record in User Identity information and go out to enter the time;
Determining module is swiped the card for second of statistics comprising target user's identification information and is recorded and comprising target transportation card
The first of identification information is swiped the card record, if target first is swiped the card in record enter the station the time and target second is swiped the card in record
It enters the time in the difference between the time of going out is less than setting time threshold value or target second is swiped the card record and target first is swiped the card
The difference of outbound time is less than setting time threshold value in record, it is determined that target first swipes the card record and target second is swiped the card record
For a matching record;The item recorded according to the matching of the identification information of target user's identification information and target transportation card
Number determines the matching times of the identification information of target user's identification information and target transportation card, when the matching time
When number is more than the frequency threshold value set, the identification information of target user's identification information and the target transportation card is determined
Match somebody with somebody.
10. device as claimed in claim 9, which is characterized in that described device further includes:
Filtering module is swiped the card record for being directed to each first, judges first identification information pair for swiping the card transportation card in record
Whether the card number length for the transportation card answered is equal to the first length threshold of setting, if not, this first is swiped the card record deletion;For
Each second swipes the card record, judges that this second is swiped the card and record the length of corresponding User Identity information and whether be equal to setting the
Two length thresholds, if not, this second is swiped the card record deletion.
11. the device as described in claim 9 or 10, which is characterized in that described device further includes:
Filtering module for being directed to the identification information of each transportation card recognized, judges the identification information for including the transportation card
The first quantity for swiping the card record whether be more than the frequency threshold value of setting, if not, by the identification information for recording the transportation card
First swipes the card record deletion;For each User Identity information recognized, judge comprising the user's identification information
The second quantity for swiping the card record whether be more than the frequency threshold value of setting, if not, the user identification information will be recorded
Second swipes the card record deletion.
12. device as claimed in claim 9, which is characterized in that described device further includes:
Weight determination module, for determining the identification information of the target transportation card and target user's identification information
With weight;
Sorting module, for according to the identification information with the matched each target transportation card of target user's identification information
Matching weight, the identification information of each target transportation card is ranked up.
13. device as claimed in claim 12, which is characterized in that the weight determination module, specifically for according to described
The corresponding matching times scope of each weighted value with number and setting, determines the corresponding matching times model of the matching times
It encloses, by the corresponding weighted value of matching times scope, is determined as the identification information of the target transportation card and the target user
The matching weight of identification information.
14. device as claimed in claim 12, which is characterized in that the weight determination module, specifically for identifying described
With in record, the time that goes out to enter in target first swipes the card time out of the station in record and target second is swiped the card record, which is located at, to be set
First matching record of fixed first time period;It is corresponded to according to the item number of the described first matching record and each first weighted value
Item number scope, determine that the identification information of the target transportation card matches power with the first of target user's identification information
Weight.
15. the device as described in claim 12 or 14, which is characterized in that the weight determination module, specifically for calculating institute
State the distance of the cell and the subway station corresponding to target user's identification information;According to the distance and each second
The corresponding distance range of weighted value determines the identification information of the target transportation card and target user's identification information
Second matching weight.
16. device as claimed in claim 15, which is characterized in that the weight determination module, specifically for identifying described
With in record, the time that goes out to enter in target first swipes the card time out of the station in record and target second is swiped the card record, which is located at, to be set
Second matching record of fixed second time period, wherein the first time period is different from second time period;According to described second
Match the item number of record and each corresponding article of number scope of 3rd weighted value, determine the identification information of the target transportation card with
3rd matching weight of target user's identification information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611005965.5A CN108074301B (en) | 2016-11-15 | 2016-11-15 | Real-name system method and device for traffic card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611005965.5A CN108074301B (en) | 2016-11-15 | 2016-11-15 | Real-name system method and device for traffic card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108074301A true CN108074301A (en) | 2018-05-25 |
CN108074301B CN108074301B (en) | 2021-03-19 |
Family
ID=62162623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611005965.5A Active CN108074301B (en) | 2016-11-15 | 2016-11-15 | Real-name system method and device for traffic card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108074301B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115359592A (en) * | 2022-10-21 | 2022-11-18 | 深圳市城市交通规划设计研究中心股份有限公司 | Traffic card number real-name matching method, electronic equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080081780A (en) * | 2007-03-06 | 2008-09-10 | 노효은 | Cordless card cheker's caller identification united method |
CN101599993A (en) * | 2009-06-30 | 2009-12-09 | 武汉中频科技有限公司 | A kind of network social intercourse system of many identity and implementation method |
CN101727683A (en) * | 2008-10-21 | 2010-06-09 | 南开大学 | Public transport IC card identity identifying and authenticating system |
CN102467771A (en) * | 2010-10-29 | 2012-05-23 | 国际商业机器公司 | System and method for recognizing incidence relation of smart card and mobile telephone |
CN104137132A (en) * | 2012-01-30 | 2014-11-05 | 保罗·丹尼尔·希迪 | Method and apparatus for communicating messages to individuals |
CN104156751A (en) * | 2013-08-28 | 2014-11-19 | 陕西省公安厅 | Research based on phone card and identity document |
CN104468787A (en) * | 2014-12-09 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Big-data-based driver-vehicle associate recognition method |
CN104850928A (en) * | 2015-03-09 | 2015-08-19 | 北京壹卡行科技有限公司 | Passenger station safety management information system and method |
CN105448092A (en) * | 2015-12-23 | 2016-03-30 | 浙江宇视科技有限公司 | Analysis method and apparatus of associated vehicles |
US20160117781A1 (en) * | 2014-10-23 | 2016-04-28 | Mastercard International Incorporated | Inferred matching of payment card accounts by matching to common mobile device via time and location data analysis |
CN105868596A (en) * | 2016-05-27 | 2016-08-17 | 王绪胜 | Method and device for real name authentication of identity |
-
2016
- 2016-11-15 CN CN201611005965.5A patent/CN108074301B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080081780A (en) * | 2007-03-06 | 2008-09-10 | 노효은 | Cordless card cheker's caller identification united method |
CN101727683A (en) * | 2008-10-21 | 2010-06-09 | 南开大学 | Public transport IC card identity identifying and authenticating system |
CN101599993A (en) * | 2009-06-30 | 2009-12-09 | 武汉中频科技有限公司 | A kind of network social intercourse system of many identity and implementation method |
CN102467771A (en) * | 2010-10-29 | 2012-05-23 | 国际商业机器公司 | System and method for recognizing incidence relation of smart card and mobile telephone |
CN104137132A (en) * | 2012-01-30 | 2014-11-05 | 保罗·丹尼尔·希迪 | Method and apparatus for communicating messages to individuals |
CN104156751A (en) * | 2013-08-28 | 2014-11-19 | 陕西省公安厅 | Research based on phone card and identity document |
US20160117781A1 (en) * | 2014-10-23 | 2016-04-28 | Mastercard International Incorporated | Inferred matching of payment card accounts by matching to common mobile device via time and location data analysis |
CN104468787A (en) * | 2014-12-09 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Big-data-based driver-vehicle associate recognition method |
CN104850928A (en) * | 2015-03-09 | 2015-08-19 | 北京壹卡行科技有限公司 | Passenger station safety management information system and method |
CN105448092A (en) * | 2015-12-23 | 2016-03-30 | 浙江宇视科技有限公司 | Analysis method and apparatus of associated vehicles |
CN105868596A (en) * | 2016-05-27 | 2016-08-17 | 王绪胜 | Method and device for real name authentication of identity |
Non-Patent Citations (1)
Title |
---|
清华同方: "城市通卡应用综述", 《金卡工程》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115359592A (en) * | 2022-10-21 | 2022-11-18 | 深圳市城市交通规划设计研究中心股份有限公司 | Traffic card number real-name matching method, electronic equipment and storage medium |
CN115359592B (en) * | 2022-10-21 | 2023-02-14 | 深圳市城市交通规划设计研究中心股份有限公司 | Traffic card number real-name matching method, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108074301B (en) | 2021-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhong et al. | Inferring building functions from a probabilistic model using public transportation data | |
KR102205096B1 (en) | Transaction risk detection method and apparatus | |
CN109118265A (en) | Commercial circle determines method, apparatus and server | |
Stange et al. | Analytical workflow of monitoring human mobility in big event settings using bluetooth | |
CN105894358A (en) | Commuting order identification method and device | |
CN105893537B (en) | The determination method and apparatus of geography information point | |
Wang et al. | Early warning of burst passenger flow in public transportation system | |
CN110414732A (en) | A kind of trip Future Trajectory Prediction method, apparatus, storage medium and electronic equipment | |
CN109978215B (en) | Patrol management method and device | |
Tavassoli et al. | Modelling passenger waiting time using large-scale automatic fare collection data: An Australian case study | |
CN109711606A (en) | A kind of data predication method and device based on model | |
CN109218985A (en) | A kind of shipping work abnormal behavior detection method and system based on Pattern similarity | |
CN110059849A (en) | Determining method of path and device | |
CN112861972A (en) | Site selection method and device for exhibition area, computer equipment and medium | |
CN110110243A (en) | A kind of historical track destination prediction technique based on echo state network | |
CN108256724B (en) | Power distribution network open capacity planning method based on dynamic industry coefficient | |
Chen et al. | An analysis of movement patterns between zones using taxi GPS data | |
CN109325657A (en) | A kind of measures and procedures for the examination and approval of credit operation, storage medium and server | |
CN108281012A (en) | Display methods, device, storage medium and the electronic device of traffic flow data | |
CN107421557A (en) | Determination method, intelligent terminal and the device with store function on navigation purpose ground | |
CN108205792A (en) | A kind of city hot spot regional analysis and device | |
CN115953094B (en) | Prepackaged logistics distribution management method and intelligent logistics insulation can thereof | |
CN108074301A (en) | A kind of system of real name method and device of transportation card | |
US20230018382A1 (en) | Cluster generation apparatus, cluster generation method, and a non-transitory computer-readable storage medium | |
Zhu et al. | Validating rail transit assignment models with cluster analysis and automatic fare collection data |
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 |