NFC communication and wireless charging switching method and device, medium and electronic equipment
By implementing an automatic switching method between NFC communication and wireless charging on the antenna of a smart terminal, the problem of complex function switching and reliance on charging induction in the existing technology is solved, achieving intelligent, convenient and multi-functional application.
Patent Information
- Application Number
- CN202310324173.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-01
AI Technical Summary
In various application scenarios of existing smart terminals, switching between NFC communication and wireless charging functions is complicated, user operations are cumbersome, and wireless charging stops depending on the charging induction relationship, which limits the wide applicability of the function.
By implementing the switching method between NFC communication and wireless charging on the antenna of the smart terminal, using preset instructions or triggering of the NFC communication function, wireless charging is automatically stopped or started, and autonomous switching between the antenna and external devices is achieved without the need for manual separation by the user. Charge induction.
It simplifies user operations, reduces operation complexity, realizes convenient switching between wireless charging and NFC communication, has a wider application range, and the stop of wireless charging does not depend on the charging induction relationship.
Smart Images

Figure CN118739624A_ABST
Abstract
Description
Background Art
[0002] NFC (Near Field Communication) technology is a short-range wireless communication technology. In order to meet the various needs of users in daily life, smart terminals equipped with analog cards can complete NFC communication interaction operations with card reader terminals in various application scenarios based on NFC technology, such as swiping bus cards, attendance cards, UnionPay cards or access control cards. In addition, smart terminals can also reverse charge other external devices such as stylus pens or wireless headphones based on WLC (Wireless Charging) technology. In order to improve the user experience and meet more scenario requirements, it is necessary to expand and optimize the functions of smart terminals. Summary of the invention
[0003] The present disclosure provides a method for switching between NFC communication and wireless charging, a device for switching between NFC communication and wireless charging, a computer-readable storage medium and an electronic device, thereby improving the functional application of smart terminals in various application scenarios at least to a certain extent.
[0004] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0005] According to a first aspect of the present disclosure, a method for switching between NFC communication and wireless charging is provided, which is applied to a main device having an antenna, wherein the antenna is used to support an NFC communication function and a wireless charging function; the method comprises: during wireless charging with an external device to be charged via the antenna, stopping the wireless charging in response to a preset instruction, or stopping the wireless charging in response to the triggering of the NFC communication function; and performing NFC communication with an external NFC device via the antenna.
[0006] According to a second aspect of the present disclosure, there is provided a switching device for NFC communication and wireless charging, which is applied to a main device having an antenna, wherein the antenna is used to support NFC communication function and wireless charging function; the device comprises: a charging stop module, which is used to stop wireless charging in response to a preset instruction during wireless charging with an external device to be charged through the antenna, or to stop wireless charging in response to triggering the NFC communication function; and an NFC communication module, which is used to perform NFC communication with an external NFC device through the antenna.
[0007] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for switching between NFC communication and wireless charging according to the first aspect and possible implementation thereof are implemented.
[0008] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the NFC communication and wireless charging switching method and possible implementation manner thereof of the first aspect by executing the executable instructions.
[0009] The technical solution disclosed in this disclosure has the following beneficial effects:
[0010] In the process of wireless charging with an external device to be charged through an antenna, wireless charging is stopped in response to a preset instruction, or wireless charging is stopped in response to the triggering of an NFC communication function; NFC communication is performed with an external NFC device through an antenna. On the one hand, this exemplary embodiment proposes a switching method between NFC communication and wireless charging. When the main device needs to perform NFC communication with an external NFC device during wireless charging with an external device to be charged through an antenna, the wireless charging can be stopped and switched to the NFC communication function by triggering a preset instruction or the NFC communication function. This process does not require the user to actively separate the main device from the external device to be charged and disconnect the charging induction. This exemplary embodiment can intelligently and reasonably stop the wireless charging process in a variety of ways in the application scenario of NFC communication, and the complexity of user operation is low. On the other hand, this exemplary embodiment stops wireless charging based on the triggering of a preset instruction or the NFC communication function. The stopping of wireless charging does not depend on the charging induction relationship between the main device and the external device to be charged. Furthermore, after the wireless charging stops, conventional NFC communication can be performed with an external NFC device through an antenna, so that the main device can switch between wireless charging and NFC communication autonomously and conveniently, and the application scope is wider.
[0011] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0013] Figure 1 A schematic diagram of the architecture of NFC communication and wireless charging in a related technology is shown;
[0014] Figure 2 A schematic diagram of the architecture of a master device in this exemplary embodiment is shown;
[0015] Figure 3 A schematic diagram showing another architecture of a master device in this exemplary embodiment is shown;
[0016] Figure 4 A schematic diagram showing an architecture of NFC communication and wireless charging in this exemplary embodiment is shown;
[0017] Figure 5 A schematic diagram showing a system architecture in this exemplary embodiment;
[0018] Figure 6 A flow chart showing a method for switching between NFC communication and wireless charging in this exemplary embodiment is shown;
[0019] Figure 7 A schematic diagram showing a moving path of a master device in this exemplary embodiment;
[0020] Figure 8 A schematic diagram showing a posture of a master device in this exemplary embodiment;
[0021] Fig. 9 A flow chart showing another method for switching between NFC communication and wireless charging in this exemplary embodiment;
[0022] Fig.10 A structural block diagram of a switching device for NFC communication and wireless charging in this exemplary embodiment is shown;
[0023] Fig.11 A structural diagram of an electronic device in this exemplary embodiment is shown. DETAILED DESCRIPTION
[0024] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0025] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0026] Figure 1 The schematic diagram of the architecture of NFC communication and wireless charging in a related technology is shown, including the main module structures of a main device 110, an external device to be charged 120 and an external NFC device 130, wherein the main device 110 includes: an NFC transmission control module 111, a chip configured to perform NFC communication functions, a WLC transmission control module 112, a chip configured to perform wireless charging functions; an NFC matching module 113 at the transmitting end, used for NFC network matching and antenna tuning; a WLC matching module 115 at the transmitting end, used for WLC network matching and antenna tuning; an antenna a 114, used for NFC communication with an external NFC device; an antenna a' 116, used for wireless charging with an external device to be charged. The external device to be charged 120 includes: a WLC receiving control module 121, a WLC matching module 122 at the receiving end and an antenna b 123, wherein the antenna b 123 is used to communicate with the antenna a' 116 to realize the charging connection between the main device 110 and the external device to be charged 120. The external NFC device 130 includes: an NFC receiving control module 131, an NFC matching module 132 at the receiving end, and an antenna d 133, wherein the antenna d 133 is used to communicate with the antenna a 114 to implement NFC communication between the main device 110 and the external NFC device 430 for card swiping. Figure 1 In the communication architecture shown, the NFC communication function and the wireless charging function are respectively controlled and executed by the chips in their respective transmission control modules, and the NFC antenna and the WLC antenna need to realize the corresponding functions through their respective antennas, that is, the transmission control module including the NFC control chip and the NFC antenna are needed to realize the NFC communication function, and the transmission control module including the wireless charging control chip and the WLC antenna are used to realize the wireless charging function. This architecture not only occupies the hardware space of the terminal and increases the additional hardware cost, but also may cause electromagnetic interference problems due to the coexistence of the NFC antenna and the WLC antenna coil.
[0027] Further, based on Figure 1The architecture of NFC communication and wireless charging can propose to integrate the transmission control modules of NFC and wireless charging, and implement the execution of NFC communication function and wireless charging function by reusing the same chip. However, in this co-chip architecture, the NFC communication function and the wireless charging function need to work in time-sharing, that is, only the NFC communication function or the wireless charging function can be executed at the same time. If the main device is in the state of charging an external device to be charged and needs to interact with the card reader terminal for NFC communication, the user is usually required to manually separate the connection between the main device and the external device to be charged to stop the charging process and turn on the NFC communication function. The operation is complicated and the convenience is poor.
[0028] In an exemplary embodiment, a new NFC communication and wireless charging architecture is proposed. Figure 2 The schematic diagram of the architecture of the main device side is shown, and the main device 210 includes: a sending control module 211 of NFC and WLC, a first switching module 212, an NFC matching module 213 of the sending end, a WLC matching module 214 of the sending end, a second switching module 215 and an antenna a 216. This exemplary embodiment can combine the antenna for NFC communication and the antenna for wireless charging into one, and control the switching of the matching network of the NFC communication and wireless charging scenarios through the second switching module 215, thereby optimizing the structure of the main device side and applying it to a wider range of scenarios. It should be noted that in the architecture of the main device side of this exemplary embodiment, the sending control module of NFC and WLC can be configured with a control chip for executing the NFC communication function and the wireless charging function, that is, the NFC communication function or the wireless charging function can be realized based on the same control chip. The second switching module 215 may not be included in the above architecture, and the antenna switching function can be realized through the chip in the sending control module of NFC and WLC. In addition, the NFC communication function or the wireless charging function may be performed by using a common antenna a, or an independent NFC antenna may be used to perform the NFC communication function, and an independent WLC antenna may be used to perform the wireless charging function, and the like.
[0029] In an exemplary embodiment, another new NFC communication and wireless charging architecture is proposed. Figure 3 The schematic diagram of the architecture of the main device side is shown. The main device 310 includes: a transmission control module 311 for NFC and WLC, a switching module 312 at the transmitting end, a matching module 313 at the transmitting end, and a first antenna 314. This exemplary embodiment combines the antenna for NFC communication and the antenna for wireless charging into one, and also combines the matching module into one, further improving the communication architecture. It is suitable for scenarios where the frequencies of NFC communication and wireless charging are the same or have little difference, and the structure is more streamlined and the application is more convenient. In this exemplary embodiment, the switching module 312 at the transmitting end can be as follows: Figure 3The independent module shown may also be a built-in module on a chip built into the sending control module of NFC and WLC.
[0030] This exemplary embodiment can be used according to specific application scenarios and usage requirements. Figure 2 and Figure 3 Select to use in the architecture of the master device shown.
[0031] Figure 4 The schematic diagram of the architecture of NFC communication and wireless charging in this exemplary embodiment is shown, including the main module structures of a main device 410, an external device to be charged 420 and an external NFC device 430, wherein the main device 410 includes: a sending control module 411 of NFC and WLC, a matching module 412 of the sending end, and an antenna a 413. The external device to be charged 420 includes: a WLC receiving control module 421, a WLC matching module 422 of the receiving end, and an antenna b 423, wherein the antenna b 423 is used to communicate with the antenna a 413 to realize the charging connection between the device 410 and the external device to be charged 420. The external NFC device 430 includes: an NFC receiving control module 431, an NFC matching module 432 of the receiving end, and an antenna d 433, wherein the antenna d 433 is used to communicate with the antenna a 413 to realize the NFC communication of the main device 410 and the external NFC device 430 for swiping a card. Figure 4 The architecture also includes a signal enhancement matching module 441 and an antenna c 442, which can be an enhanced antenna. Considering that the wireless charging scenario usually requires the main device and the external device to be charged to be close to each other, therefore, the antenna c 442 and the antenna b 423 can be set to share a common magnetic core. During communication, the antenna a 413 is coupled with the antenna c 442, and the antenna c 442 transmits energy to the antenna b 423 or the antenna d 433. In this exemplary embodiment, the signal enhancement matching module 441 and the antenna c 442 can exist independently of the external device to be charged 420 and the external NFC device 430. For example, the signal enhancement matching module and the antenna c can be configured in the storage place of the stylus in the mobile phone case, and the magnetic core can be placed in the storage place or the corresponding position of the stylus. When the stylus is connected to the mobile phone for wireless charging, a common magnetic core structure can be formed.
[0032] The exemplary embodiment of the present disclosure first provides a method for switching between NFC communication and wireless charging. Figure 5 The system architecture of the operating environment of this exemplary embodiment is described. Figure 5As shown, the system architecture 500 may include a main device 510, an external device to be charged 520, and an external NFC device 530. The main device 510 may be an electronic device with an antenna, such as a smart phone, tablet computer, smart wearable device, etc. that can perform NFC communication and wireless charging; the external device to be charged 520 may be a stylus, wireless headset, etc.; the external NFC device 530 may be a card reader device for reading the simulated card information in the main device 510, such as a subway gate, access control device, or other POS (Point Of Sales) machine, etc. The external device to be charged 520 may be charged by communicating with the main device 510, such as inserting the stylus into the inside of a mobile phone or tablet computer, or its protective shell sleeve, so that the mobile phone or tablet computer charges the stylus; or placing the headset close to the mobile phone or tablet computer, or placing the headset in the sensing area on the back of the mobile phone or tablet computer, so that the mobile phone or tablet computer charges the headset, etc. The external NFC device 530 and the main device 510 may achieve data transmission between the two by being close to each other.
[0033] As can be seen from the above, in this exemplary embodiment, the method for switching between NFC communication and wireless charging is applied to a host device having an antenna, wherein the antenna can support both the NFC communication function and the wireless charging function.
[0034] In an exemplary embodiment, the NFC communication function and the wireless charging function can be executed based on the control of the same control chip, that is, the NFC communication function or the wireless charging function can be executed by sharing the same control chip.
[0035] In an exemplary embodiment, the antenna may be one antenna, and the control chip is connected to the antenna to support the NFC communication function or the wireless charging function through the antenna. That is, the antenna may be a common antenna for the NFC communication function and the wireless charging function, for example, an antenna supporting NFC communication and wireless charging is provided, and the NFC communication function or the wireless charging function is realized by reusing the antenna.
[0036] In another exemplary embodiment, the antenna may include a first antenna and a second antenna, and the control chip may be connected to the first antenna and the second antenna, respectively, to support the NFC communication function through the first antenna and the wireless charging function through the second antenna. That is, the antenna may include two different independent antennas, the first antenna and the second antenna, for example, an independent NFC antenna is provided to perform the NFC communication function, and an independent WLC antenna is provided to perform the wireless charging function, etc.
[0037] Combine the following Figure 6 This section describes the process of switching between NFC communication and wireless charging. Figure 6As shown, the method for switching between NFC communication and wireless charging may include the following steps S610 to S620:
[0038] Step S610, during the process of wireless charging with an external device to be charged through an antenna, wireless charging is stopped in response to a preset instruction, or wireless charging is stopped in response to the triggering of an NFC communication function.
[0039] NFC technology is a short-range wireless communication technology developed based on radio frequency identification technology. It can transmit data through electromagnetic induction coupling of wireless frequencies. By configuring the terminal with an antenna, conventional NFC communication functions and wireless charging functions can be realized. The antenna can be used for conventional NFC communication, such as swiping a bus card, access card, or attendance card through a mobile phone; it can also be used for wireless charging functions. The antennas for wireless charging and NFC communication in this exemplary embodiment can be independent NFC antennas and WLC antennas, or they can be the same antenna, such as through Figures 2 to 4 The common antenna structure shown performs charging and communication processes.
[0040] When the main device is wirelessly charging an external device to be charged, the external device to be charged is often in the charging induction area of the main device, such as an area close to the main device or an area in surface contact with the main device. When the main device detects that the external device to be charged is in the charging induction area, the wireless charging process begins. During the wireless charging process, when a preset instruction input from the outside is detected, or the NFC communication function is triggered, the main device stops wirelessly charging the external device to be charged. Stopping wireless charging can be pausing the current charging process or exiting the current charging process.
[0041] The preset instruction may be a control instruction input by the user to stop wireless charging, which may be a voice instruction, an operation instruction or a behavior instruction, for example, inputting and confirming an instruction to exit the current charging process; or waking up a voice assistant to stop wireless charging; or performing a specific gesture, moving the mobile host device in a specific trajectory, or placing the host device in a specific posture, etc. Different preset instructions may correspond to different control contents, for example, the first preset instruction may exit the current wireless charging process, and the second preset instruction may pause the current wireless charging process, etc.
[0042] The NFC communication function refers to other conventional NFC communication interaction functions besides wireless charging, such as swiping bus cards, access cards or attendance cards. Triggering the activation of the NFC communication function refers to triggering the activation of the main device to perform conventional NFC communication functions. For example, when the main device wants to perform NFC communication with an external NFC device, it usually needs to approach the external NFC device and enter its detection area so that the external NFC device can read the information of the corresponding simulated card in the main device. The triggering of the NFC communication function can be the terminal approaching the card swiping terminal, such as entering the detection area of the card reader terminal. The detection area refers to the area where the terminal device and the card reader device can interact with each other, such as the coverage range of the NFC signal of the card reader device. In addition, the triggering of the NFC communication function can also be determined by judging the distance, angle, direction and other information between the main device and the external NFC device. The triggering of the NFC communication function can also be the user turning on the option switch for NFC communication, such as the user turning on the NFC shortcut option in the notification bar.
[0043] In an exemplary embodiment, the above-mentioned starting and stopping of wireless charging in response to the triggering of the NFC communication function may include:
[0044] If an external NFC signal is detected during wireless charging, the NFC communication function is triggered to start and wireless charging is stopped.
[0045] In this exemplary embodiment, when the host device is performing a wireless charging process with an external device to be charged, it can detect an external NFC signal to determine whether there is a device that needs to perform NFC communication around it. If an external NFC signal is detected, the NFC communication function is triggered to stop wireless charging. If no external NFC signal is detected, the wireless charging process continues.
[0046] In an exemplary embodiment, if an external NFC signal is detected during the wireless charging process, the NFC communication function is triggered to start and the wireless charging is stopped, including:
[0047] If an external NFC signal is detected during the charging gap of wireless charging, the NFC communication function will be triggered to stop wireless charging.
[0048] This exemplary embodiment can utilize the charging gap of wireless charging to periodically or irregularly send a detection signal to the surrounding environment to determine whether there is an external NFC signal in the surrounding environment according to the feedback signal. For example, during the charging process, the charging process is paused for 1 millisecond every 10 minutes, and a detection signal is sent to the surrounding environment during the charging gap to determine whether the main device is close to an external NFC device, or whether an external NFC device is close to the main device, etc. The duration of the charging gap and the time interval between the charging gaps can be set as needed, and this disclosure does not specifically limit this.
[0049] In another exemplary embodiment, the antenna is a first antenna, and the main device includes a first chip and a second chip; the first chip is connected to the first antenna and is used to perform an NFC communication function or a wireless charging function; the second chip is connected to the third antenna and is used to detect external NFC signals during wireless charging.
[0050] That is, this exemplary embodiment can ensure that when the first chip is occupied while executing the wireless charging function by setting two chips in the main device, the external NFC signal can be detected by the second chip to determine whether there is an external NFC device that needs to perform NFC communication during the wireless charging process, and then stop the wireless charging in time when the external NFC signal is detected.
[0051] Step S620: Perform NFC communication with an external NFC device via the antenna.
[0052] Furthermore, the information of the simulated card in the main device can be sent to the card reader device through the antenna, so that the main device and the external NFC device can perform conventional NFC communication interaction. When performing NFC communication, the main device and the external NFC device can interact with each other by signals, so that the external NFC device can read the simulated card information in the main device through signal interaction to realize the card swiping operation. For example, in the scenario of swiping a bus card, the bus card swiping device can send a bus card detection signal. After the smart phone responds to the detection signal, it performs the subsequent bus card information interaction process with the bus card swiping device through the antenna; or in the scenario of swiping a UnionPay card for payment, the card reader device initiates a payment request signal. After the main device responds to the signal, it performs the subsequent payment card information reading process with the card reader device through the antenna, etc. Among them, the main device can select the wireless radio frequency magnetic field emitted by the external NFC device or the wireless radio frequency magnetic field generated by itself to communicate with the external NFC device, and the present disclosure does not make specific limitations on this.
[0053] In this exemplary embodiment, when a preset instruction is detected or a trigger is triggered to start the NFC communication function and stop wireless charging, the user does not need to separate the external device to be charged from the main device, for example, there is no need to move the external device to be charged out of the charging induction area of the main device.
[0054] In summary, in this exemplary embodiment, in the process of wireless charging with an external device to be charged through an antenna, wireless charging is stopped in response to a preset instruction, or wireless charging is stopped in response to the triggering of the NFC communication function; NFC communication is performed with an external NFC device through an antenna. On the one hand, this exemplary embodiment proposes a switching method between NFC communication and wireless charging. When the main device needs to perform NFC communication with an external NFC device during wireless charging with an external device to be charged through an antenna, the wireless charging can be stopped and switched to the NFC communication function by triggering a preset instruction or the NFC communication function. This process does not require the user to actively separate the main device from the external device to be charged and disconnect the charging induction. This exemplary embodiment can intelligently and reasonably stop the wireless charging process in a variety of ways in the application scenario of NFC communication, and the complexity of user operation is low; on the other hand, this exemplary embodiment stops wireless charging based on the triggering of a preset instruction or the NFC communication function, and the stopping of wireless charging does not depend on the charging induction relationship between the main device and the external device to be charged. Further, after the wireless charging stops, conventional NFC communication can be performed with the external NFC device through the antenna, so that the main device can switch autonomously and conveniently between wireless charging and NFC communication, and the scope of application is wider.
[0055] In an exemplary embodiment, in the above step S610, stopping wireless charging in response to a preset instruction includes:
[0056] In response to detecting a first preset operation for the prompt information in the user interface, wireless charging is stopped.
[0057] Among them, the user interface refers to the interactive interface between the user and the main device, which can be an interface in the current charging state, such as the interface of the charging mode, or any other interface, such as the main interface. The prompt information refers to the information provided by the main device to the user to guide the user to perform interactive charging control, which can be icon information, such as the icon of the charging state or charging mode. The icon is lit to indicate that it is currently in the charging state, and the icon is not lit to indicate that it is currently in the idle state; it can also be text information, such as whether to pause / stop / exit the current charging state and other option information. The prompt information can be displayed directly in the user interface, or it can be displayed in a floating window or a floating ball. The first preset operation is the interactive operation for the above prompt information, which can be a single click, double click, long press or sliding operation, etc. When the main device detects the first preset operation, it can stop wireless charging with the external device to be charged, for example, when a single click operation of the charging mode icon in the lit state is detected, the wireless charging mode is exited to stop wireless charging; or it can also be the option of selecting and confirming to pause the current charging state to stop wireless charging, etc.
[0058] In an exemplary embodiment, the above-mentioned method for switching between NFC communication and wireless charging may further include:
[0059] When an external NFC device is detected, a prompt message is displayed in the user interface.
[0060] In order to optimize the display of the user interface and improve the neatness of the user interface, this exemplary embodiment can display prompt information in the user interface when an external NFC device is detected. For example, when the user is using the mobile phone normally and wirelessly charging the external device to be charged, when an external NFC device is detected and there is a need to swipe the card, a prompt information can be displayed in the top notification bar, or a floating window can pop up to display the prompt information, or a prompt information of the floating ball of the charging mode switch can pop up, etc.
[0061] In an exemplary embodiment, in the above step S610, stopping wireless charging in response to a preset instruction may include:
[0062] In response to receiving a second preset operation input by the user for a preset physical control on the main device, wireless charging is stopped.
[0063] Among them, the preset physical control refers to a control on the main device that can execute the stop wireless charging function, such as a power button, a volume up button, or a volume down button. The second preset operation can be a pressing operation on the preset physical control, such as a single pressing operation; a continuous multiple pressing operation, such as pressing twice or three times, or a pressing operation of a preset duration, that is, a long press operation, etc. For preset physical controls that can realize different operation modes, the second preset operation can also be others, for example, the second preset operation can be a touch operation with the preset physical control; or a pressing operation of a preset force for the preset physical control based on the input detected by the pressure sensor; or a floating operation of a preset distance for the preset physical control based on the input detected by the distance sensor, etc., and the present disclosure does not limit this. When the second preset operation for the preset physical control on the main device input by the user is received, the wireless charging can be stopped and the NFC communication function can be turned on.
[0064] In an exemplary embodiment, in the above step S610, stopping wireless charging in response to a preset instruction may include:
[0065] In response to detecting that the moving path of the host device meets a preset condition, wireless charging is stopped.
[0066] In this exemplary embodiment, the preset instruction may also be that the moving path of the main device meets the preset condition. In actual application, the user can control the main device to complete a specific movement, such as holding the mobile phone to draw an "O", "M", "N" shape, etc., and accordingly, a moving path in the shape of "O", "M", "N", etc. will be generated. Therefore, the user's operation instruction can be indirectly represented by the moving path of the main device. When the moving path of the main device meets the preset condition, such as Figure 7 As shown, when the user holds the mobile terminal 710 and moves it, and the moving path is an "N" shape that meets the preset conditions, it is considered that the user intends to stop wireless charging, and then the main device stops wireless charging with the external device to be charged according to the instruction. Among them, the moving path that meets the preset conditions can be personalized according to the actual scene and difficulty requirements. For example, the user can customize which moving path is the moving path that meets the preset conditions, and this disclosure does not make specific restrictions on this.
[0067] In addition, the moving path of the main device meets the preset conditions. In addition to the shape of the moving path meeting the preset path shape, it can also include the amplitude of the moving path, the time to complete the moving path, or the continuity of the completed moving path, etc. One or more of the above conditions can be combined according to actual needs.
[0068] In an exemplary embodiment, in the above step S610, stopping wireless charging in response to a preset instruction includes:
[0069] In response to detecting that the host device is in a first preset posture, wireless charging is stopped.
[0070] In actual applications, in addition to manipulating the main device to change its position and execute a specific moving path, the user can also operate the main device to change its posture, such as placing the mobile phone display upward, placing it horizontally, and tilting the plane of the mobile phone so that it forms an angle range with the horizontal line from small to large, so as to change the posture of the mobile phone. In this exemplary embodiment, the preset instruction can be that the main device is in a first preset posture, and the first preset posture can be a rotation posture of the main device relative to a reference plane or a reference line, such as Figure 8 As shown in the XYZ coordinate space, the horizontal plane is the plane formed by XOY, and the Z axis is the direction perpendicular to the horizontal plane. When the screen of the mobile phone 810 is facing upward and the top is tilted upward, and the angle α between the plane where the mobile phone 810 is located and the horizontal plane is [10°, 40°], it is considered to be in the first preset posture. The specific first preset posture can be customized according to actual needs, and the present disclosure does not make specific limitations on this.
[0071] This exemplary embodiment can configure sensors such as gyroscopes or accelerometers in the main device to detect posture data such as movement, translation speed and angular velocity of the main device, thereby determining posture changes such as movement path, direction, angle, etc. of the main device based on the posture data.
[0072] In an exemplary embodiment, in the above step S610, stopping wireless charging in response to a preset instruction may include:
[0073] In response to detecting that the user is in a second preset posture, wireless charging is stopped.
[0074] The second preset posture refers to a specific posture used to determine whether to stop wireless charging. The specific posture can be a static posture, such as a user's hand gesture or body posture, etc.; the specific posture can also be a dynamic posture change, such as a user's air gesture or action change. The specific specific posture can be customized as needed. For example, when the user is detected to be in a specific posture with five fingers spread out and the palm open, the wireless charging is stopped; or when the user is detected to be in a posture with five fingers spread out, the palm open and sliding upward, or making air gestures such as making a fist, the wireless charging is stopped. The user's posture detection can be achieved by configuring a camera, a UWB (Ultra Wide Band) communication module or mmwave (millimeter wave) technology on the main device, and the present disclosure does not make specific limitations on this.
[0075] In an exemplary embodiment, the method for switching between NFC communication and wireless charging may further include:
[0076] If the antenna is in an idle state, a detection signal is sent to the surrounding environment through the antenna, and an external device to be charged or an external NFC device in the surrounding environment is detected according to the received feedback signal to control the wireless charging function or the NFC communication function.
[0077] The idle state refers to the state where the antenna is not currently performing signal interaction or communication connection, that is, the host device is currently neither wirelessly charging with the external device to be charged nor performing NFC communication with the external NFC device. At this time, the host device can send a detection signal to the surrounding environment through the antenna to determine whether the surrounding environment includes the external device to be charged or the external NFC device to be connected based on the received feedback signal, and control the host device to perform the wireless charging function when receiving the feedback signal from the external device to be charged, or control the host device to perform the NFC communication function when receiving the feedback signal from the external NFC device.
[0078] In an exemplary embodiment, detecting an external device to be charged or an external NFC device in the surrounding environment according to a received feedback signal to control a wireless charging function or an NFC communication function includes:
[0079] If it is determined that the main device is close to the external device to be charged according to the change in the strength of the received feedback signal, the wireless charging function is triggered to start wireless charging with the external device to be charged through the antenna;
[0080] If the main device is determined to be close to the external NFC device based on the change in the strength of the received feedback signal, the NFC communication function is triggered to be turned on.
[0081] This exemplary embodiment can determine whether to execute the wireless charging function or the NFC communication function according to the change in the strength of the received feedback signal. For example, when it is detected that the feedback signal gradually becomes stronger, or the volatility increases, it can be considered that the environment around the main device includes an external device to be charged that needs to be wirelessly charged, or an external NFC device that needs to perform NFC communication.
[0082] In addition, this exemplary embodiment can set different priorities for the NFC communication function and the wireless charging function, for example, the NFC communication function is set higher than the wireless charging function. When the two functions conflict at the same time, the NFC communication function is completed first.
[0083] In an exemplary embodiment, the switching between NFC communication and wireless charging may further include the following steps:
[0084] In the process of wireless charging with the external device to be charged through the antenna, when interacting with the external device to be charged for charging control, receiving an external NFC signal from outside the external device to be charged;
[0085] If it is determined according to the source information of the external NFC signal that an external NFC device in the surrounding environment is detected, a preset instruction is generated.
[0086] When the main device is wirelessly charging with an external device to be charged through an antenna, it receives an external NFC signal in the environment other than the external device to be charged. For example, when a mobile phone is charging with headphones and is about to enter a subway gate, it receives an NFC signal sent by the subway gate. At this time, based on the source information of the external NFC signal, it can be determined that an external NFC device in the surrounding environment is detected, and a preset instruction for stopping wireless charging is generated. Among them, the source information refers to the information of the external NFC signal sending end. According to the source information, it can be determined which device is currently sending the NFC signal to the main device. Based on the source information, the main device can determine that there is an external NFC device requesting to execute the NFC function in the current surrounding environment, and then directly generate a preset instruction for stopping wireless charging. The user is not aware of this process, which can further improve the user's card swiping experience during the charging process.
[0087] In an exemplary embodiment, after the NFC communication with the external NFC device ends, the method for switching between NFC communication and wireless charging may further include:
[0088] If an external device to be charged is detected, the process of wirelessly charging the external device to be charged through the antenna is resumed.
[0089] After the NFC communication between the main device and the external NFC device is completed, for example, after the swiping of the bus card, attendance card or access card is completed and the corresponding functions are realized, if the external device to be charged is still detected, the wireless charging process between the main device and the external device to be charged can be restored. Among them, the detection of the external device to be charged can be that the external device to be charged is in contact with the main device, or the external device to be charged is still within the sensing range of the main device for wireless charging, or the main device recognizes the charging flag of the external device to be charged to determine its need to continue charging, etc. In this exemplary embodiment, the above-mentioned restoration of the wireless charging process between the main device and the external device to be charged does not require the user to bring the external device to be charged close to the charging area of the main device again. On the one hand, it ensures that the external device to be charged is disconnected from wireless charging to resume wireless charging without the user's perception; on the other hand, this exemplary embodiment can ensure the effective charging of the external device to be charged by detecting the external device to be charged and executing the wireless charging recovery process, so as to avoid the failure to charge the external device to be charged in a timely and effective manner due to the user separating the external device to be charged and forgetting to match the main device again.
[0090] Fig. 9 A flowchart of another method for switching between NFC communication and wireless charging in this exemplary embodiment is shown, which may specifically include the following steps:
[0091] Step S910, when the antenna is in an idle state, sending a detection signal to the surrounding environment through the antenna;
[0092] Step S920, detecting whether there is an external device to be charged or an external NFC device approaching in the surrounding environment according to the received feedback signal;
[0093] If no device is detected approaching, return to step S910;
[0094] If it is detected that the main device is close to the external device to be charged, step S930 is executed to trigger the wireless charging function to start wireless charging with the external device to be charged through the antenna;
[0095] If it is detected that the main device is close to the external NFC device, step S940 is executed to trigger the NFC communication function to perform NFC communication with the external NFC device through the antenna; wherein the priority of triggering the NFC communication function is higher than the wireless charging function;
[0096] Step S950, during the process of wireless charging with the external device to be charged through the antenna, determining whether a preset instruction is detected or a trigger is triggered to start the NFC communication function;
[0097] When a preset instruction is detected or the NFC communication function is triggered, step S960 is executed to stop wireless charging; and the process jumps to step S940;
[0098] Step S970, determining whether the NFC communication between the host device and the external NFC device is completed;
[0099] If the NFC communication between the host device and the external NFC device is not completed, the process returns to step S940 and continues to perform NFC communication with the external NFC device through the antenna;
[0100] If the NFC communication between the main device and the external NFC device is completed, step S980 is executed to detect whether the external device to be charged is still in the charging area;
[0101] If the external device to be charged is still in the charging area, step S990 is executed to resume the process of wirelessly charging the external device to be charged through the antenna;
[0102] If the external device to be charged is not in the charging area, return to step S910.
[0103] The exemplary embodiment of the present disclosure also provides a switching device for NFC communication and wireless charging, which is applied to a host device having an antenna, and the antenna is used to support NFC communication function and wireless charging function. Fig.10 As shown, the switching device 1000 for NFC communication and wireless charging may include: a charging stop module 1010, which is used to stop wireless charging in response to a preset instruction during wireless charging with an external device to be charged through an antenna, or to stop wireless charging in response to the triggering of an NFC communication function; and an NFC communication module 1020, which is used to perform NFC communication with an external NFC device through an antenna.
[0104] In an exemplary embodiment, the NFC communication function and the wireless charging function are executed based on the control of the same control chip.
[0105] In an exemplary embodiment, the antenna is one antenna; the control chip is connected to the antenna to support the NFC communication function or the wireless charging function through the antenna.
[0106] In an exemplary embodiment, the antenna includes a first antenna and a second antenna, and the control chip is connected to the first antenna and the second antenna respectively to support the NFC communication function through the first antenna and support the wireless charging function through the second antenna.
[0107] In an exemplary embodiment, the charging stop module includes: a first preset operation detection unit, configured to stop wireless charging in response to detecting a first preset operation for prompt information in the user interface.
[0108] In an exemplary embodiment, the first preset operation includes any one of single-click, double-click, long-press, or sliding operations on the prompt information.
[0109] In an exemplary embodiment, the charging stop module includes: a second preset operation detection unit, configured to stop wireless charging in response to receiving a second preset operation input by a user for a preset physical control on a main device.
[0110] In an exemplary embodiment, the preset physical control includes any one of a power button, a volume up button, or a volume down button.
[0111] In an exemplary embodiment, the second preset operation includes any one of a single pressing operation, a continuous multiple pressing operation, a pressing operation of a preset duration, a pressing operation of a preset force, a touch operation, or a floating operation.
[0112] In an exemplary embodiment, the charging stop module includes: a path and posture detection unit, which is used to stop wireless charging in response to detecting that the moving path of the host device meets a preset condition or detecting that the host device is in a first preset posture.
[0113] In an exemplary embodiment, in response to detecting that the user is in a second preset posture, wireless charging is stopped.
[0114] In an exemplary embodiment, the charging stop module includes: a signal detection unit, which is used to trigger the NFC communication function to stop the wireless charging if an external NFC signal is detected during the wireless charging process.
[0115] In an exemplary embodiment, the signal detection unit is used to trigger the NFC communication function to stop wireless charging if an external NFC signal is detected during the charging gap of wireless charging.
[0116] In an exemplary embodiment, the antenna is a first antenna, and the main device includes a first chip and a second chip; the first chip is connected to the first antenna and is used to perform an NFC communication function or a wireless charging function; the second chip is connected to the third antenna and is used to detect an external NFC signal during wireless charging.
[0117] In an exemplary embodiment, the switching device between NFC communication and wireless charging may also include: a detection signal sending unit, which is used to send a detection signal to the surrounding environment through the antenna if the antenna is in an idle state, and detect an external device to be charged or an external NFC device in the surrounding environment according to the received feedback signal to control the wireless charging function or the NFC communication function.
[0118] In an exemplary embodiment, the detection signal sending unit includes: a first judgment subunit, which is used to trigger the activation of the wireless charging function if it is determined that the main device is close to the external device to be charged based on the change in the strength of the received feedback signal, so as to start wireless charging with the external device to be charged through the antenna; and a second judgment subunit, which is used to trigger the activation of the NFC communication function if it is determined that the main device is close to the external NFC device based on the change in the strength of the received feedback signal.
[0119] In an exemplary embodiment, the switching device for NFC communication and wireless charging also includes: an external NFC signal receiving unit, which is used to receive an external NFC signal from outside the external device to be charged when performing charging control interaction with the external device to be charged during wireless charging with the external device to be charged through the antenna; and a preset instruction generating unit, which is used to generate a preset instruction if it is determined that an external NFC device in the surrounding environment is detected based on the source information of the external NFC signal.
[0120] In an exemplary embodiment, the switching device between NFC communication and wireless charging further includes: a charging recovery unit, which is used to resume the process of wireless charging with the external device to be charged through the antenna if an external device to be charged is detected after the NFC communication with the external NFC device is completed.
[0121] The specific details of each part of the above device have been described in detail in the implementation method part, so they will not be repeated here.
[0122] The exemplary embodiments of the present disclosure further provide a computer-readable storage medium, which can be implemented in the form of a program product, including program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification, for example, to execute Figure 6 or Fig. 9 The program product may be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0123] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory, a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0124] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0125] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0126] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0127] The exemplary embodiments of the present disclosure further provide an electronic device. The electronic device may include a processor and a memory, wherein the memory is used to store executable instructions of the processor, and the processor is configured to execute the above-mentioned switching method between NFC communication and wireless charging by executing the executable instructions.
[0128] Below Fig.11Taking the mobile terminal 1100 in FIG. 1 as an example, the structure of the electronic device is exemplarily described. It should be understood by those skilled in the art that, in addition to the components specifically used for mobile purposes, Fig.11 The construction in can also be applied to fixed type equipment.
[0129] like Fig.11 As shown, the mobile terminal 1100 may specifically include: a processor 1101, a memory 1102, a bus 1103, a mobile communication module 1104, an antenna 1, a wireless communication module 1105, an antenna 2, a display screen 1106, a camera module 1107, an audio module 1108, a power module 1109 and a sensor module 1110.
[0130] Processor 1101 may include one or more processing units, for example: processor 1101 may include AP (Application Processor), modem processor, GPU (Graphics Processing Unit), ISP (Image Signal Processor), controller, encoder, decoder, DSP (Digital Signal Processor), baseband processor and / or NPU (Neural-Network Processing Unit), etc.
[0131] The encoder can encode (i.e. compress) an image or video to reduce the data size for easy storage or transmission. The decoder can decode (i.e. decompress) the encoded data of the image or video to restore the image or video data. The mobile terminal 1100 can support one or more encoders and decoders, for example: image formats such as JPEG (Joint Photographic Experts Group), PNG (Portable Network Graphics), BMP (Bitmap), and video formats such as MPEG (Moving Picture Experts Group) 1, MPEG10, H.1063, H.1064, and HEVC (High Efficiency Video Coding).
[0132] The processor 1101 may be connected to the memory 1102 or other components via a bus 1103 .
[0133] The memory 1102 may be used to store computer executable program codes, which may include instructions. The processor 1101 executes various functional applications and data processing of the mobile terminal 1100 by running the instructions stored in the memory 1102. The memory 1102 may also store application data, such as images, videos, and other files.
[0134] The communication function of the mobile terminal 1100 can be implemented by the mobile communication module 1104, antenna 1, wireless communication module 1105, antenna 2, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 1104 can provide 3G, 4G, 5G and other mobile communication solutions applied to the mobile terminal 1100. The wireless communication module 1105 can provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. applied to the mobile terminal 1100.
[0135] The display screen 1106 is used to implement display functions, such as displaying user interfaces, images, videos, etc. The camera module 1107 is used to implement shooting functions, such as shooting images, videos, etc. The audio module 1108 is used to implement audio functions, such as playing audio, collecting voice, etc. The power module 1109 is used to implement power management functions, such as charging the battery, powering the device, monitoring the battery status, etc. The sensor module 1110 may include one or more sensors for implementing corresponding sensing detection functions. For example, the sensor module 1110 may include an inertial sensor, which is used to detect the motion posture of the mobile terminal 1100 and output inertial sensing data.
[0136] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or implementations combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system". Those skilled in the art will readily think of other implementations of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0137] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for switching between NFC communication and wireless charging, characterized in that: Applied to a main device having an antenna, the antenna is used to support NFC communication function and wireless charging function; the method includes: During the process of wireless charging with the external device to be charged through the antenna, the wireless charging is stopped in response to a preset instruction, or the wireless charging is stopped in response to the triggering of the NFC communication function; The antenna is used to perform NFC communication with an external NFC device.
2. The method according to claim 1, characterized in that: The NFC communication function and the wireless charging function are executed based on the control of the same control chip.
3. The method according to claim 2, characterized in that The antenna is an antenna; the control chip is connected to the antenna to support the NFC communication function or the wireless charging function through the antenna.
4. The method according to claim 2, characterized in that: The antenna includes a first antenna and a second antenna, and the control chip is connected to the first antenna and the second antenna respectively to support the NFC communication function through the first antenna and support the wireless charging function through the second antenna.
5. The method according to claim 1, characterized in that The step of stopping wireless charging in response to a preset instruction comprises: In response to detecting a first preset operation for the prompt information in the user interface, wireless charging is stopped.
6. The method according to claim 5, characterized in that The first preset operation includes any one of single-click, double-click, long-press or slide operation on the prompt information.
7. The method according to claim 1, characterized in that The step of stopping wireless charging in response to a preset instruction comprises: In response to receiving a second preset operation input by a user for a preset physical control on the main device, wireless charging is stopped.
8. The method according to claim 7, characterized in that The preset physical control includes any one of a power button, a volume up button, or a volume down button.
9. The method according to claim 7, characterized in that: The second preset operation includes any one of a single pressing operation, a continuous multiple pressing operation, a pressing operation of a preset duration, a pressing operation of a preset force, a touch operation or a floating operation.
10. The method according to claim 1, characterized in that The step of stopping wireless charging in response to a preset instruction comprises: In response to detecting that the moving path of the main device meets a preset condition or detecting that the main device is in a first preset posture, wireless charging is stopped.
11. The method according to claim 1, characterized in that: The step of stopping wireless charging in response to a preset instruction comprises: In response to detecting that the user is in a second preset posture, wireless charging is stopped.
12. The method according to claim 1, characterized in that The method of starting and stopping wireless charging in response to the triggering of the NFC communication function comprises: If an external NFC signal is detected during the wireless charging process, the NFC communication function is triggered to start and the wireless charging is stopped.
13. The method according to claim 12, characterized in that If an NFC signal is detected during the wireless charging process, the NFC communication function is triggered to start and the wireless charging is stopped, including: If the external NFC signal is detected during the charging gap of the wireless charging, the NFC communication function is triggered to start and the wireless charging is stopped.
14. The method according to claim 12, characterized in that The antenna is a first antenna, and the main device includes a first chip and a second chip; the first chip is connected to the first antenna and is used to perform the NFC communication function or the wireless charging function; the second chip is connected to a third antenna and is used to detect the external NFC signal during the wireless charging process.
15. The method according to claim 1, characterized in that The method further comprises: If the antenna is in an idle state, a detection signal is sent to the surrounding environment through the antenna, and an external device to be charged or an external NFC device in the surrounding environment is detected according to the received feedback signal to control the wireless charging function or the NFC communication function.
16. The method according to claim 15, characterized in that The detecting of an external device to be charged or an external NFC device in the surrounding environment according to the received feedback signal to control the wireless charging function or the NFC communication function includes: If it is determined that the main device is close to the external device to be charged according to the change in the strength of the received feedback signal, the wireless charging function is triggered to start wireless charging with the external device to be charged through the antenna; If it is determined that the main device is close to the external NFC device according to the change in the intensity of the received feedback signal, the NFC communication function is triggered to be turned on.
17. The method according to claim 1, characterized in that The method further comprises: In the process of wirelessly charging the external device to be charged through the antenna, when performing charging control interaction with the external device to be charged, receiving an external NFC signal from outside the external device to be charged; If it is determined according to the source information of the external NFC signal that an external NFC device in the surrounding environment is detected, the preset instruction is generated.
18. The method according to claim 1, characterized in that After the NFC communication with the external NFC device is completed, the method further includes: If the external device to be charged is detected, the process of wirelessly charging the external device to be charged through the antenna is resumed.
19. A switching device for NFC communication and wireless charging, characterized in that: Applicable to a main device having an antenna, the antenna is used to support NFC communication function and wireless charging function; the device includes: A charging stop module, used to stop wireless charging in response to a preset instruction during wireless charging with an external device to be charged through the antenna, or to stop wireless charging in response to the triggering of an NFC communication function; The NFC communication module is used to perform NFC communication with an external NFC device through the antenna.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 18 is implemented.
21. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 18 by executing the executable instructions.
Citation Information
Cited By
Function switching method and device, vehicle, medium and product
CN119975254A
Aerosol generation device, system, control method, and program
WO2026167746A1
