CN108596604A - Communication means, device and electronic equipment - Google Patents

Communication means, device and electronic equipment Download PDF

Info

Publication number
CN108596604A
CN108596604A CN201810438044.0A CN201810438044A CN108596604A CN 108596604 A CN108596604 A CN 108596604A CN 201810438044 A CN201810438044 A CN 201810438044A CN 108596604 A CN108596604 A CN 108596604A
Authority
CN
China
Prior art keywords
virtual card
card
virtual
communicated
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810438044.0A
Other languages
Chinese (zh)
Inventor
葛旭东
续丽娜
余新浪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810438044.0A priority Critical patent/CN108596604A/en
Publication of CN108596604A publication Critical patent/CN108596604A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/351Virtual cards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of communication means, device and electronic equipment, this method includes:Determine the first virtual card;The described first virtual card is activated, for being communicated with default equipment;If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, for being communicated with default equipment, the second virtual card is the virtual card except the described first virtual card.The disclosure may be implemented to automatically select the virtual card communicated with default equipment, it due to eliminating the step of user manually selects virtual card, thus can be that user saves the time, improve the efficiency of communication, the intelligent level of terminal device is improved, and then the user experience is improved.

Description

Communication means, device and electronic equipment
Technical field
This disclosure relates to a kind of field of terminal technology more particularly to communication means, device and electronic equipment.
Background technology
In the related technology, if user possesses multiple virtual card (such as multiple virtual mass transit cards, virtual gate inhibition's card and void Quasi- bank card etc.), then when using virtual card, need to search out manually from multiple virtual cards destination virtual card with it is pre- If equipment (such as point of sale POS machine, gate or gate inhibition's POS) communicates, for example, being selected from multiple virtual gate inhibition's cards An access card is selected for unlocking gate inhibition, this can expend user's more time, influence user experience.
Invention content
To overcome the problems in correlation technique, a kind of communication means of embodiment of the present disclosure offer, device and electronics are set It is standby, to solve deficiency in the related technology.
According to the disclosure in a first aspect, providing a kind of communication means, including:
Determine the first virtual card;
The described first virtual card is activated, for being communicated with default equipment;
If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, is used for and presets Equipment is communicated, and the second virtual card is the virtual card except the described first virtual card.
In one embodiment, described to meet preset condition, including:
The time that the first virtual card is active is longer than or is equal to predetermined threshold value;
Or, the first virtual card is not activated;
Or, the result of communication that the first virtual card is communicated with the default equipment does not meet default need It asks.
In one embodiment, the result of communication that the described first virtual card is communicated with the default equipment is not inconsistent Preset need is closed, including:
The first virtual card cannot respond to instruct in the gathering of the default equipment to realize delivery operation.
In one embodiment, the time being active be longer than or equal to communicated with the default equipment with Obtain the time of result of communication.
In one embodiment, the predetermined threshold value is 0.1~0.5 second.
In one embodiment, if described meet preset condition, the described first virtual card is deactivated, and activates the second void Quasi- card includes:
If there are multiple virtual cards in addition to the described first virtual card, according to preset order, from multiple described void Determine that a virtual card is activated as the second virtual card in quasi- card.
In one embodiment, if described meet preset condition, the described first virtual card is deactivated, and activates the second void Quasi- card includes:
If there are multiple virtual cards in addition to the described first virtual card, and in multiple described virtual cards exist not by The virtual card for executing activation command, then detect whether to meet the preset condition;If meeting the preset condition, deactivate The last time is performed the virtual card of activation command, and activation life is executed to another virtual card for not being performed activation command It enables;Wherein, the described second virtual card is another virtual card for not being performed activation command.
In one embodiment, the method further includes:
When, there is no when the virtual card for not being performed activation command, stopping detects whether full in multiple described virtual cards The foot preset condition;
Alternatively, when detecting for stopping activating the demand of virtual card, stopping detects whether to meet the default item Part.
In one embodiment, the method further includes:
Detect the demand of the virtual card for activating preset kind;
The virtual card for needing to execute it activation command is determined according to the demand, it is described to need to execute it activation life The virtual card enabled is the virtual card for belonging to the preset kind.
In one embodiment, the first virtual card of the determination, including:
The first virtual card is determined according to the virtual card selection instruction received;Or,
The first virtual card is determined according to the information of each virtual card stored in terminal device.
In one embodiment, the information of the virtual card includes history use information, and the history use information includes Last time call duration time, the number of communications of current slot or communication total degree.
In one embodiment, the information according to each virtual card stored in terminal device determines the first virtual card Piece, including:
If the history use information includes last time call duration time, last time call duration time is nearest apart from current time Virtual card is determined as the described first virtual card;
If the history use information includes the number of communications of current slot, most by the number of communications of current slot More virtual cards is determined as the described first virtual card;
If the history use information includes communication total degree, the most virtual card of total degree will be communicated and be determined as institute State the first virtual card.
In one embodiment, the information of the virtual card includes virtual card piece list, and record has described in the list The identification information of each virtual card created in terminal device;
The information according to each virtual card stored in terminal device determines the first virtual card, including:
It is empty that virtual card corresponding to the identification information being on predeterminated position in the list is determined as described first Quasi- card;
The second virtual card of the activation, including:
According to the sequence of the identification information recorded in the list, a virtual card is determined from multiple described virtual cards Piece is activated as the second virtual card.
In one embodiment, the method further includes:
Obtain virtual card fresh information;
The virtual card list is updated according to the virtual card fresh information.
According to disclosure second aspect, a kind of communication device is provided, including:
First card determining module, for determining the first virtual card;
First card active module, for activating the described first virtual card, for being communicated with default equipment;
Second card active module deactivates the first virtual card for when meeting preset condition, and activates the Two virtual cards, for being communicated with default equipment, the second virtual card is the void except the described first virtual card Quasi- card.
In one embodiment, described to meet preset condition, including:
The time that the first virtual card is active is longer than or is equal to predetermined threshold value;
Or, the first virtual card is not activated;
Or, the result of communication that the first virtual card is communicated with the default equipment does not meet default need It asks.
In one embodiment, the result of communication that the described first virtual card is communicated with the default equipment is not inconsistent Preset need is closed, including:
The first virtual card cannot respond to instruct in the gathering of the default equipment to realize delivery operation.
In one embodiment, the time of the state of activation is longer than or is communicated equal to the default equipment to obtain The time of result of communication.
In one embodiment, the time of the state of activation is 0.1~0.5 second.
In one embodiment, the second card active module is additionally operable to:
When there are when multiple virtual cards, according to preset order, multiple are empty from described in addition to the described first virtual card Determine that a virtual card is activated as the second virtual card in quasi- card.
In one embodiment, the second card active module is additionally operable to:
Exist when there are multiple virtual cards in addition to the described first virtual card, and in multiple described virtual cards not by When executing the virtual card of activation command, detect whether to meet the preset condition;When meeting the preset condition, deactivate most The nearly virtual card for being once performed activation command executes activation command to another virtual card for not being performed activation command; Wherein, the described second virtual card is another virtual card for not being performed activation command.
In one embodiment, described device further includes:Condition stops examining module, is used for:
When, there is no when the virtual card for not being performed activation command, stopping detects whether full in multiple described virtual cards The foot preset condition;
Alternatively, when detecting for stopping activating the demand of virtual card, stopping detects whether to meet the default item Part.
In one embodiment, the first card determining module, including:
Activation demand detection unit, the demand for detecting the virtual card for activating preset kind;
Type card determination unit needs to execute it the virtual card of activation command for being determined according to the demand, The virtual card for needing to execute it activation command is the virtual card for belonging to the preset kind.
In one embodiment, the first card determining module, including:
First card determination unit, for determining the first virtual card according to the virtual card selection instruction received;Or,
Second card determination unit, for determining that first is virtual according to the information of each virtual card stored in terminal device Card.
In one embodiment, the information of the virtual card includes history use information, and the history use information includes Last time call duration time, the number of communications of current slot or communication total degree.
In one embodiment, the second card determination unit is additionally operable to:
When the history use information includes last time call duration time, last time call duration time is nearest apart from current time Virtual card is determined as the described first virtual card;
When the history use information includes the number of communications of current slot, most by the number of communications of current slot More virtual cards is determined as the described first virtual card;
When the history use information includes communication total degree, the most virtual card of total degree will be communicated and be determined as institute State the first virtual card.
In one embodiment, the information of the virtual card includes virtual card piece list, and record has described in the list The identification information of each virtual card created in terminal device;
The second card determination unit is additionally operable to corresponding to the identification information that will be on predeterminated position in the list Virtual card be determined as the described first virtual card;
The first card active module is additionally operable to the sequence according to the identification information recorded in the list, from described more It opens and determines that a virtual card is activated as the second virtual card in virtual card.
In one embodiment, described device further includes:Card list update module;The card list update module packet It includes:
Fresh information acquiring unit, for obtaining virtual card fresh information;
Card list updating unit, for being carried out more to the virtual card list according to the virtual card fresh information Newly.
According to the disclosure third aspect, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
Determine the first virtual card;
The described first virtual card is activated, for being communicated with default equipment;
If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, is used for and presets Equipment is communicated, and the second virtual card is the virtual card except the described first virtual card.
According to disclosure fourth aspect, a kind of computer readable storage medium is provided, computer program is stored thereon with, The program is realized when being processed by the processor:
Determine the first virtual card;
The described first virtual card is activated, for being communicated with default equipment;
If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, is used for and presets Equipment is communicated, and the second virtual card is the virtual card except the described first virtual card.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By above-described embodiment it is found that the disclosure activates the first virtual card, be used for by determining the first virtual card It is communicated with default equipment, when meeting preset condition, deactivates the first virtual card, and activate the second virtual card Piece may be implemented to automatically select the virtual card communicated with default equipment, due to saving for being communicated with default equipment The step of having gone user to manually select virtual card, thus can be that user saves the time, the efficiency of communication is improved, is improved The intelligent level of terminal device, and then the user experience is improved.It should be understood that above general description and following thin Section description is only exemplary and explanatory, can not limit the disclosure.
Description of the drawings
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 communication means shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the communication means shown according to a further exemplary embodiment;
Fig. 3 is a kind of flow chart of the communication means shown according to a further exemplary embodiment;
Fig. 4 A are a kind of flow charts of the communication means shown according to another exemplary embodiment;
Fig. 4 B are a kind of flow charts of the communication means shown according to another exemplary embodiment;
Fig. 5 is a kind of flow chart of the communication means shown according to another exemplary embodiment;
Fig. 6 is a kind of flow chart of the communication means shown according to another exemplary embodiment;
Fig. 7 A are a kind of virtual card display interface schematic diagrames shown according to an exemplary embodiment;
Fig. 7 B are a kind of virtual card display interface schematic diagrames shown according to a further exemplary embodiment;
Fig. 8 is a kind of block diagram of communication device shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of the communication device shown according to a further exemplary embodiment;
Figure 10 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.
Specific implementation mode
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 communication means shown according to an exemplary embodiment;The embodiment can be used for having There are the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal.Such as Fig. 1 It is shown, this approach includes the following steps S11-S13:
S11:Determine the first virtual card.
In one embodiment, above-mentioned virtual card can be that virtual mass transit card, virtual access card etc. pass through terminal device reality The virtual card of the preset function (such as pay, find, identity information obtains) of existing Truth cards.
In one embodiment, multiple virtual cards can be pre-created in above-mentioned terminal device, wherein each virtual card A default equipment is may both correspond to, which includes the gate inhibition in the places such as cell, apartment, office or office building, ground The gate and the POS on bus at iron station etc. have near-field communication NFC abilities equipment, the present embodiment to this without It limits.
In one embodiment, the operating system of terminal device can be used to activate the virtual of preset kind according to what is detected The demand of card determines the first virtual card;Alternatively, first can directly be determined according to the virtual card selection instruction received Virtual card;Or can determine the first virtual card according to the information of each virtual card stored in terminal device, specifically Method of determination is referring also to Fig. 4 A, embodiment illustrated in fig. 5, herein first without being described in detail.
In one embodiment, the demand may include the selection instruction of user, preset the radiofrequency field RF that equipment generates Field etc..
S12:The described first virtual card is activated, for being communicated with default equipment.
In one embodiment, after terminal device determines the first virtual card, which can be activated, Specifically activation may include:It is corresponding that the described first virtual card is obtained from the security module SE of the terminal device Virtual card data, and then the virtual card data is sent to above-mentioned default equipment by near-field communication NFC module, i.e., it is above-mentioned Equipment with near-field communication NFC abilities.
In one embodiment, above-mentioned virtual card data is determined according to the type of virtual card, if for example, virtual card is Virtual mass transit card, then virtual card data may include the information such as the corresponding account balance of the virtual mass transit card.
In one embodiment, above-mentioned activation can also be the NFC moulds to terminal device by above-mentioned default equipment The read operation of data carries out in block, and the present embodiment is to this without limiting.
In one embodiment, after activating the first virtual card, you can based on the first virtual card being activated and preset Equipment is communicated, such as carry out public transport/subway payment, unlock gate inhibition etc., the detailed process of the communication may refer to related skill Art, the present embodiment is to this without limiting.
S13:If meeting preset condition, deactivate the described first virtual card, and activate the second virtual card, for Default equipment is communicated, and the second virtual card is the virtual card except the described first virtual card.
In one embodiment, above-mentioned preset condition can be pre-set, such as is set as the activation knot of the first virtual card Fruit, the time communicated based on the first virtual card or the result etc. communicated based on the first virtual card, specific side Formula is referring also to following embodiment illustrated in fig. 2, herein first without being described in detail.
In one embodiment, when meeting above-mentioned preset condition, you can deactivate, i.e., will swash to the first virtual card First virtual card living reverts to unactivated state, also, activates the second virtual card, with virtual according to be activated second Card is communicated with default equipment.
Seen from the above description, the present embodiment activates the first virtual card, is used for by determining the first virtual card It is communicated with default equipment, when meeting preset condition, deactivates the first virtual card, and activate the second virtual card Piece may be implemented to automatically select the virtual card communicated with default equipment, due to saving for being communicated with default equipment The step of having gone user to manually select virtual card, thus can be that user saves the time, the efficiency of communication is improved, is improved The intelligent level of terminal device, and then the user experience is improved.
Fig. 2 is a kind of flow chart of the communication means shown according to a further exemplary embodiment;The embodiment can be used for With the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal.Such as Shown in Fig. 2, this approach includes the following steps S21-S23:
S21:Determine the first virtual card.
S22:The described first virtual card is activated, for being communicated with default equipment.
Wherein, the relevant explanation of above-mentioned steps S21-S22 and explanation may refer to above-described embodiment, herein without superfluous It states.
S23:If the time that the first virtual card is not activated or the first virtual card is active is long In or equal to predetermined threshold value;Or, the result of communication that the first virtual card is communicated with the default equipment is not inconsistent Preset need is closed, then the described first virtual card is deactivated, and activate the second virtual card, for being led to default equipment Letter, the second virtual card are the virtual card except the described first virtual card.
In one embodiment, when the first virtual card is not activated for some reason (for example, breaking down or failing Access card can not be activated), alternatively, the time that the first virtual card is active has been more than predetermined threshold value (for example, mistake Virtual access card be although activated, but current gate inhibition can not be unlocked in preset time), or, this first The result of communication that virtual card is communicated with default equipment does not meet preset need (for example, the mass transit card that Sorry, your ticket has not enough value Failure is paid on the POS, that is, be cannot respond to instruct in the gathering of public transport POS machine and realized delivery operation), then to described the One virtual card is deactivated, and then activates the second virtual card.
In one embodiment, the time of above-mentioned state of activation is longer than or is communicated equal to the default equipment to obtain The time of result of communication, i.e., so that the first virtual card has time enough to be communicated with default equipment to obtain communication knot Fruit, and avoid leading to communication failure because activationary time is too short.
It is worth noting that inventor is learnt during the embodiment embodiment of the present disclosure by many experiments, it is above-mentioned The time of state of activation can be 0.1~0.5 second.Certainly, in terminal device the performances of the components such as NFC module carry It rises, time of the state of activation can be arranged shorter, and the state of activation can be arranged in developer according to actual conditions at that time Time, the present embodiment to this without limit.
Seen from the above description, the present embodiment is not by being activated or described first empty meeting the described first virtual card The time that quasi- card is active be longer than or equal to predetermined threshold value or the first virtual card and the default equipment into The result of communication that row communication obtains is not met under the preset conditions such as preset need, is deactivated to the first virtual access card, and The second virtual access card is activated, it can be automatic to swash based on the first virtual access card with default equipment communication failure Second virtual card living, to be communicated with default equipment, the step of eliminating user's manual switching virtual card, can be user The time is saved, improves the efficiency of communication and the intelligent level of terminal device, and then user experience can be promoted.
Fig. 3 is a kind of flow chart of the communication means shown according to a further exemplary embodiment;The embodiment can be used for With the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal.Such as Shown in Fig. 3, this approach includes the following steps S21-S23:
S31:Determine the first virtual card;
S32:The described first virtual card is activated, for being communicated with default equipment;
S33:If meeting preset condition, deactivate the described first virtual card, and when except the described first virtual card it It is outer there are when multiple virtual cards, then determine that a second virtual card is activated from multiple described virtual cards, be used for It is communicated with default equipment.
Wherein, the described second virtual card is the virtual card except the described first virtual card.
Wherein, above-mentioned steps S31-S32 and it is above-mentioned meet preset condition, deactivate the first virtual card and simultaneously activate The detailed explanation and description of second virtual card may refer to above-described embodiment, herein without repeating.
In one embodiment, if in terminal device other than the first virtual access card, only create the second virtual card this When opening card, then after deactivating the first virtual access card, the second virtual access card can be directly activated.
And if in terminal device in addition to the first virtual access card, further create multiple virtual cards, then it can be according to following Two ways activates the second virtual card, wherein:
First way:
It in one embodiment, can be according to preset order (for example, establishment sequence) after deactivating the first virtual access card From multiple above-mentioned virtual cards determine a virtual card activated as the second virtual card, be used for default equipment into Row communication.
In one embodiment, when communicated with default equipment based on the second virtual card currently determined also meet it is described pre- If condition, i.e., the time that the described second virtual card is not activated or the second virtual card is active be longer than or Equal to predetermined threshold value;Or, the result of communication that the second virtual card is communicated with the default equipment do not meet it is pre- If when demand, can continue to determine a virtual card as next need again from multiple above-mentioned virtual cards according to preset order The virtual card to be activated, execute above-mentioned deactivation be currently at the card of activated state and activate it is next needs activate it is virtual The operation of card terminates to activate virtual card until whole cards are communicated successfully or traversed with default equipment or are detected Demand, for example detect that there is no the equipment with NFC abilities around virtual card.
The second way:
When there is the virtual card for not being performed activation command in multiple above-mentioned virtual cards, can detect whether to meet Above-mentioned preset condition;
If meeting above-mentioned preset condition, deactivate the last virtual card for being performed activation command, to it is another not The virtual card for being performed activation command executes activation command;
Wherein, the described second virtual card is another virtual card for not being performed activation command.
It is worth noting that in an actual embodiment, one kind in above two mode can be chosen according to actual needs It is used, above two mode can also be used in combination with, the present embodiment is to this without limiting.
On this basis, as a kind of optional embodiment mode, when there is no do not held in multiple described virtual cards When the virtual card of line activating order, you can stopping detects whether to meet the preset condition;Alternatively, when detecting for stopping When activating the demand of virtual card, stopping detects whether to meet the preset condition.
Seen from the above description, the present embodiment is by there are multiple virtual cards in addition to the described first virtual card When, a virtual card is determined from multiple described virtual cards according to preset order or according to the activation history of multiple virtual cards Piece is activated as the second virtual card, may be implemented to automatically determine the virtual card communicated with default equipment, in turn Other virtual cards can be automatically determined when meeting preset condition to be activated, and the manual switching virtual card of user is eliminated Step saves the time for user, improves the efficiency of communication, and then the user experience is improved.
Fig. 4 A are a kind of flow charts of the communication means shown according to another exemplary embodiment;The embodiment can be used for With the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal. On the basis of above-described embodiment, the communication means of the present embodiment can also include:
Detect the demand of the virtual card for activating preset kind;
The virtual card for needing to execute it activation command is determined according to the demand, it is described to need to execute it activation life The virtual card enabled is the virtual card for belonging to the preset kind.
Specifically, as shown in Figure 4 A, this approach includes the following steps S411-S414:
S411:Detect the demand of the virtual card for activating preset kind;
S412:The the first virtual card for needing to execute it activation command is determined according to the demand;
S413:The described first virtual card is activated, for being communicated with default equipment;
S414:If meeting preset condition, the described first virtual card is deactivated, and needs pair are determined according to the demand It executes the second virtual card of activation command, the second virtual card is activated, for being communicated with default equipment.
Wherein, the described second virtual card is the virtual card except the described first virtual card, and described is needed to it The the first, second virtual card for executing activation command is the virtual card for belonging to the preset kind.
Wherein, the relevant explanation of above-mentioned steps S412-S414 and explanation may refer to above-described embodiment, herein without superfluous It states.
In one embodiment, the virtual card of above-mentioned preset kind can be virtual public transport Card Type, virtual access card class Any one of type or virtual bank's Card Type.
In one embodiment, the need for the virtual card that following two modes are detected for activating preset kind may be used It asks:
The first:Detect radiofrequency field RF field information.
In one embodiment, if detecting, (detect to exist near terminal device has radiofrequency field RF field information The particular device of near-field communication NFC abilities), it is determined that detect the demand of the virtual card for activating preset kind.
In one embodiment, above-mentioned particular device may include that point of sale POS terminal, bus card-reading equipment, gate inhibition swipe the card Equipment etc..
For example, above-mentioned particular device provides radiofrequency field as main equipment in entire communication process, when as from setting When standby terminal device enters the radiofrequency field, radiofrequency field RF field information can be detected, so that it is determined that detecting for swashing The demand of the virtual card of preset kind living.
Radiofrequency field information may be used and is not limited to following examples detecting described in the disclosure:In a kind of possible reality In existing mode, radiofrequency field information may include various features (such as frequency range etc.), mobile terminal can detect to have it is specific In the case of first radio frequency field signal of feature (such as special frequency channel), the virtual card for activating preset kind is confirmly detected The demand of piece, wherein virtually the features such as type with the frequency range of the radiofrequency field information of card are corresponding.In alternatively possible reality In existing mode, mobile terminal can be confirmly detected in the case where detecting radio frequency field signal for activating preset kind The demand of virtual card, in other words, mobile terminal can be in the case where detecting the radiofrequency field signal condition with arbitrary characteristics, just really Regular inspection measures the demand of the virtual card for activating preset kind, for example, by user or can grind the preset kind Hair personnel are set in advance as the highest virtual type of card of the most frequently used or frequency of use, for example, the preset kind is arranged For gate inhibition's type of card.In addition, the embodiment of the present disclosure is not limited the specific features of radio frequency field signal, as long as end can be realized End equipment carries out near-field communication with the particular device.
Second:Detect the predetermined registration operation to the terminal device.
In one embodiment, above-mentioned predetermined registration operation can be gesture command, such as terminal device screen trigger action, To the trigger action etc. of terminal device assignment component.
It is worth noting that in actual implementation, the concrete form of the predetermined registration operation can be by developer according to reality Demand is configured, and the present embodiment does not limit this, such as be could be provided as adopting consecutive click chemical reaction operation, long press operation, double-clicked behaviour Make etc..
In one embodiment, above-mentioned predetermined registration operation can also be the triggering of the specified shortcut icon provided terminal device Operation, the specified shortcut icon can be used for arousing virtual card activation selection interface.
The mode for detecting the activation demand of virtual card above is merely illustrative, is not used in the limitation disclosure.
In one embodiment, the terminal is set when the underlying services of terminal device detect radiofrequency field information or detect Standby predetermined registration operation etc. be used to indicate there is currently virtual card activate demand information when, it may be determined that detect for activating The demand of the virtual card of preset kind, and then the solicited message for activating virtual card is generated, and the solicited message is sent out It activates and services to virtual card.
That is, there may be two services in above-mentioned terminal device:One is underlying services, for detecting radiofrequency field Information, or detection are generated to the predetermined registration operation of terminal device, and when detecting aforementioned any information for activating default class The solicited message of the virtual card of type, and the solicited message is issued into virtual card activation service.The other is virtual card swashs Service living, the activation request of the virtual card for receiving underlying services transmission, and asked to terminal device based on the activation The corresponding destination virtual card of current pose is into line activating.
For example, if be pre-created in terminal device virtual public transport Card Type multiple virtual cards (such as card A and Card B), further create multiple virtual cards (such as card C and card D) of virtual gate inhibition's Card Type.In the case, if terminal Equipment detects the demand of the virtual card for activating virtual public transport Card Type, then first can be determined from card A and card B Virtual card is activated, for example, the first virtual card is determined according to the information of the card A and card B that are stored in terminal device, For being communicated with default equipment.In turn, when meeting preset condition, card A is deactivated, card B is swashed It is living, for being communicated with default equipment, without activating the card C and card D of virtual gate inhibition's Card Type, activation can be improved The specific aim of virtual card, and then the communication efficiency of terminal device and default equipment can be improved.
Fig. 4 B are a kind of flow charts of the communication means shown according to another exemplary embodiment;The embodiment can be used for With the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal.Such as Shown in Fig. 4 B, this approach includes the following steps S421-S423:
S421:The first virtual card is determined according to the virtual card selection instruction received;Or, being deposited according in terminal device The information of each virtual card of storage determines the first virtual card.
In one embodiment, can be referred to the selection that above-mentioned virtual card selection instruction can be terminal device real-time reception It enables, can also be the selection instruction received in advance, the present embodiment is to this without limiting.
For example, the predetermined registration operation to the terminal device is detected.
In one embodiment, above-mentioned virtual card selection instruction can be gesture command, as terminal device screen Trigger action, the trigger action etc. to terminal device assignment component.
It is worth noting that in actual implementation, the concrete form of the predetermined registration operation can be by developer according to reality Demand is configured, and the present embodiment does not limit this, such as be could be provided as adopting consecutive click chemical reaction operation, long press operation, double-clicked behaviour Make etc..
In one embodiment, above-mentioned predetermined registration operation can also be the triggering of the specified shortcut icon provided terminal device Operation, the specified shortcut icon can be used for arousing virtual card activation selection interface.
The above virtual card selection instruction is merely illustrative, is not used in the limitation disclosure.
In one embodiment, the first virtual card can also be determined according to the information of each virtual card stored in terminal device Piece.
In one embodiment, the information of above-mentioned virtual card may include history use information, such as last time call duration time, when The number of communications of preceding period or communication total degree etc..
It is worth noting that the content of the above history use information is merely illustrative, it is not used in the limitation disclosure, in practical reality During applying, other information can also be set according to actual needs, such as be currently located, communication the probability of success, the present embodiment To this without limiting.
It in one embodiment, can be by last time call duration time if the history use information includes last time call duration time The virtual card nearest apart from current time is determined as the described first virtual card.
It in one embodiment, can will be current if the history use information includes the number of communications of current slot The most virtual card of the number of communications of period is determined as the described first virtual card.
In one embodiment, if the history use information includes communication total degree, it is most total degree will can be communicated Virtual card be determined as the described first virtual card.
S422:The described first virtual card is activated, for being communicated with default equipment.
S423:If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, be used for It is communicated with default equipment, the second virtual card is the virtual card except the described first virtual card.
Wherein, the relevant explanation of above-mentioned steps S422-S423 and explanation may refer to above-described embodiment, herein without superfluous It states.
Seen from the above description, it may be implemented accurately and rapidly to determine the first virtual card by above-mentioned a variety of predetermined manners Piece, and then understand to realize the step of subsequently being communicated with default equipment based on the first virtual card or the second virtual card, by In realizing the virtual card for automatically determining and being communicated with default equipment, the step of the manual switching virtual card of user is eliminated Suddenly, thus can be that user save the time, the efficiency of communication be improved, and then promote user experience.
Fig. 5 is a kind of flow chart of the communication means shown according to another exemplary embodiment;The embodiment can be used for With the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal. On the basis of embodiment described in Fig. 4 B, the information of above-mentioned virtual card may include virtual card list, be recorded in the list There is the identification information of each virtual card created in the terminal device.As shown in figure 5, this approach includes the following steps S51- S53:
S51:Virtual card corresponding to the identification information being on predeterminated position in virtual card list is determined as institute State the first virtual card.
S52:The described first virtual card is activated, for being communicated with default equipment.
S53:If meeting preset condition, the described first virtual card is deactivated, and according to the mark recorded in the list The sequence for knowing information determines that a virtual card is activated as the second virtual card from multiple described virtual cards, uses It is communicated in default equipment, the second virtual card is the virtual card except the described first virtual card.
Wherein, the relevant explanation in above-mentioned steps S52 and explanation may refer to above-described embodiment, herein without repeating.
In one embodiment, above-mentioned virtual card list can be pre-created in terminal device, there is record in the list The identification information of each virtual card created in the terminal device, as shown in following table one:
Table one
Position Identification information
1 Virtual mass transit card 1
2 Virtual access card 1
3 Virtual access card 2
4 Virtual mass transit card 2
As shown in Table 1, if the operating system of terminal device determines the current state (such as transverse screen state) of the terminal device, It can be then based on corresponding relation data shown in above-mentioned table one, determine corresponding destination virtual card (that is, virtual mass transit card).
In one embodiment, if the operating system of terminal device, which determines, is in predeterminated position in above-mentioned virtual card list Identification information on (for example, first position) is " 1 ", then can be based on corresponding relation data shown in above-mentioned table one, determine Virtual card (virtual mass transit card 1) corresponding to the identification information " 1 " is the first virtual card.
It in one embodiment, can be according to the mark recorded in above-mentioned table one after deactivating the first virtual card The sequence of information, from multiple second virtual cards (virtual access card 1, virtual access card 2 i.e. in addition to virtual mass transit card 1 etc.) Determine that a virtual card is activated, for being communicated with default equipment.
It in one embodiment, can be right by the identification information " 2 " on second position according to vertical sequence The virtual card (virtual access card 1) answered is determined as the second virtual card.
Seen from the above description, the present embodiment passes through identification information institute that will be in virtual card list on the predeterminated position Corresponding virtual card is determined as the described first virtual card, and according to the sequence of the identification information recorded in the list, Determine that a virtual card is activated as the second virtual card, may be implemented accurate, fast from multiple described virtual cards The first virtual card and the second virtual card are determined fastly, and then understand to realize subsequently virtual based on the first virtual card or second The step of card is communicated with default equipment, the step of user's manual switching virtual card can be saved, when being saved for user Between, improve the efficiency of communication.
Fig. 6 is a kind of flow chart of the communication means shown according to another exemplary embodiment;The embodiment can be used for With the terminal device based on virtual card communication capacity, such as smart mobile phone, tablet computer, virtual card handheld terminal.Such as Shown in Fig. 6, this approach includes the following steps S61-S65:
S61:Virtual card corresponding to the identification information being on predeterminated position in virtual card list is determined as institute State the first virtual card.
S62:The described first virtual card is activated, for being communicated with default equipment.
S63:If meeting preset condition, the described first virtual card is deactivated, and according to the mark recorded in the list The sequence for knowing information determines that a virtual card is activated as the second virtual card from multiple described virtual cards, uses It is communicated in default equipment, the second virtual card is the virtual card except the described first virtual card.
Wherein, the relevant explanation in above-mentioned steps S61-S63 and explanation may refer to above-described embodiment, herein without superfluous It states.
It is worth noting that may include according to the sequence of the identification information recorded in the list:According in the list Positive sequence, inverted order or other preset orders of the identification information of record, the present embodiment is to this without limiting.
S64:Obtain virtual card fresh information.
S65:The virtual card list is updated according to the virtual card fresh information.
In one embodiment, when the virtual card information update (such as newly-built card or deletion card) in terminal device When, the fresh information of virtual card can be obtained, such as the identification information of virtual card.
As an example it is assumed that shown in current virtual card list table one as above, three cards, i.e., virtual public transport have been stored Card 1, virtual access card 1 and virtual access card 2.It is if newly creating a virtual card again in terminal device at this time, i.e., virtual public Card 2 is handed over, then the identification information " virtual mass transit card 2 " of the virtual card can be determined as virtual card fresh information, and should Information is added in virtual card list shown in above-mentioned table one.
Similarly, if deleting a certain original virtual card in terminal device, the mark of the virtual card can be believed Breath is determined as virtual card fresh information, and is deleted from above-mentioned list.
It in another embodiment, can also be according to use information (such as last time call duration time, the current slot of virtual card Number of communications or communication total degree etc.) the above-mentioned virtual card list of update so that according to the void recorded in the list When the identification information of quasi- card activates virtual card, communication success rate can be improved with the user demand that meets of maximum probability.
In one embodiment, the update of above-mentioned virtual card list can be carried out in the non-use periods of terminal device, from And the speed of response of terminal device caused by the update due to virtual card list is avoided to reduce.
For example, if the use time in terminal device is updated virtual card list, updated Cheng Zhong, terminal device possibly can not be determined the virtual card of next activation based on the virtual card list, that is, reduce terminal The speed of response of equipment.Therefore, the non-use periods in terminal device is arranged in the update of virtual card list, it can be to avoid void The case where speed of response of terminal device caused by quasi- card list update reduces.
Seen from the above description, the present embodiment is by obtaining virtual card fresh information, and more according to the virtual card New information is updated the virtual card list, it is ensured that the accuracy of information in virtual card list, also, pass through The non-use periods in terminal device is arranged in the renewal time of virtual card list, it can be to avoid due to virtual card list The respective rate of terminal device caused by update reduces.
Fig. 7 A are a kind of virtual card display interface schematic diagrames shown according to an exemplary embodiment;As shown in Figure 7 A, After terminal device 100 determines the first virtual card (e.g., mass transit card 1), the virtual access card 1 can be activated, is used for and presets Equipment is communicated, and such as pays fare to bus card-reader.Mass transit card 1 is activated it can be seen from Fig. 7 A, and mass transit card 2 are not activated.Further, when meet preset condition (e.g., mass transit card 1 Sorry, your ticket has not enough value cause fare payment failure) when, eventually End equipment can deactivate the mass transit card 1, and activate the second virtual card (e.g., mass transit card 2), be used for and default equipment It is communicated, i.e., pays fare to bus card-reader.Mass transit card 2 is activated it can be seen from Fig. 7 B, and mass transit card 1 is extensive Again to the state not being activated.
Seen from the above description, the present embodiment activates the first virtual card, is used for by determining the first virtual card It is communicated with default equipment, when meeting preset condition, deactivates the first virtual card, and activate the second virtual card Piece may be implemented to automatically select the virtual card communicated with default equipment, due to saving for being communicated with default equipment The step of having gone user to manually select virtual card, thus can be that user saves the time, the efficiency of communication is improved, is improved The intelligent level of terminal device, and then the user experience is improved.
Fig. 8 is a kind of block diagram of communication device shown according to an exemplary embodiment;As shown in figure 8, the device includes: First card determining module 110, the first card active module 120 and the second card active module 130, wherein:
First card determining module 110, for determining the first virtual card;
First card active module 120, for activating the described first virtual card, for being communicated with default equipment;
Second card active module 130, for when meeting preset condition, deactivating the first virtual card, and swash Second virtual card living, for being communicated with default equipment, the second virtual card is except the described first virtual card Virtual card.
Seen from the above description, the present embodiment activates the first virtual card, is used for by determining the first virtual card It is communicated with default equipment, when meeting preset condition, deactivates the first virtual card, and activate the second virtual card Piece may be implemented to automatically select the virtual card communicated with default equipment, due to saving for being communicated with default equipment The step of having gone user to manually select virtual card, thus can be that user saves the time, the efficiency of communication is improved, is improved The intelligent level of terminal device, and then the user experience is improved.
Fig. 9 is a kind of block diagram of the communication device shown according to a further exemplary embodiment;Wherein, the first card determines mould Block 210, the first card active module 220 and the second card active module 230 and the first card in aforementioned embodiment illustrated in fig. 8 Determining module 110, the first card active module 120 are identical with the function of the second card active module 130, herein without superfluous It states.
In one embodiment, described to meet preset condition, may include:
The time that the first virtual card is active is longer than or is equal to predetermined threshold value;
Or, the first virtual card is not activated;
Or, the result of communication that the first virtual card is communicated with the default equipment does not meet default need It asks.
In one embodiment, the result of communication that the described first virtual card is communicated with the default equipment is not inconsistent Preset need is closed, may include:
The first virtual card cannot respond to instruct in the gathering of the default equipment to realize delivery operation.
In one embodiment, the time of the state of activation is longer than or is communicated equal to the default equipment to obtain The time of result of communication.
In one embodiment, the time of the state of activation is 0.1~0.5 second.
In one embodiment, the second card active module 230 is additionally operable to:
When there are when multiple virtual cards, according to preset order, multiple are empty from described in addition to the described first virtual card Determine that a virtual card is activated as the second virtual card in quasi- card;
Or,
When there is the virtual card for not being performed activation command in multiple described virtual cards, detect whether described in satisfaction Preset condition;When meeting the preset condition, deactivate the virtual card that the last time is performed activation command, to it is another not by The virtual card for executing activation command executes activation command;Wherein, the described second virtual card be it is described it is another be not performed it is sharp The virtual card that life enables.
In one embodiment, the second card active module 230 further includes:Condition stops examining module 231, is used for:
When, there is no when the virtual card for not being performed activation command, stopping detects whether full in multiple described virtual cards The foot preset condition;
Alternatively, when detecting for stopping activating the demand of virtual card, stopping detects whether to meet the default item Part.
In one embodiment, as shown in figure 9, the first card determining module 210, may include:
Activation demand detection unit 211, the demand for detecting the virtual card for activating preset kind;
Type card determination unit 212 needs to execute it the virtual card of activation command for being determined according to the demand Piece, the virtual card for needing to execute it activation command is the virtual card for belonging to the preset kind.
In one embodiment, the first card determining module can also include:
First card determination unit 213, for determining the first virtual card according to the virtual card selection instruction received; Or,
Second card determination unit 214, for determining first according to the information of each virtual card stored in terminal device Virtual card.
In one embodiment, the information of virtual card may include history use information, and the history use information can be with Including last time call duration time, the number of communications of current slot or communication total degree.
In one embodiment, the second card determination unit 214 can be also used for:
When the history use information includes last time call duration time, last time call duration time is nearest apart from current time Virtual card is determined as the described first virtual card;
When the history use information includes the number of communications of current slot, most by the number of communications of current slot More virtual cards is determined as the described first virtual card;
When the history use information includes communication total degree, the most virtual card of total degree will be communicated and be determined as institute State the first virtual card.
In one embodiment, the information of the virtual card may include virtual card list, there is record in the list The identification information of each virtual card created in the terminal device;
The third card determination unit can be also used for the identification information institute that will be in the list on predeterminated position Corresponding virtual card is determined as the described first virtual card;
The second card active module can be also used for the sequence according to the identification information recorded in the list, from institute It states and determines that a virtual card is activated as the second virtual card in multiple virtual cards.
In one embodiment, described device can also include:Card list update module 240;
Card list update module 240 may include:
Fresh information acquiring unit 241, for obtaining virtual card fresh information;
Card list updating unit 242, for according to the virtual card fresh information to the virtual card list into Row update.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.For example, equipment 900 can be moved Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
Referring to Fig.1 0, equipment 900 may include following one or more components:Processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and Communication component 916.
The integrated operation of 902 usual control device 900 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 902 may include that one or more processors 320 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes instruction for any application program or method that operate on the device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 906 provides electric power for the various assemblies of equipment 900.Electric power assembly 906 may include power management system System, one or more power supplys and other generated with for equipment 900, management and the associated component of distribution electric power.
Multimedia component 908 is included in the screen of one output interface of offer between the equipment 900 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when equipment 900 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In some embodiments, audio component 910 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for equipment 900 is commented Estimate.For example, sensor module 914 can detect the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of equipment 900, and sensor module 914 can be with 900 1 components of detection device 900 or equipment Position change, the existence or non-existence that user contacts with equipment 900,900 orientation of equipment or acceleration/deceleration and equipment 900 Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between equipment 900 and other equipment.Equipment 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, equipment 900 can be believed by one or more application application-specific integrated circuit (ASIC), number Number 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 above-mentioned communication means.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 320 of equipment 900 to complete above-mentioned communication means.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein 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 includes 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 (30)

