CN109034792A - The processing method and processing device of terminal bus card - Google Patents

The processing method and processing device of terminal bus card Download PDF

Info

Publication number
CN109034792A
CN109034792A CN201811010418.5A CN201811010418A CN109034792A CN 109034792 A CN109034792 A CN 109034792A CN 201811010418 A CN201811010418 A CN 201811010418A CN 109034792 A CN109034792 A CN 109034792A
Authority
CN
China
Prior art keywords
terminal
bus card
card
transfer
target bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811010418.5A
Other languages
Chinese (zh)
Inventor
张旭
程雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811010418.5A priority Critical patent/CN109034792A/en
Publication of CN109034792A publication Critical patent/CN109034792A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/352Contactless payments by cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/354Card activation or deactivation

Abstract

The disclosure is directed to a kind of processing method and processing devices of terminal bus card, comprising: in response to being directed to the call operation of target bus card, generate transfer instruction;The transfer instruction is sent to second terminal by server, wherein the second terminal same account information corresponding with the first terminal;The transfer data information that the server is sent is received, the transfer data information is the information that second terminal is generated according to the public transport card information of the transfer instruction and the second terminal;The public transport card information of the target bus card is updated according to the transfer data information.According to the processing method and processing device for the terminal bus card that the disclosure provides, transfer efficiency can be improved.

Description

The processing method and processing device of terminal bus card
Technical field
This disclosure relates to field of terminal technology more particularly to a kind of processing method and processing device of terminal bus card.
Background technique
NFC (near field communication, near-field communication) is also known as wireless near field communication, is a kind of short distance High frequency wireless communication technology, allow to carry out contactless Point-to-Point Data Transmission between electronic equipment, exchange data.It is supporting Public transport card information is stored in the terminal of NFC, and the terminal can be made to can be realized bus card function.For example, in subway station Interior, user can receive the radiofrequency signal that charge sluice gate issues by terminal by terminal close to charge sluice gate.Terminal receives charge After the radiofrequency signal that sluice gate issues, data interaction can be carried out with charge sluice gate, completes the behaviour that swipes the card in response to the radiofrequency signal Make.
If user has replaced terminal, need to repeat in new terminal to open terminal bus card.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of processing method and processing device of terminal bus card.
According to the first aspect of the embodiments of the present disclosure, a kind of processing method of terminal bus card, the method application are provided In server, which comprises
According to the first aspect of the embodiments of the present disclosure, a kind of processing method of terminal bus card, the method application are provided In first terminal, which comprises
In response to being directed to the call operation of target bus card, transfer instruction is generated;
The transfer instruction is sent to second terminal by server, wherein the second terminal and described first is eventually The corresponding same account information in end;;
The transfer data information that the server is sent is received, the transfer data information is second terminal according to institute State the information of the public transport card information generation of transfer instruction and the second terminal;
The public transport card information of the target bus card is updated according to the transfer data information.
In one possible implementation, the call operation in response to being directed to target bus card, generates transfer and refers to It enables, comprising:
When having created the target bus card in the first terminal, in response to being directed to the calling of the target bus card Operation, display transfer amount of money interface;
The transfer amount of money is obtained from the transfer amount of money interface, according to the transfer amount of money and the mesh of the target bus card It marks bus card mark and generates the first transfer instruction, it is whole to described first that first transfer instruction is used to indicate the second terminal The transfer amount of money is shifted in the target bus card at end.
In one possible implementation, the transfer data information includes the transfer amount of money and the target public transport Card mark,
The terminal public transport card information that the target bus card is updated according to the transfer data information, comprising:
The remaining sum of the target bus card is updated according to the transfer amount of money.
In one possible implementation, the call operation in response to being directed to target bus card, generates transfer and refers to It enables, comprising:
When not creating the target bus card in the first terminal, in response to being directed to the calling of the target bus card Operation generates the second transfer instruction,
Wherein, second transfer instruction is used to indicate the second terminal and shifts the target public affairs to the first terminal Hand over card.
In one possible implementation, the transfer data information includes target bus card in the second terminal The remaining sum of target bus card in account and the second terminal,
The public transport card information that the target bus card is updated according to the transfer data information, comprising:
The target bus card is created, the account of the target bus card is target bus card described in the second terminal Account, the remaining sum of the target bus card is the remaining sum of target bus card described in the second terminal.
In one possible implementation, the method also includes:
When the first terminal successfully logs in personal account, the bus card that the personal account has is obtained from server Status information, the bus card status information include at least the affiliated terminal of terminal bus card and the affiliated city of terminal bus card;
In response to checking operation to the bus card status information, the bus card status information is shown.
According to the second aspect of an embodiment of the present disclosure, a kind of processing method of terminal bus card, the method application are provided In second terminal, which comprises
The transfer instruction from first terminal of server forwarding is received, the first terminal is corresponding with the second terminal Same account information;
According to the public transport card information of the transfer instruction and the second terminal, transfer data information is generated;
The public transport card information of the second terminal is updated according to the transfer instruction;
The transfer data information is sent to first terminal by the server.
In one possible implementation, the transfer instruction is to be used to indicate second terminal to divert the aim bus card First transfer instruction of remaining sum, first transfer instruction include that the transfer amount of money and target bus card identify,
The public transport card information according to the transfer instruction and the second terminal generates transfer data information, comprising:
The remaining sum of target bus card is obtained from the public transport card information of the second terminal, the target bus card is described Target bus card identifies characterized terminal bus card;
When the remaining sum of the target bus card of the second terminal is more than or equal to the transfer amount of money, according to described turn It moves the amount of money and generates transfer data information.
In one possible implementation, the public transport card information that the second terminal is updated according to transfer instruction, Include:
The remaining sum of target bus card described in the second terminal is updated according to the transfer amount of money.
In one possible implementation, the transfer instruction is to be used to indicate second terminal to divert the aim bus card Second transfer instruction includes that target bus card identifies in second transfer instruction,
The public transport card information according to the transfer instruction and the second terminal generates transfer data information, comprising:
According to second transfer instruction, the account of target bus card is obtained from the public transport card information of the second terminal And the remaining sum of the target bus card, the target bus card identify the terminal bus card characterized by the target bus card;
The transfer data information is generated according to the account of the target bus card and the remaining sum of the target bus card.
In one possible implementation, the public transport card information that the second terminal is updated according to transfer instruction, Include:
The public transport card information of the target bus card is deleted from the public transport card information of the second terminal.
According to the third aspect of an embodiment of the present disclosure, a kind of processing method of terminal bus card, the method application are provided In server, which comprises
After receiving the transfer instruction that first terminal is sent, the second of same account information corresponding with the first terminal is determined Terminal;
The transfer instruction is forwarded to the second terminal, so that the second terminal is according to the transfer instruction and described The public transport card information of second terminal generates transfer data information;
Receive the transfer data information that the second terminal is sent;
The transfer data information is sent to the first terminal, so that the first terminal is believed according to the transfer data Breath updates the public transport card information of the target bus card of the first terminal.
According to a fourth aspect of embodiments of the present disclosure, a kind of processing unit of terminal bus card, described device application are provided In first terminal, described device includes:
Generation module generates transfer instruction for the call operation in response to being directed to target bus card;
Sending module, for the transfer instruction to be sent to second terminal by server, wherein the second terminal Same account information corresponding with the first terminal;
Receiving module, the transfer data information sent for receiving the server, the transfer data information are The information that second terminal is generated according to the public transport card information of the transfer instruction and the second terminal;
Update module, for updating the public transport card information of the target bus card according to the transfer data information.
In one possible implementation, the generation module, comprising:
First generates submodule, when for having created the target bus card in the first terminal, in response to being directed to The call operation of the target bus card, display transfer amount of money interface;
Second generates submodule, for obtaining the transfer amount of money from the transfer amount of money interface, according to the transfer amount of money And the target bus card mark of the target bus card generates the first transfer instruction, first transfer instruction is used to indicate described Second terminal shifts the transfer amount of money into the target bus card of the first terminal.
In one possible implementation, the transfer data information includes the transfer amount of money and the target public transport Card mark, the update module, comprising:
First updates submodule, for updating the remaining sum of the target bus card according to the transfer amount of money.
In one possible implementation, the generation module, comprising:
Third generates submodule, when for not creating the target bus card in the first terminal, in response to being directed to The call operation of the target bus card generates the second transfer instruction,
Wherein, second transfer instruction is used to indicate the second terminal and shifts the target public affairs to the first terminal Hand over card.
In one possible implementation, the transfer data information includes target bus card in the second terminal The remaining sum of target bus card, the update module in account and the second terminal, comprising:
Second updates submodule, and for creating the target bus card, the account of the target bus card is described second The account of target bus card described in terminal, the remaining sum of the target bus card are target bus card described in the second terminal Remaining sum.
In one possible implementation, described device further include:
Module is obtained, for described being obtained from server and being acknowledged a debt when the first terminal successfully logs in personal account The bus card status information that family has, the bus card status information include at least the affiliated terminal of terminal bus card and terminal public transport City belonging to blocking;
Display module, for showing the bus card state in response to checking operation to the bus card status information Information.
According to a fifth aspect of the embodiments of the present disclosure, a kind of processing unit of terminal bus card, described device application are provided In second terminal, described device includes:
Receiving module, for receiving the transfer instruction from first terminal of server forwarding, the first terminal and institute It states second terminal and corresponds to same account information;
Generation module generates transfer data for the public transport card information according to the transfer instruction and the second terminal Information;
Update module, for updating the public transport card information of the second terminal according to the transfer instruction;
Sending module, for the transfer data information to be sent to the first terminal by the server.
In one possible implementation, the transfer instruction is to be used to indicate second terminal to divert the aim bus card First transfer instruction of remaining sum, first transfer instruction include that the transfer amount of money and target bus card identify, the generation module, Include:
First acquisition submodule, for obtaining the remaining sum of target bus card from the public transport card information of the second terminal, The target bus card identifies the terminal bus card characterized by the target bus card;
First generates submodule, and the remaining sum for the target bus card in the second terminal is more than or equal to described turn When moving the amount of money, transfer data information is generated according to the transfer amount of money.
In one possible implementation, the update module, comprising:
First updates submodule, for updating target bus card described in the second terminal according to the transfer amount of money Remaining sum.
In one possible implementation, the transfer instruction is to be used to indicate second terminal to divert the aim bus card Second transfer instruction includes that target bus card identifies in second transfer instruction, the generation module, comprising:
Second acquisition submodule is used for according to second transfer instruction, from the public transport card information of the second terminal The account of target bus card and the remaining sum of the target bus card are obtained, the target bus card is target bus card mark The terminal bus card characterized;
Second generates submodule, for being generated according to the account of the target bus card and the remaining sum of the target bus card The transfer data information.
In one possible implementation, the update module, comprising:
Submodule is updated, for deleting the bus card of the target bus card from the public transport card information of the second terminal Information.
According to a sixth aspect of an embodiment of the present disclosure, a kind of processing unit of terminal bus card, described device application are provided In server, described device includes:
Determining module, after receiving the transfer instruction that first terminal is sent, determination is corresponding with the first terminal same The second terminal of account information;
Forwarding module, for forwarding the transfer instruction to the second terminal, so that the second terminal is according to The public transport card information of transfer instruction and the second terminal generates transfer data information;
Receiving module, the transfer data information sent for receiving the second terminal;
First sending module, for sending the transfer data information to the first terminal, so that the first terminal The public transport card information of the target bus card of the first terminal is updated according to the transfer data information.
According to another aspect of the present disclosure, a kind of processing unit of terminal bus card is provided, comprising: processor;For The memory of storage processor executable instruction;Wherein, the processor is configured to executing the above method.
According to another aspect of the present disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon with Computer program instructions, wherein the computer program instructions realize the above method when being executed by processor.
So, first terminal can generate transfer instruction, and pass through according to the call operation for being directed to target bus card Transfer instruction is sent to the second terminal of same account information corresponding with first terminal by server, so that second terminal can be with Transfer data information is generated according to the public transport card information of transfer instruction and second terminal.First terminal is receiving server transmission Second terminal generate transfer data information after, can according to the transfer data information update first terminal target bus card Public transport card information.According to the processing method and processing device for the terminal bus card that the embodiment of the present disclosure provides, first terminal can lead to It crosses Server remote and second terminal carries out balance transfer or progress target bus card transfer of target bus card etc. and target The relevant transfer of bus card, can be improved transfer efficiency.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 6 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 7 is a kind of interaction schematic diagram of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 8 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 9 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Figure 10 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment;
Figure 11 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment;
Figure 12 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment;
Figure 13 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment;
Figure 14 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment;
Figure 15 is a kind of block diagram of processing unit 1500 for terminal bus card shown according to an exemplary embodiment;
Figure 16 is a kind of block diagram of processing unit 1900 for terminal bus card shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment, this method It can be applied to first terminal, first terminal for example can be the terminal devices such as mobile phone, tablet computer.As shown in Figure 1, this method May include:
In a step 101, in response to the call operation for target bus card, transfer instruction is generated.
For example, user logs in personal account in first terminal, after logining successfully, user passes through the public transport of point touching target The trigger action of card, invocation target bus card.First terminal can be raw in response to the above-mentioned call operation for target bus card At transfer instruction, which can serve to indicate that second terminal shifts remaining sum into the target bus card of first terminal, or Person's transfer instruction can serve to indicate that the target bus card in second terminal is transferred to first terminal by second terminal.
In a step 102, the transfer instruction is sent to by second terminal by server, wherein the second terminal Same account information corresponding with the first terminal;
Above-mentioned transfer instruction can be sent to server by first terminal, so that server receives above-mentioned transfer instruction Afterwards, which can be sent to the second terminal of same account information corresponding with first terminal, so that second is whole End can generate transfer data information according to the public transport card information of above-mentioned transfer instruction and first terminal.Such as: above-mentioned transfer refers to Order may include target bus card mark, and second terminal can obtain what target bus card mark was characterized from public transport card information The account and remaining sum of target bus card generate transfer data information according to the account of target bus card and remaining sum.Or above-mentioned turn Moving in instruction may include the transfer amount of money, and second terminal can generate transfer data information according to the transfer amount of money.
In step 103, the transfer data information that the server is sent is received, the transfer data information is the The information that two terminals are generated according to the public transport card information of the transfer instruction and the second terminal.
Above-mentioned public transport card information may include in second terminal, the state of each terminal bus card (such as enable or do not open With), remaining sum, mark, account, the information such as validity period.
After server receives the transfer data information that second terminal is sent, which can be sent to and the Two terminals correspond to the first terminal of same account information.
At step 104, the public transport card information of the target bus card is updated according to the transfer data information.
After first terminal receives the transfer data information that server is sent, the can be updated according to above-mentioned transfer data information The public transport card information of the target bus card of one terminal.For example, first terminal can be according to transfer data information more fresh target The remaining sum or first terminal of bus card can create target bus card according to above-mentioned transfer data information on first terminal.
So, first terminal can generate transfer instruction, and pass through according to the call operation for being directed to target bus card Transfer instruction is sent to the second terminal of same account information corresponding with first terminal by server, so that second terminal can be with Transfer data information is generated according to the public transport card information of transfer instruction and second terminal.First terminal is receiving server transmission Second terminal generate transfer data information after, can according to the transfer data information update first terminal target bus card Public transport card information.According to the processing method for the terminal bus card that the embodiment of the present disclosure provides, first terminal can pass through service Device remotely carries out the balance transfer of target bus card with second terminal or carries out target bus card transfer etc. and target bus card Relevant transfer, can be improved transfer efficiency.
Fig. 2 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, referring to Fig. 2, in above-mentioned steps 101, in response to being directed to the tune of target bus card With operation, transfer instruction is generated, may comprise steps of 1011 and step 1012:
In step 1011, when having created the target bus card in the first terminal, in response to being directed to the mesh Mark the call operation of bus card, display transfer amount of money interface.
For example, when user account logins successfully, user can trigger target public transport by the modes such as clicking or touching Card, to call the target bus card.First terminal can determine whether first terminal is open-minded in response to above-mentioned call operation Target bus card.For example, first terminal can read target bus card by TEE from the public transport card information stored in SE Public transport card information, in the public transport card information for reading target bus card, can determine first terminal opened target public affairs Hand over card.
First terminal can show transfer amount of money interface when target bus card has been opened in determination.For example, this turn Moving may include the input frame for shifting the amount of money in remaining sum interface, and user input can shift the amount of money in transfer amount of money input frame; Or may include transfer amount of money option in the transfer remaining sum interface, such as: 10 yuan of options, 20 yuan of options, 50 yuan of options, 100 First option etc., user can be from transfer amount of money options by choosing the operation selection transfer amount of money.
In step 1012, the transfer amount of money is obtained from the transfer amount of money interface, according to the transfer amount of money and described Target bus card target bus card mark generate the first transfer instruction, first transfer instruction be used to indicate second terminal to The transfer amount of money is shifted in the target bus card of first terminal.
For example, user can trigger determining control after the input operation for completing the transfer amount of money or choosing operation. First terminal can in response to user to the trigger action of above-mentioned determining control, obtained from the transfer amount of money interface user's input or The transfer amount of money that person chooses, and the first transfer is generated according to the target bus card of the transfer amount of money and above-mentioned target bus card mark Instruction may include that (for example, which can be with for the above-mentioned transfer amount of money and target bus card mark in first transfer instruction For the affiliated city of target bus card or number, the account of target bus card etc.).
In one possible implementation, above-mentioned transfer data information may include the transfer amount of money and the target Bus card mark is believed in above-mentioned steps 104 according to the bus card that the transfer data information updates the target bus card It ceases, may include:
The remaining sum of the target bus card is updated according to the transfer amount of money.
For example, the target bus card mark carried in the first transfer instruction that second terminal can be sent according to server Know and transfer the amount of money, generate transfer data information, and can according to transfer the amount of money update second terminal target bus card more than Volume, wherein may include target bus card mark and the transfer amount of money in the transfer data information.
It, can be according to the mesh carried in transfer data information after first terminal receives the transfer data information that server is sent It marks bus card and identifies determining target bus card, and according to the transfer amount of money carried in transfer data information, update first terminal The remaining sum of target bus card.For example, first terminal can be by TEE by target public transport in the public transport card information stored in SE The balance updates of card be will shift the amount of money and target bus card remaining sum and.
Illustratively, the remaining sum of the target bus card of first terminal is 50.Shifting in data information includes the transfer amount of money 50, First terminal can by the remaining sum 50 of above-mentioned terminal bus card and transfer the amount of money 50 and 100 be updated to first terminal target public affairs The remaining sum of card is handed over, to complete the behaviour in the target bus card of the balance transfer of the target bus card of second terminal to first terminal Make.
So, the processing method for the terminal bus card that the embodiment of the present disclosure provides can be whole by second by server In some or all of target bus card for being transferred to first terminal of remaining sum in the target bus card at end, can remotely it realize Balance transfer between the terminal bus card of two terminals.
In one possible implementation, in above-mentioned steps 301, in response to being directed to the call operation of target bus card, Transfer instruction is generated, may include:
When not creating the target bus card in the first terminal, in response to being directed to the calling of the target bus card Operation generates the second transfer instruction, wherein second transfer instruction is used to indicate second terminal and shifts to the first terminal The target bus card.
For example, first terminal can read target bus card by TEE from the public transport card information stored in SE Public transport card information, it is unread to the public transport card information when, can determine that first terminal not yet opens target bus card.
The second transfer instruction can be generated when target bus card is not yet opened in determination in first terminal, which refers to It may include target bus card mark in order.Second transfer instruction can be sent to second by server by first terminal Terminal, second terminal can obtain target bus card in second terminal and identify characterized target public affairs according to the second transfer instruction The account of card and the remaining sum of target bus card are handed over, and is generated according to the account of above-mentioned target bus card and the remaining sum of target bus card Data information is shifted, and the transfer data information is sent to first terminal.
In one possible implementation, above-mentioned transfer data information may include target described in the second terminal The remaining sum of target bus card described in the account of bus card and the second terminal, in above-mentioned steps 104, according to the transfer number According to the public transport card information of target bus card described in information update, may include:
The target bus card is created, the account of the target bus card is target bus card described in the second terminal Account, the remaining sum of the target bus card is the remaining sum of target bus card described in the second terminal.
First terminal, can be according to mesh in the second terminal carried in transfer data information after obtaining transfer data information The account and remaining sum of bus card are marked, target bus card is created.The account of the target bus card is the target in the second terminal The account of bus card, the remaining sum of the target bus card are the remaining sum of target bus card in the second terminal.
So, the processing method for the terminal bus card that the embodiment of the present disclosure provides can be whole by second by server The target bus card at end is transferred in first terminal, can remotely realize the transfer of the terminal bus card of two terminals.
Fig. 3 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, referring to Fig. 3, the above method can also include:
In step 105, when the first terminal successfully logs in personal account, the personal account is obtained from server The bus card status information having, the bus card status information include at least the affiliated terminal of terminal bus card and terminal bus card Affiliated city.
Server can store user account information, can also be including under the account information of user in the user account information The bus card status information that each terminal is opened is bound, such as: user's first is bound under account information terminal A and terminal B, The bus card status information of terminal A are as follows: nothing.The bus card status information of terminal B are as follows: " Beijing city all-purpose card ": city: north Capital, " Shanghai Urban all-purpose card ": city: Shanghai.Server is verifying user when personal account logins successfully on first terminal, All bus card status informations under the available user account information, and the bus card status information is sent to the first end End.
In step 106, in response to checking operation to the bus card status information, the bus card state letter is shown Breath.
After first terminal obtains above-mentioned bus card status information, bus card status information can be checked in response to user Operation (such as triggering bus card state checks control), shows above-mentioned bus card status information.Such as: first terminal can respond Operation is checked to bus card status information in user, show in the display interface " " Beijing city all-purpose card ": city: Beijing, " Shanghai Urban all-purpose card ": city: Shanghai ".
So, user can be informed in terminal public transport in other terminals when logging in personal account on first terminal Card opens situation, when having opened local terminal bus card in other terminals, can directly turn the terminal bus card It moves in first terminal, card can be opened to avoid repetition.
Fig. 4 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment, this method It can be applied to second terminal, second terminal for example can be the terminal devices such as mobile phone, tablet computer.As shown in figure 4, this method May include:
In step 401, receive server forwarding the transfer instruction from first terminal, the first terminal with it is described Second terminal corresponds to same account information.
Transfer instruction can be generated in first terminal, and sends transfer instruction to server.Server can refer to the transfer Enable the second terminal for being sent to same account information corresponding with the first terminal.Wherein, first terminal generates transfer instruction Process is referred to previous embodiment, and details are not described herein for the embodiment of the present disclosure.
In step 402, according to the public transport card information of the transfer instruction and the second terminal, transfer data letter is generated Breath.
Above-mentioned public transport card information may include in second terminal, the state of each terminal bus card (such as enable or do not open With), remaining sum, mark, account, the information such as validity period.
Above-mentioned transfer data information may include the information that second terminal waits for shifting into the target bus card of first terminal, Such as: above-mentioned transfer data information may include to from the target bus card of second terminal to the target bus card of first terminal The remaining sum of middle transfer or above-mentioned transfer data information may include the target public transport to be transferred to first terminal from second terminal The account and remaining sum of card.Second terminal can be in response to above-mentioned transfer instruction, from obtaining in the public transport card information of second terminal State transfer data information.
In step 403, the public transport card information of the second terminal is updated according to the transfer instruction.
Second terminal can update second according to transfer instruction after obtaining above-mentioned transfer data information in public transport card information The public transport card information of terminal.For example, the remaining sum of target bus card in the public transport card information of second terminal is updated, or is deleted The public transport card information of target bus card in the public transport card information of second terminal.
In step 404, the transfer data information is sent to by first terminal by the server.
Above-mentioned transfer data information can be sent to server by second terminal.Server receives above-mentioned transfer data information Afterwards, which can be sent to the first terminal for belonging to same account information with second terminal, so that first Terminal updates the public transport card information of target bus card in first terminal according to above-mentioned transfer data information.
So, second terminal can after receiving the transfer instruction that server is sent, can according to transfer instruction and The public transport card information of second terminal generates transfer data information.And the public transport card information of second terminal is updated, and pass through service Data transfer information is sent to first terminal by device.According to the processing method for the terminal bus card that the embodiment of the present disclosure provides, the Two terminals can carry out the balance transfer of terminal bus card by Server remote and first terminal or carry out terminal bus card The transfers relevant to terminal bus card such as transfer, can be improved transfer efficiency.
Fig. 5 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, the transfer instruction is to be used to indicate second terminal transfer terminal bus card First transfer instruction of remaining sum, first transfer instruction may include the transfer amount of money and target bus card mark.Reference Fig. 5, In above-mentioned steps 402, according to the public transport card information of the transfer instruction and the second terminal, transfer data information, packet are generated It includes:
In step 4021, the remaining sum of target bus card, the mesh are obtained from the public transport card information of the second terminal Mark bus card identifies the terminal bus card characterized by the target bus card.
In step 4022, it is more than or equal to the transfer amount of money in the remaining sum of the target bus card of the second terminal When, transfer data information is generated according to the transfer amount of money.
For example, in the case where first terminal has opened target bus card, first terminal can by server to Second terminal sends the first transfer instruction, may include that the transfer amount of money and target bus card mark (are lifted in first transfer instruction For example, which can be the affiliated city of target bus card or number, the account of target bus card etc.) so that second is whole End can shift the remaining sum in target bus card into the target bus card of first terminal according to the transfer amount of money.
It include each terminal bus card in the public transport card information for example, being stored with public transport card information in the SE of second terminal Information, such as: the information such as remaining sum, account and affiliated city of each terminal bus card.Second terminal receives the first transfer and refers to It, can be by TEE (Trusted Execution Environment, credible performing environment) from SE (Secure after order Element, security component) in public transport card information in, obtain target bus card remaining sum.Second terminal can be from the first transfer The transfer amount of money is obtained in instruction, when the remaining sum of target bus card is greater than the above-mentioned transfer amount of money, second terminal can be according to transfer The amount of money generates transfer data information, may include the transfer amount of money and target bus card mark in the transfer data information.Second eventually End can send the transfer data information to first terminal, so that first terminal can be according to the transfer data by server The transfer amount of money in information increases the remaining sum that target bus card in first terminal identifies characterized target bus card.Above-mentioned When the remaining sum of target bus card is less than the above-mentioned transfer amount of money, second terminal can be sent by server for indicating second terminal The interior target bus card prompt information that Sorry, your ticket has not enough value is to first terminal.First terminal can show above-mentioned in the display interface Information, to prompt user's transfer operation to fail.It can also include in second terminal in a kind of example, in above-mentioned prompt information The remaining sum of target bus card, first terminal can show the target bus card in second terminal when showing above-mentioned prompt information Remaining sum, transferable remaining sum in the target bus card to prompt user's second terminal, to improve the efficiency of balance transfer operation.
Alternatively, second terminal can be according to target bus card when the remaining sum of target bus card is less than the above-mentioned transfer amount of money Remaining sum generate transfer data information, shift data information in may include second terminal target bus card remaining sum, second Terminal can send the transfer data information to first terminal, so that first terminal can be according to the transfer number by server It is believed that the remaining sum of the target bus card of the second terminal in breath, increases the remaining sum of target bus card in first terminal, can be improved The efficiency of balance transfer operation.
In one possible implementation, in above-mentioned steps 403, the public affairs of the second terminal are updated according to transfer instruction Card information is handed over, may include:
The remaining sum of target bus card in the second terminal is updated according to the transfer amount of money.
Second terminal can update the target bus card of second terminal according to the transfer amount of money after generating transfer data information Remaining sum.For example, second terminal can be by TEE by the remaining sum of the target bus card in the public transport card information stored in SE It is updated to, the remaining sum of target bus card and the difference of the transfer amount of money.
Illustratively, the remaining sum of the target bus card of second terminal is 100.Second terminal receives first that server is sent Transfer instruction includes the transfer amount of money 50 and target bus card mark in first transfer instruction, then packet can be generated in second terminal The transfer data information of the transfer amount of money 50 is included, and the remaining sum of target bus card 100 and the difference 50 of the transfer amount of money 50 are updated to The remaining sum of the target bus card of second terminal.Above-mentioned transfer data information is sent to first eventually by server by second terminal End, to complete from the operation for shifting remaining sum in the target bus card of second terminal into the target bus card of first terminal.
So, second terminal can be whole by second by server according to the transfer amount of money in the first transfer instruction In some or all of target bus card for being transferred to first terminal of remaining sum in the target bus card at end, can remotely it realize Balance transfer between first terminal and the terminal bus card of second terminal.
Fig. 6 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, above-mentioned transfer instruction is to be used to indicate second terminal to divert the aim bus card Second transfer instruction may include target bus card mark in second transfer instruction.Referring to Fig. 6, in above-mentioned steps 402, Transfer data information is generated according to the public transport card information of the transfer instruction and the second terminal, may comprise steps of 4023 and step 4024:
In step 4023, according to second transfer instruction, mesh is obtained from the public transport card information of the second terminal Mark the account of bus card and the remaining sum of the target bus card, wherein the target bus card is target bus card mark The terminal bus card characterized;
In step 4024, described turn is generated according to the account of the target bus card and the remaining sum of the target bus card Move data information.
For example, in the case where first terminal does not open target bus card, first terminal can by server to Second terminal sends the second transfer instruction, may include the target bus card mark of target bus card in second transfer instruction, Second transfer instruction can make second terminal that the target bus card of second terminal is transferred in first terminal.
Second terminal receive the second transfer instruction after, can by TEE (Trusted Execution Environment, Credible performing environment) from the public transport card information in SE (Secure Element, security component), read the target of second terminal The account of bus card and the remaining sum of target bus card.Second terminal can be according to the account of the target bus card of above-mentioned second terminal And the remaining sum of target bus card generates transfer data information, may include the target public transport of second terminal in the transfer data information The account of card and the remaining sum of target bus card.The transfer data information can be sent to first eventually by server by second terminal End, so that first terminal can create target bus card according to transfer data information, the account of the target bus card is second The account of the target bus card of terminal, the remaining sum of the target bus card are the remaining sum of the target bus card of second terminal.
In one possible implementation, described that the second terminal is updated according to transfer instruction in above-mentioned steps 403 Public transport card information, may include:
The public transport card information of the target bus card is deleted from the public transport card information of the second terminal.
Second terminal can be public by the target in the public transport card information stored in SE by TEE after generating transfer data The bus card information deletion of card is handed over, the target bus card of second terminal is transferred to by first terminal with completion, at this time second terminal The card-like state of opening of interior target bus card is not yet to open card.
Fig. 7 is a kind of interaction schematic diagram of the processing method of terminal bus card shown according to an exemplary embodiment.
To make those skilled in the art better understand the embodiment of the present disclosure, below by way of example shown in Fig. 7, to this public affairs Embodiment is opened to be illustrated.User logs in personal account by first terminal, and after logining successfully, user triggers target public transport Card: " Beijing city all-purpose card ", with calling " Beijing city all-purpose card ".Whether first terminal confirmation is open-minded on first terminal " Beijing city all-purpose card ".
Assuming that having opened " Beijing city all-purpose card " on first terminal, then first terminal can jump to transfer amount of money circle Face.User can be determined by way of inputting or selecting at transfer amount of money interface shifts the amount of money: 50.First terminal can root According to the mark of the transfer amount of money (50) and " Beijing city all-purpose card ": Beijing generates the first transfer instruction.First terminal can be by One transfer instruction is sent to server.
After server receives above-mentioned first transfer instruction, it can determine and correspond to the of same account information with first terminal Two terminals, and the first transfer instruction is sent to second terminal.
After second terminal receives the first transfer instruction, the letter of " the Beijing city all-purpose card " that stores in SE is read by TEE Breath.Obtain the remaining sum of " Beijing city all-purpose card " from the information of above-mentioned " Beijing city all-purpose card ": 100.Then second terminal can Data information is shifted to generate, includes the mark of the transfer amount of money 50 and " Beijing city all-purpose card ": north in the transfer data information Capital.Second terminal updates the remaining sum of " the Beijing city all-purpose card " that stores in SE by TEE are as follows: 50.And send transfer data letter It ceases to server.
After server receives above-mentioned transfer data information, it can determine and correspond to the of same account information with second terminal One terminal, and above-mentioned transfer data information is sent to first terminal.
After first terminal receives transfer data information, by TEE to the remaining sum of " the Beijing city all-purpose card " that is stored in SE It is updated, it is assumed that the remaining sum of " Beijing city all-purpose card " in first terminal is 30, then TEE updates the " Beijing stored in SE The remaining sum of city one-card " are as follows: 80.Complete at this time from second terminal in " Beijing city all-purpose card " into first terminal The operation of 50 yuan of remaining sums of transfer in " Beijing city all-purpose card ".
Assuming that not opening " Beijing city all-purpose card " on first terminal, then first terminal can be according to " the card of Beijing city one It is logical " mark: Beijing generates the second transfer instruction.Second transfer instruction can be sent to server by first terminal.
After server receives above-mentioned second transfer instruction, it can determine and correspond to the of same account information with first terminal Two terminals, and the second transfer instruction is sent to second terminal.
After second terminal receives the second transfer instruction, the letter of " the Beijing city all-purpose card " that stores in SE is read by TEE Breath.The account of " Beijing city all-purpose card " is obtained from the information of above-mentioned " Beijing city all-purpose card " are as follows: 10000001, remaining sum: 100.Then transfer data information can be generated in second terminal, includes: the account of " Beijing city all-purpose card " in the transfer data information Number: 10000001, remaining sum: 100, and the mark of " Beijing city all-purpose card ": Beijing.Second terminal is stored from SE by TEE The information of " Beijing city all-purpose card " is deleted in terminal public transport card information, and sends transfer data information to server.
After server receives above-mentioned transfer data information, it can determine and correspond to the of same account information with second terminal One terminal, and above-mentioned transfer data information is sent to first terminal.
After first terminal receives transfer data information, according to transfer data information creation " Beijing city all-purpose card ", pass through TEE stores the information that " Beijing city all-purpose card " is added in terminal bus card in SE, is somebody's turn to do the information of " Beijing city all-purpose card " Include: account: 10000001, remaining sum: 100, and the mark of " Beijing city all-purpose card ": Beijing.It is completed at this time from second eventually " Beijing city all-purpose card " is transferred to the operation in first terminal in end.
Fig. 8 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment, this method It can be applied to server, as shown in figure 8, the processing of the terminal bus card includes the following steps.
In step 801, after receiving the transfer instruction that first terminal is sent, same account corresponding with the first terminal is determined The second terminal of family information.
For example, first terminal can send transfer instruction to server, may include target public affairs in the transfer instruction The target bus card mark of card is handed over, which can serve to indicate that same account information is associated with first terminal second is whole End, from shifting remaining sum into the target bus card of first terminal in the target bus card of second terminal or the transfer instruction can First terminal is transferred to be used to indicate second terminal for the target bus card in second terminal.
Server can store user account information, the user account information may include user account information (such as The account ID of user's registration, password etc.) and account information under the end message bound, such as: the user account information of user's first It may include terminal A and terminal B bound under the account information of user's first and the account information of user's first.On server receives After the transfer instruction for stating first terminal transmission, account information belonging to first terminal can be determined, it is corresponding to obtain account information User account information, and determine from the user account information the second end of corresponding with first terminal same account information End.
In step 802, the transfer instruction is forwarded to the second terminal, makes the second terminal according to the transfer The public transport card information of instruction and the second terminal generates transfer data information.
Public transport card information may include in second terminal, the state of each terminal bus card (such as enable or not enabled), The information such as remaining sum, mark, account, validity period.
After server determines second terminal, above-mentioned transfer instruction can be forwarded to second terminal.
Above-mentioned transfer data information may include the information that second terminal waits for shifting into the target bus card of first terminal, Such as: above-mentioned transfer data information may include to from the target bus card of second terminal to the target bus card of first terminal The remaining sum of middle transfer or above-mentioned transfer data information may include the target public transport to be transferred to first terminal from second terminal The account and remaining sum of card.Second terminal can be in response to above-mentioned transfer instruction, according to the bus card of transfer instruction and second terminal Information obtains transfer data information, concurrently serves and states transfer data information to server.
In step 803, the transfer data information that the second terminal is sent is received.
In step 804, the transfer data information is sent to the first terminal, so that the first terminal is according to institute State the public transport card information that transfer data information updates the target bus card of the first terminal.
After server receives the transfer data information that second terminal is sent, transfer data information can be sent to first eventually End.First terminal can update the public transport card information of the target bus card of first terminal according to above-mentioned transfer data information.Citing For, first terminal can be according to the remaining sum of transfer data information more fresh target bus card, or can be according to above-mentioned transfer number It is believed that breath creates target bus card on first terminal.
So, which can be sent to by server after receiving the transfer instruction that first terminal is sent The second terminal of same account information corresponding with first terminal, so that second terminal can be according to transfer instruction and second terminal Public transport card information generate transfer data information.After server obtains the transfer data information of second terminal generation, by the transfer Data information is sent to first terminal, so that first terminal can update the target of first terminal according to the transfer data information The public transport card information of bus card.It, can be with by server according to the processing method for the terminal bus card that the embodiment of the present disclosure provides The balance transfer of the long-range target bus card for completing first terminal and second terminal or the transfer of target bus card etc. and target public affairs It hands over and blocks relevant transfer, can be improved transfer efficiency.
In one possible implementation, in above-mentioned steps 804, transmission transfer data information to the first terminal, It may comprise steps of:
The transfer data information is encrypted using Yunan County whole assembly cloudSE, by the encrypted transfer number It is believed that breath and the code key are sent to first terminal.
Server can encrypt above-mentioned transfer data information using cloudSE, and by encrypted transfer data Information and code key are sent to first terminal.After first terminal receives above-mentioned encrypted transfer data information and code key, Ke Yigen It is decrypted according to secret key pair transfer data information, obtains transfer data information, and first terminal is updated according to transfer data information Target bus card terminal public transport card information, can be improved the safety of data.
Fig. 9 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, referring to Fig. 9, the above method can also include:
In step 805, in the personal account verifying for completing the first terminal, obtain what the personal account had Bus card status information, the bus card status information include at least the affiliated terminal of terminal bus card and the affiliated city of terminal bus card City;
In step 806, the bus card status information is sent to the first terminal.
Server can store user account information, can also be including under the account information of user in the user account information The bus card status information that each terminal is opened is bound, such as: user's first is bound under user account information terminal A and end Hold B, the bus card status information of terminal A are as follows: nothing.The bus card status information of terminal B are as follows: " Beijing city all-purpose card ": city: Beijing, " Shanghai Urban all-purpose card ": city: Shanghai.Server is logined successfully in verifying user's personal account on first terminal When, all bus card status informations under the available user account information, and the bus card status information is sent to first Terminal so that first terminal can in response to user to bus card status information check operation (such as triggering public transport card-like State checks control), show above-mentioned bus card status information.
So, user can be informed in terminal public transport in other terminals when logging in personal account on first terminal Card opens situation, when having opened local terminal bus card in other terminals, can directly turn the terminal bus card It moves in first terminal, card can be opened to avoid repetition.
Figure 10 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment, the dress It sets and can be applied to first terminal, as shown in Figure 10, the apparatus may include: generation module 1001, receives sending module 1002 Module 1003 and update module 1004.
Wherein, generation module 1001 is configured to respond to the call operation for target bus card, generates transfer instruction;
Sending module 1002 is configured as that the transfer instruction is sent to second terminal by server, wherein described Second terminal same account information corresponding with the first terminal;
Receiving module 1003 is configured as receiving the transfer data information that the server is sent, the transfer data Information is the information that second terminal is generated according to the public transport card information of the transfer instruction and the second terminal;
Update module 1004 is configured as updating the bus card letter of the target bus card according to the transfer data information Breath.
So, first terminal can generate transfer instruction, and pass through according to the call operation for being directed to target bus card The transfer instruction is sent to the second terminal of same account information corresponding with first terminal by server, so that second terminal can To generate transfer data information according to the public transport card information of transfer instruction and second terminal.First terminal is receiving server hair After the transfer data information that the second terminal sent generates, the target public transport of first terminal can be updated according to the transfer data information The public transport card information of card.According to the processing unit for the terminal bus card that the embodiment of the present disclosure provides, first terminal can pass through clothes Business device remotely carries out balance transfer or progress target bus card transfer of target bus card etc. and target public transport with second terminal Block relevant transfer, can be improved transfer efficiency.
Figure 11 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, referring to Fig.1 1, above-mentioned generation module 1001 may include: the first generation submodule Block 10011 and the second generation submodule 10012.
Wherein, the first generation submodule 10011 is configured as having created the target bus card in the first terminal When, in response to being directed to the call operation of the target bus card, display transfer amount of money interface;
Second generation submodule 10012 is configured as obtaining the transfer amount of money from the transfer amount of money interface, according to described The target bus card mark for shifting the amount of money and the target bus card generates the first transfer instruction, and first transfer instruction is used for Instruction second terminal shifts the transfer amount of money into the target bus card of first terminal.
In one possible implementation, the transfer data information includes the transfer amount of money and the target public transport Card mark, referring to Fig.1 1, above-mentioned update module 1004 may include: the first update submodule 10041.
Wherein, the first update submodule 10041 is configured as updating the target bus card according to the transfer amount of money Remaining sum.
In one possible implementation, referring to Fig.1 1, the generation module 1001 may include: that third generates submodule Block 10013.
Wherein, third generates submodule 10013 and is configured as not creating the target bus card in the first terminal When, in response to the call operation for the target bus card, the second transfer instruction is generated,
Wherein, second transfer instruction is used to indicate second terminal and shifts the target public transport to the first terminal Card.
In one possible implementation, the transfer data information includes target bus card in the second terminal The remaining sum of target bus card in account and the second terminal, the update module 1104 may include:
Second update submodule 10042 is configured as creating the target bus card, and the account of the target bus card is The account of target bus card described in the second terminal, the remaining sum of the target bus card are mesh described in the second terminal Mark the remaining sum of bus card.
In one possible implementation, referring to Fig.1 1, above-mentioned apparatus can also include: to obtain module 1005 and display Module 1006.
Wherein, module 1005 is obtained to be configured as obtaining when the first terminal successfully logs in personal account from server The bus card status information for taking the personal account to have, the bus card status information include at least belonging to terminal bus card eventually End and the affiliated city of terminal bus card;
Display module 1006 is configured to respond to check operation to the bus card status information, shows the public transport Card status information.
Figure 12 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment, the dress It sets and can be applied to second terminal, as shown in figure 12, the apparatus may include: receiving module 1201, updates generation module 1202 Module 1203 and sending module 1204.
Wherein, receiving module 1201 is configured as receiving the transfer instruction from first terminal of server forwarding, described First terminal same account information corresponding with the second terminal;
Generation module 1202 is configured as the public transport card information according to the transfer instruction and the second terminal, generates and turns Move data information;
Update module 1203 is configured as updating the public transport card information of the second terminal according to the transfer instruction;
Sending module 1204 is configured as that the transfer data information is sent to first terminal by the server.
So, second terminal can after receiving the transfer instruction that server is sent, can according to transfer instruction and The public transport card information of second terminal generates transfer data information.And the public transport card information of second terminal is updated, and pass through service Data transfer information is sent to first terminal by device.According to the processing unit for the terminal bus card that the embodiment of the present disclosure provides, the Two terminals can carry out the balance transfer of target bus card by Server remote and first terminal or carry out target bus card The transfers relevant to target bus card such as transfer, can be improved transfer efficiency.
Figure 13 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment.
In one possible implementation, the transfer instruction is to be used to indicate second terminal to divert the aim more than bus card First transfer instruction of volume, first transfer instruction include the transfer amount of money and target bus card mark, and referring to Fig.1 3, above-mentioned life It may include: that the first acquisition submodule 12021 and first generates submodule 12022 at module 1202.
Wherein, the first acquisition submodule 12021 is configured as obtaining target from the public transport card information of the second terminal The remaining sum of bus card, the target bus card identify the terminal bus card characterized by the target bus card;
First generation submodule 12022 is configured as being greater than or waiting in the remaining sum of the target bus card of the second terminal When the transfer amount of money, transfer data information is generated according to the transfer amount of money.
In one possible implementation, referring to Fig.1 3, the update module 1203 may include: the first update submodule Block 12031.
Wherein, the first update submodule 12031 is configured as updating mesh in the second terminal according to the transfer amount of money Mark the remaining sum of bus card.
In one possible implementation, the transfer instruction is to be used to indicate second terminal to divert the aim bus card Second transfer instruction includes that target bus card identifies in second transfer instruction, and referring to Fig.1 3, the generation mould 1202 can be with It include: that the second acquisition submodule 12023 and second generates submodule 12024.
Wherein, the second acquisition submodule 12023 is configured as according to second transfer instruction, from the second terminal The account of target bus card and the remaining sum of the target bus card are obtained in public transport card information, the target bus card is the mesh It marks bus card and identifies characterized terminal bus card;
Second generation submodule 12024 is configured as according to the account of the target bus card and the target bus card Remaining sum generates the transfer data information.
In one possible implementation, referring to Fig.1 3, the update module 1203 may include: the second update submodule Block 12032.
Wherein, submodule 12032 is updated to be configured as deleting the target from the public transport card information of the second terminal The public transport card information of bus card.
Figure 14 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment, the dress It sets and can be applied to server, as shown in figure 14, the apparatus may include: determining module 1401, receives mould at forwarding module 1402 Block 1403 and the first sending module 1404.
Wherein it is determined that module 1401 is configured as after receiving the transfer instruction that first terminal is sent, determine and described first Terminal corresponds to the second terminal of same account information;
Forwarding module 1402 is configured as forwarding the transfer instruction to the second terminal, make the second terminal according to The public transport card information of the transfer instruction and the second terminal generates transfer data information;
Receiving module 1403 is configured as receiving the transfer data information that the second terminal is sent;
First sending module 1404 is configured as sending the transfer data information to the first terminal, so that described One terminal updates the public transport card information of the target bus card of the first terminal according to the transfer data information.
So, which can be sent to by server after receiving the transfer instruction that first terminal is sent The second terminal of same account information corresponding with first terminal, so that second terminal can be according to transfer instruction and second terminal Public transport card information generate transfer data information.After server obtains the transfer data information of second terminal generation, by the transfer Data information is sent to first terminal, so that first terminal can update the target of first terminal according to the transfer data information The public transport card information of bus card.It, can be with by server according to the processing unit for the terminal bus card that the embodiment of the present disclosure provides The balance transfer of the long-range target bus card for completing first terminal and second terminal or the transfer of target bus card etc. and target public affairs It hands over and blocks relevant transfer, can be improved transfer efficiency.
Figure 15 is a kind of block diagram of processing unit 1500 for terminal bus card shown according to an exemplary embodiment. For example, device 1500 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, plate Equipment, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 5, device 1500 may include following one or more components: processing component 1502, memory 1504, Power supply module 1506, multimedia component 1508, audio component 1510, the interface 1512 of input/output (I/O), sensor module 1514 and communication component 1516.
The integrated operation of the usual control device 1500 of processing component 1502, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1502 may include one or more processors 1520 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1502 may include one or more moulds Block, convenient for the interaction between processing component 1502 and other assemblies.For example, processing component 1502 may include multi-media module, To facilitate the interaction between multimedia component 1508 and processing component 1502.
Memory 1504 is configured as storing various types of data to support the operation in device 1500.These data Example includes the instruction of any application or method for operating on device 1500, contact data, telephone book data, Message, picture, video etc..Memory 1504 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1506 provides electric power for the various assemblies of device 1500.Power supply module 1506 may include power management System, one or more power supplys and other with for device 1500 generate, manage, and distribute the associated component of electric power.
Multimedia component 1508 includes the screen of one output interface of offer between described device 1500 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1508 includes a front camera and/or rear camera.When device 1500 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1510 is configured as output and/or input audio signal.For example, audio component 1510 includes a wheat Gram wind (MIC), when device 1500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1504 or via communication Component 1516 is sent.In some embodiments, audio component 1510 further includes a loudspeaker, is used for output audio signal.
I/O interface 1512 provides interface, above-mentioned peripheral interface module between processing component 1502 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1514 includes one or more sensors, and the state for providing various aspects for device 1500 is commented Estimate.For example, sensor module 1514 can detecte the state that opens/closes of device 1500, the relative positioning of component, such as institute The display and keypad that component is device 1500 are stated, sensor module 1514 can be with detection device 1500 or device 1,500 1 The position change of a component, the existence or non-existence that user contacts with device 1500,1500 orientation of device or acceleration/deceleration and dress Set 1500 temperature change.Sensor module 1514 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1514 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1516 is configured to facilitate the communication of wired or wireless way between device 1500 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1500,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1516 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1516 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1500 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1504 of instruction, above-metioned instruction can be executed by the processor 1520 of device 1500 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Figure 16 is a kind of block diagram of processing unit 1900 for terminal bus card shown according to an exemplary embodiment. For example, device 1900 may be provided as a server.Referring to Fig.1 6, device 1900 includes processing component 1922, further It, can be by processing component for storing including one or more processors and memory resource represented by a memory 1932 The instruction of 1922 execution, such as application program.The application program stored in memory 1932 may include one or one with On each correspond to one group of instruction module.In addition, processing component 1922 is configured as executing instruction, to execute above-mentioned end Hold the processing method of bus card.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1932 of instruction, above-metioned instruction can be executed by the processing component 1922 of device 1900 to complete the above method. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (26)

1. a kind of processing method of terminal bus card, which is characterized in that the method is applied to first terminal, the method packet It includes:
In response to being directed to the call operation of target bus card, transfer instruction is generated;
The transfer instruction is sent to second terminal by server, wherein the second terminal and the first terminal pair Answer same account information;
The transfer data information that the server is sent is received, the transfer data information is the second terminal according to institute State the information of the public transport card information generation of transfer instruction and the second terminal;
The public transport card information of the target bus card is updated according to the transfer data information.
2. the method according to claim 1, wherein it is described in response to be directed to target bus card call operation, Generate transfer instruction, comprising:
When having created the target bus card in the first terminal, grasped in response to the calling for the target bus card Make, display transfer amount of money interface;
The transfer amount of money is obtained from the transfer amount of money interface, it is public according to the target of the transfer amount of money and the target bus card Card mark is handed over to generate the first transfer instruction, first transfer instruction is used to indicate the second terminal to the first terminal The transfer amount of money is shifted in the target bus card.
3. according to the method described in claim 2, it is characterized in that, the transfer data information includes the transfer amount of money and institute Target bus card mark is stated,
The public transport card information that the target bus card is updated according to the transfer data information, comprising:
The remaining sum of the target bus card is updated according to the transfer amount of money.
4. the method according to claim 1, wherein it is described in response to be directed to target bus card call operation, Generate transfer instruction, comprising:
When not creating the target bus card in the first terminal, grasped in response to the calling for the target bus card Make, generate the second transfer instruction,
Wherein, second transfer instruction is used to indicate the second terminal and shifts the target public transport to the first terminal Card.
5. according to the method described in claim 4, it is characterized in that, the transfer data information includes mesh in the second terminal The remaining sum of target bus card in the account and the second terminal of bus card is marked,
The public transport card information that the target bus card is updated according to the transfer data information, comprising:
The target bus card is created, the account of the target bus card is the account of target bus card described in the second terminal Number, the remaining sum of the target bus card is the remaining sum of target bus card described in the second terminal.
6. according to claim 1 to any method in 5, which is characterized in that the method also includes:
When the first terminal successfully logs in personal account, the bus card state that the personal account has is obtained from server Information, the bus card status information include at least the affiliated terminal of terminal bus card and the affiliated city of terminal bus card;
In response to checking operation to the bus card status information, the bus card status information is shown.
7. a kind of processing method of terminal bus card, which is characterized in that the method is applied to second terminal, the method packet It includes:
The transfer instruction from first terminal of server forwarding is received, the first terminal is corresponding with the second terminal same Account information;
According to the public transport card information of the transfer instruction and the second terminal, transfer data information is generated;
The public transport card information of the second terminal is updated according to the transfer instruction;
The transfer data information is sent to the first terminal by the server.
8. the method according to the description of claim 7 is characterized in that the transfer instruction is to be used to indicate second terminal to shift mesh The first transfer instruction of the remaining sum of bus card is marked, first transfer instruction includes that the transfer amount of money and target bus card identify,
The public transport card information according to the transfer instruction and the second terminal generates transfer data information, comprising:
The remaining sum of target bus card is obtained from the public transport card information of the second terminal, the target bus card is the target Bus card identifies characterized terminal bus card;
When the remaining sum of the target bus card of the second terminal is more than or equal to the transfer amount of money, according to the transfer gold Volume generates transfer data information.
9. according to the method described in claim 8, it is characterized in that, the public affairs for updating the second terminal according to transfer instruction Hand over card information, comprising:
The remaining sum of target bus card described in the second terminal is updated according to the transfer amount of money.
10. the method according to the description of claim 7 is characterized in that the transfer instruction is to be used to indicate second terminal transfer Second transfer instruction of target bus card includes that target bus card identifies in second transfer instruction,
The public transport card information according to the transfer instruction and the second terminal generates transfer data information, comprising:
According to second transfer instruction, the account of target bus card is obtained from the terminal public transport card information of the second terminal And the remaining sum of the target bus card, the target bus card identify the terminal bus card characterized by the target bus card;
The transfer data information is generated according to the account of the target bus card and the remaining sum of the target bus card.
11. according to the method described in claim 10, it is characterized in that, described update the second terminal according to transfer instruction Public transport card information, comprising:
The public transport card information of the target bus card is deleted from the public transport card information of the second terminal.
12. a kind of processing method of terminal bus card, which is characterized in that the method is applied to server, which comprises
After receiving the transfer instruction that first terminal is sent, determine that the second of same account information corresponding with the first terminal is whole End;
The transfer instruction is forwarded to the second terminal, so that the second terminal is according to the transfer instruction and described second The public transport card information of terminal generates transfer data information;
Receive the transfer data information that the second terminal is sent;
The transfer data information is sent to the first terminal so that the first terminal according to the transfer data information more The public transport card information of the target bus card of the new first terminal.
13. a kind of processing unit of terminal bus card, which is characterized in that described device is applied to first terminal, described device packet It includes:
Generation module generates transfer instruction for the call operation in response to being directed to target bus card;
Sending module, for the transfer instruction to be sent to second terminal by server, wherein the second terminal and institute It states first terminal and corresponds to same account information;
Receiving module, the transfer data information sent for receiving the server, the transfer data information are second The information that terminal is generated according to the public transport card information of the transfer instruction and the second terminal;
Update module, for updating the public transport card information of the target bus card according to the transfer data information.
14. device according to claim 13, which is characterized in that the generation module, comprising:
First generates submodule, when for having created the target bus card in the first terminal, in response to for described The call operation of target bus card, display transfer amount of money interface;
Second generates submodule, for obtaining the transfer amount of money from the transfer amount of money interface, according to the transfer amount of money and institute The target bus card mark for stating target bus card generates the first transfer instruction, and first transfer instruction is used to indicate described second Terminal shifts the transfer amount of money into the target bus card of the first terminal.
15. device according to claim 14, which is characterized in that the transfer data information include the transfer amount of money and The target bus card mark, the update module, comprising:
First updates submodule, for updating the remaining sum of the target bus card according to the transfer amount of money.
16. device according to claim 13, which is characterized in that the generation module, comprising:
Third generates submodule, when for not creating the target bus card in the first terminal, in response to for described The call operation of target bus card generates the second transfer instruction,
Wherein, second transfer instruction is used to indicate the second terminal and shifts the target public transport to the first terminal Card.
17. device according to claim 16, which is characterized in that the transfer data information includes in the second terminal The remaining sum of target bus card, the update module in the account of target bus card and the second terminal, comprising:
Second updates submodule, and for creating the target bus card, the account of the target bus card is the second terminal Described in target bus card account, the remaining sum of the target bus card is the remaining of target bus card described in the second terminal Volume.
18. 3 to 17 any device according to claim 1, which is characterized in that described device further include:
Module is obtained, for obtaining the personal account tool from server when the first terminal successfully logs in personal account Some bus card status informations, the bus card status information include at least the affiliated terminal of terminal bus card and terminal bus card institute Belong to city;
Display module, for showing the bus card status information in response to checking operation to the bus card status information.
19. a kind of processing unit of terminal bus card, which is characterized in that described device is applied to second terminal, described device packet It includes:
Receiving module, for receiving the transfer instruction from first terminal of server forwarding, the first terminal and described the Two terminals correspond to same account information;
Generation module generates transfer data information for the public transport card information according to the transfer instruction and the second terminal;
Update module, for updating the public transport card information of the second terminal according to the transfer instruction;
Sending module, for the transfer data information to be sent to first terminal by the server.
20. device according to claim 19, which is characterized in that the transfer instruction is to be used to indicate second terminal transfer First transfer instruction of the remaining sum of target bus card, first transfer instruction include that the transfer amount of money and target bus card identify, The generation module, comprising:
First acquisition submodule, it is described for obtaining the remaining sum of target bus card from the public transport card information of the second terminal Target bus card identifies the terminal bus card characterized by the target bus card;
First generates submodule, and the remaining sum for the target bus card in the second terminal is more than or equal to the transfer gold When volume, transfer data information is generated according to the transfer amount of money.
21. device according to claim 20, which is characterized in that the update module, comprising:
First updates submodule, more than updating target bus card described in the second terminal according to the transfer amount of money Volume.
22. device according to claim 19, which is characterized in that the transfer instruction is to be used to indicate second terminal transfer Second transfer instruction of target bus card includes that target bus card identifies in second transfer instruction, the generation module, packet It includes:
Second acquisition submodule, for being obtained from the public transport card information of the second terminal according to second transfer instruction The remaining sum of the account of target bus card and the target bus card, the target bus card identify institute's table for the target bus card The terminal bus card of sign;
Second generates submodule, for according to the account of the target bus card and the generation of the remaining sum of the target bus card Shift data information.
23. device according to claim 22, which is characterized in that the update module, comprising:
Submodule is updated, the bus card for deleting the target bus card from the public transport card information of the second terminal is believed Breath.
24. a kind of processing unit of terminal bus card, which is characterized in that described device is applied to server, and described device includes:
Determining module determines same account corresponding with the first terminal after receiving the transfer instruction that first terminal is sent The second terminal of information;
Forwarding module, for forwarding the transfer instruction to the second terminal, so that the second terminal is according to the transfer The public transport card information of instruction and the second terminal generates transfer data information;
Receiving module, the transfer data information sent for receiving the second terminal;
First sending module, for sending the transfer data information to the first terminal so that the first terminal according to The transfer data information updates the public transport card information of the target bus card of the first terminal.
25. a kind of processing unit of terminal bus card characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires method described in 1 to 12 any one.
26. a kind of non-transitorycomputer readable storage medium makes when the instruction in the storage medium is executed by processor Processor is obtained to be able to carry out according to claim 1 to method described in 12 any one.
CN201811010418.5A 2018-08-31 2018-08-31 The processing method and processing device of terminal bus card Pending CN109034792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811010418.5A CN109034792A (en) 2018-08-31 2018-08-31 The processing method and processing device of terminal bus card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811010418.5A CN109034792A (en) 2018-08-31 2018-08-31 The processing method and processing device of terminal bus card

Publications (1)

Publication Number Publication Date
CN109034792A true CN109034792A (en) 2018-12-18

Family

ID=64623050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811010418.5A Pending CN109034792A (en) 2018-08-31 2018-08-31 The processing method and processing device of terminal bus card

Country Status (1)

Country Link
CN (1) CN109034792A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046339A1 (en) * 2013-08-08 2015-02-12 Erick Wong Methods and systems for provisioning mobile devices with payment credentials
CN107016425A (en) * 2017-04-27 2017-08-04 北京小米移动软件有限公司 Shift the method and apparatus of transportation card
CN107016486A (en) * 2017-03-03 2017-08-04 北京小米移动软件有限公司 Information variation and device
CN107862514A (en) * 2017-11-06 2018-03-30 北京小米移动软件有限公司 Mass transit card management method, apparatus and system, storage medium
CN108133368A (en) * 2017-11-23 2018-06-08 广东岭南通股份有限公司 Capital's method, electronic equipment, storage medium and system are moved across card based on transportation card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046339A1 (en) * 2013-08-08 2015-02-12 Erick Wong Methods and systems for provisioning mobile devices with payment credentials
CN107016486A (en) * 2017-03-03 2017-08-04 北京小米移动软件有限公司 Information variation and device
CN107016425A (en) * 2017-04-27 2017-08-04 北京小米移动软件有限公司 Shift the method and apparatus of transportation card
CN107862514A (en) * 2017-11-06 2018-03-30 北京小米移动软件有限公司 Mass transit card management method, apparatus and system, storage medium
CN108133368A (en) * 2017-11-23 2018-06-08 广东岭南通股份有限公司 Capital's method, electronic equipment, storage medium and system are moved across card based on transportation card

Similar Documents

Publication Publication Date Title
CN103916233B (en) A kind of information ciphering method and device
CN104159218B (en) Internetwork connection establishing method and device
CN105975156B (en) Application interface display methods and device
CN104965732B (en) Desktop starts method and device
CN109117874A (en) Operation behavior prediction technique and device
CN107426489A (en) Processing method, device and terminal during shooting image
CN105871913A (en) Identity authentication method and system
CN108022349A (en) Information input method, equipment, smart lock and storage medium
CN106096009A (en) Method for generating message and device
CN105205093B (en) The method and device that picture is handled in picture library
CN106600768A (en) Intelligent door lock authentication method, device and terminal
CN106453846A (en) Display method and device for two-dimensional code business card
CN105069344B (en) mobile terminal locking method and device
CN106650569B (en) Fingerprint input method and device
CN106096442B (en) Applications trigger method and device
CN107993192A (en) Certificate image bearing calibration, device and equipment
CN107463809A (en) The display methods and device of application icon
CN104967966B (en) A kind of method and device of binding bluetooth equipment
CN106778198A (en) Perform the safety certifying method and device of operation
CN106293717A (en) The processing method of the setting of terminal, device and terminal
CN109255601A (en) The processing method and processing device of terminal bus card
CN105988602B (en) Mouse emulation method and apparatus
CN108234764A (en) Display methods, device and the terminal of terminal
CN109034792A (en) The processing method and processing device of terminal bus card
CN107707862A (en) Treating method and apparatus, first terminal, the second terminal of Video Remote assistance

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