Control method, device, vehicle and storage medium of electronic equipment

By controlling the wireless charging module shutdown and the NFC module low-power mode at startup, and adjusting the NFC module mode in combination with wake-up conditions and source type, the problem of high power consumption when integrating wireless charging and NFC modules is solved, extending the battery life of electronic devices and improving reliability.

CN117880946BActive Publication Date: 2025-09-02XIAOMI EV TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410146846.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2025-09-02
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

In the prior art, when the wireless charging module and the NFC module are integrated into the same device, the power consumption of the NFC module is large, resulting in a shorter battery life and reduced reliability of the electronic device.

Method used

When the startup condition is met, the wireless charging module is controlled to be in the off mode and the NFC module is controlled to be in the low power mode; the NFC module is switched to the near field communication mode only when the wake-up condition is met, and the operating mode of the NFC module is adjusted according to the type of wake-up source and the authentication result.

Benefits of technology

By reducing unnecessary power consumption of NFC modules, the battery life of electronic devices is extended, the reliability of NFC modules is improved, the electromagnetic radiation is reduced, and the equipment structure is simplified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117880946B_ABST
    Figure CN117880946B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a control method, device, vehicle and storage medium for an electronic device, and belongs to the fields of wireless charging, near-field communication and vehicle technology. The electronic device includes a wireless charging module and a near-field communication NFC module, and the method includes: if the startup conditions of the electronic device are met, controlling the wireless charging module to be in an off mode and controlling the NFC module to be in a low-power mode; identifying whether the wake-up conditions of the NFC module are met; if the wake-up conditions of the NFC module are met, controlling the NFC module to switch from a low-power mode to a near-field communication mode. Thus, the NFC module is controlled to switch to the near-field communication mode only when the wake-up conditions are met. Compared with the related art in which the NFC module is directly controlled to be in the near-field communication mode when the electronic device is started, this helps to save the power consumption of the NFC module, prolong the battery life of the electronic device, reduce the electromagnetic radiation generated by the NFC module, and the structure of the electronic device is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of wireless charging, near-field communication, and vehicle technology, and in particular to a control method, device, vehicle, and storage medium for an electronic device. Background Art

[0002] Currently, NFC (Near Field Communication) has the advantages of low cost and high security, and has been widely used in mobile payments, access control, electronic tickets, mobile identity verification, and other fields. For example, NFC technology can be used to create digital vehicle keys. In related technologies, to meet the requirements of both wireless charging and near-field communication, wireless charging modules and NFC modules are integrated into the same device, but this leads to the problem of high power consumption by the NFC module. Summary of the Invention

[0003] The present disclosure provides a control method, device, vehicle, and computer-readable storage medium for an electronic device to at least address the problem in related technologies of integrating a wireless charging module and an NFC module into the same device, resulting in high power consumption by the NFC module. The technical solutions of the present disclosure are as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, a method for controlling an electronic device is provided. The electronic device includes a wireless charging module and a near-field communication (NFC) module. The method includes: if a startup condition of the electronic device is met, controlling the wireless charging module to be in an off mode and controlling the NFC module to be in a low-power mode; identifying whether a wake-up condition of the NFC module is met; and if the wake-up condition of the NFC module is met, controlling the NFC module to switch from the low-power mode to the near-field communication mode.

[0005] In one embodiment of the present disclosure, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, it further includes: identifying whether the wake-up source of the NFC module is a rechargeable device; if the wake-up source is a rechargeable device, controlling the NFC module to switch from the near field communication mode to the off mode.

[0006] In one embodiment of the present disclosure, the method further includes: if the wake-up source is a non-rechargeable device, controlling the wireless charging module to remain in the off mode; and controlling the operating mode of the NFC module based on the authentication result of the wake-up source.

[0007] In one embodiment of the present disclosure, controlling the operating mode of the NFC module based on the authentication result of the wake-up source includes: if the authentication result indicates that the wake-up source has passed authentication, controlling the NFC module to switch from near field communication mode to off mode; if the authentication result indicates that the wake-up source has failed authentication, controlling the NFC module to switch from near field communication mode to low power consumption mode, and returning to execute the step of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0008] In one embodiment of the present disclosure, before identifying whether the wake-up source of the NFC module is a rechargeable device, the method further includes: identifying that the wake-up source supports NFC services.

[0009] In one embodiment of the present disclosure, the method further includes: if the wake-up source does not support NFC service, controlling the NFC module to switch from a near field communication mode to an off mode.

[0010] In one embodiment of the present disclosure, after controlling the NFC module to switch from the near field communication mode to the off mode, the method further includes: identifying whether the charging conditions of the wireless charging module are met; if the charging conditions of the wireless charging module are met, controlling the wireless charging module to switch from the off mode to the wireless charging mode; and controlling the wireless charging module to charge the wake-up source.

[0011] In one embodiment of the present disclosure, the method further includes: if the charging condition of the wireless charging module is not met, controlling the wireless charging module to remain in the off mode; controlling the NFC module to switch from the off mode to the low power mode, and returning to execute the steps of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0012] In one embodiment of the present disclosure, the method further includes: identifying whether an abnormality occurs during the charging process of the wake-up source; if an abnormality occurs during the charging process of the wake-up source, controlling the wireless charging module to switch from a wireless charging mode to an off mode; controlling the NFC module to switch from an off mode to a low power consumption mode, and returning to execute the steps of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0013] In one embodiment of the present disclosure, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the method further includes: obtaining an authentication process of the wake-up source based on the category of the wake-up source of the NFC module; and controlling the NFC module to execute the authentication process to obtain an authentication result of the wake-up source.

[0014] In one embodiment of the present disclosure, the method further includes: if the wake-up condition of the NFC module is not met, returning to execute the step of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0015] According to a second aspect of an embodiment of the present disclosure, a control device of an electronic device is provided, the electronic device including a wireless charging module and a near-field communication (NFC) module, the device including: a control module configured to, if a startup condition of the electronic device is met, control the wireless charging module to be in an off mode and control the NFC module to be in a low-power mode; an identification module configured to identify whether a wake-up condition of the NFC module is met; the control module is further configured to, if the wake-up condition of the NFC module is met, control the NFC module to switch from the low-power mode to the near-field communication mode.

[0016] In one embodiment of the present disclosure, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the control module is further configured to perform: identifying whether the wake-up source of the NFC module is a rechargeable device; if the wake-up source is a rechargeable device, controlling the NFC module to switch from the near field communication mode to the off mode.

[0017] In one embodiment of the present disclosure, the control module is further configured to execute: if the wake-up source is a non-rechargeable device, control the wireless charging module to continue to be in the off mode; based on the authentication result of the wake-up source, control the operating mode of the NFC module.

[0018] In one embodiment of the present disclosure, the control module is further configured to execute: if the authentication result indicates that the wake-up source has passed the authentication, control the NFC module to switch from the near field communication mode to the off mode; if the authentication result indicates that the wake-up source has not passed the authentication, control the NFC module to switch from the near field communication mode to the low power consumption mode, and return to execute the identification of whether the wake-up condition of the NFC module is met and its subsequent steps.

[0019] In one embodiment of the present disclosure, before identifying whether the wake-up source of the NFC module is a rechargeable device, the control module is further configured to perform: identifying whether the wake-up source supports NFC services.

[0020] In one embodiment of the present disclosure, the control module is further configured to execute: if the wake-up source does not support NFC service, control the NFC module to switch from the near field communication mode to the off mode.

[0021] In one embodiment of the present disclosure, after controlling the NFC module to switch from the near field communication mode to the off mode, the control module is further configured to perform: identifying whether the charging conditions of the wireless charging module are met; if the charging conditions of the wireless charging module are met, controlling the wireless charging module to switch from the off mode to the wireless charging mode; and controlling the wireless charging module to charge the wake-up source.

[0022] In one embodiment of the present disclosure, the control module is further configured to execute: if the charging condition of the wireless charging module is not met, control the wireless charging module to continue to be in the off mode; control the NFC module to switch from the off mode to the low power mode, and return to execute the steps of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0023] In one embodiment of the present disclosure, the control module is further configured to perform the following steps: identifying whether an abnormality occurs during the charging process of the wake-up source; if an abnormality occurs during the charging process of the wake-up source, controlling the wireless charging module to switch from the wireless charging mode to the off mode; controlling the NFC module to switch from the off mode to the low power consumption mode, and returning to perform the steps of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0024] In one embodiment of the present disclosure, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the control module is further configured to execute: obtaining an authentication process of the wake-up source based on the category of the wake-up source of the NFC module; and controlling the NFC module to execute the authentication process to obtain an authentication result of the wake-up source.

[0025] In one embodiment of the present disclosure, the control module is further configured to execute: if the wake-up condition of the NFC module is not met, return to executing the step of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0026] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the steps of the method described in the first aspect of the embodiment of the present disclosure.

[0027] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method described in the first aspect of the embodiment of the present disclosure are implemented.

[0028] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: the electronic device in this solution integrates a wireless charging module and an NFC module. When the startup conditions are met, the wireless charging module is first controlled to be in the off mode, and the NFC module is controlled to be in the low power consumption mode, so as to avoid the problem that the NFC module cannot operate normally due to the operation of the wireless charging module, thereby improving the reliability of the NFC module. The NFC module is controlled to switch to the near field communication mode only when the wake-up conditions are met. Compared with the related art in which the NFC module is directly controlled to be in the near field communication mode when the electronic device is started, it helps to save the power consumption of the NFC module, extend the battery life of the electronic device, reduce the electromagnetic radiation generated by the NFC module, and the structure of the electronic device is simple.

[0029] 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 disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.

[0031] Figure 1 The figure is a flowchart of a method for controlling an electronic device according to an exemplary embodiment.

[0032] Figure 2 is a flowchart of a method for controlling an electronic device according to another exemplary embodiment.

[0033] Figure 3 is a flowchart of a method for controlling an electronic device according to another exemplary embodiment.

[0034] Figure 4 is a flowchart of a method for controlling an electronic device according to another exemplary embodiment.

[0035] Figure 5 is a flowchart of a method for controlling an electronic device according to another exemplary embodiment.

[0036] Figure 6 is a flowchart of a method for controlling an electronic device according to another exemplary embodiment.

[0037] Figure 7 The figure is a block diagram of a control device of an electronic device according to an exemplary embodiment.

[0038] Figure 8 is a block diagram of a vehicle according to an exemplary embodiment. DETAILED DESCRIPTION

[0039] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0040] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.

[0041] Figure 1 FIG. 1 is a flow chart of a method for controlling an electronic device according to an exemplary embodiment. Figure 1 As shown, the control method of the electronic device according to the embodiment of the present disclosure includes the following steps.

[0042] S101: If the startup conditions of the electronic device are met, the wireless charging module is controlled to be in an off mode, and the NFC module is controlled to be in a low power consumption mode.

[0043] It should be noted that the electronic device control method according to the embodiments of the present disclosure is executed by an electronic device, including mobile phones, laptops, desktop computers, vehicle-mounted terminals (such as vehicle-mounted wireless charging devices), smart home appliances, etc. The electronic device control method according to the embodiments of the present disclosure can be executed by the electronic device control device according to the embodiments of the present disclosure. The electronic device control device according to the embodiments of the present disclosure can be configured in any electronic device to execute the electronic device control method according to the embodiments of the present disclosure.

[0044] In an embodiment of the present disclosure, an electronic device includes a wireless charging module and an NFC (Near Field Communication) module. The wireless charging module and the NFC module are integrated on the same electronic device. The integration method of the wireless charging module and the NFC module can be implemented using any integration method in the relevant technology. There are no excessive restrictions here. For example, the wireless charging module and the NFC module are independent of each other, or there are overlapping components (such as antennas) between the wireless charging module and the NFC module.

[0045] It should be noted that there are not too many restrictions on wireless charging modules and NFC modules. For example, the wireless charging module can use wireless charging methods such as electromagnetic induction, magnetic field resonance, and radio waves to wirelessly charge rechargeable devices (such as mobile phones, tablets, etc.).

[0046] It should be noted that the wireless charging module's off mode means that the wireless charging module does not perform wireless charging and may or may not operate. The low-power mode refers to the NFC module operating at low power consumption and not conducting near-field communication with the outside world. In low-power mode, the NFC module draws less current, for example, less than 0.5mA (milliamperes), consuming less power.

[0047] It should be noted that the startup conditions of the electronic device in the embodiments of the present disclosure may adopt the startup conditions of any electronic device in the related art, and are not limited here. For example, receiving a startup instruction of the electronic device and / or receiving a reset instruction of the electronic device may be used as the startup conditions of the electronic device.

[0048] S102: Identify whether a wake-up condition of the NFC module is met.

[0049] If yes, execute step S103.

[0050] It should be noted that the wake-up conditions for the NFC module in the embodiments of the present disclosure can adopt any of the wake-up conditions for NFC modules in the related art, and are not further limited here. For example, the wake-up conditions for the NFC module can be such that the wake-up source is close to the NFC module and / or the distance between the wake-up source and the NFC module is less than a set threshold. The wake-up source refers to the device that wakes up the NFC module.

[0051] In one embodiment, identifying whether a wake-up condition for the NFC module is met includes controlling an antenna of the NFC module to detect parameters of a signal, and identifying whether the wake-up condition for the NFC module is met based on a change in the signal parameters. It should be noted that the signal parameters are not particularly limited and may include, for example, signal amplitude, phase, power, etc.

[0052] S103, controlling the NFC module to switch from the low power consumption mode to the near field communication mode.

[0053] It should be noted that near-field communication mode refers to the normal operation of the NFC module, in which the NFC module conducts near-field communication with the outside world. In near-field communication mode, the current of the NFC module is relatively high, for example, the current of the NFC module is 20mA. For example, near-field communication mode may include polling mode.

[0054] In one embodiment, after controlling the NFC module to switch from low-power mode to near-field communication mode, the method further includes obtaining an authentication process for the wakeup source based on the type of the wakeup source of the NFC module, controlling the NFC module to execute the authentication process, and obtaining an authentication result of the wakeup source. Thus, the authentication process for the wakeup source can be obtained based on the type of the wakeup source to authenticate the wakeup source.

[0055] It is understandable that different wake-up source categories may correspond to different authentication processes. There are no specific limitations on the wake-up source categories; for example, they may include rechargeable devices (such as NFC phones) and non-rechargeable devices (such as NFC cards). The authentication process is generated based on the NFC protocol. The authentication process in the embodiments of this disclosure may adopt any NFC authentication process in the relevant art. The NFC protocol in the embodiments of this disclosure may adopt any NFC protocol in the relevant art, and there are no specific limitations here.

[0056] In some examples, the method further includes, if the authentication result indicates that the wakeup source is authenticated, controlling the NFC module to receive a vehicle control signal sent by the wakeup source, and controlling the vehicle based on the vehicle control signal. It should be noted that the control signal is not particularly limited and may include, for example, a signal for unlocking or locking vehicle doors, a signal for starting the vehicle, or a signal for activating the vehicle's air conditioning.

[0057] In one embodiment, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the method further includes controlling the NFC module to establish a near field communication connection between itself and the wake-up source.

[0058] In some examples, before controlling the NFC module to establish a near-field communication connection between itself and the wake-up source, the process further includes controlling the NFC module to send a first signal to the wake-up source, controlling the NFC module to receive a second signal sent by the wake-up source, controlling the NFC module to authenticate the wake-up source based on the second signal, obtaining an authentication result of the wake-up source, and identifying that the authentication result indicates that the wake-up source has passed authentication. For example, the NFC module may be controlled to identify whether the second signal meets set rules. If the second signal meets the set rules, the wake-up source is identified as having passed authentication. If the second signal does not meet the set rules, the wake-up source is identified as having failed authentication.

[0059] The control method of the electronic device provided by the embodiment of the present disclosure, if the startup conditions of the electronic device are met, controls the wireless charging module to be in the off mode, controls the NFC module to be in the low power consumption mode, identifies whether the wake-up conditions of the NFC module are met, and controls the NFC module to switch from the low power consumption mode to the near field communication mode if the wake-up conditions of the NFC module are met. Therefore, the electronic device in this solution integrates a wireless charging module and an NFC module. When the startup conditions are met, the wireless charging module is first controlled to be in the off mode, and the NFC module is controlled to be in the low power consumption mode, thereby avoiding the problem that the operation of the wireless charging module causes the NFC module to fail to operate normally, improving the reliability of the NFC module, and only controlling the NFC module to switch to the near field communication mode when the wake-up conditions are met. Compared with the related art of directly controlling the NFC module to be in the near field communication mode when the electronic device is started, it helps to save the power consumption of the NFC module, extend the battery life of the electronic device, reduce the electromagnetic radiation generated by the NFC module, and the structure of the electronic device is simple.

[0060] Figure 2 is a flow chart showing a method for controlling an electronic device according to another exemplary embodiment. Figure 2 As shown, the control method of the electronic device according to the embodiment of the present disclosure includes the following steps.

[0061] S201: If the startup conditions of the electronic device are met, the wireless charging module is controlled to be in an off mode, and the NFC module is controlled to be in a low power consumption mode.

[0062] S202: Identify whether a wake-up condition of the NFC module is met.

[0063] If yes, execute step S203.

[0064] S203: Control the NFC module to switch from the low power consumption mode to the near field communication mode.

[0065] The relevant contents of steps S201-S203 can be found in the above embodiment and will not be repeated here.

[0066] S204: Identify whether the wakeup source of the NFC module is a rechargeable device.

[0067] If yes, execute step S205.

[0068] S205: Control the NFC module to switch from the near field communication mode to the off mode.

[0069] It should be noted that the off mode of the NFC module means that the NFC module stops operating.

[0070] In one embodiment, before controlling the NFC module to switch from the near field communication mode to the off mode, the process further includes authenticating the wake-up source and obtaining an authentication result of the wake-up source. It should be noted that the relevant content of the authentication can be found in the above embodiment and will not be repeated here.

[0071] In one embodiment, before controlling the NFC module to switch from near-field communication mode to off mode, the method further includes controlling the NFC module to receive a vehicle control signal sent by a wake-up source, and controlling the vehicle based on the vehicle control signal. It should be noted that the relevant content of the control signal can be found in the above embodiment and will not be repeated here.

[0072] In one embodiment, before identifying whether the wakeup source of the NFC module is a rechargeable device, the process further includes identifying whether the wakeup source supports NFC services. Thus, only when the wakeup source supports NFC services can the process of identifying whether the wakeup source of the NFC module is a rechargeable device and subsequent steps be performed.

[0073] It is understandable that the wakeup source may or may not support NFC services. It should be noted that identifying whether the wakeup source supports NFC services can be achieved by using any method for identifying whether the wakeup source supports NFC services in related technologies, and no further limitations are given here.

[0074] In some examples, the method further includes controlling the NFC module to send a first signal to the wakeup source, controlling the NFC module to receive a second signal sent by the wakeup source, and controlling the NFC module to identify whether the wakeup source supports NFC services based on the second signal. For example, the NFC module may be controlled to identify whether the second signal complies with a set rule. If the second signal complies with the set rule, the wakeup source is identified as supporting the NFC service; if the second signal does not comply with the set rule, the wakeup source is identified as not supporting the NFC service.

[0075] S206: Identify whether the charging conditions of the wireless charging module are met.

[0076] If yes, execute step S207; if no, execute step S209.

[0077] It should be noted that the charging conditions of the wireless charging module in the embodiments of the present disclosure may adopt the charging conditions of any wireless charging module in the related art, and are not further limited here. For example, the charging conditions of the wireless charging module may include the location of the wake-up source in a set area, and / or the distance between the wake-up source and the wireless charging module being less than a set threshold, and / or the receipt of a third signal sent by the wake-up source. The set area may include the area above the charging plate of the wireless charging module.

[0078] In one embodiment, the charging condition of the wireless charging module is generated based on a wireless charging protocol. The wireless charging protocol in the embodiment of the present disclosure can adopt any wireless charging protocol in the related art, and no further limitations are made here.

[0079] In one embodiment, identifying whether a charging condition of the wireless charging module is met includes controlling the wireless charging module to send a fourth signal to a wake-up source, controlling the wireless charging module to receive a third signal sent by the wake-up source, and controlling the wireless charging module to identify whether the charging condition of the wireless charging module is met based on the third signal. For example, the wireless charging module may be controlled to identify whether the third signal meets a set rule. If the third signal meets the set rule, it is determined that the charging condition of the wireless charging module is met. If the third signal does not meet the set rule, it is determined that the charging condition of the wireless charging module is not met.

[0080] S207, controlling the wireless charging module to switch from the off mode to the wireless charging mode.

[0081] S208: Control the wireless charging module to charge the wake-up source.

[0082] It should be noted that the wireless charging mode refers to the normal operation of the wireless charging module and wireless charging.

[0083] S209, controlling the wireless charging module to remain in the off mode.

[0084] S210, controlling the NFC module to switch from the off mode to the low power mode.

[0085] It should be noted that after step S210, the process may return to step S202 and subsequent steps.

[0086] The control method of the electronic device provided by the embodiment of the present disclosure controls the NFC module to switch to the off mode when the wake-up source is a rechargeable device, thereby avoiding the problem that the operation of the NFC module causes the wireless charging module to fail to operate normally, thereby improving the reliability of wireless charging. In addition, when the charging conditions are met, the wireless charging module is controlled to switch to the wireless charging mode to charge the wake-up source, so that the wake-up source can be charged in time. Alternatively, when the charging conditions are not met, the wireless charging module is controlled to continue to be in the off mode, and the NFC module is controlled to switch to the low power consumption mode, and continues to identify whether the wake-up conditions and subsequent steps are met, thereby improving the reliability of the NFC module.

[0087] Figure 3 is a flow chart showing a method for controlling an electronic device according to another exemplary embodiment. Figure 3 As shown, the control method of the electronic device according to the embodiment of the present disclosure includes the following steps.

[0088] S301: If the startup conditions of the electronic device are met, the wireless charging module is controlled to be in an off mode, and the NFC module is controlled to be in a low power consumption mode.

[0089] S302: Identify whether a wake-up condition of the NFC module is met.

[0090] If yes, execute step S303.

[0091] S303: Control the NFC module to switch from the low power consumption mode to the near field communication mode.

[0092] S304: Identify whether the wakeup source of the NFC module is a rechargeable device.

[0093] If not, execute step S304.

[0094] The relevant contents of steps S301-S304 can be found in the above embodiment and will not be repeated here.

[0095] S305: Control the wireless charging module to remain in the off mode.

[0096] It is understandable that if the wake-up source is a non-rechargeable device and cannot be charged by the wireless charging module, the wireless charging module is controlled to remain in the off mode.

[0097] S306: Control the operating mode of the NFC module based on the authentication result of the wake-up source.

[0098] It is understandable that different authentication results may correspond to different operating modes of the NFC module.

[0099] In one embodiment, controlling the operating mode of the NFC module based on the authentication result of the wakeup source includes determining a target mode of the NFC module based on the authentication result of the wakeup source, and controlling the NFC module to switch from the near field communication mode to the target mode.

[0100] In one embodiment, based on the authentication result of the wake-up source, the operating mode of the NFC module is controlled, including: if the authentication result indicates that the wake-up source is authenticated, i.e., the wake-up source authentication is successful, controlling the NFC module to switch from near-field communication mode to off mode; if the authentication result indicates that the wake-up source is not authenticated, i.e., the wake-up source authentication fails, controlling the NFC module to switch from near-field communication mode to low-power mode, and returning to execute the steps of identifying whether the NFC module's wake-up conditions are met and subsequent steps. Thus, if the wake-up source is authenticated, the NFC module can be controlled to switch to off mode; if the wake-up source is not authenticated, the NFC module can be controlled to switch to low-power mode, and continue to identify whether the wake-up conditions are met and subsequent steps. This helps to save power consumed by the NFC module, extend the battery life of the electronic device, and reduce the electromagnetic radiation generated by the NFC module.

[0101] In some examples, before controlling the NFC module to switch from near-field communication mode to off mode, the process further includes controlling the NFC module to receive a vehicle control signal sent by a wake-up source, and controlling the vehicle based on the vehicle control signal. It should be noted that the details of the control signal can be found in the above embodiments and will not be further described here.

[0102] The electronic device control method provided by the embodiments of the present disclosure controls the wireless charging module to remain in the off mode if the wakeup source is a non-rechargeable device, and controls the operating mode of the NFC module based on the authentication result of the wakeup source. Thus, when the wakeup source is a non-rechargeable device, the wireless charging module can be controlled to remain in the off mode, and the operating mode of the NFC module can be controlled based on the authentication result of the wakeup source, thereby achieving flexible control of the operating mode of the NFC module.

[0103] Figure 4 is a flow chart of a method for controlling an electronic device according to another exemplary embodiment. Figure 4 As shown, the control method of the electronic device according to the embodiment of the present disclosure includes the following steps.

[0104] S401: If the startup conditions of the electronic device are met, the wireless charging module is controlled to be in an off mode, and the NFC module is controlled to be in a low power consumption mode.

[0105] S402: Identify whether a wake-up condition of the NFC module is met.

[0106] If yes, execute step S403.

[0107] S403: Control the NFC module to switch from the low power consumption mode to the near field communication mode.

[0108] S404: Identify whether the wakeup source of the NFC module supports NFC service.

[0109] If not, execute step S405.

[0110] S405: Control the NFC module to switch from the near field communication mode to the off mode.

[0111] It is understandable that if the wake-up source does not support NFC services and the NFC module cannot provide NFC services for the wake-up source, the NFC module is controlled to switch from the near field communication mode to the off mode.

[0112] S406: Identify whether the charging conditions of the wireless charging module are met.

[0113] If yes, execute step S407; if no, execute step S409.

[0114] S407, controlling the wireless charging module to switch from the off mode to the wireless charging mode.

[0115] S408: Control the wireless charging module to charge the wake-up source.

[0116] S409, controlling the wireless charging module to remain in the off mode.

[0117] S410: Control the NFC module to switch from the off mode to the low power mode.

[0118] It should be noted that after step S410, the process may return to step S402 and subsequent steps.

[0119] The relevant contents of steps S401-S410 can be found in the above embodiment and will not be repeated here.

[0120] The control method of the electronic device provided by the embodiment of the present disclosure can directly control the NFC module to switch from near-field communication mode to off mode when the wake-up source does not support NFC service, which helps to save the power consumption of the NFC module, prolong the battery life of the electronic device, and reduce the electromagnetic radiation generated by the NFC module. In addition, it can identify whether the charging conditions are met. When the charging conditions are met, the wireless charging module is controlled to switch to wireless charging mode to charge the wake-up source, and the wake-up source can be charged in time. Alternatively, when the charging conditions are not met, the wireless charging module is controlled to continue to be in off mode, and the NFC module is controlled to switch to low-power mode, and continues to identify whether the wake-up conditions and subsequent steps are met, thereby improving the reliability of the NFC module.

