Near field communication control method and device and near field communication equipment

By deploying multiple antennas on the near-field communication device to judge and stimulate the working mode of the mobile phone, the induction range and efficiency problems of the near-field communication device are solved, and the communication success rate and efficiency of the mobile phone are improved.

CN119255218APending Publication Date: 2025-01-03ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411657965.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When existing near-field communication devices expand the sensing range, the signal intensity per unit area decreases, resulting in a shortening of the reading distance. The difference in the size, position and power consumption control logic of different mobile phone antennas affects the sensing effect, which in turn affects the success rate of near-field communication. and efficiency.

Method used

By deploying multiple antennas on the near field communication device, signals close to the object are collected, their working mode is judged, and if they are in unfriendly mode, they send excitation signals to exit unfriendly mode, and a communication connection is established to perform target services.

Benefits of technology

It improves the success rate and efficiency of near-field communication between merchant equipment and user mobile phones, and ensures the smooth execution of target services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255218A_ABST
    Figure CN119255218A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a near field communication control method, a near field communication control device and near field communication equipment. The success rate and the efficiency of near field communication between the near field communication equipment of a merchant and a mobile phone of a user can be improved. According to the scheme, the method comprises the following steps: acquiring a near field communication signal of a currently approaching induction object through one or more near field communication antennas deployed on near field communication equipment; according to the near field communication signal, performing working mode judgment on the sensing object; if it is judged that the induction object is in the unfriendly working mode, an excitation signal is sent to the induction object through at least one near field communication antenna, so that the induction object quits the unfriendly working mode in response to the excitation signal; and establishing a communication connection with the sensing object through at least one near field communication antenna, and executing a target service through the communication connection.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application submitted to the China Patent Office on August 9, 2024, with application number 202411090606.9 and invention name "Near Field Communication Control Method, Device and Near Field Communication Equipment". The full text of the application is incorporated into this application by reference. Technical Field

[0002] The present invention relates to the field of near field communication technology, and in particular to a near field communication control method, apparatus and near field communication equipment. Background Art

[0003] Near Field Communication (NFC) is a short-range, high-frequency radio technology that operates at a frequency of 13.56MHz within a distance of 20cm. It is an integration of contactless radio frequency identification (RFID) and interconnection technology, providing a very safe and fast communication method for various electronic products.

[0004] With the popularization of smartphones that support near-field communication functions, near-field communication technology has also been increasingly used in areas such as payment. Merchants can use near-field communication devices as cash registers, and users can complete payments by placing their phones close to the merchant's near-field communication devices for inductive communication.

[0005] In the prior art, near-field communication devices need to have larger antennas in order to expand the sensing range. However, as the antenna area increases, the signal strength per unit area decreases, resulting in a decrease in the reading distance. Moreover, the near-field communication antennas of different mobile phones differ in size, location on the phone, antenna status, and power consumption control logic, which will also affect the actual sensing effect of the near-field communication device, and further affect the success rate and efficiency of near-field communication.

[0006] Based on this, there is a need for a solution that helps to improve the success rate and efficiency of near field communication between a merchant's near field communication device and a user's mobile phone. Summary of the invention

[0007] One or more embodiments of the present specification provide a near-field communication control method, apparatus, near-field communication device, and storage medium to solve the following technical problem: A solution is needed to help improve the success rate and efficiency of near-field communication between a merchant's near-field communication device and a user's mobile phone.

[0008] To solve the above technical problems, one or more embodiments of this specification are implemented as follows:

[0009] One or more embodiments of this specification provide a near field communication control method, including:

[0010] Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device;

[0011] Determining the working mode of the sensing object according to the near field communication signal;

[0012] If it is determined that the sensing object is in an unfriendly working mode, sending an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0013] A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

[0014] One or more embodiments of this specification provide a near field communication control device, including:

[0015] A near field communication signal acquisition module collects near field communication signals of a currently approaching sensing object through one or more near field communication antennas deployed on the near field communication device;

[0016] an object working mode determination module, for determining a working mode of the sensing object according to the near field communication signal;

[0017] an unfriendly working mode processing module, which, if it is determined that the sensing object is in the unfriendly working mode, sends an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0018] The near field communication service execution module establishes a communication connection with the sensing object through at least one near field communication antenna, and executes a target service through the communication connection.

[0019] One or more embodiments of this specification provide a near field communication device, including one or more near field communication antennas and one or more control chips;

[0020] At least one near field communication antenna for collecting near field communication signals of a currently approaching sensing object;

[0021] The control chip determines the working mode of the sensing object according to the near field communication signal, and if it is determined that the sensing object is in an unfriendly working mode, sends an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0022] At least one near field communication antenna establishes a communication connection with the sensing object and executes a target service through the communication connection.

[0023] One or more embodiments of this specification provide a near field communication device, including:

[0024] at least one processor; and,

[0025] a memory communicatively connected to the at least one processor; wherein,

[0026] 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 execute:

[0027] Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device;

[0028] Determining the working mode of the sensing object according to the near field communication signal;

[0029] If it is determined that the sensing object is in an unfriendly working mode, sending an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0030] A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

[0031] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:

[0032] Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device;

[0033] Determining the working mode of the sensing object according to the near field communication signal;

[0034] If it is determined that the sensing object is in an unfriendly working mode, sending an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0035] A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

[0036] At least one of the above-mentioned technical solutions adopted in one or more embodiments of the present specification can achieve the following beneficial effects: it can sense whether the currently approaching sensing object (for example, a mobile phone) is in an unfriendly working mode through the near-field communication antenna on the near-field communication device, for example, an unmatched analog card or card reader is used, the power is low, other channels are abnormal, etc. If so, actively intervene in the sensing object by sending an excitation signal to it to make the sensing object exit the unfriendly working mode, and then establish a communication connection with the near-field communication antenna on the near-field communication device to execute the target business. This helps to improve the success rate and efficiency of near-field communication between the merchant's near-field communication device and the user's mobile phone, and thus also helps to smoothly execute the target business. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0038] Figure 1 A flowchart of a near field communication control method provided for one or more embodiments of this specification;

[0039] Figure 2(a) to Figure 2(b) A schematic diagram of a flow chart of a sensing object working mode determination scheme provided in one or more embodiments of this specification, and a schematic diagram of a signal waveform comparison of a near field communication signal;

[0040] Figure 3 A flowchart of another sensing object working mode determination and processing solution provided in one or more embodiments of this specification;

[0041] Figure 4 A flowchart of an unfriendly working mode determination solution provided for one or more embodiments of this specification;

[0042] Figure 5 A schematic diagram of a specific analysis scheme for a sensing object provided in one or more embodiments of this specification;

[0043] Figure 6 A flowchart of a solution for dealing with abnormal code scanning based on near field communication signals provided in one or more embodiments of this specification;

[0044] Figure 7 A schematic diagram of the structure of a near field communication device provided for one or more embodiments of this specification;

[0045] Figure 8(a) to Figure 8(d) A specific structure of a first near field communication device in an application scenario provided by one or more embodiments of this specification and a schematic diagram thereof with a mobile phone approaching the near field communication device;

[0046] Fig. 9 A schematic diagram of a specific structure of a second near field communication device in an application scenario provided by one or more embodiments of this specification;

[0047] Fig.10 A schematic diagram of a specific structure of a third near field communication device in an application scenario provided by one or more embodiments of this specification;

[0048] Fig.11 A schematic diagram of the structure of a near field communication control device provided by one or more embodiments of this specification;

[0049] Fig.12 A schematic diagram of the structure of a near field communication device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0050] The embodiments of this specification provide a near field communication control method, an apparatus, a near field communication device, and a storage medium.

[0051] In order 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 in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0052] In response to the problems mentioned in the background technology, the applicant noted that in actual applications, when a mobile phone is close to a near-field communication device, it may be in one or more unfriendly working modes, and the unfriendly working mode may have an adverse effect on the subsequent interaction between the mobile phone and the near-field communication device. Therefore, the present application provides a solution for proactive intervention in advance to avoid continued interaction in an unfriendly working mode.

[0053] Based on this general idea, the solution of this application will be further described below.

[0054] Figure 1 A flowchart of a near field communication control method provided for one or more embodiments of this specification. The execution subject of the process may be a near field communication device or a module therein. From a software perspective, the execution subject may be an application client on the near field communication device, such as a cashier application client, a check-in client, etc.

[0055] Figure 1 The process in includes the following steps:

[0056] S102: Collecting a near field communication signal of a currently approaching sensing object through one or more near field communication antennas deployed on the near field communication device.

[0057] If multiple NFC antennas are deployed on the NFC device, then some of the multiple NFC antennas (for example, those that are capable of sensing first) can collect the NFC signal of the currently approaching sensing object. If only one NFC antenna is deployed on the NFC device, the subsequent related actions are implemented based on the NFC antenna.

[0058] For ease of description, some of the following embodiments are mainly described based on the situation where multiple near-field communication antennas are deployed on a near-field communication device, which is also the deployment solution preferably adopted in this application.

[0059] In one or more embodiments of the present specification, the near field communication antenna in step S102 can collect signals by sensing, thereby assisting in inferring the direction from which the sensing object approaches the near field communication device. Therefore, multiple such near field communication antennas can be deployed for signal collection to more accurately infer. The number of near field communication antennas that can simultaneously sense the currently approaching sensing object can be affected by actively controlling the sensing capabilities of these antennas.

[0060] Each near-field communication antenna is deployed at a different position of the near-field communication device, and can be deployed in a dispersed manner in particular. This helps to have better sensing capabilities for sensing objects in different directions, thereby increasing the global sensing range, facilitating more reliable signal collection, and providing higher reliability. It also reduces the operational requirements for users, and users can more freely and arbitrarily bring their mobile phones close to the near-field communication device from more directions for near-field communication interaction.

[0061] The sensing object can be a mobile terminal device used by the user, such as a mobile phone that supports near field communication function, a smart watch, a portable game console, etc.

[0062] S104: Determine the working mode of the sensing object according to the near field communication signal.

[0063] In one or more embodiments of the present specification, numerical analysis, waveform analysis, or analysis of the additional information carried by the near field communication signal may be performed, and based on the analysis result, it is determined whether the sensing object is currently in an unfriendly working mode.

[0064] The unfriendly here means: unfriendly to establish a communication connection with the near field communication device, or unfriendly to further perform business. This may affect the subsequent interaction process with the near field communication device. The mode here can be customized by the service provider of the near field communication device according to the needs, and it does not necessarily need to be the optional working mode of the sensing object itself. In this way, it has better flexibility and can help the sensing object deal with problems that it cannot solve temporarily.

[0065] S106: If it is determined that the sensing object is in an unfriendly working mode, an excitation signal is sent to the sensing object via at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode.

[0066] In one or more embodiments of the present specification, an excitation signal is sent to indirectly stimulate (e.g., activate arousal, electromagnetic interference on a physical level, etc.) the sensing object to switch the working mode, or more specifically, the information carried by the excitation signal is used to directly instruct the sensing object to switch the working mode. The latter method is particularly suitable for the unfriendly working mode customized by the near field communication device.

[0067] In one or more embodiments of the present specification, auxiliary software provided by a service provider of a near-field communication device may be pre-deployed on a sensing object, and the auxiliary software may be used to perform special preprocessing on the near-field communication signal of the sensing object, or to perform special processing and response on the received stimulation signal, so as to assist the near-field communication device in determining the working mode and / or stimulating an unfriendly working mode, thereby overcoming the limitations of the sensing object's own capabilities.

[0068] S108: Establishing a communication connection with the sensing object through at least one near field communication antenna, and executing a target service through the communication connection.

[0069] The NFC antenna for establishing the communication connection may not be the same as the NFC antenna for sending the excitation signal. At least one NFC antenna may be selected from the NFC antennas deployed on the NFC device according to the set strategy to establish the communication connection with the sensing object.

