Movatterモバイル変換


[0]ホーム

URL:


CN113709713B - Mode switching method, device and equipment of WiFi chip - Google Patents

Mode switching method, device and equipment of WiFi chip
Download PDF

Info

Publication number
CN113709713B
CN113709713BCN202111007667.0ACN202111007667ACN113709713BCN 113709713 BCN113709713 BCN 113709713BCN 202111007667 ACN202111007667 ACN 202111007667ACN 113709713 BCN113709713 BCN 113709713B
Authority
CN
China
Prior art keywords
target
mode
wifi
identifier
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111007667.0A
Other languages
Chinese (zh)
Other versions
CN113709713A (en
Inventor
柳春阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Original Assignee
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ziguang Zhanrui Communication Technology Co LtdfiledCriticalBeijing Ziguang Zhanrui Communication Technology Co Ltd
Priority to CN202111007667.0ApriorityCriticalpatent/CN113709713B/en
Publication of CN113709713ApublicationCriticalpatent/CN113709713A/en
Priority to PCT/CN2022/113772prioritypatent/WO2023030058A1/en
Application grantedgrantedCritical
Publication of CN113709713BpublicationCriticalpatent/CN113709713B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the application provides a mode switching method, device and equipment of a WiFi chip, wherein the method comprises the steps of receiving mode switching information sent by a near field communication NFC tag, wherein the mode switching information is used for indicating to switch the mode of the WiFi chip into a target WiFi mode; and acquiring target firmware corresponding to the target identifier, and controlling the WiFi chip to operate the target firmware in the target WiFi mode. The embodiment of the application provides a mode switching method, device and equipment for a WiFi chip, which can be used for simplifying user operation when a user switches the mode of the WiFi chip.

Description

Mode switching method, device and equipment of WiFi chip
Technical Field
The embodiment of the application relates to the technical field of mode switching of WiFi chips, in particular to a mode switching method, device and equipment of a WiFi chip.
Background
A WiFi chip is a chip that can convert wired network signals into WiFi signals.
Currently, wiFi chips have a plurality of operation modes, such as an Access Point (AP) mode, a Station (STA) mode, and a Mesh mode. In the related art, a hardware switch corresponding to each mode is arranged on a WiFi chip, and a user manually controls one hardware switch to be turned on, so that the WiFi chip has a working mode corresponding to the hardware switch.
In the above related art, when the operation mode of the WiFi chip needs to be switched from one mode to another mode, a user is required to manually control a hardware switch corresponding to the other mode to be turned on, which results in complicated operation of the user.
Disclosure of Invention
The embodiment of the application provides a mode switching method, device and equipment of a WiFi chip, which are used for simplifying user operation.
In a first aspect, an embodiment of the present application provides a mode switching method for a WiFi chip, where the mode switching method includes receiving mode switching information sent by a near field communication NFC tag, where the mode switching information is used to instruct to switch a mode of the WiFi chip to a target WiFi mode, obtaining a target identifier of the target WiFi mode from the mode switching information, obtaining target firmware corresponding to the target identifier, and controlling the WiFi chip to operate the target firmware in the target WiFi mode.
In one possible design, obtaining the target firmware corresponding to the target identifier includes judging whether the target identifier is the same as the identifier of the current WiFi mode of the WiFi chip, and if not, obtaining the target firmware corresponding to the target identifier.
In one possible design, obtaining the target firmware corresponding to the target identifier includes judging whether the target WiFi mode is matched with the current operating system, if not, determining the target operating system corresponding to the target WiFi mode, operating the target operating system, and obtaining the target firmware corresponding to the target identifier.
In one possible design, the method further comprises judging whether the target WiFi mode is matched with a host bus of the current WiFi chip, and if not, switching the host bus of the current WiFi chip to a host bus matched with the target WiFi mode.
In one possible design, judging whether the target WiFi mode is matched with the current operating system comprises judging whether at least one mode identifier corresponding to the system identifier of the current operating system comprises the target identifier, if so, the target WiFi mode is matched with the current operating system, and if not, the target WiFi mode is not matched with the current operating system.
In one possible design, the mode switching information comprises encrypted information obtained by encrypting the target identifier, and the target identifier of the target WiFi mode is obtained from the mode switching information, wherein the method comprises the steps of decrypting the encrypted information according to a preset decryption algorithm to obtain the target identifier of the target WiFi mode.
In one possible design, receiving the mode switching information sent by the Near Field Communication (NFC) tag includes controlling the NFC detection chip to be turned on and receiving the mode switching information sent by the NFC tag through the NFC detection chip.
In a second aspect, an embodiment of the present application provides a mode switching device for a WiFi chip, including a receiving module, a first obtaining module, a second obtaining module, and a control module, where,
The receiving module is used for receiving mode switching information sent by the NFC tag, and the mode switching information is used for indicating to switch the mode of the WiFi chip to a target WiFi mode;
The first acquisition module is used for acquiring a target identifier of a target WiFi mode from the mode switching information;
the second acquisition module is used for acquiring target firmware corresponding to the target identifier;
and the control module is used for controlling the WiFi chip to operate the target firmware in the target WiFi mode.
In one possible design, the second obtaining module is specifically configured to determine whether the target identifier is the same as the identifier of the current WiFi mode of the WiFi chip, and if not, obtain the target firmware corresponding to the target identifier.
In one possible design, the second obtaining module is specifically configured to determine whether the target WiFi mode is matched with the current operating system, if not, determine a target operating system corresponding to the target WiFi mode, run the target operating system, and obtain a target firmware corresponding to the target identifier.
In one possible design, the apparatus further comprises a switching module;
And the switching module is used for judging whether the target WiFi mode is matched with the host bus of the current WiFi chip, and if not, switching the host bus of the current WiFi chip into the host bus matched with the target WiFi mode.
In one possible design, the second obtaining module is specifically configured to determine whether at least one mode identifier corresponding to a system identifier of a current operating system includes a target identifier, if so, match a target WiFi mode with the current operating system, and if not, not match the target WiFi mode with the current operating system.
In one possible design, the mode switching information comprises encrypted information obtained by encrypting the target identifier, and the first acquisition module is specifically configured to decrypt the encrypted information according to a preset decryption algorithm to obtain the target identifier of the target WiFi mode.
In one possible design, the receiving module is specifically configured to control the NFC detection chip to be turned on, and receive, through the NFC detection chip, mode switching information sent by the NFC tag.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory causes the processor to perform the mode switching method of the WiFi chip as in any of the first aspects.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored, when executed by a processor, to implement a mode switching method of a WiFi chip as in any one of the first aspects.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements a method for mode switching of a WiFi chip as in any of the first aspects.
The embodiment of the application provides a mode switching method, device and equipment of a WiFi chip, wherein the method comprises the steps of receiving mode switching information sent by a near field communication NFC tag, wherein the mode switching information is used for indicating to switch the mode of the WiFi chip into a target WiFi mode; and acquiring target firmware corresponding to the target identifier, and controlling the WiFi chip to operate the target firmware in the target WiFi mode. In the above process, the NFC tag touches the electronic device, so that the mode switching method of the WiFi chip is executed, thereby realizing the mode switching of the WiFi chip and simplifying the operation of a user.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is an application scenario diagram of a mode switching method of a WiFi chip provided by an embodiment of the present application;
fig. 2 is a flowchart of a method for switching modes of a WiFi chip according to an embodiment of the application;
fig. 3 is a second flowchart of a mode switching method of a WiFi chip according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of a mode switching device of a WiFi chip according to an embodiment of the application;
fig. 5 is a schematic structural diagram II of a mode switching device of a WiFi chip according to the embodiment of the application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. Furthermore, while the present disclosure has been described in terms of an exemplary embodiment or embodiments, it should be understood that each aspect of the disclosure can be practiced separately from the other aspects.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, when the operation mode of the WiFi chip is switched from one mode to another mode, a user is required to manually control a hardware switch corresponding to the other mode to be turned on (or through a serial AT command), thereby complicating the user operation.
In order to simplify the user operation in the process of switching the working mode of the WiFi chip from one mode to another mode, the inventor thinks that a Near Field Communication (NFC) tag is configured for the WiFi chip, mode switching information is written in the NFC tag, and when the NFC tag is close to the WiFi chip, the mode of the WiFi chip can be switched according to the mode switching information in the NFC tag.
Fig. 1 is an application scenario diagram of a mode switching method of a WiFi chip provided by an embodiment of the present application. As shown in fig. 1, the System on Chip (SoC) includes an NFC tag, an NFC detection Chip, and a WiFi Chip. The NFC detection chip and the WiFi chip may be disposed on the SoC.
Optionally, a WiFi chip may be included in the NFC detection chip.
Among them, the SoC is also called a system-on-chip, which is an integrated circuit with a dedicated target, containing the complete system and having the entire contents of embedded software.
When the NFC label is closer to the NFC detection chip, the NFC detection chip can receive the mode switching information, and the SoC can switch the mode of the WiFi chip according to the mode switching information, so that user operation is simplified, and the situation that a user is required to manually control a corresponding hardware switch to be turned on in the process of switching the working mode of the WiFi chip from one mode to the other mode is avoided.
The mode switching method of the WiFi chip provided by the application is described in detail in specific embodiments. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 2 is a flowchart of a mode switching method of a WiFi chip according to an embodiment of the present application. As shown in fig. 2, the method includes:
S201, receiving mode switching information sent by the NFC tag, wherein the mode switching information is used for indicating to switch the mode of the WiFi chip to a target WiFi mode.
The mode switching method of the WiFi chip provided by the embodiment of the application can be applied to various types of electronic equipment including SoC, such as routers, mobile terminals, smart phones, palm (Personal DIGITAL ASSISTANT, PDA for short), handheld equipment with wireless communication function, computing equipment, vehicle-mounted equipment, wearable equipment, televisions, sound equipment, refrigerators and other household appliances. The embodiment of the application does not limit the specific form of the electronic equipment, so long as the electronic equipment is provided with a WiFi chip.
The NFC tag is a tag corresponding to the target WiFi mode.
For example, NFC tags may be specially configured tags for electronic devices.
For example, the NFC tag may also be an NFC module in a mobile phone, where the NFC module is a module implemented in hardware and/or software. When the NFC tag is in the NFC module in the mobile phone, the user can switch information through the custom editing mode.
The mode of the WiFi chip includes, but is not limited to, at least one of an AP mode, a STA mode, a coexistence mode of the AP and the STA, a Mesh mode, a Monitor (MON) mode, an independent basic service set (INDEPENDENT BASIC SERVICE SET, IBSS) mode (Ad-hoc mode), a wireless distribution system (Wireless Distribution System, WDS) mode, a custom mode, and the like. The custom mode may be, for example, sniffer filtered over-the-air packet mode.
The target WiFi mode may be any one of the at least one modes described above.
Optionally, when the NFC tag is a tag specifically configured for the electronic device, if there are multiple modes of the WiFi chip, there may be multiple NFC tags. The target WiFi modes indicated by the NFC tags are different from each other.
S202, acquiring a target identifier of a target WiFi mode from the mode switching information.
Optionally, the mode switching information may include a target identifier of the target WiFi mode, encrypted information obtained by encrypting the target identifier of the target WiFi mode, mapping information corresponding to the target identifier, and preset information.
For example, when the target identifier is included in the mode switching information, the target identifier may be directly acquired from the mode switching information.
For example, when the mode switching information includes encrypted information obtained by encrypting the target identifier, the encrypted information is decrypted according to a preset decryption algorithm to obtain the target identifier of the target WiFi mode.
For example, when the mode switching information includes mapping information corresponding to the target identifier, the mapping information is acquired from the mode switching information, wherein the mapping information indicates the target identifier, the mode identifier corresponding to the mapping information is searched in a pre-stored mapping list, and the mode identifier corresponding to the mapping information is determined as the target identifier of the target WiFi mode. The mapping list comprises a plurality of mapping information and a mode identifier corresponding to each mapping information.
For example, when the mode switching information includes one piece of preset information, the electronic device counts the total number of times of the preset information currently received, searches a mode identifier corresponding to the total number of times in a pre-stored information list, and determines the mode identifier corresponding to the total number of times as a target identifier of the target WiFi mode. The information list comprises a plurality of times and mode identifications corresponding to the times.
It should be noted that, when the mode switching information includes one preset information, if the total number of times is greater than the preset threshold, the electronic device starts to count again from 0. For example, when the modes of the WiFi chip include an AP mode, an STA mode, and a Mesh mode, the target identifier may be an identifier of the AP mode when the preset information is received for the first time, the target identifier may be an identifier of the STA mode when the preset information is received for the second time, and the target identifier may be an identifier of the Mesh mode when the preset information is received for the third time. For example, when the preset threshold is equal to 3, starting from 0, when preset information is received for the first time, the target identifier may be an identifier of an AP mode, when preset information is received for the second time, the target identifier may be an identifier of an STA mode, and when preset information is received for the third time, the target identifier may be an identifier of a Mesh mode, so that WiFi can be cyclically switched among multiple modes.
Alternatively, after the target identifier is acquired, the target identifier may be recorded and stored first.
S203, acquiring target firmware corresponding to the target identifier, and controlling the WiFi chip to operate the target firmware in a target WiFi mode.
Specifically, an operating system in the SoC initializes the WiFi chip, acquires target firmware corresponding to the target identifier, and controls the WiFi chip to operate the target firmware in a target WiFi mode.
Specifically, the target firmware corresponding to the target identifier is obtained, which includes judging whether the target identifier is the same as the identifier of the current WiFi mode of the WiFi chip, and executing S203 if the target identifier is not the same as the identifier of the current WiFi mode of the WiFi chip. Further, if the same, execution of S203 is stopped.
The obtaining the target firmware corresponding to the target identifier may include a boot strap program (BOOTROM) obtaining the target firmware corresponding to the target identifier from a FLASH memory (FLASH), and downloading the target firmware into a random access memory (Random Access Memory, RAM).
The flash memory stores a plurality of firmware corresponding to the identifiers, each firmware has different storage addresses in the flash memory, and the firmware corresponding to the identifiers comprises target firmware corresponding to the target identifier.
Specifically, the electronic device (or SoC) may store in advance a list including a plurality of mode identifiers and storage addresses corresponding to each mode identifier, where the plurality of mode identifiers include target identifiers, and the bootstrap program may search the list according to the target identifiers to obtain the storage addresses corresponding to the target identifiers, and obtain target firmware corresponding to the target identifiers from the storage addresses corresponding to the target identifiers.
It should be noted that, in the present application, when the modes of the WiFi chip are different, the electronic device has different functions. For example, when the electronic device is a device including a high-definition multimedia interface (High Definition Multimedia Interface, HDMI), the mode of the WiFi chip in the device may be switched to the AP mode by the NFC tag, so that the electronic device may also be used as an AP device to transmit a WiFi signal outwards. The mode of the WiFi chip in the device can be switched to the STA mode through the NFC tag, so that the electronic device can be used as the STA device for WIFI multicast video construction.
In the mode switching method of the WiFi chip provided in the embodiment of fig. 2, mode switching information sent by a near field communication NFC tag is received, a target identifier of a target WiFi mode is obtained from the mode switching information, a target firmware corresponding to the target identifier is obtained, and the WiFi chip is controlled to operate the target firmware in the target WiFi mode, so that the WiFi chip has the target WiFi mode. In practical applications, for example, a user holds the NFC tag, so that the NFC tag contacts the electronic device (i.e., the distance between the NFC tag and the electronic device is smaller than or equal to a preset distance), so that the mode switching method of the WiFi chip is performed, thereby implementing mode switching of the WiFi chip, and simplifying operation of the user.
In practical applications, with the development of technology, a single hardware may have two systems (i.e. the number of systems is equal to 2) or multiple systems (the number of systems is greater than 2), for example, USB may also switch between different devices or buses with the switching of systems. The WiFi chip can also switch to different modes along with the system switching.
How to switch the mode of the WiFi chip between different systems is described below in connection with fig. 3.
Fig. 3 is a flowchart two of a mode switching method of a WiFi chip provided by an embodiment of the application. As shown in fig. 3, the method includes:
s301, controlling the NFC detection chip to be started.
When the WiFi chip operates in a certain mode, the NFC detection chip may process the off state (i.e., the power-off state). When the NFC detection chip is in an on state (i.e., an energized state) for a long period of time, the electric quantity of the electronic device is wasted, which results in a reduction in the duration of the electronic device. Therefore, in the application, when the mode of the WiFi chip is required to be switched, the NFC detection chip is controlled to be started, the electric quantity of the electronic equipment can be saved, and the duration of the electronic equipment can be prolonged.
S302, receiving mode switching information sent by the NFC tag through the NFC detection chip. The mode switching information is used for indicating to switch the mode of the WiFi chip to a target WiFi mode.
Specifically, the execution method of S302 is similar to the execution method of S201, and the execution process of S302 is not described here again.
S303, acquiring a target identifier of a target WiFi mode from the mode switching information.
Specifically, the execution method of S303 is the same as the execution method of S202, and the execution process of S303 is not described here again.
S304, judging whether the target WiFi mode is matched with the current operating system.
If not, S305 is executed, otherwise S306 is executed.
Optionally, before S304, judging whether the target identifier is the same as the identifier of the current WiFi mode of the WiFi chip, and if not, executing S304.
Optionally, judging whether the target WiFi mode is matched with the current operating system or not includes judging whether at least one mode identifier corresponding to the system identifier of the current operating system comprises the target identifier or not, if yes, the target WiFi mode is matched with the current operating system, and if not, the target WiFi mode is not matched with the current operating system. The electronic device (or SoC) may store, in advance, system identifiers of a plurality of operating systems and at least one mode identifier corresponding to each system identifier. For example, if at least one mode identifier corresponding to the system identifier of the current operating system includes the target identifier, the target WiFi mode is matched with the current operating system. For example, if at least one mode identifier corresponding to the system identifier of the current operating system does not include the target identifier, the target WiFi mode is not matched with the current operating system.
S305, determining a target operating system corresponding to the target WiFi mode, running the target operating system, acquiring target firmware corresponding to the target identifier, and controlling the WiFi chip to run the target firmware in the target WiFi mode.
Optionally, before, after or during the operation of the target operating system, the method further comprises the steps of judging whether the target WiFi mode is matched with a host bus currently connected with the WiFi chip, and if not, switching the host bus currently connected with the WiFi chip into a host bus matched with the target WiFi mode.
Currently, wiFi chips support a variety of host buses, such as universal serial bus (Universal Serial Bus, USB), secure digital input output (Secure Digital Input and Output, SDIO) bus, universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART) bus, high-speed serial computer expansion bus (PERIPHERAL COMPONENT INTERCONNECT EXPRESS, PCIE), serial peripheral interface (SERIAL PERIPHERAL INTERFACE, SPI) bus, I2C bus, and the like.
Alternatively, a bus identifier may be configured for each host bus, and a mapping relationship between a plurality of bus identifiers and at least one mode identifier corresponding to each bus identifier may be stored in advance. The host bus indicated by the bus identifier is matched with the mode indicated by the mode identifier corresponding to the bus identifier.
Specifically, the identifier of the host bus currently connected with the WiFi chip may also be stored in advance
Further, the identification of the host bus currently connected with the WiFi chip can be obtained, whether at least one mode identification corresponding to the identification of the host bus currently connected with the WiFi chip comprises a target mode of a target WiFi mode or not in the mapping relation is judged, if yes, the target WiFi mode is matched with the host bus currently connected with the WiFi chip, and if not, the target WiFi mode is not matched with the host bus currently connected with the WiFi chip.
According to the method and the device for judging whether the target WiFi mode is matched with the host bus of the WiFi chip currently, if not, the host bus of the WiFi chip currently connected is switched to the host bus matched with the target WiFi mode, and when the throughput of the electronic equipment is different, data communication can be carried out by adopting different host buses, so that the data transmission efficiency in data passing is improved.
S305, acquiring target firmware corresponding to the target identifier, and controlling the WiFi chip to operate the target firmware in a target WiFi mode.
Determining the target operating system corresponding to the WiFi mode may include determining, in at least one mode identifier corresponding to each of system identifiers of the plurality of operating systems, a target system identifier corresponding to a target identifier of the target WiFi mode, and determining the operating system having the target system identifier as a target operating system corresponding to the target WiFi mode.
Running the target operating system may include running the target operating system through a boot system in the electronic device.
Specifically, the method for acquiring the target firmware corresponding to the target identifier and controlling the WiFi chip to operate the target firmware in the target WiFi mode is similar to the method in S203, and will not be described herein.
In the present application, the electronic device may have a plurality of WiFi function device modes. For example, when the mode of the WiFi chip is the AP mode, the target operating system is a router system (openwrt system), and the target firmware may be WiFi AP firmware or firmware corresponding to the WiFi AP and STA coexistence mode, where the electronic device has an AP function device configuration. For example, when the mode of the WiFi chip is the STA mode, the target operating system is mbedos RTOS systems, and the target firmware may be WiFi STA firmware, where the electronic device has an STA function device form.
In the mode switching method of the WiFi chip provided in the embodiment of fig. 3, whether the target WiFi mode is matched with the current operating system is determined, if not, the target operating system corresponding to the target WiFi mode is determined, the target operating system is operated, and the target firmware corresponding to the target identifier is obtained, so that the mode switching method of the WiFi chip provided in the application can be applied to electronic devices with dual systems or multiple systems, the application range of the mode switching method of the WiFi chip is expanded, and the market demand can be better satisfied.
Fig. 4 is a schematic structural diagram of a mode switching device of a WiFi chip according to an embodiment of the application. As shown in fig. 4, the mode switching device 10 includes a receiving module 101, a first acquiring module 102, a second acquiring module 103, and a control module 104, wherein,
The receiving module 101 is configured to receive mode switching information sent by the NFC tag, where the mode switching information is used to instruct to switch a mode of the WiFi chip to a target WiFi mode;
a first obtaining module 102, configured to obtain a target identifier of a target WiFi mode from the mode switching information;
A second obtaining module 103, configured to obtain a target firmware corresponding to the target identifier;
The control module 104 is configured to control the WiFi chip to operate the target firmware in the target WiFi mode.
The mode switching device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Fig. 5 is a schematic diagram of a second configuration of a mode switching device of a WiFi chip according to an embodiment of the application. On the basis of fig. 4, as shown in fig. 5, the mode switching device 10 further comprises a switching module 105, wherein,
And the switching module 105 is used for judging whether the target WiFi mode is matched with the host bus of the current WiFi chip, and if not, switching the host bus of the current WiFi chip into the host bus matched with the target WiFi mode.
The mode switching device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
In one possible design, the second obtaining module 103 is specifically configured to determine whether the target identifier is the same as the identifier of the current WiFi mode of the WiFi chip, and if not, obtain the target firmware corresponding to the target identifier.
In one possible design, the second obtaining module 103 is specifically configured to determine whether the target WiFi mode is matched with the current operating system, and if not, determine the target operating system corresponding to the target WiFi mode, run the target operating system, and obtain the target firmware corresponding to the target identifier.
In one possible design, the second obtaining module 103 is specifically configured to determine whether at least one mode identifier corresponding to a system identifier of a current operating system includes a target identifier, if yes, match the target WiFi mode with the current operating system, and if not, not match the target WiFi mode with the current operating system.
In one possible design, the mode switching information includes encrypted information obtained by encrypting the target identifier, and the first obtaining module 102 is specifically configured to decrypt the encrypted information according to a preset decryption algorithm to obtain the target identifier of the target WiFi mode.
In one possible design, the receiving module 101 is specifically configured to control the NFC detection chip to be turned on, and receive, through the NFC detection chip, mode switching information sent by the NFC tag.
The mode switching device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 20 includes a processor 201 and a memory 202,
The processor 201 and the memory 202 are connected via a bus 203.
In a specific implementation, the processor 201 executes computer-executable instructions stored in the memory 202, so that the processor 201 executes the mode switching method of the WiFi chip as described above.
The specific implementation process of the processor 201 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 6, it should be understood that the Processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may also comprise non-volatile storage NVM, such as disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the mode switching method of the WiFi chip in the method embodiment is realized.
The embodiment of the application also provides a computer program product, which comprises a computer program, and the mode switching method of the WiFi chip in the embodiment of the method is realized when the computer program is executed by a processor.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or 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. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an Application SPECIFIC INTEGRATED Circuits (ASIC). The processor and the readable storage medium may reside as discrete components in a device.
The division of units is merely a logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of implementing the various method embodiments described above may be implemented by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs the steps comprising the method embodiments described above, and the storage medium described above includes various media capable of storing program code, such as ROM, RAM, magnetic or optical disk.
It should be noted that the above embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that the technical solution described in the above embodiments may be modified or some or all of the technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present application.

Claims (13)

CN202111007667.0A2021-08-302021-08-30 Mode switching method, device and equipment of WiFi chipActiveCN113709713B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202111007667.0ACN113709713B (en)2021-08-302021-08-30 Mode switching method, device and equipment of WiFi chip
PCT/CN2022/113772WO2023030058A1 (en)2021-08-302022-08-19Mode switching method, apparatus and device for wifi chip

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111007667.0ACN113709713B (en)2021-08-302021-08-30 Mode switching method, device and equipment of WiFi chip

Publications (2)

Publication NumberPublication Date
CN113709713A CN113709713A (en)2021-11-26
CN113709713Btrue CN113709713B (en)2025-02-28

Family

ID=78657059

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111007667.0AActiveCN113709713B (en)2021-08-302021-08-30 Mode switching method, device and equipment of WiFi chip

Country Status (2)

CountryLink
CN (1)CN113709713B (en)
WO (1)WO2023030058A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113709713B (en)*2021-08-302025-02-28北京紫光展锐通信技术有限公司 Mode switching method, device and equipment of WiFi chip
CN119629658A (en)*2023-09-052025-03-14荣耀终端股份有限公司 A communication method, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113259920A (en)*2021-03-162021-08-13浙江绍兴苏泊尔生活电器有限公司Household appliance product
CN113259921A (en)*2021-03-162021-08-13浙江绍兴苏泊尔生活电器有限公司Household appliance product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101506853B1 (en)*2013-02-042015-03-30모다정보통신 주식회사Wireless Device capable of Remote Control using Wireless Local Area Network and Control Method thereof
CN106255176A (en)*2016-08-042016-12-21深圳键桥通讯技术股份有限公司The method that smart machine is accessed wireless network
CN107480965A (en)*2017-09-072017-12-15阿里巴巴集团控股有限公司Information-pushing method and device under line
CN112468528B (en)*2019-09-062022-03-18比亚迪股份有限公司 A vehicle's dual-channel WiFi implementation method and an in-vehicle infotainment system
CN112578678A (en)*2019-09-292021-03-30广东美的制冷设备有限公司Household appliance control method, device and equipment
CN111258663A (en)*2020-01-162020-06-09深圳市和盈互联科技有限公司Method and device for switching working modes of dual systems and readable storage medium
CN113709713B (en)*2021-08-302025-02-28北京紫光展锐通信技术有限公司 Mode switching method, device and equipment of WiFi chip

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113259920A (en)*2021-03-162021-08-13浙江绍兴苏泊尔生活电器有限公司Household appliance product
CN113259921A (en)*2021-03-162021-08-13浙江绍兴苏泊尔生活电器有限公司Household appliance product

Also Published As

Publication numberPublication date
WO2023030058A1 (en)2023-03-09
CN113709713A (en)2021-11-26

Similar Documents

PublicationPublication DateTitle
CN113709713B (en) Mode switching method, device and equipment of WiFi chip
US9720678B2 (en)Network switching method, version upgrade method, and terminal device
JP5313301B2 (en) Wireless internet access device, SD control chip, and data communication method
CN108781000A (en)Shared charging method, system, mobile terminal, shared charging equipment and server
CN112803961B (en) Electronic device for managing coexistence of multiple communication schemes and operating method thereof
US11888827B2 (en)Secure data transfer apparatus, system, and method
CN104216777A (en)Double-system electronic device and terminal
US20160226280A1 (en)Method and system for charging a battery
US8840031B2 (en)Smart card and a method for operating a smart card
CN111601293A (en)Positioning method and device based on Bluetooth beacon equipment
CN111163469A (en)Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
KR102719962B1 (en)Method for establishing bluetooth communication connection and electronic device thereof
KR102403117B1 (en)Dongle and control method thereof
CN109842515B (en)Method for multi-device network distribution, server and computer storage medium
KR20110023245A (en) USB dongle system supporting wireless networking between terminals through HOS function and its operation method
CN108170211B (en)Camera power-on driving method and electronic terminal
EP2472395A1 (en)Booting from a data card
US9419682B2 (en)Apparatus and method for providing near field communication for mobile device
EP2830000A1 (en)Wireless card reader and method for storing data
CN113220328A (en)Upgrading method and device, computer equipment and storage medium
CN110688138A (en)Multi-split program upgrading method and device, multi-split system equipment and medium
CN111464688B (en)Working mode switching method and device
CN118803654A (en) Communication method, device, system, storage medium, computer program product and vehicle
CN106797228B (en)Electronic device and method for providing communication service
US20120178490A1 (en)Method and devices of communicating physical cell identifier information to mobile stations

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp