Control method of device with communication and charging functions, electronic device and vehicle
Patent Information
- Application Number
- CN202311076081.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-24
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-08-24
AI Technical Summary
由于无线充电模块在充电过程中需要发送高频能量脉冲波,而NFC模块在工作时射频天线也需要发送高频率波形,当这两个模块距离较近时,会互相干扰,导致NFC模块捡卡异常,或者无线充电模块断充等问题
[0032] According to the control method, electronic device, and vehicle of the device combining communication and charging functions provided by the present invention, when a target device is detected to be approaching, the device interacts with the target device sequentially through near-field communication (NFC) and wireless charging. The NFC and wireless charging functions are not activated simultaneously. After the NFC function has interacted with the target device, it is deactivated and the wireless charging function is activated. After the wireless charging function has interacted with the target device, it is deactivated and the NFC function is activated. This avoids mutual interference between the NFC and wireless charging functions, thereby preventing problems such as NFC card picking anomalies and wireless charging module charging interruptions. This provides a wider range of applications and a better user experience.
Smart Images

Figure CN118300642B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and more specifically to a control method, electronic device, and vehicle for a device that combines communication and charging functions. Background Technology
[0002] With the development of intelligent electronic products, Near Field Communication (NFC) and wireless charging functions are widely used in various electronic products, vehicles, etc. NFC modules are mainly used for transactions such as card picking with NFC-enabled mobile phones or card keys; wireless charging modules are mainly used to charge mobile phones that support wireless charging. Because the wireless charging module needs to send high-frequency energy pulse waves during charging, and the NFC module's radio frequency antenna also needs to send high-frequency waveforms when working, these two modules can interfere with each other when they are close together, leading to problems such as NFC module card picking malfunctions or wireless charging module charging interruptions. Summary of the Invention
[0003] The summary section introduces a series of simplified concepts, which will be further explained in detail in the detailed description section. The summary section of this invention is not intended to limit the key features and essential technical features of the claimed technical solution, nor is it intended to determine the scope of protection of the claimed technical solution.
[0004] This invention provides a control method for a device that combines communication and charging functions. The device includes a near-field communication module and a wireless charging module, characterized in that it includes:
[0005] Activate the near-field communication function of the near-field communication module;
[0006] When the target device is determined to be close, the system interacts with the target device based on the near-field communication function to obtain a first interaction result;
[0007] Based on the first interaction result, the near-field communication function is turned off. When the near-field communication function is turned off, the wireless charging function of the wireless charging module is turned on.
[0008] Based on the wireless charging function, the device interacts with the target device to obtain a second interaction result;
[0009] The wireless charging function is turned off based on the second interaction result.
[0010] For example, the step of interacting with the target device based on the near-field communication function to obtain a first interaction result includes:
[0011] Determine whether the target device can perform near-field communication transactions;
[0012] When the target device is capable of near-field communication transactions, near-field communication transactions are conducted with the target device based on the near-field communication function.
[0013] For example, the first interaction result includes an instruction that the target device cannot perform a near-field communication transaction, an instruction that the near-field communication transaction with the target device is successful, or an instruction that the near-field communication transaction with the target device fails.
[0014] For example, the step of interacting with the target device based on the wireless charging function to obtain a second interaction result includes:
[0015] Determine whether the target device can perform wireless charging interaction;
[0016] When the target device is capable of wireless charging interaction, wireless charging interaction is performed with the target device based on the wireless charging function.
[0017] For example, the second interaction result includes a command that the target device cannot perform wireless charging interaction or a command to end wireless charging interaction with the target device.
[0018] For example, the near-field communication function includes a first working state and a second working state. When the near-field communication function is activated, it enters the first working state to acquire the resistance, capacitance and / or magnetic field changes. When it is determined that the target device is close based on the resistance, capacitance and / or magnetic field changes, it enters the second working state to interact with the target device.
[0019] For example, the control method further includes:
[0020] Determine whether the target device includes a physical card based on the changes in resistance, capacitance and / or magnetic field;
[0021] When the target device includes a physical card, a prompt to remove the physical card is issued.
[0022] For example, when the target device moves away from the target device beyond a predetermined distance, a command to end the wireless charging interaction with the target device is obtained.
[0023] For example, when the target device includes a physical card, it also includes:
[0024] Determine whether the target device can perform near-field communication transactions;
[0025] When the target device is capable of near-field communication transactions, near-field communication transactions are conducted with the target device based on the near-field communication function;
[0026] Determine whether the target device can perform wireless charging interaction;
[0027] When the target device is able to perform wireless charging interaction, a prompt to remove the physical card is issued;
[0028] When a prompt to remove the physical card is issued, and the wireless charging function is turned off, the near-field communication function is automatically activated.
[0029] The present invention also provides an electronic device, including a near-field communication module, a wireless charging module, a processor, and a memory, wherein the processor is used to execute the control method of the device having both communication and charging functions described above.
[0030] The present invention also provides a vehicle including the electronic equipment described above.
[0031] For example, the vehicle also includes a center console, in which the near-field communication module and the wireless charging module are disposed.
[0032] According to the control method, electronic device, and vehicle of the device combining communication and charging functions provided by the present invention, when a target device is detected to be approaching, the device interacts with the target device sequentially through near-field communication (NFC) and wireless charging. The NFC and wireless charging functions are not activated simultaneously. After the NFC function has interacted with the target device, it is deactivated and the wireless charging function is activated. After the wireless charging function has interacted with the target device, it is deactivated and the NFC function is activated. This avoids mutual interference between the NFC and wireless charging functions, thereby preventing problems such as NFC card picking anomalies and wireless charging module charging interruptions. This provides a wider range of applications and a better user experience. Attached Figure Description
[0033] The following drawings, which are incorporated herein by reference as part of this invention, are provided for understanding the invention. The drawings illustrate embodiments of the invention and their descriptions, serving to explain the principles of the invention.
[0034] In the attached image:
[0035] Figure 1 A flowchart of a control method for a device that combines communication and charging functions according to an embodiment of the present invention;
[0036] Figure 2 This is a structural block diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0037] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention can be practiced without one or more of these details. In other instances, certain technical features well-known in the art have not been described in order to avoid obscuring the invention.
[0038] It should be understood that the invention can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals denote the same elements throughout.
[0039] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising” and / or “including,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.
[0040] To fully understand this invention, detailed steps and structures will be presented in the following description to illustrate the technical solution proposed by this invention. Preferred embodiments of the invention are described in detail below; however, in addition to these detailed descriptions, the invention may have other embodiments.
[0041] Since many wireless charging devices only send high-frequency pulse waves after a charging handshake, and it's impossible to detect whether a device supports wireless charging by simply bringing it close beforehand, this invention provides a control method for a device that combines communication and charging functions, such as... Figure 1 As shown, it includes:
[0042] Step S110: Activate the near-field communication function of the near-field communication module;
[0043] Step S120: If the target device is determined to be close, interact with the target device based on the near-field communication function to obtain a first interaction result;
[0044] Step S130: Based on the first interaction result, disable the near-field communication function. When the near-field communication function is disabled, enable the wireless charging function of the wireless charging module.
[0045] Step S140: Interact with the target device based on the wireless charging function to obtain a second interaction result;
[0046] Step S150: Disable the wireless charging function based on the second interaction result.
[0047] First, execute step S110 to activate the near-field communication function of the near-field communication module.
[0048] For example, the near-field communication function includes a first working state and a second working state. When the near-field communication function is activated, it enters the first working state to acquire the resistance, capacitance and / or magnetic field changes.
[0049] In one embodiment, after the electronic device is initialized, for example, after powering on the electronic device, the near-field communication function of the near-field communication module is activated. The activation of the near-field communication function can be performed manually by the user or automatically by the control unit; this application does not impose any restrictions on this. Furthermore, after completing one or more cycles of steps S110 to S160, the near-field communication function can also be automatically activated by the control unit, as described in step S160. After activating the near-field communication function, it enters a first operating state to obtain the changes in resistance, capacitance, and / or magnetic field.
[0050] Next, based on the near-field communication function, the changes in resistance, capacitance, and / or magnetic field are obtained, and based on the changes in resistance, capacitance, and / or magnetic field, it is determined whether the target device is close.
[0051] For example, it can also be determined whether the target device includes a physical card based on the changes in resistance, capacitance and / or magnetic field.
[0052] In one embodiment, when the near-field communication module in its first operating state acquires changes in resistance, capacitance, and / or magnetic field, the processor can determine whether a device is approaching, and identify the approaching device as the target device. Furthermore, based on the changes in resistance, capacitance, and / or magnetic field, the type of target device can also be determined, including three possibilities: virtual device only, physical card only, and virtual device and physical card.
[0053] Next, if the target device is determined to be close, step S120 is executed to interact with the target device based on the near-field communication function and obtain a first interaction result.
[0054] For example, the near-field communication function includes a first operating state and a second operating state. When the target device is determined to be close based on the changes in resistance, capacitance and / or magnetic field, the function enters the second operating state for interacting with the target device.
[0055] For example, the step of interacting with the target device based on the near-field communication function to obtain a first interaction result includes: determining whether the target device can perform near-field communication transactions; and when the target device can perform near-field communication transactions, performing near-field communication transactions with the target device based on the near-field communication function.
[0056] Furthermore, when the target device includes a physical card, the method further includes: determining whether the physical card can perform near-field communication (NFC) transactions; and when the physical card can perform NFC transactions, performing NFC transactions with the physical card based on the NFC function.
[0057] For example, the first interaction result includes an instruction that the target device cannot perform a near-field communication transaction, an instruction that the near-field communication transaction with the target device is successful, or an instruction that the near-field communication transaction with the target device fails.
[0058] In one embodiment, when a target device is detected approaching, regardless of whether the target device includes a physical card, the NFC function enters a second working state and interacts with the target device: First, it determines whether the target device can perform an NFC transaction, for example, by detecting whether the target device has an NFC chip (including a physical NFC chip or a virtual NFC chip). If the target device does not have an NFC chip, an instruction is obtained that the target device cannot perform a near-field communication transaction. If the target device has an NFC chip, the NFC transaction continues to be performed with the target device. If the transaction is successful, an instruction is obtained that the near-field communication transaction with the target device was successful. If the transaction fails, an instruction is obtained that the near-field communication transaction with the target device failed.
[0059] Next, step S130 is executed, the near-field communication function is turned off based on the first interaction result, and the wireless charging function of the wireless charging module is started when the near-field communication function is turned off.
[0060] In one embodiment, when any one of the three instructions is received as the first interaction result, the NFC function is automatically turned off and the wireless charging function is automatically started.
[0061] Next, step S140 is executed, which involves interacting with the target device based on the wireless charging function to obtain a second interaction result.
[0062] For example, the step of interacting with the target device based on the wireless charging function to obtain a second interaction result includes: determining whether the target device can perform wireless charging interaction; when the target device can perform wireless charging interaction, performing wireless charging interaction with the target device based on the wireless charging function.
[0063] Furthermore, when the target device moves further away than a predetermined distance, a command to end the wireless charging interaction with the target device is obtained.
[0064] Furthermore, when the target device includes a physical card, the method further includes: determining whether the target device can perform wireless charging interaction; and when the target device can perform wireless charging interaction, issuing a prompt to remove the physical card.
[0065] For example, the second interaction result includes a command that the target device cannot perform wireless charging interaction or a command to end wireless charging interaction with the target device.
[0066] In one embodiment, regardless of whether the target device includes a physical card, the wireless charging function first determines whether the target device can perform wireless charging. If the target device cannot perform wireless charging, a command is obtained indicating that wireless charging interaction cannot be performed. If the target device can perform wireless charging but includes a physical card (e.g., a physical card such as an ID card or key card attached to the back of a mobile phone), a prompt to remove the physical card is issued to avoid damaging the physical NFC card during wireless charging. If the target device can perform wireless charging but does not include a physical card, wireless charging interaction is performed with the target device without any additional commands or prompts. When the target device moves away from the target device beyond a predetermined distance, a command to end wireless charging interaction with the target device is obtained regardless of whether the target device is fully charged.
[0067] In this way, when a device only supports wireless charging and it is impossible to identify whether the device supports wireless charging through a high-frequency magnetic field, the device can be identified first by the change in impedance, and then the wireless charging module can be activated to try to charge it, thereby determining whether the device supports wireless charging, and then charging it.
[0068] Next, step S150 is executed to disable the wireless charging function based on the second interaction result.
[0069] For example, when a prompt to remove the physical card is issued, and the wireless charging function is turned off, the near-field communication function is automatically activated.
[0070] In one embodiment, when either of the two instructions for obtaining the second interaction result is obtained, or when a prompt to remove the physical card is issued, the wireless charging function is automatically turned off and the NFC function is automatically activated. At this time, the NFC function enters the first working state to obtain the resistance, capacitance and / or magnetic field changes.
[0071] This invention supports a wider range of devices and scenarios. Regardless of whether the device supports NFC, wireless charging, or can send high-frequency magnetic field changes before charging, it can detect the device's proximity through impedance or magnetic field, thus transitioning from standby to operating state. Then, it separately calls the NFC module and the wireless charging module to interact with the device, thereby identifying different operating scenarios. It has broader application scenarios and more comprehensive compatibility, solving the pain point and difficulty of only being able to identify whether a device supports NFC or wireless charging through high-frequency magnetic fields.
[0072] The following will combine Figure 2This application describes an electronic device 200 that can be used to perform the control method 100 of the device with communication and charging functions according to the embodiments of this application described above.
[0073] In one embodiment, the electronic device 200 may be, for example, various terminal devices such as mobile phones, computers, tablets, etc.
[0074] like Figure 2 As shown, the electronic device 200 may include a memory 210, a processor 220, a near-field communication module 230, and a wireless charging module 240. The memory 210 stores a computer program executed by the processor 220. When the computer program is executed by the processor 220, the processor 220 performs the control method 100 of the device with communication and charging functions according to the embodiments of this application, as described above. Those skilled in the art can understand the specific operation of the control method 100 of the device with communication and charging functions according to the embodiments of this application in conjunction with the foregoing description. For the sake of brevity, specific details will not be repeated here.
[0075] The processor 220 can be any processing system known in the art, such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, a microcontroller, a field-programmable gate array (FPGA), etc., and this application does not limit it.
[0076] The memory 210 is used to store network parameters of one or more neural networks. For example, the memory 210 can be RAM, ROM, EEPROM, flash memory or other storage technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage devices, magnetic tape cassette, magnetic tape, disk storage devices or other magnetic storage systems, or any other medium that can be used to store desired information and can be accessed by the processor 820.
[0077] The electronic device 200 also includes a display (not shown) that can be used to display various visual information, such as a prompt to remove the physical card.
[0078] The electronic device 200 may also include a communication interface (not shown), which can enable information exchange between hardware such as the processor, communication interface, and memory through a communication bus.
[0079] This application also provides a vehicle, the vehicle including an electronic device 200, the vehicle also including a center console, wherein the near-field communication module 230 and the wireless charging module 240 are disposed in the center console.
[0080] According to the control method, electronic device, and vehicle of the device combining communication and charging functions provided by the present invention, when a target device is detected to be approaching, the device interacts with the target device sequentially through near-field communication (NFC) and wireless charging. The NFC and wireless charging functions are not activated simultaneously. After the NFC function has interacted with the target device, it is deactivated and the wireless charging function is activated. After the wireless charging function has interacted with the target device, it is deactivated and the NFC function is activated. This avoids mutual interference between the NFC and wireless charging functions, thus preventing problems such as NFC card picking anomalies and wireless charging module charging interruptions. This provides a wider range of applications and a better user experience.
[0081] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.
[0082] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0083] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.
[0084] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0085] Similarly, it should be understood that, in order to streamline this application and aid in understanding one or more of the various inventive aspects, features of this application may sometimes be grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of this application. However, this approach should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, its inventive point lies in solving the corresponding technical problem with features fewer than all features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of this application.
[0086] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0087] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
[0088] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules according to the embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0089] It should be noted that the above embodiments are illustrative of this application and not limiting of it, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0090] The above description is merely a specific embodiment or illustration of the embodiments of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. The scope of protection of this application shall be determined by the scope of the claims.
Claims
1. A control method for a device that combines communication and charging functions, the device comprising a near-field communication module and a wireless charging module, characterized in that, include: The near-field communication function of the near-field communication module is activated. The near-field communication function includes a first working state and a second working state: when the near-field communication function is activated, the first working state is entered to acquire resistance, capacitance and / or magnetic field changes, and to determine whether the target device is close based on the resistance, capacitance and / or magnetic field changes. When the target device is determined to be close, the system enters the second working state and interacts with the target device based on the near-field communication function to obtain a first interaction result. The first interaction result includes an instruction that the target device cannot perform a near-field communication transaction, an instruction that the near-field communication transaction with the target device is successful, or an instruction that the near-field communication transaction with the target device fails. Based on the first interaction result, the near-field communication function is turned off. When the near-field communication function is turned off, the wireless charging function of the wireless charging module is turned on. Based on the wireless charging function, the second interaction result is obtained by interacting with the target device. Specifically, this includes: determining whether the target device can perform wireless charging interaction; when the target device can perform wireless charging interaction, performing wireless charging interaction with the target device based on the wireless charging function; the second interaction result includes an instruction that the target device cannot perform wireless charging interaction or an instruction to end wireless charging interaction with the target device. The wireless charging function is turned off based on the second interaction result.
2. The control method as described in claim 1, characterized in that, Also includes: Determine whether the target device includes a physical card based on the changes in resistance, capacitance and / or magnetic field; When the target device includes a physical card, and when the target device is capable of wireless charging interaction, a prompt to remove the physical card is issued.
3. The control method as described in claim 1, characterized in that, When the target device moves further away than a predetermined distance, a command to end the wireless charging interaction with the target device is obtained.
4. An electronic device, characterized in that, It includes a processor and a memory, wherein the processor is used to execute a control method for a device that combines communication and charging functions as described in any one of claims 1-3.
5. A vehicle, characterized in that, The vehicle includes the electronic equipment described in claim 4.
6. The vehicle as described in claim 5, characterized in that, The vehicle also includes a center console, and the near-field communication module and the wireless charging module are located within the center console.
Citation Information
Patent Citations
Mobile terminal, NFC card key, and near field communication control method thereof
CN105282686A