[0070] For example, based on the near-field communication signals collected by multiple near-field communication antennas respectively, according to the set advantage dimension, among the near-field communication antennas deployed on the near-field communication device, at least one near-field communication antenna with an advantage (for example, a closer distance, a higher signal strength, a more matching signal direction, a relatively idle position, etc.) is selected as the target near-field communication antenna; optionally, the signal of the target near-field communication antenna can be temporarily enhanced, and / or the signal of one or more remaining near-field communication antennas can be temporarily weakened, so that the near-field communication range can be expanded in a targeted manner while taking into account the cost; and then a communication connection is established with the sensing object through the target near-field communication antenna.

[0071] Among multiple near-field communication antennas that can sense the currently approaching sensing object, the closer the distance to the sensing object and / or the more accurately the antenna direction is aligned with the approaching direction of the sensing object, the more likely it is to sense a greater signal strength. By properly deploying multiple signal sensing antennas at different positions on the near-field communication device, it is possible that, at least in most cases, the signal strengths sensed by them for the sensing object are different. Based on such differences, through mathematical operations such as three-point positioning, at least the approaching direction of the sensing object can be roughly inferred, and it is even possible to more accurately infer the dynamic relative position of the sensing object to the near-field communication device, so as to select the target near-field communication antenna.

[0072] Devices that support NFC (including the NFC devices and sensing objects mentioned above) can use card emulation mode, card reader mode, or point-to-point communication mode. The first two are mainly considered here. For card emulation mode, the device simulates an IC card using RFID technology for reading by a card reader. For card reader mode, the device is used as a card reader, for example, it can read relevant information from IC cards, posters, or exhibition information electronic tags using RFID technology.

[0073] In traditional technology, taking the payment field as an example, the near-field communication device used by merchants for payment collection adopts the card reader mode, acting as a card reader, and the user's mobile phone adopts the card simulation mode, simulating a credit card or debit card. The user can achieve an effect similar to card payment by placing the mobile phone close to the payment device for sensing interaction; however, in actual applications, the above interaction method may have compatibility issues, such as compatibility issues between some applications and mobile phone manufacturers, etc., which may bring unreliable factors to the above interaction and may even affect the normal development of some businesses.

[0074] Based on this, we consider breaking through the limitations of traditional thinking, so that the merchant's near-field communication device is no longer limited to the card reader mode, but is also compatible with the card simulation mode in business, and can give priority to the card simulation mode to interact with the user's mobile phone. In this case, for step S108, after establishing communication with the sensing object (such as a mobile phone) through the target near-field communication antenna, assuming that the payment business interaction is carried out, then specifically, for example, the merchant's near-field communication device acts as a simulated card and generates information to be paid, so that the user's mobile phone, which is the sensing object, acts as a card reader to read the simulated card to obtain the information to be paid, and make payment according to the information to be paid (such as the user confirms the payment of the order on the mobile phone).

[0075] pass Figure 1 The method can sense whether the currently nearby sensing object (for example, a mobile phone) is in an unfriendly working mode through the near-field communication antenna on the near-field communication device. If so, the sensing object is actively intervened by sending an excitation signal to the sensing object to make the sensing object exit the unfriendly working mode, and then establish a communication connection with the near-field communication antenna on the near-field communication device to execute the target business. This helps to improve the success rate and efficiency of near-field communication between the merchant's near-field communication device and the user's mobile phone, and thus also helps to smoothly execute the target business.

[0076] based on Figure 1 This specification also provides some specific implementation plans and extension plans of the method, which will be described below.

[0077] By specifically analyzing the signal waveform of the near field communication signal collected from the sensing object, it can be determined whether the sensing object is in an unfriendly working mode. In this way, the reliability is better and it is helpful to pre-design the correspondence between different signal waveforms and different working modes (especially custom working modes) in a more flexible and diverse manner. Based on this, one or more embodiments of this specification provide a flow chart of a sensing object working mode determination scheme, see Figure 2(a).

[0078] The process in Figure 2(a) includes the following steps:

[0079] S202: Acquire a signal waveform of the near field communication signal.

[0080] When multiple NFC antennas collect NFC signals respectively, they can be analyzed together or some representative ones (e.g., those with relatively high signal strength or those collected first) can be selected for analysis. The analysis is based on the shape of the signal waveform, specific parameters and other factors. The following steps exemplarily adopt two types of parameter analysis.

[0081] S204: Determine whether the peak value of the signal waveform is less than a first set threshold, and whether the time difference between different peaks of the signal waveform is greater than a second set threshold.

[0082] In one or more embodiments of this specification, if the power consumption of the signal is not enough or even too low, it can be considered that the sensing object is in an unfriendly working mode. In this case, the sensing object can be considered to be in a low power consumption mode. The peak value used above and the time difference between different peaks (for example, the time interval between adjacent peaks) will affect the power consumption. For example, the peak value is generally positively correlated with the power consumption, so it can be expected that the peak value is relatively high so that the power consumption is higher. The time interval is generally negatively correlated with the power consumption, so it can be expected that the time is relatively short so that the power consumption is higher. Based on this, thresholds can be set for these two types of parameters respectively, and then the judgment in step S204 is performed.

[0083] It should be noted that, of course, a simple judgment can also be made, for example, based only on a certain dimension of the waveform, or even without considering the signal waveform, but simply considering whether the numerical signal strength value itself (usually the power value) is high enough. If not, it is considered that the sensing object is in an unfriendly working mode. According to different requirements for cost and reliability in actual applications, an unfriendly working mode judgment scheme that is more suitable for the current scenario can be selected.

[0084] S206: If yes, determine that the sensing object is in an unfriendly working mode.

[0085] Otherwise, it can be determined that the sensing object is not in an unfriendly working mode, or further analysis can be performed through other means to determine the conclusion.

[0086] Intuitively, one or more embodiments of the present specification also provide a schematic diagram of signal waveform comparison of a near field communication signal, see FIG. 2( b ).

[0087] In Figure 2(b), the horizontal axis represents time and the vertical axis represents power value. If the power consumption value is detected to be less than a certain set threshold value, and the collected signal is calculated and analyzed at the same time, and the time difference between two or more power consumption peaks meets a certain time threshold value, it can be judged that the sensing object is in an unfriendly working mode, which is specifically referred to as low power consumption mode in this example. If the power consumption value is detected to be not less than a certain set threshold value, and the collected signal is calculated and analyzed at the same time, and the time difference between two or more power consumption peaks meets another time threshold value, it can be judged that the sensing object is in normal power consumption mode (it may still be unfriendly in this mode, which will be further analyzed later). In this example, a power consumption threshold is exemplarily set, which can be used as the first set threshold value mentioned above. For example, a time difference threshold 1 is set for the low power consumption mode (for example, it needs to be greater than the time difference threshold 1), and a time difference threshold 2 is set for the normal power consumption mode (for example, it needs to be less than the time difference threshold 2).

[0088] As mentioned above, the present application hopes that the near-field communication device (for example, a cash register) works in the card simulation mode, while the user's mobile phone works in the card reader mode. However, considering that in actual applications, the user's mobile phone is likely to work in the card simulation mode by default, this is unfriendly to the present solution. If both parties adopt the card simulation mode, it is difficult to complete the target business normally. Therefore, if the sensing object currently adopts the card simulation mode (in addition, the power consumption may be relatively low in this mode), it can also be considered to be in an unfriendly working mode. Based on this idea, one or more embodiments of the present specification provide a flow chart of another sensing object working mode judgment and processing solution, see Figure 3 .

[0089] Figure 3 The process in includes the following steps:

[0090] S302: In response to the near field communication signal, sending a card reading detection signal to the sensing object.

[0091] In one or more embodiments of the present specification, the device disguises itself as a card reader (actually still using the card emulation mode), and sends a card reading detection signal to test whether the sensing object currently uses the card emulation mode. It should be noted that the card reading detection signal is not used to actually request to read the business data of the target business, but only for detection. In this way, the resource consumption is very small, and only a light interaction is required. It is possible to agree in advance with the sensing object (for example, based on the external software implemented by the sensing object in advance) on how to respond to the card reading detection signal. Preferably, a concise response can be made, such as sending an agreed custom identification bit, or sending a small amount or even a very small amount of data in the business data (for example, the first byte of a field, etc.). Of course, it is also possible to simply analyze the signal to achieve detection, and it is not necessary to perform actual data interaction.

[0092] S304: Determine whether the sensing object has made a specified positive response to the card reading detection signal.

[0093] The specified positive response can show the active catering to the card reading action, which can probably reflect that the sensing object currently adopts the card simulation mode, such as the above-mentioned concise response. In addition, if the sensing object has no abnormal performance (abnormal performance, such as no response, rejection, error, etc.), it can also be considered that the specified positive response has been made.

[0094] S306: If yes, determine that the sensing object is in an unfriendly working mode.

[0095] In this case, although the sensing object can cater to the card reading, there is a conflict for the near field communication device that intends to adopt the card emulation mode, so it can be considered unfriendly.

[0096] S308: Sending a working mode switching excitation signal to the near field communication device through at least one of the near field communication antennas, so that the sensing object switches to the card reader mode in response to the working mode switching excitation signal to increase the near field communication range.

[0097] In card reader mode, the signal strength of the NFC signal is usually relatively higher, which helps to improve the NFC range and can also interact smoothly with the NFC device using card emulation mode.

[0098] pass Figure 3 The solution is to actively intervene in the NFC device to make the NFC signal of the sensing object exit the card simulation mode, so that both parties can communicate more efficiently and reliably. This also helps to avoid the target NFC antenna from unnecessarily over-enhancing the signal strength in order to cope with unfriendly working modes.

[0099] Whether the sensing object adopts the card simulation mode or the card reader mode, there is another type of problem in practical applications. Multiple simulation cards can be set on the sensing object, but the user needs to set the simulation card to be used as the default simulation card in advance, so that the service can be connected normally. Otherwise, the service will fail or the user will need to go to the corresponding service page to select the correct simulation card. In the card reader mode, there may be more additional problems. For example, the user may be forced to open the specified service page and then read the card. These problems have an adverse impact on users' use of near-field communication services. Here, this application also considers solving them together.

[0100] Specifically, one or more embodiments of this specification provide a flowchart of an unfriendly working mode judgment scheme, see Figure 4 .

[0101] Figure 4 The process in includes the following steps:

[0102] S402: Determine the target analog card or target card reader currently used by the sensing object according to the near field communication signal.

[0103] In one or more embodiments of the present specification, the sensing object is pre-deployed with signal reprocessing software provided by a service provider of a near field communication device; the near field communication signal is processed by the signal reprocessing software and carries information for indicating a target simulated card or a target card reader. Furthermore, the sensing object has multiple optional simulated cards belonging to different services and / or multiple optional card readers belonging to different services, and the currently used one may be the default one.

[0104] S404: Determine whether the target simulated card or the target card reader matches the near field communication device.

[0105] In one or more embodiments of the present specification, the user does not need to manually select an analog card or card reader on the sensing object. Taking a mobile phone as an example, the user can directly bring the mobile phone (even if the screen is off) close to the near-field communication device, and the signal reprocessing software will cooperate with the near-field communication device to perform adaptive processing.

[0106] The matching can be determined based on whether the services currently provided by the near-field communication device are consistent with the services corresponding to the target simulated card or target card reader. If they are consistent (for example, both parties' services are the same payment service), it can be determined that the target simulated card or target card reader matches the near-field communication device.

[0107] S406: If not, it is determined that the sensing object is in an unfriendly working mode.

[0108] S408: If it is determined that the sensing object is in an unfriendly working mode, an excitation signal is sent to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and switches to using an analog card or card reader that matches the near field communication device.

[0109] In one or more embodiments of the present specification, a matching analog card or card reader can be directly indicated in the excitation signal. Afterwards, the sensing object can parse the excitation signal through its own original capabilities or the capabilities of the above-mentioned signal reprocessing software to determine the matching analog card or card reader and then switch accordingly. In this way, there is no need for real-time user intervention, and there will be no business failure due to the above-mentioned mismatch, so the experience is better.

[0110] Furthermore, one or more embodiments of this specification also provide a flowchart of a specific analysis scheme for a sensing object, see Figure 5 .

[0111] Figure 5 The process in includes the following steps:

[0112] S502: Acquire a signal waveform of the near field communication signal.

[0113] In this process, the difference in the signal waveform according to the specified strategy is used to reflect the relevant information of the simulated card or card reader, which can help complete the analysis based on the underlying protocol without relying on and modifying the higher-level protocol. Of course, there are other implementation methods, such as reflecting through custom fields, etc.

[0114] S504: judging, according to the peak value of the signal waveform, whether the sensing object currently uses an analog card or a card reader.

[0115] If the peak value is high enough, it can be considered as a card reader, and if the peak value is low enough, it can be considered as a simulated card. Whether it is sufficient here can be judged by setting a threshold and comparing.

[0116] S506: If it is an analog card, determine which analog card among multiple different analog cards the target analog card currently used by the sensing object is according to the time difference between different wave peaks of the signal waveform.

[0117] In actual applications, it is common that the same user has multiple simulation cards. Therefore, in this step, a variety of different time gaps between different peaks of the signal waveform (for example, adjacent peaks) are exemplarily used to distinguish different simulation cards, thereby determining which type of simulation card the target simulation card is.

[0118] Of course, in addition to the above exemplary differentiation methods, signal waveform differences can also be created from other aspects to achieve differentiation between different analog cards and / or different card readers.

[0119] Similarly, the activation signal may also indicate the analog card or card reader used by the desired sensing object in the above manners.

[0120] Based on the capabilities of the above signal reprocessing software, it is also possible to actively intervene in the near field communication signal and the excitation signal to help other business interaction methods. Taking the code scanning method as an example, one or more embodiments of this specification provide a flowchart of a solution based on near field communication signals to deal with code scanning anomalies, see Figure 6 .

[0121] Figure 6 The process in includes the following steps:

[0122] S602: Determine whether the sensing object has scanned the code abnormally based on the additional information reflected in the near field communication signal, wherein the additional information is obtained by signal reprocessing software.

[0123] In one or more embodiments of this specification, the code scanning here can be performed by the sensing object in the service client provided by the service provider corresponding to the near-field communication device (for example, a payment service provider) or its partner (for example, an e-commerce service provider, an online live broadcast service provider, a short video service provider, an instant messaging service provider, etc.) that has provided the corresponding authorization. In this way, it is convenient for the signal reprocessing software to have the authority to perform corresponding detection and intervention actions, which helps to improve the security of multiple parties.

[0124] The user of the sensing object may currently be ready to use the sensing object to conduct business by scanning the code (the corresponding QR code can be placed on the near-field communication device, or other relevant areas nearby), but scanning anomalies may occur due to scanning failure, parsing failure, QR code invalidation, etc., which may affect the user experience. In order to prevent this situation from causing inconvenience to the user, the signal reprocessing software can instantly detect whether the sensing object has a scanning anomaly (this can be a pre-judgment, so that it can intervene in advance and the effect is better). If so, the corresponding status information can be added to the near-field communication signal, that is, the above-mentioned additional reflected information, so that the near-field communication device side can perceive it. Furthermore, the scanning anomaly at this time can be temporarily notified to the user of the sensing object, for example, intercepted by the signal reprocessing software, or negotiated by the signal reprocessing software with the corresponding client, and so on.

[0125] S604: If yes, determine that the sensing object is in an unfriendly working mode.

[0126] The state where the sensing object has had or is about to have a scanning abnormality can be pre-customized as an unfriendly working mode. The unfriendly mode here is mainly aimed at the user of the sensing object because it may bring a bad experience.

[0127] S606: Send an excitation signal carrying scan code disguised data to the sensing object through at least one near-field communication antenna, so that the sensing object obtains result data obtained by executing the target business through the communication connection according to the scan code disguised data, and disguises the result data as successful scan code result data to provide it to the user.

[0128] In one or more embodiments of this specification, the scan code disguised data (for example, expressed in the form of identification bits, fields, and waveforms) can be used to inform the sensing object that the service corresponding to the abnormal scan code can be completed through near-field communication, so that the service execution result obtained through near-field communication can be provided to the user as the scan code result (in fact, the scan code method may have failed). In this way, the source of the result data is actually disguised. From the user's perspective, they will think that the scan code execution service is successful, the experience is smoother, and the service retry burden on the scan code side is reduced.

[0129] Figure 7 The structural diagram of a near field communication device provided for one or more embodiments of this specification presents the main structure of the device in a relatively abstract manner, but does not limit it to a specific module layout and connection relationship.

[0130] exist Figure 7 The near-field communication device includes one or more near-field communication antennas and one or more control chips (the present application mainly considers the case of multiple near-field communication antennas, especially the case of multiple near-field communication antennas); at least one near-field communication antenna collects the near-field communication signal of the sensing object currently approaching; the control chip determines the working mode of the sensing object according to the near-field communication signal, and if it is determined that the sensing object is in an unfriendly working mode, an excitation signal is sent to the sensing object through at least one near-field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode; at least one near-field communication antenna establishes a communication connection with the sensing object and executes the target business through the communication connection.

[0131] These devices can be carried by a hard PCB or a flexible circuit board, or by a combination of a hardware PCB and a flexible circuit board connected together by a connector. The control chip controls multiple near-field communication antennas on the near-field communication device through polling control or parallel control, and can analyze the difference in signal strength received by each near-field communication antenna, and determine the relative position of the mobile phone near-field communication antenna and the near-field communication device based on the signal strength analysis result. At the same time, the near-field communication antenna detects the power consumption mode of the mobile phone near-field communication (there are other types of unfriendly working modes, which can also be processed accordingly). When it is detected that the mobile phone near-field communication signal enters the low-power mode, an excitation signal is sent to make the mobile phone near-field communication exit the low-power mode. Through the above signal processing, the control chip sends a control signal to select the near-field communication antenna of the near-field communication device closest to the mobile phone near-field communication antenna to establish a near-field communication antenna communication connection with the mobile phone.

[0132] When laying out the antenna, in order to obtain a better sensing and near-field communication range, if there are multiple near-field communication antennas, they can be deployed in a dispersed manner on the near-field communication device, such as dispersed deployment in the circumference and deployed on the outside. When laying out the control chip, these antennas can be controlled uniformly, or multiple sub-control chips can be used for distributed control. The specific connection structure is also diverse and can be selected according to actual needs. Intuitively, referring to Figure 8(a), Fig. 9 and Fig.10 A specific implementation structure example in .

[0133] FIG8( a ) is a schematic diagram of a specific structure of a first near field communication device in an application scenario provided by one or more embodiments of this specification. Figure 8(b) to Figure 8(d) This is a schematic diagram of a mobile phone approaching a near field communication device in this scenario.

[0134] In FIG8( a ), the main control chip of the near field communication device controls six near field communication antennas in turn or in multiple channels simultaneously.

[0135] When the mobile phone approaches the NFC device from the position shown in FIG8(b), the NFC antenna 2, NFC antenna 3, NFC antenna 5, and NFC antenna 6 may synchronously sense the signal emitted by the mobile phone communication coil. Based on the collected signal, the main control chip has a high probability of judging that the mobile phone NFC antenna is closer to the NFC antenna 2 of the NFC device, and then the control chip forms a control logic to enhance the signal of the NFC antenna 2 and turn off the control signals of other NFC antennas. At the same time, when the mobile phone approaches the NFC device, the main control chip will also judge the power consumption mode of the mobile phone NFC signal synchronously collected by the NFC antenna 2, NFC antenna 3, NFC antenna 5, and NFC antenna 6. If it is judged that the mobile phone NFC is in low power consumption mode, an excitation signal is sent to make the mobile phone NFC exit the low power consumption mode.

[0136] When the relative positions of the mobile phone and the near-field communication device are constant, if the near-field communication antenna of the mobile phone is located at a different position on the mobile phone, a connection may be established with a different near-field communication antenna of the near-field communication device. In this case, the distance between the near-field communication antennas of both parties can be used.

[0137] For example, the NFC antenna 2 of the NFC device in FIG. 8( c ) may establish a connection with the NFC antenna of the mobile phone, while the NFC antenna 5 of the NFC device in FIG. 8( d ) may establish a connection with the NFC antenna of the mobile phone.

[0138] Fig. 9 A schematic diagram of the specific structure of a second near field communication device in an application scenario provided by one or more embodiments of this specification.

[0139] Fig. 9 The working principle in is similar to that in Figure 8(a), except for the difference in control method. Fig. 9 In the present invention, each near-field communication antenna is controlled by a control chip separately, and each control chip transmits data and control signals to the main chip. In this way, the reliability is better and it is convenient to flexibly use different near-field communication antennas in parallel.

[0140] Fig.10 A schematic diagram of the specific structure of a third near field communication device in an application scenario provided by one or more embodiments of this specification.

[0141] Fig.10 The working principle in is similar to that in Figure 8(a), except for the difference in control method. Fig.10In the figure, several near-field communications (not limited to the three shown in the figure) are grouped together and controlled by a control chip. Each control chip transmits data and control signals to the main chip. In this way, it is convenient to flexibly control the near-field communication antenna in groups, which helps to access different services at the same time, and different groups are responsible for the interaction.

[0142] Of course, in addition to Figure 8(a), Fig. 9 and Fig.10 In addition to the exemplary layouts in the figure, there are more specific layouts that can be selected and implemented as needed.

[0143] Based on the same idea, one or more embodiments of this specification also provide devices and apparatuses corresponding to the above methods, such as Fig.11 , Fig.12 The apparatus and device can accordingly execute the above method and related optional solutions.

[0144] Fig.11 A schematic diagram of the structure of a near field communication control device provided in one or more embodiments of this specification, the device comprising:

[0145] The near field communication signal acquisition module 1102 collects the near field communication signal of the currently approaching sensing object through one or more near field communication antennas deployed on the near field communication device;

[0146] The object working mode determination module 1104 determines the working mode of the sensing object according to the near field communication signal;

[0147] The unfriendly working mode processing module 1106 sends an excitation signal to the sensing object through at least one near field communication antenna if it is determined that the sensing object is in the unfriendly working mode, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0148] The near field communication service execution module 1108 establishes a communication connection with the sensing object through at least one near field communication antenna, and executes a target service through the communication connection.

[0149] Optionally, the object working mode determination module 1104 obtains a signal waveform of the near field communication signal;

[0150] Determine whether the peak value of the signal waveform is less than a first set threshold, and whether the time difference between different peaks of the signal waveform is greater than a second set threshold;

[0151] If so, it is determined that the sensing object is in an unfriendly working mode.

[0152] Optionally, the object working mode determination module 1104 sends a card reading detection signal to the sensing object in response to the near field communication signal;

[0153] Determining whether the sensing object has made a specified positive response to the card reading detection signal;

[0154] If so, it is determined that the sensing object is in an unfriendly working mode.

[0155] Optionally, the unfriendly working mode processing module 1106 sends a working mode switching excitation signal to the near field communication device through at least one of the near field communication antennas, so that the sensing object responds to the working mode switching excitation signal and switches to the card reader mode to increase the near field communication range.

[0156] Optionally, the object working mode determination module 1104 determines the target simulation card or target card reader currently used by the sensing object according to the near field communication signal;

[0157] Determining whether the target simulated card or the target card reader matches the near field communication device;

[0158] If not, it is determined that the sensing object is in an unfriendly working mode;

[0159] The step of exiting the unfriendly working mode specifically includes:

[0160] Switch to using an analog card or card reader that matches the near field communication device.

[0161] Optionally, the object working mode determination module 1104 obtains a signal waveform of the near field communication signal;

[0162] According to the peak value of the signal waveform, determining whether the sensing object currently uses an analog card or a card reader;

[0163] If it is an analog card, then the target analog card currently used by the sensing object is determined to be which of the multiple different analog cards according to the time interval between different wave peaks of the signal waveform.

[0164] Optionally, the sensing object is pre-deployed with signal reprocessing software provided by a service provider of the near field communication device;

[0165] The near field communication signal is processed by the signal reprocessing software and carries information for indicating the target simulated card or the target card reader.

[0166] Optionally, the near field communication antenna for sending the excitation signal is not the same near field communication antenna as the near field communication antenna for establishing the communication connection.

[0167] Optionally, the object working mode determination module 1104 determines whether the sensing object has abnormal scanning according to additional information reflected in the near field communication signal, wherein the additional information is obtained by signal reprocessing software;

[0168] If so, it is determined that the sensing object is in an unfriendly working mode.

[0169] Optionally, the unfriendly working mode processing module 1106 sends an excitation signal carrying scan code disguise data to the sensing object through at least one near-field communication antenna, so that the sensing object obtains result data obtained by executing the target business through the communication connection according to the scan code disguise data, and disguises the result data as successful scan code result data to provide it to the user.

[0170] Optionally, a plurality of near field communication antennas are deployed on the near field communication device;

[0171] The near field communication service execution module 1108 selects at least one near field communication antenna with an advantage as a target near field communication antenna from the near field communication antennas deployed on the near field communication device according to the near field communication signals respectively collected by the multiple near field communication antennas and according to the set advantage dimension;

[0172] Temporarily enhancing the signal of the target near field communication antenna, and / or temporarily weakening the signal of one or more remaining near field communication antennas;

[0173] A communication connection is established with the sensing object through the target near field communication antenna.

[0174] Fig.12 A schematic diagram of the structure of a near field communication device provided for one or more embodiments of this specification, the device comprising:

[0175] at least one processor; and,

[0176] a memory communicatively connected to the at least one processor; wherein,

[0177] 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 execute:

[0178] Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device;

[0179] Determining the working mode of the sensing object according to the near field communication signal;

[0180] If it is determined that the sensing object is in an unfriendly working mode, sending an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0181] A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

[0182] Based on the same idea, one or more embodiments of this specification further provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0183] Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device;

[0184] Determining the working mode of the sensing object according to the near field communication signal;

[0185] If it is determined that the sensing object is in an unfriendly working mode, sending an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode;

[0186] A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

[0187] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, 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, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0188] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0189] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0190] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0191] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0192] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0193] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0194] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0195] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0196] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0197] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0198] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0199] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0200] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0201] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0202] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A near field communication control method, comprising: Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device; Determining the working mode of the sensing object according to the near field communication signal; If it is determined that the sensing object is in an unfriendly working mode, an excitation signal is sent to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode, wherein the mode is customized by a service provider of the near field communication device; A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

2. The method according to claim 1, wherein judging the working mode of the sensing object according to the near field communication signal comprises: Acquiring a signal waveform of the near field communication signal; Determine whether the peak value of the signal waveform is less than a first set threshold, and whether the time difference between different peaks of the signal waveform is greater than a second set threshold; If so, it is determined that the sensing object is in an unfriendly working mode.

3. The method according to claim 1, wherein judging the working mode of the sensing object according to the near field communication signal comprises: In response to the near field communication signal, sending a card reading detection signal to the sensing object; Determining whether the sensing object has made a specified positive response to the card reading detection signal; If so, it is determined that the sensing object is in an unfriendly working mode.

4. The method according to claim 1 or 3, wherein sending an excitation signal to the sensing object through at least one near field communication antenna so that the sensing object responds to the excitation signal and exits the unfriendly working mode, specifically comprises: A working mode switching excitation signal is sent to the near field communication device through at least one of the near field communication antennas, so that the sensing object switches to the card reader mode in response to the working mode switching excitation signal, thereby increasing the near field communication range.

5. The method according to claim 1, wherein judging the working mode of the sensing object according to the near field communication signal comprises: Determining a target analog card or a target card reader currently used by the sensing object according to the near field communication signal; Determining whether the target simulated card or the target card reader matches the near field communication device; If not, it is determined that the sensing object is in an unfriendly working mode; The step of exiting the unfriendly working mode specifically includes: Switch to using an analog card or card reader that matches the near field communication device.

6. The method according to claim 5, wherein determining the target analog card or target card reader currently used by the sensing object according to the near field communication signal specifically comprises: Acquiring a signal waveform of the near field communication signal; According to the peak value of the signal waveform, determining whether the sensing object currently uses an analog card or a card reader; If it is an analog card, then the target analog card currently used by the sensing object is determined to be which of the multiple different analog cards according to the time interval between different wave peaks of the signal waveform.

7. The method according to claim 5 or 6, wherein the sensing object is pre-deployed with signal reprocessing software provided by a service provider of the near field communication device; The near field communication signal is processed by the signal reprocessing software and carries information for indicating the target simulated card or the target card reader.

8. The method according to claim 5 or 6, wherein the near field communication antenna for sending the excitation signal is not the same near field communication antenna as the near field communication antenna for establishing the communication connection.

9. The method according to claim 7, wherein judging the working mode of the sensing object according to the near field communication signal specifically comprises: According to the additional information reflected in the near field communication signal, judging whether the code scanning of the sensing object is abnormal, wherein the additional information is obtained by signal reprocessing software; If so, it is determined that the sensing object is in an unfriendly working mode.

10. The method according to claim 9, wherein sending an excitation signal to the sensing object through at least one near field communication antenna comprises: Through at least one near-field communication antenna, an excitation signal carrying scan code disguised data is sent to the sensing object, so that the sensing object obtains result data obtained by executing the target business through the communication connection according to the scan code disguised data, and disguises the result data as successful scan code result data and provides it to the user.

