CN113609881A - Method, device and equipment for determining analog card to be activated and storage medium - Google Patents

Method, device and equipment for determining analog card to be activated and storage medium Download PDF

Info

Publication number
CN113609881A
CN113609881A CN202110870022.3A CN202110870022A CN113609881A CN 113609881 A CN113609881 A CN 113609881A CN 202110870022 A CN202110870022 A CN 202110870022A CN 113609881 A CN113609881 A CN 113609881A
Authority
CN
China
Prior art keywords
target
terminal
card
information
determining
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
CN202110870022.3A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110870022.3A priority Critical patent/CN113609881A/en
Publication of CN113609881A publication Critical patent/CN113609881A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10019Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers.
    • G06K7/10079Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers. the collision being resolved in the spatial domain, e.g. temporary shields for blindfolding the interrogator in specific directions
    • G06K7/10089Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers. the collision being resolved in the spatial domain, e.g. temporary shields for blindfolding the interrogator in specific directions the interrogation device using at least one directional antenna or directional interrogation field to resolve the collision
    • G06K7/10099Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers. the collision being resolved in the spatial domain, e.g. temporary shields for blindfolding the interrogator in specific directions the interrogation device using at least one directional antenna or directional interrogation field to resolve the collision the directional field being used for pinpointing the location of the record carrier, e.g. for finding or locating an RFID tag amongst a plurality of RFID tags, each RFID tag being associated with an object, e.g. for physically locating the RFID tagged object in a warehouse
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Databases & Information Systems (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for determining an analog card to be activated, and belongs to the technical field of terminal equipment. The method comprises the following steps: after receiving a card information query request sent by a target terminal, determining a neighboring terminal located in a preset range around the target terminal; sending the target use information of the simulation card from the neighbor terminal to the target terminal; the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information. The technical scheme provided by the embodiment of the application can simplify the steps of activating the analog card and improve the intelligence of activating the analog card.

Description

Method, device and equipment for determining analog card to be activated and storage medium
Technical Field
The present application relates to the field of terminal device technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining an analog card to be activated.
Background
Currently, a simulation card is more and more common in people's daily life, wherein the simulation card is a virtual card set in a terminal for simulating a physical card, and at present, the simulation card can realize various functions including card swiping for taking a public transportation means, card swiping for home, card swiping for payment and the like. In general, a plurality of analog cards are generally provided in a terminal, and when the terminal is used, one of the analog cards needs to be selected and activated to use the activated analog card.
In the related art, the terminal may provide an analog card selection interface in which a user may manually select an analog card to activate and use.
However, the manual activation of the analog card by the user is cumbersome and not very intelligent.
Disclosure of Invention
Based on this, the embodiments of the present application provide a method, an apparatus, a device, and a storage medium for determining an analog card to be activated, which can simplify the steps of activating the analog card and improve the intelligence of activating the analog card.
In a first aspect, a method for determining an analog card to be activated is provided, the method comprising:
after receiving a card information query request sent by a target terminal, determining a neighboring terminal located in a preset range around the target terminal; sending the target use information of the simulation card from the neighbor terminal to the target terminal; the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
In a second aspect, a method for determining an analog card to be activated is provided, the method comprising:
sending a card information query request to a server; receiving target use information of the simulated card from the neighbor terminal which is positioned in a preset range around the target terminal and returned by the server based on the card information query request; and determining a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
In a third aspect, an apparatus for determining an analog card to be activated is provided, the apparatus comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a neighboring terminal positioned in a preset range around a target terminal after receiving a card information inquiry request sent by the target terminal;
the sending module is used for sending the target use information of the neighbor terminal to the simulation card to the target terminal;
the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
In a fourth aspect, there is provided an apparatus for determining an analog card to be activated, the apparatus comprising:
the first sending module is used for sending a card information inquiry request to the server;
the receiving module is used for receiving target use information of the simulated card from the neighbor terminal which is positioned in a preset range around the target terminal and returned by the server based on the card information inquiry request;
and the determining module is used for determining the target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
In a fifth aspect, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the method of determining an emulation card to be activated as described in the first and second aspects above.
A sixth aspect provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of determining an emulation card to be activated as described in the first and second aspects above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
by sending target use information of a neighbor terminal to a simulation card in a preset range around a target terminal to the target terminal after receiving a card use information query request sent by the target terminal, so that the target terminal determines a target simulation card to be activated from a plurality of simulation cards preset by the target terminal based on the target use information, because the use requirements of different users on the simulation cards in a geographic area with a smaller range are generally consistent under normal conditions, a target simulation card determined by the target terminal based on the target use information of the neighbor terminal to the simulation card in the vicinity of the target terminal is generally the simulation card which the user wants to activate for use, thus on one hand, the determined target simulation card to be activated can be ensured to meet the requirements of the users, and the accuracy is ensured, on the other hand, because the target terminal automatically determines the target simulation card to be activated based on the target use information of the neighbor terminal to the simulation card, and manual operation of a user is not required, so that the steps of activating the analog card can be simplified, and the intelligence of activating the analog card is improved.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a first method for determining an emulation card to be activated according to an embodiment of the present application;
fig. 3 is a flowchart of a technical process for determining a neighboring terminal according to an embodiment of the present application;
fig. 4 is a flowchart of a technical process for determining a neighbor terminal from candidate terminals according to an embodiment of the present application;
FIG. 5 is a flowchart of a second method for determining an emulation card to be activated according to an embodiment of the present application;
FIG. 6 is a flow chart of a technical process for determining a target emulation card according to an embodiment of the present application;
FIG. 7 is a flowchart of a third method for determining an emulation card to be activated according to an embodiment of the present application;
FIG. 8 is a block diagram of a first apparatus for determining an emulation card to be activated according to an embodiment of the present disclosure;
FIG. 9 is a block diagram of a second apparatus for determining an emulation card to be activated according to an embodiment of the present application;
FIG. 10 is a block diagram of a third apparatus for determining an emulation card to be activated according to an embodiment of the present application;
FIG. 11 is a block diagram of a first computer device provided in an embodiment of the present application;
fig. 12 is a block diagram of a second computer device provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The analog card is a virtual card which is arranged in a terminal and used for simulating a physical card, and is common in daily life of people. Generally speaking, according to the technical implementation means, the simulation cards can be divided into various types such as an NFC simulation card and a two-dimensional code simulation card, and according to the function division, the simulation cards can be divided into various types such as a bus simulation card, an entrance guard simulation card, a point simulation card, a member simulation card, a payment simulation card, and the like.
The terminal can communicate with an NFC card reader based on the NFC technology and transmits card information of the NFC analog card in the Communication process so as to realize card swiping use of the NFC analog card.
The two-dimensional code simulation card is a simulation card based on a two-dimensional code scanning technology, when the two-dimensional code simulation card is used, a terminal can display a two-dimensional code corresponding to the two-dimensional code simulation card, and the two-dimensional code simulation card can be swiped for use through scanning of two-dimensional code scanning equipment on the two-dimensional code.
Generally, a plurality of analog cards are usually set in a terminal, for example, three analog cards, namely a bus analog card, a residence entrance guard analog card and a company entrance guard analog card, may be set in the terminal, and when in use, the terminal needs to select one of the three analog cards to activate, so as to swipe the activated analog card for use.
In the related art, the terminal may provide an analog card selection interface in which a user may manually select an analog card to activate and use.
However, the manual activation of the analog card by the user is cumbersome and not very intelligent. In view of this, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for determining an analog card to be activated, where the analog card to be activated may be automatically selected by a terminal, and since a manual operation by a user is not required, a step of activating the analog card may be simplified, and intelligence of activating the analog card may be improved.
Referring to fig. 1, a schematic diagram of an implementation environment related to a method for determining an analog card to be activated according to an embodiment of the present application is shown, and as shown in fig. 1, the implementation environment may include a target terminal 101, a server 102, and at least one card using terminal 103 (only 2 card using terminals 103 are exemplarily shown in fig. 1). The target terminal 101 and each card-using terminal 103 can communicate with the server 102, the target terminal 101 is a terminal that needs to determine a target analog card to be activated, and the card-using terminal 103 is a terminal that has an analog card use behavior.
It should be noted that the target terminal 101 and each card terminal 103 may be a smart phone, a tablet, a wearable device, an MP3 player, an MP4 player, etc., and the embodiment of the present application is not limited to a specific type thereof. The server 102 may be one server or a server cluster including a plurality of servers.
Referring to fig. 2, a flowchart of a method for determining an emulation card to be activated according to an embodiment of the present application is shown, where the method for determining an emulation card to be activated can be applied to the server shown in fig. 1. As shown in fig. 2, the method for determining the analog card to be activated may include the steps of:
step 201, after receiving a card information query request sent by a target terminal, a server determines neighboring terminals located within a preset range around the target terminal.
In an optional embodiment of the present application, the card terminal having the simulated card usage behavior may upload, to the server, usage information of the simulated card by itself after completing the simulated card usage operation, and optionally, the card terminal may upload, to the server, at least one of position calibration information indicating a position of itself, usage time information of the simulated card by itself, and identification information of itself after completing the simulated card usage operation, where the identification information may be at least one of a physical address of the card terminal, a bluetooth connection address of the card terminal, and an International Mobile Equipment Identity (IMEI) of the card terminal.
It should be noted that the target terminal in the embodiment of the present application may also be a card terminal, that is, the target terminal performs the operation of simulating the use of the card before the current time, and uploads the information to the server after the operation of simulating the use of the card is completed.
It should also be noted that, in an alternative embodiment of the present application, in order to reduce the storage pressure, the server may delete, from the server, the information about the use of the analog card by the card terminal, the location calibration information of the card terminal, the information about the use time of the analog card by the card terminal, and the identification information of the card terminal, where the storage duration exceeds the preset duration threshold.
After receiving the card information query request sent by the target terminal, the server may determine, from the card information query request, a neighboring terminal located within a preset range of the target terminal from among the card terminals.
In a possible implementation manner, the card information query request sent by the target terminal may carry target location calibration information, where the target location calibration information may indicate a location of the target terminal, and the server may determine, according to the target location calibration information, a neighboring terminal located within a preset range of the target terminal from each card terminal.
In another possible implementation manner, the card-use information query request sent by the target terminal may carry identification information of the target terminal, the server may query, according to the identification information of the target terminal, target position calibration information uploaded to the server after the target terminal completes the operation of simulating the use of the card before the current time, and the server may determine, according to the target position calibration information, a neighboring terminal located within a preset range of the target terminal from each card-use terminal.
It should be noted that the preset range may be set by a technician or a user, and the preset range is not specifically limited in the embodiment of the present application, and in an alternative embodiment, the preset range is 20 meters around the target terminal.
It should be noted that, in some cases, the server cannot find the above-mentioned neighboring terminal from the card-using terminal, and at this time, the server may not perform the technical process of step 202 and send the indication that the neighboring terminal is not found to the target terminal.
Step 202, the server sends the target use information of the proximity terminal to the simulation card to the target terminal.
As described above, since the server stores the usage information of the virtual card by the user card terminal on the emulation card, the server can locally acquire the target usage information of the emulation card by the neighbor terminal after determining the neighbor terminal, and transmit the target usage information to the target terminal. The target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
The inventor of the present application finds that, in practical applications, the usage demands of different users on the analog card are generally consistent in a geographic area with a smaller range, for example, a certain smaller geographic area includes a bus stop, and the user generally needs to use the bus analog card in the geographic area, and for another example, a certain smaller geographic area is a residential building, and the user generally needs to use the access analog card in the geographic area, and for another example, a certain smaller geographic area is a shop, and the user generally needs to use the payment analog card in the geographic area.
Based on this, in the embodiment of the application, the server may send the target usage information of the proximity terminal to the simulation card to the target terminal, so that the target terminal determines the target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target usage information, and the target simulation card to be activated determined in this way generally meets the requirements of the user, and the accuracy is high.
In an alternative embodiment of the present application, the target usage information may include type information of an analog card used by the neighboring terminal last time, and as the name implies, the type information is used to indicate a type of the analog card used by the neighboring terminal last time, and the type may be a function type of the analog card, for example, the type may include a bus analog card type, an entrance guard analog card type, a point analog card type, a member analog card type, a payment analog card type, and the like. The type information can be used for the target terminal to determine a candidate simulation card of the same type as the simulation card used by the adjacent terminal in a plurality of simulation cards preset by the target terminal according to the type information, and the target simulation card is determined based on the candidate simulation card.
In one possible implementation, the target terminal may directly use a candidate emulation card of the same type as the emulation card used by the neighboring terminal as the target emulation card.
In another possible implementation manner, considering that multiple analog cards of the same type may be preset in the target terminal, for example, a residential entrance guard analog card and a corporate entrance guard analog card may be preset in the target terminal, and therefore, multiple candidate analog cards of the same type as the analog card used by the neighboring terminal may be in the target terminal, in order to enable the target terminal to further determine the target analog card from the multiple candidate analog cards, the target usage information may further include attribute information of the analog card used by the neighboring terminal last time, and the attribute information may be used by the target terminal to use the analog card of the same attribute as the analog card used by the neighboring terminal in the candidate analog cards as the target analog card according to the attribute information.
For example, for the type of the access control analog card, the attribute of the analog card indicated by the attribute information may be an office attribute, a residence attribute, or the like, and for the type of the bus analog card, the attribute of the analog card indicated by the attribute information may be a bus attribute, a subway attribute, a transfer attribute, or the like.
In an optional embodiment of the present application, after activating the target analog card, the target terminal may swipe the target analog card for use, and after completing the operation of using the analog card, the target terminal may upload, to the server, use information of the target analog card by itself, and in addition, the target terminal may also upload, to the server, at least one of target position calibration information used for indicating a position of the target terminal, use time information of the target analog card by itself, and identification information of the target terminal, so as to be stored by the server.
In this embodiment, after receiving a card information query request sent by a target terminal, target usage information of a neighbor terminal to a simulation card located in a preset range around the target terminal is sent to the target terminal, so that the target terminal determines a target simulation card to be activated from a plurality of simulation cards preset by the target terminal based on the target usage information, because in a general situation, usage demands of different users on the simulation cards in a geographic area with a smaller range are generally consistent, a target simulation card determined by the target terminal based on the target usage information of the neighbor terminal to the simulation card located in the vicinity of the target terminal is generally the simulation card that the user wants to activate for use, so that on one hand, it can be ensured that the determined target simulation card to be activated meets the demands of the users, and accuracy is ensured, on the other hand, because the target terminal automatically determines the target simulation card to be activated based on the target usage information of the neighbor terminal to the simulation card The card simulation does not need manual operation of a user, so that the steps of simulating card activation can be simplified, and the intelligence of simulating card activation is improved.
Referring to fig. 3, an exemplary technical process for determining a neighboring terminal is provided in an embodiment of the present application, and as shown in fig. 3, the technical process includes the following steps:
step 301, in response to the card information query request, the server determines candidate terminals located within a preset range around the target terminal.
As described above, in an optional embodiment of the present application, the card information query request may carry target location calibration information of the target terminal, and the server may determine candidate terminals located in a preset range around the target terminal according to the target location calibration information.
In the following, three exemplary ways of determining candidate terminals according to the target location calibration information are provided in the embodiments of the present application.
First, the target location calibration information may include a geographic location coordinate of the target terminal, and correspondingly, the location calibration information of the card-using terminal stored in the server may also include a geographic location coordinate of the card-using terminal, where the geographic location coordinate may be a GPS coordinate. After the server obtains the geographical position coordinates of the target terminal, a target geographical area can be determined according to the geographical position coordinates of the target terminal and the preset range, then, the server can determine the card using terminals located in the target geographical area according to the geographical position coordinates of the card using terminals stored by the server, and the server can take the determined card using terminals as candidate terminals.
And secondly, the target position calibration information may include a network Identifier of a local area network to which the target terminal is accessed, and correspondingly, the position calibration information of the card terminal stored in the server may also include a network Identifier of a local area network to which the card terminal is accessed, wherein the network Identifier of the local area network may be an SSID (Service Set Identifier) of a WIFI hotspot. After the server obtains the network identifier of the local area network to which the target terminal is accessed, the server may determine the co-network terminal that is accessed to the same local area network as the target terminal according to the network identifier of the local area network to which the target terminal is accessed and the network identifiers of the local area networks to which the card terminals are accessed, which are stored in the server, and the server may determine the candidate terminal from the co-network terminals.
In one possible implementation, the server may randomly select a candidate terminal from the terminals on the same network.
In another possible implementation manner, the server may select, from the terminals in the same network, a terminal whose duration between the time of reporting the network identifier and the current time is less than a preset duration threshold as a candidate terminal.
In yet another possible implementation manner, the target position calibration information further includes a Signal Strength of a local area network detected by the target terminal, and correspondingly, the position calibration information of the card terminal stored in the server may also include a Signal Strength of the local area network detected by the card terminal, where the Signal Strength may be represented by a Received Signal Strength Indicator (RSSI), and the server may obtain the Signal Strength of the local area network detected by the co-network terminal and use the co-network terminal whose difference between the detected Signal Strength and the Signal Strength detected by the target terminal is smaller than a preset difference threshold as a candidate terminal, where the preset difference threshold may be 10 dbm.
And thirdly, the target position calibration information comprises the identification of the terminal searched by the target terminal based on the near field communication technology and the near field communication signal strength of each searched terminal, wherein the near field communication technology can be a Bluetooth technology, the identification of the searched terminal can be a Bluetooth connection address, the near field communication signal strength can be represented by RSSI (received signal strength indicator) of a received Bluetooth broadcast signal, the server can take the card terminal which is searched by the target terminal and has the near field communication signal strength greater than a preset strength threshold value as a candidate terminal according to the target position calibration information, and the preset strength threshold value can be-75 dbm.
It should be noted that, in the embodiment of the present application, the server may determine the candidate terminal in combination with the above three ways.
For example, the server may preferentially determine the candidate terminal based on the first manner, if the candidate terminal cannot be obtained based on the first manner, the server may determine the candidate terminal based on the second manner, and if the candidate terminal cannot be obtained based on the second manner, the server may determine the candidate terminal based on the third manner.
For another example, the server may determine the candidate terminals based on the first, second, and third manners at the same time, and use the candidate terminals determined based on the first, second, and third manners as final candidate terminals.
For another example, the server may determine the candidate terminals based on the first, second, and third manners at the same time, and use a duplicate candidate terminal among the candidate terminals determined based on the first, second, and third manners as a final candidate terminal.
It should be noted that, in some cases, the server cannot find the candidate terminal from the card-using terminal, and at this time, the server may not perform the technical process of step 302 and send the indication that the neighbor terminal is not found to the target terminal.
Step 302, the server determines a neighboring terminal from the candidate terminals according to the target use time information of the candidate terminals to the simulation card.
The target use time information may include a use time of the last use of the analog card by the candidate terminal.
Referring to fig. 4, an exemplary technical process for determining a neighbor terminal from candidate terminals is provided in the embodiments of the present application, and as shown in fig. 4, the technical process includes the following steps:
step 401, the server determines a target candidate terminal using the analog card within a preset time before the current time from the candidate terminals according to the target using time information.
Considering that there is a higher possibility that the usage demands of different users in the same geographic area for the analog cards are consistent with each other at short intervals, in order to further ensure the accuracy of the determined target analog card, in addition to ensuring that the neighboring terminal is closer to the target terminal, it is also required to ensure that the time duration between the time when the neighboring terminal used the analog card last time and the current time is less than a preset time duration, for example, the preset time duration may be 1 minute. Therefore, in the embodiment of the application, the server may determine, from the candidate terminals, the target candidate terminal that used the analog card within a preset time period before the current time according to the target use time information.
It should be noted that, in some cases, the server cannot find the target candidate terminal from the candidate terminals, and at this time, the server may determine historical card statistical information of a geographic area where the target terminal is currently located, and determine whether the difference of the use of the simulated card by different users in the geographic area is greater than a preset difference threshold according to the historical card statistical information.
If the difference is smaller than the preset difference threshold, it indicates that the difference of the use of the analog card by different users in the geographic area where the target terminal is currently located is small, and in this case, the server may relax the screening condition for the target candidate terminal, for example, after increasing the preset duration according to a preset increase, continue to search for the target candidate terminal in the candidate terminals, or directly take the candidate terminal as the target candidate terminal.
On the contrary, if the difference is greater than or equal to the preset difference threshold, it indicates that the difference of the usage of the analog card by different users in the geographic area where the target terminal is currently located is large, and in this case, the server may not execute the technical process of step 402 and send the indication information that the neighboring terminal is not found to the target terminal.
Step 402, the server determines a neighboring terminal from the target candidate terminals.
If a plurality of target candidate terminals are provided, the target candidate terminal closest to the target terminal is taken as a neighbor terminal.
Referring to fig. 5, a flowchart of a method for determining an analog card to be activated according to an embodiment of the present application is shown, where the method for determining an analog card to be activated may be applied to the target terminal shown in fig. 1. As shown in fig. 5, the method for determining the analog card to be activated may include the steps of:
step 501, the target terminal sends a card information inquiry request to the server.
Considering that, for an emulation card of the type such as an NFC emulation card, a terminal generally cannot predict when the emulation card needs to be activated and used, in an alternative embodiment of the present application, a target terminal may periodically send a card information query request to a server, so as to ensure that, whenever the emulation card needs to be activated and used, the target terminal can obtain in advance target usage information of the emulation card by a neighbor terminal returned by the server according to the card information query request.
In addition, for the two-dimensional code simulation card and other types of simulation cards, the terminal generally activates and uses the simulation card after detecting the corresponding operation, and therefore, in an optional embodiment of the present application, the target terminal may send a card-use information query request to the server after detecting the specific operation, so as to obtain the target use information of the simulation card by the neighbor terminal returned by the server according to the card-use information query request.
As described above, in one possible implementation, the card information query request may carry identification information of the target terminal.
In another possible implementation manner, the card information query request may carry target location calibration information of the target terminal. Wherein, the target position calibration information includes at least one of the following contents: the system comprises the geographical position coordinates of a target terminal, the network identification of a local area network accessed by the target terminal, the network identification of the local area network accessed by the target terminal, the signal intensity of the local area network detected by the target terminal, the identification of the terminal searched by the target terminal based on the near field communication technology and the near field communication signal intensity of each searched terminal.
Step 502, the target terminal receives the target use information of the simulated card, which is returned by the server based on the card information query request and is located in the peripheral preset range of the target terminal.
Step 503, the target terminal determines a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
As described above, in an alternative embodiment of the present application, the target terminal may perform card swiping for the target analog card after activating the target analog card, and after completing the operation of using the analog card, the target terminal may upload the usage information of the target analog card by itself to the server, and furthermore, the target terminal may upload at least one of target location calibration information indicating the location of the target terminal, the usage time information of the target analog card by itself, and the identification information of the target terminal by itself to the server.
Referring to fig. 6, an embodiment of the present application provides a technical process for determining a target emulation card, as shown in fig. 6, the technical process includes the following steps:
step 601, the target terminal determines a candidate simulation card of the same type as the simulation card used by the neighboring terminal from a plurality of simulation cards preset by the target terminal according to the type information included in the target use information.
As described above, the type information included in the target usage information refers to the type information of the analog card that the neighbor terminal used last time.
Step 602, the target terminal determines a target simulation card based on the candidate simulation cards.
In an optional embodiment of the present application, the target usage information further includes attribute information of a simulation card used by the neighboring terminal last time, and the target terminal may use, as the target simulation card, a simulation card having the same attribute as that of the simulation card used by the neighboring terminal among the candidate simulation cards according to the attribute information.
It is noted that in an alternative embodiment of the present application, the server may not be able to successfully query the neighbor terminal, in which case the server may return an indication to the target terminal that the neighbor terminal was not found.
After receiving the indication information, the target terminal may determine a target emulation card to be activated based on the following manner.
In a first method, a target terminal provides a simulation card selection interface for a user to manually select a target simulation card in the simulation card selection interface.
In the second mode, the target terminal obtains historical card information of the target terminal in a geographic area corresponding to the target position calibration information according to the target position calibration information, and the target terminal determines a target simulation card according to the historical card information.
The historical card information includes type information of the analog card used by the target terminal in history, and optionally, the historical card information may further include attribute information of the analog card used by the target terminal in history.
The target terminal may take, as the target analog card, an analog card of the same type as that indicated by the type information included in the history card information among a plurality of analog cards preset by the target terminal itself; alternatively, the target terminal may set, as the target analog card, an analog card that is the same as the type indicated by the type information included in the history card information and that is the same as the attribute indicated by the attribute information included in the history card information, among a plurality of analog cards preset by the target terminal.
And in the third mode, the target terminal acquires the historical card information of the target terminal in the time period of the current time according to the current time, and the target terminal determines the target simulation card according to the historical card information.
The historical card information includes type information of the analog card used by the target terminal in history, and optionally, the historical card information may further include attribute information of the analog card used by the target terminal in history.
The target terminal may take, as the target analog card, an analog card of the same type as that indicated by the type information included in the history card information among a plurality of analog cards preset by the target terminal itself; alternatively, the target terminal may set, as the target analog card, an analog card that is the same as the type indicated by the type information included in the history card information and that is the same as the attribute indicated by the attribute information included in the history card information, among a plurality of analog cards preset by the target terminal.
Referring to fig. 7, a flowchart of a method for determining an emulation card to be activated according to an embodiment of the present application is shown, where the method for determining an emulation card to be activated can be applied in the implementation environment shown in fig. 1. As shown in fig. 7, the method for determining the analog card to be activated may include the steps of:
step 701, after completing the operation of using the analog card, the card terminal uploads the use information of the card terminal to the analog card, the position calibration information used for indicating the position of the card terminal, the use time information of the card terminal to the analog card, and the identification information of the card terminal.
Wherein the usage information includes type information of the analog card used by the card terminal last time, and as the name suggests, the type information is used for indicating the type of the analog card used by the card terminal last time, and the type can be a function type of the analog card. Optionally, the usage information may further include attribute information of an analog card used last time with the card terminal.
The location fix information may include at least one of: the geographical position coordinates of the card terminal, the network identifier of the local area network accessed by the card terminal and the signal intensity of the local area network detected by the card terminal.
The usage time information may include a usage time at which the analog card was last used by the card terminal.
The identification information may include at least one of a physical address of the card terminal, a bluetooth connection address of the card terminal, and an IMEI of the card terminal.
Step 702, the target terminal sends a card information inquiry request to the server.
In a possible implementation manner, the card information query request may carry identification information of the target terminal.
In another possible implementation manner, the card information query request may carry target location calibration information of the target terminal. Wherein, the target position calibration information includes at least one of the following contents: the system comprises the geographical position coordinates of a target terminal, the network identification of a local area network accessed by the target terminal, the network identification of the local area network accessed by the target terminal, the signal intensity of the local area network detected by the target terminal, the identification of the terminal searched by the target terminal based on the near field communication technology and the near field communication signal intensity of each searched terminal.
Step 703, in response to the card information inquiry request, the server determines candidate terminals located within a preset range around the target terminal from each card terminal.
Step 704, the server determines the target candidate terminal using the simulation card within the preset time before the current time from the candidate terminals according to the target use time information of the candidate terminal to the simulation card.
Step 705, the server determines a neighboring terminal from the target candidate terminals.
If a plurality of target candidate terminals are provided, the target candidate terminal closest to the target terminal is taken as a neighbor terminal.
And step 706, the server sends the target use information of the proximity terminal to the simulation card to the target terminal.
And 707, the target terminal determines a candidate analog card of the same type as the analog card used by the neighboring terminal from among a plurality of analog cards preset by the target terminal according to the type information included in the target usage information.
Step 708, the target terminal takes the simulation card with the same attribute as the simulation card used by the neighboring terminal in the candidate simulation cards as the target simulation card to be activated according to the attribute information included in the target use information.
Step 709, the target terminal activates and uses the target simulation card.
Step 710, after finishing the operation of using the target simulation card, the target terminal uploads the use information of the target simulation card, the target position calibration information, the use time information of the target simulation card and the identification information of the target simulation card to the server.
Referring to fig. 8, a block diagram of an apparatus 800 for determining an emulation card to be activated according to an embodiment of the present application is shown, where the apparatus 800 for determining an emulation card to be activated may be configured in the server described above. As shown in fig. 8, the means 800 for determining an analog card to be activated may include: a determination module 801 and a sending module 802.
The determining module 801 is configured to determine, after receiving a card information query request sent by a target terminal, a neighboring terminal located within a preset range around the target terminal.
The sending module 802 is configured to send target usage information of the neighbor terminal to the simulation card to the target terminal, where the target usage information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset in the target terminal according to the target usage information.
In an alternative embodiment of the present application, the determining module 801 is specifically configured to: responding to the card information inquiry request, and determining candidate terminals located in a preset range around the target terminal; and determining the neighbor terminal from the candidate terminals according to the target use time information of the candidate terminals to the simulation card.
In an alternative embodiment of the present application, the determining module 801 is specifically configured to: determining a target candidate terminal using the simulation card within a preset time before the current time from the candidate terminals according to the target using time information; the neighbor terminal is determined from the target candidate terminals.
In an alternative embodiment of the present application, the determining module 801 is specifically configured to: and if the number of the target candidate terminals is multiple, taking the target candidate terminal closest to the target terminal as the neighbor terminal.
In an optional embodiment of the present application, the card information query request carries target location calibration information of the target terminal, where the target location calibration information is used to indicate a location of the target terminal, and the determining module 801 is specifically configured to: and determining the candidate terminal located in a preset range around the target terminal according to the target position calibration information.
In an optional embodiment of the present application, the target location calibration information includes a geographic location coordinate of the target terminal, and the determining module 801 is specifically configured to: determining a target geographical area according to the geographical position coordinates and the preset range; and taking the terminal located in the target geographic area as the candidate terminal.
In an optional embodiment of the present application, the target location calibration information includes a network identifier of a local area network to which the target terminal accesses, and the determining module 801 is specifically configured to: according to the network identification, determining the same network terminal which is accessed to the same local area network with the target terminal; and determining the candidate terminal from the terminals in the same network.
In an optional embodiment of the present application, the target location calibration information further includes a signal strength of the local area network detected by the target terminal, and the determining module 801 is specifically configured to: acquiring the signal intensity of the local area network detected by the same-network terminal; and taking the same-network terminal with the difference between the detected signal intensity and the signal intensity detected by the target terminal smaller than a preset difference threshold value as the candidate terminal.
In an optional embodiment of the present application, the target location calibration information includes an identifier of a terminal searched by the target terminal based on a near field communication technology and a near field communication signal strength of each searched terminal, and the determining module 801 is specifically configured to: and according to the target position calibration information, taking the terminal which is searched by the target terminal and has the near field communication signal intensity larger than a preset intensity threshold value as the candidate terminal.
In an optional embodiment of the present application, the target usage information includes type information of a simulation card used by the neighboring terminal last time, where the type information is used by the target terminal to determine, according to the type information, a candidate simulation card of the same type as the simulation card used by the neighboring terminal among a plurality of simulation cards preset by the target terminal, and determine the target simulation card based on the candidate simulation card.
In an optional embodiment of the present application, the target usage information further includes attribute information of a simulation card used by the neighboring terminal last time, and the attribute information is used by the target terminal to regard a simulation card having the same attribute as the simulation card used by the neighboring terminal among the candidate simulation cards as the target simulation card according to the attribute information.
The device for determining the analog card to be activated provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated.
For specific limitations of the device for determining the analog card to be activated, reference may be made to the above limitations of the method for determining the analog card to be activated, which are not described herein again. The various modules in the above-described apparatus for determining an analog card to be activated may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a processor of the server or independent of the processor of the server in a hardware form, and can also be stored in a memory of the server in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 9, a block diagram of an apparatus 900 for determining an analog card to be activated according to an embodiment of the present application is shown, where the apparatus 900 for determining an analog card to be activated may be configured in the target terminal described above. As shown in fig. 9, the means 900 for determining an analog card to be activated may include: a first sending module 901, a receiving module 902 and a determining module 903.
The first sending module 901 is configured to send a card information query request to a server.
The receiving module 902 is configured to receive target usage information of the simulated card from the neighboring terminal located in a preset range around the target terminal, which is returned by the server based on the query request for card information.
The determining module 903 is configured to determine, according to the target usage information, a target analog card to be activated from a plurality of analog cards preset in the target terminal.
In an optional embodiment of the present application, the card information query request carries target location calibration information of the target terminal, where the target location calibration information is used to indicate a location of the target terminal;
the target position calibration information comprises at least one of the following contents:
the geographic position coordinates of the target terminal;
the network identification of the local area network accessed by the target terminal;
the network identification of the local area network accessed by the target terminal and the signal intensity of the local area network detected by the target terminal;
the target terminal searches the identification of the terminal based on the near field communication technology and the near field communication signal strength of each searched terminal.
In an optional embodiment of the present application, the target usage information includes type information of an analog card used by the neighboring terminal last time, and the determining module 903 is specifically configured to: according to the type information, determining candidate analog cards of the same type as the analog cards used by the adjacent terminal in a plurality of analog cards preset by the target terminal; the target mock card is determined based on the candidate mock cards.
In an optional embodiment of the present application, the target usage information further includes attribute information of an analog card used by the neighboring terminal last time, and the determining module 903 is specifically configured to: and according to the attribute information, taking the simulation card with the same attribute as the simulation card used by the adjacent terminal in the candidate simulation cards as the target simulation card.
Referring to fig. 10, another apparatus 190 for determining an analog card to be activated is provided in the embodiments of the present application, where the apparatus 190 for determining an analog card to be activated includes, in addition to modules included in the apparatus 900 for determining an analog card to be activated, an activation module 904 and a second sending module 905.
Wherein, the activating module 904 is configured to activate and use the target simulation card.
The second sending module 905 is configured to send, after the target analog card is used, the use information of the target analog card, the use time information of the target analog card, and the target position calibration information to the server, so that the server stores the use information, the use time information, and the target position calibration information correspondingly; the target position calibration information is used for indicating the position of the target terminal.
The device for determining the analog card to be activated provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated.
For specific limitations of the device for determining the analog card to be activated, reference may be made to the above limitations of the method for determining the analog card to be activated, which are not described herein again. The various modules in the above-described apparatus for determining an analog card to be activated may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a processor of the terminal in a hardware form or independent of the processor of the terminal, and can also be stored in a memory of the terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of determining an emulation card to be activated.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external server or terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of determining an emulation card to be activated. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment of the present application, there is provided a computer device, which may be a server, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
after receiving a card information query request sent by a target terminal, determining a neighboring terminal located in a preset range around the target terminal; sending the target use information of the simulation card from the neighbor terminal to the target terminal; the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: responding to the card information inquiry request, and determining candidate terminals located in a preset range around the target terminal; and determining the neighbor terminal from the candidate terminals according to the target use time information of the candidate terminals to the simulation card.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: determining a target candidate terminal using the simulation card within a preset time before the current time from the candidate terminals according to the target using time information; the neighbor terminal is determined from the target candidate terminals.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: and if the number of the target candidate terminals is multiple, taking the target candidate terminal closest to the target terminal as the neighbor terminal.
In an embodiment of the application, the inquiry request for card information carries target location calibration information of the target terminal, where the target location calibration information is used to indicate a location of the target terminal, and the processor, when executing the computer program, further implements the following steps: and determining the candidate terminal located in a preset range around the target terminal according to the target position calibration information.
In an embodiment of the present application, the target location calibration information includes a geographic location coordinate of the target terminal, and the processor, when executing the computer program, further implements the following steps: determining a target geographical area according to the geographical position coordinates and the preset range; and taking the terminal located in the target geographic area as the candidate terminal.
In an embodiment of the present application, the target location calibration information includes a network identifier of a local area network to which the target terminal is accessed; the processor, when executing the computer program, further performs the steps of: according to the network identification, determining the same network terminal which is accessed to the same local area network with the target terminal; and determining the candidate terminal from the terminals in the same network.
In an embodiment of the present application, the target location calibration information further includes signal strength of the local area network detected by the target terminal, and the processor, when executing the computer program, further implements the following steps: acquiring the signal intensity of the local area network detected by the same-network terminal; and taking the same-network terminal with the difference between the detected signal intensity and the signal intensity detected by the target terminal smaller than a preset difference threshold value as the candidate terminal.
In an embodiment of the application, the target location calibration information includes an identifier of a terminal searched by the target terminal based on the near field communication technology and a near field communication signal strength of each searched terminal, and the processor, when executing the computer program, further implements the following steps: and according to the target position calibration information, taking the terminal which is searched by the target terminal and has the near field communication signal intensity larger than a preset intensity threshold value as the candidate terminal.
In one embodiment of the application, the target usage information includes type information of a simulation card used by the neighboring terminal last time, wherein the type information is used for the target terminal to determine a candidate simulation card of the same type as the simulation card used by the neighboring terminal among a plurality of simulation cards preset by the target terminal according to the type information, and determine the target simulation card based on the candidate simulation card.
In one embodiment of the present application, the target usage information further includes attribute information of a simulation card used by the neighboring terminal last time, and the attribute information is used by the target terminal to regard a simulation card having the same attribute as the simulation card used by the neighboring terminal among the candidate simulation cards as the target simulation card according to the attribute information.
The implementation principle and technical effect of the computer device provided by the embodiment of the present application are similar to those of the method embodiment described above, and are not described herein again.
In one embodiment of the present application, a computer device is provided, which may be a terminal, and includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
sending a card information query request to a server; receiving target use information of the simulated card from the neighbor terminal which is positioned in a preset range around the target terminal and returned by the server based on the card information query request; and determining a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
In an embodiment of the present application, the card information inquiry request carries target location calibration information of the target terminal, where the target location calibration information is used to indicate a location of the target terminal;
the target position calibration information comprises at least one of the following contents:
the geographic position coordinates of the target terminal;
the network identification of the local area network accessed by the target terminal;
the network identification of the local area network accessed by the target terminal and the signal intensity of the local area network detected by the target terminal;
the target terminal searches the identification of the terminal based on the near field communication technology and the near field communication signal strength of each searched terminal.
In one embodiment of the application, the target usage information includes type information of an emulated card last used by the neighboring terminal, and the processor when executing the computer program further performs the steps of: according to the type information, determining candidate analog cards of the same type as the analog cards used by the adjacent terminal in a plurality of analog cards preset by the target terminal; the target mock card is determined based on the candidate mock cards.
In one embodiment of the application, the target usage information further includes attribute information of an emulated card last used by the neighboring terminal, and the processor when executing the computer program further implements the steps of: and according to the attribute information, taking the simulation card with the same attribute as the simulation card used by the adjacent terminal in the candidate simulation cards as the target simulation card.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: the target emulation card is activated and used.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: after the target simulation card is used, sending the use information of the target simulation card, the use time information of the target simulation card and the target position calibration information to the server for the server to correspondingly store; the target position calibration information is used for indicating the position of the target terminal.
The implementation principle and technical effect of the computer device provided by the embodiment of the present application are similar to those of the method embodiment described above, and are not described herein again.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of:
after receiving a card information query request sent by a target terminal, determining a neighboring terminal located in a preset range around the target terminal; sending the target use information of the simulation card from the neighbor terminal to the target terminal; the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: responding to the card information inquiry request, and determining candidate terminals located in a preset range around the target terminal; and determining the neighbor terminal from the candidate terminals according to the target use time information of the candidate terminals to the simulation card.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: determining a target candidate terminal using the simulation card within a preset time before the current time from the candidate terminals according to the target using time information; the neighbor terminal is determined from the target candidate terminals.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: and if the number of the target candidate terminals is multiple, taking the target candidate terminal closest to the target terminal as the neighbor terminal.
In an embodiment of the application, the inquiry request with card information carries target location calibration information of the target terminal, the target location calibration information being used to indicate a location of the target terminal, and the computer program when executed by the processor further implements the following steps: and determining the candidate terminal located in a preset range around the target terminal according to the target position calibration information.
In an embodiment of the application, the target location fix information comprises geographical location coordinates of the target terminal, and the computer program, when executed by the processor, further performs the steps of: determining a target geographical area according to the geographical position coordinates and the preset range; and taking the terminal located in the target geographic area as the candidate terminal.
In an embodiment of the present application, the target location calibration information includes a network identifier of a local area network to which the target terminal is accessed; the computer program when executed by the processor further realizes the steps of: according to the network identification, determining the same network terminal which is accessed to the same local area network with the target terminal; and determining the candidate terminal from the terminals in the same network.
In an embodiment of the application, the target location calibration information further includes signal strength of the local area network detected by the target terminal, and the computer program when executed by the processor further implements the following steps: acquiring the signal intensity of the local area network detected by the same-network terminal; and taking the same-network terminal with the difference between the detected signal intensity and the signal intensity detected by the target terminal smaller than a preset difference threshold value as the candidate terminal.
In an embodiment of the application, the target location calibration information includes an identifier of a terminal searched by the target terminal based on the near field communication technology and a near field communication signal strength of each searched terminal, and the computer program, when executed by the processor, further implements the following steps: and according to the target position calibration information, taking the terminal which is searched by the target terminal and has the near field communication signal intensity larger than a preset intensity threshold value as the candidate terminal.
In one embodiment of the application, the target usage information includes type information of a simulation card used by the neighboring terminal last time, wherein the type information is used for the target terminal to determine a candidate simulation card of the same type as the simulation card used by the neighboring terminal among a plurality of simulation cards preset by the target terminal according to the type information, and determine the target simulation card based on the candidate simulation card.
In one embodiment of the present application, the target usage information further includes attribute information of a simulation card used by the neighboring terminal last time, and the attribute information is used by the target terminal to regard a simulation card having the same attribute as the simulation card used by the neighboring terminal among the candidate simulation cards as the target simulation card according to the attribute information.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of:
sending a card information query request to a server; receiving target use information of the simulated card from the neighbor terminal which is positioned in a preset range around the target terminal and returned by the server based on the card information query request; and determining a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
In an embodiment of the present application, the card information inquiry request carries target location calibration information of the target terminal, where the target location calibration information is used to indicate a location of the target terminal;
the target position calibration information comprises at least one of the following contents:
the geographic position coordinates of the target terminal;
the network identification of the local area network accessed by the target terminal;
the network identification of the local area network accessed by the target terminal and the signal intensity of the local area network detected by the target terminal;
the target terminal searches the identification of the terminal based on the near field communication technology and the near field communication signal strength of each searched terminal.
In one embodiment of the application, the target usage information comprises information of a type of emulated card last used by the neighboring terminal, the computer program, when executed by the processor, further implementing the steps of: according to the type information, determining candidate analog cards of the same type as the analog cards used by the adjacent terminal in a plurality of analog cards preset by the target terminal; the target mock card is determined based on the candidate mock cards.
In one embodiment of the application, the target usage information further comprises attribute information of an emulated card last used by the neighboring terminal, the computer program, when executed by the processor, further implementing the steps of: and according to the attribute information, taking the simulation card with the same attribute as the simulation card used by the adjacent terminal in the candidate simulation cards as the target simulation card.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: the target emulation card is activated and used.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: after the target simulation card is used, sending the use information of the target simulation card, the use time information of the target simulation card and the target position calibration information to the server for the server to correspondingly store; the target position calibration information is used for indicating the position of the target terminal.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in M forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (SyMchliMk) DRAM (SLDRAM), RaMbus (RaMbus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (21)

1. A method of determining an analog card to be activated, the method comprising:
after receiving a card information query request sent by a target terminal, determining a neighboring terminal located in a preset range around the target terminal;
sending target use information of the neighbor terminal to the simulation card to the target terminal;
the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
2. The method according to claim 1, wherein the determining neighboring terminals located within a preset range around the target terminal comprises:
responding to the card information inquiry request, and determining candidate terminals located in a preset range around the target terminal;
and determining the neighbor terminal from the candidate terminals according to the target use time information of the candidate terminals to the simulation card.
3. The method of claim 2, wherein the determining the neighbor terminal from the candidate terminals according to the target usage time information of the candidate terminal on the emulated card comprises:
determining a target candidate terminal using the simulation card within a preset time before the current time from the candidate terminals according to the target using time information;
determining the neighbor terminal from the target candidate terminals.
4. The method of claim 3, wherein the determining the neighbor terminal from the target candidate terminals comprises:
and if the number of the target candidate terminals is multiple, taking the target candidate terminal closest to the target terminal as the neighbor terminal.
5. The method according to claim 2, wherein the card information inquiry request carries target location calibration information of the target terminal, the target location calibration information is used for indicating a location of the target terminal, and the determining candidate terminals located within a preset range around the target terminal in response to the card information inquiry request comprises:
and determining the candidate terminal located in a preset range around the target terminal according to the target position calibration information.
6. The method according to claim 5, wherein the target location calibration information includes geographic location coordinates of the target terminal, and the determining the candidate terminals located within a preset range around the target terminal according to the target location calibration information includes:
determining a target geographical area according to the geographical position coordinates and the preset range;
and taking the terminal positioned in the target geographic area as the candidate terminal.
7. The method according to claim 5, wherein the target location calibration information includes a network identifier of a local area network to which the target terminal accesses; the determining the candidate terminal located in the preset range around the target terminal according to the target position calibration information includes:
according to the network identification, determining the same network terminal which is accessed to the same local area network with the target terminal;
and determining the candidate terminal from the terminals in the same network.
8. The method according to claim 7, wherein the target location calibration information further includes signal strength of the local area network detected by the target terminal, and the determining the candidate terminal from the co-network terminals includes:
acquiring the signal intensity of the local area network detected by the same-network terminal;
and taking the same-network terminal with the difference between the detected signal intensity and the signal intensity detected by the target terminal smaller than a preset difference threshold value as the candidate terminal.
9. The method according to claim 5, wherein the target location calibration information includes an identifier of a terminal searched by the target terminal based on a near field communication technology and a near field communication signal strength of each searched terminal, and the determining the candidate terminals located within a preset range around the target terminal according to the target location calibration information includes:
and according to the target position calibration information, taking the terminal which is searched by the target terminal and has the close range communication signal intensity larger than a preset intensity threshold value as the candidate terminal.
10. The method according to any one of claims 1 to 9, wherein the target usage information includes type information of a simulation card used by the neighbor terminal last time, wherein the type information is used for the target terminal to determine a candidate simulation card of the same type as the simulation card used by the neighbor terminal from among a plurality of simulation cards preset by the target terminal according to the type information, and determine the target simulation card based on the candidate simulation card.
11. The method according to claim 10, wherein the target usage information further includes attribute information of a simulated card used by the neighboring terminal last time, the attribute information being used by the target terminal to regard a simulated card having the same attribute as the simulated card used by the neighboring terminal among the candidate simulated cards as the target simulated card according to the attribute information.
12. A method of determining an analog card to be activated, the method comprising:
sending a card information query request to a server;
receiving target use information of the simulated card from the neighbor terminal which is positioned in a preset range around the target terminal and returned by the server based on the card information query request;
and determining a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
13. The method according to claim 12, wherein the inquiry request with card information carries target location calibration information of the target terminal, the target location calibration information being used to indicate a location of the target terminal;
the target position calibration information comprises at least one of the following contents:
the geographic position coordinates of the target terminal;
the network identification of the local area network accessed by the target terminal;
the network identification of the local area network accessed by the target terminal and the signal intensity of the local area network detected by the target terminal;
and the target terminal searches the identification of the terminal based on the near field communication technology and the strength of the near field communication signal of each searched terminal.
14. The method according to claim 12 or 13, wherein the target usage information includes type information of a simulation card used by the neighboring terminal last time, and the determining a target simulation card to be activated from among a plurality of simulation cards preset by the target terminal according to the target usage information includes:
according to the type information, determining candidate analog cards of the same type as the analog cards used by the adjacent terminals in a plurality of analog cards preset by the target terminal;
determining the target mock card based on the candidate mock cards.
15. The method of claim 14, wherein the target usage information further includes attribute information of a simulated card last used by the neighbor terminal, and wherein the determining the target simulated card based on the candidate simulated cards comprises:
and according to the attribute information, taking the simulation card with the same attribute as the simulation card used by the adjacent terminal in the candidate simulation cards as the target simulation card.
16. The method according to any one of claims 12 to 15, wherein after determining the target emulation card to be activated from among a plurality of emulation cards preset in the target terminal, the method further comprises:
activating and using the target simulation card.
17. The method of claim 16, further comprising:
after the target simulation card is used, sending the use information of the target simulation card, the use time information of the target simulation card and the target position calibration information to the server for the server to correspondingly store;
the target position calibration information is used for indicating the position of the target terminal.
18. An apparatus for determining an analog card to be activated, the apparatus comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a neighboring terminal positioned in a preset range around a target terminal after receiving a card information inquiry request sent by the target terminal;
the sending module is used for sending the target use information of the simulation card from the neighbor terminal to the target terminal;
the target using information is used for the target terminal to determine a target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target using information.
19. An apparatus for determining an analog card to be activated, the apparatus comprising:
the first sending module is used for sending a card information inquiry request to the server;
the receiving module is used for receiving target use information of the simulated card, returned by the server based on the card information inquiry request, of the neighbor terminal located in the preset range around the target terminal;
and the determining module is used for determining the target simulation card to be activated from a plurality of simulation cards preset by the target terminal according to the target use information.
20. A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements a method of determining an emulation card to be activated as claimed in any one of claims 1 to 17.
21. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of determining an analog card to be activated according to any one of claims 1 to 17.
CN202110870022.3A 2021-07-30 2021-07-30 Method, device and equipment for determining analog card to be activated and storage medium Pending CN113609881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110870022.3A CN113609881A (en) 2021-07-30 2021-07-30 Method, device and equipment for determining analog card to be activated and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110870022.3A CN113609881A (en) 2021-07-30 2021-07-30 Method, device and equipment for determining analog card to be activated and storage medium

Publications (1)

Publication Number Publication Date
CN113609881A true CN113609881A (en) 2021-11-05

Family

ID=78338633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110870022.3A Pending CN113609881A (en) 2021-07-30 2021-07-30 Method, device and equipment for determining analog card to be activated and storage medium

Country Status (1)

Country Link
CN (1) CN113609881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247571A1 (en) * 2021-05-28 2022-12-01 荣耀终端有限公司 Method for switching virtual card, and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247571A1 (en) * 2021-05-28 2022-12-01 荣耀终端有限公司 Method for switching virtual card, and electronic device

Similar Documents

Publication Publication Date Title
US20220342713A1 (en) Information reporting method, apparatus and device, and storage medium
CN104412677A (en) Systems and methods for service set identifier-based location detection
TWI729705B (en) Identity recognition preprocessing, identity recognition method and system, user mobile equipment, recognition server equipment, biometric collection equipment, recognition server and computer equipment
CN107708084B (en) Data processing method and device, computer equipment and computer readable storage medium
CN105791516A (en) Terminal position information protection method and intelligent terminal
CN111866850A (en) Configuration file switching method and device, computer equipment and storage medium
CN105989280A (en) Application program authority management system, device and method
CN112261717A (en) Network registration method, device, user terminal and storage medium
CN109118291B (en) User authentication method and device in advertisement task popularization and computer equipment
CN105444757A (en) Navigation path generation method based on airport indoor environment and user terminal
CN112469092A (en) Multi-card mobile terminal optimal network selection method and device, computer equipment and storage medium
CN113609881A (en) Method, device and equipment for determining analog card to be activated and storage medium
CN113840279B (en) Analog card activation method, device, terminal and storage medium
CN112770380B (en) Specific absorption rate parameter adjusting method, specific absorption rate parameter adjusting device, computer equipment and storage medium
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
CN114223222A (en) Terminal payment method and device, terminal equipment and computer readable storage medium
CN108805512B (en) Attendance information recording method, equipment and system thereof
CN107040892B (en) Location information acquisition method, device and the mobile terminal of mobile terminal
CN103227846B (en) Dialing mode determination method and terminal equipment
CN116017462B (en) SIM card authorization management method, device and system
CN112000346A (en) File upgrading method and device, computer equipment and storage medium
CN106772480A (en) Positioning terminal, alignment system and localization method based on Big Dipper short message
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
CN111328068A (en) Card writing method and device, computer equipment and storage medium
CN107360534B (en) Method and equipment for establishing wireless connection

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