WO2023165457A1 - Physical card adding method and apparatus, device, and storage medium - Google Patents

Physical card adding method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2023165457A1
WO2023165457A1 PCT/CN2023/078630 CN2023078630W WO2023165457A1 WO 2023165457 A1 WO2023165457 A1 WO 2023165457A1 CN 2023078630 W CN2023078630 W CN 2023078630W WO 2023165457 A1 WO2023165457 A1 WO 2023165457A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
information
wireless charging
card information
physical
Prior art date
Application number
PCT/CN2023/078630
Other languages
French (fr)
Chinese (zh)
Inventor
巫志文
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023165457A1 publication Critical patent/WO2023165457A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/77Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/20Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
    • H04B5/24Inductive coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application belongs to the technical field of wireless communication, and in particular relates to a method, device, equipment and storage medium for adding a physical card.
  • the purpose of the embodiment of the present application is to provide a method, device, device and storage medium for adding a physical card, which can solve the problem that electronic equipment cannot be used to copy and simulate the card information of a low-frequency physical card in the prior art, which brings many inconveniences to users The problem.
  • the embodiment of the present application provides a method for adding a physical card, the method including:
  • the wireless charging coil in the electronic device alternately sends a target frequency carrier and a wireless charging carrier, wherein the target frequency carrier is used to trigger the first entity card to send a first card information;
  • the second card information is the same information as the first card information, or the second card information is based on the first card information Information corresponding to the first entity card determined by the card information.
  • the embodiment of the present application provides a device for adding a physical card, which includes:
  • a first receiving module configured to receive a first input from a user for adding a first physical card
  • the first sending module is configured to alternately send the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device in response to the first input, wherein the target frequency carrier is used to trigger the first entity card to The electronic device sends the first card information;
  • the first storage module is configured to store the second card information in the case of receiving the first card information, the second card information is the same information as the first card information, or the second card information
  • the information is information corresponding to the first physical card determined according to the first card information.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The steps of the method.
  • an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the method described in the first aspect.
  • the embodiment of the present application further provides an electronic device configured to execute the steps of the method described in the first aspect.
  • by responding to the user adding the The first input of a physical card uses the wireless charging coil in the electronic device to alternately send the target frequency carrier and the wireless charging carrier, so that the target frequency carrier can trigger the first physical card to send the first card information to the electronic device, and upon receiving In the case of the first card information, the second card information is stored.
  • the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When the electronic device is used to swipe the card, the card information is called, so that the electronic device is used to copy the card information of the first entity card, which brings convenience to the user.
  • Fig. 1 is a schematic diagram of an overall system functional block diagram of a low-frequency card reading system shown according to an exemplary embodiment
  • Fig. 2 is a schematic diagram of a simulation scene of swiping a card by an electronic device according to an exemplary embodiment
  • Fig. 3 is one of the flowcharts of a method for adding a physical card according to an exemplary embodiment
  • Fig. 4a is a schematic diagram of an interface for adding a physical door card according to an exemplary embodiment
  • Fig. 4b is a schematic diagram of a physical door card sensing interface shown according to an exemplary embodiment
  • Fig. 5 is the second flowchart of a method for adding a physical card according to an exemplary embodiment
  • Fig. 6 is a flowchart of a specific implementation of a method for adding a physical card according to an exemplary embodiment
  • Fig. 7 is a flow chart of a method for simulating and using a physical card based on an electronic device according to an exemplary embodiment
  • Fig. 8 is a structural block diagram of a device for adding a physical card according to an exemplary embodiment
  • Fig. 9 is a structural block diagram of an electronic device according to an exemplary embodiment.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the working frequency of the card reader is defined as different products that meet different standards in the range of low frequency, high frequency and ultra-high frequency, and the card readers of different frequency bands will have different characteristics.
  • Card readers with a high frequency do not need coils to be wound, and the antenna can be made by etching and printing.
  • the card reader generally works through load modulation.
  • the low-frequency (from 125KHz to 134KHz) frequency mainly works through inductive coupling, that is, there is a transformer coupling effect between the card reader coil and the physical card coil.
  • the overall system functional block diagram of the low-frequency card reading system can be composed of a card reader and a physical card.
  • the card reader includes: oscillator module, antenna driver module, demodulation module, filter and gain module, data decoding module, and signal antenna module, etc.
  • the physical card includes: signal antenna module, rectifier module, clock sequencer module , a data encoding module, a data modulation module, and a storage unit, etc. It can be seen that in the low-frequency card reading system, there are coils wound inside the card reader and the physical card, and there is a transformer coupling effect between the card reader coil and the physical card coil.
  • the wireless charging function of electronic devices is mainly realized by setting up a wireless charging system based on the Qi protocol in the electronic device. Physical cards have frequency bands that match.
  • the reverse wireless charging working mode is similar to the card reader function, and the wireless charging working mode is similar to the card simulation function, and the frequency and modulation method of information receiving and sending are similar, both of which are load modulation.
  • wireless charging itself has all the basic circuit elements of the low-frequency physical card function.
  • an embodiment of the present application provides a method for adding a physical card, that is, receiving a first input from the user for adding a first physical card; in response to the first input, alternately sending the target frequency through the wireless charging coil in the electronic device Carrier and wireless charging carrier, wherein the target frequency carrier is used to trigger the first entity card to send the first card information to the electronic device; when the first card information is received
  • the second card information is stored, and the second card information is the same information as the first card information, or the second card information is information corresponding to the first physical card determined according to the first card information.
  • the method for adding a physical card provided in this application can be applied to a simulation scene of swiping a card on an electronic device.
  • electronic devices include but not limited to mobile phones, tablet computers and other handheld devices
  • physical cards include but not limited to access control cards, bus cards, credit cards, payment cards, etc.
  • the user can add the card information of the physical card 20 to the electronic device 21 through the wireless charging coil of the electronic device 21 , wherein the physical card 20 can be a low-frequency physical card.
  • the electronic device 21 activates the physical card 20 through the wireless charging coil, so that the physical card 20 sends the corresponding card information to the electronic device 21, the above-mentioned card information can be sent to the card reader 22 when it is close to the card reader 22, thereby realizing
  • the card swiping simulation function achieves the same functional experience as the physical card.
  • the embodiment of the present application can realize the acquisition of the card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then save the card information corresponding to the first physical card, so that the user can use the electronic device When the card is swiped, the card information is called, so that the electronic device can be used to copy the card information of the first physical card, which brings convenience to the user.
  • the execution subject may be a device for adding a physical card, or a control module in the device for adding a physical card for executing the method for adding a physical card.
  • the method for adding a physical card performed by the device for adding a physical card is taken as an example to illustrate the method for adding a physical card provided in the embodiment of the present application.
  • Fig. 3 is a flowchart of a method for adding a physical card according to an exemplary embodiment.
  • the method for adding a physical card may include steps: S310-S330, each step will be explained in detail below.
  • S310 Receive a first input from a user for adding a first physical card.
  • the first physical card may be an access control card, a bus card, a credit card, a payment card, and the like.
  • the first input may be a trigger input by the user on a function button for adding a physical card displayed on the physical card adding page, and the trigger input includes but is not limited to operations such as single click, double click, and long press.
  • FIG. 4a after the user triggers to enter the door card interface in the mobile phone, multiple options such as physical door card, smart door lock, community door card and custom door card can be displayed in the interface , with an Add button for each option.
  • Figure 4b at the user point After clicking the "Add" button corresponding to the physical door card option, the wireless charging induction area can be displayed, and the prompt message "Please attach the physical door card to the wireless charging induction area on the back of the phone" can be displayed. Since the mobile phone supporting the wireless charging function is generally equipped with a wireless charging coil, and in the embodiment of the present application, the physical door card and the receiver are mainly induced by the wireless charging coil.
  • the wireless charging coil is usually placed on the back of the mobile phone and has a circular shape
  • a coil pattern corresponding to the wireless charging induction area on the back of the mobile phone can be displayed on the front of the screen of the mobile phone to prompt the user to charge wirelessly
  • the position of the coil, the coil pattern on the front of the phone is aligned with the wireless charging induction area on the back of the phone.
  • the target frequency carrier and the wireless charging carrier may be low frequency carriers.
  • the frequency range of the wireless charging carrier may include the frequency range of the target frequency carrier.
  • the frequency range of the target frequency carrier is between 125KHz-134KHz
  • the frequency range of the wireless charging carrier is between 100KHz-205KHz.
  • the target frequency carrier may be the 125KHz carrier required for low-frequency access control
  • the wireless charging carrier may be the 200kHz carrier required for wireless charging, that is, the target frequency carrier and the wireless charging carrier may be two carriers with different frequencies in the low-frequency range. It can be understood that since different devices use different carrier frequencies, the target frequency carriers corresponding to different devices may be different from the wireless charging carrier.
  • the electronic device may be an electronic device with a wireless charging function, and the wireless charging function is usually implemented based on a wireless charging coil.
  • the reverse wireless charging function can be automatically turned on, based on the reverse wireless charging function, enter the Ping stage, and use the wireless charging coil alternately Send target frequency carrier and wireless charging carrier.
  • the wireless charging carrier is used to connect close wireless charging receiving devices.
  • the wireless charging receiving device may feed back a signal strength package (Signal Strength Package, SS package) to the electronic device. After the electronic device receives the signal strength package, that is According to the wireless charging Qi protocol, reverse charging operation can be performed.
  • the currently approaching device is the first physical card
  • the The resonant circuit formed by the inductance coil and the capacitor can receive the carrier signal of the target frequency transmitted by the electronic equipment.
  • the radio frequency interface module of the chip in the first physical card generates the power supply voltage, reset signal and system clock from this signal. Under the action of electromagnetic induction, the first The chip in the physical card gets activation energy, which makes the chip "activate”. After the chip in the first physical card is "activated", the electronic device can receive the 64-bit information sent by the first physical card through load modulation.
  • the second card information may be the same information as the first card information, or may be information determined according to the first card information, for example, information obtained by encoding or decoding the first card information.
  • the method of determining whether the first card information is received may include detecting whether the 64-bit information sent by the first entity card through load modulation is received, and may also include detecting whether the signal sent by the wireless charging receiving device is received within a preset time period
  • the strength packet may also include detecting the type of the received information when receiving the information, so as to determine whether it is 64bit information or the first signal strength packet.
  • the specific manner of determining whether the first card information is received is not limited here.
  • the first card information may be stored in the memory of the electronic device, or the information obtained by processing the first card information may be stored in the memory of the electronic device.
  • a prompt message of "addition has been completed” may also be displayed on the display interface of the electronic device. Based on the prompt information, the user can click the "exit” button in the display interface to exit the interface for adding the physical card. In response to the user quitting the operation of adding a physical card, the electronic device can automatically turn off the reverse wireless charging function, and then stop sending the target frequency carrier and the wireless charging carrier.
  • the target frequency carrier can be triggered to send the target frequency carrier to the electronic device by the first entity card.
  • First card information and store the second card information if the first card information is received.
  • the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When using an electronic device to swipe a card, The calling of the card information is realized, so that the card information of the first physical card can be copied by using the electronic device, which brings convenience to the user.
  • the method for adding a physical card may further include:
  • the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when receiving the wireless charging carrier.
  • the first preset duration may be a preset duration set by the user in the electronic device, and the first information received by the electronic device within the first preset duration may be the first signal strength packet fed back by the wireless charging receiving device, or It may be the first card information sent by the first entity card.
  • the first signal strength packet may be a signal strength packet fed back to the electronic device by the wireless charging receiving device when receiving the wireless charging carrier.
  • the wireless charging Qi protocol can be used to , perform a reverse charging operation.
  • the first information received by the electronic device within the first preset time period is not the first signal strength packet, it can be determined that the sensed device is a physical card. At this time, it may be determined that the first information received by the electronic device is 64-bit information sent by the physical card through load modulation, that is, the first card information. Specifically, the electronic device can realize duplication of the physical card by storing the 64-bit information sent by the physical card or related information.
  • the corresponding card information sent by the first physical card can be received, so that the electronic device can be connected to the first A copy of the physical card.
  • the first card information involved in the embodiment of the present application may be unencoded information, or may be encoded information. Therefore, in the case that the first card information is encoded information, that is, the first encoded information, in some optional implementation manners, in the above Before S330, the method for adding a physical card provided in the embodiment of the present application includes:
  • the first coded information is decoded according to a preset decoding manner to obtain first decoded information corresponding to the first physical card.
  • the above S330 may specifically include:
  • the second card information stored in the final electronic device may be first decoded information corresponding to the first coded information.
  • the preset decoding method may be Manchester (Manchester) decoding, biphase (Biphase) decoding, or phase-shift keying (phase-shift keying, PSK) modulation decoding.
  • the first card information can be encoded by a preset encoding method
  • the final preset decoding method can be determined by the preset encoding method, and the preset decoding method corresponding to the preset encoding method can be used. Decoding is performed to obtain decoded first decoded information corresponding to the first physical card.
  • the preset decoding mode may adopt Biphase decoding that matches the wireless charging Qi protocol.
  • the first card information may also be information that is not encrypted in a preset encoding manner. In this case, there is no need to decode the first card information, and the received first card information is directly stored.
  • the first card information may be decoded, and then the obtained second card information, that is, the first decoded information, stored in the memory of the electronic device.
  • the first decoded information of the first entity card can be obtained, and stored in the memory of the electronic device, and called when the user performs identity authentication or swipes the card.
  • the electronic device can copy the first physical card.
  • the electronic device can also be used to realize the same card swiping function as the first physical card, that is to The receiver corresponding to the first physical card senses the electronic device.
  • the method for adding a physical card provided in the embodiment of the present application may further include S340, which includes: The body looks like this:
  • the wireless charging coil When the wireless charging coil is activated by the first device, send the third card information to the first device through the wireless charging coil, where the third card information is the same information as the second card information, or the third card information is based on Information corresponding to the first physical card determined by the second card information.
  • the first device may be a wireless charging device, or it may be a card reader corresponding to the first physical card
  • the third card information may be the second card information stored in the electronic device, or it may be the second card information stored in the electronic device. Information obtained after processing.
  • the first device may send low-frequency carrier waves constantly, and when the electronic device is close to the first device, the low-frequency carrier wave may activate the wireless charging coil of the electronic device.
  • the electronic device can send information to the first device through the activated wireless charging coil. Therefore, when the wireless charging coil is activated by the first device, the electronic device may send the third card information corresponding to the first physical card to the first device by using the wireless charging coil.
  • the wireless charging coil when the wireless charging coil is activated by the first device, by using the wireless charging coil to send the third card information to the first device, the first device can read the card information related to the first physical card, thereby realizing electronic charging.
  • the card swiping simulation function of the device achieves the same functional experience as the first physical card.
  • the above S340 includes:
  • the third card information is sent to the first device through the wireless charging coil, where the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
  • the second signal strength packet may be a signal strength packet that the electronic device feeds back to the first device through the wireless charging coil when receiving the low-frequency carrier wave sent by the first device.
  • the charging signal packet may be identification information sent by the wireless charger through the transmitter and a signal packet in the configuration phase.
  • the first device when the first device is a wireless charger, the first device receives the After the second signal strength packet sent by the sub-device, it will send a charging signal packet to the electronic device.
  • the first device in the case that the first device is a card reader, after receiving the second signal strength packet sent by the electronic device, the first device will not respond, that is, will not send a charging signal packet to the electronic device.
  • the second preset duration may be a preset duration in the electronic device. If the electronic device has received the charging signal packet sent by the first device within the second preset time period, it may be determined that the first device is a wireless charger. In the case that the first device is a wireless charger, the charging operation can be performed according to the wireless charging Qi protocol.
  • the electronic device does not receive the charging signal packet within the second preset time period, it may be determined that the first device is a card reader.
  • the wireless charging coil can be used to send the third card information corresponding to the first physical card to the first device.
  • the first device can match the received third card information with the preset card information in the system, and when the matching is successful, it can execute the response control function corresponding to the first physical card.
  • the wireless charging coil to send the second signal strength packet to the first device, if the charging signal packet fed back by the first device is not received, it is judged that the first device is a card reader, and the wireless charging coil is used to send the second signal strength packet to the first device.
  • One device sends the third card information, so that the type of the first device can be determined first, and the card swiping process such as sending the third card information is executed when the first device is a card reader, thereby improving the accuracy and security of information sending .
  • the electronic device there may be one or more card information stored in the electronic device.
  • the stored multiple card information may be sequentially sent to the first device according to the order in which the multiple card information is stored in the electronic device.
  • feedback information may be sent to the electronic device to inform the electronic device whether the card information currently sent is consistent with the pre-stored card If the information matches the information, when the electronic device receives the feedback information of successful matching, it will stop sending other unsent card information, otherwise, continue to send other unsent card information until all the stored card information has been traversed.
  • the The electronic device is set to send the saved multiple card information to the first device in sequence until the traversal ends, so as to ensure that the electronic device can successfully send the card information related to the first physical card to the first device, thereby ensuring that the first device In the case of a card reader corresponding to the first physical card, the electronic device can be successfully sensed.
  • the wireless charging coil to sequentially send multiple stored card information to the first device, it can be ensured that the first device can receive correct card information when the first device is a card reader corresponding to the first physical card , thereby improving the success rate of swiping cards.
  • the second card information may be the first decoding information corresponding to the first entity card.
  • the entity provided by the embodiment of the present application Card addition methods can also include:
  • the first decoded information is encoded to obtain the first encoded information corresponding to the first physical card.
  • the aforementioned sending of the third card information to the first device through the wireless charging coil may specifically include:
  • the third card information sent by the final electronic device to the first device through the wireless charging coil may be the first decoding information corresponding to the first decoding information.
  • First encoded information the preset encoding method may be Manchester encoding, Biphase encoding, or PSK encoding.
  • a preset encoding method corresponding to the first decoding information corresponding to the first physical card may be used for encoding processing to obtain encrypted first encoded information corresponding to the first physical card.
  • the preset coding mode may adopt Biphase codec that matches the wireless charging Qi protocol.
  • the second card information is not decoded information, it is not necessary to encode the stored second card information corresponding to the first physical card.
  • the first encoded information corresponding to the first entity card can be obtained, that is, the encrypted third card information corresponding to the first entity card can be obtained, and the card information can be improved. Security during transmission.
  • the method for adding a physical card may include steps: S6001-S6012, which will be explained in detail below.
  • the mobile phone automatically turns on the reverse wireless charging function.
  • the first entity card sends the card information to the mobile phone through load modulation.
  • S6009 Receive 64bit information sent by the first entity card.
  • the method for swiping the card with the mobile phone may include steps: S7001-S7011, which will be explained in detail below.
  • the mobile phone is close to the first device.
  • the low-frequency carrier wave sent by the first device activates the mobile phone through the wireless induction coil.
  • the mobile phone sends a second signal strength packet according to the wireless charging protocol.
  • S7006 Determine that the first device is a wireless charger, and perform a wireless charging operation.
  • S7007 Determine that the first device is a card reader, and encode the stored 64-bit card information.
  • the mobile phone uses load modulation to send the coded card information.
  • the card reader receives and analyzes the card information sent by the mobile phone.
  • the card reader matches preset card information according to the received card information.
  • the card information of the first physical card can be added to the mobile phone terminal, and when the mobile phone is close to the card reader, the card reader can read the card information of the first physical card through the mobile phone, and execute the corresponding The corresponding card swiping function, so as to realize the duplication and simulation of the first physical card by the mobile phone, and improve the user experience.
  • the present application also provides a physical card adding device.
  • the device for adding a physical card provided by the embodiment of the present application will be described in detail below with reference to FIG. 8 .
  • Fig. 8 is a structural block diagram of a device for adding a physical card according to an exemplary embodiment.
  • the entity card adding device 800 may include:
  • the first receiving module 801 is configured to receive a first input from a user for adding a first physical card
  • the first sending module 802 is configured to alternately send the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device in response to the first input, wherein the target frequency carrier is used to trigger the first entity card to send the first card information;
  • the first storage module 803 is configured to store the second card information when the first card information is received, the second card information is the same information as the first card information, or the second card information is based on the first card information The determined information corresponding to the first entity card.
  • the above-mentioned entity card adding device 800 may also include:
  • the type acquisition module is used to acquire the second frequency carrier in response to the first input, after the target frequency carrier and the wireless charging carrier are alternately sent through the wireless charging coil in the electronic device, and the first information is received within the first preset time length. - the information type of the information;
  • An information determination module configured to determine that the first information is the first card information when it is determined according to the information type that the first information is not the first signal strength packet;
  • the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when receiving the wireless charging carrier.
  • the first card information is the first encoded information corresponding to the first physical card
  • the above-mentioned physical card adding device 800 may also include:
  • a decoding module configured to decode the first coded information according to a preset decoding method before storing the second card information, to obtain the first decoded information corresponding to the first physical card;
  • the first storage module 803 may specifically include:
  • the second storage sub-module is used for storing the first decoding information.
  • the above-mentioned entity card adding device 800 may also include:
  • the second sending module is configured to send the third card information to the first device through the wireless charging coil when the wireless charging coil is activated by the first device after storing the second card information, the third card information being the same as the second card information Information that is the same as the card information, or the third card information is information corresponding to the first physical card determined according to the second card information.
  • the second sending module may specifically include:
  • the third sending sub-module is configured to send a second signal strength packet to the first device through the wireless charging coil, wherein the second signal strength packet is used to instruct the first device to send the electronic
  • the device sends a charging signal packet
  • the information calling sub-module is used to call the stored second card information corresponding to the first physical card when the charging signal packet is not received within the second preset time period;
  • the fourth sending sub-module sends the third card information to the first device through the wireless charging coil, wherein the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
  • the second card information is the first decoding information corresponding to the first physical card
  • the above-mentioned physical card adding device 800 may also include:
  • the encoding module is configured to encode the first decoding information according to a preset encoding method before sending the third card information to the first device through the wireless charging coil, so as to obtain the first encoding information corresponding to the first physical card;
  • the second sending module or the fourth sending submodule includes:
  • the fifth sending unit is configured to send the first encoded information to the first device through the wireless charging coil.
  • the target frequency carrier can be triggered to send the target frequency carrier to the electronic device by the first entity card.
  • First card information and store the second card information if the first card information is received.
  • the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When electronic equipment is used to swipe the card, the calling of the card information is realized, so that the card information of the first entity card is realized by using the electronic equipment. Copy, bring convenience to users.
  • the apparatus for adding a physical card in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a terminal, or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) equipment, robots, wearable devices, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc.
  • the device for adding a physical card in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the device for adding a physical card provided in the embodiment of the present application can realize various processes realized in the method embodiments in FIG. 3 to FIG. 7 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, and the memory 902 stores programs or instructions that can run on the processor 901.
  • the program or instruction is executed by the processor 901
  • the steps of the above embodiment of the method for adding a physical card can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1010 through a power management system, In this way, functions such as management of charging, discharging, and power consumption management are realized through the power management system.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the user input unit 1007 is configured to receive the first input from the user for adding the first physical card
  • the radio frequency unit 1001 is configured to alternately send a target frequency carrier and a wireless charging carrier through a wireless charging coil in the electronic device in response to a first input, wherein the target frequency carrier is used to trigger the first entity card to send the first card information to the electronic device ;
  • the memory 1009 is used to store the second card information when the first card information is received, the second card information is the same information as the first card information, or the second card information is determined according to the first card information and Information corresponding to the first entity card.
  • the target frequency carrier can be triggered to send the target frequency carrier to the electronic device by the first entity card.
  • First card information and store the second card information if the first card information is received.
  • the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When the electronic device is used to swipe the card, the card information is called, so that the electronic device is used to copy the card information of the first entity card, which brings convenience to the user.
  • the processor 1010 is further configured to acquire the information type of the first information when the first information is received within the first preset duration; In the case of , it is determined that the first information is the first card information; wherein, the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when the wireless charging carrier is received.
  • the processor 1010 is further configured to decode the first coded information according to a preset decoding method before storing the second card information, to obtain first decoded information corresponding to the first physical card;
  • the memory 1009 is also used to store the first decoding information.
  • the radio frequency unit 1001 is further configured to send the third card information to the first device through the wireless charging coil when the wireless charging coil is activated by the first device, the third card information being the same as the first device
  • the second card information is the same information, or the third card information is information corresponding to the first physical card determined according to the second card information.
  • the radio frequency unit 1001 is further configured to send a second signal strength packet to the first device through the wireless charging coil, where the second signal strength packet is used to indicate the first The device sends a charging signal packet to the electronic device;
  • the processor 1010 is further configured to call the stored second card information corresponding to the first physical card when the charging signal packet is not received within the second preset time period;
  • the radio frequency unit 1001 is further configured to send third card information to the first device through the wireless charging coil, where the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
  • the processor 1010 is further configured to perform encoding processing on the first decoding information according to a preset encoding method, to obtain the first encoding information corresponding to the first physical card
  • the radio frequency unit 1001 is further configured to send the first coded information to the first device through the wireless charging coil.
  • the first device can read the first physical card Corresponding card information, so as to realize the card swiping simulation function of the electronic device, and achieve the same functional experience as that of the first physical card.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data.
  • the memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first The storage area can store an operating system, an application program or an instruction required by at least one function (such as a sound playing function, an image playing function, etc.), and the like.
  • memory 1009 may include volatile memory or nonvolatile memory, or, memory 1009 may include both volatile and nonvolatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM electronically programmable Erase Programmable Read-Only Memory
  • Flash Flash
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM , SLDRAM
  • Direct Memory Bus Random Access Memory Direct Rambus
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, each process of the above embodiment of the method for adding a physical card is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement
  • the various processes of the embodiments of the method for adding a physical card above can achieve the same technical effect, and will not be repeated here to avoid repetition.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to realize the various processes in the embodiment of the above-mentioned physical card adding method, and can achieve the same technology Effect, in order to avoid repetition, will not repeat them here.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Near-Field Transmission Systems (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The present application relates to the technical field of wireless communications, and discloses a physical card adding method and apparatus, a device, and a storage medium. The method comprises: receiving a first input of a user for adding a first physical card; in response to the first input, alternately sending a target frequency carrier and a wireless charging carrier , by means of a wireless charging coil in an electronic device, the target frequency carrier being used for triggering the first physical card to send first card information to the electronic device; and when the first card information is received, storing second card information, the second card information being the same as the first card information, or the second card information being information corresponding to the first physical card determined according to the first card information.

Description

实体卡添加方法、装置、设备和存储介质Entity card adding method, device, equipment and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求享有于2022年03月02日提交的名称为“实体卡添加方法、装置、设备和存储介质”的中国专利申请202210201346.2的优先权,该申请的全部内容通过引用并入本文中。This application claims the priority of the Chinese patent application 202210201346.2, filed on March 2, 2022, entitled "Method, Device, Device and Storage Medium for Adding Physical Cards", the entire content of which is incorporated herein by reference.
技术领域technical field
本申请属于无线通信技术领域,具体涉及一种实体卡添加方法、装置、设备和存储介质。The present application belongs to the technical field of wireless communication, and in particular relates to a method, device, equipment and storage medium for adding a physical card.
背景技术Background technique
随着无线通信技术的发展,如今越来越多的电子设备可以实现对高频实体卡的卡信息进行复制,从而模拟高频实体卡对应的功能,为用户带来便利。With the development of wireless communication technology, more and more electronic devices can now replicate the card information of high-frequency physical cards, thereby simulating the corresponding functions of high-frequency physical cards, bringing convenience to users.
但是现有技术中,无法利用电子设备对低频实体卡的卡信息进行复制,使得低频实体卡在使用过程中存在诸多不便,例如,低频实体卡的开卡制作需要花费一定的费用和时间;低频实体卡通常与实体钥匙挂在一起,体积大,携带不便;存在多张低频实体卡时,需要手动辨别使用。因此,由于现有技术中无法利用电子设备对低频实体卡的卡信息进行复制和模拟,给用户带来诸多不便。However, in the prior art, it is impossible to use electronic equipment to copy the card information of the low-frequency physical card, which causes many inconveniences in the use of the low-frequency physical card. The physical card is usually hung together with the physical key, which is bulky and inconvenient to carry; when there are multiple low-frequency physical cards, manual identification is required. Therefore, because the electronic equipment cannot be used to copy and simulate the card information of the low-frequency physical card in the prior art, it brings a lot of inconvenience to the user.
发明内容Contents of the invention
本申请实施例的目的是提供一种实体卡添加方法、装置、设备和存储介质,能够解决现有技术中无法利用电子设备对低频实体卡的卡信息进行复制和模拟,给用户带来诸多不便的问题。The purpose of the embodiment of the present application is to provide a method, device, device and storage medium for adding a physical card, which can solve the problem that electronic equipment cannot be used to copy and simulate the card information of a low-frequency physical card in the prior art, which brings many inconveniences to users The problem.
第一方面,本申请实施例提供了一种实体卡添加方法,该方法包括: In the first aspect, the embodiment of the present application provides a method for adding a physical card, the method including:
接收用户用于添加第一实体卡的第一输入;receiving a first input from a user for adding a first physical card;
响应于所述第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,所述目标频率载波用于触发所述第一实体卡向所述电子设备发送第一卡信息;In response to the first input, the wireless charging coil in the electronic device alternately sends a target frequency carrier and a wireless charging carrier, wherein the target frequency carrier is used to trigger the first entity card to send a first card information;
在接收到所述第一卡信息的情况下,存储第二卡信息,所述第二卡信息为与所述第一卡信息相同的信息,或者所述第二卡信息为根据所述第一卡信息确定的与所述第一实体卡对应的信息。In the case of receiving the first card information, store the second card information, the second card information is the same information as the first card information, or the second card information is based on the first card information Information corresponding to the first entity card determined by the card information.
第二方面,本申请实施例提供了一种实体卡添加装置,该装置包括:In the second aspect, the embodiment of the present application provides a device for adding a physical card, which includes:
第一接收模块,用于接收用户用于添加第一实体卡的第一输入;A first receiving module, configured to receive a first input from a user for adding a first physical card;
第一发送模块,用于响应于所述第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,所述目标频率载波用于触发所述第一实体卡向所述电子设备发送第一卡信息;The first sending module is configured to alternately send the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device in response to the first input, wherein the target frequency carrier is used to trigger the first entity card to The electronic device sends the first card information;
第一存储模块,用于在接收到所述第一卡信息的情况下,存储第二卡信息,所述第二卡信息为与所述第一卡信息相同的信息,或者所述第二卡信息为根据所述第一卡信息确定的与所述第一实体卡对应的信息。The first storage module is configured to store the second card information in the case of receiving the first card information, the second card information is the same information as the first card information, or the second card information The information is information corresponding to the first physical card determined according to the first card information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The steps of the method.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the method described in the first aspect.
第七方面,本申请实施例还提供一种电子设备,被配置成用于执行如第一方面所述的方法的步骤。在本申请实施例中,通过响应于用户添加第 一实体卡的第一输入,利用电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,能够使目标频率载波触发第一实体卡向该电子设备发送第一卡信息,并在接收到第一卡信息的情况下,存储第二卡信息。如此,本申请实施例能够通过对无线充电线圈的复用实现对第一实体卡对应的第一卡信息的获取,进而通过保存第一卡信息或由第一卡信息得到的信息,使用户在利用电子设备进行刷卡时,实现对卡信息的调用,从而实现利用电子设备对第一实体卡的卡信息进行复制,为用户带来便利。In a seventh aspect, the embodiment of the present application further provides an electronic device configured to execute the steps of the method described in the first aspect. In the embodiment of this application, by responding to the user adding the The first input of a physical card uses the wireless charging coil in the electronic device to alternately send the target frequency carrier and the wireless charging carrier, so that the target frequency carrier can trigger the first physical card to send the first card information to the electronic device, and upon receiving In the case of the first card information, the second card information is stored. In this way, the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When the electronic device is used to swipe the card, the card information is called, so that the electronic device is used to copy the card information of the first entity card, which brings convenience to the user.
附图说明Description of drawings
图1是根据一示例性实施例示出的低频读卡系统的整体系统功能框图的示意图;Fig. 1 is a schematic diagram of an overall system functional block diagram of a low-frequency card reading system shown according to an exemplary embodiment;
图2是根据一示例性实施例示出的电子设备刷卡模拟场景的示意图;Fig. 2 is a schematic diagram of a simulation scene of swiping a card by an electronic device according to an exemplary embodiment;
图3是根据一示例性实施例示出的实体卡添加方法的流程图之一;Fig. 3 is one of the flowcharts of a method for adding a physical card according to an exemplary embodiment;
图4a是根据一示例性实施例示出的实体门卡添加界面的示意图;Fig. 4a is a schematic diagram of an interface for adding a physical door card according to an exemplary embodiment;
图4b是根据一示例性实施例示出的实体门卡感应界面的示意图;Fig. 4b is a schematic diagram of a physical door card sensing interface shown according to an exemplary embodiment;
图5是根据一示例性实施例示出的实体卡添加方法的流程图之二;Fig. 5 is the second flowchart of a method for adding a physical card according to an exemplary embodiment;
图6是根据一示例性实施例示出的实体卡添加方法的具体实施方式的流程图;Fig. 6 is a flowchart of a specific implementation of a method for adding a physical card according to an exemplary embodiment;
图7是根据一示例性实施例示出的基于电子设备的实体卡模拟使用方法的流程图;Fig. 7 is a flow chart of a method for simulating and using a physical card based on an electronic device according to an exemplary embodiment;
图8是根据一示例性实施例示出的实体卡添加装置的结构框图;Fig. 8 is a structural block diagram of a device for adding a physical card according to an exemplary embodiment;
图9是根据一示例性实施例示出的电子设备的结构框图;Fig. 9 is a structural block diagram of an electronic device according to an exemplary embodiment;
图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。 The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
目前定义读卡器的工作频率有低频、高频和超高频频率范围内的符合不同标准的不同的产品,而且不同频段的读卡器会有不同的特性。高频(工作频率为13.56MHz)频率的读卡器不需要线圈进行绕制,可以通过蚀刻印刷的方式制作天线,读卡器一般通过负载调制的方式进行工作。而低频(从125KHz到134KHz)频率主要是通过电感耦合的方式进行工作,也就是在读卡器线圈和实体卡线圈间存在着变压器耦合作用。At present, the working frequency of the card reader is defined as different products that meet different standards in the range of low frequency, high frequency and ultra-high frequency, and the card readers of different frequency bands will have different characteristics. Card readers with a high frequency (working frequency of 13.56MHz) do not need coils to be wound, and the antenna can be made by etching and printing. The card reader generally works through load modulation. The low-frequency (from 125KHz to 134KHz) frequency mainly works through inductive coupling, that is, there is a transformer coupling effect between the card reader coil and the physical card coil.
如图1所示,低频读卡系统的整体系统功能框图可以由读卡器和实体卡组成。其中,读卡器包括:振荡器模块、天线驱动模块、解调模块、滤波和增益模块、数据解码模块、以及信号天线模块等;实体卡包括:信号天线模块、整流模块、时钟定序器模块、数据编码模块、数据调制模块、和存储单元等。可以看出,在低频读卡系统中,读卡器内部与实体卡内部都有线圈绕制,读卡器线圈和实体卡线圈之间存在着变压器耦合作用。As shown in Figure 1, the overall system functional block diagram of the low-frequency card reading system can be composed of a card reader and a physical card. Among them, the card reader includes: oscillator module, antenna driver module, demodulation module, filter and gain module, data decoding module, and signal antenna module, etc.; the physical card includes: signal antenna module, rectifier module, clock sequencer module , a data encoding module, a data modulation module, and a storage unit, etc. It can be seen that in the low-frequency card reading system, there are coils wound inside the card reader and the physical card, and there is a transformer coupling effect between the card reader coil and the physical card coil.
另一方面,由于越来越多的电子设备支持无线充电功能,而电子设备的无线充电功能主要通过在电子设备中设置基于Qi协议的无线充电系统来实现,通信频率在100KHz~205KHz,与低频实体卡有频率匹配的频段。同时,反向无线充电工作模式与读卡器功能类似,无线充电工作模式与卡模拟功能类似,且信息接收与发送的频率与调制方式均相近,都是负载调制。另外,无线充电本身具备低频实体卡功能的全部基本电路元素。On the other hand, since more and more electronic devices support the wireless charging function, the wireless charging function of electronic devices is mainly realized by setting up a wireless charging system based on the Qi protocol in the electronic device. Physical cards have frequency bands that match. At the same time, the reverse wireless charging working mode is similar to the card reader function, and the wireless charging working mode is similar to the card simulation function, and the frequency and modulation method of information receiving and sending are similar, both of which are load modulation. In addition, wireless charging itself has all the basic circuit elements of the low-frequency physical card function.
因此,本申请实施例提供了一种实体卡添加方法,也即,接收用户用于添加第一实体卡的第一输入;响应于第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,目标频率载波用于触发第一实体卡向电子设备发送第一卡信息;在接收到第一卡信息的情 况下,存储第二卡信息,第二卡信息为与第一卡信息相同的信息,或者第二卡信息为根据第一卡信息确定的与第一实体卡对应的信息。Therefore, an embodiment of the present application provides a method for adding a physical card, that is, receiving a first input from the user for adding a first physical card; in response to the first input, alternately sending the target frequency through the wireless charging coil in the electronic device Carrier and wireless charging carrier, wherein the target frequency carrier is used to trigger the first entity card to send the first card information to the electronic device; when the first card information is received In this case, the second card information is stored, and the second card information is the same information as the first card information, or the second card information is information corresponding to the first physical card determined according to the first card information.
本申请所提供的实体卡添加方法,可以应用于电子设备刷卡模拟场景中。其中,电子设备包括但不限于手机、平板电脑以及其他手持设备,实体卡包括但不限于门禁卡、公交卡、信用卡、支付卡等。The method for adding a physical card provided in this application can be applied to a simulation scene of swiping a card on an electronic device. Among them, electronic devices include but not limited to mobile phones, tablet computers and other handheld devices, and physical cards include but not limited to access control cards, bus cards, credit cards, payment cards, etc.
如图2所示,用户可以将实体卡20的卡信息通过电子设备21的无线充电线圈添加到电子设备21中,其中,实体卡20可以为低频实体卡。在电子设备21通过无线充电线圈激活实体卡20,进而使得实体卡20向电子设备21发送对应的卡信息之后,可以在靠近读卡器22时将上述卡信息发送给读卡器22,从而实现刷卡模拟功能,达到与实体卡相同的功能体验。As shown in FIG. 2 , the user can add the card information of the physical card 20 to the electronic device 21 through the wireless charging coil of the electronic device 21 , wherein the physical card 20 can be a low-frequency physical card. After the electronic device 21 activates the physical card 20 through the wireless charging coil, so that the physical card 20 sends the corresponding card information to the electronic device 21, the above-mentioned card information can be sent to the card reader 22 when it is close to the card reader 22, thereby realizing The card swiping simulation function achieves the same functional experience as the physical card.
这样,通过上述方式,本申请实施例能够通过对无线充电线圈的复用实现对第一实体卡对应的卡信息的获取,进而通过保存第一实体卡对应的卡信息,使用户在利用电子设备进行刷卡时,实现对卡信息的调用,从而实现利用电子设备对第一实体卡的卡信息进行复制,为用户带来便利。In this way, through the above method, the embodiment of the present application can realize the acquisition of the card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then save the card information corresponding to the first physical card, so that the user can use the electronic device When the card is swiped, the card information is called, so that the electronic device can be used to copy the card information of the first physical card, which brings convenience to the user.
基于此,下面结合图3-图7对本申请实施例提供的实体卡添加方法进行详细说明。需要说明的是,本申请实施例提供的实体卡添加方法,执行主体可以为实体卡添加装置,或者该实体卡添加装置中的用于执行实体卡添加方法的控制模块。本申请实施例中以实体卡添加装置执行实体卡添加方法为例,说明本申请实施例提供的实体卡添加方法。Based on this, the method for adding a physical card provided by the embodiment of the present application will be described in detail below with reference to FIGS. 3-7 . It should be noted that, for the method for adding a physical card provided in the embodiment of the present application, the execution subject may be a device for adding a physical card, or a control module in the device for adding a physical card for executing the method for adding a physical card. In the embodiment of the present application, the method for adding a physical card performed by the device for adding a physical card is taken as an example to illustrate the method for adding a physical card provided in the embodiment of the present application.
图3是根据一示例性实施例示出的一种实体卡添加方法的流程图。Fig. 3 is a flowchart of a method for adding a physical card according to an exemplary embodiment.
如图3所示,该实体卡添加方法可以包括步骤:S310-S330,下面针对每个步骤进行详细解释。As shown in Fig. 3, the method for adding a physical card may include steps: S310-S330, each step will be explained in detail below.
S310,接收用户用于添加第一实体卡的第一输入。S310. Receive a first input from a user for adding a first physical card.
本申请实施例中第一实体卡可以是门禁卡、公交卡、信用卡、支付卡等。第一输入可以是用户对实体卡添加页面中显示的用于添加实体卡的功能按钮的触发输入,该触发输入包括但不限于单击、双击、长按等操作。In the embodiment of the present application, the first physical card may be an access control card, a bus card, a credit card, a payment card, and the like. The first input may be a trigger input by the user on a function button for adding a physical card displayed on the physical card adding page, and the trigger input includes but is not limited to operations such as single click, double click, and long press.
在一个具体例子中,如图4a所示,在用户触发进入手机中的门卡界面后,可在该界面内显示实体门卡、智能门锁、社区门卡以及自定义门卡等多个选项,针对每个选项都设置有“添加”按钮。如图4b所示,在用户点 击实体门卡选项对应的“添加”按钮之后,可以显示无线充电感应区,并可以显示提示信息“请将实体门卡贴于手机背面无线充电感应区”。由于支持无线充电功能的手机中一般都设置有无线充电线圈,且本申请实施例中主要通过该无线充电线圈感应实体门卡和接收器。可选的,由于无线充电线圈通常放置在手机背面,呈圆形,因此为了提高感应质量,在手机的屏幕正面可显示与手机背面的无线充电感应区相对应的线圈图案,以提示用户无线充电线圈的位置,手机正面的线圈图案与手机背面的无线充电感应区对齐显示。In a specific example, as shown in Figure 4a, after the user triggers to enter the door card interface in the mobile phone, multiple options such as physical door card, smart door lock, community door card and custom door card can be displayed in the interface , with an Add button for each option. As shown in Figure 4b, at the user point After clicking the "Add" button corresponding to the physical door card option, the wireless charging induction area can be displayed, and the prompt message "Please attach the physical door card to the wireless charging induction area on the back of the phone" can be displayed. Since the mobile phone supporting the wireless charging function is generally equipped with a wireless charging coil, and in the embodiment of the present application, the physical door card and the receiver are mainly induced by the wireless charging coil. Optionally, since the wireless charging coil is usually placed on the back of the mobile phone and has a circular shape, in order to improve the induction quality, a coil pattern corresponding to the wireless charging induction area on the back of the mobile phone can be displayed on the front of the screen of the mobile phone to prompt the user to charge wirelessly The position of the coil, the coil pattern on the front of the phone is aligned with the wireless charging induction area on the back of the phone.
S320,响应于第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,目标频率载波用于触发第一实体卡向电子设备发送第一卡信息。S320. In response to the first input, alternately send the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device, where the target frequency carrier is used to trigger the first entity card to send the first card information to the electronic device.
在本实施例中,目标频率载波和无线充电载波可以为低频载波。其中,无线充电载波的频率范围可以包括目标频率载波的频率范围。例如,目标频率载波的频率范围在125KHz~134KHz之间,无线充电载波的频率范围在100KHz~205KHz之间。例如,目标频率载波可以为低频门禁所需的125KHz载波,无线充电载波可以是无线充电时所需的200kHz载波,即,目标频率载波与无线充电载波可以是低频范围内频率不同的两种载波。能够理解的,由于不同的设备使用的载波的频率不同,因此,不同设备对应的目标频率载波与无线充电载波可以不同。In this embodiment, the target frequency carrier and the wireless charging carrier may be low frequency carriers. Wherein, the frequency range of the wireless charging carrier may include the frequency range of the target frequency carrier. For example, the frequency range of the target frequency carrier is between 125KHz-134KHz, and the frequency range of the wireless charging carrier is between 100KHz-205KHz. For example, the target frequency carrier may be the 125KHz carrier required for low-frequency access control, and the wireless charging carrier may be the 200kHz carrier required for wireless charging, that is, the target frequency carrier and the wireless charging carrier may be two carriers with different frequencies in the low-frequency range. It can be understood that since different devices use different carrier frequencies, the target frequency carriers corresponding to different devices may be different from the wireless charging carrier.
示例性地,电子设备可以为具备无线充电功能的电子设备,无线充电功能通常基于无线充电线圈实现。在接收到用户对实体卡添加页面中显示的用于添加实体卡的功能按钮的触发输入之后,可以自动打开反向无线充电功能,基于反向无线充电功能,进入Ping阶段,利用无线充电线圈交替发送目标频率载波和无线充电载波。其中,无线充电载波用于连接靠近的无线充电接收设备。Exemplarily, the electronic device may be an electronic device with a wireless charging function, and the wireless charging function is usually implemented based on a wireless charging coil. After receiving the user's trigger input of the function button for adding a physical card displayed on the physical card adding page, the reverse wireless charging function can be automatically turned on, based on the reverse wireless charging function, enter the Ping stage, and use the wireless charging coil alternately Send target frequency carrier and wireless charging carrier. Among them, the wireless charging carrier is used to connect close wireless charging receiving devices.
在一些具体例子中,若当前靠近的设备为无线充电接收设备,则无线充电接收设备可以向电子设备反馈信号强度包(Signal Strength Package,SS包),在电子设备接收到信号强度包之后,即可根据无线充电Qi协议,执行反向充电操作。若当前靠近的设备为第一实体卡,则第一实体卡中的 电感线圈和电容组成谐振回路可以接收电子设备发射的目标频率载波信号,第一实体卡中芯片的射频接口模块由此信号产生电源电压、复位信号及系统时钟,在电磁感应的作用下,第一实体卡中的芯片获得激活能量,使芯片“激活”。在第一实体卡中的芯片被“激活”后,电子设备即可接收到由第一实体卡通过负载调制发送的64bit信息。In some specific examples, if the currently approaching device is a wireless charging receiving device, the wireless charging receiving device may feed back a signal strength package (Signal Strength Package, SS package) to the electronic device. After the electronic device receives the signal strength package, that is According to the wireless charging Qi protocol, reverse charging operation can be performed. If the currently approaching device is the first physical card, the The resonant circuit formed by the inductance coil and the capacitor can receive the carrier signal of the target frequency transmitted by the electronic equipment. The radio frequency interface module of the chip in the first physical card generates the power supply voltage, reset signal and system clock from this signal. Under the action of electromagnetic induction, the first The chip in the physical card gets activation energy, which makes the chip "activate". After the chip in the first physical card is "activated", the electronic device can receive the 64-bit information sent by the first physical card through load modulation.
S330,在接收到第一卡信息的情况下,存储第二卡信息,第二卡信息为与第一卡信息相同的信息,或者第二卡信息为根据第一卡信息确定的与第一实体卡对应的信息。S330, when the first card information is received, store the second card information, the second card information is the same information as the first card information, or the second card information is determined according to the first card information and the first entity information corresponding to the card.
在本实施例中,第二卡信息可以是与第一卡信息相同的信息,或者,也可以是根据第一卡信息确定的信息,例如对第一卡信息进行编码或解码后得到的信息。In this embodiment, the second card information may be the same information as the first card information, or may be information determined according to the first card information, for example, information obtained by encoding or decoding the first card information.
另外,确定是否接收到第一卡信息的方式可以包括,检测是否接收到第一实体卡通过负载调制发送的64bit信息,还可以包括检测在预设时长内是否接收到无线充电接收设备发送的信号强度包,还可以包括在接收到信息时检测接收到的信息的类别,以确定其为64bit信息还是第一信号强度包。对于确定是否接收到第一卡信息的具体方式在此不作限定。In addition, the method of determining whether the first card information is received may include detecting whether the 64-bit information sent by the first entity card through load modulation is received, and may also include detecting whether the signal sent by the wireless charging receiving device is received within a preset time period The strength packet may also include detecting the type of the received information when receiving the information, so as to determine whether it is 64bit information or the first signal strength packet. The specific manner of determining whether the first card information is received is not limited here.
示例性地,在确定接收到第一卡信息之后,可将该第一卡信息存储到电子设备的内存中,或者将由第一卡信息经处理后得到的信息存储到电子设备的内存中。另外,在将第二卡信息存储到电子设备的内存之后,还可以在电子设备的显示界面中显示“已添加完成”的提示信息。基于该提示信息,用户可以在该显示界面中点击“退出”按钮,退出实体卡的添加界面。响应于用户的退出添加实体卡操作,电子设备可以自动关闭反向无线充电功能,随之停止发送目标频率载波和无线充电载波。Exemplarily, after it is determined that the first card information is received, the first card information may be stored in the memory of the electronic device, or the information obtained by processing the first card information may be stored in the memory of the electronic device. In addition, after the second card information is stored in the memory of the electronic device, a prompt message of "addition has been completed" may also be displayed on the display interface of the electronic device. Based on the prompt information, the user can click the "exit" button in the display interface to exit the interface for adding the physical card. In response to the user quitting the operation of adding a physical card, the electronic device can automatically turn off the reverse wireless charging function, and then stop sending the target frequency carrier and the wireless charging carrier.
由此,通过响应于用户添加第一实体卡的第一输入,利用电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,能够使目标频率载波触发第一实体卡向该电子设备发送第一卡信息,并在接收到第一卡信息的情况下,存储第二卡信息。如此,本申请实施例能够通过对无线充电线圈的复用实现对第一实体卡对应的第一卡信息的获取,进而通过保存第一卡信息或由第一卡信息得到的信息,使用户在利用电子设备进行刷卡时, 实现对卡信息的调用,从而实现利用电子设备对第一实体卡的卡信息进行复制,为用户带来便利。Thus, by responding to the user's first input of adding the first entity card, using the wireless charging coil in the electronic device to alternately transmit the target frequency carrier and the wireless charging carrier, the target frequency carrier can be triggered to send the target frequency carrier to the electronic device by the first entity card. First card information, and store the second card information if the first card information is received. In this way, the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When using an electronic device to swipe a card, The calling of the card information is realized, so that the card information of the first physical card can be copied by using the electronic device, which brings convenience to the user.
在一些可选的实施方式中,在S320之后,本申请实施例提供的实体卡添加方法还可以包括:In some optional implementation manners, after S320, the method for adding a physical card provided in the embodiment of the present application may further include:
在第一预设时长内接收到第一信息的情况下,获取第一信息的信息类型;If the first information is received within the first preset time period, acquiring the information type of the first information;
在根据信息类型确定第一信息不为第一信号强度包的情况下,确定第一信息为第一卡信息;When it is determined according to the information type that the first information is not the first signal strength package, determining that the first information is the first card information;
其中,第一信号强度包为无线充电接收设备在接收到无线充电载波的情况下发送的信号强度包。Wherein, the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when receiving the wireless charging carrier.
这里,第一预设时长可以为用户在电子设备中预先设置的时长,电子设备在第一预设时长内接收到的第一信息有可能是无线充电接收设备反馈的第一信号强度包,也有可能是第一实体卡发送的第一卡信息。其中,第一信号强度包可以为无线充电接收设备在接收到无线充电载波的情况下向电子设备反馈的信号强度包。Here, the first preset duration may be a preset duration set by the user in the electronic device, and the first information received by the electronic device within the first preset duration may be the first signal strength packet fed back by the wireless charging receiving device, or It may be the first card information sent by the first entity card. Wherein, the first signal strength packet may be a signal strength packet fed back to the electronic device by the wireless charging receiving device when receiving the wireless charging carrier.
示例性地,若电子设备在第一预设时长内接收到的第一信息为第一信号强度包,则可以确定感应到的设备为无线充电接收设备,此时,即可根据无线充电Qi协议,执行反向充电操作。For example, if the first information received by the electronic device within the first preset time period is the first signal strength packet, it can be determined that the sensed device is a wireless charging receiving device. At this time, the wireless charging Qi protocol can be used to , perform a reverse charging operation.
另一方面,若电子设备在第一预设时长内接收到的第一信息不是第一信号强度包,则可以确定感应到的设备是实体卡。此时,可确定电子设备接收到的第一信息为由该实体卡通过负载调制发送的64bit信息,也即第一卡信息。具体地,电子设备可以通过存储实体卡发送的64bit信息或其相关信息,实现对该实体卡的复制。On the other hand, if the first information received by the electronic device within the first preset time period is not the first signal strength packet, it can be determined that the sensed device is a physical card. At this time, it may be determined that the first information received by the electronic device is 64-bit information sent by the physical card through load modulation, that is, the first card information. Specifically, the electronic device can realize duplication of the physical card by storing the 64-bit information sent by the physical card or related information.
这样,通过在检测到在目标频率载波和无线充电载波的工作区域中放置的设备是第一实体卡的情况下,可以接收第一实体卡发送的对应的卡信息,从而实现电子设备对第一实体卡的复制。In this way, when it is detected that the device placed in the working area of the target frequency carrier and the wireless charging carrier is the first physical card, the corresponding card information sent by the first physical card can be received, so that the electronic device can be connected to the first A copy of the physical card.
另外,本申请实施例中所涉及的第一卡信息可以为未经编码的信息,也可以为经编码后得到的信息。因此,在该第一卡信息为经编码后得到的信息,也即第一编码信息的情况下,在一些可选的实施方式中,在上述 S330之前,本申请实施例提供的实体卡添加方法包括:In addition, the first card information involved in the embodiment of the present application may be unencoded information, or may be encoded information. Therefore, in the case that the first card information is encoded information, that is, the first encoded information, in some optional implementation manners, in the above Before S330, the method for adding a physical card provided in the embodiment of the present application includes:
根据预设解码方式对第一编码信息进行解码,得到与第一实体卡对应的第一解码信息。The first coded information is decoded according to a preset decoding manner to obtain first decoded information corresponding to the first physical card.
基于此,上述S330具体可以包括:Based on this, the above S330 may specifically include:
存储第一解码信息。Store first decoding information.
这里,在该第一卡信息为第一实体卡对应的第一编码信息的情况下,最终电子设备中存储的第二卡信息可以是与该第一编码信息对应的第一解码信息。其中,预设解码方式可以是曼彻斯特(Manchester)解码,也可以是双相(Biphase)解码,还可以是相移键控(phase-shift keying,PSK)调制解码。另外,由于第一卡信息可以是采取预设编码方式进行编码之后的信息,所以最终采取的预设解码方式可视预设编码方式而定,采用与预设编码方式相对应的预设解码方式进行解码,得到与第一实体卡对应的解码之后的第一解码信息。Here, in the case that the first card information is first coded information corresponding to the first physical card, the second card information stored in the final electronic device may be first decoded information corresponding to the first coded information. Wherein, the preset decoding method may be Manchester (Manchester) decoding, biphase (Biphase) decoding, or phase-shift keying (phase-shift keying, PSK) modulation decoding. In addition, since the first card information can be encoded by a preset encoding method, the final preset decoding method can be determined by the preset encoding method, and the preset decoding method corresponding to the preset encoding method can be used. Decoding is performed to obtain decoded first decoded information corresponding to the first physical card.
需要说明的是,由于目前无线充电Qi协议支持的编解码方式是Biphase编解码,因此,在本实施例中,预设解码方式可以采用与无线充电Qi协议相匹配的Biphase解码。It should be noted that, since the current codec mode supported by the wireless charging Qi protocol is Biphase codec, therefore, in this embodiment, the preset decoding mode may adopt Biphase decoding that matches the wireless charging Qi protocol.
当然,第一卡信息也可以是没有采取预设编码方式进行加密的信息。此时,则不需要对第一卡信息进行解码,而直接存储接收到的第一卡信息。Of course, the first card information may also be information that is not encrypted in a preset encoding manner. In this case, there is no need to decode the first card information, and the received first card information is directly stored.
示例性地,如果接收到的第一卡信息是采取预设编码方式进行加密的信息,则可以对第一卡信息进行解码之后,再将得到的第二卡信息,也即第一解码信息,存储至电子设备的内存中。For example, if the received first card information is encrypted by a preset encoding method, the first card information may be decoded, and then the obtained second card information, that is, the first decoded information, stored in the memory of the electronic device.
这样,通过预设解码方式对第一编码信息进行解码,能够得到第一实体卡的第一解码信息,并保存在电子设备的内存中,待用户进行身份认证或刷卡时调用。In this way, by decoding the first coded information in a preset decoding manner, the first decoded information of the first entity card can be obtained, and stored in the memory of the electronic device, and called when the user performs identity authentication or swipes the card.
基于此,本申请实施例在存储第二卡信息之后,即实现电子设备对第一实体卡的复制,相应地,还可以利用该电子设备实现与第一实体卡相同的刷卡功能,即实现与第一实体卡对应的接收器对该电子设备的感应。在其中一个可能的实施例中,如图5所示,在上述S310-S330基础上,在上述S330之后,本申请实施例提供的实体卡添加方法还可以包括S340,具 体如下所示:Based on this, after the second card information is stored in the embodiment of the present application, the electronic device can copy the first physical card. Correspondingly, the electronic device can also be used to realize the same card swiping function as the first physical card, that is to The receiver corresponding to the first physical card senses the electronic device. In one possible embodiment, as shown in FIG. 5 , on the basis of the above S310-S330, after the above S330, the method for adding a physical card provided in the embodiment of the present application may further include S340, which includes: The body looks like this:
S340,在无线充电线圈被第一设备激活的情况下,通过无线充电线圈向第一设备发送第三卡信息,第三卡信息为与第二卡信息相同的信息,或者第三卡信息为根据第二卡信息确定的与第一实体卡对应的信息。S340. When the wireless charging coil is activated by the first device, send the third card information to the first device through the wireless charging coil, where the third card information is the same information as the second card information, or the third card information is based on Information corresponding to the first physical card determined by the second card information.
这里,第一设备可能是无线充电设备,也可能是与该第一实体卡对应的读卡器,第三卡信息可以是电子设备中存储的第二卡信息,也可以是由第二卡信息经处理后得到的信息。Here, the first device may be a wireless charging device, or it may be a card reader corresponding to the first physical card, and the third card information may be the second card information stored in the electronic device, or it may be the second card information stored in the electronic device. Information obtained after processing.
示例性地,第一设备可以固定发送低频载波,当电子设备靠近第一设备时,低频载波可以将电子设备的无线充电线圈激活。其中,无线充电线圈被第一设备激活后,电子设备可通过激活的无线充电线圈向第一设备发送信息。因此,在无线充电线圈被第一设备激活的情况下,电子设备可以利用无线充电线圈向第一设备发送与第一实体卡对应的第三卡信息。Exemplarily, the first device may send low-frequency carrier waves constantly, and when the electronic device is close to the first device, the low-frequency carrier wave may activate the wireless charging coil of the electronic device. Wherein, after the wireless charging coil is activated by the first device, the electronic device can send information to the first device through the activated wireless charging coil. Therefore, when the wireless charging coil is activated by the first device, the electronic device may send the third card information corresponding to the first physical card to the first device by using the wireless charging coil.
这样,通过在无线充电线圈被第一设备激活的情况下,利用无线充电线圈向第一设备发送第三卡信息,能够使第一设备读取到第一实体卡相关的卡信息,从而实现电子设备的刷卡模拟功能,达到与第一实体卡相同的功能体验。In this way, when the wireless charging coil is activated by the first device, by using the wireless charging coil to send the third card information to the first device, the first device can read the card information related to the first physical card, thereby realizing electronic charging. The card swiping simulation function of the device achieves the same functional experience as the first physical card.
在一些可选的实施方式中,上述S340包括:In some optional implementation manners, the above S340 includes:
通过无线充电线圈向第一设备发送第二信号强度包,其中,第二信号强度包用于在第一设备为无线充电设备的情况下,指示第一设备向电子设备发送充电信号包;Sending a second signal strength packet to the first device through the wireless charging coil, wherein the second signal strength packet is used to instruct the first device to send a charging signal packet to the electronic device when the first device is a wireless charging device;
在第二预设时长内未接收到充电信号包的情况下,调用存储的与第一实体卡对应的第二卡信息;In the case that the charging signal packet is not received within the second preset time length, call the stored second card information corresponding to the first physical card;
通过无线充电线圈向第一设备发送第三卡信息,其中,第三卡信息用于指示第一设备执行与第一实体卡对应的响应操控。The third card information is sent to the first device through the wireless charging coil, where the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
这里,第二信号强度包可以为电子设备在接收到第一设备发送的低频载波的情况下,通过无线充电线圈向第一设备反馈的信号强度包。另外,充电信号包可以为由无线充电器通过发射器发送的身份识别信息和配置阶段的信号包。Here, the second signal strength packet may be a signal strength packet that the electronic device feeds back to the first device through the wireless charging coil when receiving the low-frequency carrier wave sent by the first device. In addition, the charging signal packet may be identification information sent by the wireless charger through the transmitter and a signal packet in the configuration phase.
示例性地,在第一设备是无线充电器的情况下,第一设备在接收到电 子设备发送的第二信号强度包后,会向电子设备发送充电信号包。相应地,在第一设备是读卡器的情况下,第一设备在接收到电子设备发送的第二信号强度包后,则不会进行响应,也即不会向电子设备发送充电信号包。Exemplarily, when the first device is a wireless charger, the first device receives the After the second signal strength packet sent by the sub-device, it will send a charging signal packet to the electronic device. Correspondingly, in the case that the first device is a card reader, after receiving the second signal strength packet sent by the electronic device, the first device will not respond, that is, will not send a charging signal packet to the electronic device.
另外,第二预设时长可以为电子设备中预先设置的时长。如果在第二预设时长中,电子设备已经接收到了第一设备发送的充电信号包,则可以确定第一设备为无线充电器。在第一设备为无线充电器的情况下,即可根据无线充电Qi协议,执行充电操作。In addition, the second preset duration may be a preset duration in the electronic device. If the electronic device has received the charging signal packet sent by the first device within the second preset time period, it may be determined that the first device is a wireless charger. In the case that the first device is a wireless charger, the charging operation can be performed according to the wireless charging Qi protocol.
另一方面,如果在第二预设时长内,电子设备没有接收到充电信号包,则可以确定第一设备为读卡器。在第一设备为读卡器的情况下,即可利用无线充电线圈向第一设备发送与第一实体卡对应的第三卡信息。第一设备可以将接收的第三卡信息和系统中的预设卡信息进行匹配,在匹配成功时,即可执行第一实体卡对应的响应操控功能。On the other hand, if the electronic device does not receive the charging signal packet within the second preset time period, it may be determined that the first device is a card reader. In the case that the first device is a card reader, the wireless charging coil can be used to send the third card information corresponding to the first physical card to the first device. The first device can match the received third card information with the preset card information in the system, and when the matching is successful, it can execute the response control function corresponding to the first physical card.
这样,通过利用无线充电线圈向第一设备发送第二信号强度包,在未接收到第一设备反馈的充电信号包的情况下,判断第一设备为读卡器,并利用无线充电线圈向第一设备发送与第三卡信息,如此能够首先确定第一设备的类型,在第一设备为读卡器的情况下执行发送第三卡信息等刷卡流程,从而提高信息发送的准确性和安全性。In this way, by using the wireless charging coil to send the second signal strength packet to the first device, if the charging signal packet fed back by the first device is not received, it is judged that the first device is a card reader, and the wireless charging coil is used to send the second signal strength packet to the first device. One device sends the third card information, so that the type of the first device can be determined first, and the card swiping process such as sending the third card information is executed when the first device is a card reader, thereby improving the accuracy and security of information sending .
另外,电子设备中保存的卡信息可以有一个,也可以有多个。在电子设备中保存的卡信息为多个的情况下,可以按照多个卡信息在电子设备中的存储顺序,依次向第一设备发送保存的多个卡信息。In addition, there may be one or more card information stored in the electronic device. In the case of multiple card information stored in the electronic device, the stored multiple card information may be sequentially sent to the first device according to the order in which the multiple card information is stored in the electronic device.
示例性地,在第一设备为读卡器的情况下,在接收到由电子设备发送的卡信息后,可向电子设备发送反馈信息,以通知电子设备当前发送的卡信息是否为与预存卡信息相匹配的信息,当电子设备接收到匹配成功的反馈信息,则停止发送其他未发送过的卡信息,否则,继续发送其他未发送过的卡信息,直至遍历完存储的所有卡信息。另外,由于当前市面上的低频卡读卡器一般不会发送反馈信息,因此,为了适配当前市面上现有的低频卡读卡器,提高与现有读卡器的兼容性,则可将电子设备设置为将保存的多个卡信息依次发送至第一设备,直至遍历结束,以保证电子设备可以成功将与第一实体卡相关的卡信息发送至第一设备,进而保证在第一设备 为与第一实体卡对应的读卡器的情况下,能够成功感应到电子设备。Exemplarily, in the case where the first device is a card reader, after receiving the card information sent by the electronic device, feedback information may be sent to the electronic device to inform the electronic device whether the card information currently sent is consistent with the pre-stored card If the information matches the information, when the electronic device receives the feedback information of successful matching, it will stop sending other unsent card information, otherwise, continue to send other unsent card information until all the stored card information has been traversed. In addition, since the low-frequency card readers currently on the market generally do not send feedback information, in order to adapt to the existing low-frequency card readers on the market and improve compatibility with existing card readers, the The electronic device is set to send the saved multiple card information to the first device in sequence until the traversal ends, so as to ensure that the electronic device can successfully send the card information related to the first physical card to the first device, thereby ensuring that the first device In the case of a card reader corresponding to the first physical card, the electronic device can be successfully sensed.
这样,通过利用无线充电线圈向第一设备依次发送保存的多个卡信息,能够在第一设备为与第一实体卡对应的读卡器的情况下保证第一设备能够接收到正确的卡信息,从而提高刷卡成功率。In this way, by using the wireless charging coil to sequentially send multiple stored card information to the first device, it can be ensured that the first device can receive correct card information when the first device is a card reader corresponding to the first physical card , thereby improving the success rate of swiping cards.
在一种可选的实施方式中,第二卡信息可以为第一实体卡对应的第一解码信息,在通过无线充电线圈向第一设备发送第三卡信息之前,本申请实施例提供的实体卡添加方法还可以包括:In an optional implementation manner, the second card information may be the first decoding information corresponding to the first entity card. Before sending the third card information to the first device through the wireless charging coil, the entity provided by the embodiment of the present application Card addition methods can also include:
按照预设编码方式,将第一解码信息进行编码处理,得到与第一实体卡对应的第一编码信息。According to the preset encoding manner, the first decoded information is encoded to obtain the first encoded information corresponding to the first physical card.
基于此,上述通过无线充电线圈向第一设备发送第三卡信息,具体可以包括:Based on this, the aforementioned sending of the third card information to the first device through the wireless charging coil may specifically include:
通过无线充电线圈向第一设备发送第一编码信息。Send the first coded information to the first device through the wireless charging coil.
这里,在该第二卡信息为第一实体卡对应的第一解码信息的情况下,最终电子设备通过无线充电线圈向第一设备发送的第三卡信息可以为与该第一解码信息对应的第一编码信息。其中,预设编码方式可以是Manchester编码,也可以是Biphase编码,还可以是PSK编码。可以采用与第一实体卡对应的第一解码信息相对应的预设编码方式进行编码处理,得到与第一实体卡对应的加密之后的第一编码信息。Here, in the case that the second card information is the first decoding information corresponding to the first physical card, the third card information sent by the final electronic device to the first device through the wireless charging coil may be the first decoding information corresponding to the first decoding information. First encoded information. Wherein, the preset encoding method may be Manchester encoding, Biphase encoding, or PSK encoding. A preset encoding method corresponding to the first decoding information corresponding to the first physical card may be used for encoding processing to obtain encrypted first encoded information corresponding to the first physical card.
需要说明的是,由于目前无线充电Qi协议支持的编解码方式是Biphase编解码,因此,在本实施例中,预设编码方式可以采用与无线充电Qi协议相匹配的Biphase编码。It should be noted that, since the current codec mode supported by the wireless charging Qi protocol is Biphase codec, therefore, in this embodiment, the preset coding mode may adopt Biphase codec that matches the wireless charging Qi protocol.
当然,如果第二卡信息不是解码信息,则不需要对保存的与第一实体卡对应的第二卡信息进行编码处理。Of course, if the second card information is not decoded information, it is not necessary to encode the stored second card information corresponding to the first physical card.
这样,可以通过对保存的第二卡信息进行编码处理,得到与第一实体卡对应的第一编码信息,即能够得到加密之后的与第一实体卡对应的第三卡信息,能够提高卡信息在传输过程中的安全性。In this way, by encoding the stored second card information, the first encoded information corresponding to the first entity card can be obtained, that is, the encrypted third card information corresponding to the first entity card can be obtained, and the card information can be improved. Security during transmission.
为了更好地描述整个方案,基于上述各种实施方式,举一个具体例子,如图6所示,该实体卡添加方法可以包括步骤:S6001-S6012,下面对此进行详细解释。 In order to better describe the whole solution, based on the above various implementation manners, a specific example is given, as shown in FIG. 6 , the method for adding a physical card may include steps: S6001-S6012, which will be explained in detail below.
S6001,手机用户手动添加实体卡片。S6001, the mobile phone user manually adds a physical card.
S6002,手机自动打开反向无线充电功能。S6002, the mobile phone automatically turns on the reverse wireless charging function.
S6003,交替发送目标频率载波和无线充电载波。S6003. Alternately send the target frequency carrier and the wireless charging carrier.
S6004,将第一实体卡放置在手机背面的无线充电感应区。S6004. Place the first physical card in the wireless charging induction area on the back of the mobile phone.
S6005,第一实体卡的芯片激活。S6005, activating the chip of the first physical card.
S6006,第一实体卡通过负载调制将卡信息发送给手机。S6006. The first entity card sends the card information to the mobile phone through load modulation.
S6007,判断手机是否收到第一信号强度包,若是,则执行S6008;若否,则执行S6009。S6007, judging whether the mobile phone has received the first signal strength packet, if yes, execute S6008; if not, execute S6009.
S6008,执行反向充电操作。S6008, perform a reverse charging operation.
S6009,接收第一实体卡发送的64bit信息。S6009. Receive 64bit information sent by the first entity card.
S6010,对64bit信息进行解码。S6010, decoding the 64bit information.
S6011,存储解码之后的信息。S6011. Store the decoded information.
S6012,退出添加实体卡流程,关闭反向无线充电功能。S6012. Exit the process of adding a physical card, and turn off the reverse wireless charging function.
在另一个具体例子中,如图7所示,在实体卡添加至手机后,利用手机进行刷卡的方法可以包括步骤:S7001-S7011,下面对此进行详细解释。In another specific example, as shown in FIG. 7, after the physical card is added to the mobile phone, the method for swiping the card with the mobile phone may include steps: S7001-S7011, which will be explained in detail below.
S7001,手机靠近第一设备。S7001, the mobile phone is close to the first device.
S7002,第一设备发送的低频载波通过无线感应线圈激活手机。S7002, the low-frequency carrier wave sent by the first device activates the mobile phone through the wireless induction coil.
S7003,手机按无线充电协议发送第二信号强度包。S7003. The mobile phone sends a second signal strength packet according to the wireless charging protocol.
S7004,等待第一设备返回的充电信号包。S7004. Wait for a charging signal packet returned by the first device.
S7005,判断手机是否收到充电信号包,若是,则执行S7006;若否,则执行S7007。S7005, judging whether the mobile phone has received a charging signal packet, if yes, execute S7006; if not, execute S7007.
S7006,确定第一设备为无线充电器,执行无线充电操作。S7006. Determine that the first device is a wireless charger, and perform a wireless charging operation.
S7007,确定第一设备为读卡器,对存储的64bit卡信息进行编码。S7007. Determine that the first device is a card reader, and encode the stored 64-bit card information.
S7008,手机采用负载调制发送编码之后的卡信息。S7008, the mobile phone uses load modulation to send the coded card information.
S7009,读卡器接收并解析手机发送的卡信息。S7009. The card reader receives and analyzes the card information sent by the mobile phone.
S7010,读卡器根据接收的卡信息匹配预设卡信息。S7010. The card reader matches preset card information according to the received card information.
S7011,在匹配成功时,执行与卡信息对应的实体卡刷卡功能。S7011. When the matching is successful, execute the function of swiping the physical card corresponding to the card information.
由此,能够将第一实体卡的卡信息添加到手机终端中,并在手机靠近读卡器时,能够使读卡器通过手机读取到第一实体卡的卡信息,并执行相 应的刷卡功能,从而实现手机对第一实体卡的复制和模拟,提升用户体验。Thus, the card information of the first physical card can be added to the mobile phone terminal, and when the mobile phone is close to the card reader, the card reader can read the card information of the first physical card through the mobile phone, and execute the corresponding The corresponding card swiping function, so as to realize the duplication and simulation of the first physical card by the mobile phone, and improve the user experience.
需要说明的是,上述本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the above-mentioned application scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that, With the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
基于相同的发明构思,本申请还提供了一种实体卡添加装置。下面结合图8对本申请实施例提供的实体卡添加装置进行详细说明。Based on the same inventive concept, the present application also provides a physical card adding device. The device for adding a physical card provided by the embodiment of the present application will be described in detail below with reference to FIG. 8 .
图8是根据一示例性实施例示出的一种实体卡添加装置的结构框图。Fig. 8 is a structural block diagram of a device for adding a physical card according to an exemplary embodiment.
如图8所示,实体卡添加装置800可以包括:As shown in Figure 8, the entity card adding device 800 may include:
第一接收模块801,用于接收用户用于添加第一实体卡的第一输入;The first receiving module 801 is configured to receive a first input from a user for adding a first physical card;
第一发送模块802,用于响应于第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,目标频率载波用于触发第一实体卡向电子设备发送第一卡信息;The first sending module 802 is configured to alternately send the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device in response to the first input, wherein the target frequency carrier is used to trigger the first entity card to send the first card information;
第一存储模块803,用于在接收到第一卡信息的情况下,存储第二卡信息,第二卡信息为与第一卡信息相同的信息,或者第二卡信息为根据第一卡信息确定的与第一实体卡对应的信息。The first storage module 803 is configured to store the second card information when the first card information is received, the second card information is the same information as the first card information, or the second card information is based on the first card information The determined information corresponding to the first entity card.
下面对上述实体卡添加装置800进行详细说明,具体如下所示:The above-mentioned physical card adding device 800 will be described in detail below, specifically as follows:
在其中一个实施例中,上述实体卡添加装置800还可以包括:In one of the embodiments, the above-mentioned entity card adding device 800 may also include:
类型获取模块,用于在响应于第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波之后,在第一预设时长内接收到第一信息的情况下,获取第一信息的信息类型;The type acquisition module is used to acquire the second frequency carrier in response to the first input, after the target frequency carrier and the wireless charging carrier are alternately sent through the wireless charging coil in the electronic device, and the first information is received within the first preset time length. - the information type of the information;
信息确定模块,用于在根据信息类型确定第一信息不为第一信号强度包的情况下,确定第一信息为第一卡信息;An information determination module, configured to determine that the first information is the first card information when it is determined according to the information type that the first information is not the first signal strength packet;
其中,第一信号强度包为无线充电接收设备在接收到无线充电载波的情况下发送的信号强度包。Wherein, the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when receiving the wireless charging carrier.
在其中一个实施例中,第一卡信息为第一实体卡对应的第一编码信息,上述实体卡添加装置800还可以包括:In one of the embodiments, the first card information is the first encoded information corresponding to the first physical card, and the above-mentioned physical card adding device 800 may also include:
解码模块,用于在存储第二卡信息之前,根据预设解码方式对第一编码信息进行解码,得到第一实体卡对应的第一解码信息; A decoding module, configured to decode the first coded information according to a preset decoding method before storing the second card information, to obtain the first decoded information corresponding to the first physical card;
第一存储模块803具体可以包括:The first storage module 803 may specifically include:
第二存储子模块,用于存储第一解码信息。The second storage sub-module is used for storing the first decoding information.
在其中一个实施例中,上述实体卡添加装置800还可以包括:In one of the embodiments, the above-mentioned entity card adding device 800 may also include:
第二发送模块,用于在存储第二卡信息之后,在无线充电线圈被第一设备激活的情况下,通过无线充电线圈向第一设备发送第三卡信息,第三卡信息为与第二卡信息相同的信息,或者第三卡信息为根据第二卡信息确定的与第一实体卡对应的信息。The second sending module is configured to send the third card information to the first device through the wireless charging coil when the wireless charging coil is activated by the first device after storing the second card information, the third card information being the same as the second card information Information that is the same as the card information, or the third card information is information corresponding to the first physical card determined according to the second card information.
在其中一个实施例中,第二发送模块可以具体包括:In one of the embodiments, the second sending module may specifically include:
第三发送子模块,用于通过无线充电线圈向第一设备发送第二信号强度包,其中,第二信号强度包用于在第一设备为无线充电设备的情况下,指示第一设备向电子设备发送充电信号包;The third sending sub-module is configured to send a second signal strength packet to the first device through the wireless charging coil, wherein the second signal strength packet is used to instruct the first device to send the electronic The device sends a charging signal packet;
信息调用子模块,用于在第二预设时长内未接收到充电信号包的情况下,调用存储的与第一实体卡对应的第二卡信息;The information calling sub-module is used to call the stored second card information corresponding to the first physical card when the charging signal packet is not received within the second preset time period;
第四发送子模块,通过无线充电线圈向第一设备发送第三卡信息,其中,第三卡信息用于指示第一设备执行与第一实体卡对应的响应操控。The fourth sending sub-module sends the third card information to the first device through the wireless charging coil, wherein the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
在其中一个实施例中,第二卡信息为第一实体卡对应的第一解码信息,上述实体卡添加装置800还可以包括:In one of the embodiments, the second card information is the first decoding information corresponding to the first physical card, and the above-mentioned physical card adding device 800 may also include:
编码模块,用于在通过无线充电线圈向第一设备发送第三卡信息之前,按照预设编码方式,对第一解码信息进行编码处理,得到第一实体卡对应的第一编码信息;The encoding module is configured to encode the first decoding information according to a preset encoding method before sending the third card information to the first device through the wireless charging coil, so as to obtain the first encoding information corresponding to the first physical card;
第二发送模块或第四发送子模块包括:The second sending module or the fourth sending submodule includes:
第五发送单元,用于通过无线充电线圈向第一设备发送第一编码信息。The fifth sending unit is configured to send the first encoded information to the first device through the wireless charging coil.
由此,通过响应于用户添加第一实体卡的第一输入,利用电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,能够使目标频率载波触发第一实体卡向该电子设备发送第一卡信息,并在接收到第一卡信息的情况下,存储第二卡信息。如此,本申请实施例能够通过对无线充电线圈的复用实现对第一实体卡对应的第一卡信息的获取,进而通过保存第一卡信息或由第一卡信息得到的信息,使用户在利用电子设备进行刷卡时,实现对卡信息的调用,从而实现利用电子设备对第一实体卡的卡信息进行 复制,为用户带来便利。Thus, by responding to the user's first input of adding the first entity card, using the wireless charging coil in the electronic device to alternately transmit the target frequency carrier and the wireless charging carrier, the target frequency carrier can be triggered to send the target frequency carrier to the electronic device by the first entity card. First card information, and store the second card information if the first card information is received. In this way, the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When electronic equipment is used to swipe the card, the calling of the card information is realized, so that the card information of the first entity card is realized by using the electronic equipment. Copy, bring convenience to users.
本申请实施例中的实体卡添加装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The apparatus for adding a physical card in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) equipment, robots, wearable devices, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., can also serve as server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的实体卡添加装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for adding a physical card in this embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的实体卡添加装置能够实现图3至图7的方法实施例实现的各个过程,为避免重复,这里不再赘述。The device for adding a physical card provided in the embodiment of the present application can realize various processes realized in the method embodiments in FIG. 3 to FIG. 7 , and details are not repeated here to avoid repetition.
可选的,如图9所示,本申请实施例还提供一种电子设备900,包括处理器901和存储器902,存储在存储器902上存储有可在处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述实体卡添加方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 9 , the embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, and the memory 902 stores programs or instructions that can run on the processor 901. When the program or instruction is executed by the processor 901, the steps of the above embodiment of the method for adding a physical card can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连, 从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1010 through a power management system, In this way, functions such as management of charging, discharging, and power consumption management are realized through the power management system. The structure of the electronic device shown in FIG. 10 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,用户输入单元1007,用于接收用户用于添加第一实体卡的第一输入;Wherein, the user input unit 1007 is configured to receive the first input from the user for adding the first physical card;
射频单元1001,用于响应于第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,目标频率载波用于触发第一实体卡向电子设备发送第一卡信息;The radio frequency unit 1001 is configured to alternately send a target frequency carrier and a wireless charging carrier through a wireless charging coil in the electronic device in response to a first input, wherein the target frequency carrier is used to trigger the first entity card to send the first card information to the electronic device ;
存储器1009,用于在接收到第一卡信息的情况下,存储第二卡信息,第二卡信息为与第一卡信息相同的信息,或者第二卡信息为根据第一卡信息确定的与第一实体卡对应的信息。The memory 1009 is used to store the second card information when the first card information is received, the second card information is the same information as the first card information, or the second card information is determined according to the first card information and Information corresponding to the first entity card.
由此,通过响应于用户添加第一实体卡的第一输入,利用电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,能够使目标频率载波触发第一实体卡向该电子设备发送第一卡信息,并在接收到第一卡信息的情况下,存储第二卡信息。如此,本申请实施例能够通过对无线充电线圈的复用实现对第一实体卡对应的第一卡信息的获取,进而通过保存第一卡信息或由第一卡信息得到的信息,使用户在利用电子设备进行刷卡时,实现对卡信息的调用,从而实现利用电子设备对第一实体卡的卡信息进行复制,为用户带来便利。Thus, by responding to the user's first input of adding the first entity card, using the wireless charging coil in the electronic device to alternately transmit the target frequency carrier and the wireless charging carrier, the target frequency carrier can be triggered to send the target frequency carrier to the electronic device by the first entity card. First card information, and store the second card information if the first card information is received. In this way, the embodiment of the present application can realize the acquisition of the first card information corresponding to the first physical card through the multiplexing of the wireless charging coil, and then by saving the first card information or the information obtained from the first card information, the user can When the electronic device is used to swipe the card, the card information is called, so that the electronic device is used to copy the card information of the first entity card, which brings convenience to the user.
可选的,处理器1010,还用于在第一预设时长内接收到第一信息的情况下,获取第一信息的信息类型;在根据信息类型确定第一信息不为第一信号强度包的情况下,确定第一信息为第一卡信息;其中,第一信号强度包为无线充电接收设备在接收到无线充电载波的情况下发送的信号强度包。Optionally, the processor 1010 is further configured to acquire the information type of the first information when the first information is received within the first preset duration; In the case of , it is determined that the first information is the first card information; wherein, the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when the wireless charging carrier is received.
可选的,处理器1010,还用于在存储第二卡信息之前,根据预设解码方式对第一编码信息进行解码,得到第一实体卡对应的第一解码信息;Optionally, the processor 1010 is further configured to decode the first coded information according to a preset decoding method before storing the second card information, to obtain first decoded information corresponding to the first physical card;
存储器1009,还用于存储第一解码信息。The memory 1009 is also used to store the first decoding information.
可选的,射频单元1001,还用于在无线充电线圈被第一设备激活的情况下,通过无线充电线圈向第一设备发送第三卡信息,第三卡信息为与第 二卡信息相同的信息,或者第三卡信息为根据第二卡信息确定的与第一实体卡对应的信息。Optionally, the radio frequency unit 1001 is further configured to send the third card information to the first device through the wireless charging coil when the wireless charging coil is activated by the first device, the third card information being the same as the first device The second card information is the same information, or the third card information is information corresponding to the first physical card determined according to the second card information.
可选的,射频单元1001,还用于通过无线充电线圈向第一设备发送第二信号强度包,其中,第二信号强度包用于在第一设备为无线充电设备的情况下,指示第一设备向电子设备发送充电信号包;Optionally, the radio frequency unit 1001 is further configured to send a second signal strength packet to the first device through the wireless charging coil, where the second signal strength packet is used to indicate the first The device sends a charging signal packet to the electronic device;
处理器1010,还用于在第二预设时长内未接收到充电信号包的情况下,调用存储的与第一实体卡对应的第二卡信息;The processor 1010 is further configured to call the stored second card information corresponding to the first physical card when the charging signal packet is not received within the second preset time period;
射频单元1001,还用于通过无线充电线圈向第一设备发送第三卡信息,其中,第三卡信息用于指示第一设备执行与第一实体卡对应的响应操控。The radio frequency unit 1001 is further configured to send third card information to the first device through the wireless charging coil, where the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
可选的,处理器1010,还用于按照预设编码方式,对第一解码信息进行编码处理,得到第一实体卡对应的第一编码信息Optionally, the processor 1010 is further configured to perform encoding processing on the first decoding information according to a preset encoding method, to obtain the first encoding information corresponding to the first physical card
射频单元1001,还用于通过无线充电线圈向第一设备发送第一编码信息。The radio frequency unit 1001 is further configured to send the first coded information to the first device through the wireless charging coil.
由此,通过在无线充电线圈被第一设备激活的情况下,利用无线充电线圈向第一设备发送与第一实体卡相关的第三卡信息,能够使第一设备读取到第一实体卡对应的卡信息,从而实现电子设备的刷卡模拟功能,达到与第一实体卡相同的功能体验。Thus, by using the wireless charging coil to send the third card information related to the first physical card to the first device when the wireless charging coil is activated by the first device, the first device can read the first physical card Corresponding card information, so as to realize the card swiping simulation function of the electronic device, and achieve the same functional experience as that of the first physical card.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072中的至少一种。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一 存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1009可以包括易失性存储器或非易失性存储器,或者,存储器1009可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1009包括但不限于这些和任意其它适合类型的存储器。The memory 1009 can be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first The storage area can store an operating system, an application program or an instruction required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. Furthermore, memory 1009 may include volatile memory or nonvolatile memory, or, memory 1009 may include both volatile and nonvolatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器1010可包括一个或多个处理单元;可选的,处理器1010集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述实体卡添加方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, each process of the above embodiment of the method for adding a physical card is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现 上述实体卡添加方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement The various processes of the embodiments of the method for adding a physical card above can achieve the same technical effect, and will not be repeated here to avoid repetition.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述实体卡添加方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to realize the various processes in the embodiment of the above-mentioned physical card adding method, and can achieve the same technology Effect, in order to avoid repetition, will not repeat them here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和 权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the enlightenment of this application, without departing from the purpose and purpose of this application Under the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present application.

Claims (17)

  1. 一种实体卡添加方法,包括:A method for adding a physical card, comprising:
    接收用户用于添加第一实体卡的第一输入;receiving a first input from a user for adding a first physical card;
    响应于所述第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,所述目标频率载波用于触发所述第一实体卡向所述电子设备发送第一卡信息;In response to the first input, the wireless charging coil in the electronic device alternately sends a target frequency carrier and a wireless charging carrier, wherein the target frequency carrier is used to trigger the first entity card to send a first card information;
    在接收到所述第一卡信息的情况下,存储第二卡信息,所述第二卡信息为与所述第一卡信息相同的信息,或者所述第二卡信息为根据所述第一卡信息确定的与所述第一实体卡对应的信息。In the case of receiving the first card information, store the second card information, the second card information is the same information as the first card information, or the second card information is based on the first card information Information corresponding to the first entity card determined by the card information.
  2. 根据权利要求1所述的方法,在响应于所述第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波之后,所述方法还包括:The method according to claim 1, after the target frequency carrier and the wireless charging carrier are alternately sent through the wireless charging coil in the electronic device in response to the first input, the method further comprises:
    在第一预设时长内接收到第一信息的情况下,获取所述第一信息的信息类型;If the first information is received within the first preset time period, acquiring the information type of the first information;
    在根据所述信息类型确定所述第一信息不为第一信号强度包的情况下,确定所述第一信息为所述第一卡信息;When it is determined according to the information type that the first information is not a first signal strength packet, determine that the first information is the first card information;
    其中,所述第一信号强度包为无线充电接收设备在接收到所述无线充电载波的情况下发送的信号强度包。Wherein, the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when receiving the wireless charging carrier.
  3. 根据权利要求1所述的方法,所述第一卡信息为所述第一实体卡对应的第一编码信息,在所述存储第二卡信息之前,所述方法还包括:According to the method according to claim 1, the first card information is the first coded information corresponding to the first physical card, and before storing the second card information, the method further includes:
    根据预设解码方式对所述第一编码信息进行解码,得到所述第一实体卡对应的第一解码信息;Decoding the first coded information according to a preset decoding method to obtain first decoded information corresponding to the first physical card;
    所述存储第二卡信息,包括:The storage of the second card information includes:
    存储所述第一解码信息。storing the first decoding information.
  4. 根据权利要求1所述的方法,在存储所述第二卡信息之后,所述方法还包括:According to the method according to claim 1, after storing the second card information, the method further comprises:
    在所述无线充电线圈被第一设备激活的情况下,通过所述无线充电线圈向所述第一设备发送第三卡信息,所述第三卡信息为与所述第二卡信息相同的信息,或者,所述第三卡信息为根据所述第二卡信息确定的与所述 第一实体卡对应的信息。When the wireless charging coil is activated by the first device, send third card information to the first device through the wireless charging coil, where the third card information is the same information as the second card information , or, the third card information is determined according to the second card information and the Information corresponding to the first entity card.
  5. 根据权利要求4所述的方法,其中,所述通过所述无线充电线圈向所述第一设备发送第三卡信息,包括:The method according to claim 4, wherein the sending the third card information to the first device through the wireless charging coil comprises:
    通过所述无线充电线圈向所述第一设备发送第二信号强度包,其中,所述第二信号强度包用于在所述第一设备为无线充电设备的情况下,指示所述第一设备向所述电子设备发送充电信号包;Sending a second signal strength packet to the first device through the wireless charging coil, wherein the second signal strength packet is used to instruct the first device when the first device is a wireless charging device sending a charging signal packet to the electronic device;
    在第二预设时长内未接收到所述充电信号包的情况下,调用存储的与所述第一实体卡对应的所述第二卡信息;In the case that the charging signal packet is not received within the second preset time period, call the stored second card information corresponding to the first physical card;
    通过所述无线充电线圈向所述第一设备发送第三卡信息,其中,所述第三卡信息用于指示所述第一设备执行与所述第一实体卡对应的响应操控。Sending third card information to the first device through the wireless charging coil, where the third card information is used to instruct the first device to perform a response operation corresponding to the first physical card.
  6. 根据权利要求4或5所述的方法,所述第二卡信息为所述第一实体卡对应的第一解码信息,在所述通过所述无线充电线圈向所述第一设备发送第三卡信息之前,所述方法还包括:According to the method according to claim 4 or 5, the second card information is the first decoding information corresponding to the first physical card, and the third card is sent to the first device through the wireless charging coil Before the information, the method also includes:
    按照预设编码方式,对所述第一解码信息进行编码处理,得到所述第一实体卡对应的第一编码信息;performing encoding processing on the first decoding information according to a preset encoding method, to obtain first encoding information corresponding to the first physical card;
    所述通过所述无线充电线圈向所述第一设备发送第三卡信息,包括:The sending the third card information to the first device through the wireless charging coil includes:
    通过所述无线充电线圈向所述第一设备发送所述第一编码信息。Sending the first coded information to the first device through the wireless charging coil.
  7. 一种实体卡添加装置,包括:A physical card adding device, comprising:
    第一接收模块,用于接收用户用于添加第一实体卡的第一输入;A first receiving module, configured to receive a first input from a user for adding a first physical card;
    第一发送模块,用于响应于所述第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波,其中,所述目标频率载波用于触发所述第一实体卡向所述电子设备发送第一卡信息;The first sending module is configured to alternately send the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device in response to the first input, wherein the target frequency carrier is used to trigger the first entity card to The electronic device sends the first card information;
    第一存储模块,用于在接收到所述第一卡信息的情况下,存储第二卡信息,所述第二卡信息为与所述第一卡信息相同的信息,或者,所述第二卡信息为根据所述第一卡信息确定的与所述第一实体卡对应的信息。The first storage module is configured to store the second card information when the first card information is received, the second card information is the same information as the first card information, or the second card information is the same information as the first card information, or the second The card information is information corresponding to the first physical card determined according to the first card information.
  8. 根据权利要求7所述的装置,所述装置还包括:The apparatus of claim 7, further comprising:
    类型获取模块,用于在响应于所述第一输入,通过电子设备中的无线充电线圈交替发送目标频率载波和无线充电载波之后,在第一预设时长内接收到第一信息的情况下,获取所述第一信息的信息类型; A type acquisition module, configured to receive the first information within a first preset time period after alternately sending the target frequency carrier and the wireless charging carrier through the wireless charging coil in the electronic device in response to the first input, Obtain the information type of the first information;
    信息确定模块,用于在根据所述信息类型确定所述第一信息不为第一信号强度包的情况下,确定所述第一信息为所述第一卡信息;An information determination module, configured to determine that the first information is the first card information when it is determined according to the information type that the first information is not a first signal strength packet;
    其中,所述第一信号强度包为无线充电接收设备在接收到所述无线充电载波的情况下发送的信号强度包。Wherein, the first signal strength packet is a signal strength packet sent by the wireless charging receiving device when receiving the wireless charging carrier.
  9. 根据权利要求7所述的装置,所述第一卡信息为所述第一实体卡对应的第一编码信息,所述装置还包括:According to the device according to claim 7, the first card information is the first encoded information corresponding to the first physical card, and the device further comprises:
    解码模块,用于在所述存储第二卡信息之前,根据预设解码方式对所述第一编码信息进行解码,得到所述第一实体卡对应的第一解码信息;A decoding module, configured to decode the first encoded information according to a preset decoding method before storing the second card information, to obtain first decoded information corresponding to the first physical card;
    所述第一存储模块包括:The first storage module includes:
    第二存储子模块,用于存储所述第一解码信息。The second storage submodule is used to store the first decoding information.
  10. 根据权利要求7所述的装置,所述装置还包括:The apparatus of claim 7, further comprising:
    第二发送模块,用于在存储所述第二卡信息之后,在所述无线充电线圈被第一设备激活的情况下,通过所述无线充电线圈向所述第一设备发送第三卡信息,所述第三卡信息为与所述第二卡信息相同的信息,或者所述第三卡信息为根据所述第二卡信息确定的与所述第一实体卡对应的信息。The second sending module is configured to send third card information to the first device through the wireless charging coil when the wireless charging coil is activated by the first device after storing the second card information, The third card information is the same information as the second card information, or the third card information is information corresponding to the first physical card determined according to the second card information.
  11. 根据权利要求10所述的装置,其中,所述第二发送模块包括:The device according to claim 10, wherein the second sending module comprises:
    第三发送子模块,用于通过所述无线充电线圈向所述第一设备发送第二信号强度包,其中,所述第二信号强度包用于在所述第一设备为无线充电设备的情况下,指示所述第一设备向所述电子设备发送充电信号包;A third sending sub-module, configured to send a second signal strength packet to the first device through the wireless charging coil, wherein the second signal strength packet is used when the first device is a wireless charging device Next, instruct the first device to send a charging signal packet to the electronic device;
    信息调用子模块,用于在第二预设时长内未接收到所述充电信号包的情况下,调用存储的与所述第一实体卡对应的所述第二卡信息;An information calling submodule, configured to call the stored second card information corresponding to the first physical card when the charging signal packet is not received within a second preset time period;
    第四发送子模块,通过所述无线充电线圈向所述第一设备发送第三卡信息,其中,所述第三卡信息用于指示所述第一设备执行与所述第一实体卡对应的响应操控。The fourth sending sub-module is configured to send third card information to the first device through the wireless charging coil, where the third card information is used to instruct the first device to execute the Respond to manipulation.
  12. 根据权利要求10或11所述的装置,所述第二卡信息为所述第一实体卡对应的第一解码信息,所述装置还包括:According to the device according to claim 10 or 11, the second card information is the first decoding information corresponding to the first physical card, and the device further comprises:
    编码模块,用于在所述通过所述无线充电线圈向所述第一设备发送第三卡信息之前,按照预设编码方式,对所述第一解码信息进行编码处理,得到所述第一实体卡对应的第一编码信息; An encoding module, configured to encode the first decoded information according to a preset encoding method before sending the third card information to the first device through the wireless charging coil to obtain the first entity The first coded information corresponding to the card;
    所述第二发送模块或第四发送子模块包括:The second sending module or the fourth sending submodule includes:
    第五发送单元,用于通过所述无线充电线圈向所述第一设备发送所述第一编码信息。A fifth sending unit, configured to send the first coded information to the first device through the wireless charging coil.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6中任一项所述的实体卡添加方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-6 are realized The steps of the entity card adding method described in any one.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处A readable storage medium, on which programs or instructions are stored, and the programs or instructions are processed
    理器执行时实现如权利要求1-6中任一项所述的实体卡添加方法的步骤。When the processor executes, realize the steps of the entity card adding method as described in any one of claims 1-6.
  15. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-6中任一项所述的方法的步骤。A computer program product executed by at least one processor to implement the steps of the method according to any one of claims 1-6.
  16. 一种电子设备,被配置成用于执行如权利要求1-6中任一项所述的的实体卡添加方法的步骤。An electronic device configured to execute the steps of the method for adding a physical card according to any one of claims 1-6.
  17. 一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,程序或指令被处理器执行时实现如权利要求1-6中任一项所述的实体卡添加方法的步骤。 A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and when the programs or instructions are executed by the processor, the entity described in any one of claims 1-6 is realized The steps of the card adding method.
PCT/CN2023/078630 2022-03-02 2023-02-28 Physical card adding method and apparatus, device, and storage medium WO2023165457A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210201346.2A CN114640377B (en) 2022-03-02 2022-03-02 Entity card adding method, device, equipment and storage medium
CN202210201346.2 2022-03-02

Publications (1)

Publication Number Publication Date
WO2023165457A1 true WO2023165457A1 (en) 2023-09-07

Family

ID=81947983

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/078630 WO2023165457A1 (en) 2022-03-02 2023-02-28 Physical card adding method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN114640377B (en)
WO (1) WO2023165457A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640377B (en) * 2022-03-02 2023-08-15 维沃移动通信有限公司 Entity card adding method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245106A (en) * 2018-11-28 2020-06-05 佳能株式会社 Power receiving device, control method for power receiving device, and storage medium
US20200359381A1 (en) * 2019-05-10 2020-11-12 Samsung Electronics Co., Ltd. Apparatus and method for preventing interference with wireless communication
CN112398187A (en) * 2019-08-19 2021-02-23 Oppo广东移动通信有限公司 Wearable device, charging control method, and storage medium
CN113392661A (en) * 2021-07-01 2021-09-14 Oppo广东移动通信有限公司 Card copying method and device, electronic equipment and readable storage medium
CN114640377A (en) * 2022-03-02 2022-06-17 维沃移动通信有限公司 Entity card adding method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006141170A (en) * 2004-11-15 2006-06-01 Sharp Corp Power supply system and transmission device and receiving device for use in the system
CN206322210U (en) * 2016-12-25 2017-07-11 深圳市正东源科技有限公司 A kind of Anti-theft card being lost based on passive energy
CN108156594A (en) * 2017-12-26 2018-06-12 上海展扬通信技术有限公司 A kind of method and terminal for realizing virtual card
CN110457965B (en) * 2018-05-07 2024-04-26 华为技术有限公司 Radio frequency card function calling method and device
CN112395894B (en) * 2019-08-16 2022-09-09 华为技术有限公司 Communication method and device based on NFC
CN113780501A (en) * 2021-09-17 2021-12-10 维沃移动通信有限公司 Electronic device and control method
CN113989962B (en) * 2021-10-27 2023-07-07 维沃移动通信有限公司 Access control identification control method and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245106A (en) * 2018-11-28 2020-06-05 佳能株式会社 Power receiving device, control method for power receiving device, and storage medium
US20200359381A1 (en) * 2019-05-10 2020-11-12 Samsung Electronics Co., Ltd. Apparatus and method for preventing interference with wireless communication
CN112398187A (en) * 2019-08-19 2021-02-23 Oppo广东移动通信有限公司 Wearable device, charging control method, and storage medium
CN113392661A (en) * 2021-07-01 2021-09-14 Oppo广东移动通信有限公司 Card copying method and device, electronic equipment and readable storage medium
CN114640377A (en) * 2022-03-02 2022-06-17 维沃移动通信有限公司 Entity card adding method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114640377B (en) 2023-08-15
CN114640377A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
US7345586B2 (en) System and method for transferring data to an electronic device
CN104933555B (en) Moade setting method and device
WO2023165457A1 (en) Physical card adding method and apparatus, device, and storage medium
CN103647587A (en) Method and system for unlocking mobile terminal, mobile terminal and wearable electronic device
CN104025696A (en) Methods and apparatus to control accessories
CN104933556A (en) Mode setting method and apparatus
EP2939128A1 (en) Near field communication method and apparatus using sensor context
JP2005045557A (en) Communication device
CN108475372B (en) Access control bypass on mobile devices for public transportation
JP2006309333A (en) Information processing system, information processing device and method, and program
WO2022012616A1 (en) Near-field communication (nfc) information display method and apparatus, and electronic device
CN104951935A (en) Bill splitting method and device
US20230054157A1 (en) Near field communication nfc communication method and apparatus, and electronic device
KR20110068116A (en) Mobile communication terminal and smartcard for providing payment information and method thereof
CN113207034B (en) Method, device, equipment and medium for processing mobile phone and television screen casting
CN104217328A (en) Multi-verification payment method and multi-verification payment device
CN108133180A (en) Fingerprint identification method, device and terminal
US20110187508A1 (en) Tag for rfid, wireless transmission system and method for large scale multimedia contents using the same
CN108122020A (en) Two-dimensional code generation method and device and two-dimensional code identification method and device
CN105719141A (en) Payment method and device
CN108600238A (en) The methods, devices and systems of transmission card data
CN202713445U (en) Display system
WO2019153882A1 (en) Near field communication payment
JP2004240715A (en) Information processing apparatus and method, and program
CN107231603B (en) Intelligent terminal and method for opening intelligent Bluetooth card online

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23762856

Country of ref document: EP

Kind code of ref document: A1