11. The method according to claim 1, wherein a plurality of near field communication antennas are deployed on the near field communication device; The establishing a communication connection with the sensing object through at least one near field communication antenna specifically includes: According to the near field communication signals respectively collected by the plurality of near field communication antennas, and according to the set dominant dimension, selecting at least one near field communication antenna having an advantage from the near field communication antennas deployed on the near field communication device as a target near field communication antenna; Temporarily enhancing the signal of the target near field communication antenna, and / or temporarily weakening the signal of one or more remaining near field communication antennas; A communication connection is established with the sensing object through the target near field communication antenna.

12. A near field communication control device, comprising: A near field communication signal acquisition module collects near field communication signals of a currently approaching sensing object through one or more near field communication antennas deployed on the near field communication device; an object working mode determination module, for determining a working mode of the sensing object according to the near field communication signal; an unfriendly working mode processing module, which, if it is determined that the sensing object is in an unfriendly working mode, sends an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode, wherein the mode is customized by a service provider of the near field communication device; The near field communication service execution module establishes a communication connection with the sensing object through at least one near field communication antenna, and executes a target service through the communication connection.

13. The device according to claim 12, wherein the object working mode determination module obtains a signal waveform of the near field communication signal; Determine whether the peak value of the signal waveform is less than a first set threshold, and whether the time difference between different peaks of the signal waveform is greater than a second set threshold; If so, it is determined that the sensing object is in an unfriendly working mode.

14. The device according to claim 12, wherein the object working mode determination module sends a card reading detection signal to the sensing object in response to the near field communication signal; Determining whether the sensing object has made a specified positive response to the card reading detection signal; If so, it is determined that the sensing object is in an unfriendly working mode.

15. In the device as described in claim 12 or 14, the unfriendly working mode processing module sends a working mode switching excitation signal to the near field communication device through at least one of the near field communication antennas, so that the sensing object responds to the working mode switching excitation signal and switches to the card reader mode to increase the near field communication range.

16. The device according to claim 12, wherein the object working mode determination module determines the target simulation card or target card reader currently used by the sensing object according to the near field communication signal; Determining whether the target simulated card or the target card reader matches the near field communication device; If not, it is determined that the sensing object is in an unfriendly working mode; The step of exiting the unfriendly working mode specifically includes: Switch to using an analog card or card reader that matches the near field communication device.

17. The device according to claim 16, wherein the object working mode determination module obtains a signal waveform of the near field communication signal; According to the peak value of the signal waveform, determining whether the sensing object currently uses an analog card or a card reader; If it is an analog card, then the target analog card currently used by the sensing object is determined to be which of the multiple different analog cards according to the time interval between different wave peaks of the signal waveform.

18. The device according to claim 16 or 17, wherein the sensing object is pre-deployed with signal reprocessing software provided by a service provider of the near field communication device; The near field communication signal is processed by the signal reprocessing software and carries information for indicating the target simulated card or the target card reader.

19. The device according to claim 16 or 17, wherein the near field communication antenna for sending the excitation signal is not the same near field communication antenna as the near field communication antenna for establishing the communication connection.

20. The device of claim 18, wherein the object working mode determination module determines whether the sensing object has abnormal scanning according to the additional information reflected in the near field communication signal, wherein: The additional reflected information is obtained by processing through signal reprocessing software; If so, it is determined that the sensing object is in an unfriendly working mode.

21. In the device as claimed in claim 19, the unfriendly working mode processing module sends an excitation signal carrying scan code disguise data to the sensing object through at least one near-field communication antenna, so that the sensing object obtains the result data obtained by executing the target business through the communication connection according to the scan code disguise data, and disguises the result data as successful scan code result data and provides it to the user.

22. The apparatus according to claim 12, wherein a plurality of near field communication antennas are deployed on the near field communication device; The near field communication service execution module selects at least one near field communication antenna with an advantage as a target near field communication antenna from the near field communication antennas deployed on the near field communication device according to the near field communication signals respectively collected by the multiple near field communication antennas and according to the set advantage dimension; Temporarily enhancing the signal of the target near field communication antenna, and / or temporarily weakening the signal of one or more remaining near field communication antennas; A communication connection is established with the sensing object through the target near field communication antenna.

23. A near field communication device, comprising one or more near field communication antennas and one or more control chips; At least one near field communication antenna for collecting near field communication signals of a currently approaching sensing object; The control chip determines the working mode of the sensing object according to the near field communication signal, and if it is determined that the sensing object is in an unfriendly working mode, sends an excitation signal to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode, wherein the mode includes a mode defined by a service provider of the near field communication device; At least one near field communication antenna establishes a communication connection with the sensing object and executes a target service through the communication connection.

24. A near field communication device, comprising: at least one processor; as well as, 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 execute: Collecting near-field communication signals of a currently approaching sensing object through one or more near-field communication antennas deployed on the near-field communication device; Determining the working mode of the sensing object according to the near field communication signal; If it is determined that the sensing object is in an unfriendly working mode, an excitation signal is sent to the sensing object through at least one near field communication antenna, so that the sensing object responds to the excitation signal and exits the unfriendly working mode, wherein the mode is customized by a service provider of the near field communication device; A communication connection is established with the sensing object through at least one near field communication antenna, and a target service is executed through the communication connection.

Citation Information

Patent Citations

  • Near field communication device and method for determining transmission power

    CN112688720A

  • Information transmission method between terminal devices, medium and terminal device

    CN115694562A

  • Near field communication interaction method, user terminal, card swiping terminal, medium and product

    CN116887236A

  • NFC electric field detection system and method and NFC equipment

    CN118074822A

  • Method for assisting card reader to realize card searching, card searching method and NFC (Near Field Communication) tag

    CN118153598A

Cited By

  • Sign-in processing method and device based on near field communication

    CN120583424A

  • Acquiring apparatus and control method therefor, and control apparatus

    EP4787267A1

  • Acquiring apparatus and control method therefor, and control apparatus

    US12769973B2