Interaction processing method, apparatus, and device applied to sensing device
By deploying magnetic field sensors in NFC payment devices to detect magnetic field data and intelligently switching working modes, compatibility issues in NFC sensing interaction scenarios are resolved, enabling a more reliable payment method and improving user experience and business development.
Patent Information
- Application Number
- PCT/CN2024/128216
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-17
- Filing Date
- 2024-10-29
- Publication Date
- 2026-01-22
AI Technical Summary
There are compatibility and reliability issues in NFC sensing interaction scenarios, especially the compatibility issues between smartphones and NFC payment devices, which affect the normal development of business.
By deploying a magnetic field sensor in the NFC payment device to detect magnetic field data, the device determines whether to use card emulation mode or card reader mode based on changes in the magnetic field, and switches the mode accordingly to conduct business interactions.
It improves the compatibility and reliability of NFC payment devices, enabling users to make contactless payments using mobile phones or IC cards, thereby enhancing user experience and the reliability of business development.
Smart Images

Figure CN2024128216_22012026_PF_FP_ABST
Abstract
Description
An interactive processing method, apparatus, and device for use in sensing devices. Technical Field
[0001] This specification relates to the field of sensor interaction technology, and in particular to an interaction processing method, apparatus, and device applied to sensor devices. Background Technology
[0002] Near Field Communication (NFC) is a short-range, high-frequency radio technology that operates at a frequency of 13.56 MHz within a range of 20 centimeters. It evolved from contactless radio frequency identification (RFID) and interconnection technologies, providing a highly secure and fast communication method for various electronic products.
[0003] With the widespread use of NFC-enabled smartphones, NFC technology is increasingly being applied in the payment field. Currently, NFC payment devices operate as card readers, while the user's NFC-enabled smartphone operates as a card emulator, simulating a credit or debit card. Users can then achieve a similar effect to swiping a card by bringing their smartphone close to the NFC payment device for interaction.
[0004] However, in practical applications, the above-mentioned interaction methods may have compatibility issues, such as compatibility problems between some applications and smartphone manufacturers, which may introduce unreliability factors into the interaction and even affect the normal development of some businesses.
[0005] Therefore, for NFC sensing interaction scenarios, solutions that help improve compatibility and reliability are needed.
[0006] Summary of the Invention
[0007] This specification provides one or more embodiments of an interaction processing method, apparatus, device, and storage medium for use in sensing devices, in order to solve the following technical problem: for NFC sensing interaction scenarios, there is a need for solutions that help improve compatibility and reliability.
[0008] To solve the above-mentioned technical problems, one or more embodiments of this specification are implemented as follows.
[0009] This specification provides one or more embodiments of an interactive processing method applied to a sensing device, comprising: detecting magnetic field data through a magnetic field sensor deployed on the device; determining, based on the magnetic field changes reflected by the magnetic field data, whether to adopt a card simulation working mode or a card reader working mode; and using the working mode corresponding to the determination result to perform business interaction with the current sensing object that caused the magnetic field change.
[0010] This specification provides an interactive processing device for sensing devices according to one or more embodiments, comprising: a magnetic field data detection module, which detects magnetic field data through a magnetic field sensor deployed on itself; a working mode determination module, which determines whether to adopt a card simulation working mode or a card reader working mode based on the magnetic field changes reflected by the magnetic field data; and a sensing business interaction module, which performs business interaction with the current sensing object that caused the magnetic field change using the working mode corresponding to the determination result.
[0011] This specification provides an interactive processing device for a sensing device according to one or more embodiments, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform: detecting magnetic field data through a magnetic field sensor deployed on itself; determining, based on the magnetic field changes reflected by the magnetic field data, whether to adopt a card emulation working mode or a card reader working mode; and performing business interaction with the current sensing object that caused the magnetic field change using the working mode corresponding to the determination result.
[0012] This specification provides one or more embodiments of a non-volatile computer storage medium storing computer-executable instructions, the computer-executable instructions being configured to: detect magnetic field data using a magnetic field sensor deployed on itself; determine, based on the magnetic field changes reflected by the magnetic field data, whether to adopt a card emulation working mode or a card reader working mode; and, using the working mode corresponding to the determination result, perform business interaction with the current sensing object that caused the magnetic field change.
[0013] The above-described at least one technical solution adopted in one or more embodiments of this specification can achieve the following beneficial effects: The NFC payment device (sensing device) simultaneously applies a switchable card emulation working mode and a card reader working mode, and provides corresponding business support. This allows users to make contactless payments not only via mobile phones but also via IC cards for the same NFC payment device. In the case of mobile phone contactless payments, to solve compatibility issues, the mobile phone tends to use the card reader working mode, while the NFC payment device uses the card emulation working mode. By analyzing the scene changes of the NFC payment device, it can infer whether the currently approaching sensing object is a mobile phone or an IC card, and then intelligently select the working mode to be used by the NFC payment device between the card emulation working mode and the card reader working mode. This makes the interaction more reliable, helps promote business development, and also helps improve the user experience. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments or related technologies of this specification, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 is a flowchart illustrating an interactive processing method for a sensing device provided in one or more embodiments of this specification;
[0016] Figure 2 is a structural schematic diagram of an NFC payment device provided in one or more embodiments of this specification;
[0017] Figure 3 is a flowchart illustrating one working scheme of the NFC payment device in Figure 2 provided in one or more embodiments of this specification;
[0018] Figure 4 is a flowchart illustrating a magnetic field self-testing scheme provided in one or more embodiments of this specification;
[0019] Figure 5 is a flowchart illustrating a visual sensing device operation mode selection and application scheme provided by one or more embodiments of this specification;
[0020] Figure 6 is a flowchart illustrating a real-time visual prompting scheme for a user's sensing device provided by one or more embodiments of this specification;
[0021] Figure 7 is a schematic diagram of the structure of an interactive processing device applied to a sensing device provided in one or more embodiments of this specification;
[0022] Figure 8 is a schematic diagram of the structure of an interactive processing device applied to a sensing device provided in one or more embodiments of this specification. Detailed Implementation
[0023] This specification provides an interactive processing method, apparatus, device, and storage medium for use in sensing devices.
[0024] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.
[0025] In response to the problems mentioned in the background technology, this application considers breaking through the limitations of traditional thinking and not limiting NFC payment devices to a card reader working mode, but also making them compatible with a card emulation working mode in terms of business operations, and intelligently switching the working mode according to the actual situation.
[0026] When users make contactless payments by bringing their phones close to NFC payment devices, the phone operates in card reader mode, while the NFC payment device operates in card emulation mode. The phone actively senses and reads the data to be paid. This effectively reduces the permission requirements on the phone, makes it easier to be compatible with phone manufacturers, and also improves the security of user data.
[0027] It's important to note that the reason for simultaneously supporting two working modes, rather than uniformly adopting a card emulation mode, is to consider scenarios where there are large numbers of physical card users, such as those using public transportation, campus cards, or bank cards. In these scenarios, if the NFC payment device uses a card emulation mode, it would be incompatible because both parties cannot function as cards. Therefore, this application proposes an NFC sensing solution that allows for the coexistence and intelligent switching between card emulation and reader modes. It can function as a reader to read IC cards such as public transportation cards and bank cards, and also as an emulation card for mobile phones to read. Furthermore, it can identify whether the approaching object is an IC card or a mobile phone, and thus adopt the correct working mode for sensing interaction to process transactions normally.
[0028] Based on this overall approach, the solution proposed in this application will be further explained below.
[0029] Figure 1 is a flowchart illustrating an interactive processing method applied to a sensing device (e.g., an NFC device) according to one or more embodiments of this specification. The executing entity of this process can be a sensing device such as an NFC payment device or a module thereof. From a software perspective, the executing entity can be an application client on the sensing device, such as a POS app. Here, "sensing" primarily refers to the NFC sensing method. Of course, other sensing methods that also support card emulation and card reader modes can also be implemented using corresponding sensing devices.
[0030] In card emulation mode, the sensing device functions as an RFID-enabled IC card for a card reader to read. In card reader mode, the sensing device functions as a card reader, for example, reading relevant information from RFID-enabled IC cards, posters, or electronic tags for exhibition information.
[0031] The process in Figure 1 includes the following steps S102 to S106.
[0032] S102: Detects magnetic field data using a magnetic field sensor deployed on itself.
[0033] In one or more embodiments of this specification, one or more magnetic field sensors are deployed in the sensing device; in the case of multiple magnetic field sensors, they can be deployed in a distributed manner to detect magnetic field data more reliably and completely, magnetic field data from multiple magnetic field sensors can be fused, or magnetic field data from a specific magnetic field sensor can be filtered, and so on.
[0034] Magnetic field data can include magnetic field strength (and magnetic field direction if necessary), and specifically, it can also include the distribution data of magnetic field strength in the time and / or spatial dimensions.
[0035] S104: Based on the magnetic field changes reflected by the magnetic field data, determine whether to use the card simulation working mode or the card reader working mode.
[0036] Sensing devices themselves may generate magnetic fields, and the Earth also has a magnetic field, which can also affect sensing devices (the strength of the Earth's environmental magnetic field is generally in the tens of microteslas). However, under normal circumstances, both are relatively stable. If the sensing device is less affected by its surroundings, the magnetic field data detected by the magnetic field sensor should also be relatively stable, reflecting a magnetic field that remains essentially unchanged or changes within a small expected range. However, if a sensing object approaches, it may cause a significant change in the magnetic field. This application mainly focuses on two types of sensing objects: mobile phones (used as card readers) and IC cards. Through testing, the applicant found that mobile phones, due to their speakers and electronic components, possess relatively strong magnetic fields, generally ranging from tens to hundreds of microteslas. For example, the magnetic field strength of a common Apple phone can generally reach several hundred microteslas. Compared to mobile phones, IC cards have significantly lower magnetic field strengths. For example, the magnetic field strength of common access cards, bank cards, and public transport cards is generally in the single digits of microteslas. In this case, a mobile phone or IC card suddenly approaching the magnetic field sensor may respectively cause a change in the magnetic field strength of the sensor in the tens or single digits.
[0037] Based on the above observations, and according to the degree of change in magnetic field strength reflected in the magnetic field data, it can be inferred whether there is a sensing object approaching the sensing device, and further, whether the approaching sensing object is a mobile phone or an IC card. If the sensing object is a mobile phone, since the mobile phone is treated as a card reader (which can be controlled via an app on the phone to operate in card reader mode), the sensing device can correspondingly operate in card emulation mode. If the sensing object is an IC card, the sensing device can correspondingly operate in card reader mode.
[0038] Based on this line of thinking, the operating mode is determined according to the magnetic field influence capabilities of mobile phones and IC cards analyzed earlier. For example, if the magnetic field data shows a sufficiently large change in magnetic field strength, the current sensing object causing the change is most likely a mobile phone, so it can be determined that the card simulation operating mode is used; if the magnetic field data shows a relatively small change in magnetic field strength (but there is indeed a change), the current sensing object causing the change is most likely an IC card, so it can be determined that the card reader operating mode is used. The first two cases consider that there is indeed a sensing object approaching the sensing device, causing the magnetic field change. However, if the magnetic field data shows a very small or even constant change in magnetic field strength, it may indicate that there is no sensing object approaching the sensing device, and it is just a normal fluctuation of the ambient magnetic field.
[0039] Whether the change in magnetic field strength is large enough or insufficient can be determined based on one or more pre-set thresholds. For example, a first threshold and a second threshold can be obtained, with the first threshold being greater than the second threshold. If the magnetic field data indicates that the change in magnetic field strength is greater than the first threshold, then the card emulation mode is selected. If the magnetic field data indicates that the change in magnetic field strength is less than the second threshold, then the card reader mode is selected. If the magnetic field data indicates that the change in magnetic field strength is between the second and first thresholds, then the approaching sensing object could be a mobile phone or an IC card. Further analysis or continued detection of the magnetic field data can be performed, or it can be simply inferred to be an IC card, thus selecting the card reader mode. A third threshold, less than the second threshold, can also be set. If the magnetic field data indicates that the change in magnetic field strength is less than the third threshold, then it is determined that no sensing object is approaching.
[0040] Similarly, other sensing objects besides mobile phones and IC cards can also attempt to identify them by observing the different effects of changes in the magnetic field, thereby enabling the sensing device to adopt a suitable working mode for sensing and interaction.
[0041] S106: Using the working mode corresponding to the judgment result, perform business interaction with the current sensing object that caused the change in the magnetic field.
[0042] In one or more embodiments of this specification, when using the card emulation working mode, the current sensing object is highly likely to be a mobile phone; when using the card reader working mode, the current sensing object is highly likely to be an IC card.
[0043] Assuming the card emulation mode is selected, the sensing device will act as a simulated card, generating corresponding business information and storing it within the simulated card. The object causing the magnetic field change (e.g., a mobile phone) will then act as a card reader, reading the simulated card to obtain the business information and executing the corresponding transaction. Taking payment as an example, the sensing device could be an NFC payment terminal. If the card emulation mode is selected, it will act as a simulated card, generating payment information. The object causing the magnetic field change (e.g., a mobile phone) will then act as a card reader, reading the simulated card to obtain the payment information and executing the payment accordingly (e.g., a user confirming payment for an order on their mobile phone).
[0044] Using the method shown in Figure 1, the NFC payment device (sensing device) simultaneously applies a switchable card emulation mode and a card reader mode, with corresponding business support. This allows users to make contactless payments not only via their mobile phones but also via IC cards for the same NFC payment device. For mobile phone contactless payments, to address compatibility issues, the phone is preferentially set to use the card reader mode, while the NFC payment device uses the card emulation mode. By analyzing the changing scenarios of the NFC payment device, it can infer whether the approaching sensing object is a mobile phone or an IC card, and then intelligently select the appropriate working mode between card emulation and card reader modes. This ensures more reliable interaction, promotes business development, and improves user experience.
[0045] Based on the method in Figure 1, this specification also provides some specific implementation schemes and extension schemes of the method, which will be further explained below.
[0046] In one or more embodiments of this specification, before determining which working mode to adopt based on changes in magnetic field strength, the existing magnetic field can first be kept in a relatively stable state so that the stable state can be used as a benchmark to more reliably and accurately determine the changes caused by the approach of the sensing object.
[0047] Based on this, assuming the primary concern is the stability of the magnetic field strength value, a pre-emptive magnetic field self-test can be performed to determine the ambient magnetic field strength value. This ambient magnetic field strength value can then be used as a benchmark to determine changes in the magnetic field. The magnetic field self-test includes the following steps: initializing the ambient magnetic field strength value; determining the current magnetic field strength value based on magnetic field data and comparing it with the ambient magnetic field strength value; if the difference between the ambient and current magnetic field strength values is sufficiently large, the current magnetic field strength value is re-determined to check its stability; if it is sufficiently stable, the ambient magnetic field strength value is updated to the current magnetic field strength value. The ambient magnetic field strength value can be initialized to a small value (e.g., 0, or a typical Earth magnetic field value) to avoid confusion with the effects of subsequent sensing objects approaching. If the difference between the ambient and current magnetic field strength values is sufficiently large, it indicates that the initial ambient magnetic field strength value may be too small and does not reflect reality. By repeatedly testing and comparing the current magnetic field strength value, the true situation can be obtained, and the stable current magnetic field strength value can then be used to update the ambient magnetic field strength value.
[0048] Furthermore, when checking whether the current magnetic field strength value is sufficiently stable, it is necessary to measure the current magnetic field strength value multiple times. A suitable current magnetic field strength value as a benchmark can be dynamically determined, and the stable holding time can be dynamically re-recorded using the new benchmark until the desired value is achieved, thus helping to measure stability more reliably. Specifically, for example, if the difference between the ambient magnetic field strength value and the current magnetic field strength value is large enough, the current magnetic field strength value before redetering can be used as the last updated magnetic field strength value, and the corresponding last update time can be recorded. The current magnetic field strength value is then redetermined, and it is determined whether the difference between the redetermined current magnetic field strength value and the last updated magnetic field strength value is large enough. If it is not large enough, but the difference between the current time and the last update time is large enough, then the current magnetic field strength value is determined to be sufficiently stable. If it is large enough, the last updated magnetic field strength value is updated to the redetermined current magnetic field strength value, and the last update time is updated to the current time, and the current magnetic field strength value is redetermined again.
[0049] It should be noted that before performing a magnetic field self-test, it's essential to ensure no object is nearby to avoid affecting the test results. For example, a Time-of-Flight (TOF) distance sensor can be deployed on or near the sensing device to detect distance data. Based on this data, it can be determined whether an object is approaching the device, allowing the magnetic field self-test to proceed without an object present. Similarly, it's also possible to determine if the sensing device itself is in motion, as motion can affect the reliability of the self-test results. Therefore, for instance, an angular velocity sensor can be deployed on or near the sensing device to detect angular velocity data. Based on this data, it can be determined whether the sensing device is currently stationary, allowing the magnetic field self-test to proceed without motion.
[0050] Similarly, after the magnetic field self-test is completed and a relatively reliable environmental magnetic field strength value is obtained, assuming that a sensing object is approaching the sensing device, before determining the operating mode, for example, it can use its own deployed angular velocity sensor to detect angular velocity data. Based on the angular velocity data, it can determine that the sensing device is not currently in motion, so that a judgment can be made under this premise; and / or, it can use its own deployed TOF distance sensor to detect distance data. Based on the distance data, it can determine that an object is approaching the sensing device, so that a judgment can be made under this premise. This can ensure that subsequent changes in the magnetic field are precisely caused by the approaching sensing object, thus making the subsequent judgment results more reliable.
[0051] Based on the foregoing description, and more intuitively, taking a payment scenario as an example, this specification provides a schematic diagram of the structure of an NFC payment device in one or more embodiments, as shown in Figure 2.
[0052] The NFC payment device in Figure 2 mainly includes an induction coil, an NFC controller, a Time-of-Flight (TOF) sensor, an angular velocity sensor, multiple magnetic field sensors, and other possible sensors. Figure 2 illustrates an exemplary distribution scheme for these components. Distributed deployment of multiple magnetic field sensors can address issues such as the limited sensing range and low sensing stability of individual sensors. For example, if one or two magnetic field sensors detect a mobile phone, it can be assumed that the user is currently using the phone for contactless payment. The NFC payment device also includes a corresponding payment application, which, compared to traditional solutions, can additionally include a magnetic field self-test module and a working mode control module.
[0053] Figure 3 is a flowchart illustrating one working scheme of the NFC payment device in Figure 2 provided in one or more embodiments of this specification.
[0054] The process in Figure 3 includes the following steps S302 to S308.
[0055] S302: Read the data from the angular velocity sensor and determine whether the device itself is in a moving state. If it is in a moving state, the ambient magnetic field is inherently unstable. You can wait for the next data until the device stops and then enter the second step.
[0056] S304: Read the data from the TOF distance sensor to confirm whether there is an object approaching, that is, whether a user is coming to prepare for payment. Assume that the user has not affected the magnetic field at this time.
[0057] S306: The ambient magnetic field self-check module further detects whether the ambient magnetic field is stable through several magnetic field sensors. This step can also be performed in advance. When self-checking, the ambient magnetic field can be initialized to 0. In the initial state, the step of judging the working mode cannot be entered. If the ambient magnetic field is stable for more than a certain period of time, update the ambient magnetic field intensity value.
[0058] S308: The judgment module. If the ambient magnetic field intensity value is stable and a user approaches to swipe the card, then judge whether it is an IC card or a mobile phone by comparing the difference between the ambient magnetic field intensity value and the current magnetic field intensity value, and then intelligently adopt the corresponding working mode for service interaction.
[0059] For example, two threshold levels can be set, denoted as thdMagLow and thdMagHigh respectively, where thdMagLow < thdMagHigh. A fluctuation within the allowable error range of the magnetic field sensor or the entry of a card with a relatively low magnetic field can be considered when it is less than thdLow. A change in the magnetic field intensity between the two thresholds can be considered as the possible entry of a magnetic card into the detection range. A change in the magnetic field intensity greater than thdMagHigh can be considered as a possible change in the ambient magnetic field or the entry of a device with a relatively strong magnetic field such as a mobile phone into the detection range.
[0060] Furthermore, for step S306, more intuitively, one or more embodiments of this specification also provide a flow schematic diagram of a magnetic field self-check solution. Refer to FIG. 4. In FIG. 4, envMag represents the ambient magnetic field intensity value, curMag represents the current magnetic field intensity value, lastUpMag represents the last updated magnetic field value, lastUpTime represents the last update time, and curTime represents the current time.
[0061] The flow in FIG. 4 includes the following steps: Initialize envMag to 0; Initialize lastUpTime to 0, and lastUpMag can also be initialized to 0, which can be used to temporarily store the relatively stable magnetic field intensity value.
[0062] Obtain the data (new data) curMag at a certain moment, detect the difference between envMag and curMag. If the difference is large enough, it is considered that the magnetic field has changed and enter the next step; if the difference is small, there is no need to update and wait for the next new data.
[0063] Detect the difference between curMag and lastUpMag. If the difference is large enough, it is assumed that the magnetic field may still be changing. Update lastUpMag and lastUpTime to curMag and curTime respectively, representing the magnetic field and time of the most recent change. If the magnetic field is currently unstable, return to the previous step. If the difference between envMag and lastUpMag is small, it means that the magnetic field has been stable for a period of time, and proceed to the next step.
[0064] By continuously monitoring the difference between curTime and lastUpTime, the duration of the stable magnetic field can be determined. If the time is long enough (e.g., after a set number of seconds), it indicates that the magnetic field is stable enough, and curMag can be considered to truly represent envMag. Therefore, envMag can be updated to curMag, and the magnetic field is stable. If the time is insufficient, the system continues to wait for the next set of new data.
[0065] The previous examples mainly considered the changes in magnetic field strength. In practice, alternatively, the changes in magnetic field can be considered more accurately and comprehensively, such as changes in magnetic field direction and the overall magnetic field environment. In particular, this application also considers the possibility of visualizing the changes in magnetic field to make more accurate judgments and further guide diversified business operations.
[0066] Based on this idea, one or more embodiments of this specification provide a flowchart of a visual sensing device operation mode selection and application scheme, as shown in Figure 5.
[0067] The process in Figure 5 includes the following steps S502 to S510.
[0068] S502: Based on the magnetic field data, generate one or more simulated images of changes in magnetic induction lines.
[0069] In one or more embodiments of this specification, the magnetic field has both intensity and direction. The direction of the magnetic field at a specified point can be represented by the direction in which the magnetic induction lines point, and the density of the magnetic induction lines can represent the strength of the magnetic field. Multiple magnetic induction lines can be deployed in or near the sensing device to detect the magnetic field intensity and direction at multiple points, thereby simulating and plotting a pattern of magnetic induction line changes. During this process, if a sensing object approaches the sensing device, it will affect the magnetic field, thus forming a dynamically changing simulated pattern of magnetic induction lines. This dynamic change is influenced by the nature of the approaching object, its specific location, and its trajectory.
[0070] Based on this principle, by simulating changing images using magnetic induction lines, we can not only infer what the sensing object is in order to determine which working mode to adopt, but also optionally infer how the sensing object dynamically approaches, in order to further determine which of the diverse services to execute under the adopted working mode, without having to fixate on only one service, thus giving users more flexibility in service control.
[0071] S504: Compare the simulated change image of the magnetic induction lines with a preset reference image, wherein the reference image is generated when a specified card object or card reader object is near the sensing device for sensing.
[0072] Reference images can be generated based on different patterns observed when a specified card or reader object approaches (e.g., whether it approaches slowly or quickly, in a straight line or along a curve, and whether there are additional gestures such as drawing circles or zigzag lines during the approach). This feature comparison overcomes the limitations of previous methods that only compared magnetic field strength values, enabling more accurate comparison of image features across a wider range and multiple dimensions, thus improving reliability.
[0073] S506: Based on the result of the feature comparison, determine whether to use card emulation mode or card reader mode.
[0074] After determining the working mode, a pre-set fixed business can be executed (such as paying for the current order), or the subsequent steps S508 and S510 can be executed to intelligently and flexibly achieve diverse business adaptive selection.
[0075] S508: Among the multiple reference images corresponding to the adopted working mode, determine one reference image that was successfully matched during the feature comparison and use it as the target reference image, wherein each of the reference images corresponds to a different service.
[0076] In one or more embodiments of this specification, each working mode may correspond to one or more reference images. In the case of multiple reference images, different reference images may correspond to different services (for example, one service may be paying for the current order, another service may be reserving goods, yet another service may be receiving discounts, etc.). Of course, one working mode may also correspond to multiple different services, and each service may correspond to one or more reference images.
[0077] S510: Using the working mode corresponding to the judgment result, perform business interaction with the current sensing object that caused the change in the magnetic field, corresponding to the target reference image.
[0078] In this scenario, given a variety of available services, if a user wants to perform a particular service, they can bring the object close to the sensing device according to the proximity mode corresponding to that service. This triggers the sensing device to adaptively select the next service from among the available options, thus accurately meeting the user's current needs. For the user, this provides convenient operation, a good experience, a strong sense of intelligence and technology, and good flexibility and scalability.
[0079] Furthermore, one or more embodiments of this specification also provide a flowchart of a real-time visual prompting scheme for a user's sensing device, as shown in Figure 6.
[0080] The process in Figure 6 includes the following steps S602 to S606.
[0081] S602: After generating one or more simulated magnetic field line change images based on the magnetic field data, the simulated magnetic field lines in the simulated magnetic field line change images are packaged into virtual items and displayed to the user.
[0082] In one or more embodiments of this specification, the virtual item can be an item that is easy for the user to understand, especially one that will change dynamically later, so that such changes can be presented as naturally as possible. For example, the virtual item can be a virtual gift box, a bundle, or a balloon. Of course, while performing virtual packaging, the appearance can still retain the pattern of the magnetic induction lines to a certain extent, which also helps guide the user to more accurately execute the object proximity mode.
[0083] S604: As the current sensing object moves closer to the sensing device, the virtual item is controlled to change dynamically accordingly.
[0084] The dynamic distortion of the magnetic field caused by the object being approached by the sensing device can be intuitively represented by the dynamic changes of virtual objects. This also gives users an immediate sense of what kind of qualitative change will occur when the virtual object is about to be opened, which helps to make users more focused and interested.
[0085] S606: If it is determined whether to use card emulation mode or card reader mode, then control the virtual item to change into a card object or card reader object corresponding to the desired mode.
[0086] Step S606 provides an example of a prompting effect. For instance, assuming the virtual item is a bag, after the working mode is determined, the bag can be controlled to automatically open and reveal the image of a virtual IC card or card reader, thus clearly and vividly prompting the user about the role played by the current sensing device.
[0087] The solution shown in Figure 6 makes it easier for users to understand the real-time working status of the sensing device and its adaptive switching of working modes, thus making it easier to continue interacting with it.
[0088] Based on the same approach, one or more embodiments of this specification also provide apparatus and devices corresponding to the above methods, as shown in Figures 7 and 8. The apparatus and devices are capable of executing the above methods and related optional solutions accordingly.
[0089] Figure 7 is a schematic diagram of an interactive processing device applied to a sensing device according to one or more embodiments of this specification. The device includes: a magnetic field data detection module 702, which detects magnetic field data through a magnetic field sensor deployed on itself; a working mode determination module 704, which determines whether to use a card simulation working mode or a card reader working mode based on the magnetic field changes reflected by the magnetic field data; and a sensing business interaction module 706, which uses the working mode corresponding to the determination result to perform business interaction with the current sensing object that caused the magnetic field change.
[0090] Optionally, the working mode determination module 704 determines that the card simulation working mode is adopted if the magnetic field data reflects a sufficiently large change in magnetic field strength; and determines that the card reader working mode is adopted if the magnetic field data reflects an insufficiently large change in magnetic field strength.
[0091] Optionally, the working mode determination module 704 acquires a preset first threshold and a second threshold, wherein the first threshold is greater than the second threshold; if it is determined that the magnetic field data reflects a change in magnetic field strength greater than the first threshold, then it determines that a card simulation working mode is adopted; if it is determined that the magnetic field data reflects a change in magnetic field strength less than the second threshold, then it determines that a card reader working mode is adopted.
[0092] Optionally, in the case of using a card emulation mode, the current sensing object includes a mobile phone; in the case of using a card reader mode, the current sensing object includes an IC card.
[0093] Optionally, before determining whether to use the card simulation working mode or the card reader working mode based on the magnetic field changes reflected by the magnetic field data, the magnetic field data detection module 702 performs a magnetic field self-test to determine the ambient magnetic field strength value, so as to determine the magnetic field changes based on the ambient magnetic field strength value.
[0094] The magnetic field self-test includes the following steps: initializing the ambient magnetic field strength value; determining the current magnetic field strength value based on the magnetic field data and comparing it with the ambient magnetic field strength value; if the difference between the ambient magnetic field strength value and the current magnetic field strength value is large enough, then re-determining the current magnetic field strength value to detect whether the current magnetic field strength value is stable enough; if it is stable enough, then updating the ambient magnetic field strength value to the current magnetic field strength value.
[0095] Optionally, the magnetic field data detection module 702 takes the current magnetic field strength value before re-determination as the last updated magnetic field strength value and records the corresponding last update time; re-determines the current magnetic field strength value and determines whether the difference between the re-determined current magnetic field strength value and the last updated magnetic field strength value is large enough; if it is not large enough, and the difference between the current time and the last update time is large enough, then it determines that the current magnetic field strength value is stable enough; if it is large enough, then the last updated magnetic field strength value is updated to the re-determined current magnetic field strength value, and the last update time is updated to the current time, and the current magnetic field strength value is re-determined again.
[0096] Optionally, the working mode determination module 704 generates one or more simulated magnetic induction line change images based on the magnetic field data; compares the simulated magnetic induction line change images with a preset reference image, wherein the reference image is generated when a specified card object or card reader object is near the sensing device for sensing; and determines whether to use the card simulation working mode or the card reader working mode based on the result of the feature comparison.
[0097] Optionally, after generating one or more simulated magnetic induction line change images based on the magnetic field data, the working mode determination module 704 packages the simulated magnetic induction lines in the simulated magnetic induction line change images into virtual items and displays them to the user; as the current sensing object moves closer to the sensing device, the virtual items are dynamically changed accordingly; if it is determined whether a card simulation working mode or a card reader working mode is used, the virtual items are controlled to change into a card object or a card reader object corresponding to the working mode to be used.
[0098] Optionally, the sensing service interaction module 706 determines, among the multiple reference images corresponding to the determined working mode, a reference image that was successfully matched during the feature comparison, as the target reference image, wherein each of the reference images corresponds to a different service; and uses the working mode corresponding to the determination result to perform service interaction with the current sensing object that caused the change in the magnetic field, corresponding to the target reference image.
[0099] Optionally, before determining whether to use a card emulation working mode or a card reader working mode, the working mode determination module 704 detects angular velocity data using its own deployed angular velocity sensor, determines that the sensing device is not currently in motion based on the angular velocity data, and performs the determination under this premise; and / or, detects distance data using its own deployed TOF distance sensor, determines that an object is currently approaching the sensing device based on the distance data, and performs the determination under this premise.
[0100] Optionally, the sensing device is an NFC payment device; if the sensing service interaction module 706 adopts a card simulation working mode according to the judgment result, it acts as a simulated card and generates payment information, so that the current sensing object that causes the magnetic field change acts as a card reader to read the simulated card to obtain the payment information, and makes payment according to the payment information.
[0101] Figure 8 is a schematic diagram of the structure of an interactive processing device applied to a sensing device according to one or more embodiments of this specification. The device includes: at least one processor; and a memory communicatively connected to the at least one processor.
[0102] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the following: detect magnetic field data using a magnetic field sensor deployed on itself; determine whether to use a card emulation mode or a card reader mode based on the magnetic field changes reflected by the magnetic field data; and perform business interaction with the current sensing object that caused the magnetic field change using the mode corresponding to the determination result.
[0103] Based on the same idea, one or more embodiments of this specification also provide a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to: detect magnetic field data by means of a magnetic field sensor deployed on itself; determine whether to use a card emulation working mode or a card reader working mode based on the magnetic field changes reflected by the magnetic field data; and perform business interaction with the current sensing object that caused the magnetic field change by using the working mode corresponding to the determination result.
[0104] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0105] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0106] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0107] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.
[0108] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0109] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more flowchart illustrations and / or one or more block diagrams.
[0110] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0111] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0113] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0114] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0115] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0116] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0117] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0118] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0119] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.
Claims
1. An interaction processing method applied to an inductive device, comprising: detecting magnetic field data through a magnetic field sensor disposed on the self; judging whether to adopt a card simulation mode or a card reader mode according to a magnetic field change reflected by the magnetic field data; adopting a business interaction mode corresponding to the judging result to interact with a current inductive object causing the magnetic field change.
2. The method of claim 1, wherein the judging whether to adopt the card simulation mode or the card reader mode according to the magnetic field change reflected by the magnetic field data specifically comprises: judging to adopt the card simulation mode if the magnetic field data reflects that a magnetic field strength change is large enough; judging to adopt the card reader mode if the magnetic field data reflects that the magnetic field strength change is not large enough.
3. The method of claim 1 or 2, wherein the judging whether to adopt the card simulation mode or the card reader mode according to the magnetic field change reflected by the magnetic field data specifically comprises: obtaining a first threshold value and a second threshold value, the first threshold value being larger than the second threshold value; judging to adopt the card simulation mode if it is determined that the magnetic field data reflects that the magnetic field strength change is larger than the first threshold value; judging to adopt the card reader mode if it is determined that the magnetic field data reflects that the magnetic field strength change is smaller than the second threshold value.
4. The method of claim 1, wherein the current inductive object comprises a mobile phone in the case of adopting the card simulation mode; and the current inductive object comprises an IC card in the case of adopting the card reader mode.
5. The method of claim 1, wherein before the judging whether to adopt the card simulation mode or the card reader mode according to the magnetic field change reflected by the magnetic field data, the method further comprises: determining an ambient magnetic field strength value by performing a magnetic field self-checking, so as to determine the magnetic field change based on the ambient magnetic field strength value; wherein the magnetic field self-checking comprises the following steps: initializing the ambient magnetic field strength value; determining a current magnetic field strength value according to the magnetic field data, and comparing the current magnetic field strength value with the ambient magnetic field strength value; if a difference between the ambient magnetic field strength value and the current magnetic field strength value is large enough, continuing to redetermine the current magnetic field strength value to detect whether the current magnetic field strength value is stable enough; if stable enough, updating the ambient magnetic field strength value to the current magnetic field strength value.
6. The method of claim 5, wherein the continuing to redetermine the current magnetic field strength value to detect whether the current magnetic field strength value is stable enough specifically comprises: taking the current magnetic field strength value before the redetermination as a last updated magnetic field strength value, and recording a corresponding last update time; redetermining the current magnetic field strength value, and judging whether a difference between the redetermined current magnetic field strength value and the last updated magnetic field strength value is large enough; if not large enough, and a difference between a current time and the last update time is large enough, determining that the current magnetic field strength value is stable enough. If large enough, the last updated magnetic field strength value is updated to the re-determined current magnetic field strength value, and the last updated time is updated to the current time, and the re-determination of the current magnetic field strength value is continued.
7. The method of claim 1, wherein the determination of whether to adopt the card simulation mode or the card reader mode is based on the magnetic field data, and comprises: generating one or more magnetic induction line simulation change images based on the magnetic field data; performing feature comparison between the magnetic induction line simulation change images and preset reference images, the reference images being generated when a specified card object or card reader object is close to the sensing device; and determining whether to adopt the card simulation mode or the card reader mode based on the feature comparison result.
8. The method of claim 7, wherein after the generating one or more magnetic induction line simulation change images based on the magnetic field data, the method further comprises: wrapping the simulated magnetic induction lines in the magnetic induction line simulation change images into virtual objects and displaying the virtual objects to a user; dynamically changing the virtual objects according to the movement of the current sensing object close to the sensing device; and changing the virtual objects to a card object or a card reader object corresponding to the working mode to be adopted if it is determined to adopt the card simulation mode or the card reader mode.
9. The method of claim 7, wherein the business interaction with the current sensing object causing the magnetic field change in the working mode corresponding to the determination result comprises: determining a target reference image that successfully matches in the feature comparison from a plurality of reference images corresponding to the working mode to be adopted as the target reference image, each of the reference images corresponding to a different business; and performing the business interaction corresponding to the target reference image with the current sensing object causing the magnetic field change in the working mode corresponding to the determination result.
10. The method of claim 1, wherein before the determination of whether to adopt the card simulation mode or the card reader mode, the method further comprises: detecting angular velocity data by an angular velocity sensor deployed by itself, and determining that the sensing device is not currently in a motion state based on the angular velocity data, so as to perform the determination under this premise; and / or detecting distance data by a TOF distance sensor deployed by itself, and determining that there is currently an object close to the sensing device based on the distance data, so as to perform the determination under this premise.
11. The method of claim 1, wherein the sensing device is an NFC payment device, and the business interaction with the current sensing object causing the magnetic field change in the working mode corresponding to the determination result comprises: If the card simulation mode is adopted according to the judgment result, the current inductive object causing the magnetic field change is taken as a card reader to read the simulation card and generate the payment information, and payment is made according to the payment information.
12. An interactive processing device applied to an inductive device, comprising: a magnetic field data detection module for detecting magnetic field data through a magnetic field sensor disposed on the device; a working mode judgment module for judging whether to adopt a card simulation mode or a card reader mode according to the magnetic field change reflected by the magnetic field data; an inductive service interaction module for interacting with the current inductive object causing the magnetic field change in the working mode corresponding to the judgment result.
13. The device of claim 12, wherein the working mode judgment module judges to adopt the card simulation mode if the magnetic field data reflects that the amplitude of the magnetic field strength change is large enough. If the magnetic field data reflects that the amplitude of the magnetic field strength change is not large enough, the working mode judgment module judges to adopt the card reader mode.
14. The device of claim 12 or 13, wherein the working mode judgment module acquires a first threshold value and a second threshold value, the first threshold value being larger than the second threshold value. If the magnetic field data reflects that the amplitude of the magnetic field strength change is larger than the first threshold value, the working mode judgment module judges to adopt the card simulation mode. If the magnetic field data reflects that the amplitude of the magnetic field strength change is smaller than the second threshold value, the working mode judgment module judges to adopt the card reader mode.
15. The device of claim 12, wherein the current inductive object includes a mobile phone in the case of adopting the card simulation mode. The current inductive object includes an IC card in the case of adopting the card reader mode.
16. The device of claim 12, wherein the magnetic field data detection module determines an environmental magnetic field strength value by performing a magnetic field self-check before judging whether to adopt the card simulation mode or the card reader mode according to the magnetic field change reflected by the magnetic field data, so as to determine the magnetic field change based on the environmental magnetic field strength value. wherein, The magnetic field self-check includes the following steps: initializing the environmental magnetic field strength value; determining a current magnetic field strength value according to the magnetic field data and comparing the current magnetic field strength value with the environmental magnetic field strength value; if the difference between the environmental magnetic field strength value and the current magnetic field strength value is large enough, continuing to determine the current magnetic field strength value again to detect whether the current magnetic field strength value is stable enough; if the current magnetic field strength value is stable enough, updating the environmental magnetic field strength value to the current magnetic field strength value.
17. The device of claim 16, wherein the magnetic field data detection module takes the current magnetic field strength value before the determination again as a last updated magnetic field strength value and records a corresponding last update time; determines whether the difference between the current magnetic field strength value determined again and the last updated magnetic field strength value is large enough. If the current time is not enough large than the last update time, and the difference between the current time and the last update time is enough large, it is determined that the current magnetic field intensity value is stable enough; If it is enough large, the last update magnetic field intensity value is updated to the re-determined current magnetic field intensity value, the last update time is updated to the current time, and the re-determination of the current magnetic field intensity value is continued. 18.The apparatus of claim 12, wherein the working mode determining module generates one or more magnetic induction line simulation change images according to the magnetic field data; compares features of the magnetic induction line simulation change images with preset reference images, the reference images being generated in a case that a specified card object or a card reader object is close to the induction device for induction; determines whether to adopt a card simulation working mode or a card reader working mode according to a result of the feature comparison. 19.The apparatus of claim 18, wherein the working mode determining module, after generating the one or more magnetic induction line simulation change images according to the magnetic field data, packages the simulated magnetic induction lines in the magnetic induction line simulation change images into virtual objects and shows the virtual objects to a user; correspondingly controls the virtual objects to change dynamically according to a change of a movement of the current induction object close to the induction device; if it is determined to adopt the card simulation working mode or the card reader working mode, controls the virtual objects to change into a card object or a card reader object corresponding to the working mode to be adopted.
20. The apparatus of claim 18, wherein the sensing service interaction module, in judging the working mode adopted corresponds to a plurality of the reference images, determines a reference image successfully matched in the feature comparison as a target reference image, wherein, Each of the reference images corresponds to a different service; adopts the working mode corresponding to the determination result to perform a service interaction corresponding to the target reference image with the current induction object causing the magnetic field change. 21.The apparatus of claim 12, wherein the working mode determining module, before determining whether to adopt the card simulation working mode or the card reader working mode, detects angular velocity data through an angular velocity sensor deployed by itself, determines that the induction device is not in a motion state according to the angular velocity data, and performs the determination on the premise that the induction device is not in the motion state; and / or detects distance data through a TOF distance sensor deployed by itself, determines that there is an object close to the induction device according to the distance data, and performs the determination on the premise that there is the object close to the induction device. 22.The apparatus of claim 12, wherein the induction device is an NFC payment device; if the card simulation working mode is adopted according to the determination result, the induction service interaction module generates to-be-paid information as a simulation card, and causes the current induction object causing the magnetic field change to read the to-be-paid information as a card reader and perform payment according to the to-be-paid information. 23.An interaction processing device applied to an induction device, comprising: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform: Detecting magnetic field data through a magnetic field sensor disposed on the self; According to the magnetic field change reflected by the magnetic field data, it is determined whether to use a card simulation mode or a card reader mode; Using the working mode corresponding to the determination result to interact with the current inductive object causing the magnetic field change.
Citation Information
Patent Citations
Gesture sensing method, electronic equipment and storage medium
CN110941339A
Payment transaction method based on POS device, POS device and storage medium
CN117196614A
Simulation card switching method, electronic equipment and communication system
CN117494746A
Interaction processing method, device and equipment applied to induction equipment
CN118504594A
Mobile device and managing method thereof
US20130237153A1