[0121] Based on any of the above embodiments, Figure 5 As shown, after controlling the wireless charging module to charge the wake-up source, the method further includes:

[0122] S501: Identify whether an abnormality occurs during the charging process of the wake-up source.

[0123] In one embodiment, identifying whether an abnormality occurs during the charging process of the wakeup source includes identifying whether a charging interruption occurs at the wakeup source. If a charging interruption occurs at the wakeup source, identifying an abnormality occurs during the charging process of the wakeup source.

[0124] In some examples, the method further includes identifying that charging is interrupted by the wakeup source if the wakeup source is not in a set area and / or if a distance between the wakeup source and the wireless charging module is greater than or equal to a set threshold.

[0125] In one embodiment, identifying whether an abnormality has occurred during the charging process of the wakeup source includes identifying whether a value of a charging parameter of the wakeup source is within a set range. If the value of the charging parameter is not within the set range, identifying an abnormality has occurred during the charging process of the wakeup source. It should be noted that the charging parameters are not particularly limited and may include, for example, charging current, charging voltage, and temperature of the wakeup source.

[0126] S502: If an abnormality occurs during the charging process of the wake-up source, control the wireless charging module to switch from the wireless charging mode to the off mode.

[0127] S503: Control the NFC module to switch from the off mode to the low power mode, and return to execute the identification of whether the wake-up condition of the NFC module is met and subsequent steps.

[0128] Therefore, when an abnormality occurs during the charging process of the wake-up source, the wireless charging module is switched to the off mode, and the NFC module is switched to the low-power mode, and continues to identify whether the wake-up conditions and subsequent steps are met, thereby avoiding the problem that the NFC module cannot operate normally due to the operation of the wireless charging module, thereby improving the reliability of the NFC module.

[0129] Based on any of the above embodiments, the method further includes returning to executing the steps of identifying whether the NFC module wake-up condition is met and subsequent steps if the NFC module wake-up condition is not met. Thus, when the wake-up condition is not met, the method can continue to identify whether the wake-up condition is met and subsequent steps, thereby improving the reliability of the NFC module.

[0130] Figure 6 is a flow chart showing a method for controlling an electronic device according to another exemplary embodiment. Figure 6 As shown, the control method of the electronic device according to the embodiment of the present disclosure includes the following steps.

[0131] S601: If the startup conditions of the electronic device are met, the wireless charging module is controlled to be in an off mode, and the NFC module is controlled to be in a low power consumption mode.

[0132] S602: Identify whether a wake-up condition of the NFC module is met.

[0133] If yes, execute step S603; if no, return to execute step S602 and subsequent steps.

[0134] S603: Control the NFC module to switch from the low power consumption mode to the near field communication mode.

[0135] S604: Identify whether the wakeup source of the NFC module supports NFC service.

[0136] If yes, execute step S605; if no, execute step S612.

[0137] S605: Identify whether the wakeup source is a rechargeable device.

[0138] If yes, execute step S606; if no, execute step S607.

[0139] S606: Control the NFC module to switch from the near field communication mode to the off mode.

[0140] S607: Identify whether the charging conditions of the wireless charging module are met.

[0141] If yes, execute step S608; if no, execute step S610.

[0142] S608: Control the wireless charging module to switch from the off mode to the wireless charging mode.

[0143] S609: Control the wireless charging module to charge the wake-up source.

[0144] S610: Control the wireless charging module to remain in the off mode.

[0145] S611: Control the NFC module to switch from the off mode to the low power mode.

[0146] S612: Control the wireless charging module to remain in the off mode.

[0147] S613: Control the operating mode of the NFC module based on the authentication result of the wake-up source.

[0148] The relevant contents of steps S601-S613 can be found in the above embodiment and will not be repeated here.

[0149] It should be noted that after step S611, the process may return to step S602 and subsequent steps.

[0150] Figure 7 1 is a block diagram of a control device of an electronic device according to an exemplary embodiment. The electronic device includes a wireless charging module and a near field communication NFC module. Figure 7 The control device 100 of the electronic device according to the embodiment of the present disclosure includes: a control module 110 and an identification module 120.

[0151] The control module 110 is configured to, in response to a startup condition of the electronic device being met, control the wireless charging module to be in an off mode and control the NFC module to be in a low power consumption mode;

[0152] The identification module 120 is configured to identify whether a wake-up condition of the NFC module is met;

[0153] The control module 110 is further configured to control the NFC module to switch from the low power consumption mode to the near field communication mode if a wake-up condition of the NFC module is met.

[0154] In one embodiment of the present disclosure, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the control module 110 is further configured to perform: identifying whether the wake-up source of the NFC module is a rechargeable device; if the wake-up source is a rechargeable device, controlling the NFC module to switch from the near field communication mode to the off mode.

[0155] In one embodiment of the present disclosure, the control module 110 is further configured to execute: if the wake-up source is a non-rechargeable device, control the wireless charging module to continue to be in the off mode; based on the authentication result of the wake-up source, control the operating mode of the NFC module.

[0156] In one embodiment of the present disclosure, the control module 110 is further configured to execute: if the authentication result indicates that the wake-up source has passed the authentication, control the NFC module to switch from the near field communication mode to the off mode; if the authentication result indicates that the wake-up source has not passed the authentication, control the NFC module to switch from the near field communication mode to the low power consumption mode, and return to execute the identification of whether the wake-up condition of the NFC module is met and subsequent steps.

[0157] In one embodiment of the present disclosure, before identifying whether the wake-up source of the NFC module is a rechargeable device, the control module 110 is further configured to perform: identifying whether the wake-up source supports NFC services.

[0158] In one embodiment of the present disclosure, the control module 110 is further configured to execute: if the wake-up source does not support NFC service, control the NFC module to switch from the near field communication mode to the off mode.

[0159] In one embodiment of the present disclosure, after controlling the NFC module to switch from the near field communication mode to the off mode, the control module 110 is further configured to perform: identifying whether the charging conditions of the wireless charging module are met; if the charging conditions of the wireless charging module are met, controlling the wireless charging module to switch from the off mode to the wireless charging mode; and controlling the wireless charging module to charge the wake-up source.

[0160] In one embodiment of the present disclosure, the control module 110 is further configured to execute: if the charging condition of the wireless charging module is not met, control the wireless charging module to continue to be in the off mode; control the NFC module to switch from the off mode to the low power mode, and return to execute the steps of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0161] In one embodiment of the present disclosure, the control module 110 is further configured to perform the following steps: identifying whether an abnormality occurs during the charging process of the wake-up source; if an abnormality occurs during the charging process of the wake-up source, controlling the wireless charging module to switch from the wireless charging mode to the off mode; controlling the NFC module to switch from the off mode to the low power mode, and returning to perform the steps of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0162] In one embodiment of the present disclosure, after controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the control module 110 is further configured to execute: obtaining an authentication process of the wake-up source based on the category of the wake-up source of the NFC module; and controlling the NFC module to execute the authentication process to obtain an authentication result of the wake-up source.

[0163] In one embodiment of the present disclosure, the control module 110 is further configured to execute: if the wake-up condition of the NFC module is not met, return to executing the step of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

[0164] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0165] The control device of the electronic device provided by the embodiment of the present disclosure controls the wireless charging module to be in the off mode and the NFC module to be in the low power consumption mode if the startup conditions of the electronic device are met, identifies whether the wake-up conditions of the NFC module are met, and controls the NFC module to switch from the low power consumption mode to the near field communication mode if the wake-up conditions of the NFC module are met. Thus, the electronic device in this solution integrates a wireless charging module and an NFC module. When the startup conditions are met, the wireless charging module is first controlled to be in the off mode, and the NFC module is controlled to be in the low power consumption mode, thereby avoiding the problem that the operation of the wireless charging module causes the NFC module to fail to operate normally, improving the reliability of the NFC module, and only controlling the NFC module to switch to the near field communication mode when the wake-up conditions are met. Compared with the related art that directly controls the NFC module to be in the near field communication mode when the startup conditions are met, this helps to save the power consumption of the NFC module, extend the battery life of the electronic device, reduce the electromagnetic radiation generated by the NFC module, and simplify the structure of the electronic device.

[0166] Figure 8 2 is a block diagram of a vehicle according to an exemplary embodiment. For example, vehicle 200 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or another type of vehicle. Vehicle 200 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.

[0167] Reference Figure 8 Vehicle 200 may include various subsystems, such as an infotainment system 210, a perception system 220, a decision control system 220, a drive system 240, and a computing platform 250. Vehicle 200 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and each component of vehicle 200 may be interconnected via wired or wireless means.

[0168] In some embodiments, the infotainment system 210 may include a communication system, an entertainment system, a navigation system, and the like.

[0169] The perception system 220 may include several sensors for sensing information about the environment surrounding the vehicle 200. For example, the perception system 220 may include a global positioning system (which may be a GPS system, a BeiDou system, or other positioning systems), an inertial measurement unit (IMU), a laser radar, a millimeter-wave radar, an ultrasonic radar, and a camera.

[0170] The decision control system 230 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0171] Drive system 240 may include components that provide power to vehicle 200. In one embodiment, drive system 240 may include an engine, a power source, a transmission system, and wheels. The engine may be an internal combustion engine, an electric motor, an air compression engine, or a combination thereof. The engine is capable of converting energy provided by the power source into mechanical energy.

[0172] Some or all functions of the vehicle 200 are controlled by a computing platform 250. The computing platform 250 may include at least one processor 251 and a memory 252. The processor 251 may execute instructions 253 stored in the memory 252.

[0173] The processor 251 can be any conventional processor, such as a commercially available CPU. The processor can also include a graphics processor (GPU), a field programmable gate array (FPGA), a system on chip (SOC), an application specific integrated circuit (ASIC), or a combination thereof.

[0174] The memory 252 may be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0175] In addition to instructions 253 , memory 252 may also store data, such as road maps, route information, and data on the vehicle's location, direction, speed, etc. The data stored in memory 252 may be used by computing platform 250 .

[0176] In an embodiment of the present disclosure, the processor 251 may execute the instruction 253 to implement all or part of the steps of the electronic device control method provided by the present disclosure.

[0177] In the vehicle of the embodiment of the present disclosure, if the startup conditions of the electronic device are met, the wireless charging module is controlled to be in the off mode, and the NFC module is controlled to be in the low-power mode, and it is identified whether the wake-up conditions of the NFC module are met. If the wake-up conditions of the NFC module are met, the NFC module is controlled to switch from the low-power mode to the near-field communication mode. Therefore, the electronic device in this solution integrates a wireless charging module and an NFC module. When the startup conditions are met, the wireless charging module is first controlled to be in the off mode, and the NFC module is controlled to be in the low-power mode, so as to avoid the problem that the operation of the wireless charging module causes the NFC module to fail to operate normally, thereby improving the reliability of the NFC module. The NFC module is controlled to switch to the near-field communication mode only when the wake-up conditions are met. Compared with the related art of directly controlling the NFC module to be in the near-field communication mode when the electronic device is started, this helps to save the power consumption of the NFC module, prolong the battery life of the electronic device, reduce the electromagnetic radiation generated by the NFC module, and the structure of the electronic device is simple.

[0178] In order to implement the above embodiments, the present disclosure further provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the electronic device control method provided by the present disclosure are implemented.

[0179] Alternatively, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.

[0180] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0181] 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 can 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 controlling an electronic device, characterized in that: The electronic device includes a wireless charging module and a near field communication (NFC) module, and the method includes: If the startup conditions of the electronic device are met, controlling the wireless charging module to be in an off mode and controlling the NFC module to be in a low power consumption mode; Identifying whether a wake-up condition of the NFC module is met; If the wake-up condition of the NFC module is met, the NFC module is controlled to switch from the low power consumption mode to the near field communication mode; wherein, After controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the method further includes: Identify whether the wake-up source of the NFC module is a rechargeable device; If the wake-up source is a rechargeable device, the wake-up source is authenticated to obtain an authentication result of the wake-up source, and the NFC module is controlled to switch from the near field communication mode to the off mode; wherein, The method further comprises: If the wake-up source is a non-rechargeable device, controlling the wireless charging module to remain in the off mode; Controlling an operating mode of the NFC module based on an authentication result of the wake-up source; The controlling the operating mode of the NFC module based on the authentication result of the wake-up source includes: If the authentication result indicates that the wake-up source has passed the authentication, controlling the NFC module to switch from the near field communication mode to the off mode; If the authentication result indicates that the wake-up source fails authentication, the NFC module is controlled to switch from the near field communication mode to the low power consumption mode, and the process of identifying whether the wake-up condition of the NFC module is met and subsequent steps are returned to be executed.

2. The method according to claim 1, characterized in that Before identifying whether the wake-up source of the NFC module is a rechargeable device, the method further includes: It is identified that the wakeup source supports NFC service.

3. The method according to claim 2, characterized in that The method further comprises: If the wake-up source does not support NFC service, the NFC module is controlled to switch from a near field communication mode to an off mode.

4. The method according to claim 1 or 3, characterized in that After controlling the NFC module to switch from the near field communication mode to the off mode, the method further includes: Identifying whether a charging condition of the wireless charging module is met; If the charging condition of the wireless charging module is met, controlling the wireless charging module to switch from the off mode to the wireless charging mode; Controlling the wireless charging module to charge the wake-up source.

5. The method according to claim 4, characterized in that The method further comprises: If the charging condition of the wireless charging module is not met, controlling the wireless charging module to remain in the off mode; The NFC module is controlled to switch from the off mode to the low power mode, and the process of identifying whether the wake-up condition of the NFC module is met and subsequent steps are returned to be executed.

6. The method according to claim 4, characterized in that The method further comprises: Identifying whether an abnormality occurs during the charging process of the wake-up source; If an abnormality occurs during the charging process of the wake-up source, controlling the wireless charging module to switch from the wireless charging mode to the off mode; The NFC module is controlled to switch from the off mode to the low power mode, and the process of identifying whether the wake-up condition of the NFC module is met and subsequent steps are returned to be executed.

7. The method according to any one of claims 1 to 3, characterized in that After controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the method further includes: Based on the category of the wake-up source of the NFC module, obtaining an authentication process of the wake-up source; The NFC module is controlled to execute the authentication process to obtain an authentication result of the wake-up source.

8. The method according to any one of claims 1 to 3, characterized in that The method further comprises: If the wake-up condition of the NFC module is not met, return to executing the step of identifying whether the wake-up condition of the NFC module is met and subsequent steps.

9. A control device for an electronic device, characterized in that: The electronic device includes a wireless charging module and a near field communication (NFC) module, and the device includes: a control module configured to control the wireless charging module to be in an off mode and the NFC module to be in a low power consumption mode if a startup condition of the electronic device is met; an identification module configured to identify whether a wake-up condition of the NFC module is met; The control module is further configured to control the NFC module to switch from the low power consumption mode to the near field communication mode if the wake-up condition of the NFC module is met; wherein, After controlling the NFC module to switch from the low power consumption mode to the near field communication mode, the control module is further configured to execute: Identify whether the wake-up source of the NFC module is a rechargeable device; If the wake-up source is a rechargeable device, the wake-up source is authenticated to obtain an authentication result of the wake-up source, and the NFC module is controlled to switch from the near field communication mode to the off mode; wherein, The control module is further configured to: if the wake-up source is a non-rechargeable device, control the wireless charging module to remain in the off mode; and based on the authentication result of the wake-up source, control the operating mode of the NFC module; If the authentication result indicates that the wake-up source has passed the authentication, controlling the NFC module to switch from the near field communication mode to the off mode; If the authentication result indicates that the wake-up source fails authentication, the NFC module is controlled to switch from the near field communication mode to the low power consumption mode, and the process of identifying whether the wake-up condition of the NFC module is met and subsequent steps are returned to be executed.

10. A vehicle, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: Implement the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Wireless power transmiting apparatus having data communication function

    CN109802471A

  • Automobile wireless charging control method and system and automobile

    CN114013304A