Function switching method and device, vehicle, medium and product
By initializing and switching functions in the wireless charging and NFC card reader integrated module, the problem of switching between wireless charging mode and card reader mode is solved, and efficient and flexible mode switching and independent NFC function are realized, improving user experience and system stability.
Patent Information
- Application Number
- CN202510473017.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
How to switch intelligently between wireless charging mode and card reader mode to ensure the right features are provided at the right time, enhance the user experience and ensure seamless technology integration.
By initializing the module and turning off the NFC radio frequency signal when the vehicle is powered on, the flag status and operation commands are obtained, and the target function (wireless charging function or NFC card detection function) is determined based on this information to switch.
Efficient and flexible mode switching is achieved, ensuring that the module can respond to the needs of vehicles and users in a timely manner, avoiding the problem of burning out NFC cards during wireless charging and interfering with each other.
Smart Images

Figure CN119975254A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a function switching method, device, vehicle, medium and product. Background Art
[0002] As in-vehicle wireless charging modules and digital key systems gradually become the new standards in the automotive industry, the development of automotive digital key technology is becoming more and more mature. This technology is mainly based on three paths: low-power Bluetooth, NearField Communication (NFC) and Ultra Wide Band (UWB). In particular, NFC key technology allows users to easily unlock the door or start the vehicle by bringing their smart devices close to the NFC reader installed on the rearview mirror, door handle or B-pillar. In addition, an NFC reader is also installed in the car, specifically for vehicle starting.
[0003] Considering that the frequency of use of the in-vehicle NFC card reader is low and is limited to starting the vehicle, integrating the wireless charging module and the in-vehicle NFC card reader module into one integrated module can not only simplify the vehicle design but also improve space utilization efficiency.
[0004] However, this integrated module also brings a new challenge: how to intelligently switch between wireless charging mode and card reader mode to ensure the right function is provided at the right time. Solving this problem is crucial to improving the user experience and ensuring seamless integration of technology. Summary of the invention
[0005] The present invention provides a function switching method, device, vehicle, medium and product to realize mode switching of an integrated module.
[0006] According to a first aspect of the present invention, there is provided a function switching method, which is applied to a wireless charging and NFC card reader integrated module, comprising:
[0007] When the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off;
[0008] Get the flag status and operation command;
[0009] According to the flag bit status and the operation command, the target function is determined and switched, and the target function is a wireless charging function or an NFC card inspection function.
[0010] Further, determining the target function and switching it according to the flag bit state and the operation command includes:
[0011] When the flag bit state is the first state symbol, the NFC card detection function is used as the target function;
[0012] When the flag bit state is the second state symbol, the wireless charging function is used as the target function;
[0013] The target function is switched according to the operation command.
[0014] Wherein, when the target function is the NFC card inspection function, switching the target function according to the operation command includes:
[0015] Determine whether the operation command is a charging command, and if so, set the flag bit state to the second state symbol, and return to the step of closing the NFC radio frequency signal;
[0016] If not, the NFC radio frequency signal is turned on and the NFC function corresponding to the operation command is executed.
[0017] Optionally, after executing the NFC function corresponding to the operation command, the method further includes:
[0018] Receive the returned result;
[0019] If the returned result is that the execution is completed or the returned result is not received within a preset time, then returning to the step of closing the NFC radio frequency signal;
[0020] Otherwise, continue to execute the NFC function.
[0021] Further, when the target function is the wireless charging function, switching the target function according to the operation command includes:
[0022] Starting the wireless charging function and taking the operation command as a historical operation command;
[0023] Based on the preset detection cycle, obtain the current operation command;
[0024] According to the current operation command, the flag bit state is adjusted.
[0025] The step of adjusting the flag bit state according to the current operation command includes:
[0026] If the current operation command is an NFC card reading command, the flag bit state is set to the first state symbol, and the process returns to the NFC radio frequency signal closing step;
[0027] Otherwise, the process returns to the step of acquiring the current operation command based on the preset detection period.
[0028] According to a second aspect of the present invention, there is provided a function switching device, which is applied to a wireless charging and NFC card reader integrated module, comprising:
[0029] Initialization module, used to initialize the module and turn off the NFC radio frequency signal when the vehicle is powered on;
[0030] Information acquisition module, used to obtain flag status and operation commands;
[0031] The function switching module is used to determine the target function and switch it according to the flag bit status and the operation command, and the target function is a wireless charging function or an NFC card detection function.
[0032] According to a third aspect of the present invention, there is provided a vehicle, the vehicle comprising:
[0033] Wireless charging and NFC card reader integrated module;
[0034] at least one controller; and
[0035] A memory in communication with the at least one controller; wherein,
[0036] The memory stores a computer program that can be executed by the at least one controller, and the computer program is executed by the at least one controller so that the at least one controller can execute the function switching method described in any embodiment of the present invention.
[0037] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a controller to implement the function switching method described in any embodiment of the present invention when executed.
[0038] According to a fifth aspect of the present invention, an embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a controller, the function switching method of any embodiment of the present invention is implemented.
[0039] The technical solution of the embodiment of the present invention, through application to the integrated module of wireless charging and NFC card reader, includes: when the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off; the flag status and the operation command are obtained; according to the flag status and the operation command, the target function is determined and switched, and the target function is the wireless charging function or the NFC card inspection function. By continuously monitoring the flag status and regularly obtaining the operation command, the target function is jointly determined, and a closed-loop switching can be formed between the card inspection and charging modes. Efficient and flexible mode switching is achieved, ensuring that the module can respond to the needs of the vehicle and the user in a timely manner. The independent operation and efficient response of the NFC function are ensured, avoiding the problem of burning the NFC card during the wireless charging process, and the problem of mutual interference between the wireless charging and NFC functions.
[0040] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 is a flow chart of a function switching method provided according to Embodiment 1 of the present invention;
[0043] Figure 2 is an example flow chart of a function switching method provided according to Embodiment 1 of the present invention;
[0044] Figure 3 is a structural schematic diagram of a function switching device provided according to Embodiment 2 of the present invention;
[0045] Figure 4 Schematic diagram of the structure of a vehicle implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0048] Embodiment 1
[0049] Figure 1 A flow chart of a function switching method is provided for the first embodiment of the present invention. This embodiment is applicable to the function switching of the wireless charging and NFC card reader integrated module. The method is applied to the wireless charging and NFC card reader integrated module and can be executed by a function switching device. The function switching device can be implemented in the form of hardware and / or software. The function switching device can be configured in a vehicle. Figure 1 As shown, the method includes:
[0050] S110: When the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off.
[0051] In this embodiment, the vehicle can be understood as a vehicle that packages wireless charging and NFC card reader into one module, that is, a vehicle that includes a wireless charging and NFC card reader integrated module. The NFC radio frequency signal can be understood as a signal used to support the NFC function.
[0052] Specifically, when the vehicle is charged and powered on, the controller can initialize the wireless charging and NFC card reader integrated module, for example, it can set the flag state to the initial value and turn off the NFC radio frequency signal to ensure that it will not be interfered by the NFC radio frequency signal when entering the wireless charging state.
[0053] S120, obtaining flag status and operation command.
[0054] In this embodiment, the flag state can be understood as the state value of the flag used to characterize the function, for example, the flag of the switching function can be represented by DK_Flag, and the value or symbol under the flag is the flag state. The operation command can be understood as the command used to indicate the current execution.
[0055] Specifically, the controller can read the current flag bit status and obtain the operation command transmitted by the CAN bus.
[0056] S130: Determine the target function and switch it according to the flag status and the operation command, where the target function is the wireless charging function or the NFC card inspection function.
[0057] In this embodiment, the target function can be understood as the function that the current user wants to execute. The wireless charging function can be understood as the function of wirelessly charging the vehicle. The NFC card detection function can be understood as the function for detecting an NFC card.
[0058] Specifically, the processor can determine the target function to be executed currently according to the flag bit status, and switch the target function in combination with the operation command transmitted by the CAN bus, where the target function is the wireless charging function or the NFC card detection function.
[0059] The technical solution of the embodiment of the present invention is applied to the integrated module of wireless charging and NFC card reader through the function switching method, including: when the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off; the flag status and operation command are obtained; according to the flag status and the operation command, the target function is determined and switched, and the target function is the wireless charging function or the NFC card inspection function. By continuously monitoring the flag status and regularly obtaining the operation command, the target function is jointly determined, and a closed-loop switching can be formed between the card inspection and charging modes. Efficient and flexible mode switching is achieved, ensuring that the module can respond to the needs of the vehicle and the user in a timely manner. The independent operation and efficient response of the NFC function are ensured, avoiding the problem of burning the NFC card during the wireless charging process, and the problem of mutual interference between the wireless charging and NFC functions.
[0060] Further, based on the above embodiment, the steps of determining the target function and switching according to the flag bit status and the operation command can be refined as follows:
[0061] When the flag bit state is the first state symbol, the NFC card inspection function is used as the target function; when the flag bit state is the second state symbol, the wireless charging function is used as the target function; the target function is switched according to the operation command.
[0062] In this embodiment, the first status symbol can be understood as a status symbol for indicating the NFC card detection function, for example, the NFC card detection function can be represented by 1. The second status symbol can be understood as a status symbol for indicating the wireless charging function, for example, the wireless charging function can be represented by 0.
[0063] Specifically, the controller can determine the function to be switched based on the value of the flag state. When the flag state is the first state symbol, the controller can use the NFC card detection function as the target function. When the flag state is the second state symbol, the controller can use the wireless charging function as the target function. After determining the target function to be switched, the controller can switch the target function according to the operation command.
[0064] Exemplarily, the flag bit may be represented by DK_Flag. When DK_Flag is equal to 1, it corresponds to the NFC card inspection function; when DK_Flag is equal to 0, it corresponds to the wireless charging function.
[0065] Among them, when the target function is the NFC card inspection function, the target function is switched according to the operation command, including:
[0066] Determine whether the operation command is a charging command. If so, set the flag state to the second state symbol and return to the NFC radio frequency signal closing step; if not, turn on the NFC radio frequency signal and execute the NFC function corresponding to the operation command.
[0067] In this embodiment, the charging command may be understood as a command for starting the wireless charging function, and the NFC function may be understood as a function for responding to an execution command of the NFC.
[0068] Specifically, when the target function is the NFC card detection function, the controller can determine whether the operation command is a charging command, that is, determine whether to switch to the wireless charging function through the operation command. If so, the controller can set the flag state to the second state symbol, return to the step of turning off the NFC radio frequency signal, and continue to execute the subsequent acquisition of the flag state and operation command. If the operation command is not a charging command, the controller can turn on the NFC radio frequency signal and execute the NFC function corresponding to the operation command, such as executing the function of detecting surrounding NFC cards.
[0069] Optionally, after executing the NFC function corresponding to the operation command, the method further includes:
[0070] Receive the returned result; if the returned result is that the execution is completed or the returned result is not received within the preset time, return to the closing step of the NFC radio frequency signal; otherwise, continue to execute the NFC function.
[0071] In this embodiment, the returned result can be understood as a result used to indicate whether the NFC function is executed, for example, it can include completion of execution or failure of execution, etc. The preset duration can be understood as the maximum duration of not detecting an NFC card, for example, it can be 2s.
[0072] Specifically, after executing the NFC function corresponding to the operation command, the execution result will be automatically returned due to the setting of the NFC function, and the controller can receive the feedback return result. When the return result is completed, or the return result is not received within the preset time after executing the NFC function corresponding to the operation command, the controller can return to the NFC radio frequency signal closing step and continue the subsequent steps of obtaining the flag status and the operation command. If the return result is not completed or the preset time is not reached, the current NFC function will continue to be executed.
[0073] Further, based on the above embodiment, when the target function is a wireless charging function, the step of switching the target function according to the operation command may include:
[0074] Start the wireless charging function and use the operation command as the historical operation command; obtain the current operation command based on the preset detection cycle; and adjust the flag bit status according to the current operation command.
[0075] In this embodiment, the historical operation command can be understood as the operation command in the previous preset detection cycle. The preset detection cycle can be understood as the detection cycle for detecting whether there is a new command. The current operation command can be understood as the operation command detected after reaching the preset detection cycle.
[0076] Specifically, when the target function is the wireless charging function, the controller can start the wireless charging function to perform wireless energy transmission, and use the operation command as a historical operation command to facilitate periodic detection and update of the operation command. When the preset detection cycle is reached, the controller can obtain the current operation command and determine whether to change the function according to the current operation command, and determine whether to adjust the flag state.
[0077] Among them, adjusting the flag bit status according to the current operation command includes:
[0078] If the current operation command is an NFC card reading command, the flag bit state is set to the first state symbol, and the process returns to the step of closing the NFC radio frequency signal; otherwise, the process returns to the step of acquiring the current operation command based on the preset detection cycle.
[0079] In this embodiment, the NFC card reading command can be understood as a command for switching to the NFC card checking function.
[0080] Specifically, since the current flag state is the second state symbol, if the current operation command is an NFC card reading command, it indicates that the function needs to be switched, and the controller can set the flag state to the first state symbol, return to the step of closing the NFC radio frequency signal, and re-acquire the flag state and operation command to determine and switch the target function. If the current operation command is not an NFC card reading command, the wireless charging state is maintained, and the controller can return to the step of acquiring the current operation command based on a preset detection cycle, and periodically detect the operation command.
[0081] The technical solution of the embodiment of the present invention, by continuously monitoring the flag state and regularly receiving the operation command, jointly determines the target function through the symbol of the flag state and the operation command, whether in the charging or NFC card detection mode, to ensure that the module can respond to the needs of the vehicle and the user in a timely manner. Under the wireless charging function, the current operation command is still periodically obtained and the flag state is adjusted based on the current operation command to maintain sensitivity to the operation command, which means that the module can quickly switch from the charging mode to the NFC card detection mode to respond to the instructions of the vehicle control unit. Under the NFC card detection function, the next operation is jointly determined by the operation command and the return result, and the return result automatically returns to determine the next operation according to the latest operation command after the timeout or completion of the execution. This double check mechanism not only improves the response speed and accuracy of the module, but also enhances the stability and reliability of the system, providing users with a seamless and intuitive interactive experience. Through the independently working wireless charging unit and NFC control unit, the stability and safety of the system are effectively improved, and the problem of burning the NFC card during the wireless charging process and the mutual interference between the wireless charging and NFC functions is avoided. This design ensures the independent operation and efficient response of the NFC function, further improving the user experience.
[0082] For the sake of illustrative purposes, a specific example may be used to illustrate the present invention. Figure 2
[0083] This is an example flow chart of a function switching method provided in Embodiment 1 of the present invention. Figure 2 As shown, the steps may include:
[0084] S201, power on initialization;
[0085] S202, turn off the NFC radio frequency signal, and obtain the flag status and operation command;
[0086] S203, determine whether the flag bit state is equal to 1; if so, jump to step S208; if not, jump to step S204;
[0087] S204, starting the wireless charging function;
[0088] S205, obtaining the current operation command according to a preset detection cycle;
[0089] S206: Is the current operation command an NFC card reading command? If yes, jump to step S207; if no, jump to step S205;
[0090] S207, set the flag bit state to 1;
[0091] S208: Whether the operation command is a charging command; if so, jump to step S209; if not, jump to step S210;
[0092] S209, set the flag bit state to 0;
[0093] S210, turning on the NFC radio frequency signal and starting the NFC function execution;
[0094] S211, the returned result is that the execution is completed or the returned result is not received within the preset time; if so, jump to step S202; if not, jump to step S210.
[0095] Embodiment 2
[0096] Figure 3 This is a schematic diagram of the structure of a function switching device provided in Embodiment 2 of the present invention. Figure 3 As shown, the device is applied to the wireless charging and NFC card reader integrated module, including: an initialization module 31, an information acquisition module 32 and a function switching module 33. Among them,
[0097] An initialization module 31 is used to initialize the module and turn off the NFC radio frequency signal when the vehicle is powered on;
[0098] An information acquisition module 32, used to acquire flag status and operation commands;
[0099] The function switching module 33 is used to determine and switch the target function according to the flag status and the operation command, and the target function is a wireless charging function or an NFC card detection function.
[0100] The technical solution of the embodiment of the present invention is applied to the wireless charging and NFC card reader integrated module through the function switching method, including: when the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off; the flag bit status and the operation command are obtained; according to the flag bit status and the operation command, the target function is determined and switched, and the target function is a wireless charging function or an NFC card inspection function. By continuously monitoring the flag bit status and regularly obtaining the operation command, the target function is jointly determined, and a closed-loop switching can be formed between the card inspection and charging modes. Efficient and flexible mode switching is achieved, ensuring that the module can respond to the needs of the vehicle and the user in a timely manner. The independent operation and efficient response of the NFC function are ensured, avoiding the problem of burning the NFC card during the wireless charging process, and the problem of mutual interference between the wireless charging and NFC functions.
[0101] Furthermore, the function switching module includes:
[0102] A first determining unit, configured to use the NFC card detection function as a target function when the flag bit state is a first state symbol;
[0103] A second determining unit, configured to use the wireless charging function as the target function when the flag bit state is a second state symbol;
[0104] A function switching unit is used to switch the target function according to the operation command.
[0105] Wherein, when the target function is the NFC card inspection function, the function switching unit is specifically used for:
[0106] Determine whether the operation command is a charging command. If so, set the flag state to the second state symbol and return to the step of closing the NFC radio frequency signal; if not, turn on the NFC radio frequency signal and execute the NFC function corresponding to the operation command.
[0107] Optionally, the function switching module further includes:
[0108] The result determination unit is used to receive a return result after executing the NFC function corresponding to the operation command; if the return result is that the execution is completed or the return result is not received within a preset time, return to the closing step of the NFC radio frequency signal; otherwise, continue to execute the NFC function.
[0109] Further, when the target function is the wireless charging function, the function switching unit includes:
[0110] A function start subunit, used to start the wireless charging function and use the operation command as a historical operation command;
[0111] A command acquisition subunit, used to acquire the current operation command based on a preset detection cycle;
[0112] The adjustment subunit is used to adjust the flag bit state according to the current operation command.
[0113] Wherein, the adjustment subunit is specifically used for:
[0114] If the current operation command is an NFC card reading command, the flag bit state is set to the first state symbol, and the process returns to the NFC radio frequency signal closing step;
[0115] Otherwise, the process returns to the step of acquiring the current operation command based on the preset detection period.
[0116] The function switching device provided in the embodiment of the present invention can execute the function switching method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0117] Embodiment 3
[0118] Figure 4 A schematic diagram of the structure of a vehicle provided in Embodiment 3 of the present invention is shown in FIG. Figure 4 As shown, the vehicle includes a wireless charging and NFC card reader integrated module 40, a controller 41, a memory 42, an input device 43 and an output device 44; the number of the wireless charging and NFC card reader integrated module 40, the number of the controller 41, the number of the memory 42, the number of the input device 43 and the number of the output device 44 can be one or more. Figure 4 In the figure, a wireless charging and NFC card reader integrated module 40, a controller 41, a memory 42, an input device 43 and an output device 44 are taken as an example; the wireless charging and NFC card reader integrated module 40, the controller 41, the memory 42, the input device 43 and the output device 44 can be connected via a bus or other means. Figure 4 The bus connection is taken as an example. The controller refers to the controller of the execution subject in the embodiment of the present invention.
[0119] The wireless charging and NFC card reader integrated module 40 is used to provide wireless charging function and NFC function.
[0120] The memory 42 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the state monitoring method of the vehicle-mounted device in the embodiment of the present invention (for example, the initialization module 31, the information acquisition module 32 and the function switching module 33 in the function switching device). The controller 41 executes various functional applications and data processing of the vehicle by running the software programs, instructions and modules stored in the memory 42, that is, realizes the above-mentioned function switching method.
[0121] The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the memory 42 may further include a memory remotely arranged relative to the controller 41, and these remote memories may be connected to the vehicle via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0122] The input device 43 may be used to receive digital or character information and generate key signal inputs related to vehicle user settings and function controls.
[0123] Output device 44 may include a display device.
[0124] Embodiment 4
[0125] Embodiment 4 of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a function switching method when executed by a computer microcontroller, and is applied to a wireless charging and NFC card reader integrated module, including:
[0126] When the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off;
[0127] Get the flag status and operation command;
[0128] According to the flag bit status and the operation command, the target function is determined and switched, and the target function is a wireless charging function or an NFC card inspection function.
[0129] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided by an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the function switching method provided by any embodiment of the present invention.
[0130] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0131] It is worth noting that in the embodiment of the above-mentioned function switching device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0133] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0134] In one embodiment, the embodiment of the present invention further includes a computer program product, the computer program product includes a computer program, and the computer program implements the function switching method of any embodiment of the present invention when executed by a controller.
[0135] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0136] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0137] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A function switching method, characterized in that: Applied to wireless charging and NFC card reader integrated module, including: When the vehicle is powered on, the module is initialized and the NFC radio frequency signal is turned off; Get the flag status and operation command; According to the flag bit status and the operation command, the target function is determined and switched, and the target function is a wireless charging function or an NFC card inspection function.
2. The method according to claim 1, characterized in that: The determining the target function and switching it according to the flag bit state and the operation command includes: When the flag bit state is the first state symbol, the NFC card detection function is used as the target function; When the flag bit state is the second state symbol, the wireless charging function is used as the target function; The target function is switched according to the operation command.
3. The method according to claim 2, characterized in that When the target function is the NFC card inspection function, switching the target function according to the operation command includes: Determine whether the operation command is a charging command, and if so, set the flag bit state to the second state symbol, and return to the step of closing the NFC radio frequency signal; If not, the NFC radio frequency signal is turned on and the NFC function corresponding to the operation command is executed.
4. The method according to claim 3, characterized in that: After the NFC function corresponding to the operation command is executed, the method further includes: Receive the returned result; If the returned result is that the execution is completed or the returned result is not received within a preset time, then returning to the step of closing the NFC radio frequency signal; Otherwise, continue to execute the NFC function.
5. The method according to claim 2, characterized in that: When the target function is the wireless charging function, switching the target function according to the operation command includes: Starting the wireless charging function and taking the operation command as a historical operation command; Based on the preset detection cycle, obtain the current operation command; According to the current operation command, the flag bit state is adjusted.
6. The method according to claim 5, characterized in that The adjusting the flag bit state according to the current operation command includes: If the current operation command is an NFC card reading command, the flag bit state is set to the first state symbol, and the process returns to the NFC radio frequency signal closing step; Otherwise, the process returns to the step of acquiring the current operation command based on the preset detection period.
7. A function switching device, characterized in that: Applied to wireless charging and NFC card reader integrated module, including: Initialization module, used to initialize the module and turn off the NFC radio frequency signal when the vehicle is powered on; Information acquisition module, used to obtain flag status and operation commands; The function switching module is used to determine the target function and switch it according to the flag bit status and the operation command, and the target function is a wireless charging function or an NFC card detection function.
8. A vehicle, characterized in that: The vehicle includes: a wireless charging and NFC card reader integrated module; at least one controller; and A memory in communication with the at least one controller; wherein, The memory stores a computer program executable by the at least one controller, and the computer program is executed by the at least one controller so that the at least one controller can execute the function switching method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a controller to implement the function switching method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a controller, the computer program implements the function switching method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle-mounted NFC key control method and vehicle-mounted wireless charging device
CN115188103A
Card swiping authentication method, device and equipment of vehicle-mounted mobile phone wireless charger and medium
CN116796769A
Method and device for protecting NFC card key in vehicle-mounted wireless charging process and medium
CN117239872A
Method and device for integrating wireless charging and near field communication, computing equipment and vehicle
CN117674446A
Terminal charging method and device, vehicle, charger and vehicle-mounted controller
CN118074252A
Cited By
Vehicle-mounted NFC service system and method, vehicle and equipment
CN121174124A