A wireless communication state switching method and an electronic device

By acquiring the connection status of the payment device through an induction coil and sending an activation signal, the card emulation mode can be switched, which solves the problems of high hardware cost and unstable switching, and improves the stability of mode switching and the energy efficiency of the payment device.

CN119298947BActive Publication Date: 2025-11-07FUJIAN LANDI COMMERCIAL EQUIPMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411356590.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-11-07
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

In existing technologies, the switching between card emulation and card reader functions suffers from high hardware costs and inconvenient switching methods.

Method used

The connection status between the payment device and the electronic device is obtained by using an induction coil. An activation signal is sent to the payment device to instruct it to enter polling mode. When the polling signal is detected, the device switches to card emulation mode to realize the transmission of payment data, avoiding the use of switches or additional hardware control.

Benefits of technology

It reduced hardware costs, improved the stability and ease of use of mode switching, and reduced the power consumption of payment devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119298947B_ABST
    Figure CN119298947B_ABST
Patent Text Reader

Abstract

The application provides a card wireless communication state switching method and an electronic device, which are applied to the electronic device. The electronic device is used for wireless communication connection with a payment device. An induction coil is arranged on the electronic device. The method comprises the following steps: obtaining the connection state of the payment device and the electronic device through the induction coil; when the payment device and the electronic device establish connection, an activation signal is sent to the payment device. The activation signal is used for indicating that the payment device enters a card reading and being read polling mode and issues a polling signal; when the polling signal of the payment device is detected, the card simulation mode is switched to, and payment data is pushed to the payment device. The payment data is used for driving the payment device to initiate a payment process and perform card swiping payment on the electronic device. Without setting a switch or other hardware control, the cost is reduced, the stability of the switch is solved, and the stability of mode switching is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a card wireless communication state switching method and electronic equipment. BACKGROUND

[0002] With the continuous development of wireless communication technology, such as Radio Frequency Identification (RFID) and Near Field Communication (NFC), the related technology, the device usually has a card simulation function, that is, the electronic equipment as a card, used for being read by other devices; At the same time, it also has the function of card reader, that is, the electronic equipment as a card reader, used for reading cards.

[0003] However, in order to realize the switching of card simulation function and card reader function, the scheme in the related technology has the problems of high hardware cost and switching mode not conducive to use. SUMMARY

[0004] The technical problem to be solved by the present application is to provide a card wireless communication state switching method and electronic equipment, which solves the problems of high hardware cost and switching mode not conducive to use in the related technology.

[0005] In order to solve the above technical problems, a technical scheme adopted by the present application is:

[0006] A card wireless communication state switching method applied to an electronic equipment, the electronic equipment is used for wireless communication connection with a payment device, the electronic equipment is configured with an induction coil, and the method comprises:

[0007] Obtain the connection state of the payment device and the electronic equipment through the induction coil;

[0008] When the payment device and the electronic equipment establish connection, send an activation signal to the payment device, the activation signal is used to instruct the payment device to enter the polling mode of reading card and being read, and issue a polling signal;

[0009] When the polling signal of the payment device is detected, switch to the card simulation mode, and push payment data to the payment device, the payment data is used to drive the payment device to initiate a payment process, and the electronic equipment is paid by card.

[0010] In order to solve the above technical problems, another technical scheme adopted by the present application is:

[0011] An electronic device comprises a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements a card wireless communication state switching method as described above when running the computer program.

[0012] The application has the beneficial effect that: the connection state of the payment device and the electronic device is obtained through the induction coil, when the payment device and the electronic device establish connection, the activation signal is sent to the payment device, the activation signal is used to instruct the payment device to enter the card reading and being read polling mode, and the polling signal is sent, when the electronic device detects the polling signal of the payment device, the current mode is switched to the card simulation mode, and the payment data transmission is realized. The internal logic of the electronic device is modified, and the card wireless communication state switching and the card payment process are realized by interacting with the payment device. The method of the application does not need to set a switch or other hardware control, thereby reducing the cost, solving the problem of switch stability, improving the stability of mode switching, and being conducive to actual use. BRIEF DESCRIPTION OF DRAWINGS

[0013] Figure 1 The step flow chart of the card wireless communication state switching method in the embodiment of the application;

[0014] Figure 2 The module schematic diagram of the electronic device in the embodiment of the application;

[0015] Figure 3 The structure schematic diagram of the electronic device in the embodiment of the application. DETAILED DESCRIPTION

[0016] In order to make the technical problems, technical solutions and beneficial effects of the application clearer, the application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application and not to limit the application.

[0017] In the following description, specific details are set forth in order to provide a thorough understanding of the embodiments of the application. However, persons skilled in the art will understand that the application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the application with unnecessary details.

[0018] It should be understood that when used in the specification and the appended claims of the application, the term "comprise" indicates the presence of described features, whole, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, whole, steps, operations, elements, components and / or sets thereof.

[0019] Reference within this specification to "one embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearances of the phrase "in one embodiment" or "in some embodiments" in various places within specified

[0020] In the related art, to achieve switching between the card emulation function and the card reader function, a card emulation module and a card reader module are usually respectively arranged. For example, two chips and two coils plus a switch are arranged, one is a read-write chip and the other is a tag chip, and the two chips are switched by the switch to perform card reading and being read functions respectively. This scheme has high hardware cost, and is affected by the switch hardware, so the failure rate is high.

[0021] To solve the above problems, the present application provides a card wireless communication state switching method and an electronic device. Next, a card wireless communication state switching method of the present application will be introduced in detail.

[0022] Please refer to Figure 1 A card wireless communication state switching method is applied to an electronic device, and the electronic device is used for wireless communication connection with a payment device. The electronic device is configured with an induction coil. The electronic device can be a mobile phone, a POS machine or other terminal device. The present application does not limit this, and the electronic device of the present application has a card emulation function, that is, the electronic device can be used as a card to be read by other devices, and also has a card reader function, that is, the electronic device is used as a card reader to read cards. The payment device of the present application can be a specific magnetic card, or a mobile phone or POS machine with card emulation function.

[0023] The method of the present application includes steps S110-S130.

[0024] S110, obtaining the connection state of the payment device and the electronic device through the induction coil.

[0025] For example, the connection state of a card device such as a credit card or the connection state of a mobile phone or other POS machine with card emulation function can be obtained through the induction coil.

[0026] S120, when the payment device is connected with the electronic device, sending an activation signal to the payment device, the activation signal is used to instruct the payment device to enter the polling mode of reading card and being read, and to send a polling signal.

[0027] For example, when the mobile phone or other POS device as a payment device is connected with the electronic device, the electronic device will send an activation signal to the payment device, activate the NFC of the mobile phone to exit the LPCD (Low Power Card Detection, i.e. low power card detection), enter the polling mode of reading card and being read, and send a polling signal. That is, at this time, the payment device will initiate the polling signal of reading card and being read through NFC, when the electronic device connected with the payment device is in the state of reading card, the payment device can be in the state of being read by the electronic device as a card, and when the electronic device connected with the payment device is in the state of card simulation, the payment device can read the card signal of the electronic device as a card.

[0028] S130, when detecting the polling signal of the payment device, switching to the card simulation mode, and pushing the payment data to the payment device, the payment data is used to drive the payment device to initiate the payment process, and to perform the card payment for the electronic device.

[0029] For example, when the electronic device detects the polling signal of the payment device, for example, after detecting the alternation of card signal and reading card signal, switching to the card simulation state and pushing the payment data, such as NDEF (NFC Data Exchange Format, NFC data exchange format) data to the mobile phone; the payment data is used to drive the payment device to initiate the payment process, and to perform the card payment for the electronic device; so as to complete the payment, receipt of small bill, and receipt of member card deduction information on the mobile phone. For example, when the mobile phone as a payment device approaches the electronic device, the electronic device detects the polling signal of the payment device, and switches the electronic device to the card simulation mode, so as to realize the electronic device as a card to be read by the mobile phone as a payment device, and complete the payment process. At the same time, detecting the card signal does not necessarily switch to the card simulation state, for example, holding a card close to it can also establish communication, but the card alone cannot make the device switch to the card simulation, and the card alone cannot realize reading card.

[0030] In the application, the connection state of the payment device and the electronic device is acquired through the induction coil, when the payment device and the electronic device establish the connection, the activation signal is sent to the payment device, the activation signal is used to indicate that the payment device enters the card reading and read polling mode, and the polling signal is sent, when the electronic device detects the polling signal of the payment device, the current mode is switched to the card simulation mode, and the payment data transmission is realized. The internal logic of the electronic device is modified, and the card wireless communication state switching and the card payment process are realized by the interaction between the electronic device and the payment device. The method of the application does not need to set a switch or other hardware control, thereby reducing the cost, solving the problem of switch stability, improving the stability of mode switching, and being beneficial to actual use.

[0031] In an embodiment of the application, the step S110 comprises: acquiring the connection state of the payment device and the electronic device through the change of the load on the induction coil. That is, the electronic device can judge whether a card is close by judging the load change of the radio frequency loop of the card reader, so as to more effectively and accurately realize the identification of the payment device such as a credit card, or realize the identification of the NFC control function of the access control card in other control scenarios.

[0032] In an embodiment of the application, the electronic device comprises a communication chip, and the default state of the electronic device is the card reading mode, please refer to Figure 2 The communication chip is connected with the card simulation function module and the card reader function module respectively, and only one induction coil is used to detect the external device change. In step S130, the method of switching to the card simulation mode comprises: switching the card reading function of the communication chip to the card simulation function. That is, the electronic device is in the card reading mode by default, when the polling signal of the payment device is read, it indicates that the connection state is established. Therefore, the electronic device has stronger adaptability, and the power consumption of the payment device and the power consumption of the electronic device are avoided.

[0033] In an embodiment of the application, in step S130, the method of sending the activation signal to the payment device comprises:

[0034] S131, acquiring the parameter information of the payment device; for example, the parameter information comprises the system information, the device type, the endurance and the like of the payment device.

[0035] S132, acquiring the transmission condition of the activation signal according to the parameter information; that is, the corresponding transmission condition is determined based on the comprehensive evaluation of the system information, the device type, the endurance and the like of the payment device.

[0036] S133, sending the activation signal according to the transmission condition.

[0037] For example, when the mobile phone or other POS device is close, the electronic device starts to transmit the carrier wave of 13.56MHz. The transmission duration, intensity and frequency are adjusted according to different types of products. By matching the corresponding transmission conditions based on the parameter information of the payment device for sending the activation signal, the electronic device can effectively send the activation signal to efficiently communicate with the payment device, thereby completing the payment, receipt of the small bill or other control operations.

[0038] For example, in an optional embodiment of the present application, the parameter information includes the device type; and the transmission conditions of the activation signal are obtained according to the parameter information, which includes: obtaining the transmission conditions according to the device type. For example, if the device type is an Android mobile phone, the transmission duration is relatively short, the intensity is low, and the frequency can be 400ms once; and if the device type is an Apple mobile phone, the transmission duration is relatively long, the intensity is large, and the frequency can be 200ms once. That is, based on steps S131-S133, the corresponding sending mode can be matched according to different device types, so that the electronic device and the payment device can establish an effective communication connection.

[0039] For example, in another optional embodiment of the present application, the parameter information includes the endurance condition; and the transmission conditions of the activation signal are obtained according to the parameter information, which includes: obtaining the transmission conditions corresponding to the endurance condition through a mapping table. For example, according to the different endurance conditions of Apple and Android devices, a corresponding mapping table is set, which corresponds each device type with different endurance conditions to corresponding transmission conditions such as transmission duration, transmission intensity and transmission frequency, so that when the type and endurance condition of the current payment device are obtained, the corresponding transmission conditions can be obtained based on the mapping table for sending the activation signal; at the same time, in actual use, there is no need to specially distinguish between Apple devices and Android devices, but to design compatibly in these two types. This can ensure the normal use of different types of devices while avoiding increasing the power consumption of the payment device.

[0040] In an embodiment of the present application, after the card swiping payment of the electronic device in step S130, it further includes: judging whether the payment operation is completed, and if yes, switching to the card reading mode. That is, when the electronic device and the payment device complete the corresponding payment operation, the electronic device is switched to the card reading mode, thereby reducing the power consumption of the electronic device and the payment device. At the same time, after completing the payment operation, a completion signal can be sent to control the payment device to exit the current mode, or a screen-off signal is sent to make the payment device screen off, thereby reducing the power consumption of the payment device.

[0041] In an embodiment of the present application, after the electronic device is used for card payment in step S130, the method further comprises: determining whether the payment operation fails, and if so, switching to the card reading mode and prompting that the payment device does not have payment capability. That is, when the payment operation fails, the user can be reminded in time that the current payment device does not have payment capability, so that the user can perform other operations in time; meanwhile, switching the electronic device to the card reading mode reduces unnecessary power consumption of the electronic device.

[0042] In an embodiment of the present application, when the polling signal of the payment device is detected in step S130, the method comprises: determining whether the polling signal is detected within a preset time, and if not, switching to the card reading mode. For example, if the polling signal is not detected within 5 seconds, the current state is switched to the card reading mode, which can avoid the problem that the electronic device is powered off due to the electronic device being mistakenly triggered into the card simulation state because the payment device is close. Meanwhile, after switching to the card reading mode, the electronic device sends a signal to make the payment device exit the mode in step S120, thereby avoiding that the payment device is powered off too fast; since in actual use, the electronic device is generally connected by wire, and thus has a continuous and stable power supply source, while the payment device such as a mobile phone is generally powered by a battery in the device, and thus it is generally more concerned about the power consumption of the mobile phone. The above control method can effectively avoid excessive power consumption of the payment device.

[0043] Please refer to Figure 3 In another embodiment of the present application, an electronic device 300 is provided, which comprises a memory 301, a processor 302, and a computer program stored in the memory 301 and running on the processor 302, and the processor 302 implements the above-mentioned card wireless communication state switching method when executing the computer program. For example, the electronic device 300 is applied to a payment scenario in a convenience store, and after the user approaches the electronic device 300 by using a payment device such as a mobile phone, the electronic device 300 can complete payment.

[0044] In summary, the present application provides a card wireless communication state switching method and an electronic device. The connection state of the payment device and the electronic device is obtained by using an induction coil, when the payment device and the electronic device establish a connection, an activation signal is sent to the payment device, the activation signal is used to instruct the payment device to enter a card reading and reading polling mode and send a polling signal, when the electronic device detects the polling signal of the payment device, the current mode is switched to a card simulation mode, and payment data transmission is realized. The internal logic of the electronic device is modified, and interaction between the electronic device and the payment device is performed, to realize card wireless communication state switching and complete the card payment process. The method of the present application does not need to set a switch or other hardware control, thereby reducing cost, solving the problem of switch stability, improving the stability of mode switching, and being beneficial to actual use.

[0045] The above merely illustrates the embodiments of the present application, and does not limit the patent scope of the present application, and any equivalent transformation or direct or indirect application in the related technical field based on the content of the present application specification and drawings is also included in the patent protection scope of the present application.

Claims

1. A method for switching a card wireless communication state, characterized in that, The application is applied to an electronic device for wireless communication connection with a payment device, and the electronic device is provided with an induction coil, and the method comprises the following steps: Obtaining the connection state of the payment device and the electronic device through the induction coil; When the payment device and the electronic device establish connection, an activation signal is sent to the payment device, the activation signal is used to indicate that the payment device enters a card reading and being read polling mode, and a polling signal is sent; When the polling signal of the payment device is detected, a card simulation mode is switched to, and payment data is pushed to the payment device, the payment data is used to drive the payment device to initiate a payment process, and the electronic device is used for card payment; The activation signal sent to the payment device comprises the following steps: Obtaining parameter information of the payment device; Obtaining the transmission condition of the activation signal according to the parameter information; According to the transmission condition, the activation signal is sent; The parameter information comprises a battery life; According to the parameter information, the transmission condition of the activation signal comprises the following steps: The transmission condition corresponding to the battery life is obtained through a mapping table; The mapping table corresponds different battery life of each device type to corresponding transmission time, transmission strength and transmission frequency.

2. The card wireless communication state switching method according to claim 1, characterized in that, The connection state of the payment device and the electronic device is obtained through the change of the load on the induction coil. The electronic device comprises a communication chip, and the default state of the electronic device is a card reading mode; the switching to the card simulation mode comprises the following steps:

3. The card wireless communication state switching method according to claim 1, characterized in that, The card reading function of the communication chip is switched to a card simulation function. The parameter information comprises a device type; 4. The card wireless communication state switching method according to claim 1, characterized in that, According to the parameter information, the transmission condition of the activation signal comprises the following steps: The transmission condition is obtained according to the device type. After the card payment of the electronic device, the following steps are further included:

5. The method of claim 1, wherein the card wireless communication state is switched according to a user's selection. Judging whether the payment operation is completed, if yes, the card reading mode is switched. After the card payment of the electronic device, the following steps are further included:

6. The method of claim 1, wherein the card wireless communication state is switched according to a user's input. Judging whether the payment operation is failed, if yes, the card reading mode is switched and the payment device is prompted to have no payment ability. When the polling signal of the payment device is detected, the following steps are included:

7. The method of claim 1, wherein the card wireless communication state is switched according to a user's selection. Judging whether the polling signal is detected within a preset time, if not, the card reading mode is switched. The processor executes the computer program to realize the card wireless communication state switching method according to any one of claims 1-7.

8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, ​

Citation Information

Patent Citations

  • NFC-based data transmission method and mobile device

    CN108604342A

  • Method and system for automatically and quickly switching NFC (Near Field Communication) access control card

    CN113486684A