CN114944020A - Method and device for verifying riding information - Google Patents
Method and device for verifying riding information Download PDFInfo
- Publication number
- CN114944020A CN114944020A CN202210556425.5A CN202210556425A CN114944020A CN 114944020 A CN114944020 A CN 114944020A CN 202210556425 A CN202210556425 A CN 202210556425A CN 114944020 A CN114944020 A CN 114944020A
- Authority
- CN
- China
- Prior art keywords
- riding
- information
- mobile terminal
- verification
- coded image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 238000012795 verification Methods 0.000 claims abstract description 292
- 238000001514 detection method Methods 0.000 claims description 42
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 abstract description 14
- 239000010410 layer Substances 0.000 description 19
- 238000004590 computer program Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 238000007726 management method Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 150000007523 nucleic acids Chemical class 0.000 description 3
- 102000039446 nucleic acids Human genes 0.000 description 3
- 108020004707 nucleic acids Proteins 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000036541 health Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B15/00—Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
- G07B15/02—Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3274—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/20—Individual registration on entry or exit involving the use of a pass
- G07C9/27—Individual registration on entry or exit involving the use of a pass with central registration
Landscapes
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Abstract
The application discloses a method and equipment for verifying riding information, and relates to the technical field of electronics. The bus taking verification server can send the first coded image to the display device at the first station for display by the display device before the bus arrives at the first station. After the mobile terminal scans the first coded image, if the riding verification server determines that the riding verification information of the user account logged in the mobile terminal passes verification and the mobile terminal has pre-paid riding cost, the riding verification server sends a second coded image to the mobile terminal so that a passenger to which the mobile terminal belongs can ride the vehicle. Therefore, by adopting the verification method of the riding information provided by the embodiment of the application, passengers can directly control the mobile terminal to display the second coding image, and then riding can be realized. The riding verification information does not need to be displayed by the mobile terminal, and riding can be achieved only by switching and displaying the riding payment code, so that the riding process is simplified, riding efficiency is improved, and riding experience of passengers is improved.
Description
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for verifying riding information.
Background
At present, in the process of taking a bus by a passenger, a mobile terminal needs to be controlled to display a personal information interface, and the personal information interface displays riding verification information (such as a health code) of the passenger. After the driver of the public transport vehicle determines that the riding verification information meets riding conditions, the passenger can control the mobile terminal to switch the personal information interface into a riding interface with a riding payment code displayed. After that, the passenger can place the mobile terminal in the scanning range of the vehicle-mounted device in the bus, so that the vehicle-mounted device scans the bus taking payment code to realize bus taking.
Therefore, the current process of taking the public transport vehicles is complex, and the taking efficiency is low.
Disclosure of Invention
The application provides a method and equipment for verifying riding information, which can solve the problems of complex process of taking a public transport vehicle and low riding efficiency in the related technology. The technical scheme is as follows:
on one hand, the method for verifying the riding information is provided and is applied to a riding verification server; the method comprises the following steps:
before a bus arrives at a first station, sending a first coded image to display equipment located at the first station for the display equipment to display, wherein the first coded image is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
responding to an information detection instruction triggered by the mobile terminal scanning the first coded image, and verifying riding verification information of a user account logged in the mobile terminal, wherein the information detection instruction comprises the user account and the first vehicle information;
if the riding verification information is verified and the mobile terminal already pre-pays the riding fee, sending a second coded image to the mobile terminal for the mobile terminal to display, wherein the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and the payment information of the riding fee;
and if the second coded image is determined to be scanned by the vehicle-mounted equipment of the public transport vehicle, deducting the riding cost.
On the other hand, a method for verifying the riding information is provided, and is applied to a mobile terminal; the method comprises the following steps:
scanning a first coded image displayed by a display device at a first station, wherein the first coded image is sent by a riding verification server before a bus arrives at the first station and is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
sending an information detection instruction to the riding verification server, wherein the information detection instruction comprises a user account logged in the mobile terminal and the first vehicle information;
and receiving and displaying a second coded image sent by the riding verification server, wherein the second coded image is used for scanning by vehicle-mounted equipment of the public transport vehicle, the second coded image is sent after the riding verification server responds to the information detection instruction and determines that the riding verification information of the user account passes verification and the mobile terminal pre-pays riding fee, and the second coded image is obtained based on a verification result of the riding verification information, the first vehicle information and payment information of the riding fee.
In yet another aspect, a ride verification server is provided, which includes: a processor; the processor is configured to:
before a bus arrives at a first station, sending a first coded image to display equipment located at the first station for the display equipment to display, wherein the first coded image is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
responding to an information detection instruction triggered by the mobile terminal scanning the first coded image, and verifying riding verification information of a user account logged in the mobile terminal, wherein the information detection instruction comprises the user account and the first vehicle information;
if the riding verification information is verified and the mobile terminal already pre-pays the riding fee, sending a second coded image to the mobile terminal for displaying by the mobile terminal, wherein the second coded image is obtained based on a verification result of the riding verification information, the first vehicle information and payment information of the riding fee;
and if the second coded image is determined to be scanned by the vehicle-mounted equipment of the public transport vehicle, deducting the riding cost.
In still another aspect, a mobile terminal is provided, which includes: the system comprises a processor, a display screen and a camera; the processor is configured to:
the method comprises the steps that a camera is controlled to scan a first coded image displayed by a display device located at a first platform, the first coded image is sent by a bus taking verification server before a bus arrives at the first platform and is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
sending an information detection instruction to the riding verification server, wherein the information detection instruction comprises a user account logged in the mobile terminal and the first vehicle information;
and receiving and controlling the display screen to display a second coded image sent by the riding verification server, wherein the second coded image is used for scanning by vehicle-mounted equipment of the public transport vehicle, the second coded image is sent after the riding verification server responds to the information detection instruction and determines that the riding verification information of the user account passes verification and the mobile terminal pre-pays the riding fee, and the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and the payment information of the riding fee.
In another aspect, a ride verification server is provided, where the ride verification server includes: the system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the riding information verification method applied to the riding verification server.
In still another aspect, a mobile terminal is provided, which includes: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the riding information verification method applied to the mobile terminal.
In still another aspect, a computer-readable storage medium is provided, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the method for verifying riding information according to the above aspect.
In a further aspect, a computer program product comprising instructions is provided, which when run on the computer, causes the computer to perform the method of verifying ride information of the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the application provides a method and a device for verifying riding information, wherein a riding verification server can send a first coded image to a display device located at a first platform before a public transport vehicle arrives at the first platform so as to be displayed by the display device. After the mobile terminal scans the first coded image, if the riding verification server determines that the riding verification information of the user account logged in the mobile terminal passes verification and the mobile terminal has pre-paid riding cost, the riding verification server sends a second coded image to the mobile terminal so that a passenger to which the mobile terminal belongs can ride the vehicle. Therefore, by adopting the verification method of the riding information provided by the embodiment of the application, passengers can directly control the mobile terminal to display the second coding image, and then riding can be realized. The riding can be realized without controlling the mobile terminal to display the riding verification information firstly and then switching and displaying the riding payment code, so that the riding process is simplified, the riding efficiency is improved, and the riding experience of passengers is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a riding information verification system provided in an embodiment of the present application;
fig. 2 is a flowchart of a method for verifying riding information according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another method for verifying riding information according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a display device at a first station displaying a first encoded image according to an embodiment of the present disclosure;
fig. 5 is an interface schematic diagram of a mobile terminal enabling a pre-payment function of a ride fee according to an embodiment of the present application;
fig. 6 is a schematic interface diagram of a mobile terminal prepayment fare according to an embodiment of the present application;
FIG. 7 is a diagram illustrating a mobile terminal displaying a second encoded image according to an embodiment of the present disclosure;
fig. 8 is an interface diagram displayed by the mobile terminal after the first encoded information is invalidated according to the embodiment of the present application;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 10 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a ride information verification system according to an embodiment of the present application. Referring to fig. 1, the system may include: a ride verification server 110, a vehicle-mounted device 120 of a bus, a display device 130 located at a station (i.e., a bus stop), and a mobile terminal 140 of a passenger. The riding verification server 110 may establish communication connections with the in-vehicle device 120, the display device 130, and the mobile terminal 140, respectively.
Optionally, the ride verification server 110 may be a server, or may be a server cluster composed of a plurality of servers, or may be a cloud computing service center. The mobile terminal 140 may be a mobile phone, a tablet or a notebook computer.
The embodiment of the application provides a method for verifying riding information, and the method can be applied to a system for verifying riding information, such as the system shown in fig. 1. Referring to fig. 2, the method includes:
step 101, before a bus arrives at a first station, a riding verification server sends a first coded image to a display device located at the first station.
Wherein the first station is a bus station to which the bus will arrive. The first coded image is obtained by coding first vehicle information of the public transport vehicle by the riding verification server. The first vehicle information includes an identification of the mass-transit vehicle. The identification may include the license plate number of the bus.
In an alternative implementation, the vehicle-mounted device of the public transportation vehicle may send the first vehicle information to the ride verification server before reaching the first station. After receiving the first vehicle information, the riding verification server can determine a first station where the bus vehicle is to arrive and send a first coded image to display equipment located at the first station.
In this implementation, the ride verification server may determine the first station by: the bus taking verification server can obtain the current position of the bus, and can determine a first platform where the bus is to arrive according to the current position of the bus and a route map of the bus.
Alternatively, the first vehicle information may further include a station identification of the first station, and a transmission time of the first vehicle information. The identification may be the name of the first station or may be the number of the first station. The number may be an order in which the first station is arranged among the plurality of stations. Based on the above, the bus can directly determine the station indicated by the station identifier in the first vehicle information as the first station to which the bus is to arrive.
In another alternative implementation, the ride verification server may obtain the current location of the bus. Then, if the riding verification server determines that the bus is about to arrive at the first station according to the current position of the bus and a route map of the bus, the riding verification server can send a first coded image to display equipment located at the first station.
It can be understood that, if the first coded image is a coded image obtained by coding the identification of the public transportation vehicle, the first coded image can be referred to as a location code of the public transportation vehicle.
Step 102, a display device at a first station displays a first encoded image.
After the display device at the first station receives the first encoded image, the first encoded image is displayed on the display screen of the display device. In addition, the display device can also display the number of the bus in the process of displaying the first coded image, so that passengers can know the number of the bus.
And 103, the mobile terminal sends an information detection instruction triggered by scanning the first coded image to the riding verification server.
If the passenger to which the mobile terminal belongs needs to take the bus, the mobile terminal can be controlled to scan the first coded image displayed in the display device at the first platform. And after scanning the first coded image, the mobile terminal can send an information detection instruction to the riding verification server. Wherein, the information detection instruction may include: the user account and the first vehicle information of the public transport vehicle are logged in the mobile terminal. The user account number may be a code that can be used to uniquely identify the passenger to which the mobile terminal belongs, and may be, for example, the passenger's identification number.
Because the display device at the first platform can display the first coded image before the bus arrives at the first platform, the passenger can control the mobile terminal to scan the first coded image in advance, so that the phenomenon that the passenger gets on the bus and is blocked due to the fact that the passenger can control the mobile terminal to scan the place code of the bus after the bus arrives at the first platform can be avoided, and the bus taking efficiency is effectively improved. In addition, as more time can be reserved for the passengers to scan the first coded image, the problem that the access pressure of the riding verification server is higher due to the fact that a large number of passengers scan the first coded image at the same time can be avoided.
And 104, responding to the information detection instruction by the riding verification server, and if the riding verification information of the user account logged in the mobile terminal is verified and the mobile terminal has pre-paid riding cost, sending a second coded image to the mobile terminal by the riding verification server.
After receiving the information detection instruction sent by the mobile terminal, the riding verification server may determine, based on the user account carried in the information detection instruction, riding verification information of a passenger corresponding to the user account from a corresponding relationship between the account and the verification information. The correspondence may be pre-stored in the ride verification server. After that, the riding verification server can detect whether the riding verification information meets riding conditions and whether the mobile terminal has pre-paid riding cost.
If the riding verification server determines that the riding verification information meets riding conditions, the riding verification information can be determined to pass verification. If the riding verification server determines that the riding verification information passes the verification and the mobile terminal has pre-paid riding fee, the riding verification server can encode the verification result of the riding verification information, the first vehicle information of the public transport vehicle and the payment information of the riding fee to obtain a second encoded image and send the second encoded image to the mobile terminal.
The riding conditions may be pre-stored by the riding verification server. Optionally, the second encoded image is a two-dimensional code.
And 105, displaying the second coded image by the mobile terminal.
After receiving the second encoded image, the mobile terminal may display the second encoded image in its display screen.
And step 106, deducting the riding cost if the riding verification server determines that the second coded image is scanned by the vehicle-mounted equipment of the public transport vehicle.
After the passenger gets on the bus, the mobile terminal displaying the second coded image can be placed in the scanning range of the vehicle-mounted device of the bus for scanning by the vehicle-mounted device. After scanning the second encoded image, the in-vehicle device may transmit a target message indicating that the second encoded image has been scanned to the ride verification server. After receiving the target message, the riding verification server can determine that the vehicle-mounted equipment of the public transport vehicle scans the second coded image, and then can deduct the riding cost which is already reserved by the mobile terminal. Therefore, passengers can take the bus (namely, one-code bus) by using one coded image, and the bus taking efficiency is high.
In summary, the embodiment of the present application provides a method for verifying riding information, where a riding verification server is capable of sending a first encoded image to a display device located at a first station before a bus arrives at the first station, so that the first encoded image is displayed by the display device. After the mobile terminal scans the first coded image, if the riding verification server determines that the riding verification information of the user account logged in the mobile terminal passes verification and the mobile terminal has pre-paid riding cost, the riding verification server sends a second coded image to the mobile terminal so that a passenger to which the mobile terminal belongs can ride the vehicle. Therefore, by adopting the verification method of the riding information provided by the embodiment of the application, passengers can directly control the mobile terminal to display the second coding image, and then riding can be realized. The riding can be realized without controlling the mobile terminal to display the riding verification information firstly and then switching and displaying the riding payment code, so that the riding process is simplified, the riding efficiency is improved, and the riding experience of passengers is improved.
The embodiment of the application takes the example that after receiving first vehicle information sent by a bus, a riding verification server sends a first coded image to a display device located at a first station, and exemplarily illustrates a riding information verification method provided by the embodiment of the application. The method can be applied to a verification system of the riding information. Referring to fig. 3, the method may include:
step 201, the vehicle-mounted device of the public transport vehicle sends first vehicle information to the data server before reaching the first station.
The first station is a station to which a bus is about to arrive and which is closest to the bus. The first vehicle information of the public transportation vehicle may include: identification of public transportation vehicles. The identification may be the license plate number of the bus.
In the embodiment of the present application, there are various triggering manners for sending the first vehicle information to the riding verification server by the vehicle-mounted device of the public transportation vehicle, and the implementation process for sending the first vehicle information to the riding verification server by the vehicle-mounted device of the public transportation vehicle is exemplarily described by using several optional implementation manners as examples.
In an optional implementation manner, the vehicle-mounted device of the bus may obtain a distance that the bus needs to travel to reach the first platform, and send the first vehicle information of the bus to the riding verification server after the distance is less than or equal to the target distance. The target distance may be pre-stored by the vehicle-mounted device of the bus. For example, the target distance may be 600 meters (m).
In another optional implementation manner, the vehicle-mounted device of the public transport vehicle may obtain a time length required by the public transport vehicle to reach the first station, and send the first vehicle information of the public transport vehicle to the riding verification server after the time length is less than or equal to a time length threshold. The duration threshold may be pre-stored by the vehicle-mounted device. For example, the duration threshold may be 3 minutes (min), or may be 2 min.
In yet another alternative implementation, the bus has an information send button. The driver of the bus can press the button after determining that the time length required by the bus to reach the first platform is approximately equal to the time length threshold value according to own experience. Accordingly, the in-vehicle device of the public transportation vehicle may transmit the first vehicle information of the public transportation vehicle to the riding verification server in response to the pressing operation for the button.
Optionally, the first vehicle information may further include: a station identification of the first station, and a transmission time of the first vehicle information. The station identifier of the first station may be the name of the first station or may be the number of the first station. The number may be an order in which the first station is arranged among the plurality of stations.
It is understood that the first vehicle information may include the number of buses, in addition to the identification of the bus, the station identification of the first station, and the transmission time of the first vehicle information. Therefore, the working personnel needing to trace the action track of the passenger can conveniently know the station on which the passenger gets on the bus.
Step 202, the ride verification server determines a first station.
After receiving first vehicle information sent by a bus, the riding verification server can determine a first station where the bus is about to arrive, and can encode the first vehicle information to obtain a first encoded image.
Optionally, the first encoded image is a two-dimensional code. If the first coded image is obtained based on the license plate number code of the bus, the first coded image can also be called as the place code of the bus.
In an embodiment of the present application, if the first vehicle information further includes a station identifier of the first station, the ride verification server may determine the station indicated by the station identifier in the first vehicle information as the first station.
If the first vehicle information does not include the station identifier of the first station, the riding verification server can obtain the current position of the bus after receiving the first vehicle information, and can determine the first station where the bus is about to arrive according to the current position of the bus and a route map of the bus.
Step 203, the ride verification server sends the first encoded image to a display device located at the first station.
After the first station is determined by the ride verification server, the first encoded image is sent to a display device located at the first station. And the bus taking verification server can also send the number of the buses to the display device positioned at the first platform.
The vehicle number may be carried in the first vehicle information described above, or may be determined by the ride verification server from a corresponding relationship between the identifier and the vehicle number based on the identifier in the first vehicle information.
Step 204, a display device at the first station displays the first encoded image.
In an embodiment of the present application, after receiving the first encoded image sent by the ride verification server, the display device at the first station may display the first encoded image. And the display device can also display the number of the bus to which the first coded image belongs so that the passenger can know the number of the bus.
For example, assuming that the bus is a 280 bus, that is, the number of the bus is 280, referring to fig. 4, the display device located at the first station may display the first code image 0a of the bus and display the number of the bus "280" below the first code image 0 a.
Step 205, the mobile terminal scans a first encoded image displayed by a display device located at the first station.
If the passenger to which the mobile terminal belongs needs to take the bus to which the first coded image belongs, the mobile terminal can be controlled to scan the first coded image. After the mobile terminal scans the first coded image, the first vehicle information of the public transport vehicle can be obtained.
And step 206, the mobile terminal sends an information detection instruction to the riding verification server.
And after scanning the first coded image, the mobile terminal can send an information detection instruction to the riding verification server. The information detection instructions may include: the user account and the first vehicle information of the public transport vehicle are logged in the mobile terminal.
The user account may be a number capable of uniquely identifying the passenger, for example, an identification number of the passenger.
And step 207, the riding verification server responds to the information detection instruction and detects whether the riding verification information of the user account logged in the mobile terminal passes verification.
The riding verification server responds to the information detection instruction, and can determine riding verification information of the user account logged in the mobile terminal from the corresponding relation between the account and the verification information based on the user account carried in the information detection instruction. Then, the riding verification server can detect whether the riding verification information of the passenger meets riding conditions. The corresponding relation between the account number and the verification information and the riding conditions can be stored in advance by the riding verification server.
If the riding verification server determines that the riding verification information of the passenger does not meet the riding conditions, it may be determined that the riding verification information is not verified, and then step 208 is performed. If the riding verification server determines that the riding verification information of the passenger meets the riding conditions, it may be determined that the riding verification information is verified, and then step 210 may be performed.
Optionally, the ride verification information may include at least one of the following information: the user account indicates the nucleic acid detection result of the passenger, and the region where the passenger has stayed within the latest target period. The riding conditions may include: an epidemic prevention strategy, which may include: the nucleic acid detection result of the passenger is negative, and the region where the passenger stayed in the target period does not include the target region.
And step 208, the riding verification server sends a reminding instruction to the mobile terminal.
If the riding verification server determines that the riding verification information of the user account logged in the mobile terminal is not verified, a reminding instruction can be sent to the mobile terminal.
And step 209, the mobile terminal responds to the reminding instruction and sends out a reminding message for reminding the passenger that the bus cannot be taken.
Wherein, the reminding message may include: an audio message and/or a text message. If the reminding message comprises a voice message, the mobile terminal can play the voice message in response to the reminding instruction. If the reminding message comprises a text message, the mobile terminal can display the text message in response to the reminding instruction.
Optionally, after determining that the riding verification information of the user account logged in the mobile terminal is not verified, the riding verification server may further send, to the mobile terminal, a fifth encoded image obtained based on a verification result of the riding verification information (i.e., that the riding verification information is not verified). And after receiving the riding verification information, the mobile terminal can also display the fifth coded image.
As can be seen from the above description of steps 201 to 209, the onboard device of the public transportation vehicle can send the first vehicle information to the ride verification server before reaching the first station, so that the ride verification server obtains the first encoded image based on the first vehicle information and sends the first encoded image to the display device located at the first station. Correspondingly, the display device can display the first coded image of the bus in advance. The passenger can then scan the first encoded image through the mobile terminal in advance to learn a ride result indicating whether the ride is available. And the place code of the bus can be scanned without waiting for the bus to drive into the first platform, and then the bus taking result is obtained. Therefore, the riding efficiency of the passenger is effectively improved on the one hand, and on the other hand, the invalid waiting of the passenger can be avoided under the condition that the riding verification information of the passenger does not meet the riding condition, so that the riding experience of the passenger is improved.
Step 210, the ride verification server detects whether the mobile terminal has paid the ride fee in advance.
After the riding verification server determines that the riding verification information of the passenger passes the verification, whether the mobile terminal can pre-support the riding cost can be detected. If the ride verification server determines that the mobile terminal has pre-paid a ride, step 211 may be performed. If the ride verification server determines that the mobile terminal is not pre-supporting a ride charge, step 215 may be performed.
In an alternative implementation, the mobile terminal has a pre-payment function for the ride fee. After the pre-payment function is started, if the riding verification server determines that the riding verification information of the user account logged in the mobile terminal passes verification, the riding cost of the current time can be automatically frozen from the riding account logged in the mobile terminal, and therefore the effect of pre-payment of the riding cost of the mobile terminal is achieved.
For example, referring to fig. 5, the mobile terminal may display a pre-payment switch control 01, and a functional description 02 "turn on the pre-payment switch, the mobile phone can automatically pre-pay a ride fee after scanning a coded image of the vehicle" about the pre-payment switch. As shown in fig. 5, the passenger may touch the fare prepayment switch control 01. The mobile terminal responds to the touch operation of the passenger on the fare prepayment switch control 01, and can start the prepayment function of the bus fare.
In another optional implementation manner, after determining that the riding verification information of the user account logged in the mobile terminal passes verification, the riding verification server may send a verification passing message to the mobile terminal. After receiving the verification passing message, the mobile terminal can display the prepayment control. And then, the mobile terminal can respond to the touch operation of the passenger for the prepayment control to prepay for the riding fee.
Optionally, after determining that the riding verification information passes the verification, the riding verification server may further send a third encoded image obtained based on the verification result of the riding verification information to the mobile terminal, so that the third encoded image is displayed by the mobile terminal.
It is understood that the color of the third encoded image obtained based on the result of the verification that the riding verification information is verified is different from the color of the fifth encoded image obtained based on the result of the verification that the riding verification information is not verified. For example, the color of the third encoded image may be green, and the color of the fifth encoded image may be yellow or red.
For example, referring to fig. 6, after the ride verification server determines that the ride verification information of the user account logged in the mobile terminal is verified, the third encoded image 0b and the prepaid control 03 may be displayed. After that, the passenger may click on the prepaid control 03, and the mobile terminal pays the riding fee in advance in response to the click operation of the passenger on the prepaid control 03.
As can be further seen from fig. 6, the mobile terminal may further display a word "audit pass" for indicating that the ride verification information is verified, so that the passenger determines that the passenger can ride the vehicle.
And step 211, the riding verification server sends the second coded image to the mobile terminal.
If the riding verification server determines that the mobile terminal has reserved riding fee, the verification result of the riding verification information (namely passing the verification), the first vehicle information of the public transport vehicle and the payment information of the reserved riding fee can be coded to obtain a second coded image. Thereafter, the ride verification server may transmit the second encoded image to the mobile terminal.
Step 212, the mobile terminal displays the second encoded image.
And after receiving the second coded image, the mobile terminal can display the second coded image.
For example, referring to fig. 7, when the second code image 0c is displayed, the mobile terminal may further display a word "prepaid success" for indicating that the mobile terminal has prepaid the vehicle fee.
And step 213, deducting the pre-paid riding fee if the riding verification server determines that the vehicle-mounted equipment scans the second coded image.
After the passenger gets on the bus, the second coded image displayed by the mobile terminal can be placed in the scanning range of the vehicle-mounted device of the bus, so that the vehicle-mounted device can scan the second coded image. After scanning the second encoded image, the vehicle-mounted device may send a target message for the second encoded image to the ride verification server, where the target message may be used to indicate that the second encoded image has been scanned. Correspondingly, the riding verification server can determine that the vehicle-mounted equipment scans the second coded image after receiving the target message. And then, the riding verification server can deduct the riding cost which is reserved by the mobile terminal.
In the embodiment of the application, the mobile terminal already pre-supports the riding fee, but the passenger to which the mobile terminal belongs may not take a car for personal reasons. In this case, the riding verification server may further perform the following steps:
and 214, if the riding verification server determines that the second coded image displayed by the mobile terminal is not scanned by the vehicle-mounted equipment after the target time after the second coded image is sent to the mobile terminal, returning the riding cost which is already reserved.
The target time is later than the transmission time of the second coded image to the mobile terminal by the riding verification server.
In an alternative implementation manner, the time difference between the target time and the sending time may be a reference time duration. The reference time period may be pre-stored by the ride verification server, and may be, for example, 1 hour. In this implementation, after the riding verification server sends the second encoded image to the mobile terminal, the riding verification server may determine the target time based on the sending time of the second encoded image and the reference time length. After that, after the current time is greater than or equal to the target time, if it is determined that the target message for the second encoded image sent by the vehicle-mounted device has not been received, the vehicle-mounted device may be determined that the second encoded image has not been scanned.
In another alternative implementation manner, the target time may be a time when the riding verification server receives second vehicle information sent by the vehicle-mounted device, and the second vehicle information may be sent by the vehicle-mounted device when the bus is about to reach the second platform. The second station is the next station of the first station in the driving direction of the bus. The second vehicle information includes: the identification of the bus, the identification of the second station, and the sending time of the second vehicle information. In this implementation, after receiving the second vehicle information, the riding verification server may determine that the vehicle-mounted device has not scanned the second encoded image if it is determined that the target message for the second encoded image sent by the vehicle-mounted device has not been received.
It can be understood that, after receiving the second vehicle information sent by the vehicle-mounted device, the riding verification server can also control the display device located at the first station to cancel displaying the first coded image and send the fourth coded image to the display device located at the second station for display by the display device located at the second station. The fourth encoded image may be obtained by encoding the second vehicle information by the vehicle taking verification server.
After receiving the second vehicle information sent by the vehicle-mounted device, the riding verification server may send prompt information to the mobile terminal to indicate that the first code image is invalid if receiving an information detection instruction triggered by the mobile terminal scanning the first code image (in this case, the first code image may be stored in advance by the mobile terminal, for example, the first code image is captured by the mobile terminal when the display device displays the first code image). It can be seen that the first encoded image is disabled when the bus arrives at the next stop.
Alternatively, the ride verification server may send a cancel display instruction for the first encoded image to a display device located at the first station. After the display device receives the display canceling instruction, the display device can respond to the display canceling instruction to cancel the display of the first coded image.
For example, assuming that the riding verification server has received the second vehicle information sent by the vehicle-mounted device of the public transportation vehicle, referring to fig. 8, after the mobile terminal scans the pre-stored first code image, the prompt message 04 "the two-dimensional code is invalid" may be displayed.
Step 215, the riding verification server sends the third coded image to the mobile terminal.
In this embodiment, if the ride verification server determines that the mobile terminal does not pre-pay the ride fee, the third encoded image may be transmitted to the mobile terminal.
And step 216, the mobile terminal displays the third coded image.
And after receiving the third coded image, the mobile terminal can display the third coded image so as to be convenient for a driver of the public transport vehicle to view. After the driver of the public transport vehicle determines that the third coding image is qualified, the passenger can control the mobile terminal to display the bus taking payment code so as to take the bus. Alternatively, the passenger may take a bus using a bus card.
Optionally, when the mobile terminal displays the third encoded image, the first vehicle information may also be displayed. Therefore, the phenomenon that the passenger takes the bus by adopting the health code screenshot can be avoided. And if the color of the third coded image is green, the third coded image is qualified.
It can be understood that the vehicle-mounted device can send out voice prompt information after scanning the second coded image, the riding code and the bus card. The voice prompt information sent by the vehicle-mounted equipment after scanning the second coded image can be used for prompting that the passenger riding verification information is verified and prompting that the riding fee is paid. The voice prompt information sent by the vehicle-mounted equipment after the bus number and the bus card are scanned can be used for prompting that the passenger pays the bus fee. For example, the voice prompt message sent by the vehicle-mounted device after scanning the second encoded image may be "verify payment success", and the voice prompt message sent by the vehicle-mounted device after scanning the bus code and the bus card may be "card swiping success".
Therefore, the driver of the public transport vehicle can conveniently distinguish the passenger who passes the verification of the riding verification information and has paid the riding fee from other passengers who pass the verification of the riding verification information but do not pre-pay the riding fee, so that the supervision is mainly focused on the other passengers. Namely, the driver of the public transport vehicle can only check whether the riding verification information displayed by the mobile terminal of the other passenger meets the riding conditions and supervise whether the other passenger pays the riding cost. Without checking the ride verification information of each passenger and supervising whether the passenger pays the ride fee. Therefore, the supervision workload of a driver is reduced, and the probability of manual misjudgment or missed judgment is reduced.
It should be noted that, the sequence of the steps of the method for verifying the riding information provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the situation. For example, step 201 may be deleted as appropriate; alternatively, 214 may be deleted as appropriate; alternatively, step 215 and step 216 may be deleted as appropriate. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
In summary, the embodiment of the present application provides a method for verifying riding information, where a riding verification server is capable of sending a first encoded image to a display device located at a first station before a bus arrives at the first station, so that the first encoded image is displayed by the display device. After the mobile terminal scans the first coded image, if the riding verification server determines that the riding verification information of the user account logged in the mobile terminal passes verification and the mobile terminal has pre-paid riding cost, the riding verification server sends a second coded image to the mobile terminal so that a passenger to which the mobile terminal belongs can ride the vehicle. Therefore, by adopting the verification method of the riding information provided by the embodiment of the application, passengers can directly control the mobile terminal to display the second coding image, and then riding can be realized. The riding can be realized without controlling the mobile terminal to display the riding verification information firstly and then switching and displaying the riding payment code, so that the riding process is simplified, the riding efficiency is improved, and the riding experience of passengers is improved.
The embodiment of the application also provides a riding verification server, and the riding verification server can be used for executing the riding information verification method applied to the riding verification server provided by the method embodiment. The riding verification server comprises: a processor. The processor is configured to:
before a bus arrives at a first station, sending a first coded image to display equipment located at the first station for the display equipment to display, wherein the first coded image is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
responding to an information detection instruction triggered by the mobile terminal scanning the first coded image, and verifying riding verification information of a user account logged in the mobile terminal, wherein the information detection instruction comprises the user account and first vehicle information;
if the riding verification information is verified and the mobile terminal already pre-pays the riding fee, sending a second coded image to the mobile terminal for the mobile terminal to display, wherein the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and the payment information of the riding fee;
and if the fact that the second coded image is scanned by the vehicle-mounted equipment of the public transport vehicle is determined, deducting the riding cost.
Optionally, the processor may be further configured to:
and if the riding verification information is determined not to pass the verification, sending a reminding instruction to the mobile terminal, wherein the reminding instruction is used for indicating the mobile terminal to send a reminding message for reminding the passenger that the passenger cannot ride.
Optionally, the processor may be further configured to:
and if the vehicle-mounted equipment does not scan the second coded image after the target time after the second coded image is sent to the mobile terminal is determined, returning the riding cost.
Optionally, the processor may be further configured to:
and if the riding verification information is verified and the mobile terminal does not pre-pay the riding cost, sending a third coded image to the mobile terminal, wherein the third coded image is obtained based on the verification result of the riding verification information and is used for being displayed by the mobile terminal.
Optionally, the processor may be further configured to:
receiving first vehicle information sent by a bus before the bus arrives at a first station;
the first vehicle information further includes: a station identification of the first station, and a transmission time of the first vehicle information.
Optionally, the processor may be further configured to:
if second vehicle information sent by the bus before reaching the second platform is received, controlling the display device to cancel displaying the first coded image, and sending a fourth coded image to the display device positioned at the second platform for the display device positioned at the second platform to display, wherein the fourth coded image is obtained based on the second vehicle information;
wherein the second vehicle information includes: the identification of the bus, the identification of the second station, and the sending time of the second vehicle information.
In summary, the present application provides a riding verification server, which is capable of sending a first encoded image to a display device located at a first station before a bus arrives at the first station, so that the first encoded image is displayed by the display device. After the mobile terminal scans the first coded image, if the riding verification server determines that the riding verification information of the user account logged in the mobile terminal passes verification and the mobile terminal has paid riding fee in advance, the riding verification server sends a second coded image to the mobile terminal so that a passenger to which the mobile terminal belongs can ride the vehicle. Therefore, by adopting the verification method of the riding information provided by the embodiment of the application, passengers can directly control the mobile terminal to display the second coding image, and then riding can be realized. The riding can be realized without controlling the mobile terminal to display the riding verification information firstly and then switching and displaying the riding payment code, so that the riding process is simplified, the riding efficiency is improved, and the riding experience of passengers is improved.
The embodiment of the application also provides a mobile terminal, and the mobile terminal can be used for executing the verification method of the riding information applied to the mobile terminal provided by the method embodiment. Referring to fig. 9, the mobile terminal 140 includes: processor 1401, display 131, and camera 121. The processor 1401 is configured to:
the method comprises the steps that a camera is controlled to scan a first coded image displayed by a display device located at a first station, the first coded image is sent by a riding verification server before a bus arrives at the first station and is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identification of the bus;
sending an information detection instruction to a riding verification server, wherein the information detection instruction comprises a user account and first vehicle information which are logged in a mobile terminal;
and receiving and controlling a display screen to display a second coded image sent by the riding verification server, wherein the second coded image is used for scanning by vehicle-mounted equipment of the public transport vehicle, the second coded image is sent after the riding verification server responds to the information detection instruction and determines that the riding verification information of the user account passes verification and the mobile terminal has pre-paid riding cost, and the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and payment information of the riding cost.
Optionally, the processor 1401 may further be configured to:
receiving a reminding instruction sent by a riding verification server, wherein the reminding instruction is sent by the riding verification server after the riding verification server determines that the riding verification information is not verified;
and responding to the reminding instruction, and sending a reminding message for reminding the passenger that the passenger can not take the car.
In summary, the present invention provides a mobile terminal, which is capable of scanning a first encoded image displayed by a display device located at a first station to send an information detection instruction to a ride verification server to instruct the ride verification server to send a second encoded image to the mobile terminal for a passenger to ride, if it is determined that the ride verification information of a user account logged in the mobile terminal is verified and the mobile terminal has pre-paid ride fee. Therefore, by adopting the verification method of the riding information provided by the embodiment of the application, passengers can directly control the mobile terminal to display the second coding image, and then riding can be realized. The riding verification information does not need to be displayed by the mobile terminal, and riding can be achieved only by switching and displaying the riding payment code, so that the riding process is simplified, riding efficiency is improved, and riding experience of passengers is improved.
As shown in fig. 9, the mobile terminal 140 provided in the embodiment of the present application may further include: a display unit 130, a Radio Frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a bluetooth module 180, and a power supply 190.
The camera 121 may be used to capture still pictures or video, among other things. The object generates an optical picture through the lens and projects the optical picture to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensitive elements convert the light signals into electrical signals which are then passed to a processor 1401 for conversion into digital picture signals.
The processor 1401 is a control center of the mobile terminal 140, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile terminal 140 and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, processor 1401 may include one or more processing units; the processor 1401 may also integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a baseband processor, which mainly handles wireless communication. It will be appreciated that the baseband processor described above may not be integrated into processor 1401. In the present application, the processor 1401 may run an operating system and an application program, may control a user interface to display, and may implement the method for verifying riding information applied to the mobile terminal provided in the embodiment of the present application. In addition, processor 1401 is coupled to input unit and display unit 130.
The display unit 130 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the mobile terminal 140, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a Graphical User Interface (GUI) of various menus of the mobile terminal 140. The display unit 130 may include a display screen 131 disposed on the front surface of the mobile terminal 140. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The display unit 130 further includes: a touch screen 132. The display screen 131 may be used to display preview pictures. Touch screen 132 may collect touch operations on or near by the user, such as clicking a button, dragging a scroll box, and the like. The touch screen 132 may be covered on the display screen 131, or the touch screen 132 and the display screen 131 may be integrated to implement the input and output functions of the mobile terminal 140, and after the integration, the touch screen may be referred to as a touch display screen for short.
The RF circuit 150 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then deliver the received downlink data to the processor 1401 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the mobile terminal 140. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The mobile terminal 140 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 150 to be transmitted to, for example, another terminal or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to short-range wireless transmission technology, and the mobile terminal 140 can help a user send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 170, and provides wireless broadband Internet access for the user.
And the Bluetooth module 180 is used for performing information interaction with other Bluetooth devices with Bluetooth modules through a Bluetooth protocol. For example, the mobile terminal 140 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) also equipped with a bluetooth module through the bluetooth module 180, so as to perform data interaction.
The mobile terminal 140 also includes a power supply 190 (e.g., a battery) to power the various components. The power supply may be logically coupled to processor 1401 via a power management system to manage charging, discharging, and power consumption via the power management system. The mobile terminal 140 may also be configured with a power button for powering on and off the terminal, and locking the screen.
The mobile terminal 140 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, and a temperature sensor 11103. The mobile terminal 140 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, and infrared sensor.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the mobile terminal and each device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 10 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, an application layer, an application framework layer, an Android Runtime (ART) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 10, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications. The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 10, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, pictures, audio, calls made and answered, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the mobile terminal 140. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a brief dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is presented in the status bar, a warning tone is given, the communication terminal vibrates, and an indicator light flashes.
The android runtime comprises a core library and a virtual machine. The android runtime is responsible for scheduling and management of the android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still picture files, etc. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, picture rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The embodiment of the application provides a riding verification server, which comprises: a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements a method for verifying ride information applied to a ride verification server as provided in the above method embodiments, for example, the method executed by the ride verification server in fig. 2 or fig. 3.
An embodiment of the present application provides a mobile terminal, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method for verifying riding information applied to a mobile terminal as provided in the above method embodiments when executing the computer program, for example, the method executed by the mobile terminal in fig. 2 or fig. 3.
The embodiment of the application provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement a riding information verification method applied to a riding verification server, provided by the above method embodiment, for example, a method executed by the riding verification server in fig. 2 or fig. 3.
The embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the method for verifying riding information applied to a mobile terminal, provided in the above method embodiment, for example, the method executed by the mobile terminal in fig. 2 or fig. 3.
Embodiments of the present application provide a computer program product containing instructions, which, when running on a computer, causes the computer to execute a method for verifying riding information applied to a riding verification server provided in the above method embodiments, for example, a method executed by a riding verification server in fig. 2 or fig. 3.
The embodiment of the present application provides a computer program product containing instructions, which when the computer program product runs on a computer, causes the computer to execute the method for verifying riding information applied to a mobile terminal, provided by the above method embodiment, for example, the method executed by the mobile terminal in fig. 2 or fig. 3.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk.
It should be understood that reference herein to "and/or" means that there may be three relationships, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Also, the term "at least one" in the present application means one or more, and the term "a plurality" in the present application means two or more.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the results of the nucleic acid detection of the passenger referred to in this application, as well as the region where the passenger has stayed within the target period, are obtained with sufficient authorization.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution. For example, a first encoded image may be referred to as a second encoded image, and similarly, a second encoded image may be referred to as a first encoded image, without departing from the scope of the various described examples.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (10)
1. The riding information verification method is characterized by being applied to a riding verification server; the method comprises the following steps:
before a bus arrives at a first station, sending a first coded image to display equipment located at the first station for the display equipment to display, wherein the first coded image is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
responding to an information detection instruction triggered by the mobile terminal scanning the first coded image, and verifying riding verification information of a user account logged in the mobile terminal, wherein the information detection instruction comprises the user account and the first vehicle information;
if the riding verification information is verified and the mobile terminal already pre-pays the riding fee, sending a second coded image to the mobile terminal for the mobile terminal to display, wherein the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and the payment information of the riding fee;
and if the second coded image is determined to be scanned by the vehicle-mounted equipment of the public transport vehicle, deducting the riding cost.
2. The method of claim 1, further comprising:
and if the riding verification information is determined not to pass the verification, sending a reminding instruction to the mobile terminal, wherein the reminding instruction is used for indicating the mobile terminal to send a reminding message for reminding that the riding is impossible.
3. The method of claim 1, further comprising:
and if the second coded image is determined not to be scanned by the vehicle-mounted equipment after the target time after the second coded image is sent to the mobile terminal, returning the riding cost.
4. The method of claim 1, further comprising:
and if the riding verification information is verified and the mobile terminal does not pre-pay the riding cost, sending a third coded image to the mobile terminal, wherein the third coded image is obtained based on the verification result of the riding verification information and is used for being displayed by the mobile terminal.
5. The method of any of claims 1 to 4, further comprising:
receiving the first vehicle information sent by the bus before reaching a first station;
the first vehicle information further includes: a station identification of the first station, and a transmission time of the first vehicle information.
6. The method of claim 5, further comprising:
if second vehicle information sent by the bus before reaching a second platform is received, controlling the display device to cancel displaying the first coded image, and sending a fourth coded image to the display device at the second platform for displaying by the display device at the second platform, wherein the fourth coded image is obtained based on the second vehicle information;
wherein the second vehicle information includes: the identity of the bus, the identity of the second station, and the time of transmission of the second vehicle information.
7. A verification method of riding information is characterized in that the method is applied to a mobile terminal; the method comprises the following steps:
scanning a first coded image displayed by a display device at a first station, wherein the first coded image is sent by a riding verification server before a bus arrives at the first station and is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
sending an information detection instruction to the riding verification server, wherein the information detection instruction comprises a user account logged in the mobile terminal and the first vehicle information;
and receiving and displaying a second coded image sent by the riding verification server, wherein the second coded image is used for scanning by vehicle-mounted equipment of the public transport vehicle, the second coded image is sent after the riding verification server responds to the information detection instruction and determines that the riding verification information of the user account passes verification and the mobile terminal has pre-paid riding cost, and the second coded image is obtained based on a verification result of the riding verification information, the first vehicle information and payment information of the riding cost.
8. The method of claim 7, further comprising:
receiving a reminding instruction sent by the riding verification server, wherein the reminding instruction is sent by the riding verification server after the riding verification server determines that the riding verification information is not verified;
and responding to the reminding instruction, and sending a reminding message for reminding the driver of the unavailable bus.
9. A ride verification server, the ride verification server comprising: a processor; the processor is configured to:
before a bus arrives at a first station, sending a first coded image to display equipment located at the first station for the display equipment to display, wherein the first coded image is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
responding to an information detection instruction triggered by the mobile terminal scanning the first coded image, and verifying riding verification information of a user account logged in the mobile terminal, wherein the information detection instruction comprises the user account and the first vehicle information;
if the riding verification information is verified and the mobile terminal already pre-pays the riding fee, sending a second coded image to the mobile terminal for the mobile terminal to display, wherein the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and the payment information of the riding fee;
and if the second coded image is determined to be scanned by the vehicle-mounted equipment of the public transport vehicle, deducting the riding cost.
10. A mobile terminal, characterized in that the mobile terminal comprises: the system comprises a processor, a display screen and a camera; the processor is configured to:
the method comprises the steps that a camera is controlled to scan a first coded image displayed by a display device located at a first platform, the first coded image is sent by a bus taking verification server before a bus arrives at the first platform and is obtained based on first vehicle information of the bus, and the first vehicle information comprises an identifier of the bus;
sending an information detection instruction to the riding verification server, wherein the information detection instruction comprises a user account logged in the mobile terminal and the first vehicle information;
and receiving and controlling the display screen to display a second coded image sent by the riding verification server, wherein the second coded image is used for scanning by vehicle-mounted equipment of the public transport vehicle, the second coded image is sent after the riding verification server responds to the information detection instruction and determines that the riding verification information of the user account passes verification and the mobile terminal pre-pays the riding fee, and the second coded image is obtained based on the verification result of the riding verification information, the first vehicle information and the payment information of the riding fee.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210556425.5A CN114944020B (en) | 2022-05-17 | 2022-05-17 | Riding information verification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210556425.5A CN114944020B (en) | 2022-05-17 | 2022-05-17 | Riding information verification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114944020A true CN114944020A (en) | 2022-08-26 |
CN114944020B CN114944020B (en) | 2024-07-26 |
Family
ID=82908256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210556425.5A Active CN114944020B (en) | 2022-05-17 | 2022-05-17 | Riding information verification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114944020B (en) |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008004691A1 (en) * | 2006-07-04 | 2008-01-10 | Shimadzu Corporation | Apparatus for designing nucleic acid amplification primers, program for designing primers and server apparatus for designing primers |
WO2011159331A1 (en) * | 2010-06-17 | 2011-12-22 | Hertz System, Inc. | Vehicle rental system and method |
KR20130058557A (en) * | 2011-11-25 | 2013-06-04 | (주)엔퓨텍 | Digital vehicle sterilization control system using cctv |
CN108600956A (en) * | 2018-04-13 | 2018-09-28 | 武汉元光科技有限公司 | Indicating means and device by bus |
CN108769044A (en) * | 2018-06-06 | 2018-11-06 | 四川金亿信财务咨询有限公司 | Register verification method and system based on reverse by reference |
KR101948009B1 (en) * | 2017-10-27 | 2019-02-14 | (주)미소아이티 | Reservation system for bus and method using the same |
KR101956286B1 (en) * | 2017-12-05 | 2019-03-08 | (주)에이텍티앤 | Automatic get off payment system of public transport by image recognition and method thereof |
CN113050457A (en) * | 2020-12-31 | 2021-06-29 | 张乃心 | Real-time epidemic prevention traffic control system for smart city |
CN214042408U (en) * | 2020-12-28 | 2021-08-24 | 成都明途科技有限公司 | Two-dimensional code epidemic prevention system for public health |
CN113436456A (en) * | 2021-06-08 | 2021-09-24 | 武汉大学 | Safe and efficient long-range autonomous parking reservation service method based on block chain |
CN113535207A (en) * | 2021-07-26 | 2021-10-22 | 海信集团控股股份有限公司 | Vehicle, vehicle-mounted software updating method thereof and mobile terminal |
CN113673730A (en) * | 2021-08-13 | 2021-11-19 | 南京领行科技股份有限公司 | Appointment control method and device, electronic equipment and storage medium |
CN113743928A (en) * | 2021-09-03 | 2021-12-03 | 中国银行股份有限公司 | Health code payment method and device based on 5G message |
CN113919990A (en) * | 2021-08-13 | 2022-01-11 | 江苏瑞孚特物联网科技有限公司 | Hospital access & exit health code visitor management system based on epidemic situation prevention and control |
CN113962673A (en) * | 2021-12-20 | 2022-01-21 | 深圳市微付充科技有限公司 | Information checking system, mobile terminal, checking machine and information checking method |
CN114022961A (en) * | 2021-09-27 | 2022-02-08 | 洛阳广通汽车有限公司 | Vehicle-mounted system, vehicle and control method of vehicle-mounted system |
KR102360088B1 (en) * | 2021-04-22 | 2022-02-16 | (주)플래닛나인 | System and method for preventing infectious diseases using small cells |
CN114202922A (en) * | 2021-12-09 | 2022-03-18 | 贵阳移动金融发展有限公司 | Public transport travel service big data acquisition and analysis platform |
CN114360122A (en) * | 2022-01-07 | 2022-04-15 | 新大陆数字技术股份有限公司 | Two-dimensional code switching method and system and APP |
CN216310865U (en) * | 2021-09-27 | 2022-04-15 | 洛阳广通汽车有限公司 | Vehicle-mounted system and vehicle with same |
CN114446056A (en) * | 2022-02-14 | 2022-05-06 | 腾讯科技(深圳)有限公司 | Vehicle information code generation and vehicle passing control method, device and equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106067115A (en) * | 2016-06-14 | 2016-11-02 | 谭泮 | Pay the method and system of bus riding fee |
CN112434768A (en) * | 2020-11-17 | 2021-03-02 | 梅雪竹 | Public transportation management system based on medical epidemic situation big data, 5G technology and GPS Beidou |
-
2022
- 2022-05-17 CN CN202210556425.5A patent/CN114944020B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008004691A1 (en) * | 2006-07-04 | 2008-01-10 | Shimadzu Corporation | Apparatus for designing nucleic acid amplification primers, program for designing primers and server apparatus for designing primers |
WO2011159331A1 (en) * | 2010-06-17 | 2011-12-22 | Hertz System, Inc. | Vehicle rental system and method |
KR20130058557A (en) * | 2011-11-25 | 2013-06-04 | (주)엔퓨텍 | Digital vehicle sterilization control system using cctv |
KR101948009B1 (en) * | 2017-10-27 | 2019-02-14 | (주)미소아이티 | Reservation system for bus and method using the same |
KR101956286B1 (en) * | 2017-12-05 | 2019-03-08 | (주)에이텍티앤 | Automatic get off payment system of public transport by image recognition and method thereof |
CN108600956A (en) * | 2018-04-13 | 2018-09-28 | 武汉元光科技有限公司 | Indicating means and device by bus |
CN108769044A (en) * | 2018-06-06 | 2018-11-06 | 四川金亿信财务咨询有限公司 | Register verification method and system based on reverse by reference |
CN214042408U (en) * | 2020-12-28 | 2021-08-24 | 成都明途科技有限公司 | Two-dimensional code epidemic prevention system for public health |
CN113050457A (en) * | 2020-12-31 | 2021-06-29 | 张乃心 | Real-time epidemic prevention traffic control system for smart city |
KR102360088B1 (en) * | 2021-04-22 | 2022-02-16 | (주)플래닛나인 | System and method for preventing infectious diseases using small cells |
CN113436456A (en) * | 2021-06-08 | 2021-09-24 | 武汉大学 | Safe and efficient long-range autonomous parking reservation service method based on block chain |
CN113535207A (en) * | 2021-07-26 | 2021-10-22 | 海信集团控股股份有限公司 | Vehicle, vehicle-mounted software updating method thereof and mobile terminal |
CN113919990A (en) * | 2021-08-13 | 2022-01-11 | 江苏瑞孚特物联网科技有限公司 | Hospital access & exit health code visitor management system based on epidemic situation prevention and control |
CN113673730A (en) * | 2021-08-13 | 2021-11-19 | 南京领行科技股份有限公司 | Appointment control method and device, electronic equipment and storage medium |
CN113743928A (en) * | 2021-09-03 | 2021-12-03 | 中国银行股份有限公司 | Health code payment method and device based on 5G message |
CN114022961A (en) * | 2021-09-27 | 2022-02-08 | 洛阳广通汽车有限公司 | Vehicle-mounted system, vehicle and control method of vehicle-mounted system |
CN216310865U (en) * | 2021-09-27 | 2022-04-15 | 洛阳广通汽车有限公司 | Vehicle-mounted system and vehicle with same |
CN114202922A (en) * | 2021-12-09 | 2022-03-18 | 贵阳移动金融发展有限公司 | Public transport travel service big data acquisition and analysis platform |
CN113962673A (en) * | 2021-12-20 | 2022-01-21 | 深圳市微付充科技有限公司 | Information checking system, mobile terminal, checking machine and information checking method |
CN114360122A (en) * | 2022-01-07 | 2022-04-15 | 新大陆数字技术股份有限公司 | Two-dimensional code switching method and system and APP |
CN114446056A (en) * | 2022-02-14 | 2022-05-06 | 腾讯科技(深圳)有限公司 | Vehicle information code generation and vehicle passing control method, device and equipment |
Non-Patent Citations (2)
Title |
---|
国伟;李恒训;黄耀晖;郝久月;: "基于网证的"防疫健康信息码"应用研究", 信息安全研究, no. 09, 5 September 2020 (2020-09-05) * |
孙柏林;: "浅谈健康码"一码通办"建设思路和对策", 电脑知识与技术, no. 17, 15 June 2020 (2020-06-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN114944020B (en) | 2024-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113535207B (en) | Vehicle and updating method of vehicle-mounted software thereof and mobile terminal | |
EP3716163A1 (en) | Method, device and storage medium for displaying instruction information | |
CN103373292A (en) | In-car information system, information terminal, and application execution method | |
CN113419452B (en) | Vehicle, control method thereof and mobile terminal | |
CN113432619A (en) | Navigation route display method, vehicle and mobile terminal | |
CN110311976B (en) | Service distribution method, device, equipment and storage medium | |
CN112100445A (en) | Image information processing method and device, electronic equipment and storage medium | |
KR20190078996A (en) | Electronic device for providing operation information of a vecicle and method for the same | |
JP2019109794A (en) | Server related to operation management system, terminal device, control method of server and control program of server | |
CN114495333A (en) | Emergency unlocking method, intelligent operation recorder, system and medium | |
CN109005102B (en) | Information processing method and device and electronic device | |
CN112785294B (en) | Service processing method, resource display method, device, computer equipment and medium | |
CN114944020B (en) | Riding information verification method and device | |
CN115134453B (en) | Riding information display method and electronic equipment | |
CN111475233A (en) | Information acquisition method, graphic code generation method and device | |
US20230005302A1 (en) | Method and server for providing personal mobility sharing service | |
CN115038053B (en) | Travel reminding method and electronic equipment | |
CN116709180A (en) | Geofence generation method and server | |
CN118140496A (en) | Method, device and storage medium for scheduling notifications based on driving assistance function | |
CN113687954A (en) | Message notification method, device, computer equipment and storage medium | |
CN115334604A (en) | Terminal device, network control method and storage medium | |
CN104021666A (en) | Taxi phone call device and phone call method | |
CN114463632A (en) | Shared vehicle returning processing method and device and shared vehicle | |
CN114463087A (en) | Dispatching order management system, method and device, dispatching order platform and vehicle-mounted machine equipment | |
CN115734161A (en) | Method and device for detecting parking state, spike device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |