Data processing method and device based on unmanned ticketing system

文档序号:1862446 发布日期:2021-11-19 浏览:11次 中文

阅读说明:本技术 一种基于无人售票系统的数据处理方法和装置 (Data processing method and device based on unmanned ticketing system ) 是由 何洁 黄勃 于 2021-08-02 设计创作,主要内容包括:本发明实施例提供了一种基于无人售票系统的数据处理方法和装置,所述无人售票系统部署于公共交通工具,所述方法包括:接收携带有数字货币的用户终端发出的购票请求;根据所述购票请求,确定票价信息;采用所述用户终端携带的数字货币,按照所述票价信息进行购票处理。通过本发明实施例,实现了将数字货币用于基于无人售票系统,降低公共交通工具的运营成本,提高支付便捷性。(The embodiment of the invention provides a data processing method and a data processing device based on an unmanned ticketing system, wherein the unmanned ticketing system is deployed in public transport means, and the method comprises the following steps: receiving a ticket buying request sent by a user terminal carrying digital currency; determining ticket price information according to the ticket purchasing request; and carrying out ticket purchasing processing according to the ticket price information by adopting digital currency carried by the user terminal. By the embodiment of the invention, the digital currency is used for the unmanned ticketing system, the operation cost of public transport means is reduced, and the payment convenience is improved.)

1. A data processing method based on an unmanned ticketing system, wherein the unmanned ticketing system is deployed in public transport means, and the method comprises the following steps:

receiving a ticket buying request sent by a user terminal carrying digital currency;

determining ticket price information according to the ticket purchasing request;

and carrying out ticket purchasing processing according to the ticket price information by adopting digital currency carried by the user terminal.

2. The method of claim 1, wherein the ticket purchase request comprises a request sent by scanning a two-dimensional code, further comprising:

acquiring user information of a target user corresponding to the user terminal by scanning the two-dimensional code;

and generating track tracing information aiming at the target user according to the user information.

3. The method according to claim 2, wherein the two-dimensional code is a two-dimensional code provided by the user terminal or a two-dimensional code provided by the unmanned ticketing system.

4. The method of claim 1, wherein the ticket purchase request further comprises a request sent by the user terminal in near field communication with the unmanned ticketing system.

5. The method of claim 1, wherein the ticket purchase request includes inbound information and outbound information, and further comprising, prior to the receiving a ticket purchase request from a user terminal carrying digital currency:

recording the inbound information and the outbound information of the user terminal;

the determining of the fare information according to the ticket purchase request comprises the following steps:

and determining fare information according to the station entrance information and the station exit information in the ticket purchasing request.

6. The method of any one of claims 1-5, further comprising:

and when ticket buying is successful, sending a ticket buying voucher to the user terminal.

7. The method of any one of claims 1-5, further comprising:

and when ticket buying fails, feeding back a prompt of ticket buying failure and a reason of the ticket buying failure to the user terminal.

8. A data processing apparatus based on an unmanned ticketing system deployed in a public transportation vehicle, the apparatus comprising:

the ticket buying request receiving module is used for receiving a ticket buying request sent by a user terminal carrying digital currency;

the ticket price information determining module is used for determining ticket price information according to the ticket purchasing request;

and the ticket buying processing module is used for carrying out ticket buying processing according to the ticket price information by adopting the digital currency carried by the user terminal.

9. A terminal device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing a data processing method based on an unmanned ticketing system as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the unmanned ticketing system-based data processing method of any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of unmanned ticketing, in particular to a data processing method and device based on an unmanned ticketing system.

Background

In the field of public transportation, passengers can take transportation tools after needing to purchase tickets with cash, on one hand, the cash payment may have the phenomenon that part of passengers use counterfeit money for payment, and the labor cost is increased by arranging a ticket seller to avoid the counterfeit money payment; on the other hand, instruments such as buses may not be provided with change giving, which may cause inconvenience in purchasing tickets if the passenger does not carry cash of the proper denomination.

Disclosure of Invention

In view of the above, it is proposed to provide a data processing method and apparatus based on an unmanned ticketing system that overcomes or at least partially solves the above mentioned problems, comprising:

a data processing method based on an unmanned ticketing system deployed in a public transportation vehicle, the method comprising:

receiving a ticket buying request sent by a user terminal carrying digital currency;

determining ticket price information according to the ticket purchasing request;

and carrying out ticket purchasing processing according to the ticket price information by adopting digital currency carried by the user terminal.

Optionally, the ticket purchase request includes a request sent by scanning a two-dimensional code, and further includes:

acquiring user information of a target user corresponding to the user terminal by scanning the two-dimensional code;

and generating track tracing information aiming at the target user according to the user information.

Optionally, the two-dimensional code is provided by the user terminal, or provided by the unmanned ticketing system.

Optionally, the ticket purchase request further includes a request sent by the user terminal in near field communication with the unmanned ticketing system.

Optionally, the ticket buying request includes inbound information and outbound information, and before the receiving the ticket buying request sent by the user terminal carrying digital currency, the method further includes:

recording the inbound information and the outbound information of the user terminal;

the determining of the fare information according to the ticket purchase request comprises the following steps:

and determining fare information according to the station entrance information and the station exit information in the ticket purchasing request.

Optionally, the method further comprises:

and when ticket buying is successful, sending a ticket buying voucher to the user terminal.

Optionally, the method further comprises:

and when ticket buying fails, feeding back a prompt of ticket buying failure and a reason of the ticket buying failure to the user terminal.

A data processing apparatus based on an unmanned ticketing system deployed in a public transportation vehicle, the apparatus comprising:

the ticket buying request receiving module is used for receiving a ticket buying request sent by a user terminal carrying digital currency;

the ticket price information determining module is used for determining ticket price information according to the ticket purchasing request;

and the ticket buying processing module is used for carrying out ticket buying processing according to the ticket price information by adopting the digital currency carried by the user terminal.

A terminal device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program when executed by the processor implementing the data processing method based on an unmanned ticketing system as described above.

A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the unmanned ticketing system-based data processing method as described above.

The embodiment of the invention has the following advantages:

according to the method and the device, the ticket purchasing request sent by the user terminal carrying the digital currency is received, the ticket price information is determined according to the ticket purchasing request, the digital currency carried by the user terminal is adopted, and the ticket purchasing processing is carried out according to the ticket price information, so that the digital currency is used for an unmanned ticketing system, the operation cost of public transport means is reduced, and the payment convenience is improved.

Drawings

In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a flow chart illustrating steps of a data processing method based on an unmanned ticketing system according to an embodiment of the present invention;

fig. 2 is a flow chart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention;

fig. 3 is a flowchart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention;

fig. 4 is a flowchart of steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention;

fig. 5 is a flowchart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention;

fig. 6 is a schematic structural diagram of a data processing apparatus based on an unmanned ticketing system according to an embodiment of the present invention.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, a flowchart illustrating steps of a data processing method based on an unmanned ticketing system according to an embodiment of the present invention is shown, where the unmanned ticketing system is deployed in a public transportation vehicle, and specifically includes the following steps:

step 101, receiving a ticket buying request sent by a user terminal carrying digital currency;

in an embodiment of the present invention, the ticket purchase request further includes a request sent by the user terminal through near field communication with the unmanned ticketing system.

Digital currency is an alternative currency in the form of electronic currency that can be used for real goods and services transactions.

Digital currency may have network packets of data that consist of data codes, which are the content to be transmitted, and identification codes, which indicate where the packet came from, where, and so on. Therefore, the user holding the digital currency can carry out transaction payment like holding cash, and compared with the cash, the digital currency has the advantage of being convenient for the user to carry, and meanwhile, the payment of the digital currency is safer and more convenient.

In one example, the digital currency may include digital rmb, which is a legal digital currency, equivalent to paper and coins, with value characteristics and compensation, a controlled anonymous payment instrument, and digital rmb with a digital currency wallet bound to a mobile terminal associated with the digital currency, independent of a bank account and a payment account.

The digital RMB can be regarded as digital RMB, the use scene of the digital RMB is the same as that of the RMB in the form of paper money, and the digital RMB can be used for payment, consumption, transfer and the like.

It should be noted that the digital currency may also be other virtual currencies that can be used for payment, and the form of the digital currency is not limited too much here.

In public transport, there can be deployed unmanned ticketing system, which can be used for public transport to unmanned ticketing. Wherein, the public transport means can be subway, bus, passenger car and other transport means.

When a user needs to purchase a ticket, a ticket purchasing request can be sent to the unmanned ticketing system through a user terminal carrying digital currency, and specifically, the user can log in an application program corresponding to the unmanned ticketing system to purchase the ticket by using the user terminal.

It should be noted that the mode of the user logging in the self-service ticketing system can be set according to the user requirement, and is not limited too much here.

In practical application, a near field communication device can be arranged in a preset range of the public transport means, so that the ticket buying request can comprise a request sent by near field communication with the unmanned ticketing system through the user terminal, and the ticket buying can be carried out by using digital currency in places with poor guarantee signals.

Step 102, determining fare information according to the ticket purchasing request;

after the unmanned ticketing system receives the ticket buying request, the fare information can be determined according to the ticket buying request, and the fare information is the amount of money required to be paid by the user.

For example, in a bus, the charging standard can be classified as charging according to a fixed fare or a non-fixed fare, and for a bus charged according to the fixed fare, when a ticket purchase request of a user is received, the fare to be paid is determined to be the fixed fare; for a bus charged according to a non-fixed fare, the ticket purchase request of the user terminal can contain station information taken by the user, and further the fare information can be determined according to the station information taken by the user.

In an example, when the user needs to pay for multiple people, the number of people needing to pay can be selected through the user terminal, and then the number of people needing to pay can be contained in the ticket buying request, and then the fare information can be calculated by combining the number of people needing to pay input by the user.

And 103, carrying out ticket purchasing processing according to the ticket price information by adopting the digital currency carried by the user terminal.

After the ticket price information is determined, the user can determine to select digital currency to pay in various payment modes, and in response to the user operation, the unmanned ticketing system can transact the user for ticketing by adopting the digital currency carried by the user terminal according to the ticket price information.

In one example, a camera with a vertical view field can be arranged at the position of getting on or off a bus of a public transport means, and an unmanned ticketing system, a camera system, a vehicle door control system and a voice broadcasting system can be connected.

The image or the video of passengers is collected through the camera, the image or the video can be identified, so that the number of passengers getting on or off the bus at each station is determined, the unmanned ticketing system can record the ticket buying requests of one or more users at each station, the number of ticket buying persons is calculated through the ticket buying requests, so that whether passengers who do not buy tickets exist in the current vehicle or not can be judged through the number of ticket buying persons and the number of passengers who get on or off the bus, and when the passengers who do not buy the tickets exist, the passengers can be broadcasted through the voice broadcasting system to inform the users of buying the tickets in time. When arriving at the next station, if the passengers who do not purchase tickets still exist, the vehicle doors are controlled to be closed, the passengers who purchase tickets can open the door to get off the vehicle through scanning codes, and the passengers who do not purchase tickets can get off the vehicle after supplementing tickets.

In the embodiment of the invention, the ticket purchasing request sent by the user terminal carrying the digital currency is received, the ticket price information is determined according to the ticket purchasing request, the digital currency carried by the user terminal is adopted, and the ticket purchasing processing is carried out according to the ticket price information, so that the digital currency is used for an unmanned ticketing system, the operation cost of public transport means is reduced, and the payment convenience is improved.

Referring to fig. 2, a flowchart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention is shown, where the unmanned ticketing system is deployed in a public transportation vehicle, and specifically includes the following steps:

step 201, scanning a two-dimensional code to obtain user information of a target user corresponding to the user terminal;

in an embodiment of the present invention, the two-dimensional code is a two-dimensional code provided by the user terminal, or a two-dimensional code provided by the unmanned ticketing system.

In public transport, there can be deployed unmanned ticketing system, which can be used for public transport to unmanned ticketing. Wherein, the public transport means can be subway, bus, passenger car and other transport means.

When a user gets on a public transport means, the two-dimensional code provided by the unmanned ticketing system can be scanned by the user or the two-dimensional code provided by the user terminal can be scanned by the associated equipment of the public transport means, and the user is associated with the unmanned ticketing system, so that the unmanned ticketing system can acquire the information of a target user corresponding to the user terminal.

The information of the target user may include personal information of the user, such as a name, an identification number, a household registration, a contact address, an address, and the like, and the information of the target user may include related information of a public transportation means taken by the user, such as a type of the public transportation means taken by the user, a number of the public transportation means taken, a place where the public transportation means is taken, a time when the public transportation means is taken, route information of the public transportation means taken, and the like.

In one example, a plurality of two-dimensional codes can be arranged on a public transport means, so that ticket selling speed is increased, and crowding of people is avoided.

Step 202, generating trajectory tracing information for the target user according to the user information.

After the user information is acquired, the track tracing information of the target user can be generated according to the user information, and the track tracing information can be used for epidemic situation prevention and control.

For example, when an epidemic situation occurs in a certain area, the track tracing information of the confirmed user can be called, the track information of the user is determined, other related users which may be in close contact with the confirmed user are searched according to the track information, the contact way of the related users is obtained, and the related users are notified to see a diagnosis in time, so that the epidemic situation is rapidly controlled.

By combining the traceability two-dimensional code with digital currency, the requirement of an unmanned ticketing system is met, and the scanning rate of the traceability two-dimensional code can be improved.

Step 203, receiving a ticket buying request sent by a user terminal carrying digital currency; the ticket purchase request comprises a request sent by scanning a two-dimensional code

After the user scans the two-dimensional code provided by the unmanned ticketing system or the associated equipment of the public transport means scans the two-dimensional code provided by the user terminal, the unmanned ticketing system can also receive a ticket buying request sent by the user terminal carrying digital currency.

It should be noted that step 201 and step 203 may occur simultaneously or sequentially.

Step 204, determining fare information according to the ticket purchasing request;

after the unmanned ticketing system receives the ticket buying request, the fare information can be determined according to the ticket buying request, and the fare information is the fare required to be paid by the user.

For example, in a bus, the charging standard can be classified as charging according to a fixed fare or a non-fixed fare, and for a bus charged according to the fixed fare, when a ticket purchase request of a user is received, the fare to be paid is determined to be the fixed fare; for a bus charged according to a non-fixed fare, the ticket purchase request of the user terminal can contain station information taken by the user, and further the fare information can be determined according to the station information taken by the user.

And step 205, performing ticket purchasing processing according to the ticket price information by using digital currency carried by the user terminal.

After the ticket price information is determined, the user can determine to select digital currency to pay in various payment modes, and in response to the user operation, the unmanned ticketing system can transact the user for ticketing by adopting the digital currency carried by the user terminal according to the ticket price information.

In the embodiment of the invention, the user information of the target user corresponding to the user terminal is obtained by scanning the two-dimensional code, the track tracing information aiming at the target user is generated according to the user information, the ticket buying request sent by the user terminal carrying digital currency is received, the ticket price information is determined according to the ticket buying request, and the digital currency carried by the user terminal is adopted to carry out ticket buying processing according to the ticket price information, so that the digital currency is used for an unmanned ticketing system, payment and user track tracing are carried out by scanning the two-dimensional code, the payment convenience is improved, the tracking of the user track is facilitated, and the epidemic situation prevention and control are assisted.

Referring to fig. 3, a flowchart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention is shown, where the unmanned ticketing system is deployed in a public transportation vehicle, and specifically includes the following steps:

step 301, recording inbound information and outbound information of the user terminal;

in public transport, there can be deployed unmanned ticketing system, which can be used for public transport to unmanned ticketing. Wherein, the public transport means can be subway, bus, passenger car and other transport means.

The method comprises the steps that when a user gets on a public transport means, the station-entering information and the station-exiting information of a user terminal can be recorded, specifically, when the user enters the public transport means and goes out of the public transport means, the two-dimensional code can be scanned, so that the self-service ticketing system records the station-entering information and the station-exiting information of the user terminal, wherein the two-dimensional code can be provided by the user terminal or provided by the self-service ticketing system.

Step 302, receiving a ticket buying request sent by a user terminal carrying digital currency; the ticket purchase request includes inbound information and outbound information.

When a user needs to purchase a ticket, a ticket purchasing request can be sent to the self-service ticketing system through a user terminal carrying digital currency, and specifically, the user can use the user terminal to log in or an application program corresponding to the self-service ticketing system to purchase the ticket.

In practical application, a near field communication device can be arranged in a preset range of the public transport means, so that the ticket buying request can comprise a request sent by near field communication with the unmanned ticketing system through the user terminal, and the ticket buying can be carried out by using digital currency in places with poor guarantee signals.

Step 303, determining fare information according to the station entrance information and the station exit information in the ticket purchase request.

After receiving the ticket purchase request, the fare information can be determined according to the inbound and outbound information in the ticket purchase request.

And step 304, carrying out ticket purchasing processing according to the ticket price information by adopting the digital currency carried by the user terminal.

After the ticket price information is determined, the user can determine to select digital currency to pay in various payment modes, and in response to the user operation, the unmanned ticketing system can transact the user for ticketing by adopting the digital currency carried by the user terminal according to the ticket price information.

In the embodiment of the invention, the inbound information and the outbound information of the user terminal are recorded; the method comprises the steps of receiving a ticket buying request sent by a user terminal carrying digital currency, determining ticket price information according to station entrance information and station exit information in the ticket buying request, and carrying out ticket buying processing according to the ticket price information by adopting the digital currency carried by the user terminal, so that segmented charging is realized, and the payment convenience is improved.

Referring to fig. 4, a flowchart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention is shown, where the unmanned ticketing system is deployed in a public transportation vehicle, and specifically includes the following steps:

step 401, receiving a ticket buying request sent by a user terminal carrying digital currency;

in public transport, there can be deployed unmanned ticketing system, which can be used for public transport to unmanned ticketing. Wherein, the public transport means can be subway, bus, passenger car and other transport means.

When a user needs to purchase a ticket, a ticket purchasing request can be sent to the self-service ticketing system through a user terminal carrying digital currency, and specifically, the user can use the user terminal to log in or an application program corresponding to the self-service ticketing system to purchase the ticket.

In practical application, a near field communication device can be arranged in a preset range of the public transport means, so that the ticket buying request can comprise a request sent by near field communication with the unmanned ticketing system through the user terminal, and the ticket buying can be carried out by using digital currency in places with poor guarantee signals.

Step 402, determining fare information according to the ticket purchasing request;

after the unmanned ticketing system receives the ticket buying request, the fare information can be determined according to the ticket buying request, and the fare information is the fare required to be paid by the user.

For example, in a bus, the charging standard can be classified as charging according to a fixed fare or a non-fixed fare, and for a bus charged according to the fixed fare, when a ticket purchase request of a user is received, the fare to be paid is determined to be the fixed fare; for a bus charged according to a non-fixed fare, the ticket purchase request of the user terminal can contain station information taken by the user, and further the fare information can be determined according to the station information taken by the user.

And step 403, performing ticket purchasing processing according to the ticket price information by using the digital currency carried by the user terminal.

After the ticket price information is determined, the user can determine to select digital currency to pay in various payment modes, and in response to the user operation, the unmanned ticketing system can transact the user for ticketing by adopting the digital currency carried by the user terminal according to the ticket price information.

Step 404, when the ticket buying is successful, a ticket buying voucher is sent to the user terminal.

When the user successfully purchases the ticket by using the digital currency, the unmanned ticketing system can send a ticket-purchasing voucher to the user terminal, wherein the ticket-purchasing voucher can be used for proving that the user purchases the ticket, and the ticket-purchasing voucher can also be equivalent to an electronic invoice, or a corresponding electronic invoice can be issued according to the ticket-purchasing voucher.

In the embodiment of the invention, the ticket buying request sent by the user terminal carrying the digital currency is received, the ticket price information is determined according to the ticket buying request, the digital currency carried by the user terminal is adopted, the ticket buying processing is carried out according to the ticket price information, and a ticket buying certificate is sent to the user terminal when the ticket buying is successful, so that the ticket buying certificate is sent to the user when the ticket buying is successful, and the payment convenience is improved.

Referring to fig. 5, a flowchart illustrating steps of another data processing method based on an unmanned ticketing system according to an embodiment of the present invention is shown, where the unmanned ticketing system is deployed in a public transportation vehicle, and specifically includes the following steps:

step 501, recording inbound information and outbound information of the user terminal;

in public transport, there can be deployed unmanned ticketing system, which can be used for public transport to unmanned ticketing. Wherein, the public transport means can be subway, bus, passenger car and other transport means.

The method comprises the steps that when a user gets on a public transport means, the station-entering information and the station-exiting information of a user terminal can be recorded, specifically, when the user enters the public transport means and goes out of the public transport means, the two-dimensional code can be scanned, so that the self-service ticketing system records the station-entering information and the station-exiting information of the user terminal, wherein the two-dimensional code can be provided by the user terminal or provided by the self-service ticketing system.

Step 502, receiving a ticket buying request sent by a user terminal carrying digital currency;

when a user needs to purchase a ticket, a ticket purchasing request can be sent to the self-service ticketing system through a user terminal carrying digital currency, and specifically, the user can use the user terminal to log in or an application program corresponding to the self-service ticketing system to purchase the ticket.

Step 503, determining fare information according to the station entrance information and the station exit information in the ticket purchase request.

After receiving the ticket purchase request, the fare information can be determined according to the inbound and outbound information in the ticket purchase request.

And step 504, performing ticket purchasing processing according to the ticket price information by using digital currency carried by the user terminal.

After the ticket price information is determined, the user can determine to select digital currency to pay in various payment modes, and in response to the user operation, the unmanned ticketing system can transact the user for ticketing by adopting the digital currency carried by the user terminal according to the ticket price information.

And 505, when the ticket buying fails, feeding back a prompt of the ticket buying failure and a reason of the ticket buying failure to the user terminal.

When ticket buying fails, the prompt of ticket buying failure is fed back in a mode of pushing a voice message or a popup message to the user terminal, meanwhile, the reason of ticket buying failure can be analyzed, such as insufficient balance of digital currency and the like, and the reason of ticket buying failure can also be fed back in a mode of pushing a voice message or a popup message to the user terminal

In the embodiment of the invention, the station-entering information and the station-exiting information of the user terminal are recorded, the ticket price information is determined according to the station-entering information and the station-exiting information in the ticket-buying request by receiving the ticket-buying request sent by the user terminal carrying digital currency, the ticket-buying processing is carried out according to the ticket price information by adopting the digital currency carried by the user terminal, and the prompt of ticket-buying failure and the reason of the ticket-buying failure are fed back to the user terminal when the ticket-buying fails, so that passengers can be timely promoted when the ticket-buying fails by using the digital currency, and the payment problem can be quickly positioned.

It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.

Referring to fig. 6, a schematic structural diagram of a data processing apparatus based on an unmanned ticketing system according to an embodiment of the present invention is shown, where the unmanned ticketing system is deployed in a public transportation vehicle, and specifically includes the following modules:

a ticket buying request receiving module 601, configured to receive a ticket buying request sent by a user terminal carrying digital currency;

a fare information determining module 602, configured to determine fare information according to the ticket purchasing request;

and a ticket purchasing processing module 603, configured to perform ticket purchasing processing according to the ticket price information by using digital currency carried by the user terminal.

In an embodiment of the present invention, the ticket purchase request includes a request sent by scanning a two-dimensional code, and the apparatus may further include:

the user information acquisition module is used for acquiring the user information of the target user corresponding to the user terminal by scanning the two-dimensional code;

and the track tracing information generating module is used for generating track tracing information aiming at the target user according to the user information.

In an embodiment of the present invention, the two-dimensional code is a two-dimensional code provided by the user terminal, or a two-dimensional code provided by the unmanned ticketing system.

In an embodiment of the present invention, the ticket purchase request further includes a request sent by the user terminal through near field communication with the unmanned ticketing system.

In an embodiment of the present invention, the ticket purchase request includes inbound information and outbound information, and the apparatus further includes:

the station-entering and station-exiting recording module is used for recording station-entering information and station-exiting information of the user terminal;

the fare information determination module 602 may include:

and the fare information determining submodule is used for determining fare information according to the station-entering information and the station-exiting information in the ticket purchasing request.

In an embodiment of the present invention, the method further includes:

and the ticket buying success module is used for sending a ticket buying voucher to the user terminal when the ticket buying is successful.

In an embodiment of the present invention, the method further includes:

and the ticket buying failure module is used for feeding back a prompt of ticket buying failure and the reason of the ticket buying failure to the user terminal when the ticket buying failure occurs.

In the embodiment of the invention, the ticket purchasing request sent by the user terminal carrying the digital currency is received, the ticket price information is determined according to the ticket purchasing request, the digital currency carried by the user terminal is adopted, and the ticket purchasing processing is carried out according to the ticket price information, so that the digital currency is used for an unmanned ticketing system, the operation cost of public transport means is reduced, and the payment convenience is improved.

An embodiment of the present invention further provides a terminal device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the data method based on the self-service ticketing system as described above.

An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the data method based on the self-service ticketing system is implemented.

For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.

The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.

Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.

The data processing method and device based on the unmanned ticketing system are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:超声声波替代二维码的电子支付方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!