CN110660139A - Detection system, method and device for copying and using riding code and terminal equipment - Google Patents

Detection system, method and device for copying and using riding code and terminal equipment Download PDF

Info

Publication number
CN110660139A
CN110660139A CN201810691558.7A CN201810691558A CN110660139A CN 110660139 A CN110660139 A CN 110660139A CN 201810691558 A CN201810691558 A CN 201810691558A CN 110660139 A CN110660139 A CN 110660139A
Authority
CN
China
Prior art keywords
code
riding
verification information
information
broadcasting
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
Application number
CN201810691558.7A
Other languages
Chinese (zh)
Other versions
CN110660139B (en
Inventor
谭金文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810691558.7A priority Critical patent/CN110660139B/en
Publication of CN110660139A publication Critical patent/CN110660139A/en
Application granted granted Critical
Publication of CN110660139B publication Critical patent/CN110660139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a system, a method and a device for detecting the copying use of a riding code and terminal equipment, belongs to the technical field of information processing, and is used for realizing the accurate detection of the copying use of the riding code so as to solve the technical problem that the existing riding code is not used in a standard way and even is unsafe. In the scheme, the generation place and the use place of the riding code can be bound in a limiting way through the broadcast information, if the riding code used in the effective broadcast range is not generated in the effective broadcast range, the riding code used in the current time can be shown to be the riding code used in a copying way, namely, the effective detection of the copying use of the riding code is realized through the preset verification information in the broadcast information, and the use of the riding code can be further standardized.

Description

Detection system, method and device for copying and using riding code and terminal equipment
Technical Field
The invention relates to the technical field of information processing, in particular to a system, a method and a device for detecting copying use of a riding code and terminal equipment.
Background
In order to reduce inconvenience of carrying a solid transportation card (such as a bus card or a subway card), a transportation mode of using a bus number to take public transportation is provided at present, for example, when taking a subway, a user can display the bus number in a mobile phone to an entrance gate to get on the bus and display the bus number in the mobile phone to an exit gate to get off the bus, a subway background server can determine a travel of the user according to a code scanning record uploaded by the gate, and then charges for deduction according to the determined travel.
However, in the actual use process of the car code, there may be a situation of duplicate use, for example, a user copies the car code of the user to other users for use, or the car code of the user is stolen by other users for use, which results in property loss, and so on, that is, there is a situation that the current car code is not standardized or even unsafe in the use process, so it is a considerable problem to detect the duplicate use of the car code.
Disclosure of Invention
The embodiment of the invention provides a system, a method and a device for detecting the copying use of a riding code and terminal equipment, which are used for realizing the accurate detection of the copying use of the riding code so as to solve the technical problems of the existing riding code that the use is not standardized and even unsafe.
In one aspect, a detection system for duplication and use of a ride code is provided, the system comprising a terminal device, a broadcasting device and a traffic code scanning device, wherein:
the broadcasting equipment is used for broadcasting a plurality of pieces of broadcasting information carrying predetermined verification information in an effective broadcasting range;
the terminal device is used for obtaining a plurality of pieces of broadcast information in the effective broadcast range at a plurality of moments; and obtaining predetermined verification information in each piece of broadcast information; generating a plurality of riding codes corresponding to the plurality of moments according to the obtained preset verification information;
the traffic code scanning device is used for scanning the riding codes to be used displayed by the terminal device to obtain riding code images; determining to-be-detected verification information in the to-be-used riding code according to the riding code image; when the verification information to be detected and the reference verification information do not meet the preset condition, determining that the riding code to be used is the riding code which is copied to be used, wherein the reference verification information is determined according to the preset verification information;
wherein the traffic code scanning device and the broadcasting device have a predetermined position relationship therebetween, and the predetermined position relationship indicates that the traffic code scanning device is within the effective broadcasting range.
In one aspect, a method for detecting duplication and use of a riding code is provided, and the method includes:
broadcasting a plurality of pieces of broadcast information carrying predetermined verification information in an effective broadcasting range by the broadcasting equipment;
the terminal equipment obtains a plurality of pieces of broadcast information in the effective broadcast range at a plurality of moments; and obtaining predetermined verification information in each piece of broadcast information; generating a plurality of riding codes corresponding to the plurality of moments according to the obtained preset verification information;
the traffic code scanning device scans the riding codes to be used displayed by the terminal device to obtain riding code images; determining to-be-detected verification information in the to-be-used riding code according to the riding code image; when the verification information to be detected and the reference verification information do not meet the preset condition, determining that the riding code to be used is the riding code which is copied to be used, wherein the reference verification information is determined according to the preset verification information;
wherein the traffic code scanning device and the broadcasting device have a predetermined position relationship therebetween, and the predetermined position relationship indicates that the traffic code scanning device is within the effective broadcasting range.
In one aspect, a method for detecting duplication and use of a riding code is provided, and the method includes:
scanning a to-be-used riding code displayed by terminal equipment to obtain a riding code image, wherein the to-be-used riding code is generated according to first verification information carried in first broadcast information;
determining to-be-detected verification information in the to-be-used riding code according to the riding code image;
and when the verification information to be detected and the reference verification information do not meet the preset condition, determining that the riding code to be used is the riding code which is copied to be used, wherein the reference verification information is determined according to second verification information carried in second broadcast information.
In one aspect, a method for detecting duplication and use of a riding code is provided, and the method includes:
acquiring broadcast information broadcasted by broadcasting equipment, wherein the broadcast information carries preset verification information, the broadcasting equipment and traffic code scanning equipment have a preset position relation, and the preset position relation indicates that the traffic code scanning equipment is in an effective broadcasting range of the broadcasting equipment;
generating a riding code according to the preset verification information;
displaying the riding codes to be used so that the traffic code scanning equipment scans the riding codes to be used, and determining whether the riding codes to be used are the copied riding codes according to-be-detected verification information in the riding codes to be used.
In one aspect, a detection apparatus for use in copying a ride code is provided, the apparatus comprising:
the system comprises a scanning module, a receiving module and a processing module, wherein the scanning module is used for scanning a to-be-used riding code displayed by terminal equipment to obtain a riding code image, and the to-be-used riding code is generated according to first verification information carried in first broadcast information;
the first determining module is used for determining to-be-detected verification information in the to-be-used riding code according to the riding code image;
and the second determining module is used for determining that the to-be-used riding code is a duplicated riding code when the to-be-detected verification information and the reference verification information do not meet the preset condition, wherein the reference verification information is determined according to second verification information carried in second broadcast information.
In one aspect, a terminal device is provided, where the terminal device includes:
the system comprises an obtaining module, a receiving module and a processing module, wherein the obtaining module is used for obtaining broadcast information broadcasted by broadcasting equipment, the broadcast information carries preset verification information, the broadcasting equipment and traffic code scanning equipment have a preset position relation, and the preset position relation indicates that the traffic code scanning equipment is in an effective broadcasting range of the broadcasting equipment;
the generating module is used for generating a riding code according to the preset verification information;
and the display module is used for displaying the bus codes to be used so that the traffic code scanning equipment scans the bus codes to be used and judges whether the bus codes to be used are the copied bus codes according to the verification information to be detected in the bus codes to be used.
In one aspect, a detection apparatus for use in copying a ride code is provided, the apparatus comprising:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the steps included in the method of the above aspects according to the obtained program instructions.
In one aspect, a storage medium is provided, the storage medium storing computer-executable instructions for causing a computer to perform the steps included in the method of the above aspects.
In the technical solution provided by the embodiment of the present invention, when the terminal device is within the effective broadcast range of the broadcast device, the broadcast information broadcasted by the broadcast device can be obtained, so as to generate the riding code according to the predetermined verification information in the broadcast information, and the traffic code scanning device within the effective broadcast range of the broadcast device can also obtain the broadcast information, so as to determine the reference verification information according to the predetermined verification information in the broadcast information, further, by scanning the currently displayed riding code to be used by the terminal device, the traffic code scanning device can obtain the verification information to be detected in the riding code to be used, and then compare the obtained information to be detected with the previously obtained reference verification information under the preset condition, if the two do not meet the preset condition, the currently used riding code can be considered as a copied riding code, because the broadcast information has a certain effective broadcast range, therefore, the generation place and the use place of the bus code are bound by the broadcast information, and if the bus code used in the effective broadcast range is not generated in the effective broadcast range, the bus code used currently can be shown to be the bus code used in a copying manner.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic view of a display interface of a ride code;
FIG. 2 is a schematic view of a subway gate capable of scanning ride codes;
fig. 3 is a schematic diagram of a user scanning a riding code in a mobile phone by using a camera of a subway gate;
FIG. 4 is a schematic illustration of a subway line including a plurality of stations;
fig. 5 is a schematic diagram of two users (zhang san and lie si) riding in a subway using their own riding codes respectively;
FIG. 6 is a schematic diagram of two users (Zhang III and Li IV) riding a subway using mutually copied ride codes;
fig. 7 is a schematic diagram of two users (zhang san and wang wu) entering from the same subway station and taking a subway;
fig. 8A is a schematic diagram of an application scenario to which the technical solution in the embodiment of the present invention is applied;
fig. 8B is a schematic diagram of another application scenario to which the technical solution in the embodiment of the present invention is applied;
fig. 8C is a schematic diagram of another application scenario to which the technical solution in the embodiment of the present invention is applied;
fig. 9 is a schematic diagram of another application scenario to which the technical solution in the embodiment of the present invention is applied;
fig. 10 is a schematic diagram of another application scenario to which the technical solution in the embodiment of the present invention is applied;
fig. 11 is a schematic diagram of another application scenario to which the technical solution in the embodiment of the present invention is applied;
FIG. 12 is an architecture diagram of a detection system for use in the duplication of ride codes in an embodiment of the present invention;
FIG. 13 is another architecture diagram of a detection system for use in the duplication of ride codes in an embodiment of the present invention;
FIG. 14 is an interaction diagram of a detection method for use in duplicating a ride code in an embodiment of the invention;
FIG. 15 is another interaction diagram of a detection method for use in duplicating ride codes in an embodiment of the present invention;
FIG. 16 is a block diagram showing the structure of a detection device for use in copying a vehicle code according to an embodiment of the present invention;
fig. 17 is a block diagram of a terminal device in the embodiment of the present invention;
FIG. 18 is a schematic structural diagram of a traffic code scanning device according to an embodiment of the present invention;
fig. 19 is a schematic structural diagram of a terminal device in an embodiment of the present invention;
fig. 20 is another schematic structural diagram of the terminal device in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In the embodiment of the present invention, the "plurality" may mean at least two, for example, two, three, or more, and the embodiment of the present invention is not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
Some terms referred to herein are explained below to facilitate understanding by those skilled in the art.
1. The bus code is a two-dimensional code used by a user to take a vehicle such as a bus or a subway, and the bus code contains information such as an identity (also called as a user identity), a payment mode, a timestamp (generation time of the bus code) and the like of the user. In addition, the riding code also comprises an expandable data area, and data can be written or modified in the expandable data area, so that the expansion application of the riding code is realized.
The ride codes may be refreshed periodically, for example, every 20 seconds or 10 seconds, and ride codes generated by different ride code clients may have different refresh periods. In addition, the bus codes can be distinguished from the use scene into inbound bus codes and outbound bus codes, for example, when taking a subway, the bus codes used when entering the station can be understood as inbound bus codes, and the bus codes used when exiting the station can be understood as outbound bus codes.
2. The riding code client is used by depending on the terminal device, specifically, the riding code is generated and displayed through the riding code client running in the terminal device, and the riding code client can be understood as an application client. In practice, the bus code client may be an independent Application (APP), such as a bus code client issued by a certain subway company or a certain public transport company and dedicated to use by taking a vehicle within the jurisdiction of the subway company or the public transport company, for example, heaven city expert, sheep city expert, and the like, or the bus code client may also be a functional module embedded in an existing APP, for example, the current payment treasures and the existing wechat both support the use of the bus code, so the payment treasures client and the wechat client may be understood as the aforementioned bus code client, and since the payment treasures and the wechat are relatively wide in use range and the user group is relatively large, the popularity of the corresponding bus code can be increased by carrying the bus code in this way.
Taking the wechat client as an example, the riding code function can be embedded in the wechat client in a small program mode, the traffic can be saved in the small program embedded mode, and the wechat client can run quickly, when a user needs to use the riding code, the riding code small program can be found through a pull-down wechat main interface or a searching mode, and then the user enters a running interface of the riding code small program, and then a display interface of the riding code can be called through some operations. Taking the terminal device as a mobile phone as an example, the mobile phone is installed with a riding code client, and after the riding code client is operated, a display interface of the riding code is shown in fig. 1.
3. A traffic code scanning device is a device for scanning a riding code, and may also be referred to as a code scanning device, a ticket checking machine, and the like in some cases. The traffic code scanning device can obtain the two-dimensional code image of the bus code in a code scanning mode, and the two-dimensional code image of the bus code needs to be obtained in a code scanning mode, so that a camera is arranged in the traffic code scanning device and is used for scanning the bus code displayed by a user to obtain the two-dimensional code image of the bus code. Because the bus code is displayed in the terminal device (such as a mobile phone) in a two-dimensional code image mode, when a user needs to take a certain vehicle through the bus code, the bus code can be called out in the mobile phone, and then the bus code displayed by the mobile phone is aligned to a camera of the traffic code scanning device, so that the traffic code scanning device obtains the two-dimensional code image of the bus code.
According to different use scenes of the bus codes, the traffic code scanning device can be divided into an inbound code scanning device and an outbound code scanning device, and by taking a subway as an example, the traffic code scanning device for scanning the inbound bus codes can be understood as the inbound code scanning device when entering the station, and the traffic code scanning device for scanning the outbound bus codes can be understood as the outbound code scanning device when exiting the station. In another traffic scenario, for example, a bus, because there is no obvious distinction between an arrival and an exit, there is only one traffic code scanning device on the bus, and thus this traffic code scanning device can be understood as both an arrival code scanning device and an exit code scanning device, i.e. at this time, the arrival code scanning device and the exit code scanning device are the same device. According to different traffic scenes, the traffic code scanning device may correspond to different devices, for example, in traffic scenes such as subways, Bus Rapid Transit (BRT), light rails and the like, the traffic code scanning device may be a gate (including an inbound gate and an outbound gate), or in traffic scenes such as buses and the like, the traffic code scanning device may be a code scanning tool (such as a code scanning gun) arranged on the buses.
In addition, in order to enable the system to be applicable to multiple modes of taking a bus, a Near Field Communication (NFC) function may be further integrated into the traffic code scanning device, a conventional physical bus card is inductively identified through an NFC sensing area, and a ticket drop-off port may be further provided to facilitate the recovery of temporary tickets, taking the traffic code scanning device as a gate in a subway as an example, one possible subway gate that has been put into use at present is shown in fig. 2, and a schematic diagram of a user scanning a taking code in a mobile phone by using a camera of the subway gate is shown in fig. 3.
4. The bus code image is a two-dimensional code image of the bus code, such as a two-dimensional code image of the bus code generated and displayed in the mobile phone, and a two-dimensional code image obtained by scanning the bus code displayed in the mobile phone through a camera by the traffic code scanning device.
5. The duplication of the ride code is to be used by the user after the ride code of the user is duplicated, for example, the ride code in the mobile phone of the user of the third party is duplicated and then used by the user of the fourth party, where the duplication may include multiple implementation manners, and continuing the example that the ride code of the third party is duplicated and used by the fourth party, the duplication may refer to that the ride code of the third party is photographed by the third party or that a screenshot is sent to the fourth party, that is, the ride code is actively duplicated and sent to other users by an actual user of the ride code (that is, the third party) and used by other users, for example, this manner may be called as active duplication and use, or may also refer to that the ride code of the third party is photographed by the fourth party and used, for example, the ride code of the third party is secretly photographed by the fourth party and used, for example, this manner may be called as passive duplication and use, and so on the whole, the duplication and use of the ride code may be understood as being used by other users, rather than the actual user of the ride code.
According to the difference of the using places of the bus codes after being copied, the bus code copying and using can be divided into cross-station copying and using and co-station copying and using, wherein the cross-station copying and using means that users using the copied bus codes and actual users using the bus codes are located at different sites currently, namely different positions of the cross-station, and according to the same understanding, the co-station copying and using means that the users using the copied bus codes and the actual users using the bus codes are located at the same site currently. Continuing with the foregoing example, please refer to the schematic diagram of the subway line including multiple stations shown in fig. 4, and it can be seen that the subway line includes 5 subway stations, namely, station a, station B, station C, station D, and station E, assuming that zhang is at station a at this time and sends its riding code to lie quan for use after taking a picture, if lie quan is at another station (e.g., station F) different from station a at this time, the riding code is copied across stations for use, and if lie is also at station a at this time, the riding code is copied at the same station for use.
6. The broadcast device refers to a device with broadcast capability, and may broadcast and transmit information through a certain communication mechanism. According to different communication mechanisms, the range in which information broadcasted by different broadcasting devices can be transmitted is different, that is, different broadcasting devices may have different broadcasting ranges, and in the embodiment of the present invention, the range in which the broadcast information of a broadcasting device can be transmitted is referred to as an effective broadcasting range of the broadcasting device, as long as devices located within the effective broadcasting range can detect the broadcast information broadcasted by the broadcasting device.
7. The iBeacon device, which may also be referred to as an iBeacon base station, refers to a device that can broadcast information through the iBeacon technology, wherein the iBeacon technology is an accurate micro-positioning technology based on Bluetooth Low Energy (BLE) technology, which is introduced by apple in the world developer conference (WWDC) in 2013, and BLE is also known as Bluetooth 4.0 or Bluetooth Smart. The iBeacon base station may create a signal area, and when other devices enter the signal area, the signal network in the signal area may be accessed, so as to detect all information broadcast by the iBeacon base station, and the signal area created by the iBeacon base station may be understood as an effective broadcast range of the iBeacon base station, that is, the iBeacon device broadcasts information based on BLE technology.
The iBeacon device has an iBeacon Identifier, which may include a Universal Unique Identifier (UUID), a Major ID, and a Minor ID. The UUID can be understood as an identification number of a manufacturer of the iBeacon equipment; the Major ID is equivalent to a group number, namely all iBeacon devices in the same group have the same Major ID; the Minor ID is equivalent to identifying the individual iBeacon devices in the group. In general, the iBeacon identifier of the iBeacon device can uniquely represent the iBeacon device, that is, the iBeacon identifier has uniqueness.
8. A user identification is an identification that uniquely identifies a user, such as a virtual card number, a user nickname, or a set of random strings, among others.
As mentioned above, the car code may be copied during the use process, so that the car code may be used in an irregular manner, and in some cases, the car code may also cause property loss of the user or a public transportation operation company (e.g., a public transportation operation company or a subway operation company).
Please refer to a schematic diagram of two users (zhang san and lie san) respectively riding a subway by using respective riding codes shown in fig. 5, it can be known from fig. 5 that zhang san enters the station by using the own inbound riding code at station a and exits the station by using the own outbound riding code at station D, lie san enters the station by using the own riding code at station E and exits the station by using the own outbound riding code at station B, since zhang san enters the station (station a) and exits the station (station D) both use the own riding code and lie san four enters the station (station E) and exits the station (station B) both use the own riding code, the subway background server matches the travel for the users according to the riding codes, the travel of zhang matched by the subway background server is "station a-station D" and the travel of lie si matched by "station E-station B", this is consistent with the actual stroke of zhang san and lie san.
Referring to fig. 6, it can be seen that zhang san enters the station a using the own inbound bus code, and leaves the station D using the outbound bus code of lie si, and lie si enters the station E using the own inbound bus code, and leaves the station B using the outbound bus code of zhang san, and during the process of copying, zhang san and lie si can take a picture of their own bus code or capture a picture of their own bus code and send it to the other side for use after entering the station. Since the subway background server matches the travel for the user according to the riding code, the travel matched by the subway background server for Zhang-Sanqi is station A-station B, and the travel matched by Liqu is station E-station D, which is inconsistent with the actual travel of the user shown in FIG. 5, thereby causing a travel matching error. As can be seen from the analysis, for zhang san, the number of stations included in the trip is less for the trip "station a-station B" matched by the subway background server, compared with the actual trip "station a-station D" of zhang san, and then the number of natural trips is also shorter, and no matter in the subway charging mode in which the charging is performed according to the number of stations or the number of trips, the last fee deducted by zhang san is less than or equal to the fee deducted corresponding to the actual trip, and similarly, the fee deducted by lie is also the same, that is, zhang san and lie are used for achieving the purpose of reducing the traffic fee by mutually copying the riding codes of the other party, so that the charging of the subway operation company is reduced, economic loss is caused, the riding codes are not used in a standard manner, and the income of the traffic operation department is reduced.
Referring to fig. 7, a schematic diagram that two users (zhang san and wang wu) get in the subway from the same subway station is shown, zhang san and wang wu both get in from station a, suppose that zhang san uses their own inbound bus code, and wang wu quickly follows zhang san when zhang su passes through the inbound gate and gets in through the inbound gate, that is, wang wu does not use its own bus code, but arrives in a ticket-evading manner, after arriving, wang wu obtains the image of zhang san by some means (for example, by secretly shooting zhang san bus code), and then goes out by using zhang san bus code, and zhang san is still taken in the subway at this time, as shown in fig. 7, suppose wang wu gets out at station C using zhang bus code of zhang and then arrives at station C, and after going out at station C, it determines a trip of zhang san for the server, namely 'site A-site C', the trip of site A-site C is actually king five, but the final fee deduction is deduction Zhang three, so that the king five realizes the embezzlement of the bus code by copying and using the bus code of Zhang three, the trip fee generated by the ticket evasion behavior of king five is paid by Zhang three, the property loss of Zhang three is caused, the user is not good in use experience, and extra maintenance expenses such as complaints and refunds of passengers can be caused.
Through analysis of the prior art, the inventor of the present invention finds that adverse consequences caused by the duplication and use of the vehicle code in the prior art are serious, so that the duplication and use of the vehicle code needs to be detected, and then corresponding measures are taken to weaken or even avoid negative effects caused by the duplication and use of the vehicle code, however, a related technical scheme for detecting the duplication and use of the vehicle code does not exist at present. In view of the discovery and consideration of the foregoing technical problems, the inventor considers that the detection of the duplication of the riding code can be achieved in some way, and in view of the above, the inventor considers the characteristics of the duplication of the riding code, that is, the ultimate duplication of the riding code can be achieved only by the duplication, so that the possibility of the duplication of the riding code can be reduced or even eliminated from the source in some way, and further, the inventor considers that the generation of the riding code and the use can be bound by the same place, specifically, the place where the riding code is generated and the place where the riding code is used are ensured to be approximately the same by some way (for example, in the same site or in a certain area in a site), because the generation and the use of the riding code are performed at different sites for the duplication of the riding code in general, for example, as shown in fig. 5, when the ride code for the third dispatch to exit at the station D, that is, the ride code for the third dispatch to exit at the station D is generated at the station D, but the ride code for the third dispatch to exit at the station B is used by li four, it is obvious that the generation place (that is, the station D) and the use place (that is, the station B) of the ride code for the third dispatch to exit are different, so that the generation and the use of the ride code are prevented as much as possible from being duplicated and used at different places, and the detection of the duplication and use of the ride code is realized.
According to the analysis and consideration, the inventor designs a method for binding the terminal device (i.e., the device for bearing the riding code) and the traffic code scanning device (e.g., an inbound gate or an outbound gate) in the geographical position by broadcasting information within a certain range of a station, so that both the terminal device and the traffic code scanning device within the certain range can obtain the broadcast information at the same time, and perform mutual verification through predetermined verification information carried in the broadcast information, thereby judging whether the currently displayed riding code to be used in the terminal device is generated in the vicinity of the traffic code scanning device, and thus realizing the related detection of the copy and use of the riding code.
After the design idea of the embodiment of the present invention is introduced, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present invention can be applied, and it should be noted that the application scenarios described below are only used for illustrating the embodiment of the present invention and are not limited. In specific implementation, the technical scheme provided by the embodiment of the invention can be flexibly applied according to actual needs.
Referring to fig. 8A, fig. 8A is an application scenario to which the technical solution in the embodiment of the present invention can be applied, and the application scenario shown in fig. 8A is an example of a scenario in which a subway is taken by a bus yard (or other scenarios clearly distinguished between an inbound and an outbound, such as an application scenario in which a BRT or a light rail is taken), where the application scenario includes a terminal device 81, a gate 82, a broadcasting device 83, an application server 84, and a subway backend server 85. The terminal device 81 is a device capable of operating a riding code client, and as described above, for example, a pay bank client or a wechat client may be operated, and the riding code may be directly used in the pay bank client or the wechat client, and since the riding code client is operated in the terminal device 81, an application server 84 is provided corresponding to the riding code client. The gate 82 may be an inbound gate or an outbound gate, that is, the technical solution in the embodiment of the present invention may be applied to detection of inbound bus code copy use, or detection of outbound bus code copy use, the gate 82 may scan a bus code generated and displayed by the terminal device 81 to obtain a bus code image, further may analyze the scanned bus code image to determine whether the currently scanned bus code is the bus code that is copy use, and may obtain a scan code record according to an analysis result of the bus code image, and then send the scan code record to the subway backend server 85 through the network, further, the subway backend server 85 may determine a user's travel according to the received scan code record, and may charge and deduct a fee for the determined travel after determining the travel, to realize the collection of the traffic fee. In addition, the gate 82 may further include a passage blocking device such as a gate leaf door, a gate swing door, or the like, which may be prohibited from opening to block the user from passing through the gate when it is determined that the riding code is duplicated, and may be opened to allow the user to enter or exit through the passage blocking device when it is determined that the riding code is not duplicated.
And, the broadcasting device 83 in fig. 8A refers to a device capable of broadcasting information by a broadcasting method, the information broadcasted by the broadcasting device 83 can be transmitted within a predetermined range, and the predetermined range is, for example, referred to as an effective broadcasting range of the broadcasting device 83, different types of broadcasting devices 83 may have different effective broadcasting ranges according to different communication methods and device performances, for example, the broadcasting device 83 is an iBeacon device that broadcasts information by a BLE technology, the corresponding effective broadcasting range may be, for example, several meters, and the like, and the power consumption of the broadcasting device 83 may be reduced as much as possible by broadcasting information by the BLE technology. The broadcast device 83 and the gate 82 may have a predetermined positional relationship such that the gate 82 is always within the effective broadcast range of the broadcast device 83 to obtain all broadcast information broadcast by the broadcast device 83, for example, the broadcast device 83 may be disposed at a position beside (e.g., 10 cm) the gate 82, or the broadcast device 83 may be disposed directly next to the gate 82, or the broadcast device 83 may be disposed directly within the housing of the gate 82, or the like, and the position of the broadcast device 83 may be fixed to avoid as much change in the effective broadcast range of the broadcast device 83 as possible. In addition, the broadcasting apparatus 83 may broadcast a plurality of pieces of broadcast information at a predetermined period, and the predetermined period may be adjusted according to different scenes, i.e., the broadcasting apparatus 83 may have an adjustable broadcasting period.
Referring to fig. 8B again, as compared to fig. 8A, in fig. 8B, the broadcasting device 83 may further connect and communicate with the subway backend server 85 through a network, that is, the subway backend server 85 may control the broadcasting device 83 and the gate 82 at the same time, for example, the subway backend server 85 may control a broadcasting period of the broadcasting device 83 through the network, and the subway backend server 85 may also send broadcast information to be broadcasted to the broadcasting device 83 through the network, further, the broadcasting device 83 may broadcast the received broadcast information according to the set broadcasting period, so that the gate 82 and the terminal device 81 near the gate 82 can receive the broadcast information broadcasted by the broadcasting device 83.
Referring to fig. 8C again, with respect to fig. 8A, in fig. 8C, a server 86 is separately configured for the broadcasting device 83, similar to the function of the subway backend server 85 with respect to the broadcasting device 83 in fig. 8B, the server 86 may control the broadcasting period of the broadcasting device 83 through the network, and the server 86 may also send the broadcasting information to be broadcasted to the broadcasting device 83 through the network, further, the broadcasting device 83 may broadcast the received broadcasting information according to the set broadcasting period, so that the gate 82 and the terminal device 81 close to the gate 82 can receive the broadcasting information broadcasted by the broadcasting device 83.
Referring to another application scenario to which the technical solution in the embodiment of the present invention shown in fig. 9 can be applied, the application scenario shown in fig. 9 is also described by taking a subway by a bus code as an example, and the application scenario shown in fig. 9 includes a terminal device 91, a gate 92, an application server 93, and a subway background server 94. Referring to fig. 8A-8C, a terminal device 91 and an application server 93 of the disclosure may refer to the description of the terminal device 81 and the application server 84 in fig. 8A-8C, different from fig. 8A-8C, the gate 92 in fig. 9 is integrated with a broadcasting function, that is, the gate 92 itself has a broadcasting capability so as to broadcast a plurality of pieces of broadcasting information according to a set broadcasting period, and as understood from fig. 8A-8C, for example, the gate 82 and the broadcasting device 83 in fig. 8A-8C may be considered to be integrated into one device (i.e., the gate 92 in fig. 9), further, the subway backend server 94 may process the scanning code record uploaded by the gate 92, may also perform corresponding control on the gate 92, for example, the broadcasting period of the gate 92 may be controlled by the subway backend server 94, and may also transmit the broadcasting information to the gate 92 by the subway backend server 94, thereby causing gate 92 to broadcast the received broadcast information. In addition, the gate 92 in fig. 9 can also realize the detection of whether the riding codes are copied and used like the gate 82 described above, and correspondingly control whether the traffic blocking device is opened according to the detection result of whether the riding codes are copied and used, thereby realizing the effective control of the user for getting in and out of the station.
Please refer to another application scenario to which the technical solution in the embodiment of the present invention shown in fig. 10 is applicable, which is described by taking the application scenario shown in fig. 10 as an example of a scenario in which a bus is taken by a bus code (or other scenarios in which no explicit distinction between an arrival and an exit is made is also possible), and the application scenario includes a terminal device 101, a bus code scanner 102, a broadcasting device 103, an application server 104, and a bus background server 105. The terminal device 101 may operate a bus code client, for example, a pay bank client or a wechat client, as described above, and an application server 104 may be set corresponding to the bus code client, the bus code scanner 102 may scan the bus code displayed in the terminal device 101 to obtain a bus code image, and further determine whether the currently used bus code is a bus code copied for use according to the bus code image, and if the bus code copied for use is determined, may output warning information, such as a sound of a droplet or a voice warning prompt, and the like, and the bus code scanner 102 may further generate a code scanning record according to the bus code image, and upload the code scanning record to the bus server 105, so that the bus backend server 105 may determine the travel of the user according to the received code scanning record. The broadcasting device 103 is similar to the broadcasting device 83 in fig. 8A-8C, and reference may be made to the description of the broadcasting device 83 for understanding of the broadcasting device 103, and the broadcasting device 103 and the bus bar scanner 102 may be fixedly disposed, for example, both fixedly disposed on a fixed device (for example, a metal rod standing in the bus) in the bus, so that the bus bar scanner 102 can receive all the broadcasting information broadcasted by the broadcasting device 103. In addition, similar to fig. 8B and 8C, the broadcasting device 103 may be connected to the bus backend server 105 through a network, or another server may be separately configured for the broadcasting device 103, so as to implement setting and control of a broadcasting period of the broadcasting device 103, and may also send broadcast information to be broadcasted to the broadcasting device 103, and then the broadcasting device 103 broadcasts the received broadcast information.
Referring to fig. 11 again, another application scenario to which the technical solution of the embodiment of the present invention is applicable is shown, where the application scenario includes a terminal device 111, a bus code scanner 112, an application server 113, and a bus background server 114, and unlike the application scenario shown in fig. 10, the bus code scanner 112 in fig. 11 is integrated with a broadcast function, that is, multiple pieces of broadcast information can be broadcast by the bus code scanner 112, for understanding of the bus code scanner 112 in fig. 11, reference may be made to the related description of the gate 92 in fig. 9, and a description thereof will not be repeated.
The terminal device 81, the terminal device 91, the terminal device 101, and the terminal device 102 may be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a notebook computer, an intelligent wearable device (e.g., an intelligent watch and an intelligent bracelet), a Personal computer, or the like. And the aforementioned application server 84, application server 93, application server 105, application server 113, subway backend server 85, subway backend server 94, bus backend server 105, bus backend server 114 and server 86 may be a personal computer, a large and medium sized computer, a computer cluster, etc.
To further illustrate the technical solutions provided by the embodiments of the present invention, the following detailed description is made with reference to the accompanying drawings and the specific embodiments. Although embodiments of the present invention provide method steps as shown in the following embodiments or figures, more or fewer steps may be included in the method based on conventional or non-inventive efforts. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by embodiments of the present invention. The method can be executed in sequence or in parallel according to the method shown in the embodiment or the figures when the method is executed in an actual processing procedure or a device (for example, a parallel processor or an application environment of multi-thread processing).
Referring to fig. 12, an embodiment of the present invention provides a detection system for vehicle code duplication, where the detection system for vehicle code duplication includes a terminal device, a broadcasting device, a traffic code scanning device, and may further include a server. The terminal device may be the aforementioned terminal device 81, terminal device 91, terminal device 101, or terminal device 102, the broadcasting device may be the aforementioned broadcasting device 83 or broadcasting device 103, the traffic code scanning device may be the aforementioned gate 82, gate 92, bus code scanning device 102, or bus code scanning device 112, and the server may be the aforementioned subway backend server 85, subway backend server 94, bus backend server 105, or bus backend server 114, it should be understood that, when the traffic code scanning device is a device with broadcasting capability (for example, the gate 92 or the bus code scanning device 112), the detection system for bus code duplication at this time may not include the broadcasting device any more, that is, it may be understood that the broadcasting device and the traffic code scanning device are integrated into one device, and then the detection system for bus code duplication at this time is shown in fig. 13.
Specifically, the detection system for use in copying the riding code in the embodiment of the present invention may be, for example, a system composed of all the devices included in any application scenario in fig. 8A to 8C and fig. 9 to 11, which is not described herein any more.
For convenience of understanding, the technical solution in the embodiment of the present invention is described below by taking as an example a traffic scene (for example, an application scene shown in fig. 8C) in which a traffic code scanning device and a broadcasting device are separately provided and a subway is taken by a car.
The following describes a technical solution in an embodiment of the present invention with reference to an interaction diagram of a detection method for duplication of a ride code in an embodiment of the present invention shown in fig. 14.
Step 1401: the broadcasting equipment broadcasts the broadcast information carrying the preset verification information.
In the specific implementation process, the broadcasting equipment can continuously broadcast information according to a preset period, for example, the information is broadcast once every 20 seconds, so that the power consumption can be reduced as much as possible, because a broadcasting mode is adopted, as long as the equipment in the effective broadcasting range of the broadcasting equipment can detect the information broadcast by the broadcasting equipment, in the embodiment of the invention, the positions of the traffic code scanning equipment and the broadcasting equipment are set to be a preset position relation, so that the traffic code scanning equipment can be ensured to be in the effective broadcasting range of the broadcasting equipment, so that all the broadcasting information broadcast by the broadcasting equipment can be received, taking a subway scene as an example, one broadcasting equipment can be arranged at each exit and each entrance of a subway station, and for each broadcasting equipment, the effective broadcasting range can cover all subway gates (entrance gates or exit gates) at the corresponding exit or entrance, or, a broadcasting device may be provided in one subway station, so that the effective broadcasting range of the broadcasting device may cover all gates in the whole subway station.
The predetermined authentication information in the embodiment of the present invention may be a device identifier of the broadcasting device, or may be other authentication information obtained based on the device identifier of the broadcasting device, where the device identifier of the broadcasting device has uniqueness. For example, assuming that the device id of the broadcasting device is 9sd65y, the predetermined authentication information may be 9sd65y, which is the same as the device id of the broadcasting device, or other authentication information may be obtained based on 9sd65y, in one possible embodiment, unique predetermined authentication information may be generated based on the device identification and the current generation time, for example, 9sd65y20180626153327, wherein 20180626153327 is the current generation time, that is, it indicates that 9sd65y20180626153327 is generated at 33 minutes and 27 seconds at 26, 15 and 6 months in 2018, alternatively, the predetermined verification information may be generated according to a combination of the device identifier and the current site identifier, the current geographical location information, or other random character strings, etc., in a manner similar to the manner described above according to the current generation time, and the description is not repeated here.
In this embodiment of the present invention, the broadcasting device refers to a device with a broadcasting capability, for example, the device may be an iBeacon device that broadcasts information by using a BLE technology, and the device identifier of the broadcasting device may be an iBeacon identifier of the iBeacon device at this time, or may be another type of device that broadcasts information by using another communication technology, which is not limited herein.
Step 1402: the traffic code scanning device obtains broadcast information carrying predetermined verification information.
Since the traffic code scanning device is within the effective broadcasting range of the broadcasting device, the traffic code scanning device can obtain the broadcasting information after the broadcasting information is broadcasted by the broadcasting device.
Step 1403: after the traffic code scanning device obtains the broadcast information, the traffic code scanning device can obtain the preset verification information in the broadcast information, and then generates the reference verification information according to the obtained preset verification information.
In one possible implementation, the traffic code scanning device may directly use the obtained predetermined verification information as the reference verification information, that is, the reference verification information and the predetermined verification information are substantially the same.
In another possible implementation, the traffic code scanning device may further perform predetermined processing on the obtained predetermined verification information according to a predetermined processing rule, so as to obtain the reference verification information. The predetermined processing rule in the embodiment of the present invention may be, for example, adding the current time to the predetermined verification information to obtain the reference verification information, or adding a specified character or number to one or more positions of the predetermined verification information, or adding the device identifier of the traffic code scanning device to the predetermined verification information to obtain the reference verification information.
Step 1404: the terminal equipment receives broadcast information carrying predetermined verification information.
Since the terminal device can receive the broadcast information broadcast by the broadcasting device, the terminal device is also necessarily within the effective broadcast range of the broadcasting device, for example, when a passenger needs to enter a subway station to take a subway, the passenger firstly needs to pass through an entrance gate (i.e. a traffic code scanning device), and then the passenger approaches the entrance gate, so that the passenger can naturally be within the effective broadcast range of the broadcasting device, and further obtain the broadcast information broadcast by the broadcasting device.
Step 1405: and the terminal equipment generates the riding code according to the preset verification information in the broadcast information.
That is, once the terminal device receives the broadcast information, it considers that the user has arrived near a certain station, which indicates that the user needs to enter or exit the station by using the bus code, so the terminal device can dynamically generate the bus code in time according to the predetermined verification information.
After the riding code is generated, the terminal device may directly display the newly generated riding code on a display screen of the terminal device so that the user can use the riding code immediately, or, in practice, as described above, if the user wishes to exchange the riding code with other users to achieve the purpose of saving riding cost, the generated riding code may be copied by capturing a picture or taking a picture, and the copied image of the riding code is sent to other users.
In addition, when the terminal device generates the riding code based on the predetermined verification information, the predetermined verification information may be directly added to the riding code, or the predetermined verification information may be processed first and then the processed predetermined verification information may be added to the riding code, as to whether to perform processing and how to perform processing when processing is required, corresponding implementation may be performed according to preset conditions agreed in advance between the terminal device and the traffic code scanning device, that is, the terminal device (specifically, a riding code client running in the terminal device) and the traffic code scanning device may establish preset conditions in advance between for judging the predetermined verification information, so that the terminal device may adopt an appropriate processing manner when generating the riding code and when the traffic code scanning device verifies the riding code.
Step 1406: and the terminal equipment displays the riding code to be used.
In the embodiment of the invention, the riding code to be used can be understood as the riding code which is currently used, for example, the user can get in or out of the station through the brake immediately, and the riding code which is about to be used by the user can be called the riding code to be used.
In practice, the to-be-used riding code displayed by the terminal device may be a newly generated riding code just based on the predetermined verification information in step 1405, or the to-be-used riding code may also be a duplicate image of a riding code generated by other users at other sites through other terminal devices by using other predetermined verification information in the broadcast information broadcast by the broadcast device at the other sites, that is, the to-be-used riding code currently displayed by the user may be a riding code of the user or a riding code duplicated and used by other users, and the purpose of the embodiment of the present invention is to detect whether the to-be-used riding code currently displayed by the user is duplicated and used.
It should be noted that, the order of executing step 1402+ step 1403 and step 1404+ step 1405 is not limited, and in practice, for example, step 1402 and step 1403 may be executed first, and then step 1404 and step 1405 may be executed, or step 1404 and step 1405 may be executed first, then step 1402 and step 1403 may be executed, or they may be executed simultaneously.
Step 1407: the traffic code scanning device scans the riding codes to be used displayed by the terminal device, and then the riding code images of the riding codes to be used can be obtained.
When a user needs to enter a station or leave the station, the to-be-used bus code displayed in the terminal equipment can be aligned to the camera of the traffic code scanning equipment, so that the traffic code scanning equipment can obtain a two-dimensional code image of the to-be-used bus code in a scanning mode, and a bus code image of the to-be-used bus code is obtained.
Step 1408: the traffic code scanning device analyzes the obtained riding code image, and further can obtain the verification information contained in the riding code image. For convenience of description, in the embodiment of the present invention, the verification information in the riding code to be used is referred to as to-be-detected verification information.
Step 1409: the traffic code scanning device judges whether the verification information to be detected and the reference verification information meet preset conditions.
After obtaining the verification information to be detected in the vehicle code to be used, further detecting whether the vehicle code to be used is copied and used according to preset conditions, specifically, the obtained verification information to be detected and the previously obtained reference verification information are matched and compared according to the preset conditions, for example, if the obtained verification information to be detected and the previously obtained reference verification information are consistent, it can be determined that the preset conditions are met, for example, if the obtained verification information to be detected and the previously obtained reference verification information are consistent with a preset matching rule, it can also be determined that the preset conditions are met, for example, if the obtained verification information to be detected is 9sd65y, and the obtained verification information to be detected is 9sd65y and the reference verification information 9sd65y20180627103928, it can be considered that the obtained verification information to be detected and the previously obtained reference verification information are.
Step 1410: and if the verification information to be detected and the reference verification information are determined not to meet the preset conditions, the traffic code scanning device determines that the to-be-used riding code displayed in the terminal device is the copied riding code.
Step 1411: and if the verification information to be detected and the reference verification information meet the preset conditions, the traffic code scanning device determines that the to-be-used riding code displayed in the terminal device is the normally-used riding code.
In the embodiment of the invention, since the bus code which is not copied and used is dynamically generated in real time according to the broadcast information near the current position of the terminal device, since the broadcast information can be obtained to indicate that the terminal device (namely, the user) is in a certain range (for example, the vicinity) of the broadcast device, the reference verification information is also generated according to the broadcast information to indicate that the traffic code scanning device is also in a certain range (for example, the vicinity or the complete approach) of the broadcast device, the method can naturally indicate that the distance between the terminal device and the traffic code scanning device is close, namely, the user needs to use the bus code to enter or exit through the traffic code scanning device, and the relative position between the terminal device and the traffic code scanning device is limited in a broadcast information mode, so that the situation that the bus code is copied and used can be avoided, and the current use can be detected in a preset condition judgment mode through the verification information to be detected and the reference verification information Whether the riding code is the riding code which is copied for use or not is achieved, and effective detection of copying and using of the riding code is achieved.
It can be understood that, since the broadcast information has a certain effective broadcast range, the generation location and the use location of the bus code are bound by the broadcast information, and if the bus code used in the effective broadcast range is not generated in the effective broadcast range, it can be shown that the currently used bus code is the bus code used in duplicate, that is, the embodiment of the present invention realizes effective detection of the duplicate use of the bus code by the predetermined verification information in the broadcast information, and further can standardize the use of the bus code.
Continuing with the foregoing example of fig. 6, when zhang prepares for outbound at station D using the outbound riding code of lie four, zhang aligns the riding code to be used (i.e., the riding code duplicate image of lie four) with the outbound gateway of station D, and the outbound gateway scans to obtain the verification information to be detected in the riding code to be used, which is obtained from the verification information (e.g., referred to as first verification information) carried in the broadcast information (e.g., first broadcast information) broadcast by the broadcasting equipment at station B because the riding code to be used is generated by lie four using a mobile phone at station B, and the reference verification information obtained in advance in the outbound gateway is determined from the verification information (e.g., referred to as second verification information) carried in the broadcast information (e.g., referred to as second broadcast information) broadcast by the broadcasting equipment at station D, and since the verification information carried in the broadcast information of the broadcasting equipment at different places is unique, when the gate compares the obtained verification information to be detected with the reference verification information, the gate finds that the verification information to be detected and the reference verification information do not meet the preset condition, and then determines that the bus code to be used at this time is the bus code which is duplicated to be used at this time.
Further, the following describes the technical solution in the embodiment of the present invention with reference to fig. 15.
Step 1501: after the broadcast information broadcasted by the broadcasting device is obtained in the manner described above, the terminal device may generate the riding code according to the predetermined verification information, the user identifier, and the geographic location information of the current location of the terminal device in the broadcast information.
That is to say, compared with the way of generating the car code by the terminal device shown in fig. 14, in the embodiment of the present invention, the terminal device also adds the user identifier and the geographic location information to the car code when generating the car code, of course, in the specific implementation process, only one of the user identifier or the geographic location information may be added to the car code along with the predetermined verification information, and the specific selection of which information is added to the car code along with the predetermined verification information may be determined according to specific service requirements.
Step 1502: after the ride code is generated in step 1501, the terminal device may copy the newly generated image of the ride code, and further transmit the generated copy image of the ride code to another terminal device, and then the other terminal device may obtain the generated copy image of the ride code.
Step 1503: and the terminal equipment displays the riding code to be used.
Similarly to the aforementioned step 1406, the to-be-used riding code currently displayed by the terminal device may be the newly generated riding code in the manner of step 1501, or may also be a received copied riding code image sent by another terminal device.
It should be noted that step 1502 is not an essential step, for example, if the terminal device displays the car code generated in step 1501 in step 1503, then step 1502 may not be executed without transmitting the copy image of the generated car code to another terminal device.
Step 1504: the traffic code scanning device scans the riding codes to be used displayed by the terminal device to obtain riding code images.
Step 1505: and the traffic code scanning equipment determines to-be-detected verification information, user identification and geographical position information in the to-be-used riding code according to the obtained riding code image.
It should be noted that, if the terminal device adds only one of the user identifier and the geographic location information to the vehicle code along with the predetermined verification information when generating the vehicle code, the traffic code scanning device can only parse the vehicle code to obtain one of the user identifier and the geographic location information.
Step 1506: the traffic code scanning device judges whether the verification information to be detected and the reference verification information meet preset conditions.
Step 1506 can be understood with reference to the description of step 1409, which is not repeated here.
Step 1507: if the verification information to be detected and the reference verification information do not meet the preset condition, the traffic code scanning device can further compare the obtained geographic position information with the geographic position information of the current position of the traffic code scanning device, and further obtain the position deviation of the two.
Step 1508: and if the position deviation is determined to be larger than the preset position deviation, determining that the riding code to be used is a riding code which is copied and used in a cross-station mode. The predetermined position deviation may be set according to actual settings, because generally, the actual distance between two sites is larger than the maximum distance within one site coverage, and thus the predetermined position deviation may be set as the maximum distance within one site coverage.
Step 1509: and if the position deviation is smaller than the preset position deviation, determining that the riding code to be used is a riding code copied and used in the same station.
According to the mode of the steps 1506 to 1509, the embodiment of the invention can accurately judge the type of the bus code copy use according to the geographical position information, that is, on the basis of determining that the bus code to be used is the copy use after judging the verification information to be detected and the reference verification information and the preset conditions, the method can further judge whether the copy use is the cross-station copy use or the same-station copy use on the basis of the geographical position information carried in the bus code, so as to carry out more detailed detection on the copy use of the bus code, and further improve the validity and the accuracy of the copy use detection.
Step 1510: if the verification information to be detected and the reference verification information do not meet the preset conditions, the traffic code scanning device can also output alarm information, the passenger code copying is prompted through the alarm information, the output mode of the alarm information can be audio, alarm music, light, images and the like, and the traffic code scanning device is not limited to the above mode, can warn the user who copies and uses the passenger code at present through the alarm information, and can prompt staff at a station to intervene in manual maintenance.
Step 1511: if the verification information to be detected and the reference verification information are determined not to meet the preset conditions, the traffic code scanning device can also generate riding code copying use prompt information, the riding code copying use prompt information is used for indicating that the currently used riding code is the copied riding code, and the riding code copying use prompt information can be written back to the terminal device through a near field communication mode (such as NFC or Bluetooth) so as to prompt a user.
Step 1512: if the verification information to be detected and the reference verification information meet the preset conditions, the traffic code scanning device determines that the riding code to be used is the riding code which is normally used, namely the detection is passed, and at the moment, a passing permission instruction can be sent to the passing blocking device to indicate that the passing blocking device is opened and then released. In a specific implementation process, the traffic blocking device may be an integrated device with the traffic code scanning device, or may be a separate device for blocking traffic, which is not limited in this embodiment of the present invention.
Step 1513: if it is determined that the verification information to be detected and the reference verification information do not meet the preset conditions, the traffic code scanning device can also generate a riding code copying use record, the riding code copying use record can include information such as copying use time and place, and the riding code copying use record and the user identifier are sent to a server (such as a background subway background server) together, so that the server can count the riding code abnormal use record of the user corresponding to the user identifier according to the received riding code copying use record, and recording and maintaining of the riding records of a plurality of users are achieved.
In addition, if the verification information to be detected and the reference verification information meet the preset conditions, the traffic code scanning device determines that the bus code to be used is the bus code which is normally used, at the moment, the code scanning time for scanning the bus code to be used can be obtained, a code scanning record is generated according to the code scanning time, the user identification and the information to be detected, and the generated code scanning record is sent to the server, so that the server can determine the traffic route of the user corresponding to the user identification according to the obtained plurality of code scanning records, further the server can charge and deduct the fee according to the determined traffic route, and the intelligent traffic of 'bus taking before and paying after' is realized.
The foregoing is described with reference to fig. 14 and 15 that the broadcasting device and the traffic code scanning device are two separate devices, and in the case that the broadcasting device and the traffic code scanning device are the same device, the difference is that the traffic code scanning device obtains the predetermined verification information from the broadcast information broadcasted by itself, and can generate the reference verification information based on the obtained predetermined verification information, and for other implementations, reference may be made to the implementations of fig. 14-15, and the description will not be repeated here.
Referring to fig. 16, based on the same inventive concept, an embodiment of the present invention provides a detection apparatus for copying and using a riding code, where the detection apparatus for copying and using a riding code may be, for example, the aforementioned gate 82, gate 92, bus bar scanner 102, or bus bar scanner 112. The detection device used for copying the riding code can be a hardware structure, a software module or a hardware structure and a software module. The detection device for copying the riding code can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices.
Referring to fig. 16, the device for detecting duplication of riding codes in the embodiment of the present invention may include a scanning module 161, a first determining module 162, and a second determining module 163. Wherein:
the scanning module 161 is configured to scan a to-be-used riding code displayed by the terminal device to obtain a riding code image, where the to-be-used riding code is generated according to the first verification information carried in the first broadcast information;
the first determining module 162 is used for determining to-be-detected verification information in the riding code to be used according to the riding code image;
the second determining module 163 is configured to determine that the riding code to be used is the riding code copied to be used when the to-be-detected verification information and the reference verification information do not meet the preset condition, where the reference verification information is determined according to the second verification information carried in the second broadcast information.
In a possible embodiment, the device for detecting the duplication of the riding code further comprises:
the first obtaining module is used for obtaining broadcast information broadcast by the broadcasting equipment;
and the second obtaining module is used for determining the preset verification information in the obtained broadcast information as the reference verification information, or performing preset processing on the preset verification information in the obtained broadcast information according to a preset processing rule to obtain the reference verification information.
In a possible implementation manner, each of the plurality of riding codes further includes geographical location information when the terminal device generates the corresponding riding code, and the detection device for use by copying the riding code further includes:
the comparison module is used for comparing the geographical position information in the riding code to be used with the current geographical position information of the detection device copied and used by the riding code to obtain position deviation when the verification information to be detected and the reference verification information do not meet the preset condition;
and the third determining module is used for determining that the bus code to be used is a bus code which is copied and used in a cross-station manner if the position deviation is greater than or equal to the preset position deviation value, or determining that the bus code to be scanned is a bus code which is copied and used in the same station if the position deviation is smaller than the preset position deviation value.
In a possible implementation manner, each of the plurality of riding codes further includes a user identifier, and the riding code duplication use detection apparatus further includes a first sending module configured to:
after the second determining module 163 determines that the riding code to be used is the riding code copied for use, the user identifier and the riding code copied use record are sent to the server, so that the server counts the riding code abnormal use record of the user corresponding to the user identifier according to the riding code copied use record.
In one possible embodiment, each of the plurality of riding codes further includes a user identifier, and the riding code duplication usage detection device further includes:
the fourth determining module is used for determining that the riding code to be used is the riding code which is normally used when the verification information to be detected and the reference verification information meet the preset condition;
the generating module is used for acquiring code scanning time for scanning the bus code to be used and generating a code scanning record according to the code scanning time, the user identification and the verification information to be detected;
and the second sending module is used for sending the code scanning record to the server so that the server determines the traffic route of the user corresponding to the user identifier according to the code scanning record.
In a possible implementation manner, the detection device for bus code copy use further comprises an output module, which is used for determining that the bus code to be used is the bus code to be copied used when the verification information to be detected and the reference verification information do not meet the preset condition, and outputting warning information, wherein the warning information is used for warning prompt for the bus code copy use.
Referring to fig. 17, based on the same inventive concept, an embodiment of the present invention further provides a terminal device, where the terminal device may be, for example, the terminal device 81, the terminal device 91, the terminal device 101, or the terminal device 111, and the terminal device may be a hardware structure, a software module, or a hardware structure plus a software module. The terminal device can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices.
Referring to fig. 17, the terminal device in the embodiment of the present invention may include an obtaining module 171, a generating module 172, and a displaying module 173. Wherein:
the obtaining module 171 is configured to obtain broadcast information broadcasted by a broadcasting device, where the broadcast information carries predetermined verification information, and the broadcasting device and the traffic code scanning device have a predetermined position relationship, where the predetermined position relationship indicates that the traffic code scanning device is in an effective broadcast range of the broadcasting device;
the generating module 172 is configured to generate a riding code according to the predetermined verification information;
the display module 173 is configured to display the riding code to be used, so that the traffic code scanning device scans the riding code to be used, and determines whether the riding code to be used is a duplicated riding code according to-be-detected verification information in the riding code to be used;
the terminal device in the embodiment of the present invention may further include a receiving module, configured to receive riding code copying use prompting information sent by the server.
The related content of each step related to the detection method for copying and using the riding code may be referred to the functional description of the corresponding functional module in the embodiment of the present invention, and is not described herein again.
The division of the modules in the embodiments of the present invention is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present invention may be integrated in one processor, or may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
As shown in fig. 18, an embodiment of the present invention further provides a traffic code scanning device, which may be, for example, the aforementioned gate 92 or the bus code scanning device 112, and the traffic code scanning device includes a processor 181, a memory 182, a camera 183, an NFC module 184, and a broadcasting module 185, that is, the traffic code scanning device has an autonomous broadcasting capability, and further includes a metal housing, where the processor 181, the memory 182, the NFC module 184, and the broadcasting module 185 may be integrated in the metal housing, and the camera 183 may be embedded in the metal housing. The plurality of pieces of broadcast information may be broadcast by the broadcast module 185, for example, the plurality of pieces of broadcast information may be broadcast at a predetermined cycle, and each piece of broadcast information may carry corresponding predetermined authentication information, that is, the predetermined authentication information carried in each piece of broadcast information may be identical, or the predetermined authentication information carried in the broadcast information may be changed periodically, and so on. The processor 181 may determine the reference verification information according to the predetermined verification information carried in the broadcast information, and the camera 183 may scan the riding code to obtain a riding code image, and analyze the riding code image to obtain the verification information to be detected in the riding code, and then compare the obtained verification information to be detected with the reference verification information to determine whether the scanned riding code is a riding code copied for use. In addition, the NFC module 184 in the embodiment of the present invention may be used to sense an entity bus card or a subway card, or may perform information interaction with a terminal device such as a mobile phone having an NFC function, and the like.
The processor 181 is a control center of the traffic code scanning device, and can connect various parts of the whole traffic code scanning device by using various interfaces and lines, and perform various functions and process data of the traffic code scanning device by operating or executing instructions stored in the memory 182 and calling data stored in the memory, thereby performing overall monitoring on the traffic code scanning device.
The processor 181 may include one or more processing units, and the processor 181 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 181. In some embodiments, the processor 181 and the memory may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The Processor 181 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
The memory 182, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. Memory 182 in embodiments of the present invention may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Referring to fig. 19, based on the same inventive concept, an embodiment of the present invention further provides a terminal device, where the terminal device may be a terminal device, such as a smart phone, a tablet computer, a PDA, a notebook computer, an in-vehicle device, an intelligent wearable device, and the like, and the terminal device may be, for example, the terminal device 81, the terminal device 91, the terminal device 101, or the terminal device 111 described above. The terminal device may be a hardware structure, a software module, or a hardware structure plus a software module. The terminal device can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices.
As shown in fig. 19, the terminal device in the embodiment of the present invention includes at least one processor 191 and a memory 192 connected to the at least one processor, a specific connection medium between the processor 191 and the memory 192 is not limited in the embodiment of the present invention, in fig. 19, the processor 191 and the memory 192 are connected by a bus 190 as an example, the bus 190 is represented by a thick line in fig. 19, and a connection manner between other components is only schematically illustrated and is not limited. The bus 190 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 19 for ease of illustration, but does not represent only one bus or one type of bus.
In the embodiment of the present invention, the memory 192 stores instructions executable by the at least one processor 191, and the at least one processor 191 may execute the steps included in the foregoing method for detecting the duplication of the riding code by executing the instructions stored in the memory 192.
The processor 191 may be implemented according to the processor 181 in fig. 18, and the memory 192 may be implemented according to the memory 182 in fig. 18, which will not be described again here.
Referring to another schematic structural diagram of the terminal device shown in fig. 20, the terminal device may further include components such as an input unit 203, a display unit 204, a radio frequency unit 205, an audio circuit 206, a speaker 207, a microphone 208, a wireless fidelity (WiFi) module 209, a bluetooth module 2010, a power source 2011, an external interface 2012, and a headset jack 2012. Those skilled in the art will appreciate that fig. 20 is merely an example of a terminal device and is not intended to limit the terminal device, which may include more or fewer components than those shown, or some components may be combined, or different components.
The input unit 203 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. For example, the input unit 203 may include a touch screen 2031 and other input devices 2032. The touch screen 2031 can collect touch operations by a user (e.g., operations by the user on or near the touch screen 2031 using any suitable object such as a finger, a joint, a stylus, etc.), i.e., the touch screen 2031 can be used to detect touch pressure and touch input position and touch input area, and drive the corresponding connection device according to a preset program. The touch screen 2031 can detect a touch operation of the touch screen 2031 by a user, convert the touch operation into a touch signal and transmit the touch signal to the processor 191, or can transmit touch information of the touch operation to the processor 191, and can receive and execute a command transmitted from the processor 191. The touch information may include at least one of pressure magnitude information and pressure duration information. The touch screen 2031 may provide an input interface and an output interface between the terminal device and the user. In addition, the touch screen 2031 can be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 203 may include other input devices 2032 in addition to the touch screen 2031. For example, other input devices 2032 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 204 may be used to display information input by the user or information provided to the user and various menus of the terminal device. Further, the touch screen 2031 may cover the display unit 204, and when the touch screen 2031 detects a touch operation thereon or nearby, the pressure information of the touch operation is transmitted to the processor 171 to be determined. In the embodiment of the present invention, the touch screen 2031 and the display unit 204 may be integrated into one component to implement the input, output, and display functions of the terminal device. For convenience of description, the embodiment of the invention is schematically illustrated by taking the touch screen 2031 as an example of the functional set of the touch screen 2031 and the display unit 204, but in some embodiments, the touch screen 2031 and the display unit 204 can be taken as two independent components.
When the display unit 204 and the touch panel are superimposed on each other in the form of layers to form the touch screen 2031, the display unit 204 can be used as an input device and an output device, and when being an output device, can be used to display images, for example, to enable playing of various videos. The Display unit 204 may include at least one of a Liquid Crystal Display (LCD), a Thin Film Transistor Liquid Crystal Display (TFT-LCD), an Organic Light Emitting Diode (OLED) Display, an Active Matrix Organic Light Emitting Diode (AMOLED) Display, an In-plane switching (IPS) Display, a flexible Display, a 3D Display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and the terminal device may include two or more display units (or other display means) according to a particular desired embodiment, for example, the terminal device may include an external display unit (not shown in fig. 20) and an internal display unit (not shown in fig. 20).
The rf unit 205 may be used for receiving and transmitting information or signals during a call. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency unit 205 may also communicate with network devices and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The audio circuitry 206, speaker 207, microphone 208 may provide an audio interface between the user and the terminal device. The audio circuit 206 may transmit the electrical signal converted from the received audio data to the speaker 207, and convert the electrical signal into an audio signal for output by the speaker 207. On the other hand, the microphone 208 converts the collected sound signal into an electrical signal, which is received by the audio circuit 206 and converted into audio data, and then the audio data is processed by the audio data output processor 191, and then sent to another electronic device via the radio frequency unit 205, or output to the memory 192 for further processing, and the audio circuit may also include a headphone jack 2012 for providing a connection interface between the audio circuit and a headphone.
WiFi belongs to short distance wireless transmission technology, and the terminal device can help the user send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 209, which provides wireless broadband internet access for the user. Although fig. 20 shows the WiFi module 209, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Bluetooth is a short-range wireless communication technology. By using the bluetooth technology, the communication between mobile communication terminal devices such as a palm computer, a notebook computer, a mobile phone and the like can be effectively simplified, the communication between the devices and the Internet (Internet) can also be successfully simplified, the terminal devices enable the data transmission between the terminal devices and the Internet to be more rapid and efficient through the bluetooth module 2010, and the way is widened for wireless communication. Bluetooth technology is an open solution that enables wireless transmission of voice and data. Although fig. 20 shows the bluetooth module 2010, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The terminal device may also include a power source 2011 (such as a battery) for receiving external power or powering various components within the terminal device. Preferably, the power source 2011 may be logically connected to the processor 171 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
The terminal device may further include an external interface 2012, where the external interface 2012 may include a standard Micro USB interface, and may also include a multi-pin connector, which may be used to connect the terminal device to communicate with other devices, and may also be used to connect a charger to charge the terminal device.
Although not shown, the terminal device in the embodiment of the present invention may further include a camera, a flash, and other possible functional modules, which are not described herein again.
Based on the same inventive concept, the embodiment of the present invention further provides a storage medium, where the storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer executes the steps of the method for detecting the duplicated usage of the riding code.
Based on the same inventive concept, an embodiment of the present invention further provides a detection apparatus for vehicle code duplication, where the detection apparatus for vehicle code duplication includes at least one processor and a readable storage medium, and when instructions included in the readable storage medium are executed by the at least one processor, the steps of the detection method for vehicle code duplication may be performed.
Based on the same inventive concept, the embodiment of the present invention further provides a chip system, where the chip system includes a processor and may further include a memory, and is used to implement the steps of the foregoing method for detecting duplication and use of the riding code. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
In some possible embodiments, the aspects of the detection method for duplicated usage of a vehicle code provided by the present invention may also be implemented in the form of a program product comprising program code for causing a computer to perform the steps of the detection method for duplicated usage of a vehicle code according to various exemplary embodiments of the present invention described above when the program product is run on the computer.
Based on the same inventive concept, the embodiment of the invention also provides a detection device for copying and using the riding code, which comprises: a memory for storing program instructions; and a processor for calling the program instructions stored in the memory and executing the steps of the method for detecting the duplication of the riding code according to the various exemplary embodiments of the present invention described in the foregoing description according to the obtained program instructions.
Based on the same inventive concept, embodiments of the present invention also provide a storage medium storing computer-executable instructions for causing a computer to perform the steps in the method for detecting duplicate use of a ride code according to various exemplary embodiments of the present invention described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. A detection system for copying and using a riding code is characterized by comprising terminal equipment, broadcasting equipment and traffic code scanning equipment; wherein:
the broadcasting equipment is used for broadcasting a plurality of pieces of broadcasting information carrying predetermined verification information in an effective broadcasting range;
the terminal device is used for obtaining a plurality of pieces of broadcast information in the effective broadcast range at a plurality of moments; and obtaining predetermined verification information in each piece of broadcast information; generating a plurality of riding codes corresponding to the plurality of moments according to the obtained preset verification information;
the traffic code scanning device is used for scanning the riding codes to be used displayed by the terminal device to obtain riding code images; determining to-be-detected verification information in the to-be-used riding code according to the riding code image; when the verification information to be detected and the reference verification information do not meet the preset condition, determining that the riding code to be used is the riding code which is copied to be used, wherein the reference verification information is determined according to the preset verification information;
wherein the traffic code scanning device and the broadcasting device have a predetermined position relationship therebetween, and the predetermined position relationship indicates that the traffic code scanning device is within the effective broadcasting range.
2. The system of claim 1, wherein the broadcasting device and the traffic code scanning device are the same device, or wherein the broadcasting device and the traffic code scanning device are different devices.
3. The system of claim 2, wherein when the broadcasting device and the traffic code scanning device are different devices, the traffic code scanning device is further configured to:
obtaining broadcast information broadcast by the broadcasting equipment;
and determining the preset verification information in the obtained broadcast information as the reference verification information, or performing preset processing on the preset verification information in the obtained broadcast information according to a preset processing rule to obtain the reference verification information.
4. The system of claim 1, wherein the broadcast device is an iBeacon device.
5. The system of claim 1, wherein the predetermined authentication information is determined based on a device identification of the broadcasting device.
6. The system of any one of claims 1-5, wherein each ride code of the plurality of ride codes further comprises geographic location information when the terminal device generates the corresponding ride code; the traffic code scanning device is used for:
when the verification information to be detected and the reference verification information do not meet the preset condition, comparing the geographical position information in the bus code to be used with the current geographical position information of the traffic code scanning equipment to obtain position deviation;
if the position deviation is larger than or equal to a preset position deviation value, determining that the bus code to be used is a bus code which is copied and used in a cross-station mode;
and if the position deviation is smaller than the preset position deviation value, determining that the bus code to be scanned is a bus code copied and used in the same station.
7. The system of any one of claims 1-5, wherein each ride code of the plurality of ride codes further comprises a user identification; the traffic code scanning device is further used for:
after the riding code to be used is determined to be the riding code which is copied and used, the user identification and the riding code copying and using record are sent to a server, so that the server can count the riding code abnormal using record of the user corresponding to the user identification according to the riding code copying and using record.
8. The system of any one of claims 1-5, wherein each ride code of the plurality of ride codes further comprises a user identification; the traffic code scanning device is further used for:
when the verification information to be detected and the reference verification information meet the preset condition, determining that the riding code to be used is a normally used riding code;
acquiring code scanning time for scanning the riding code to be used, and generating a code scanning record according to the code scanning time, the user identification and the verification information to be detected;
and sending the code scanning record to a server so that the server determines the traffic travel of the user corresponding to the user identifier according to the code scanning record.
9. A method for detecting the copying use of a riding code is characterized by comprising the following steps:
broadcasting a plurality of pieces of broadcast information carrying predetermined verification information in an effective broadcasting range by the broadcasting equipment;
the terminal equipment obtains a plurality of pieces of broadcast information in the effective broadcast range at a plurality of moments; and obtaining predetermined verification information in each piece of broadcast information; generating a plurality of riding codes corresponding to the plurality of moments according to the obtained preset verification information;
the traffic code scanning device scans the riding codes to be used displayed by the terminal device to obtain riding code images; determining to-be-detected verification information in the to-be-used riding code according to the riding code image; when the verification information to be detected and the reference verification information do not meet the preset condition, determining that the riding code to be used is the riding code which is copied to be used, wherein the reference verification information is determined according to the preset verification information;
wherein the traffic code scanning device and the broadcasting device have a predetermined position relationship therebetween, and the predetermined position relationship indicates that the traffic code scanning device is within the effective broadcasting range.
10. A method for detecting the copying use of a riding code is characterized by comprising the following steps:
scanning a to-be-used riding code displayed by terminal equipment to obtain a riding code image, wherein the to-be-used riding code is generated according to first verification information carried in first broadcast information;
determining to-be-detected verification information in the to-be-used riding code according to the riding code image;
and when the verification information to be detected and the reference verification information do not meet the preset condition, determining that the riding code to be used is the riding code which is copied to be used, wherein the reference verification information is determined according to second verification information carried in second broadcast information.
11. A method for detecting the copying use of a riding code is characterized by comprising the following steps:
acquiring broadcast information broadcasted by broadcasting equipment, wherein the broadcast information carries preset verification information, the broadcasting equipment and traffic code scanning equipment have a preset position relation, and the preset position relation indicates that the traffic code scanning equipment is in an effective broadcasting range of the broadcasting equipment;
generating a riding code according to the preset verification information;
displaying the riding codes to be used so that the traffic code scanning equipment scans the riding codes to be used, and determining whether the riding codes to be used are the copied riding codes according to-be-detected verification information in the riding codes to be used.
12. A ride code duplication detection apparatus, comprising:
the system comprises a scanning module, a receiving module and a processing module, wherein the scanning module is used for scanning a to-be-used riding code displayed by terminal equipment to obtain a riding code image, and the to-be-used riding code is generated according to first verification information carried in first broadcast information;
the first determining module is used for determining to-be-detected verification information in the to-be-used riding code according to the riding code image;
and the second determining module is used for determining that the to-be-used riding code is a duplicated riding code when the to-be-detected verification information and the reference verification information do not meet the preset condition, wherein the reference verification information is determined according to second verification information carried in second broadcast information.
13. A terminal device, characterized in that the terminal device comprises:
the system comprises an obtaining module, a receiving module and a processing module, wherein the obtaining module is used for obtaining broadcast information broadcasted by broadcasting equipment, the broadcast information carries preset verification information, the broadcasting equipment and traffic code scanning equipment have a preset position relation, and the preset position relation indicates that the traffic code scanning equipment is in an effective broadcasting range of the broadcasting equipment;
the generating module is used for generating a riding code according to the preset verification information;
and the display module is used for displaying the bus codes to be used so that the traffic code scanning equipment scans the bus codes to be used and determines whether the bus codes to be used are the copied bus codes according to the verification information to be detected in the bus codes to be used.
14. A ride code duplication detection apparatus, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory for performing the steps comprised by the method of claim 9, or for performing the steps comprised by the method of claim 10, or for performing the steps comprised by the method of claim 11, in accordance with the obtained program instructions.
15. A storage medium storing computer-executable instructions for causing a computer to perform the steps comprising the method of claim 9, or to perform the steps comprising the method of claim 10, or to perform the steps comprising the method of claim 11.
CN201810691558.7A 2018-06-28 2018-06-28 Detection system, method and device for copying and using riding code and terminal equipment Active CN110660139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810691558.7A CN110660139B (en) 2018-06-28 2018-06-28 Detection system, method and device for copying and using riding code and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810691558.7A CN110660139B (en) 2018-06-28 2018-06-28 Detection system, method and device for copying and using riding code and terminal equipment

Publications (2)

Publication Number Publication Date
CN110660139A true CN110660139A (en) 2020-01-07
CN110660139B CN110660139B (en) 2021-07-23

Family

ID=69026485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810691558.7A Active CN110660139B (en) 2018-06-28 2018-06-28 Detection system, method and device for copying and using riding code and terminal equipment

Country Status (1)

Country Link
CN (1) CN110660139B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654825A (en) * 2020-06-02 2020-09-11 Tcl通讯(宁波)有限公司 Checkpoint passing management method, device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1538862A1 (en) * 2003-12-04 2005-06-08 Lucent Technologies Inc. Method and apparatus for determining the current location of a Bluetooth enabled device by synchronizing with a plurality of other devices
GB2415072A (en) * 2004-06-07 2005-12-14 Dmatek Ltd Monitoring and tracking network
CN102842081A (en) * 2011-06-23 2012-12-26 上海易悠通信息科技有限公司 Method for generating two-dimensional code and implementing mobile payment by mobile phone
CN204856594U (en) * 2015-07-28 2015-12-09 福建新大陆电脑股份有限公司 On --spot payment equipment and system with broadcasting function
CN105405170A (en) * 2015-12-07 2016-03-16 广西米付网络技术有限公司 Subway ticket checking terminal based on low-power-consumption bluetooth and two-dimensional code scanning
CN105405172A (en) * 2015-12-07 2016-03-16 广西米付网络技术有限公司 Bus charging terminal based on low-power-consumption bluetooth and two-dimensional code scanning
CN106846506A (en) * 2017-01-25 2017-06-13 腾讯科技(深圳)有限公司 A kind of method and system that Information Authentication is carried out based on message identification code
CN107301442A (en) * 2017-07-27 2017-10-27 厦门壹码通科技有限责任公司 Barcode scanning terminal control intelligent terminal generates Quick Response Code and the system and method verified
CN206684807U (en) * 2016-11-22 2017-11-28 深圳市微付充科技有限公司 gate and gate system
CN206757639U (en) * 2017-03-24 2017-12-15 厦门壹码通科技有限责任公司 It is a kind of based on offline interaction code reader
CN107516210A (en) * 2017-08-31 2017-12-26 八维通科技有限公司 A kind of method of mobile payment based on Quick Response Code and bluetooth for track traffic

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1538862A1 (en) * 2003-12-04 2005-06-08 Lucent Technologies Inc. Method and apparatus for determining the current location of a Bluetooth enabled device by synchronizing with a plurality of other devices
GB2415072A (en) * 2004-06-07 2005-12-14 Dmatek Ltd Monitoring and tracking network
CN102842081A (en) * 2011-06-23 2012-12-26 上海易悠通信息科技有限公司 Method for generating two-dimensional code and implementing mobile payment by mobile phone
CN204856594U (en) * 2015-07-28 2015-12-09 福建新大陆电脑股份有限公司 On --spot payment equipment and system with broadcasting function
CN105405170A (en) * 2015-12-07 2016-03-16 广西米付网络技术有限公司 Subway ticket checking terminal based on low-power-consumption bluetooth and two-dimensional code scanning
CN105405172A (en) * 2015-12-07 2016-03-16 广西米付网络技术有限公司 Bus charging terminal based on low-power-consumption bluetooth and two-dimensional code scanning
CN206684807U (en) * 2016-11-22 2017-11-28 深圳市微付充科技有限公司 gate and gate system
CN106846506A (en) * 2017-01-25 2017-06-13 腾讯科技(深圳)有限公司 A kind of method and system that Information Authentication is carried out based on message identification code
CN206757639U (en) * 2017-03-24 2017-12-15 厦门壹码通科技有限责任公司 It is a kind of based on offline interaction code reader
CN107301442A (en) * 2017-07-27 2017-10-27 厦门壹码通科技有限责任公司 Barcode scanning terminal control intelligent terminal generates Quick Response Code and the system and method verified
CN107516210A (en) * 2017-08-31 2017-12-26 八维通科技有限公司 A kind of method of mobile payment based on Quick Response Code and bluetooth for track traffic

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654825A (en) * 2020-06-02 2020-09-11 Tcl通讯(宁波)有限公司 Checkpoint passing management method, device and storage medium

Also Published As

Publication number Publication date
CN110660139B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN110633975B (en) Travel control system, method and device in public transport and traffic payment method
US11861621B2 (en) Payment risk control method and system
TW201935390A (en) Data processing method and apparatus for claims settlement service, and electronic device and server
CN110706371B (en) Block chain-based driving safety management method, system and storage medium
CN110598879B (en) Garbage collection method, device, equipment and storage medium based on block chain
US11587049B2 (en) Combining user device identity with vehicle information for traffic zone detection
CN110602097B (en) Block chain-based task processing method, device, equipment and storage medium
CN105096521A (en) Safety pre-warning method and related device
CN111160915A (en) Bus code verification method and device, traffic code scanning equipment and terminal equipment
CN113364490B (en) NFC application calling method, electronic equipment and NFC device
US20240013106A1 (en) Application-based commercial ground transportation clearinghouse system
WO2023060902A1 (en) Riding method and apparatus of public transport means, device, storage medium, and computer program product
WO2017095307A1 (en) Improved method of providing a service by a service terminal to a user of a mobile device, and an associated communication system
CN110660139B (en) Detection system, method and device for copying and using riding code and terminal equipment
CN112562100B (en) User binding method and device
CN116011800A (en) Traffic event early warning method and equipment
CN105303120A (en) Short message reading method and apparatus
US8649771B1 (en) System and method for controlling access to a particular functionality of a wireless communication device
US20240054489A1 (en) Traffic information processing methods, apparatuses, electronic devices, servers, and storage mediums
CN111475233B (en) Information acquisition method, graphic code generation method and device
EP3910925A1 (en) Movement management system, and movement management method
CN115038053A (en) Travel reminding method and electronic equipment
WO2020082834A1 (en) Toll collection method, system and apparatus for road tolls, and electronic device
KR101960240B1 (en) Method and system for issuing registration certificate using smart phone
CN111653021A (en) User identity authentication method, device and storage medium based on WiFi-Aware network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40020313

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant