CN114116032A - WiFi module hybrid adaptive processing method, device, terminal and medium - Google Patents

WiFi module hybrid adaptive processing method, device, terminal and medium Download PDF

Info

Publication number
CN114116032A
CN114116032A CN202111386776.8A CN202111386776A CN114116032A CN 114116032 A CN114116032 A CN 114116032A CN 202111386776 A CN202111386776 A CN 202111386776A CN 114116032 A CN114116032 A CN 114116032A
Authority
CN
China
Prior art keywords
wifi
wifi module
modules
module
functions
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.)
Pending
Application number
CN202111386776.8A
Other languages
Chinese (zh)
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.)
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN202111386776.8A priority Critical patent/CN114116032A/en
Publication of CN114116032A publication Critical patent/CN114116032A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a WiFi module hybrid adaptive processing method, a WiFi module hybrid adaptive processing device, a terminal and a medium, wherein the method comprises the following steps: acquiring information of all WiFi modules of the current intelligent terminal; analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module; and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules. The invention provides a WiFi module hybrid self-adaptive method, which can enable a system to automatically identify current single or multiple WiFi modules and corresponding functions thereof and load drivers in different modes, thereby improving the operation efficiency and providing convenience for users.

Description

WiFi module hybrid adaptive processing method, device, terminal and medium
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a WiFi module hybrid adaptive processing method and device, an intelligent terminal and a computer readable storage medium.
Background
With the development of science and technology and the continuous improvement of the living standard of people, the use of various intelligent terminals with WiFi modules such as smart television smart phones is more and more popular, and the intelligent terminals become indispensable tools in the life of people.
With the continuous development of the smart television technology, updating iteration has higher requirements on the function and performance of the WiFi module. At present, a plurality of television devices are designed with a plurality of WiFi modules, and a WiFi6 and WiFi5 coexisting design is adopted in the future, the driving loading mode of the plurality of WiFi modules is completely different from that of a single WiFi module, and the existing single WiFi module self-adaptive technology in the prior art cannot meet the existing requirements and cannot adapt to the multi-WiFi driving hybrid self-adaptive technology, so that the intelligent terminal is low in operation efficiency and inconvenient for users to use.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention mainly aims to provide a WiFi module hybrid adaptive processing method, a WiFi module hybrid adaptive processing device, an intelligent terminal and a computer readable storage medium.
In order to achieve the above object, the present invention provides a WiFi module hybrid adaptive processing method, where the method includes:
a WiFi module hybrid adaptive processing method, wherein the method comprises the following steps:
acquiring information of all WiFi modules of the current intelligent terminal;
analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module;
and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules.
The WiFi module hybrid adaptive processing method, wherein the step of sequentially loading the drivers corresponding to the WiFi modules and enabling the corresponding functions further includes:
and when a WIFI signal closing instruction is detected, sequentially unloading the drivers corresponding to the WIFI modules and controlling to close the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
The WiFi module hybrid adaptive processing method, wherein the step of obtaining all WiFi module information of the current intelligent terminal further includes:
presetting a WiFi module drive adaptation table for recording the drives and functions which can be performed by the WiFi modules of different types; and recording the starting sequence and the starting parameters of the WIFI modules of different models.
The WiFi module hybrid adaptive processing method, wherein the step of obtaining all WiFi module information of the current intelligent terminal includes:
and acquiring WiFi module information of all USB, SDIO and PCI interfaces of the current intelligent terminal through a Linux kernel interface.
The WiFi module hybrid adaptive processing method comprises the following steps of analyzing all WiFi module information according to a preset WiFi module drive adaptation table, confirming the drive corresponding to each WiFi module and the functions which can be performed by each WiFi module, and confirming the starting sequence of each WiFi module:
analyzing all WiFi module information of the current intelligent terminal according to a preset WiFi module drive adaptation table, and judging the drive corresponding to each WiFi module and the functions which can be performed;
and confirming the drive and functions which can be performed corresponding to each WiFi module according to the judgment result, and confirming the starting sequence and starting parameters corresponding to each WiFi module.
The WiFi module hybrid adaptive processing method comprises the following steps of detecting the opening of a WIFI signal, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules, wherein the steps comprise:
whether the intelligent terminal turns on a WIFI signal or not is detected,
and when the WIFI signal of the intelligent terminal is detected to be started, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the confirmed drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
The WiFi module hybrid adaptive processing method comprises the steps that WiFi module drive adaptation table entries comprise WIFI module name entries, drive entries and starting parameter entries corresponding to the WIFI modules, and loading sequence entries and unloading sequence entries corresponding to the WIFI modules.
A WiFi module hybrid adaptive processing apparatus, wherein the apparatus comprises:
the device comprises a presetting module, a display module and a control module, wherein the presetting module is used for presetting a WiFi module drive adaptation table and recording the drive corresponding to each WIFI module with different types and functions which can be performed; recording the starting sequence and starting parameters of the WIFI modules of different models;
the WIFI information acquisition module is used for acquiring all the information of the WiFi modules of the current intelligent terminal;
the starting sequence confirming module is used for analyzing all WiFi module information according to a preset WiFi module drive adaptation table, confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module;
the loading control module is used for detecting the opening of a WIFI signal, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the confirmed drivers corresponding to the WIFI modules, the functions which can be performed by the WIFI modules and the starting sequence of the WiFi modules;
and the unloading control module is used for sequentially unloading the drivers corresponding to the WIFI modules and controlling to close the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules when a WIFI signal closing instruction is detected.
An intelligent terminal, wherein the intelligent terminal comprises a memory, a processor and a WiFi module hybrid adaptive processing program stored on the memory and operable on the processor, and the WiFi module hybrid adaptive processing program when executed by the processor implements any one of the steps of the WiFi module hybrid adaptive processing method.
A computer readable storage medium having a WiFi module hybrid adaptive processing program stored thereon, which when executed by a processor implements any one of the steps of the WiFi module hybrid adaptive processing method.
From the above, the present invention provides a WiFi module hybrid adaptive processing method, apparatus, terminal and medium, the method includes: acquiring information of all WiFi modules of the current intelligent terminal; analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module; and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules. The invention provides a WiFi module hybrid self-adaptive method, which can enable a system to automatically identify current single or multiple WiFi modules and corresponding functions thereof and load drivers in different modes, thereby improving the operation efficiency and providing convenience for users.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a WiFi module hybrid adaptive processing method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a WiFi module driver adaptation table of a WiFi module hybrid adaptive processing method according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating another WiFi module hybrid adaptive processing method according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a WiFi module hybrid adaptive processing apparatus according to an embodiment of the present invention.
Fig. 5 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted depending on the context to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
With the development of science and technology and the continuous improvement of the living standard of people, the use of various intelligent terminals with WiFi modules such as smart television smart phones is more and more popular, and the intelligent terminals become indispensable tools in the life of people.
With the continuous development of the smart television technology, updating iteration has higher requirements on the function and performance of the WiFi module. At present, a plurality of television devices are designed with a plurality of WiFi modules, and a WiFi6 and WiFi5 coexisting design is adopted in the future, the driving loading mode of the plurality of WiFi modules is completely different from that of a single WiFi module, and the existing single WiFi module self-adaptive technology in the prior art cannot meet the existing requirements and cannot adapt to the multi-WiFi driving hybrid self-adaptive technology, so that the intelligent terminal is low in operation efficiency and inconvenient for users to use.
Aiming at the existing intelligent equipment of the same platform machine, some WIFI modules are used, and other WIFI modules are used, the self-adaptation of the single WIFI module is existed before, but the mixed self-adaptation of the plurality of WIFI modules in the prior art is not existed, and the method can be compatible with the self-adaptation of single WIFI and multi-WIFI.
In order to solve the problems in the prior art, the scheme of the invention comprises the following steps: acquiring information of all WiFi modules of the current intelligent terminal; analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module; and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules. The invention provides a WiFi module hybrid self-adaptive method, which can enable a system to automatically identify current single or multiple WiFi modules and corresponding functions thereof and load drivers in different modes, thereby improving the operation efficiency and providing convenience for users.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a WiFi module hybrid adaptive processing method, specifically, the method includes the following steps:
step S100, acquiring information of all WiFi modules of the current intelligent terminal;
in the embodiment of the invention, aiming at the smart televisions of the same platform machine, some are provided with a single WiFi module, and some are provided with a plurality of WiFi modules, the invention aims at solving the problem of mixed self-adaption of the plurality of WiFi modules, and can realize self-adaption compatible with the single WiFi module and the plurality of WiFi modules.
Before the specific implementation of the present invention, a WiFi module driver adaptation table needs to be preset, and as shown in fig. 2, a WiFi module driver adaptation table is preset to record drivers and functions that can be performed by WiFi modules of different models; and recording the starting sequence and the starting parameters of the WIFI modules of different models. As shown in fig. 2, the WiFi module driver adaptation table entries include serial numbers 1, 2, 3, 4, 5, and so on, WiFi module name entries such as mt7688, mt7921, rt18812bu, and driver entries and start parameter entries corresponding to the WiFi modules, and loading sequence entries and unloading sequence entries corresponding to the WiFi modules. As shown in fig. 2, for example, the drive name wlan _ mt7688.ko corresponds to no start parameter, the loading order is 1, and further, for example, RT18812bu with serial number 3, the drive name RT188x2bu. ko, the start parameter is rtw _ channel _ plan 0x0c, rtw _ bw _ mode 0x21, rtw _ vht _ enable 2, ifname wlan0, if2name p2p 0;
when the method is implemented specifically, WiFi module information of all USB, SDIO and PCI interfaces of the current intelligent terminal can be acquired through the Linux kernel interface. Namely, the Wi-Fi module information of all USB, SDIO and PCI interfaces on the current intelligent equipment can be acquired through the Linux kernel interface. WiFi module information connected through a USB interface can be acquired, and Wi-Fi module information plugged through an SDIO (secure digital input output) and a PCI interface can be acquired.
Step S200, analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module;
in the embodiment of the present invention, as shown in fig. 2, all WiFi module information of the current intelligent terminal is analyzed according to a preset WiFi module drive adaptation table, and a drive corresponding to each WiFi module and a function that can be performed are determined; and then confirming the drive and the functions which can be performed corresponding to each WiFi module according to the judgment result, and confirming the starting sequence and the starting parameters corresponding to each WiFi module.
In specific implementation, all the WiFi module information of the current intelligent terminal acquired in step S100 may be analyzed, and the function performed by each module is determined according to a driving module adaptation table (as shown in the drawing) preset by the system. For example, as shown in fig. 2, if the currently identified WIFI module is the MT7668 module, the present invention may match the module adaptation table to a single MT7668 module, which needs to have functions of STA, AP, and P2P. Further as currently identified in fig. 2, serial No. 4, are the RTL8812bu module and the MT7668 module, the MT7668 needs to implement STA and AP functions and the RTL8812bu needs to implement P2P functions according to the module adaptation table.
And S300, detecting the WIFI signal to be started, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be performed by the WIFI modules and the starting sequence of the WIFI modules.
According to the method and the device, whether the intelligent terminal starts the WIFI signal or not is detected, and when the intelligent terminal is detected to start the WIFI signal, the drivers corresponding to the WIFI modules are loaded in sequence and the corresponding functions are started according to the drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
For example, as shown in fig. 2, the corresponding drivers are loaded in the order and with the startup parameters described in the table, using the other information of the module adaptation table in fig. 2. When the WIFI module RTL8812BU module and the MT7668 module, which are numbered 4 in fig. 2, coexist, as the RTL8812BU needs to implement the P2P function, the RTL8812BU driver needs to be loaded first, and the additional parameter iface ═ P2P0 is loaded first, and then the MT7668 module driver is loaded normally, so that the dual-module function is guaranteed to be normal.
In a further embodiment of the present invention, after step S300, the method further includes:
and S400, when a WIFI signal closing instruction is detected, sequentially unloading the drivers corresponding to the WIFI modules and controlling to close the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be performed by the WIFI modules and the starting sequence of the WIFI modules.
That is, in the embodiment of the present invention, when the Wi-Fi is turned off, the corresponding module drivers also need to be unloaded in the order described in the table. Referring to the reference number 4 of fig. 2, when the WIFI module RTL8812BU and MT7668 coexist, when turning off Wi-Fi, 1, rt188x2bu.ko is unloaded first, then 2, wlan _ mt7668.ko is unloaded, and then 3, mtprea1loc _ mt7688.ko is unloaded.
The invention is further illustrated in detail by the following specific application examples:
as shown in fig. 3, a WiFi module hybrid adaptive processing method according to an embodiment of the present invention includes the following steps:
step S10, start;
s11, acquiring Wi-Fi module information of all USB, SDIO and PCI interfaces of the current equipment through a Linux kernel interface, and entering S12;
step S12, analyzing the extracted WIFI module information, and judging the functions of each module according to a driving module adaptation table preset by the system; and proceeds to step S13;
as currently identified is the MT7638U module, it can be matched to the single MT7638U module according to the module adaptation table, which needs to have the functions of STA, AP, P2P; as further presently identified are the RTL8822BU module and the MT7638U module, MT7638U needs to implement STA and AP functionality and RTL8822BU needs to implement P2P functionality according to the module adaptation table.
S13, loading corresponding drivers in a special sequence and parameters when the WIFI is turned on;
the invention loads the corresponding driver according to other information of the module adaptation table by the sequence and the starting parameter described in the table. For example, when the RTL8822BU module and the MT7638U module coexist, since the RTL8822BU needs to implement the P2P function, the RTL8822BU driver needs to be loaded first, the additional parameter iface is P2P0, and then the MT7638U module driver is loaded normally, so that the dual module function is ensured to be normal.
And step S14, unloading corresponding drivers according to special sequences and parameters when the WIFI is turned off.
Therefore, the invention provides a Wi-Fi module hybrid self-adaptive method, which can enable a system to automatically identify current single or multiple WiFi modules and corresponding functions thereof, load drivers in different modes, improve the operation efficiency, provide convenience for users, and complete the function of self-adaptation of the single or multiple modules at the same time.
Exemplary device
As shown in fig. 4, corresponding to the WiFi module hybrid adaptive processing method, an embodiment of the present invention further provides a WiFi module hybrid adaptive processing apparatus, where the WiFi module hybrid adaptive processing apparatus includes:
the preset module 610 is used for presetting a WiFi module driver adaptation table and recording drivers and functions which can be performed by WiFi modules of different types; recording the starting sequence and starting parameters of the WIFI modules of different models;
a WIFI information obtaining module 620, configured to obtain information of all WIFI modules of the current intelligent terminal;
a starting sequence confirming module 630, configured to analyze information of all WiFi modules according to a preset WiFi module drive adaptation table, and confirm a drive and a function that can be performed corresponding to each WiFi module and a starting sequence of each WiFi module;
the loading control module 640 is used for detecting that the WIFI signal is turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be performed by the WIFI modules and the starting sequence of the WIFI modules;
and the unloading control module 650 is configured to, when detecting a WIFI signal closing instruction, sequentially unload the drivers corresponding to the WIFI modules and control to close the corresponding functions according to the determined drivers corresponding to the WIFI modules and functions that can be performed by the WIFI modules and the start-up sequence of the WIFI modules.
Specifically, in this embodiment, the specific functions of each module of the WiFi module hybrid adaptive processing apparatus may refer to the corresponding descriptions in the WiFi module hybrid adaptive processing method, which are not described herein again.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 5. The intelligent terminal comprises a processor, a memory, a network interface, a display screen and a WIFI module, wherein the processor, the memory, the network interface and the display screen are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and WiFi module hybrid adaptive handler. The internal memory provides an environment for running the operating system and the WiFi module hybrid adaptive processing program in the nonvolatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. When executed by the processor, the WiFi module hybrid adaptive processing program implements the steps of any of the above-described WiFi module hybrid adaptive processing methods. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the WIFI module comprises a plurality of WIFI modules of different models.
It will be understood by those skilled in the art that the block diagram shown in fig. 5 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
In one embodiment, a smart terminal is provided, where the smart terminal includes a memory, a processor, and a WiFi module hybrid adaptive processing program stored on the memory and executable on the processor, and the WiFi module hybrid adaptive processing program performs the following operations when executed by the processor:
acquiring information of all WiFi modules of the current intelligent terminal;
analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module;
and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules, as described above.
Wherein, still include after the step of loading the drive that corresponds the WIFI module in proper order and enabling corresponding function:
and when a WIFI signal closing instruction is detected, sequentially unloading the drivers corresponding to the WIFI modules and controlling to close the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
Wherein, the step of obtaining all WiFi module information of the current intelligent terminal further includes before:
presetting a WiFi module drive adaptation table for recording the drives and functions which can be performed by the WiFi modules of different types; and recording the starting sequence and the starting parameters of the WIFI modules of different models.
The step of acquiring information of all WiFi modules of the current intelligent terminal comprises the following steps:
and acquiring WiFi module information of all USB, SDIO and PCI interfaces of the current intelligent terminal through a Linux kernel interface.
Wherein, according to the WiFi module drive adaptation table that sets up in advance, analyze all WiFi module information, confirm the drive that each WIFI module corresponds and the function that can do to and the step of the start order of each WiFi module includes:
analyzing all WiFi module information of the current intelligent terminal according to a preset WiFi module drive adaptation table, and judging the drive corresponding to each WiFi module and the functions which can be performed;
and confirming the drive and functions which can be performed corresponding to each WiFi module according to the judgment result, and confirming the starting sequence and starting parameters corresponding to each WiFi module.
The steps of detecting that the WIFI signal is turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done and the starting sequence of the WiFi modules include:
whether the intelligent terminal turns on a WIFI signal or not is detected,
and when the WIFI signal of the intelligent terminal is detected to be started, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the confirmed drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
The WiFi module drive adaptation table record items comprise WIFI module name items, drive items and starting parameter items corresponding to the WIFI modules, and loading sequence items and unloading sequence items corresponding to the WIFI modules.
The embodiment of the present invention further provides a computer-readable storage medium, where a WiFi module hybrid adaptive processing program is stored in the computer-readable storage medium, and when executed by a processor, the WiFi module hybrid adaptive processing program implements the steps of any one of the WiFi module hybrid adaptive processing methods provided in the embodiment of the present invention.
In summary, the present invention provides a WiFi module hybrid adaptive processing method, apparatus, terminal and medium, where the method includes: acquiring information of all WiFi modules of the current intelligent terminal; analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module; and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules. The invention provides a WiFi module hybrid self-adaptive method, which can enable a system to automatically identify current single or multiple WiFi modules and corresponding functions thereof and load drivers in different modes, thereby improving the operation efficiency and providing convenience for users.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical division, and the actual implementation may be implemented by another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the contents contained in the computer-readable storage medium can be increased or decreased as required by legislation and patent practice in the jurisdiction.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A WiFi module hybrid adaptive processing method is characterized by comprising the following steps:
acquiring information of all WiFi modules of the current intelligent terminal;
analyzing all WiFi module information according to a preset WiFi module drive adaptation table, and confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module;
and when the WIFI signal is detected to be turned on, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WiFi modules.
2. The WiFi module hybrid adaptive processing method of claim 1, wherein the step of sequentially loading drivers of corresponding WiFi modules and enabling corresponding functions further comprises:
and when a WIFI signal closing instruction is detected, sequentially unloading the drivers corresponding to the WIFI modules and controlling to close the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
3. The WiFi module hybrid adaptive processing method of claim 1, wherein the step of obtaining all WiFi module information of current smart terminal further comprises:
presetting a WiFi module drive adaptation table for recording the drives and functions which can be performed by the WiFi modules of different types; and recording the starting sequence and the starting parameters of the WIFI modules of different models.
4. The WiFi module hybrid adaptive processing method of claim 1, wherein the step of obtaining all WiFi module information of current smart terminal comprises:
and acquiring WiFi module information of all USB, SDIO and PCI interfaces of the current intelligent terminal through a Linux kernel interface.
5. The WiFi module hybrid adaptive processing method of claim 1, wherein the step of analyzing all WiFi module information according to a preset WiFi module driver adaptation table, and determining drivers and functions that can be performed corresponding to each WiFi module, and a start sequence of each WiFi module includes:
analyzing all WiFi module information of the current intelligent terminal according to a preset WiFi module drive adaptation table, and judging the drive corresponding to each WiFi module and the functions which can be performed;
and confirming the drive and functions which can be performed corresponding to each WiFi module according to the judgment result, and confirming the starting sequence and starting parameters corresponding to each WiFi module.
6. The WiFi module hybrid adaptive processing method of claim 1, wherein the step of detecting the WiFi signal is turned on, sequentially loading the drivers of the corresponding WiFi modules and enabling the corresponding functions according to the determined drivers and functions that the WiFi modules correspond to and the start-up sequence of the WiFi modules comprises:
whether the intelligent terminal turns on a WIFI signal or not is detected,
and when the WIFI signal of the intelligent terminal is detected to be started, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the confirmed drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules.
7. The WiFi module hybrid adaptive processing method of claim 1, wherein the WiFi module driver adaptation table entry includes a WiFi module name entry, a driver entry and a start parameter entry corresponding to a WiFi module, and a loading sequence entry and an unloading sequence entry corresponding to each WiFi module.
8. A WiFi module hybrid adaptive processing apparatus, the apparatus comprising:
the device comprises a presetting module, a display module and a control module, wherein the presetting module is used for presetting a WiFi module drive adaptation table and recording the drive corresponding to each WIFI module with different types and functions which can be performed; recording the starting sequence and starting parameters of the WIFI modules of different models;
the WIFI information acquisition module is used for acquiring all the information of the WiFi modules of the current intelligent terminal;
the starting sequence confirming module is used for analyzing all WiFi module information according to a preset WiFi module drive adaptation table, confirming the drive corresponding to each WiFi module, the functions which can be performed and the starting sequence of each WiFi module;
the loading control module is used for detecting the opening of a WIFI signal, sequentially loading the drivers corresponding to the WIFI modules and starting the corresponding functions according to the confirmed drivers corresponding to the WIFI modules, the functions which can be performed by the WIFI modules and the starting sequence of the WiFi modules;
and the unloading control module is used for sequentially unloading the drivers corresponding to the WIFI modules and controlling to close the corresponding functions according to the determined drivers corresponding to the WIFI modules, the functions which can be done by the WIFI modules and the starting sequence of the WIFI modules when a WIFI signal closing instruction is detected.
9. An intelligent terminal, characterized in that the intelligent terminal comprises a memory, a processor and a WiFi module hybrid adaptive processing program stored on the memory and executable on the processor, wherein the WiFi module hybrid adaptive processing program, when executed by the processor, implements the steps of the WiFi module hybrid adaptive processing method according to any one of claims 1-7.
10. A computer-readable storage medium, having a WiFi module hybrid adaptive processing program stored thereon, which when executed by a processor, implements the steps of the WiFi module hybrid adaptive processing method of any one of claims 1-7.
CN202111386776.8A 2021-11-22 2021-11-22 WiFi module hybrid adaptive processing method, device, terminal and medium Pending CN114116032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111386776.8A CN114116032A (en) 2021-11-22 2021-11-22 WiFi module hybrid adaptive processing method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111386776.8A CN114116032A (en) 2021-11-22 2021-11-22 WiFi module hybrid adaptive processing method, device, terminal and medium

Publications (1)

Publication Number Publication Date
CN114116032A true CN114116032A (en) 2022-03-01

Family

ID=80439356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111386776.8A Pending CN114116032A (en) 2021-11-22 2021-11-22 WiFi module hybrid adaptive processing method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN114116032A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254924A1 (en) * 2008-04-04 2009-10-08 Microsoft Corporation Operating system interfaces for virtual wifi and softap capable drivers
CN101932137A (en) * 2009-06-18 2010-12-29 宏碁股份有限公司 Electronic system with various wireless communication functions and communication module operation method thereof
CN102231780A (en) * 2011-07-19 2011-11-02 宇龙计算机通信科技(深圳)有限公司 Terminal mobile and control method
CN104572173A (en) * 2014-12-02 2015-04-29 惠州Tcl移动通信有限公司 WIFI (Wireless Fidelity) driver loading method based on mobile terminal, WIFI driver loading system based on mobile terminal and mobile terminal
KR20150055308A (en) * 2013-11-13 2015-05-21 삼성전자주식회사 A device having a usb communication hub and method for loading a port or module connected with the usb communication hub upon booting
CN105278993A (en) * 2015-10-27 2016-01-27 深圳市创维软件有限公司 Linux system based drive module upgrading method and apparatus
CN106375401A (en) * 2016-08-30 2017-02-01 全球能源互联网研究院 Electric power multi-mode heterogeneous fusion device supporting multi-stream convergence and communication method
CN110290547A (en) * 2019-06-28 2019-09-27 深圳市元征科技股份有限公司 A kind of WiFi module fault recovery method, system and electronic equipment and storage medium
CN110401954A (en) * 2019-08-06 2019-11-01 北京百佑科技有限公司 Realize the method and Android terminal of double wifi
CN110704111A (en) * 2019-08-27 2020-01-17 深圳市有方科技股份有限公司 WIFI drive loading method and system
CN111200877A (en) * 2020-03-12 2020-05-26 深圳康佳电子科技有限公司 Network connection method, terminal and storage medium
CN112256335A (en) * 2020-09-25 2021-01-22 宇龙计算机通信科技(深圳)有限公司 Drive file loading method and device, storage medium and electronic equipment
CN112261147A (en) * 2020-10-27 2021-01-22 深圳康佳电子科技有限公司 Method, device, terminal and storage medium for implementing high-rate coexisting network mode

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254924A1 (en) * 2008-04-04 2009-10-08 Microsoft Corporation Operating system interfaces for virtual wifi and softap capable drivers
CN101932137A (en) * 2009-06-18 2010-12-29 宏碁股份有限公司 Electronic system with various wireless communication functions and communication module operation method thereof
CN102231780A (en) * 2011-07-19 2011-11-02 宇龙计算机通信科技(深圳)有限公司 Terminal mobile and control method
KR20150055308A (en) * 2013-11-13 2015-05-21 삼성전자주식회사 A device having a usb communication hub and method for loading a port or module connected with the usb communication hub upon booting
CN104572173A (en) * 2014-12-02 2015-04-29 惠州Tcl移动通信有限公司 WIFI (Wireless Fidelity) driver loading method based on mobile terminal, WIFI driver loading system based on mobile terminal and mobile terminal
CN105278993A (en) * 2015-10-27 2016-01-27 深圳市创维软件有限公司 Linux system based drive module upgrading method and apparatus
CN106375401A (en) * 2016-08-30 2017-02-01 全球能源互联网研究院 Electric power multi-mode heterogeneous fusion device supporting multi-stream convergence and communication method
CN110290547A (en) * 2019-06-28 2019-09-27 深圳市元征科技股份有限公司 A kind of WiFi module fault recovery method, system and electronic equipment and storage medium
CN110401954A (en) * 2019-08-06 2019-11-01 北京百佑科技有限公司 Realize the method and Android terminal of double wifi
CN110704111A (en) * 2019-08-27 2020-01-17 深圳市有方科技股份有限公司 WIFI drive loading method and system
CN111200877A (en) * 2020-03-12 2020-05-26 深圳康佳电子科技有限公司 Network connection method, terminal and storage medium
CN112256335A (en) * 2020-09-25 2021-01-22 宇龙计算机通信科技(深圳)有限公司 Drive file loading method and device, storage medium and electronic equipment
CN112261147A (en) * 2020-10-27 2021-01-22 深圳康佳电子科技有限公司 Method, device, terminal and storage medium for implementing high-rate coexisting network mode

