CN115660001A - Near field communication card confirmation method and device, storage medium and electronic equipment - Google Patents

Near field communication card confirmation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115660001A
CN115660001A CN202211097212.7A CN202211097212A CN115660001A CN 115660001 A CN115660001 A CN 115660001A CN 202211097212 A CN202211097212 A CN 202211097212A CN 115660001 A CN115660001 A CN 115660001A
Authority
CN
China
Prior art keywords
near field
field communication
wifi
information
communication card
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
CN202211097212.7A
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.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN202211097212.7A priority Critical patent/CN115660001A/en
Publication of CN115660001A publication Critical patent/CN115660001A/en
Pending legal-status Critical Current

Links

Images

Abstract

The disclosure relates to the technical field of computers, and particularly discloses a near field communication card confirmation method and device, a computer readable storage medium and an electronic device. The near field communication card confirmation method comprises the following steps: determining a first matching result of the current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment; determining a second matching result of the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card; and determining a target near field communication card from the near field communication cards by combining the first matching result and the second matching result. The method and the device can improve the accuracy of determining the near field communication card.

Description

Near field communication card confirmation method and device, storage medium and electronic equipment
Technical Field
The disclosed embodiments relate to the field of computer technologies, and in particular, to a near field communication card confirmation method, a near field communication card confirmation apparatus, a computer-readable storage medium, and an electronic device.
Background
This section is intended to provide a background or context to the embodiments of the disclosure recited in the claims and the description herein is not admitted to be prior art by inclusion in this section.
With the rapid development of the computer and Communication technology fields, near Field Communication (NFC) technology is a new technology, which provides a secure and convenient Communication mode for devices, and devices using NFC technology can exchange data when approaching each other to complete short-distance Communication, for example, functions of access control opening, electronic payment, identity authentication, ticketing, and the like are implemented.
At present, the problem that a plurality of near field communication cards added for terminal equipment are difficult to accurately identify the near field communication cards required by card swiping exists, and the user use experience is influenced to a certain extent.
Disclosure of Invention
In this context, embodiments of the present disclosure desirably provide a near field communication card confirmation method, a near field communication card confirmation apparatus, a computer-readable storage medium, and an electronic device.
According to a first aspect of the disclosed embodiments, there is provided a near field communication card validation method, including: determining a first matching result of the current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment; determining a second matching result of the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card; and determining a target near field communication card from the near field communication cards by combining the first matching result and the second matching result.
According to a second aspect of the disclosed embodiments, there is provided a near field communication card validation apparatus, comprising: the terminal equipment comprises a first matching module, a second matching module and a third matching module, wherein the first matching module is used for determining a first matching result of the current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment; the second matching module is used for determining a second matching result of the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card; and the result processing module is used for combining the first matching result and the second matching result to determine a target near field communication card from the near field communication cards.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods described above.
According to a fourth aspect of the disclosed embodiments, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the methods described above via execution of the executable instructions.
According to the near field communication card confirmation method, on one hand, when a target near field communication card needs to be swiped, a first matching result of the current WIFI information and the near field communication card is determined according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment, and a second matching result of the current environment scene and the near field communication card is determined based on historical environment scene information corresponding to the near field communication card, so that the target near field communication card is determined from the near field communication cards by combining the first matching result and the second matching result. Due to the fact that the WIFI information on the periphery of the card swiping device and the environment scene information of the card swiping device are direct attributes of the card swiping device, the near field communication card in the terminal device can be directly associated with the card swiping device based on the perception of the terminal device on the WIFI information and the identification of the current environment scene, indirect attributes such as card swiping time and geographic position are avoided being introduced, the target near field communication card is accurately identified, manual switching is not needed, and the use experience of a user is improved. On the other hand, when the terminal device approaches the card swiping device to execute the card swiping operation, the current WIFI information and the current environment scene can be identified and the target near field communication card can be determined under the condition that a user is not sensitive, and the whole card swiping process is continuous and smooth. On the other hand, the method has practical significance for further using and popularizing the near field communication technology and equipment applying the near field communication technology by accurately identifying the target near field communication card.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 illustrates an application scenario diagram according to an embodiment of the present disclosure;
fig. 2 shows a flow chart of a near field communication card validation method according to an embodiment of the present disclosure;
FIG. 3 illustrates an interaction diagram prompting recording of environmental context information according to an embodiment of the present disclosure;
fig. 4 shows a flowchart of establishing correspondence between a near field communication card and historical WIFI information, according to an embodiment of the present disclosure;
FIG. 5 illustrates a flow diagram for one implementation of determining a first match result in accordance with an embodiment of the present disclosure;
fig. 6 illustrates a flowchart of determining a first matching result of current WIFI information with a near field communication card according to target WIFI information and historical WIFI information, in accordance with an embodiment of the present disclosure;
FIG. 7 shows a schematic diagram of the stages involved in determining a second match result, according to an embodiment of the present disclosure;
FIG. 8 illustrates a flow chart for determining a second match result of a current environmental scenario with a near field communication card, in accordance with an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating a determination of a second matching result between the current environment scene and the near field communication card through the BOF model according to the embodiment of the disclosure;
fig. 10 shows a flow chart for determining a target near field communication card from among the near field communication cards in combination with the first matching result and the second matching result according to an embodiment of the present disclosure;
FIG. 11 shows an interaction diagram presenting a near field communication card ordering in accordance with an embodiment of the disclosure;
FIG. 12 is a diagram illustrating a complete flow of completing a one-time card swipe in an application scenario according to an embodiment of the present disclosure;
fig. 13 shows a schematic diagram of a near field communication card validation apparatus according to an embodiment of the present disclosure;
FIG. 14 shows a schematic diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
The principles and spirit of the present disclosure will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the present disclosure, and are not intended to limit the scope of the present disclosure in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the present disclosure, a near field communication card confirmation method, a near field communication card confirmation apparatus, a computer-readable storage medium, and an electronic device are provided.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
Summary of The Invention
At present, more and more terminal devices supporting near field communication are provided, and generally, the same terminal device supports addition of a plurality of near field communication cards, such as a bus card, a community access card, an electronic identity card, a company access card, and the like. When the terminal equipment conducts card swiping, the terminal equipment needs to be switched to a correct card, otherwise, the card swiping is unsuccessful.
In the related technology, card swiping time and positioning information are obtained in real time through terminal equipment, and whether a certain geographic position range is entered or not is judged according to daily card swiping time and geographic position rules, so that a corresponding near field communication card is automatically switched. However, the method has the problem that different card swiping devices with similar positions are difficult to distinguish, for example, a community entrance guard, a unit building entrance guard and an entrance guard, and the card swiping time and the geographical position rule are difficult to distinguish accurately. However, in most cases, manual switching is still required after the card swiping fails for the first time based on a preset card swiping mode in sequence.
In view of this, embodiments of the present disclosure provide a near field communication card confirmation method, considering that, for a fixed card swiping device, WIFI information around the card swiping device and environment scene information of the card swiping device are direct attributes of the card swiping device, for example, for each card swiping device of a community entrance guard, a unit building entrance guard and an entrance guard, corresponding WIFI information and environment scene information of the card swiping device are relatively fixed and are not easy to be confused, and a near field communication card in a terminal device is directly associated with the card swiping device based on the WIFI information and the environment scene information. Therefore, according to the identified current WIFI information and historical WIFI information corresponding to the near field communication cards contained in the terminal device, a first matching result of the current WIFI information and the near field communication cards can be determined, a second matching result of the current environmental scenes and the near field communication cards can be determined based on the historical environmental scene information corresponding to the near field communication cards, and then the target near field communication cards can be determined by combining the first matching result and the second matching result.
Exemplary application scenarios
It should be noted that the following application scenarios are merely illustrated to facilitate understanding of the spirit and principles of the present disclosure, and embodiments of the present disclosure are not limited in this respect.
Fig. 1 is an application scenario diagram according to an embodiment of the present disclosure, which may relate to a mobile terminal of a user adding multiple NFC cards, for example, a card a, a card b, a card c, a card d, and a card e. Under the application scene, the target NFC card needs to be automatically identified from the multiple NFC cards when the card is swiped each time, so that the user can use the target NFC card to complete the card swiping, and the manual switching is avoided.
According to the near field communication card confirmation method, a WIFI information list (current WIFI information) identified by the mobile terminal is matched with historical WIFI information corresponding to each NFC card contained in the mobile terminal, so that a first matching result of the current WIFI information and each NFC card is determined, and the first matching result can reflect the condition that the current WIFI information appears in the historical WIFI information of the NFC card; based on historical environment scene information corresponding to each NFC card, a second matching result of the identified current environment scene and the NFC card can be determined, and the second matching result can reflect the condition that the current card swiping scene appears in the historical card swiping environment scene of the NFC card. And finally, determining a target NFC card meeting the current card swiping requirement from the NFC cards by combining the first matching result and the second matching result so as to successfully complete card swiping.
The number of the NFC cards in the mobile terminal is not particularly limited, and the NFC cards can be NFC simulation cards.
The terminal device may also be referred to as a mobile terminal, a mobile device, and the like, and the disclosed embodiments do not limit the type of the terminal device, and may include, but are not limited to, a smartphone, a tablet computer, a smart wearable device, a personal computer, and the like.
Having described the general principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
Exemplary method
The method for confirming a near field communication card of the present disclosure will be described in detail below with specific embodiments.
Fig. 2 shows a flowchart of a near field communication card validation method according to an exemplary embodiment of the present disclosure. As shown in fig. 2, the near field communication card confirmation method according to the exemplary embodiment of the present disclosure includes the following steps S210 to S230:
step S210: and determining a first matching result of the current WIFI information and the near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment.
In an exemplary embodiment of the present disclosure, a near field communication card, that is, an NFC card, may be classified into a card mode, a peer-to-peer mode, and a card reader mode. The card mode is to simulate the equipment with the NFC function into a non-contact card, such as an entrance guard card, a bank card and the like, and is mainly used for non-contact mobile payment application of markets, transportation and the like, entrance guard control, electronic ticket application and the like. In the peer-to-peer mode, two devices with NFC functions are connected to realize peer-to-peer data transmission, for example, a digital camera and a mobile phone with multiple NFC functions are wirelessly interconnected to realize data exchange. The card reader mode is used as a non-contact card reader, for example, relevant information is read from exhibition information, and the card reader mode can be applied to cinema tickets, ticket selling and the like.
A plurality of near field communication cards can be added to one terminal device, different types of near field communication cards can be added, different cards of the same type can also be added, and no special limitation is imposed on the method. The card swiping of the near field communication card is used for performing near field communication, namely, certain actions such as payment, door opening or unlocking are executed through the selected target near field communication card.
The historical WIFI information is WIFI information of the near field communication card when the card swiping is completed, and the current WIFI information is WIFI information recognized by the terminal equipment when the card swiping is needed. The WIFI information may include, but is not limited to, a WIFI identification (such as a WIFI name), WIFI signal strength information, and the like.
When different near field communication cards are used for swiping cards by different card swiping devices, the WIFI environments where the card swiping devices are located are different, and the identified WIFI information is different. The method and the device for matching the near field communication card can store historical WIFI information corresponding to the near field communication card, so that a first matching result with the near field communication card is determined according to the identified current WIFI information aiming at different WIFI environments. For example, the frequency of the historical WIFI information that the current WIFI information appears on the near field communication card may be taken as the first matching result.
Step S220: and determining a second matching result of the current environment scene and the near field communication card based on the historical environment scene information corresponding to the near field communication card.
In an exemplary embodiment of the present disclosure, the historical environment scene information corresponding to the near field communication card is an environment scene when the near field communication card finishes swiping. The environment scene may include an image of the card swiping device, an image of an environment in which the card swiping device is located, such as a bus scene environment, an office building scene environment, a cell gate scene environment, a residential building scene environment, a payment transaction scene environment, and the like.
When the near field communication card of the terminal equipment is used for swiping the card, the image of the card swiping equipment can be collected by opening the camera of the terminal equipment, and the image of the surrounding environment of the card swiping equipment can also be collected at the same time, so that the situation that different card swiping scenes use the card swiping equipment of the same type to cause the confusion of environment scene identification is avoided.
In some possible embodiments, a camera of the terminal device may be automatically turned on and environmental scene information may be collected when the card swiping is completed.
In some possible embodiments, it may be that a camera of the terminal device is turned on when the radio frequency field is detected.
In some possible embodiments, the shooting prompt message can be presented to the user when the card swiping is completed or the radio frequency field is detected.
Referring to fig. 3, which illustrates an interaction diagram for prompting recording of environment scene information according to an exemplary embodiment of the present disclosure, referring to fig. 3, a user may be prompted to collect environment scene information when a card swiping is completed based on the interaction interface illustrated in fig. 3, and after confirmation feedback of the user is obtained, a corresponding collection operation is performed.
The recognized current environment scene and the historical environment scene of the near field communication card can be subjected to feature matching, and a second matching result of the current environment scene and the near field communication card is determined according to the matching result.
Step S230: and determining a target near field communication card from the near field communication cards by combining the first matching result and the second matching result.
In an exemplary embodiment of the disclosure, after a first matching result of the current WIFI information and the near field communication cards and a second matching result of the current environmental scene and the near field communication cards are obtained, a target near field communication card may be determined from the near field communication cards in combination with the first matching result and the second matching result.
According to the near field communication card confirmation method, due to the fact that the WIFI information on the periphery of the card swiping device and the environment scene information of the card swiping device are direct attributes of the card swiping device, the near field communication card in the terminal device can be directly associated with the card swiping device based on the perception of the terminal device on the WIFI information and the recognition of the current environment scene, introduction of indirect attributes such as card swiping time and geographic position is avoided, the target near field communication card is accurately recognized, and manual switching is not needed. When the terminal equipment is close to the card swiping equipment to execute the card swiping operation, the current WIFI information and the current environment scene can be identified and the target near field communication card can be determined under the condition that a user feels nothing, the whole card swiping process is continuous and smooth, and the user experience is good.
In an exemplary embodiment, in order to determine a first matching result between current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to a near field communication card included in the terminal device, a corresponding relationship between the near field communication card and the historical WIFI information needs to be established. May include step S410 and step S420:
step S410: and determining the near field communication card set contained in the terminal equipment.
In order to match the identified current WIFI information with historical WIFI information of each near field communication card, a near field communication card set contained in the terminal equipment is determined firstly, and the near field communication card set comprises all near field communication cards added in the terminal equipment.
In some possible embodiments, a part of cards may be selected from all near field communication cards added in the terminal device to form a near field communication card set in response to a card designation operation of a user. For example, cards which are considered by the user to be temporarily unused can be removed from the near field communication card set according to the card designation operation of the user, so that the workload of subsequent card matching can be reduced, and the card matching efficiency can be improved.
Step S420: and acquiring WIFI information of each near field communication card in the near field communication card set when the card swiping is completed, and establishing a corresponding relation between each near field communication card and historical WIFI information.
The card is swiped by using different near field communication cards, and the WIFI information and the cards when the card swiping is completed are correspondingly stored, so that the corresponding relation between the near field communication cards and historical WIFI information is obtained.
Table 1 shows correspondence between the near field communication card and the historical WIFI information according to the exemplary embodiment of the present disclosure. Referring to table 1, each piece of historical WIFI information corresponding to each card includes a WIFI name, a WIFI signal strength, and a corresponding frequency of occurrence. For example, the signal strength corresponding to "WIFI-1" of card Y1 is "-31 db mm", and the corresponding frequency of occurrence is 1. The occurrence frequency is the accumulated occurrence frequency of the WIFI information.
TABLE 1
Figure BDA0003838563220000071
It should be noted that table 1 is merely an example, and the number of cards, the WIFI identifiers of the cards, the WIFI intensity information, and the cumulative occurrence number in the correspondence between the near field communication cards and the historical WIFI information according to the embodiment of the present disclosure are determined according to an actual application scenario. The WIFI signal strength information may also be in an interval range, and no special requirement is made for this.
In an exemplary embodiment, the card swiping operation can be completed in response to the current near field communication card, and historical WIFI information corresponding to the current near field communication card is updated according to the WIFI information when the card swiping is successful.
The corresponding times of completing card swiping of the near field communication card can reflect daily card swiping habits of users to a certain extent, and the corresponding accumulated times of card swiping needs to be updated every time for subsequent card matching calculation. And when the user finishes swiping the card by using the new near field communication card, the historical WIFI information is updated according to the related information of the new near field communication card, so that the historical WIFI information of each near field communication card can timely and accurately reflect the historical card swiping condition of the user.
Wherein, in the corresponding relation of near field communication card and historical WIFI information, can also add card description information, for example to card Y1, can add "worker card", to card Y2, can add "traffic card", etc..
In an exemplary embodiment, an implementation of determining a first match result is provided. As shown in fig. 5, determining a first matching result of the current WIFI information and the near field communication card according to the current WIFI information and the historical WIFI information corresponding to the near field communication card included in the terminal device may include steps S510 and S520:
step S510: and acquiring target WIFI information matched with the historical WIFI information in the current WIFI information. Step S520: and determining a first matching result of the current WIFI information and the near field communication card according to the target WIFI information and the historical WIFI information.
The target WIFI information refers to WIFI information of historical WIFI information of the near field communication card, which is identified by the terminal device, of current WIFI information, and the target WIFI information corresponding to the near field communication card in the terminal device is firstly acquired by the disclosed embodiment.
In an exemplary embodiment, different WIFI information may have the same WIFI identifier, but the WIFI signal strength corresponding to the WIFI identifier is different. For example, the terminal device can recognize WIFI information with a WIFI name of "aaccdd" in different scenes, but the WIFI signal strengths of the two pieces of WIFI information are different.
In order to accurately distinguish WIFI information, historical WIFI information corresponding to the near field communication card of the embodiments of the present disclosure includes WIFI indication information and corresponding cumulative occurrence frequency when the card swiping is successful. The WIFI indication information at least comprises a WIFI identification and corresponding WIFI signal intensity information when the card swiping is successful.
Since the WIFI indication information is used to uniquely identify the WIFI information, in an exemplary embodiment, it may be further determined that the target WIFI information is included in the historical WIFI information in response to that the WIFI indication information of the target WIFI information satisfies the first condition.
Wherein, the WIFI indicating information of the target WIFI information meeting the first condition comprises:
and target WIFI identification and target WIFI signal strength information corresponding to the target WIFI information exist in the historical WIFI information.
In one possible implementation, the WIFI signal strength information may include a WIFI signal strength value, and if a target WIFI identifier and a target WIFI information strength value exist in the historical WIFI information correspondingly, the WIFI information determined according to the target WIFI identifier and the target WIFI signal strength information is used as the target WIFI information.
Illustratively, if the WIFI information indicated by 'WIFI-1, signal strength-31 decibel milli' in the current WIFI information appears in the historical WIFI information, the WIFI information is determined to be the target WIFI information.
In another possible implementation, the WIFI signal strength information may also include a WIFI signal strength range. Because the WIFI signal strength value may be affected by factors such as the state of the terminal device (such as static state and moving state), the number of users sharing WIFI, and the like, the current WIFI information identified by the terminal device during card swiping may be different from the WIFI signal strength value in the historical WIFI information corresponding to the near field communication card, and there is fluctuation in a small range.
Illustratively, if the "WIFI-1" with the signal strength of-31 db mm "in the current WIFI information appears in the historical WIFI information, and the corresponding WIFI signal strength value is within the WIFI signal strength range" [ -31, -33] "corresponding to the" WIFI-1", the WIFI information determined according to the" WIFI-1, the signal strength of-31 db mm "is used as the target WIFI information.
The situation that the current WIFI information appears in the historical WIFI information of the near field communication card can be known by determining the target WIFI information, and the matching degree of the current WIFI information and the near field communication card can be determined to a certain extent by combining the historical card swiping habit of a user.
In an exemplary embodiment, determining a first matching result of the current WIFI information and the near field communication card according to the target WIFI information and the historical WIFI information may include steps S610 to S650:
step S610: based on historical WIFI information, first WIFI indicating information and corresponding first accumulated occurrence frequency in target WIFI information are obtained.
After target WIFI information in the current WIFI information is determined, all WIFI indication information in the target WIFI information and corresponding cumulative occurrence frequency are obtained.
Step S620: and acquiring second WIFI indication information and corresponding second cumulative occurrence frequency in the current WIFI information, wherein the second WIFI indication information comprises the first WIFI indication information.
The second WIFI indication information is all the identified current WIFI indication information in the current WIFI information, and the second WIFI indication information comprises the first WIFI indication information in the target WIFI information and also comprises the WIFI indication information which does not appear in the historical WIFI information in the current WIFI information.
Step S630: and based on the WIFI signal intensity information in the first WIFI indication information, carrying out fusion processing on the corresponding first cumulative occurrence frequency to obtain a first fusion result.
Step S640: and according to the WIFI signal intensity information in the second WIFI indication information, carrying out fusion processing on the corresponding second cumulative occurrence frequency to obtain a second fusion result.
According to the WIFI signal intensity information in the WIFI indication information, when fusion processing is carried out on the corresponding accumulated occurrence frequency, a weight value can be determined according to the WIFI signal intensity information, and a fusion result is calculated according to the weight value and the corresponding accumulated occurrence frequency.
For example, table 2 shows current WIFI information corresponding to a certain nfc card. As shown in table 2, the target WIFI information corresponding to the card 1 includes WIFI information corresponding to sequence numbers 6, 7, and 10, the target WIFI information corresponding to the card 2 includes WIFI information corresponding to sequence numbers 1 to 4, and the target WIFI information corresponding to the card 3 includes WIFI information corresponding to sequence numbers 8 and 9.
TABLE 2
Figure BDA0003838563220000091
Figure BDA0003838563220000101
Referring to table 1, the corresponding first cumulative occurrence frequency may be fused based on the WIFI signal strength information in the first WIFI indication information according to formula (1):
Figure BDA0003838563220000102
the method comprises the steps that x is a serial number of current WIFI information (including target WIFI information), y is a card serial number, m is the number of the target WIFI information, signal (x) is a WIFI Signal intensity value, freq (x, y) is the accumulated occurrence frequency of the WIFI x in historical WIFI information of the card y, A is a constant larger than or equal to 1, and B is a constant larger than or equal to 1. For example, A is 100 and B is 1, which is not particularly limited.
According to formula (2), based on the WIFI signal strength information in the second WIFI indication information, the corresponding second cumulative occurrence frequency is fused:
Figure BDA0003838563220000103
wherein n is the number of the current WIFI information, m belongs to n, and Freq (m, y) is more than or equal to 1.
Step S650: and generating a first matching result by using the first fusion result and the second fusion result.
The first matching result represents the frequency of the current WIFI information appearing in the historical WIFI information of the near field communication card. After a first fusion result R1 corresponding to the target WIFI information and a second fusion result R2 corresponding to the current WIFI information are obtained, a first matching result may be generated by using the first fusion result and the second fusion result by using the following formula (3):
Figure BDA0003838563220000104
illustratively, taking the card Y1 as an example, the generating the first matching result by using the first fusion result and the second fusion result is as follows:
Figure BDA0003838563220000105
accordingly, the first matching results of the card Y2 and the card Y3 can be obtained as 0.98 and 0.30, respectively.
Through the disclosed exemplary embodiment, the WIFI signal strength value can reflect the spatial position condition of the WIFI information and is used for distinguishing different WIFI information, the corresponding accumulated occurrence frequency is fused by taking the WIFI signal strength information as a weight, influence factors (WIFI information) of the fusion result on the spatial position are increased, and the expression accuracy of the fusion result is improved.
In an exemplary embodiment, determining the second matching result between the current environment scene and the near field communication card based on the historical environment scene information corresponding to the near field communication card may involve two stages, and fig. 7 is a schematic diagram illustrating one stage involved in determining the second matching result. As shown in fig. 7, a mapping relationship between different near field communication cards and an environment scene set is established, and then a second matching result between the current environment scene and the near field communication card is determined based on the mapping relationship and the collected current environment scene.
Establishing a mapping relationship between different near field communication cards and a set of environmental scenes may include:
acquiring an environment scene of each near field communication card in a near field communication card set contained in terminal equipment when card swiping is completed; and establishing a mapping relation between different near field communication cards and the environment scene set.
The environment scene of the near field communication card uploaded by a user can be acquired by opening the camera of the terminal device to acquire the environment scene when the card swiping is completed, so that the corresponding relation between different near field communication cards and the environment scene set is established.
The environment scene can include the card swiping equipment image acquired by the near field communication card through the camera when the card swiping is completed, and the image of the environment where the card swiping equipment is located. The set of environment scenes corresponding to the near field communication cards Y1, Y2 and Y3 is shown in table 3. Referring to table 3, the environmental scene set of the card Y1 includes an image of the card swiping device 1 and an image of a cell gate, the card Y2 includes an image of the card swiping device 2 and an image of a front door of a bus, and the card Y3 includes an image of the card swiping device 3 and an image of an office building.
TABLE 3
Card with detachable cover Set of environmental scenes
Y1 Image of card swiping device 1, cell gate image
Y2 Image of card swiping device 2, image of front door of bus
Y3 Card swiping device 3 image, image of office building
The environment scene set corresponding to the near field communication card comprises the image of the environment where the card swiping equipment is located besides the image of the card swiping equipment, and even if different scenes use the same type of card swiping equipment, the images of the environment where the card swiping equipment is located can be distinguished, so that confusion is avoided.
Because the image of the original environment scene may contain a large amount of redundant information and noise, which is not beneficial to subsequent feature comparison, the embodiment of the present disclosure may also perform preprocessing such as denoising in advance on the original environment scene, for example, remove noise by using low-pass filtering, and the embodiment of the present disclosure does not specially limit the preprocessing manner.
In the second stage, when the radio frequency field is detected, collecting a current environment scene, and performing feature comparison between the current environment scene and an environment scene in an environment scene set corresponding to the near field communication card, so as to determine a second matching result between the current environment scene and the near field communication card according to the comparison result, which may include steps S810 to S830:
step S810: when a radio frequency field is detected, the current environmental scene is collected.
Radio frequency is an electromagnetic wave with high frequency alternating current change, and when a radio frequency field is detected, a certain near field communication card in the terminal equipment needs to be activated to perform certain action. The process of the near field communication comprises the following steps: a card reader in the terminal equipment sends a radio frequency signal with a certain frequency through a transmitting antenna, when a near field communication card enters a working area of the transmitting antenna, induced current is generated, and the near field communication card can obtain energy to be activated. When a plurality of near field communication cards are contained in the terminal equipment, the currently activated target near field communication card needs to be determined. Therefore, when a radio frequency scene is detected, the current environment scene is collected when the card swiping requirement is met currently.
The camera of the terminal device can be automatically started, or the interactive interface shown in fig. 3 can be used for starting the camera of the terminal device by presenting prompt information and responding to the feedback operation of the user without special requirements.
Step S820: and comparing the current environment scene with the environment scenes in the environment scene set corresponding to the near field communication card.
Extracting a first image feature in the current environment scene, extracting a second image feature of the environment scene in the environment scene set corresponding to the near field communication card, and comparing the first image feature with the second image feature.
Step S830: and determining a second matching result of the current environment scene and the near field communication card according to the comparison result.
And comparing the first image characteristics of the current environment scene with the second image characteristics corresponding to each near field communication card respectively, and acquiring the matching degree of the current environment scene and the historical environment scene corresponding to each near field communication card, so as to determine the second matching result of the current environment scene and each near field communication card.
In an exemplary embodiment, the scene prediction model may also be trained according to a mapping relationship between different near field communication cards and the environment scene set, so as to perform analysis prediction on the current environment scene by using the scene prediction model, so as to obtain a second matching result between the current environment scene and the near field communication cards. The scene prediction model may be an image recognition model based on a neural network, a feature-of-Features (BOF) model for image classification, and the like, which are not particularly limited in the embodiments of the present disclosure.
Fig. 9 is a schematic diagram illustrating a second matching result of the current environment scene and the near field communication card determined by the BOF model. The following describes a process of determining the second matching result in the embodiment of the present disclosure, taking a processing process of the BOF model as an example.
Firstly, acquiring environment scene sets of different near field communication cards, taking environment scene images in the environment scene sets as training sets, and extracting local features or key point descriptions of all images in the training sets. For example, feature extraction is performed by using a Scale Invariant Feature Transform (SIFT) algorithm, and local features or keypoint descriptions (hereinafter referred to as SIFT features) of each image in the training set are generated.
And secondly, clustering SIFT features in a feature space to obtain a visual dictionary consisting of k vectors, and representing all image features through the visual dictionary.
Then, clustering the SIFT features of each image in the same clustering processing mode, dividing the SIFT features into k clusters, and counting a histogram for the SIFT features of each cluster of each image to obtain a k-dimensional histogram (namely BOF features) for representing the similarity frequency of the SIFT features of the image in a dictionary.
And further, feeding the k-dimensional vectors of each class into an SVM classifier for training to obtain a classification hyperplane for carrying out classification prediction on the environment scene images.
And finally, after the current environment scene is collected, extracting the SIFT features of the current environment scene, mapping each SIFT feature to a word in a visual dictionary to convert the SIFT features into k-dimensional vectors in a model training process, and analyzing and predicting through a classification hyperplane to obtain a second matching result of the current environment scene and the near field communication card.
When a user uses the terminal equipment to swipe a card, the back of the terminal equipment is close to the card swiping equipment generally, current environment scene information can be collected under the condition that the user does not sense the current environment scene information, and the current environment scene information is compared with the characteristics of the environment scenes in the environment scene set corresponding to the near field communication card, so that the user experience is good.
In an exemplary embodiment, in order to further improve the accuracy of an environment scene set corresponding to a near field communication card, environment scenes in the environment scene set all cover a card swiping environment of the near field communication card, and a card swiping operation can be completed in response to the current near field communication card, and a mapping relationship between different near field communication cards and the environment scene set can be updated according to environment scene information identified when the card swiping operation is successful.
In an exemplary embodiment, the determining the target near field communication card from the near field communication cards may be performed by combining the first matching result and the second matching result, and may include steps S1010 to S1030:
step S1010: and determining the weight of the first matching result and the second matching result according to the current WIFI information and the identification attribute characteristics of the current environment scene.
Step S1020: and calculating a target matching result of the corresponding near field communication card according to the weight, the first matching result and the second matching result.
Step S1030: and determining a target near field communication card from the near field communication cards according to the target matching result of each near field communication card.
The identification attribute feature refers to an attribute feature of a corresponding identification object. The identification object corresponding to the current WIFI information is WIFI information, the identification object corresponding to the current environment scene is an environment scene, weights corresponding to different identification attribute characteristics in calculating a target matching result of the near field communication card are different, and then the weights of the corresponding matching results (the first matching result or the second matching result) are different. For example, the weight of the first matching result is 0.7, and the weight of the second matching result is 0.3, which can be set according to the actual application scenario requirements, and is not limited to this.
And calculating a target matching result of the corresponding near field communication card according to the weight, the first matching result and the second matching result, performing weighted summation on the corresponding numerical values of the first matching result and the second matching result by using the weight, taking the obtained numerical values as the target matching result, and determining the target matching result from each near field communication card according to the target matching result of the near field communication card.
In an exemplary embodiment, the first matching result may be determined to be a target matching result in response to the second matching result meeting the second condition, and the target near field communication card may be determined from the near field communication cards according to the target matching result of each near field communication card.
The second matching result meeting the second condition may include:
1) The second matching result conflicts with the first matching result, and the first matching result is greater than the first matching degree threshold. The second matching result and the first matching result conflict means that the matching degree sequence of each near field communication card and the current WIFI information determined according to the first matching result is different from the matching degree sequence of each near field communication card and the current WIFI information determined according to the second matching result, and if the matching degree value corresponding to the target matching result determined according to the first matching result is greater than the first matching degree threshold value, the first matching result is determined to be the target matching result. Or
2) The second match result is null. When the card is swiped, the current environment scene may not be timely acquired or the matching result of the current environment scene and the near field communication card cannot be output, the second matching result is a space, and the first matching result can be determined as a target matching result.
In an exemplary embodiment, the second matching result may be determined as a target matching result in response to that the first matching result meets a third condition, and a target near field communication card may be determined from the near field communication cards according to the target matching result of each near field communication card.
The first matching result meets a third condition comprising any of:
1) The first match result is null. When the card is swiped, any WIFI signal may not be recognized or the matching result of the current WIFI information and each near field communication card cannot be output, and then the first matching result is empty.
2) The first matching result conflicts with the second matching result, and the second matching result is greater than the second matching degree threshold. And when the first matching result conflicts with the second matching result, if the matching degree value corresponding to the target matching result determined according to the second matching result is greater than the second matching degree threshold value, determining that the second matching result is the target matching result.
As can be seen from the above, if both the first matching result and the second matching result are not empty, the first matching result or the second matching result may be selected as the target matching result according to the magnitude relationship between the matching degree values corresponding to the first matching result and the second matching result and the matching degree threshold. If the first matching result is empty, the second matching result is adopted as the target matching result, if the second matching result is empty, the first matching result is adopted as the target matching result, the target matching result is determined through multiple optional modes, and the mode of determining the target matching result can be automatically switched under the condition that a user does not sense the target matching result so as to deal with various card swiping conditions.
In an exemplary embodiment, the target matching result represents the matching degree of the near field communication card and the current card swiping requirement. The higher the matching degree value of the near field communication card in the target matching result is, the higher the matching degree of the near field communication card and the current card swiping requirement is. The embodiment of the disclosure can obtain the highest matching degree from each target matching result, and determine the near field communication card corresponding to the highest matching degree as the target near field communication card.
When a user uses the terminal equipment to execute card swiping operation, the near field communication card corresponding to the highest matching degree is used as a target near field communication card to obtain energy to be activated so as to be used for near field communication, namely, the card swiping operation is completed, and the card swiping process is smooth. Due to the fact that the WIFI signal and the environment scene information of the card swiping equipment are determined attributes of the fixed card swiping equipment, influences of variable factors such as card swiping time and geographic position can be avoided, and the accuracy of determining the near field communication card is high.
In an exemplary embodiment, in order to further improve the user experience, the near field communication cards may be sorted in an order from a high matching degree to a low matching degree of the current card swiping requirement, and the sorted near field communication card sequence is presented.
Fig. 11 shows an interaction diagram presenting an ordering of near field communication cards according to an exemplary embodiment of the present disclosure. The sorted near field communication cards can be presented to the user based on the interactive interface shown in fig. 11, and since the sorting result is obtained according to the matching degree with the current card swiping requirement, the user can quickly find the required card from the sorting result, thereby avoiding the manual search of the user in a plurality of cards and improving the card swiping efficiency.
In an exemplary embodiment, if it is recognized that the user fails to swipe the card with the target nfc card, when the user does not manually switch the card and uses the terminal device again to swipe the card, the card is automatically switched to the next card according to the sequence, so that the user finishes swiping the card without sensing the card switching.
Fig. 12 shows a complete flow diagram of completing one card swiping in an application scenario. The method for confirming a nfc card according to the embodiment of the present disclosure will be described with a mobile terminal (e.g., a mobile phone) of a user adding a plurality of nfc cards.
Step 1210: and acquiring current environment scene information and identifying current WIFI information.
Step S1220: and judging whether historical environment scene information is initialized or not, and acquiring WIFI indication information and corresponding WIFI signal intensity information from the current WIFI information.
The initialization of the historical environment scene information refers to whether a mapping relation between different near field communication cards and an environment scene set is established or not. The WIFI indication information comprises a WIFI identification and corresponding WIFI signal strength information.
Step S1230: according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment, a first matching result of the current WIFI information and the near field communication card is determined, and a second matching result of the current environment scene and the near field communication card is determined based on historical environment scene information corresponding to the near field communication card.
The process of determining the first matching result and the second matching result is referred to steps S610 to S650 and steps S810 to S830, which are not repeated herein.
Step S1240: and calculating the target matching result of the corresponding near field communication card by combining the first matching result and the second matching result.
And determining weights of the first matching result and the second matching result according to the current WIFI information and the identification attribute characteristics of the current environment scene, and calculating a target matching result of the corresponding near field communication card according to the weights, the first matching result and the second matching result.
Step S1250: and sequencing the near field communication cards in sequence from high to low according to the matching degree of the near field communication cards with the current card swiping requirement.
And the target matching result represents the matching degree of the near field communication card and the current card swiping requirement, the near field communication cards are sequenced according to the matching degree, and the card swiping operation is executed.
Step S1260: and obtaining a card swiping result.
If the card swiping is successful, updating historical WIFI information corresponding to the current near field communication card according to the WIFI information when the card swiping is successful, and updating mapping relations between different near field communication cards and the environment scene sets according to the environment scene information identified when the card swiping is successful.
If the card swiping fails, the cards can be automatically switched according to the sequence or manually switched by the user, and the mapping relation between different near field communication cards and the environment scene set can be adjusted through manual intervention subsequently. Such as re-labeling the image, associating the image with a near field communication card, and the like.
Therefore, according to the confirmation method of the near field communication card in the embodiment of the disclosure, based on the perception of the terminal device on the WIFI signal and the image of the environment where the card swiping device is located, the target card is automatically determined from the multiple near field communication cards, the historical WIFI information and the historical environment scene information of the near field communication card are updated after the card swiping is successful each time, and the historical card swiping information of the near field communication card is continuously perfected, so that the accuracy of the subsequent card swiping is improved. Due to the fact that the WIFI signal and the image of the environment where the card swiping device is located are fixed and directly obtained aiming at the fixed card swiping device, the WIFI signal and the image have high stability and strong anti-interference capability. In addition, the back of the terminal equipment is close to the card swiping equipment, the current environment scene can be acquired while the card is swiped without multi-step operation, additional operation of a user is not needed when the WIFI signal is sensed, the whole card swiping process is continuous and smooth, and the user experience is good.
Exemplary devices
As shown in fig. 13, which is a schematic structural diagram of a near field communication card confirmation apparatus according to an exemplary embodiment of the present disclosure, the apparatus 1300 includes a first matching module 1310, a second matching module 1320, and a result processing module 1330.
The first matching module 1310 is configured to determine a first matching result between current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card included in the terminal device; a second matching module 1320, configured to determine a second matching result between the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card; the result processing module 1330 is configured to determine a target near field communication card from the near field communication cards according to the first matching result and the second matching result.
In an exemplary embodiment of the present disclosure, the apparatus 1300 further includes: the terminal equipment comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining a near field communication card set contained in the terminal equipment; the first acquisition module is used for acquiring WIFI information of each near field communication card in the near field communication card set when card swiping is completed, and establishing a corresponding relation between each near field communication card and historical WIFI information.
In an exemplary embodiment of the present disclosure, the apparatus 1300 further includes: the first updating module is used for responding to the fact that the current near field communication card finishes a card swiping operation and updating historical WIFI information corresponding to the current near field communication card according to the WIFI information when the card swiping is successful.
In an exemplary embodiment of the present disclosure, the first matching module 1310 includes: the acquisition unit is used for acquiring target WIFI information matched with the historical WIFI information in the current WIFI information; the first determining unit is used for determining a first matching result of the current WIFI information and the near field communication card according to the target WIFI information and the historical WIFI information.
In an exemplary embodiment of the present disclosure, the historical WIFI information corresponding to the near field communication card includes: WIFI indication information and corresponding accumulated occurrence frequency when the card swiping is successful; the WIFI indication information at least comprises a WIFI identification and corresponding WIFI signal intensity information when the card swiping is successful.
In an exemplary embodiment of the present disclosure, the obtaining unit is configured to: and responding to that WIFI indication information of the target WIFI information meets a first condition, and determining that the target WIFI information is included in the historical WIFI information.
In an exemplary embodiment of the present disclosure, the meeting of the WIFI indication information of the target WIFI information to the first condition includes: and the historical WIFI information correspondingly comprises a target WIFI identification and target WIFI signal intensity information of the target WIFI information.
In an exemplary embodiment of the present disclosure, the first determination unit is configured to: acquiring first WIFI indication information and corresponding first cumulative occurrence frequency in the target WIFI information based on the historical WIFI information; acquiring second WIFI indication information in the historical WIFI information and corresponding second cumulative occurrence frequency, wherein the second WIFI indication information comprises the first WIFI indication information; based on the WIFI signal intensity information in the first WIFI indication information, carrying out fusion processing on the corresponding first cumulative occurrence frequency to obtain a first fusion result; according to the WIFI signal intensity information in the second WIFI indication information, fusion processing is carried out on the corresponding second cumulative occurrence frequency to obtain a second fusion result; generating the first matching result by using the first fusion result and the second fusion result; the first matching result represents the frequency of the current WIFI information appearing in the historical WIFI information of the near field communication card.
In an exemplary embodiment of the present disclosure, the first determination unit is configured to: and determining a weight value according to the WIFI signal strength information, and calculating a fusion result according to the weight value and the corresponding cumulative occurrence frequency.
In an exemplary embodiment of the present disclosure, the apparatus 1300 further includes: the second acquisition module is used for acquiring an environment scene of each near field communication card in a near field communication card set contained in the terminal equipment when the card swiping is finished; and the relationship establishing module is used for establishing mapping relationships between different near field communication cards and the environment scene set.
In an exemplary embodiment of the present disclosure, the second matching module includes: the acquisition unit is used for acquiring the current environment scene when a radio frequency field is detected; the characteristic comparison unit is used for comparing the current environment scene with the environment scenes in the environment scene set corresponding to the near field communication card in a characteristic manner; and the second determining unit is used for determining a second matching result of the current environment scene and the near field communication card according to the comparison result.
In an exemplary embodiment of the present disclosure, the apparatus 1300 further includes: the training module is used for training a scene prediction model according to the mapping relation between the different near field communication cards and the environment scene set; the second matching module is configured to: and analyzing and predicting the current environment scene by using the scene prediction model to obtain a second matching result of the current environment scene and the near field communication card.
In an exemplary embodiment of the present disclosure, the apparatus further includes: and the second updating module is used for responding to the completion of the card swiping operation of the current near field communication card and updating the mapping relation between different near field communication cards and the environment scene set according to the environment scene information identified when the card swiping is successful.
In an exemplary embodiment of the present disclosure, an environment scene of the near field communication card when the card swiping is completed includes a card swiping device image acquired by the near field communication card through a camera when the card swiping is completed.
In an exemplary embodiment of the present disclosure, the result processing module 1330 includes: a third determining unit, configured to determine weights of the first matching result and the second matching result according to the current WIFI information and the identification attribute feature of the current environmental scene; the calculating unit is used for calculating a target matching result of the corresponding near field communication card according to the weight, the first matching result and the second matching result; and the fourth determining unit is used for determining the target near field communication card from each near field communication card according to the target matching result of each near field communication card.
In an exemplary embodiment of the present disclosure, the result processing module 1330 is configured to: in response to a second matching result meeting a second condition, determining the first matching result as a target matching result; and determining the target near field communication card from each near field communication card according to the target matching result of each near field communication card.
In an exemplary embodiment of the present disclosure, the second matching result meets the second condition, including: the second matching result conflicts with the first matching result, and the first matching result is greater than a first matching degree threshold value; or the second match result is null.
In an exemplary embodiment of the present disclosure, the result processing module 1330 is configured to: in response to the first matching result meeting a third condition, determining the second matching result as a target matching result; and determining the target near field communication card from each near field communication card according to the target matching result of each near field communication card.
In an exemplary embodiment of the present disclosure, the first matching result meets the third condition, including: the first match result is null; or the first matching result conflicts with the second matching result, and the second matching result is greater than a second matching degree threshold value.
In an exemplary embodiment of the present disclosure, the target matching result represents a matching degree of the near field communication card and a current card swiping requirement; the result processing module is configured to: and acquiring the highest matching degree from each target matching result, and determining the near field communication card corresponding to the highest matching degree as the target near field communication card.
In an exemplary embodiment of the present disclosure, the apparatus 1300 further includes: the sorting module is used for sorting the near field communication cards in sequence from high to low according to the matching degree of the near field communication cards with the current card swiping requirement; and the result presenting module is used for presenting the sequenced near field communication card sequence.
In an exemplary embodiment of the present disclosure, the apparatus 1300 further includes: and the communication module is used for carrying out near field communication based on the target near field communication card.
It should be noted that other specific details of the embodiments of the present disclosure have been described in detail in the embodiments of the present disclosure of the method, and are not described herein again.
Exemplary storage Medium
Storage media of exemplary embodiments of the present disclosure are explained below. The program product for implementing the above method according to the exemplary embodiment of the present disclosure may employ, for example, a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a device, such as a personal computer. However, the program product of the present disclosure is not so limited, and a readable storage medium in this document may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RE, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (FAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary electronic device
An electronic device of an exemplary embodiment of the present disclosure is explained with reference to fig. 14. The electronic device 1400 shown in fig. 14 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure. As in fig. 14, the electronic device 1400 is in the form of a general purpose computing device. The components of electronic device 1400 may include, but are not limited to: at least one processing unit 1410, at least one memory unit 1420, a bus 1430 that couples the various system components including the memory unit 1420 and the processing unit 1410, and a display unit 1440. Where the storage unit stores program code, the program code may be executed by processing unit 1410 such that processing unit 1410 performs steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above in this specification. For example, processing unit 1410 may perform method steps, etc., as shown in fig. 1.
The storage unit 1420 may include volatile memory units, such as a random access memory unit (RAM) 1421 and/or a cache memory unit 1422, and may further include a read-only memory unit (ROM) 1423. Storage unit 1420 may also include a program/utility 1424 having a set (at least one) of program modules 1425, such program modules 1425 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment. The bus 1430 may include a data bus, an address bus, and a control bus.
The electronic device 1400 may also communicate with one or more external devices 1500 (e.g., keyboard, pointing device, bluetooth device, etc.) via an input/output (I/O) interface 1450. The electronic device 1400 further includes a display unit 1440 connected to the input/output (I/O) interface 1450 for displaying. Also, the electronic device 1400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 1460. As shown, the network adapter 1460 communicates with the other modules of the electronic device 1400 via the bus 1430. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 1400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Although several modules or sub-modules of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units/modules described above may be embodied in one unit/module according to embodiments of the present disclosure. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Although the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that the present disclosure is not limited to the particular embodiments disclosed, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A near field communication card validation method, comprising:
determining a first matching result of the current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment;
determining a second matching result of the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card;
and determining a target near field communication card from each near field communication card by combining the first matching result and the second matching result.
2. The method according to claim 1, wherein the determining a first matching result of the current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card included in the terminal device comprises:
acquiring target WIFI information matched with the historical WIFI information in the current WIFI information;
and determining a first matching result of the current WIFI information and the near field communication card according to the target WIFI information and the historical WIFI information.
3. The method of claim 2, wherein the historical WIFI information corresponding to the near field communication card comprises:
WIFI indication information and corresponding accumulated occurrence frequency when the card swiping is successful;
the WIFI indication information at least comprises a WIFI identification and corresponding WIFI signal strength information when the card swiping is successful.
4. The method of claim 3, wherein the obtaining of target WIFI information in the current WIFI information that matches the historical WIFI information comprises:
responding to that WIFI indication information of the target WIFI information meets a first condition, and determining that the historical WIFI information comprises the target WIFI information;
wherein the WIFI indicating information of the target WIFI information meeting the first condition comprises:
and the historical WIFI information correspondingly comprises a target WIFI identification and target WIFI signal intensity information of the target WIFI information.
5. The method of claim 3, wherein the determining a first match result of the current WIFI information to the near field communication card according to the target WIFI information and the historical WIFI information comprises:
acquiring first WIFI indication information and corresponding first cumulative occurrence frequency in the target WIFI information based on the historical WIFI information;
acquiring second WIFI indication information and corresponding second cumulative occurrence frequency in the current WIFI information, wherein the second WIFI indication information comprises the first WIFI indication information;
based on the WIFI signal intensity information in the first WIFI indication information, carrying out fusion processing on the corresponding first cumulative occurrence frequency to obtain a first fusion result;
according to the WIFI signal intensity information in the second WIFI indication information, fusion processing is carried out on the corresponding second cumulative occurrence frequency to obtain a second fusion result;
generating the first matching result by using the first fusion result and the second fusion result;
the first matching result represents the frequency of the current WIFI information appearing in the historical WIFI information of the near field communication card.
6. The method according to claim 1, further comprising, before the determining a second matching result between the current environment scene and the near field communication card based on the historical environment scene information corresponding to the near field communication card, the steps of:
acquiring an environment scene of each near field communication card in a near field communication card set contained in the terminal equipment when card swiping is completed;
and establishing a mapping relation between different near field communication cards and the environment scene set.
7. The method according to claim 6, wherein the determining a second matching result of the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card comprises:
when a radio frequency field is detected, collecting the current environment scene;
comparing the current environment scene with the environment scenes in the environment scene set corresponding to the near field communication card in terms of characteristics;
and determining a second matching result of the current environment scene and the near field communication card according to the comparison result.
8. The method of claim 1, wherein determining a target near field communication card from each of the near field communication cards in combination with the first and second matching results comprises:
determining the weight of the first matching result and the second matching result according to the current WIFI information and the identification attribute characteristics of the current environment scene;
calculating a target matching result of the corresponding near field communication card according to the weight, the first matching result and the second matching result;
and determining the target near field communication card from each near field communication card according to the target matching result of each near field communication card.
9. A near field communication card confirmation apparatus, comprising:
the terminal equipment comprises a first matching module and a second matching module, wherein the first matching module is used for determining a first matching result of current WIFI information and a near field communication card according to the current WIFI information and historical WIFI information corresponding to the near field communication card contained in the terminal equipment;
the second matching module is used for determining a second matching result of the current environment scene and the near field communication card based on historical environment scene information corresponding to the near field communication card;
and the result processing module is used for combining the first matching result and the second matching result to determine a target near field communication card from the near field communication cards.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN202211097212.7A 2022-09-08 2022-09-08 Near field communication card confirmation method and device, storage medium and electronic equipment Pending CN115660001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211097212.7A CN115660001A (en) 2022-09-08 2022-09-08 Near field communication card confirmation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211097212.7A CN115660001A (en) 2022-09-08 2022-09-08 Near field communication card confirmation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115660001A true CN115660001A (en) 2023-01-31

Family

ID=84984191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211097212.7A Pending CN115660001A (en) 2022-09-08 2022-09-08 Near field communication card confirmation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115660001A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401469A (en) * 2020-03-27 2020-07-10 北京小米移动软件有限公司 Smart card calling method and device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401469A (en) * 2020-03-27 2020-07-10 北京小米移动软件有限公司 Smart card calling method and device and storage medium

Similar Documents

Publication Publication Date Title
RU2721828C1 (en) Method, device and system for person authentication
CN110362677B (en) Text data category identification method and device, storage medium and computer equipment
CN110909165B (en) Data processing method, device, medium and electronic equipment
CN110472675A (en) Image classification method, image classification device, storage medium and electronic equipment
CN108596616B (en) User data authenticity analysis method and device, storage medium and electronic equipment
US20180357643A1 (en) Apparatus and method of detecting abnormal financial transaction
KR20190106853A (en) Apparatus and method for recognition of text information
KR102449632B1 (en) Method and system for detecting fraud financial transaction
CN110688974A (en) Identity recognition method and device
CN109902644A (en) Face identification method, device, equipment and computer-readable medium
CN111325156A (en) Face recognition method, device, equipment and storage medium
CN109871891A (en) A kind of object identification method, device and storage medium
CN115935344A (en) Abnormal equipment identification method and device and electronic equipment
CN115660001A (en) Near field communication card confirmation method and device, storage medium and electronic equipment
CN113515988A (en) Palm print recognition method, feature extraction model training method, device and medium
CN114881711A (en) Method for carrying out anomaly analysis based on request behavior and electronic equipment
CN109087109B (en) Mobile payment confirmation method, device, system and storage medium
CN114360027A (en) Training method and device for feature extraction network and electronic equipment
CN112926491A (en) User identification method and device, electronic equipment and storage medium
CN112035334A (en) Abnormal equipment detection method and device, storage medium and electronic equipment
CN117011581A (en) Image recognition method, medium, device and computing equipment
CN107623715B (en) Identity information acquisition method and device
CN115640074A (en) Service data processing method and device and intelligent counter terminal
CN115222047A (en) Model training method, device, equipment and storage medium
CN112017634B (en) Data processing method, device, equipment and storage medium

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