1. a kind of communication means, which is characterized in that including:
Determine the first virtual card;
The described first virtual card is activated, for being communicated with default equipment;
If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, be used for and default equipment It is communicated, the second virtual card is the virtual card except the described first virtual card.
2. according to the method described in claim 1, it is characterized in that, described meet preset condition, including:
The time that the first virtual card is active is longer than or is equal to predetermined threshold value;
Or, the first virtual card is not activated;
Or, the result of communication that the first virtual card is communicated with the default equipment does not meet preset need.
3. according to the method described in claim 2, it is characterized in that, the first virtual card is led to the default equipment The result of communication that letter obtains does not meet preset need, including:
The first virtual card cannot respond to instruct in the gathering of the default equipment to realize delivery operation.
4. according to the method described in claim 2, it is characterized in that, the time being active be longer than or be equal to and institute Default equipment is stated to be communicated to obtain the time of result of communication.
5. according to the method described in claim 4, it is characterized in that, the predetermined threshold value is 0.1~0.5 second.
6. according to the method described in claim 1, it is characterized in that, if described meet preset condition, deactivate described first Virtual card, and the second virtual card of activation includes:
If there are multiple virtual cards in addition to the described first virtual card, according to preset order, from multiple described virtual cards Determine that a virtual card is activated as the second virtual card in piece.
7. according to the method described in claim 1, it is characterized in that, if described meet preset condition, deactivate described first Virtual card, and the second virtual card of activation includes:
If there are multiple virtual cards in addition to the described first virtual card, and exist in multiple described virtual cards and be not performed The virtual card of activation command then detects whether to meet the preset condition;If meeting the preset condition, deactivate nearest The primary virtual card for being performed activation command executes activation command to another virtual card for not being performed activation command;Its In, the second virtual card is another virtual card for not being performed activation command.
8. the method according to the description of claim 7 is characterized in that the method further includes:
When, there is no when the virtual card for not being performed activation command, stopping detects whether to meet institute in multiple described virtual cards State preset condition;
Alternatively, when detecting for stopping activating the demand of virtual card, stopping detects whether to meet the preset condition.
9. according to the method described in claim 1 or 6 or 7 or 8, which is characterized in that the method further includes:
Detect the demand of the virtual card for activating preset kind;
The virtual card for needing to execute it activation command is determined according to the demand, it is described to need to execute activation command to it Virtual card is the virtual card for belonging to the preset kind.
10. according to the method described in claim 1, it is characterized in that, the first virtual card of the determination, including:
The first virtual card is determined according to the virtual card selection instruction received;Or,
The first virtual card is determined according to the information of each virtual card stored in terminal device.
11. according to the method described in claim 10, it is characterized in that, the information of the virtual card, which includes history, uses letter Breath, the history use information include last time call duration time, the number of communications of current slot or communication total degree.
12. according to the method for claim 11, which is characterized in that described according to each virtual card stored in terminal device Information determine the first virtual card, including:
If the history use information includes last time call duration time, by last time call duration time apart from nearest virtual of current time Card is determined as the described first virtual card;
If the history use information includes the number of communications of current slot, the number of communications of current slot is most Virtual card is determined as the described first virtual card;
If the history use information includes communication total degree, the most virtual card of total degree will be communicated and be determined as described the One virtual card.
13. the method according to claim 10 or 11, which is characterized in that the information of the virtual card includes virtual card piece List, record has the identification information of each virtual card created in the terminal device in the list;
The information according to each virtual card stored in terminal device determines the first virtual card, including:
Virtual card corresponding to the identification information being on predeterminated position in the list is determined as first virtual card Piece;
The second virtual card of the activation, including:
According to the sequence of the identification information recorded in the list, determine that a virtual card is made from multiple described virtual cards It is activated for the second virtual card.
14. according to the method for claim 12, which is characterized in that the method further includes:
Obtain virtual card fresh information;
The virtual card list is updated according to the virtual card fresh information.
15. a kind of communication device, which is characterized in that including:
First card determining module, for determining the first virtual card;
First card active module, for activating the described first virtual card, for being communicated with default equipment;
Second card active module for when meeting preset condition, deactivating the first virtual card, and activates the second void Quasi- card, for being communicated with default equipment, the second virtual card is the virtual card except the described first virtual card Piece.
16. device according to claim 15, which is characterized in that it is described to meet preset condition, including:
The time that the first virtual card is active is longer than or is equal to predetermined threshold value;
Or, the first virtual card is not activated;
Or, the result of communication that the first virtual card is communicated with the default equipment does not meet preset need.
17. device according to claim 16, which is characterized in that the first virtual card is carried out with the default equipment It communicates obtained result of communication and does not meet preset need, including:
The first virtual card cannot respond to instruct in the gathering of the default equipment to realize delivery operation.
18. device according to claim 16, which is characterized in that the time of the state of activation be longer than or equal to it is described Default equipment is communicated to obtain the time of result of communication.
19. device according to claim 18, which is characterized in that the time of the state of activation is 0.1~0.5 second.
20. device according to claim 15, which is characterized in that the second card active module is additionally operable to:
When in addition to the described first virtual card there are when multiple virtual cards, according to preset order, from multiple described virtual cards Determine that a virtual card is activated as the second virtual card in piece.
21. device according to claim 15, which is characterized in that the second card active module is additionally operable to:When except institute It states except the first virtual card that there are multiple virtual cards, and exists in multiple described virtual cards and be not performed activation command When virtual card, detect whether to meet the preset condition;When meeting the preset condition, deactivation the last time is performed sharp The virtual card that life enables executes activation command to another virtual card for not being performed activation command;Wherein, described second is empty Quasi- card is another virtual card for not being performed activation command.
22. device according to claim 20, which is characterized in that described device further includes:Condition stops examining module, is used for:
When, there is no when the virtual card for not being performed activation command, stopping detects whether to meet institute in multiple described virtual cards State preset condition;
Alternatively, when detecting for stopping activating the demand of virtual card, stopping detects whether to meet the preset condition.
23. according to the device described in claim 15 or 20 or 21 or 22, which is characterized in that the first card determining module, Including:
Activation demand detection unit, the demand for detecting the virtual card for activating preset kind;
Type card determination unit needs to execute it the virtual card of activation command for being determined according to the demand, described The virtual card for needing to execute it activation command is the virtual card for belonging to the preset kind.
24. device according to claim 15, which is characterized in that the first card determining module, including:
First card determination unit, for determining the first virtual card according to the virtual card selection instruction received;Or,
Second card determination unit, for determining the first virtual card according to the information of each virtual card stored in terminal device Piece.
25. device according to claim 24, which is characterized in that the information of the virtual card includes that history uses letter Breath, the history use information include last time call duration time, the number of communications of current slot or communication total degree.
26. device according to claim 25, which is characterized in that the second card determination unit is additionally operable to:
When the history use information includes last time call duration time, by last time call duration time apart from nearest virtual of current time Card is determined as the described first virtual card;
When the history use information includes the number of communications of current slot, the number of communications of current slot is most Virtual card is determined as the described first virtual card;
When the history use information includes communication total degree, the most virtual card of total degree will be communicated and be determined as described the One virtual card.
27. the device according to claim 24 or 25, which is characterized in that the information of the virtual card includes virtual card piece List, record has the identification information of each virtual card created in the terminal device in the list;
The second card determination unit is additionally operable to the void corresponding to the identification information that will be on predeterminated position in the list Quasi- card is determined as the described first virtual card;
The first card active module is additionally operable to the sequence according to the identification information recorded in the list, from multiple described void Determine that a virtual card is activated as the second virtual card in quasi- card.
28. device according to claim 26, which is characterized in that described device further includes:Card list update module;Institute Stating card list update module includes:
Fresh information acquiring unit, for obtaining virtual card fresh information;
Card list updating unit, for being updated to the virtual card list according to the virtual card fresh information.
29. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
Determine the first virtual card;
The described first virtual card is activated, for being communicated with default equipment;
If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, be used for and default equipment It is communicated, the second virtual card is the virtual card except the described first virtual card.
30. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is realized when processing:
Determine the first virtual card;
The described first virtual card is activated, for being communicated with default equipment;
If meeting preset condition, the described first virtual card is deactivated, and activate the second virtual card, be used for and default equipment It is communicated, the second virtual card is the virtual card except the described first virtual card.
CN201810438044.0A 2018-05-09 2018-05-09 Communication means, device and electronic equipment Pending CN108596604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810438044.0A CN108596604A (en) 2018-05-09 2018-05-09 Communication means, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810438044.0A CN108596604A (en) 2018-05-09 2018-05-09 Communication means, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108596604A true CN108596604A (en) 2018-09-28

Family

ID=63636707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810438044.0A Pending CN108596604A (en) 2018-05-09 2018-05-09 Communication means, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108596604A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN110781699A (en) * 2019-10-31 2020-02-11 北京小米支付技术有限公司 NFC card switching method and device
CN110807502A (en) * 2019-10-31 2020-02-18 北京小米支付技术有限公司 Configuration method and device of NFC (near field communication) smart card
CN111930439A (en) * 2020-07-22 2020-11-13 北京字节跳动网络技术有限公司 Virtual card switching method and device and electronic equipment
CN113192249A (en) * 2021-03-29 2021-07-30 重庆市城投混凝土有限公司 Detection system and detection method for concrete tank car charging

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037326A1 (en) * 2007-07-30 2009-02-05 Sriram Chitti Virtual Card Selector for a Portable Electronic Device
CN106104601A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Virtual card Activiation method and device
CN106304037A (en) * 2015-05-19 2017-01-04 努比亚技术有限公司 The management method of virtual SIM card and device
CN107180349A (en) * 2017-05-27 2017-09-19 北京小米移动软件有限公司 Call method, device and the terminal device of virtual mass transit card
CN107484154A (en) * 2017-09-30 2017-12-15 广东欧珀移动通信有限公司 Data switching method and apparatus, terminal, computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037326A1 (en) * 2007-07-30 2009-02-05 Sriram Chitti Virtual Card Selector for a Portable Electronic Device
CN106304037A (en) * 2015-05-19 2017-01-04 努比亚技术有限公司 The management method of virtual SIM card and device
CN106104601A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Virtual card Activiation method and device
US20170372298A1 (en) * 2016-06-22 2017-12-28 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for activating virtual card
CN107180349A (en) * 2017-05-27 2017-09-19 北京小米移动软件有限公司 Call method, device and the terminal device of virtual mass transit card
CN107484154A (en) * 2017-09-30 2017-12-15 广东欧珀移动通信有限公司 Data switching method and apparatus, terminal, computer-readable recording medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN110781699A (en) * 2019-10-31 2020-02-11 北京小米支付技术有限公司 NFC card switching method and device
CN110807502A (en) * 2019-10-31 2020-02-18 北京小米支付技术有限公司 Configuration method and device of NFC (near field communication) smart card
CN110781699B (en) * 2019-10-31 2023-09-26 天星数科科技有限公司 NFC card switching method and device
CN110807502B (en) * 2019-10-31 2024-04-09 天星数科科技有限公司 NFC intelligent card configuration method and device
CN111930439A (en) * 2020-07-22 2020-11-13 北京字节跳动网络技术有限公司 Virtual card switching method and device and electronic equipment
CN113192249A (en) * 2021-03-29 2021-07-30 重庆市城投混凝土有限公司 Detection system and detection method for concrete tank car charging

Similar Documents

Publication Publication Date Title
CN108596604A (en) Communication means, device and electronic equipment
CN104954564B (en) SIM card switching method, device and terminal
CN104461725B (en) The method and device for controlling application process to start
CN104836924B (en) Number mark method and device
CN105388453B (en) The method and device of positioning intelligent equipment
CN107545569A (en) Method for recognizing impurities and device
CN106970769A (en) Multi-screen display method and device
CN109417739A (en) Resource determining method and device
CN107817929A (en) The quick control method and device of smart machine
CN105224174B (en) The display methods and device of Paste
CN104602275B (en) Client identification module SIM card switching method and device
CN107635074A (en) Control the method and device of quarter-bell
CN107396367A (en) Reminding method, device, terminal and the computer-readable recording medium of pseudo-base station
CN109525966A (en) Querying method, device and the storage medium of smart machine
CN108132813A (en) Function locking method, device and the electronic equipment of application program
CN105208510B (en) The method and device of intelligent alarm
CN106953969A (en) The screen control method and device of mobile terminal
CN106412001A (en) Method and device for transmitting file
CN107704294A (en) The method and apparatus for handling reservation event
CN108664198A (en) Virtual card Activiation method, device and terminal device
CN107040910A (en) Wireless roaming method, radio roaming device and electronic equipment
CN106940653A (en) Control method, device and the computer-readable recording medium of application program
CN105530332B (en) The processing method and processing device of location information
CN107087249A (en) Communication means and device
CN107734577A (en) Network function control method and network function control 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