Similar Documents

Publication Publication Date Title
US8271048B2 (en) Operation mode switching method for communication system, mobile terminal and display switching method therefor
CN108279947B (en) Method and device for adapting SP installation package of financial self-service equipment
CN109462699B (en) Method for controlling Doze mode of mobile terminal
CN108632533A (en) A kind of control method of camera, mobile terminal and computer readable storage medium
EP4292006A1 (en) Peripheral access control for secondary communication channels in power management integrated circuits
CN112083988A (en) Screen refresh rate control method, mobile terminal and computer readable storage medium
CN110856161A (en) SIM card setting method, terminal and computer storage medium
CN114116032A (en) WiFi module hybrid adaptive processing method, device, terminal and medium
CN112805691A (en) Exception handling method, terminal device and storage medium
CN105592572A (en) Bluetooth connection control method and terminal
CN111679649A (en) Vehicle-mounted terminal starting method and device, terminal equipment and storage medium
CN113747383A (en) Universal method and device for flow of multiple SIM cards
CN114579499A (en) Control method, device, equipment and storage medium of processor communication interface
CN109275124B (en) Mobile terminal Bluetooth protocol stack loading processing method, mobile terminal and storage medium
CN110876139A (en) Method, system, electronic equipment and vehicle for sharing mobile phone card package flow
CN107274589B (en) Access method and system of financial self-service terminal hardware equipment and terminal equipment
CN109982136B (en) Volume adjusting method and device
CN114489866B (en) Data management method and device
US5680626A (en) Method and apparatus for providing only that number of clock pulses necessary to complete a task
CN114070721B (en) Module information determining method, terminal and storage medium
CN111176813B (en) Running mode dynamic switching method and device
CN113055250B (en) Networking communication method, device, terminal equipment and storage medium
CN116506839A (en) Protocol upgrading method, device, equipment, system and storage medium
CN110996374B (en) Wireless network control method, device, equipment and medium
CN113805999B (en) Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination