CN109255601A - 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
CN109255601A
CN109255601A CN201811012733.1A CN201811012733A CN109255601A CN 109255601 A CN109255601 A CN 109255601A CN 201811012733 A CN201811012733 A CN 201811012733A CN 109255601 A CN109255601 A CN 109255601A
Authority
CN
China
Prior art keywords
terminal
bus card
card
target bus
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811012733.1A
Other languages
Chinese (zh)
Other versions
CN109255601B (en
Inventor
张旭
程雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201811012733.1A priority Critical patent/CN109255601B/en
Publication of CN109255601A publication Critical patent/CN109255601A/en
Application granted granted Critical
Publication of CN109255601B publication Critical patent/CN109255601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices
    • 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/409Device specific authentication in transaction processing

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The disclosure is directed to a kind of processing method and processing devices of terminal bus card, comprising: when receiving the transfer instruction that second terminal is sent, carry out authentication process in response to the transfer instruction;In authentication success, according to the transfer instruction and the public transport card information of the first terminal, transfer data information is generated;The public transport card information of the first terminal is updated according to the transfer instruction;The transfer data information is sent to second terminal by near-field communication NFC.According to the processing method and processing device of the terminal bus card of the embodiment of the present disclosure, the safety of data 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 first terminal, which comprises
When receiving the transfer instruction that second terminal is sent, authentication process is carried out in response to the transfer instruction;
In authentication success, according to the transfer instruction and the public transport card information of the first terminal, transfer is generated Data information;
The public transport card information of the first terminal is updated according to the transfer instruction;
The transfer data information is sent to second terminal by near-field communication NFC.
In one possible implementation, the transfer instruction is to be used to indicate first 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,
It is described according to the transfer instruction and the public transport card information of the first terminal, generate transfer data information, comprising:
The remaining sum of target bus card is obtained from the public transport card information of the first 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 first terminal is more than or equal to the transfer amount of money, according to institute It states the transfer amount of money and generates transfer data information.
In one possible implementation, the public transport card information that the first terminal is updated according to transfer instruction, Include:
The remaining sum of the target bus card of the first terminal is updated according to the transfer amount of money.
In one possible implementation, the transfer instruction is to be used to indicate first terminal to divert the aim bus card Second transfer instruction includes that target bus card identifies in second transfer instruction,
It is described according to the transfer instruction and the public transport card information of the first terminal, generate 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 first terminal And the remaining sum of the target bus card,
Wherein, the target bus card identifies 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 first 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 first terminal.
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
When the second terminal successfully logs in personal account, in response to being directed to the call operation of target bus card, generate Transfer instruction;
The transfer instruction is sent to first terminal by near-field communication NFC, so that the first terminal carries out identity and tests Card processing, and transfer number is generated according to the public transport card information of the transfer instruction and the first terminal in authentication success It is believed that breath;
Receive the transfer data information that the first terminal is sent;
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 second terminal, in response to being directed to the calling of the target bus card Operation generates 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, first transfer instruction is used to indicate first terminal to described in second terminal The transfer amount of money is shifted in target bus card.
In one possible implementation, the transfer data information includes the transfer amount of money and the target public transport Card mark,
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 of the second terminal 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 second terminal, in response to being directed to the calling of the target bus card Operation identifies according to the target bus card of the target bus card and generates the second transfer instruction,
Wherein, second transfer instruction is used to indicate first terminal and shifts the target public transport to the second terminal Card.
In one possible implementation, the transfer data information includes target public transport described in the first terminal The remaining sum of target bus card described in the account of card and the first 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 first terminal Account, the remaining sum of the target bus card is the remaining sum of target bus card described in the first terminal.
In one possible implementation, when the second terminal successfully logs in personal account, the method is also wrapped It includes:
The bus card status information that the personal account has is obtained from server, the bus card status information is at least wrapped Include 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 third aspect of an embodiment of the present disclosure, a kind of processing unit of terminal bus card, described device application are provided In first terminal, described device includes:
Authentication module, for carrying out body in response to the transfer instruction when receiving the transfer instruction that second terminal is sent Part verification processing;
Generation module is used in authentication success, according to the transfer instruction and the bus card of the first terminal Information generates transfer data information;
Update module, for updating the public transport card information of the first terminal according to the transfer instruction;
Sending module, for the transfer data information to be sent to second terminal by near-field communication NFC.
In one possible implementation, the transfer instruction is to be used to indicate first 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 first 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 first terminal is more than or equal to institute When stating the transfer 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 the target bus card of the first terminal according to the transfer amount of money Remaining sum.
In one possible implementation, the transfer instruction is to be used to indicate first 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 first terminal The account of target bus card and the remaining sum of the target bus card are obtained,
Wherein, the target bus card identifies the terminal bus card characterized by the target bus card;
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:
Second updates submodule, for deleting the public affairs of the target bus card from the public transport card information of the first terminal Hand over card information.
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 second 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 sending the transfer instruction to first terminal by near-field communication NFC, so that described first is whole End carries out authentication process, and is believed in authentication success according to the bus card of the transfer instruction and the first terminal Breath generates transfer data information;
Receiving module, the transfer data information sent for receiving the first 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 second 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 first Terminal shifts the transfer amount of money into the target bus card of second 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 target bus card of the second terminal according to the transfer amount of money Remaining sum.
In one possible implementation, the generation module, comprising:
Third generates submodule, when for not creating the target bus card in the second terminal, in response to being directed to The call operation of the target bus card identifies according to the target bus card of the target bus card and generates the second transfer instruction,
Wherein, second transfer instruction is used to indicate first terminal and shifts the target public transport to the second terminal Card.
In one possible implementation, the transfer data information includes target public transport described in the first terminal The remaining sum of target bus card described in the account of card and the first terminal, the update module, comprising:
Second updates submodule, and for creating the target bus card, the account of the target bus card is described first The account of target bus card described in terminal, the remaining sum of the target bus card are target bus card described in the first terminal Remaining sum.
In one possible implementation, described device further include:
Module is obtained, for obtaining the bus card status information that the personal account has, the bus card from server Status information includes at least the affiliated terminal of terminal bus card and the affiliated city of terminal bus card;
Display module, for showing the bus card state in response to checking operation to the bus card status information 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.
It so, can be in response to the transfer instruction after first terminal receives the transfer instruction that second terminal is sent Authentication process is carried out, and after authentication success, is generated and is turned according to the public transport card information of transfer instruction and first terminal Data information is moved, and updates the public transport card information of first terminal, and transfer data information is sent to second terminal by NFC. According to the embodiment of the present disclosure provide terminal bus card processing method and processing device, first terminal authentication success after, to Second terminal shifts the public transport card information of first terminal, can be improved the safety of data.
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 interaction schematic diagram of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 7 is a kind of flow chart of the processing method of terminal bus card shown according to an exemplary embodiment;
Fig. 8 is a kind of structural block diagram of the processing unit of terminal bus card shown according to an exemplary embodiment;
Fig. 9 is a kind of structural block diagram of the processing unit 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 block diagram of processing unit 1200 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, when receiving the transfer instruction that second terminal is sent, identity is carried out in response to the transfer instruction Verification processing.
For example, second terminal can send transfer instruction to first terminal, may include target in the transfer instruction The target bus card of bus card identifies, which can serve to indicate that first terminal from the target bus card of first terminal Remaining sum is shifted into the target bus card of second terminal or the transfer instruction can serve to indicate that first terminal by first terminal Interior target bus card is transferred to second terminal.
After first terminal receives the transfer instruction of second terminal transmission, user can be obtained in response to the transfer instruction Information (such as the finger print information of acquisition user, or obtain the password of user), and can be carried out according to user's information Authentication process.For example, after first terminal receives the transfer instruction that second terminal is sent, verifying circle can be shown Face, the verifying interface may include the prompt information for prompting user to input user information, such as: prompt user's typing refers to Line, perhaps prompting user to input password, (password can be the screen-lock password of first terminal or the password can be bus card The corresponding unlatching password of client).After user's typing fingerprint or input password, first terminal can according to the fingerprint of acquisition or The password authentification user identity that person obtains, when the verifying fingerprint stored in the fingerprint of acquisition or the password of acquisition and first terminal Or verifying password it is consistent when, determine subscriber authentication success.
In a step 102, in authentication success, believed according to the bus card of the transfer instruction and the first terminal Breath generates transfer data information.
Public transport card information may include in first terminal, the state of each terminal bus card (such as enable or not enabled), The information such as remaining sum, mark, account, validity period.
Above-mentioned transfer data information may include the information that first terminal waits for shifting into the target bus card of second terminal, Such as: above-mentioned transfer data information may include to from the target bus card of first terminal to the target bus card of second terminal The remaining sum of middle transfer or above-mentioned transfer data information may include the target public transport to be transferred to second terminal from first terminal The account and remaining sum of card.In subscriber authentication success, first terminal can be according to above-mentioned transfer instruction and first terminal Public transport card information obtains above-mentioned transfer data information.
In step 103, the public transport card information of the first terminal is updated according to the transfer instruction.
First terminal can update first 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 first terminal is updated, or is deleted The public transport card information of target bus card in the public transport card information of first terminal.
At step 104, the transfer data information is sent to second terminal by near-field communication NFC.
First terminal can send above-mentioned transfer data information to second terminal, so that second by near-field communication NFC Terminal updates the public transport card information of second terminal according to above-mentioned transfer data information.
It so, can be in response to the transfer instruction after first terminal receives the transfer instruction that second terminal is sent Authentication process is carried out, and after authentication success, is generated and is turned according to the public transport card information of transfer instruction and first terminal Data information is moved, and updates the public transport card information of first terminal, and transfer data information is sent to second terminal by NFC. According to the processing method for the terminal bus card that the embodiment of the present disclosure provides, first terminal is after authentication success, eventually to second The public transport card information of end transfer first terminal, can be improved the safety of data.
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, above-mentioned transfer instruction can be to be used to indicate first terminal to divert the aim public transport First transfer instruction of the remaining sum of card, above-mentioned first transfer instruction may include the transfer amount of money and target bus card mark, reference Fig. 2 in above-mentioned steps 102, generates transfer data information according to the public transport card information of the transfer instruction and the first terminal, It may comprise steps of 1021 and step 1022:
In step 1021, the remaining sum of target bus card, the mesh are obtained from the public transport card information of the first terminal Mark bus card identifies the terminal bus card characterized by the target bus card;
In step 1022, it is more than or equal to the transfer in the remaining sum of the target bus card of the first terminal When the amount of money, transfer data information is generated according to the transfer amount of money.
For example, in the case where second terminal has opened target bus card, second terminal can be sent out to first terminal The first transfer instruction is sent, may include the transfer amount of money and target bus card mark (for example, mark in first transfer instruction Knowledge can be the affiliated city of target bus card or number, the account of target bus card etc.) so that first terminal can basis The transfer amount of money shifts the remaining sum in target bus card into the target bus card of second terminal.
It is stored with public transport card information in the SE of first terminal, includes the letter of each terminal bus card in the public transport card information Breath, such as: the information such as remaining sum, account and affiliated city of each terminal bus card.After first terminal receives the first transfer instruction, Carry out the authentication process of user.After authentication success, first terminal can pass through TEE (Trusted Execution Environment, credible performing environment) from the public transport card information in SE (Secure Element, security component), obtain mesh Mark the remaining sum of bus card.First terminal can obtain the transfer amount of money from the first transfer instruction, big in the remaining sum of target bus card When the above-mentioned transfer amount of money, first terminal can generate transfer data information according to the transfer amount of money, can in the transfer data information To include the transfer amount of money and target bus card mark.First terminal can send the transfer data information to second terminal, so that Target bus card in second terminal can be increased and identify institute's table according to the transfer amount of money in the transfer data information by obtaining second terminal The remaining sum of the target bus card of sign.When the remaining sum of above-mentioned target bus card is less than the above-mentioned transfer amount of money, first terminal can be sent out It send for indicating the target bus card prompt information that Sorry, your ticket has not enough value in first terminal to second terminal.Second terminal can be Above- mentioned information are shown on display interface, to prompt user's transfer operation to fail.In a kind of example, may be used also in above-mentioned prompt information To include the remaining sum of target bus card in first terminal, second terminal can show first when showing above-mentioned prompt information The remaining sum of target bus card in terminal, transferable remaining sum in the target bus card to prompt user's first terminal, to improve The efficiency of balance transfer operation.
Alternatively, first 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 first terminal target bus card remaining sum, first Terminal can send the transfer data information to second terminal, so that second terminal can be according in the transfer data information The remaining sum of the target bus card of first terminal increases the remaining sum of target bus card in second terminal, can be improved balance transfer behaviour The efficiency of work.
In one possible implementation, in above-mentioned steps 103, the public affairs of the first terminal are updated according to transfer instruction Card information is handed over, may comprise steps of:
The remaining sum of the target bus card of the first terminal is updated according to the transfer amount of money.
First terminal can update the target bus card of first terminal according to the transfer amount of money after generating transfer data information Remaining sum.For example, first 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 first terminal is 100.First terminal receives that second terminal is sent One transfer instruction includes the transfer amount of money 50 and target bus card mark in first transfer instruction, then first terminal is user's When authentication is successful, generating includes shifting the transfer data information of the amount of money 50, and by the remaining sum of target bus card 100 and shift The difference 50 of the amount of money 50 is updated to the remaining sum of the target bus card of first terminal.First terminal sends above-mentioned transfer data information To second terminal, to complete from the behaviour for shifting remaining sum in the target bus card of first terminal into the target bus card of second terminal Make.
So, first terminal can be in response to the transfer amount of money in the first transfer instruction, by the target of first terminal In some or all of target bus card for being transferred to second terminal of remaining sum in bus card, the end of two terminals can be realized Hold the balance transfer between bus card.
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, above-mentioned transfer instruction is to be used to indicate first terminal to divert the aim bus card Second transfer instruction may include target bus card mark in second transfer instruction.Referring to Fig. 3, in above-mentioned steps 102, Transfer data information is generated according to the public transport card information of the transfer instruction and the first terminal, may comprise steps of 1023 and step 1024:
In step 1023, according to second transfer instruction, mesh is obtained from the public transport card information of the first terminal The account of bus card and the remaining sum of the target bus card are marked, the target bus card is characterized by target bus card mark Terminal bus card.
In step 1024, 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 second terminal does not open target bus card, second terminal can be sent out to first terminal The second transfer instruction is sent, may include the target bus card mark of target bus card, second transfer in second transfer instruction Instruction can make first terminal that the target bus card of first terminal is transferred in second terminal.
After first terminal receives the second transfer instruction, the authentication process of user is carried out.After authentication success, the One terminal can be by TEE (Trusted Execution Environment, credible performing environment) from SE (Secure Element, security component) in public transport card information in, read the account and target bus card of the target bus card of first terminal Remaining sum.First terminal can generate and turn according to the account of the target bus card of above-mentioned first terminal and the remaining sum of target bus card Move data information, may include in the transfer data information target bus card of first terminal account and target bus card it is remaining Volume.First terminal can send the transfer data information to second terminal, so that second terminal can be according to transfer data letter Breath creation target bus card, the account of the target bus card are the account of the target bus card of first terminal, the target bus card Remaining sum be first terminal target bus card remaining sum.
In one possible implementation, described that the first terminal is updated according to transfer instruction in above-mentioned steps 103 Public transport card information, may comprise steps of:
The public transport card information of the target bus card is deleted from the public transport card information of the first terminal.
First 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 first terminal is transferred to by second terminal with completion, at this time first terminal The card-like state of opening of interior target bus card is not yet to open card.
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 301, in response to the call operation for target bus card, transfer instruction is generated.
For example, user logs in an account in second terminal, and after logining successfully, user is public by point touching target Hand over the trigger action of card, invocation target bus card.Second terminal can in response to the above-mentioned call operation for target bus card, Transfer instruction is generated, which can serve to indicate that first terminal shifts remaining sum into the target bus card of second terminal, Or the transfer instruction can serve to indicate that the target bus card in first terminal is transferred to second terminal by first terminal.
In step 302, the transfer instruction is sent to first terminal by near-field communication NFC, so that described first is whole End carries out authentication process, and is believed in authentication success according to the bus card of the transfer instruction and the first terminal Breath generates transfer data information.
For example, user can enable the NFC antenna of the NFC antenna touching first terminal of second terminal, so that second Terminal can send above-mentioned transfer instruction to first terminal by NFC.After first terminal receives above-mentioned transfer instruction, it can carry out Authentication operation, and after authentication success, it is generated and is turned according to the public transport card information of above-mentioned transfer instruction and first terminal Data information is moved, the process that wherein first terminal generates transfer data information is referred to previous embodiment, the embodiment of the present disclosure Details are not described herein.
In step 303, the transfer data information that the first terminal is sent is received.
In step 304, the public transport card information of the target bus card is updated according to the transfer data information.
After second terminal receives the transfer data information that first terminal is sent, it can be updated according to above-mentioned transfer data information The public transport card information of target bus card in second terminal, such as: the remaining sum of the target bus card of second terminal is updated, or Target bus card is created in two terminals.
So, second terminal can generate transfer instruction according to the call operation for being directed to target bus card, and to the One terminal sends above-mentioned transfer instruction, so that first terminal can be rung after the transfer instruction for receiving second terminal transmission Authentication process should be carried out in the transfer instruction, and after authentication success, according to transfer instruction and the public affairs of first terminal It hands over card information to generate transfer data information, and transfer data information is sent to second terminal by NFC.According to the embodiment of the present disclosure The processing method of the terminal bus card of offer, first terminal is after authentication success, to second terminal transfer first terminal Terminal public transport card information, can be improved the safety of data.
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, referring to Fig. 5, above-mentioned steps 301, in response to being directed to the calling of target bus card Operation generates transfer instruction, may include step 3011 and step 3012:
In step 3011, when having created the target bus card in the second terminal, in response to being directed to the mesh The call operation of bus card is marked, transfer amount of money interface is generated.
When user account logins successfully, user can trigger target bus card by the modes such as clicking or touching, with Call the target bus card.Second terminal can determine whether second terminal has opened target in response to above-mentioned call operation Bus card.For example, second terminal can read the bus card of target bus card by TEE from the bus card stored in SE Information can determine that second terminal has opened target bus card in the public transport card information for reading target bus card.
Second 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 3012, 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 mark generates the first transfer instruction, and first transfer instruction is used to indicate institute of the first terminal to second terminal It states and shifts the transfer amount of money in target bus card.
For example, user can trigger determining control after the input operation for completing the transfer amount of money or choosing operation. Second 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 It instructs, may include the above-mentioned transfer amount of money and target bus card mark in first transfer instruction.
In one possible implementation, above-mentioned transfer data information includes the transfer amount of money and the target public transport In above-mentioned steps 304, the public transport card information of the target bus card is updated according to the transfer data information for card mark, can be with Include:
The remaining sum of the target bus card of the second terminal is updated according to the transfer amount of money.
Above-mentioned first terminal is referred to previous embodiment according to the process that the first transfer instruction generates transfer data information, Details are not described herein for the embodiment of the present disclosure.
After second terminal receives the transfer data information that first terminal is sent, it can be carried according in transfer data information Target bus card, which identifies, determines target bus card, and according to the transfer amount of money carried in transfer data information, updates second terminal Target bus card remaining sum.For example, second terminal can be public by target in the public transport card information stored in SE by TEE Hand over card balance updates be will shift the amount of money and target bus card remaining sum and.
Illustratively, the remaining sum of the target bus card of second terminal is 50.Shifting in data information includes the transfer amount of money 50, Second terminal can by the remaining sum 50 of above-mentioned target bus card and transfer the amount of money 50 and 100 be updated to second 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 first terminal to second terminal Make.
So, the processing method for the terminal bus card that the embodiment of the present disclosure provides can be public by the target of first terminal In some or all of target bus card for being transferred to second terminal for handing over the remaining sum in card, the terminal of two terminals can be realized Balance transfer between bus card.
In one possible implementation, above-mentioned steps 301, it is raw in response to being directed to the call operation of target bus card At transfer instruction, may include:
When not creating the target bus card in the second terminal, in response to being directed to the calling of the target bus card Operation identifies according to the target bus card of the target bus card and generates the second transfer instruction, wherein second transfer instruction It can serve to indicate that first terminal diverts the aim bus card to the second terminal.
For example, second 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 target public transport card information when, can determine that second 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 second terminal, which refers to It may include target bus card mark in order.Second transfer instruction can be sent to first eventually by NFC by second terminal End, first terminal can obtain target bus card in first terminal and identify characterized target public transport according to the second transfer instruction The account of card and the remaining sum of target bus card, and generated and turned according to the account of above-mentioned target bus card and the remaining sum of target bus card Data information is moved, and the transfer data information is sent to second terminal.Wherein, above-mentioned first terminal generates transfer data information Process be referred to previous embodiment, details are not described herein for the embodiment of the present disclosure.
In one possible implementation, the transfer data information may include target described in the first terminal The remaining sum of target bus card described in the account of bus card and the first terminal, it is described to turn according in above-mentioned steps 304 The target public transport card information that data information updates the target bus card is moved, may include:
The target bus card is created, the account of the target bus card is target bus card described in the first terminal Account, the remaining sum of the target bus card is the remaining sum of target bus card in the first terminal.
Second terminal, can be according to mesh in the first 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 first terminal The account of bus card, the remaining sum of the target bus card are the remaining sum of target bus card in the first terminal.
Fig. 6 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. 6, to this public affairs Embodiment is opened to be illustrated.
User logs in personal account by second terminal, and after logining successfully, user triggers target bus card: " city of Beijing City's all-purpose card ", with calling " Beijing city all-purpose card ".Whether second terminal confirmation has opened " Beijing city in second terminal All-purpose card ".
Assuming that having opened " Beijing city all-purpose card " in second terminal, then second 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.Second 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.User can enable for the second end The NFC antenna of the NFC antenna touching first terminal at end, is sent to second terminal by the first transfer instruction by NFC First terminal.
First terminal receive the first transfer instruction after, by verifying interface obtain user information, and according to user information into Row authentication process reads the " Beijing stored in SE by TEE when authentication process result is authentication success The information of city one-card ".The remaining sum of " Beijing city all-purpose card " is obtained from the information of above-mentioned " Beijing city all-purpose card ": 100.Then transfer data information can be generated in first terminal, includes the transfer amount of money 50 and " Beijing city in the transfer data information The mark of all-purpose card ": Beijing.First terminal updates the remaining sum of " the Beijing city all-purpose card " that stores in SE by TEE are as follows: 50. And transfer data information is sent to second terminal.
After second 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 second 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 first terminal in " Beijing city all-purpose card " into second 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 " in second terminal, then second terminal can be according to " the card of Beijing city one It is logical " mark: Beijing generates the second transfer instruction.User can make the NFC of the NFC antenna touching first terminal of second terminal Antenna allows second terminal that the second transfer instruction is sent to first terminal by NFC.
First terminal receive the second transfer instruction after, by verifying interface obtain user information, and according to user information into Row authentication process reads the " Beijing stored in SE by TEE when authentication process result is authentication success The information of city one-card ".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 first terminal, includes: " city of Beijing in the transfer data information The account of city's all-purpose card ": 10000001, remaining sum: 100, and the mark of " Beijing city all-purpose card ": Beijing.First terminal passes through TEE deletes the information of " Beijing city all-purpose card " from storing in SE in terminal public transport card information.
After second 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 first eventually " Beijing city all-purpose card " is shifted into the operation in second terminal in end.
Fig. 7 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. 7, the above method can also include:
In step 305, the bus card status information that the personal account has, the public transport card-like are obtained from server State information includes at least the affiliated terminal of terminal bus card and the affiliated city of terminal bus card.
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 public transport card-like opened of the end message bound and each terminal State information, such as: user's first is bound under personal 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: Beijing, " Shanghai Urban all-purpose card ": city: Shanghai.Server in verifying user when personal account logins successfully in second terminal, believe by the available individual subscriber account All bus card status informations under breath, and the bus card status information is sent to second terminal.
Within step 306, in response to checking operation to the bus card status information, the bus card state letter is shown Breath.
After second 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: second 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 in second terminal Card opens situation, when having opened local terminal bus card in other terminals, can directly turn the terminal bus card It moves in second terminal, card can be opened to avoid repetition.
Fig. 8 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 used for first terminal, as shown in figure 8, the apparatus may include: authentication module 801, generation module 802, update module 803 and sending module 804.
Wherein, authentication module 801 is configured as when receiving the transfer instruction that second terminal is sent, in response to the transfer Instruction carries out authentication process;
Generation module 802 is configured as in authentication success, according to the transfer instruction and the first terminal Public transport card information generates transfer data information;
Update module 803 is configured as updating the public transport card information of the first terminal according to the transfer instruction;
Sending module 804 is configured as the transfer data information being sent to second terminal by near-field communication NFC.
It so, can be in response to the transfer instruction after first terminal receives the transfer instruction that second terminal is sent Authentication process is carried out, and after authentication success, is generated and is turned according to the public transport card information of transfer instruction and first terminal Data information is moved, and updates the public transport card information of first terminal, and transfer data information is sent to second terminal by NFC. According to the processing unit for the terminal bus card that the embodiment of the present disclosure provides, first terminal is after authentication success, eventually to second The public transport card information of end transfer first terminal, can be improved the safety of data.It should be understood that above general description and Following detailed description be only it is exemplary and explanatory, do not limit the disclosure.
Fig. 9 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 can be to be used to indicate first terminal to divert the aim public transport First transfer instruction of the remaining sum of card, first transfer instruction may include the transfer amount of money and target bus card mark, reference Fig. 9, the generation module 802 may include: that the first acquisition submodule 8021 and first generates submodule 8022.
Wherein, the first acquisition submodule 8021 is configured as obtaining target public affairs from the public transport card information of the first terminal The remaining sum of card is handed over, the target bus card identifies the terminal bus card characterized by the target bus card;
First generation submodule 8022 be configured as being greater than in the remaining sum of the target bus card of the first terminal or When person is equal to the transfer amount of money, transfer data information is generated according to the transfer amount of money.
In one possible implementation, referring to Fig. 9, above-mentioned update module 803 may include: the first update submodule 8031。
Wherein, the first update submodule 8031 is configured as being updated described in the first terminal according to the transfer amount of money The remaining sum of target bus card.
In one possible implementation, the transfer instruction can be to be used to indicate first terminal to divert the aim public transport Second transfer instruction of card may include target bus card mark in second transfer instruction, referring to Fig. 9, the generation mould Block 802 may include: that the second acquisition submodule 8023 and second generates submodule 8024.
Wherein, the second acquisition submodule 8023 is configured as according to second transfer instruction, from the first terminal The account of target bus card and the remaining sum of the target bus card are obtained in public transport card information,
Wherein, the target bus card identifies the terminal bus card characterized by the target bus card;
Second generation submodule 8024 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. 9, above-mentioned update module 803 may include: the second update submodule 8032。
Wherein, the second update submodule 8032 is configured as deleting the mesh from the public transport card information of the first terminal Mark the public transport card information of bus card.
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 used for second terminal, as shown in Figure 10, the apparatus may include: generation module 1001, receives mould at sending module 1002 Block 1003 and update module 1004.
Generation module 1001 is configured to respond to the call operation for target bus card, generates transfer instruction;
Sending module 1002 is configured as sending the transfer instruction to first terminal by near-field communication NFC, so that institute It states first terminal and carries out authentication process, and in authentication success according to the transfer instruction and the first terminal Public transport card information generates transfer data information;
Receiving module 1003 is configured as receiving the transfer data information that the first terminal is sent;
Update module 1004 is configurable for updating the public transport of the target bus card according to the transfer data information Card information.
So, second terminal can generate transfer instruction according to the call operation for being directed to target bus card, and to the One terminal sends above-mentioned transfer instruction, so that first terminal can be rung after the transfer instruction for receiving second terminal transmission Authentication process should be carried out in the transfer instruction, and after authentication success, according to transfer instruction and the public affairs of first terminal It hands over card information to generate transfer data information, and transfer data information is sent to second terminal by NFC.According to the embodiment of the present disclosure The processing unit of the terminal bus card of offer, first terminal is after authentication success, to second terminal transfer first terminal Terminal public transport card information, can be improved the safety of data.
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 second generates submodule 10012.
Wherein, the first generation submodule 10011 is configured as having created the target bus card in the second 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 first terminal shifts the transfer amount of money into the target bus card of second terminal.
In one possible implementation, the transfer data information may include the transfer amount of money and the target Bus card mark, referring to Fig.1 1, the update module 1004 may include: the first update submodule 10041.
Wherein, the first update submodule 10041 is configured as updating the institute of the second terminal according to the transfer amount of money State the remaining sum of target bus card.
In one possible implementation, referring to Fig.1 1, above-mentioned 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 second terminal When, in response to being directed to the call operation of the target bus card, is identified and generated according to the target bus card of the target bus card Second transfer instruction,
Wherein, second transfer instruction is used to indicate first terminal and shifts the target public transport to the second terminal Card.
In one possible implementation, the transfer data information may include target described in the first terminal The remaining sum of target bus card described in the account of bus card and the first terminal, referring to Fig.1 1, the update module 1004 can To include: the second update submodule 10042.
Wherein, the second update submodule 10042 is configured as creating the target bus card, the account of the target bus card Number for target bus card described in the first terminal account, the remaining sum of the target bus card is institute in the first terminal State the remaining sum of target 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 the bus card state letter that the personal account has from server Breath, the bus card status information include at least the affiliated terminal of terminal bus card 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 block diagram of processing unit 1200 for terminal bus card shown according to an exemplary embodiment. For example, device 1200 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 2, device 1200 may include following one or more components: processing component 1202, memory 1204, Power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1202 may include one or more processors 1220 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 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 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 may include power management System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between described device 1200 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 1208 includes a front camera and/or rear camera.When device 1200 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 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 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 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 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 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detecte the state that opens/closes of device 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 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 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 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 1200 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 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 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..
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 (24)

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:
When receiving the transfer instruction that second terminal is sent, authentication process is carried out in response to the transfer instruction;
In authentication success, according to the transfer instruction and the public transport card information of the first terminal, transfer data are generated Information;
The public transport card information of the first terminal is updated according to the transfer instruction;
The transfer data information is sent to second terminal by near-field communication NFC.
2. the method according to claim 1, wherein the transfer instruction is to be used to indicate first 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,
It is described according to the transfer instruction and the public transport card information of the first terminal, generate transfer data information, comprising:
The remaining sum of target bus card is obtained from the public transport card information of the first 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 first 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.
3. according to the method described in claim 2, it is characterized in that, the public affairs for updating the first terminal according to transfer instruction Hand over card information, comprising:
The remaining sum of the target bus card of the first terminal is updated according to the transfer amount of money.
4. the method according to claim 1, wherein the transfer instruction is to be used to indicate first terminal to shift mesh The second transfer instruction of bus card is marked, includes that target bus card identifies in second transfer instruction,
It is described according to the transfer instruction and the public transport card information of the first terminal, generate transfer data information, comprising:
According to second transfer instruction, account and the institute of target bus card are obtained from the public transport card information of the first terminal The remaining sum of target bus card is stated,
Wherein, the target bus card identifies 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.
5. according to the method described in claim 4, it is characterized in that, the public affairs for updating the first terminal according to transfer instruction Hand over card information, comprising:
The public transport card information of the target bus card is deleted from the public transport card information of the first terminal.
6. 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:
In response to being directed to the call operation of target bus card, transfer instruction is generated;
The transfer instruction is sent to first terminal by near-field communication NFC, so that the first terminal carries out at authentication Reason, and transfer data letter is generated according to the public transport card information of the transfer instruction and the first terminal in authentication success Breath;
Receive the transfer data information that the first terminal is sent;
The public transport card information of the target bus card is updated according to the transfer data information.
7. according to the method described in claim 6, it is characterized in that, 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 second 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 target of the first terminal to second terminal The transfer amount of money is shifted in bus card.
8. the method according to the description of claim 7 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 of the second terminal is updated according to the transfer amount of money.
9. according to the method described in claim 6, it is characterized in that, 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 second terminal, grasped in response to the calling for the target bus card Make, identified according to the target bus card of the target bus card and generate the second transfer instruction,
Wherein, second transfer instruction is used to indicate first terminal and shifts the target bus card to the second terminal.
10. according to the method described in claim 9, it is characterized in that, the transfer data information includes in the first terminal The remaining sum of target bus card described in the account of the target bus card and the first 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 the account of target bus card described in the first terminal Number, the remaining sum of the target bus card is the remaining sum of target bus card described in the first terminal.
11. according to any method of claim 6 to 10, which is characterized in that successfully log in individual in the second terminal When account, the method also includes:
The bus card status information that the personal account has is obtained from server, the bus card status information includes at least eventually Hold the affiliated terminal of 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.
12. 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:
Authentication module, for carrying out identity in response to the transfer instruction and testing when receiving the transfer instruction that second terminal is sent Card processing;
Generation module, in authentication success, according to the transfer instruction and the public transport card information of the first terminal, Generate transfer data information;
Update module, for updating the public transport card information of the first terminal according to the transfer instruction;
Sending module, for the transfer data information to be sent to second terminal by near-field communication NFC.
13. device according to claim 12, which is characterized in that the transfer instruction is to be used to indicate first 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 first 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 first 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.
14. device according to claim 13, which is characterized in that the update module, comprising:
First updates submodule, for being updated more than the target bus card of the first terminal according to the transfer amount of money Volume.
15. device according to claim 12, which is characterized in that the transfer instruction is to be used to indicate first 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 first terminal according to second transfer instruction The remaining sum of the account of target bus card and the target bus card,
Wherein, the target bus card identifies the terminal bus card characterized by the target bus card;
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.
16. device according to claim 15, which is characterized in that the update module, comprising:
Second updates submodule, for deleting the bus card of the target bus card from the public transport card information of the first terminal Information.
17. 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:
Generation module generates transfer instruction for the call operation in response to being directed to target bus card;
Sending module, for sending the transfer instruction to first terminal by near-field communication NFC so that the first terminal into Row authentication process, and it is raw according to the public transport card information of the transfer instruction and the first terminal in authentication success At transfer data information;
Receiving module, the transfer data information sent for receiving the first terminal;
Update module, for updating the public transport card information of the target bus card according to the transfer data information.
18. device according to claim 17, which is characterized in that the generation module, comprising:
First generates submodule, when for having created the target bus card in the second 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 first terminal The transfer amount of money is shifted into the target bus card of second terminal.
19. device according to claim 18, 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 being updated more than the target bus card of the second terminal according to the transfer amount of money Volume.
20. device according to claim 17, which is characterized in that the generation module, comprising:
Third generates submodule, when for not creating the target bus card in the second terminal, in response to for described The call operation of target bus card identifies according to the target bus card of the target bus card and generates the second transfer instruction,
Wherein, second transfer instruction is used to indicate first terminal and shifts the target bus card to the second terminal.
21. device according to claim 20, which is characterized in that the transfer data information includes in the first terminal The remaining sum of target bus card described in the account of the target bus card and the first terminal, the update module, comprising:
Second updates submodule, and for creating the target bus card, the account of the target bus card is the first 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 first terminal Volume.
22. 7 to 21 any device according to claim 1, which is characterized in that described device further include:
Module is obtained, for obtaining the bus card status information that personal account has, the bus card status information from server Including at least the affiliated terminal of terminal bus card and the affiliated city of terminal bus card;
Display module, for showing the bus card status information in response to checking operation to the bus card status information.
23. 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 11 any one.
24. 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 11 any one.
CN201811012733.1A 2018-08-31 2018-08-31 Terminal bus card processing method and device Active CN109255601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811012733.1A CN109255601B (en) 2018-08-31 2018-08-31 Terminal bus card processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811012733.1A CN109255601B (en) 2018-08-31 2018-08-31 Terminal bus card processing method and device

Publications (2)

Publication Number Publication Date
CN109255601A true CN109255601A (en) 2019-01-22
CN109255601B CN109255601B (en) 2022-12-27

Family

ID=65049980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811012733.1A Active CN109255601B (en) 2018-08-31 2018-08-31 Terminal bus card processing method and device

Country Status (1)

Country Link
CN (1) CN109255601B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443597A (en) * 2019-08-02 2019-11-12 广州羊城通有限公司 A kind of based reminding method and device of IC card balance transfer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537526A (en) * 2014-12-23 2015-04-22 小米科技有限责任公司 Numerical value transferring method and device and terminal
US20160092201A1 (en) * 2014-06-27 2016-03-31 Huawei Technologies Co., Ltd. Method and Device for Updating Program Data
CN106326965A (en) * 2016-09-21 2017-01-11 成都创慧科达科技有限公司 Intelligent bus card
CN107016486A (en) * 2017-03-03 2017-08-04 北京小米移动软件有限公司 Information variation and device
CN107230064A (en) * 2017-05-16 2017-10-03 北京小米移动软件有限公司 The multiplexing method and device of virtual card
US20170337016A1 (en) * 2016-05-20 2017-11-23 Samsung Electronics Co., Ltd. Printing method of image forming apparatus and the image forming apparatus
CN107977843A (en) * 2017-12-04 2018-05-01 北京小米移动软件有限公司 Mass transit card verification method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160092201A1 (en) * 2014-06-27 2016-03-31 Huawei Technologies Co., Ltd. Method and Device for Updating Program Data
CN104537526A (en) * 2014-12-23 2015-04-22 小米科技有限责任公司 Numerical value transferring method and device and terminal
US20170337016A1 (en) * 2016-05-20 2017-11-23 Samsung Electronics Co., Ltd. Printing method of image forming apparatus and the image forming apparatus
CN106326965A (en) * 2016-09-21 2017-01-11 成都创慧科达科技有限公司 Intelligent bus card
CN107016486A (en) * 2017-03-03 2017-08-04 北京小米移动软件有限公司 Information variation and device
CN107230064A (en) * 2017-05-16 2017-10-03 北京小米移动软件有限公司 The multiplexing method and device of virtual card
CN107977843A (en) * 2017-12-04 2018-05-01 北京小米移动软件有限公司 Mass transit card verification method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443597A (en) * 2019-08-02 2019-11-12 广州羊城通有限公司 A kind of based reminding method and device of IC card balance transfer

Also Published As

Publication number Publication date
CN109255601B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN104850769B (en) Operation executes method and device
CN104992091B (en) Access the method, apparatus and storage medium of terminal
WO2017219269A1 (en) Method and device for activating virtual card
CN106170808A (en) Pay changing method and device
CN104794382A (en) Application starting method and device
CN106204046A (en) The method and device that order pays
CN105868983A (en) Information output control method and device and intelligent terminal
CN105654302A (en) Payment method and device
CN109039990A (en) The method and device of behavior verifying is carried out based on identifying code
CN105871913A (en) Identity authentication method and system
CN105631254B (en) Unlocking method and tripper
CN108022349A (en) Information input method, equipment, smart lock and storage medium
CN109863504A (en) A kind of cryptographic check method, cipher set-up method and mobile terminal
CN104391712A (en) Shutdown method and device
CN109324863A (en) The method, apparatus and computer readable storage medium of fingerprint recognition
CN107491681A (en) Finger print information processing method and processing device
CN107959757A (en) User information processing method, device, APP servers and terminal device
CN106600768A (en) Intelligent door lock authentication method, device and terminal
CN107993192A (en) Certificate image bearing calibration, device and equipment
CN106650569B (en) Fingerprint input method and device
CN106133736B (en) Fingerprint authentication method and device
CN109255601A (en) The processing method and processing device of terminal bus card
CN105069344B (en) mobile terminal locking method and device
CN106778198A (en) Perform the safety certifying method and device of operation
CN106792636A (en) terminal control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant