CN111930439A - Virtual card switching method and device and electronic equipment - Google Patents

Virtual card switching method and device and electronic equipment Download PDF

Info

Publication number
CN111930439A
CN111930439A CN202010713726.5A CN202010713726A CN111930439A CN 111930439 A CN111930439 A CN 111930439A CN 202010713726 A CN202010713726 A CN 202010713726A CN 111930439 A CN111930439 A CN 111930439A
Authority
CN
China
Prior art keywords
virtual card
state
mobile terminal
time information
information
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
CN202010713726.5A
Other languages
Chinese (zh)
Inventor
张学川
邹积民
王桐
黄青川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010713726.5A priority Critical patent/CN111930439A/en
Publication of CN111930439A publication Critical patent/CN111930439A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

According to the virtual card switching method, the virtual card switching device and the electronic equipment, after the time information and the position information of the mobile terminal are obtained, the target state of the virtual card equipment of the mobile terminal can be determined according to the time information and the position information, the configuration of the virtual card equipment can be updated to be the target state, in the prior art, a user needs to manually change the state of the virtual card equipment every time, when the number of virtual cards in the virtual card equipment of the mobile terminal is large, a user possibly wastes a certain time in the process of finding the virtual cards, poor use experience is brought to the user, the virtual card equipment of the mobile terminal is determined and updated to be the target state through the time information and the position information, the situation that the user manually switches the virtual cards every time can be avoided, and therefore the use experience of the user can be improved.

Description

Virtual card switching method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a virtual card switching method and apparatus, and an electronic device.
Background
With the development of science and technology, portable electronic devices such as smart phones, smart watches, and bracelets have become a part of people's lives, and people's life style is simplified. Especially, with the application of NFC (Near Field Communication) technology to these portable electronic devices, the life style of people is further simplified. Such as: the bus is taken, the door is swiped, payment and the like can be completed by using the portable equipment with the NFC card simulation function.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a virtual card switching method and device and electronic equipment, which can realize automatic virtual card switching and simplify the virtual card switching process according to the position and time of the equipment, thereby avoiding that a user manually switches the virtual card every time and improving the use experience of the user.
In a first aspect, an embodiment of the present disclosure provides a virtual card switching method, including: acquiring time information and position information of a mobile terminal; and determining the target state of the mobile terminal virtual card device according to the time information and the position information, and updating the configuration of the virtual card device to the target state.
In a second aspect, an embodiment of the present disclosure provides a virtual card switching apparatus, including: the mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring time information and position information of the mobile terminal; and the determining unit is used for determining the target state of the virtual card device of the mobile terminal according to the time information and the position information and updating the configuration of the virtual card device to the target.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, where when the one or more programs are executed by the one or more processors, the one or more processors implement the virtual card switching method according to the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the virtual card switching method as described above in the first aspect.
According to the virtual card switching method, the virtual card switching device and the electronic equipment, after the time information and the position information of the mobile terminal are obtained, the target state of the virtual card equipment of the mobile terminal can be determined according to the time information and the position information, the configuration of the virtual card equipment can be updated to be the target state, in the prior art, a user needs to manually change the state of the virtual card equipment each time, when the number of virtual cards in the virtual card equipment of the mobile terminal is large, a user possibly wastes a certain time in the process of finding the virtual cards, poor use experience is brought to the user, the user determines and updates the virtual card equipment of the mobile terminal to be the target state through the time information and the position information, the user can be prevented from manually switching the virtual cards each time, and therefore the use experience of the user can be improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram for one embodiment of a virtual card switching method according to the present disclosure;
FIG. 2 is a schematic diagram of a correspondence table for one embodiment of a virtual card switching method in accordance with the present disclosure;
FIG. 3 is a schematic block diagram illustrating one embodiment of a virtual card switching apparatus according to the present disclosure;
FIG. 4 is an exemplary system architecture to which the virtual card switching method of one embodiment of the present disclosure may be applied;
fig. 5 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow diagram of one embodiment of a virtual card switching method according to the present disclosure is shown. The virtual card switching method can be applied to terminal equipment. As shown in fig. 1, the virtual card switching method includes the following steps:
step 101, acquiring time information and position information of a mobile terminal.
In some embodiments, the mobile terminal may be understood as: portable mobile electronic devices such as mobile phones and tablets.
In some embodiments, obtaining the time information and the location information of the mobile terminal may be understood as: determining the current time and determining the current position of the mobile terminal. There are many ways to determine the current location of the mobile terminal, for example: the terminal device can perform Positioning by a GPS (Global Positioning System) to determine position information; and the time information can be determined by directly acquiring the current time on the terminal equipment. Of course, in the specific embodiment, there are many ways to obtain the time information and the location information of the mobile terminal, and the method is not limited herein.
In some embodiments, the time information and the location information of the terminal device may be obtained in real time, or may be obtained at intervals. And the time information and the position information of the terminal device are acquired at intervals, which can be understood as follows: the time information and the location information of the mobile terminal are acquired once at intervals of a preset duration, for example, the time information and the location information of the mobile terminal may be acquired once at intervals of 1 minute, or 5 minutes, or 10 minutes. Of course, in the detailed implementation, there are many ways to obtain the time information and the location information of the terminal device, and there is no limitation here, and only reasonable selection is needed according to the actual situation. For example, the time information and the position information of the mobile terminal can be acquired in time intervals. For example, the time information and the location information of the mobile terminal are not actively acquired at night, but the time information and the location information of the terminal device are acquired at different time intervals during the day. In this way, power consumption of the mobile terminal can be reduced.
And 102, determining the target state of the virtual card device of the mobile terminal according to the time information and the position information, and updating the configuration of the virtual card device to the target state.
In some embodiments, the mobile terminal virtual card device may be understood as: the mobile terminal virtual card device is used for managing the states (active state or inactive state) of a plurality of virtual cards (bus cards required for taking a bus, access cards required for entering and exiting a cell, bank cards and the like) which can be configured in the mobile terminal virtual card device.
In some embodiments, when the time information and the location information are different, the states of the virtual cards configured by the virtual card device of the mobile terminal are different, that is, when the mobile terminal is in a certain time period and is located in a certain area, a certain virtual card may be configured to be in an active state. For example: when the user is at the cell gate at 8 am (here, '8 am' can be understood as time information, and 'cell gate' can be understood as location information), at this time, the target state of the mobile terminal virtual card device can be understood as: configuring a cell access control card to be in an activated state; for another example, when 8 users are in a shopping mall at night, the target state of the virtual card device of the mobile terminal at this time can be understood as: the bank card is configured to an activated state.
It can be seen that, in the embodiment of the present application, after the time information and the location information of the mobile terminal are obtained, the target state of the virtual card device of the mobile terminal can be determined according to the time information and the location information, and the configuration of the virtual card device can be updated to the target state.
In some embodiments, the target state includes a state of each virtual card in the virtual card device, the state of the virtual card including an active state or an inactive state.
Here, when the virtual card is in an active state, the virtual card device may utilize the virtual card to engage in an incoming communication interaction with the card reading device. That is, it can be understood that: when it is determined that a virtual card is active, it may be characterized that the user may use the virtual card for field communication interaction at that time.
In some embodiments, the card reading device may be understood as: the community entrance guard card swiping system, the public transport card swiping system, the card swiping machine and other devices with the card reading function.
In some embodiments, the step 102 (determining the target state of the virtual card device of the mobile terminal according to the time information and the location information) may specifically include:
and inputting the time information and the position information into a pre-established state model to obtain the target state of the mobile terminal virtual card equipment.
Here, the state model is used to characterize the correspondence between both the time information and the position information and the virtual card device.
In some embodiments, the state model is built by:
and acquiring a training sample set, and training the pre-established initial neural network based on the training sample set to obtain a state model.
Here, the training samples in the training sample set include: time information, location information, and a state of a virtual card in the virtual card device at the time of the time information and the location information.
In some embodiments, the time period and the location area corresponding to each virtual card in the activated state may be determined first, such as: the time period of the activated cell access control card may be 8 am to 9 am, and the time period of the activated cell access control card may be within a certain distance range from the cell doorway, such as 50 m square and round. Therefore, the time period (8 am to 9 am) when the cell access control card is in the activated state, the position area in the activated state, and the state of the cell access control card can be input into the pre-established initial neural network model together, the initial neural network model is trained, and when the states of all the virtual cards, the corresponding time information and the corresponding position information are input into the initial neural network model, and the initial neural network model is trained, the state model can be obtained.
That is, the obtained state model may determine whether the state of the current virtual card device needs to be changed according to the current time information and the current location information.
In some embodiments, the time period and location information for which the virtual card is in an active state may be selected when the user is configuring the virtual card for the virtual card device. That is, when the user configures the virtual card for the virtual card device, the training sample set is obtained. Of course, the training sample set may be obtained in other manners, and the specific manner of obtaining the training sample set is not limited herein.
In some embodiments, the state of the virtual card for which the state switching is performed may be changed in response to detecting the state switching operation of the user for the virtual card, and the switched state indicated by the state switching operation may be maintained for a preset time period starting from the state switching operation.
That is, the user may manually change the state of the virtual card. Such as: a certain business district is newly opened in a certain area, or a certain business district user never goes; at this time, when the user is in the area, the state model may determine that the target state of the virtual card device is that all virtual cards are in an inactive state, and at this time, the user may switch the state of the bank card to an active state, so as to facilitate payment.
When the user switches the state of the bank card into the activated state, the target state of the virtual card device at the moment can be determined to be that the bank card is in the activated state, and the bank card can be maintained in the activated state for a period of time to ensure that the user has paid; or the user does not need to change the state of the bank card again when the user pays again.
In some embodiments, in order to improve the accuracy of the target state obtained by the state model, the state model may be updated according to the time information and the location information of the state switching operation at the state switching operation of the user for the virtual card.
That is, after the user performs the state switching operation, it may be characterized that the target state obtained by the state model at this time may be wrong, and therefore, the state model may be updated with the time information and the location information of the state switching operation performed by the user and the state after the switching, so that the accuracy of obtaining the target state by the state model may be improved.
In some embodiments, the step 102 (determining the target state of the virtual card device of the mobile terminal according to the time information and the location information, and updating the configuration of the virtual card device to the target state) may specifically include: in response to determining that the time indicated by the time information is within a preset time period, determining whether the position indicated by the position information is within a preset area corresponding to the preset time period; and in response to determining that the position indicated by the position information is within a preset area corresponding to the preset time period, determining a target virtual card in an activated state in the virtual card device.
In some embodiments, the correspondence of both time periods, zones, and virtual card status may be recorded. Here, the correspondence between the preset time period, the area, and the virtual card may be recorded using a correspondence table, which may be as shown in fig. 2. As can be seen from fig. 2, when the time indicated by the time information is within the first time period, it may be determined whether the location indicated by the location information is within the first area, and when the location indicated by the location information is within the first area, it may be determined that the first virtual card is in an activated state (i.e., the first virtual card may be determined to be the target virtual card at this time). If it is determined that the position indicated by the position information is within the second area, the second virtual card may be in an activated state (i.e., the second virtual card may be determined to be the target virtual card). It should be understood that: the first time period, the second time period and the third time period are all preset time periods, and the first area, the second area and the third area are all preset areas; when the time indicated by the time information is in any one of the first time period, the second time period, the third time period and the like, whether the position indicated by the position information is in the preset area or not can be determined, and when the position information is determined to be in the preset area, the corresponding target virtual card can be determined.
In some embodiments, when the time indicated by the time information is not within the preset time period, it may be determined that the target state of the virtual card device is an inactive state for each virtual card.
The virtual card described in the above embodiment may be understood as an NFC smart card.
With further reference to fig. 3, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of a virtual card switching apparatus, which corresponds to the embodiment of the virtual card switching method shown in fig. 1, and which may be specifically applied to various electronic devices.
As shown in fig. 3, the virtual card switching apparatus of the present embodiment includes: an obtaining unit 301, configured to obtain time information and location information of a mobile terminal; a determining unit 302, configured to determine a target status of the virtual card device of the mobile terminal according to the time information and the location information, and update the configuration of the virtual card device to the target.
In some embodiments, the target state includes a state of each virtual card in the virtual card device, and the state of the virtual card includes an active state or an inactive state.
In some embodiments, the determining unit 302 is specifically configured to: and inputting the time information and the position information into a pre-established state model to obtain the target state of the mobile terminal virtual card device, wherein the state model is used for representing the corresponding relation between the time information and the position information and the state of the virtual card device.
In some embodiments, the state model is built by: obtaining a training sample set, wherein training samples in the training sample set include: time information, position information, and a state of a virtual card in the virtual card device at the time of the time information and the position information; and training the pre-established initial neural network based on the training sample set to obtain the state model.
In some embodiments, the above apparatus further comprises: a changing unit 303, configured to change a state of the virtual card to which the state switching is directed in response to detecting a state switching operation of the virtual card by a user, and maintain a switched state indicated by the state switching operation for a preset time period starting from the state switching operation.
In some embodiments, the above apparatus further comprises: an updating unit 304, configured to, in response to detecting a state switching operation of the user for the virtual card, update the state model according to the time information and the location information of the state switching operation.
Referring to fig. 4, fig. 4 illustrates an exemplary system architecture to which the virtual card switching method of one embodiment of the present disclosure may be applied.
As shown in fig. 4, the system architecture may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 may be the medium used to provide communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 401, 402, 403 may interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have various client applications installed thereon, such as a web browser application, a search-type application, and a news-information-type application. The client application in the terminal device 401, 402, 403 may receive the instruction of the user, and complete the corresponding function according to the instruction of the user, for example, add the corresponding information to the information according to the instruction of the user.
The terminal devices 401, 402, and 403 may be hardware or software. When the terminal devices 401, 402, and 403 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal devices 401, 402, and 403 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 405 may be a server providing various services, for example, receive an information acquisition request sent by the terminal devices 401, 402, and 403, and acquire, according to the information acquisition request, presentation information corresponding to the information acquisition request in various manners. And the relevant data of the presentation information is sent to the terminal devices 401, 402, 403.
It should be noted that the information processing method provided by the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the card switching device may be disposed in the terminal devices 401, 402, and 403. Furthermore, the information processing method provided by the embodiment of the present disclosure may also be executed by the server 405, and accordingly, an information processing apparatus may be provided in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 5, shown is a schematic diagram of an electronic device (e.g., a terminal device or a server of fig. 4) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 505 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 504 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring time information and position information of a mobile terminal; and determining the target state of the mobile terminal virtual card device according to the time information and the position information, and updating the configuration of the virtual card device to the target state.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the unit does not in some cases constitute a limitation to the unit itself, and for example, the acquisition unit 301 may also be described as a "unit that acquires time information and location information of a mobile terminal".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A virtual card switching method is characterized by comprising the following steps:
acquiring time information and position information of a mobile terminal;
and determining the target state of the mobile terminal virtual card equipment according to the time information and the position information, and updating the configuration of the virtual card equipment to the target state.
2. The method of claim 1, wherein the target state comprises a state of each virtual card in the virtual card device, and wherein the state of the virtual card comprises an active state or an inactive state.
3. The method according to claim 2, wherein the determining the target state of the mobile terminal virtual card device according to the time information and the location information comprises:
and inputting the time information and the position information into a pre-established state model to obtain a target state of the mobile terminal virtual card device, wherein the state model is used for representing a corresponding relation between the time information and the position information and a virtual card device state.
4. The method of claim 3, wherein the state model is built by:
obtaining a training sample set, wherein training samples in the training sample set comprise: time information, position information, and a state of a virtual card in the virtual card device at the time of the time information and the position information;
and training the pre-established initial neural network based on the training sample set to obtain the state model.
5. The method of claim 1, further comprising:
the method comprises the steps of responding to the detection of state switching operation of a user for a virtual card, changing the state of the virtual card for which the state switching operation aims, and keeping the switched state indicated by the state switching operation within a preset time length with the state switching operation as a starting point.
6. The method of claim 4, wherein the state model is updated by:
and in response to detecting the state switching operation of the user for the virtual card, updating the state model according to the time information and the position information of the state switching operation.
7. A virtual card switching apparatus, comprising:
the mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring time information and position information of the mobile terminal;
and the determining unit is used for determining the target state of the virtual card equipment of the mobile terminal according to the time information and the position information and updating the configuration of the virtual card equipment to the target.
8. The apparatus according to claim 7, wherein the determining unit is further configured to input the time information and the location information into a pre-established state model, and obtain a target state of the virtual card device of the mobile terminal, where the state model is used to represent a correspondence between the two pieces of time information and location information and a state of the virtual card device.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202010713726.5A 2020-07-22 2020-07-22 Virtual card switching method and device and electronic equipment Pending CN111930439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010713726.5A CN111930439A (en) 2020-07-22 2020-07-22 Virtual card switching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010713726.5A CN111930439A (en) 2020-07-22 2020-07-22 Virtual card switching method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111930439A true CN111930439A (en) 2020-11-13

Family

ID=73315235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010713726.5A Pending CN111930439A (en) 2020-07-22 2020-07-22 Virtual card switching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111930439A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761958A (en) * 2021-08-31 2021-12-07 联想(北京)有限公司 Electronic card management method and device, terminal equipment and storage medium
CN113765546A (en) * 2021-05-28 2021-12-07 荣耀终端有限公司 Virtual card switching method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156594A (en) * 2017-12-26 2018-06-12 上海展扬通信技术有限公司 A kind of method and terminal for realizing virtual card
CN108596604A (en) * 2018-05-09 2018-09-28 北京小米移动软件有限公司 Communication means, device and electronic equipment
CN110310113A (en) * 2019-05-20 2019-10-08 深圳市微付充科技有限公司 A kind of virtual card matching process, server and mobile terminal based on geographical location
CN111093180A (en) * 2019-12-31 2020-05-01 深圳Tcl新技术有限公司 NFC-based analog card switching method, terminal and computer storage medium
CN111432339A (en) * 2020-03-19 2020-07-17 RealMe重庆移动通信有限公司 Near field communication card switching method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156594A (en) * 2017-12-26 2018-06-12 上海展扬通信技术有限公司 A kind of method and terminal for realizing virtual card
CN108596604A (en) * 2018-05-09 2018-09-28 北京小米移动软件有限公司 Communication means, device and electronic equipment
CN110310113A (en) * 2019-05-20 2019-10-08 深圳市微付充科技有限公司 A kind of virtual card matching process, server and mobile terminal based on geographical location
CN111093180A (en) * 2019-12-31 2020-05-01 深圳Tcl新技术有限公司 NFC-based analog card switching method, terminal and computer storage medium
CN111432339A (en) * 2020-03-19 2020-07-17 RealMe重庆移动通信有限公司 Near field communication card switching method and device, storage medium and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765546A (en) * 2021-05-28 2021-12-07 荣耀终端有限公司 Virtual card switching method and electronic equipment
CN113765546B (en) * 2021-05-28 2022-05-27 荣耀终端有限公司 Virtual card switching method and electronic equipment
CN113761958A (en) * 2021-08-31 2021-12-07 联想(北京)有限公司 Electronic card management method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110362750B (en) Target user determination method, device, electronic equipment and computer readable medium
CN110633126B (en) Information display method and device and electronic equipment
CN111309415B (en) User Interface (UI) information processing method and device of application program and electronic equipment
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111290819B (en) Method and device for displaying operation prompt and electronic equipment
CN113741756A (en) Information processing method, device, terminal and storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111930439A (en) Virtual card switching method and device and electronic equipment
CN112256231A (en) Volume control method, device, terminal and storage medium
CN111309496A (en) Method, system, device, equipment and storage medium for realizing delay task
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN111597486A (en) Information processing method and device and electronic equipment
CN111694629A (en) Information display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN111798251A (en) Verification method and device of house source data and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN110727558A (en) Information prompting method and device, storage medium and electronic equipment
CN110620808A (en) Method and device for pushing information
CN110727882B (en) Information presentation method, electronic device and computer readable medium
CN112162686B (en) House resource information display method and device, electronic equipment and computer readable medium
CN115016878A (en) Information processing method and device and electronic equipment
CN111596987B (en) Page display method and device and electronic equipment
CN114089891A (en) Display control method and device and electronic equipment
CN111241443A (en) Method and device for pushing information and electronic equipment

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