Wireless communication state switching method and electronic equipment

The connection status is obtained through the induction coil and the activation signal is sent, and the polling mode switching of the payment device is realized, which solves the problems of high hardware cost and poor stability in the switching of card simulation function and card reader function in the prior art, and realizes the wireless communication status of card The stable switching and card swiping payment process reduces the hardware control needs.

CN119298947AActive Publication Date: 2025-01-10FUJIAN LANDI COMMERCIAL EQUIPMENT CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, switching between card simulation function and card reader function has the problem that the hardware cost is high and the switching method is not conducive to use.

Method used

The connection status of the payment device and the electronic device is obtained through the induction coil, and an activation signal is sent to the payment device, activate the payment device to enter the reading and reading polling mode, and switch to the card simulation mode when the polling signal is detected to realize payment Data transmission completes the card swiping payment process, avoiding the need to set switches or hardware control.

Benefits of technology

The stability and cost reduction of card wireless communication status switching are achieved, and the reliability and convenience of mode switching are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119298947A_ABST
    Figure CN119298947A_ABST
Patent Text Reader

Abstract

The invention provides a card wireless communication state switching method and electronic equipment, which are applied to the electronic equipment, the electronic equipment is used for being in wireless communication connection with payment equipment, and an induction coil is configured on the electronic equipment. The method comprises the following steps: acquiring a connection state of the payment equipment and the electronic equipment through the induction coil; when the payment equipment is connected with the electronic equipment, an activation signal is sent to the payment equipment, the activation signal is used for indicating the payment equipment to enter a card reading and read polling mode, and a polling signal is sent; and when a polling signal of the payment device is detected, switching to a card simulation mode and pushing payment data to the payment device, the payment data being used for driving the payment device to initiate a payment process and performing card swiping payment on the electronic device. No switch or other hardware control is needed, so that the cost is reduced, the problem of switch stability 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 invention relates to the field of communication technology, and in particular to a card wireless communication state switching method and electronic equipment. Background Art

[0002] With the continuous development of wireless communication technologies, such as Radio Frequency Identification (RFID) and Near Field Communication (NFC), in related technologies, devices usually have a card emulation function, that is, the electronic device acts as a card to be read by other devices; at the same time, it also has a card reader function, that is, the electronic device acts as a card reader to read the card.

[0003] However, in order to realize the switching between the card emulation function and the card reader function, the solutions in the related art have the problems of high hardware cost and the switching method being inconvenient to use. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a card wireless communication state switching method and electronic equipment, which solves the problems in the related art that the switching solution between the card simulation function and the card reader function has high hardware cost and the switching method is not conducive to use.

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

[0006] A card wireless communication state switching method is applied to an electronic device, the electronic device is used to establish a wireless communication connection with a payment device, and the electronic device is provided with an induction coil, the method comprising:

[0007] Acquiring the connection status between the payment device and the electronic device through the induction coil;

[0008] When the payment device establishes a connection with the electronic device, an activation signal is sent to the payment device, wherein the activation signal is used to instruct the payment device to enter a polling mode for reading and being read by a card, and to send a polling signal;

[0009] When the polling signal of the payment device is detected, it switches to the card simulation mode and pushes the payment data to the payment device, wherein the payment data is used to drive the payment device to initiate a payment process and perform card payment on the electronic device.

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

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

[0012] The beneficial effects of the present invention are: obtaining the connection status between the payment device and the electronic device through the induction coil, and when the payment device establishes a connection 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 card reading and being read polling mode, and send a polling signal, when the electronic device detects the polling signal of the payment device, it switches the current mode to the card simulation mode to realize the payment data transmission. The present application modifies the internal logic of the electronic device, and realizes the card wireless communication state switching and completes the card swiping payment process by interacting with the payment device. The method of the present application does not need to set a switch or other hardware control, thereby reducing costs, solving the problem of switch stability, improving the stability of mode switching, and facilitating practical use. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A flowchart of a method for switching a card wireless communication state in an embodiment of the present invention;

[0014] Figure 2 is a schematic diagram of a module of an electronic device in an embodiment of the present invention;

[0015] Figure 3 Schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0016] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0017] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may 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 to prevent unnecessary details from obstructing the description of the present application.

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

[0019] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0020] In the related art, in order to realize the switching between the card simulation function and the card reader function, it is usually necessary to set up a card simulation module and a card reader module separately. For example, two chips, two coils and a switch are required, one is a read-write chip, and the other is a tag chip. The switch is used to switch between the two chips to perform the card reading and being read functions respectively. This solution has high hardware cost and is affected by the switch hardware, resulting in a high failure rate.

[0021] In order to solve the above problems, the present application provides a card wireless communication state switching method and an electronic device. The following specifically introduces a card wireless communication state switching method of the present application.

[0022] Please refer to Figure 1 , a card wireless communication state switching method is applied to an electronic device, the electronic device is used to establish a wireless communication connection with a payment device, and the electronic device is provided with an induction coil. Among them, the electronic device can be a terminal device such as a mobile phone, a POS machine, etc. This application does not limit this. The electronic device of this application has a card simulation function, that is, the electronic device can be used as a card to be read by other devices; it also has a card reader function, that is, the electronic device is used as a card reader to read a card. The payment device of this application can be a specific magnetic card, or it can be a mobile phone or POS machine with a card simulation function.

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

[0024] S110. Acquire the connection status between the payment device and the electronic device through the induction coil.

[0025] For example, the induction coil can be used to obtain the connection status with a card device such as a credit card, or the connection status with a mobile phone or other POS machine with a card simulation function.

[0026] S120: When the payment device establishes a connection with the electronic device, an activation signal is sent to the payment device, where the activation signal is used to instruct the payment device to enter a card reading and being read polling mode and send a polling signal.

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

[0028] S130: When a polling signal from a payment device is detected, the mode is switched to the card simulation mode, 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 perform card payment on 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 the card signal and the card reading signal, it switches to the card simulation state and pushes the payment data, such as NDEF (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 swipe the card to pay the electronic device; thereby completing the payment, receipt, and membership card deduction information reception on the mobile phone. For example, when the mobile phone as a payment device approaches the electronic device and the electronic device detects the polling signal of the payment device, it switches the electronic device to the card simulation mode to realize that the electronic device acts as a card and is read by the mobile phone as a payment device to complete the payment process. At the same time, detecting the card signal does not necessarily switch to the card simulation state. For example, bringing a card close can also establish communication, but a simple card cannot switch the device to card simulation, and a simple card cannot realize card reading.

[0030] In this application, the connection status between the payment device and the electronic device is obtained through an induction coil. When the payment device establishes a connection with the electronic device, an 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 send a polling signal. When the electronic device detects the polling signal of the payment device, it switches the current mode to the card simulation mode to realize the payment data transmission. This application modifies the internal logic of the electronic device, and through interaction with the payment device, realizes the card wireless communication state switching and completes the card payment process. The method of this application does not need to set a switch or other hardware control, thereby reducing costs, solving the problem of switch stability, and improving the stability of mode switching, which is conducive to practical use.

[0031] In one embodiment of the present application, step S110 includes: obtaining the connection status between the payment device and the electronic device through the change of the load on the induction coil. That is, the electronic device can determine whether a card is approaching by judging the load change of the radio frequency circuit of the card reader, so as to more effectively and accurately realize the recognition of payment devices such as credit cards, or when applied in other control scenarios, it can realize the recognition of NFC control functions such as access control cards.

[0032] In one embodiment of the present application, the electronic device includes a communication chip, and the electronic device is in a card reading mode by default. Figure 2 , the communication chip is connected to the card simulation function module and the card reader function module respectively, and only one induction coil is used to detect changes in the external device. In step S130, the method of switching to the card simulation mode includes: 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, and when the polling signal of the payment device is read, it means that the connection state is established. Thereby, the electronic device has stronger adaptability and avoids the power consumption of the payment device and the power consumption of the electronic device.

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

[0034] S131. Obtain parameter information of the payment device, such as system information, device type, battery life, and other parameter information of the payment device.

[0035] S132. Acquire the emission conditions of the activation signal according to the parameter information; that is, determine the corresponding emission conditions by making a comprehensive assessment based on the parameter information such as the system information, device type, and battery life of the payment device.

[0036] S133. Send an activation signal according to the transmission conditions.

[0037] For example, when a mobile phone or other POS device approaches, the electronic device will start transmitting the 13.56MHz carrier wave. 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 to send the activation signal, the electronic device can effectively send the activation signal and communicate with the payment device efficiently, thereby completing payment, receipt reception or other control operations.

[0038] For example, in an optional embodiment of the present application, the parameter information includes the device type; obtaining the emission condition of the activation signal according to the parameter information includes: obtaining the emission condition according to the device type. For example, if the device type is an Android phone, the emission duration will be relatively short, the intensity will be low, and the frequency can be 400ms, which is more reasonable; while for an Apple phone, the emission duration will need to be relatively long, the intensity will be high, and the frequency can be 200ms. That is, based on steps S131-S133, it is possible to match the corresponding transmission mode according to different device types, so that an effective communication connection can be established between the electronic device and the payment device.

[0039] For example, in another optional embodiment of the present application, the parameter information includes the battery life; obtaining the emission conditions of the activation signal according to the parameter information includes: obtaining the emission conditions corresponding to the battery life through a mapping table. For example, according to the different battery life conditions of Apple and Android devices, a corresponding mapping table is set to correspond the different battery life conditions of each device type to the corresponding emission conditions such as emission duration, emission intensity, and emission frequency, so that after obtaining the type and battery life of the current payment device, the corresponding emission conditions can be obtained based on the mapping table to send the activation signal; at the same time, in actual use, there is no need to deliberately distinguish between Apple devices and Android devices, and compatibility design is performed between these two types. It is achieved while ensuring the normal use of different types of devices and avoiding increasing the power consumption of payment devices.

[0040] In one embodiment of the present application, in step S130, after the electronic device performs a card payment, it also includes: determining whether the payment operation is completed, and if so, switching to a card reading mode. That is, when the electronic device and the payment device complete the corresponding payment operation, the electronic device is switched to a card reading mode, thereby reducing the energy consumption of the electronic device and the payment device. At the same time, after the payment operation is completed, a completion signal can also be sent, and the payment device can be controlled to exit the current mode through the completion signal, or a screen-off signal can be sent to turn off the screen of the payment device, thereby achieving the effect of reducing the power consumption of the payment device.

[0041] In one embodiment of the present application, in step S130, after the electronic device performs card payment, the following further includes: determining whether the payment operation fails, and if so, switching to the card reading mode and prompting that the payment device does not have the payment capability. That is, when the payment operation fails, the user can be promptly reminded that the current payment device does not have the payment capability, so that the user can perform other operations in a timely manner; at the same time, switching the electronic device to the card reading mode reduces unnecessary energy consumption of the electronic device.

[0042] In one embodiment of the present application, in step S130, when a polling signal of a payment device is detected, it includes: determining whether a polling signal is detected within a preset time, and if not, switching to a card reading mode. For example, if a polling signal is not detected within 5 seconds, the current state is switched to a card reading mode, which can avoid the problem of the electronic device being accidentally triggered to enter a card simulation state due to the proximity of the payment device, causing the electronic device to lose power. At the same time, after switching to card reading, the electronic device sends a signal to allow the payment device to exit the mode of step S120, thereby avoiding the payment device from losing power too quickly; because in actual use, electronic devices are generally wired, they have a continuous and stable power source, and payment devices such as mobile phones are usually powered by batteries in the device, so it is usually more necessary to pay more attention to 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 Another embodiment of the present application provides an electronic device 300, including a memory 301, a processor 302, and a computer program stored in the memory 301 and running on the processor 302. When the processor 302 executes the computer program, the above-mentioned card wireless communication state switching method is implemented. For example, the electronic device 300 is applied to the payment scenario of a convenience store. After the user approaches the electronic device 300 with a payment device such as a mobile phone, the electronic device 300 can complete the payment.

[0044] In summary, the present invention provides a card wireless communication state switching method and electronic device, which obtains the connection state of the payment device and the electronic device through an induction coil. When the payment device establishes a connection with the electronic device, an activation signal is sent to the payment device, and the activation signal is used to instruct the payment device to enter the card reading and being read polling mode, and send a polling signal. When the electronic device detects the polling signal of the payment device, it switches the current mode to the card simulation mode to realize payment data transmission. The present application modifies the internal logic of the electronic device, and realizes the card wireless communication state switching and completes the card swiping payment process by interacting with the payment device. The method of the present application does not need to set a switch or other hardware control, thereby reducing costs, solving the problem of switch stability, and improving the stability of mode switching, which is beneficial to practical use.

[0045] The above are only embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A card wireless communication state switching method, characterized in that: Applied to an electronic device, the electronic device is used to wirelessly communicate with a payment device, and the electronic device is equipped with an induction coil, the method includes: Acquiring the connection status between the payment device and the electronic device through the induction coil; When the payment device establishes a connection with the electronic device, an activation signal is sent to the payment device, wherein the activation signal is used to instruct the payment device to enter a polling mode for reading and being read by a card, and to send a polling signal; When the polling signal of the payment device is detected, it switches to the card simulation mode and pushes the payment data to the payment device, wherein the payment data is used to drive the payment device to initiate a payment process and perform card payment on the electronic device.

2. A card wireless communication state switching method according to claim 1, characterized in that: The obtaining the connection status between the payment device and the electronic device through the induction coil includes: The connection status between the payment device and the electronic device is obtained through the change of the load on the induction coil.

3. A card wireless communication state switching method according to claim 1, characterized in that: The electronic device includes a communication chip, and the electronic device is in a card reading mode by default; and the switching to the card emulation mode includes: The card reading function of the communication chip is switched to a card emulation function.

4. A card wireless communication state switching method according to claim 1, characterized in that: The sending an activation signal to the payment device comprises: Obtain parameter information of the payment device; Acquire a transmission condition of the activation signal according to the parameter information; The activation signal is sent according to the transmission condition.

5. A card wireless communication state switching method according to claim 4, characterized in that: The parameter information includes device type; The step of acquiring the transmission condition of the activation signal according to the parameter information includes: The transmitting condition is acquired according to the device type.

6. A card wireless communication state switching method according to claim 4 or 5, characterized in that: The parameter information includes battery life; The step of acquiring the transmission condition of the activation signal according to the parameter information includes: The launch condition corresponding to the endurance condition is obtained through a mapping table.

7. A card wireless communication state switching method according to claim 1, characterized in that: After the electronic device is paid by swiping a card, the following steps are further included: Determine whether the payment operation is completed. If so, switch to card reading mode.

8. A card wireless communication state switching method according to claim 1, characterized in that: After the electronic device is paid by swiping a card, the following steps are further included: Determine whether the payment operation fails, if so, switch to the card reading mode and prompt that the payment device does not have the payment capability.

9. A card wireless communication state switching method according to claim 1, characterized in that: The step of detecting the polling signal of the payment device comprises: Determine whether the polling signal is detected within a preset time, and if not, switch to a card reading mode.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method for switching the wireless communication state of a card as described in any one of claims 1 to 9 is implemented.

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

  • Interaction processing method, device and equipment applied to induction equipment

    CN118504594A

  • Active video card supporting active / passive collection and payment functions

    WO2022227274A1

Cited By

  • Electronic device for non-contact communication and control method

    CN120880499A

  • Payment method, electronic device, payment collection method, and payment collection device

    EP4811252A1

  • Acquiring apparatus and control method therefor, and control apparatus

    US12769973B2