CN113515315A - WIFI chip driver loading method, device, equipment and storage medium - Google Patents

WIFI chip driver loading method, device, equipment and storage medium Download PDF

Info

Publication number
CN113515315A
CN113515315A CN202110754353.0A CN202110754353A CN113515315A CN 113515315 A CN113515315 A CN 113515315A CN 202110754353 A CN202110754353 A CN 202110754353A CN 113515315 A CN113515315 A CN 113515315A
Authority
CN
China
Prior art keywords
wifi chip
chip
wifi
target
driver
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
CN202110754353.0A
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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202110754353.0A priority Critical patent/CN113515315A/en
Publication of CN113515315A publication Critical patent/CN113515315A/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/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a WIFI chip driver loading method, a WIFI chip driver loading device, WIFI chip driver loading equipment and a WIFI chip driver loading storage medium, wherein the WIFI chip driver loading method comprises the following steps: acquiring chip parameters of a currently accessed WIFI chip; searching whether a corresponding target WIFI chip driving program exists according to the chip parameters; when a target WIFI chip driving program exists, establishing connection with the WIFI chip according to the target WIFI chip driving program; when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information; and when the performance test information meets the preset conditions, judging that the target WIFI chip driver is loaded completely. The technical problem that in the prior art, when the WIFI chip is maintained, a WIFI chip driving program matched with the WIFI chip needs to be prepared in advance, but the WIFI chip is various, so that the maintenance period is long is solved, and the user experience is improved while the maintenance efficiency of the WIFI chip is improved.

Description

WIFI chip driver loading method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of chip drivers, in particular to a WIFI chip driver loading method, device, equipment and storage medium.
Background
Along with the popularization of consumer electronics, intelligent products have gone into thousands of households, wherein important performance includes the popularization of internet and the interconnection of everything, the development of intelligent products is not separated from the continuous development of WIFI technology, WIFI has become the most popular wireless transmission technology in the current society, WIFI chips have become the standard configuration of intelligent products, but there are many manufacturers producing WIFI chips, and the same WIFI chip manufacturer has different model products, although the hardware interface can be unified in the early stage of design, when the WIFI chips are maintained or replaced in the later stage, the matched driving program needs to be configured aiming at different WIFI chips.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a WIFI chip driver loading method, a WIFI chip driver loading device, WIFI chip driver loading equipment and a WIFI chip driver storage medium, and aims to solve the technical problem that in the prior art, the WIFI chip is low in maintenance efficiency.
In order to achieve the above object, the present invention provides a WIFI chip driver loading method, including the following steps:
acquiring chip parameters of a currently accessed WIFI chip;
searching whether a corresponding target WIFI chip driving program exists according to the chip parameters;
when the target WIFI chip driver program exists, establishing connection with the WIFI chip according to the target WIFI chip driver program;
when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information;
and when the performance test information meets a preset condition, judging that the target WIFI chip driver is loaded completely.
Optionally, the searching whether a corresponding target WIFI chip driver exists according to the chip parameter includes:
reading a chip identification number of the WIFI chip from the chip parameter, and searching whether a target WIFI chip driving program exists in a local WIFI chip driving program library according to the chip identification number;
when the target WIFI chip driving program does not exist, updating a local WIFI chip driving program library according to the chip identification number;
and searching whether a target WIFI chip driving program exists in the updated local WIFI chip driving program library according to the chip identification number.
Optionally, when the target WIFI chip driver exists, establishing a connection with the WIFI chip according to the target WIFI chip driver, including:
when the target WIFI chip driver program exists, loading the target WIFI chip driver program to generate a device node;
and acquiring a data transmission protocol of the WIFI chip, and establishing connection with the WIFI chip according to the equipment node and the data transmission protocol.
Optionally, when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information, including:
when the connection is established, loading a target WIFI signal processing system file according to a preset loading instruction;
and when the target WIFI signal processing system file is loaded, carrying out WIFI performance test and network connectivity test on the WIFI chip according to a preset test instruction to obtain performance test information.
Optionally, the updating the local WIFI chip driver library according to the chip identification number includes:
acquiring a WIFI chip driving program matched with the WIFI chip according to the chip identification number;
and adding the WIFI chip driving program to the local WIFI chip driving program library to complete the updating of the local WIFI chip driving program library.
Optionally, when the connection is established, loading the target WIFI signal processing system file according to a preset loading instruction includes:
when the connection is established, searching a target WIFI signal processing system file in a file library according to a preset loading instruction;
and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the file library.
Optionally, after the step of searching for the target WIFI signal processing system file in the file library according to the preset loading instruction when the connection is established, the method further includes:
when the target WIFI signal processing system file is not found in the file library, updating the file library according to the preset loading instruction;
and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the updated file library.
In addition, in order to achieve the above object, the present invention further provides a WIFI chip driver loading device, where the WIFI chip driver loading device includes:
the acquisition module is used for acquiring the chip parameters of the currently accessed WIFI chip;
the searching module is used for searching whether a corresponding target WIFI chip driving program exists according to the chip parameters;
the connection establishing module is used for establishing connection with the WIFI chip according to the target WIFI chip driver program when the target WIFI chip driver program exists;
the performance testing module is used for carrying out performance testing on the WIFI chip according to a preset instruction when the connection is established, and obtaining performance testing information;
and the judging module is used for judging that the target WIFI chip driver is loaded completely when the performance test information meets the preset conditions.
In addition, to achieve the above object, the present invention further provides a WIFI chip driver loading device, where the WIFI chip driver loading device includes: the WIFI chip driver loading program is configured to implement the steps of the WIFI chip driver loading method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a WIFI chip driver loader is stored on the storage medium, and when being executed by a processor, the WIFI chip driver loader implements the steps of the WIFI chip driver loading method described above.
The method comprises the steps of obtaining chip parameters of a currently accessed WIFI chip; searching whether a corresponding target WIFI chip driving program exists according to the chip parameters; when the target WIFI chip driver program exists, establishing connection with the WIFI chip according to the target WIFI chip driver program; when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information; and when the performance test information meets a preset condition, judging that the target WIFI chip driver is loaded completely. According to the WIFI chip maintenance method and device, the corresponding target WIFI chip driving program is searched through the acquired chip parameters of the WIFI chip, the connection with the accessed WIFI chip is established according to the searched target WIFI chip driving program, the performance test is performed on the WIFI chip which is connected according to the preset instruction to obtain the performance test information, and when the performance test information meets the preset condition, the target WIFI chip driving program is judged to be loaded completely, so that the technical problem that in the prior art, when the WIFI chip is maintained, the WIFI chip driving program matched with the WIFI chip needs to be prepared in advance, but the WIFI chip is various, so that the maintenance cycle is long is solved, the WIFI chip maintenance efficiency is improved, and meanwhile, the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a WIFI chip driver loading device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first embodiment of a WIFI chip driver loading method according to the present invention;
fig. 3 is a schematic flowchart of a WIFI chip driver loading method according to a second embodiment of the present invention;
fig. 4 is a block diagram of a WIFI chip driver loading device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a WIFI chip driver loading device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the WIFI chip driver loading device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the WIFI chip driver loading device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a WIFI chip driver loader.
In the WIFI chip driver loading device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the WIFI chip driver loading device of the present invention may be disposed in the WIFI chip driver loading device, and the WIFI chip driver loading device calls the WIFI chip driver loading program stored in the memory 1005 through the processor 1001 and executes the WIFI chip driver loading method provided by the embodiment of the present invention.
An embodiment of the present invention provides a WIFI chip driver loading method, and referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the WIFI chip driver loading method of the present invention.
In this embodiment, the WIFI chip driver loading method includes the following steps:
step S10: and acquiring the chip parameters of the currently accessed WIFI chip.
It should be noted that the execution subject of the present embodiment may be a computing service device with data processing, network communication and program running functions, such as a smart television, a personal computer or a smart projector, and the present embodiment and the following embodiments are described below by taking the smart television as an example, and do not limit the present embodiment.
It should be understood that the chip parameters include parameters such as a chip identification number, a chip model number, a factory serial number and a name of a chip manufacturer, when the WIFI chip is maintained, and when the WIFI chip is accessed to a WIFI chip interface of the smart television, the smart television can acquire the chip parameters of the WIFI chip on the USB bus through an Isusb command, and the Isusb command is a command for acquiring a USB device list of the smart television and device detailed information on the USB bus.
It can be understood that, in order to improve the acquisition efficiency of the chip parameters of the WIFI chip, when the smart television does not acquire the chip parameters within the preset time, it can be determined that the WIFI module hardware of the smart television is abnormal or is connected out of a problem, at this time, the smart television sends abnormal prompt information, and the abnormal prompt information can include a part where the smart television is possibly abnormal, for example, the module hardware or the line connection is abnormal, so that a maintainer can timely eliminate the problem according to the abnormal prompt information to perform subsequent maintenance work.
In specific implementation, when a WIFI chip of the smart television is maintained, the WIFI chip is accessed to a WIFI chip interface of the smart television, and chip parameters of the currently accessed WIFI chip are acquired from a USB bus by the smart television through an Isusb command.
Step S20: and searching whether a corresponding target WIFI chip driving program exists according to the chip parameters.
It should be understood that the target WIFI chip driver is a special program that enables the smart television and the accessed WIFI chip to communicate with each other, the chip parameters include information such as a chip identification number of the chip, a chip model number, a factory serial number, and a name of a chip manufacturer, and whether the target WIFI chip driver matching the currently accessed WIFI chip exists or not can be found according to the chip parameters.
Step S30: and when the target WIFI chip driver program exists, establishing connection with the WIFI chip according to the target WIFI chip driver program.
It should be understood that when the target WIFI chip driver is found, the target WIFI chip driver is loaded, and a connection with the WIFI chip is established according to the target WIFI chip driver.
Step S40: and when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information.
It should be understood that, signal amplification parameters of the WIFI chip are different, and physical connection characteristics between the smart television and the WIFI chip are different, so after connection between the smart television and the WIFI chip is established, a performance test needs to be performed on the connected WIFI chip.
The preset instruction is an instruction preset according to a performance test item of the WIFI chip, and performance test information of the WIFI chip is obtained after the performance test of the WIFI chip is performed.
Step S50: and when the performance test information meets a preset condition, judging that the target WIFI chip driver is loaded completely.
It should be understood that when the preset condition is met, it is indicated that the matching degree of the currently accessed WIFI chip and the smart television is good or excellent, and normal use of a user can be met, and at this time, it is determined that the loading of the driving program of the WIFI chip is completed.
In the specific implementation, when a WIFI chip is connected to an intelligent television, the intelligent television acquires chip parameters of the currently-connected WIFI chip through an Isusb command, whether a target WIFI driving program exists is searched according to the WIFI chip parameters, the intelligent television establishes connection with the WIFI chip according to the searched target WIFI driving program, when the connection with the WIFI chip is established, in order to achieve better matching with the WIFI chip, performance test is performed on the WIFI chip according to a preset instruction to obtain performance test information, when the performance test information meets preset conditions, the fact that the matching degree with the WIFI chip is good or excellent is indicated, and at the moment, the fact that the target WIFI chip driving program is loaded is judged to be completed.
Further, in order to improve the search efficiency of the target WIFI driver, the step S20 includes: reading a chip identification number of the WIFI chip from the chip parameter, and searching whether a target WIFI chip driving program exists in a local WIFI chip driving program library according to the chip identification number; when the target WIFI chip driving program does not exist, updating a local WIFI chip driving program library according to the chip identification number; and searching whether a target WIFI chip driving program exists in the updated local WIFI chip driving program library according to the chip identification number.
It should be understood that the chip identification number can uniquely identify the chip, the local WIFI chip driver library is a library formed by WIFI chip drivers pre-stored in a memory of the smart television, and whether a target WIFI driver exists or not is searched in the local WIFI chip driver library according to the chip identification number.
It can be understood that, possibly because the chip system of the smart television is old, the target WIFI chip driver does not exist in the local WIFI chip driver library, and the target WIFI chip driver cannot be found, at this time, the chip system can be upgraded according to the chip parameters of the WIFI chip so as to update the local WIFI chip driver library, and then whether the target WIFI chip driver exists in the updated local WIFI chip driver library or not is found according to the chip parameters.
It can be understood that the target WIFI chip driver can be searched at the cloud according to the chip identification number, a manufacturer can build a WIFI chip driver library at the cloud, and when the target WIFI chip driver is searched, the target WIFI chip driver is downloaded to a local storage, so that connection with a WIFI chip is established according to the target WIFI chip driver, the target WIFI chip driver can be searched in the internet through the chip identification number or the target WIFI chip driver can be searched in other similar manners, and this embodiment is not limited thereto.
It should be understood that, in order to avoid the situation that the target WIFI chip driver exists in the local WIFI chip driver library but the smart television does not find the driver, when the target WIFI chip driver is not found in the local WIFI chip driver library, the smart television may pop up a manual selection matching prompt, display the WIFI chip driver in the local WIFI chip driver library for manual matching, search the target WIFI chip driver manually, and establish connection with the WIFI chip according to the target WIFI chip driver.
Further, in order to improve the loading efficiency of the WIFI chip driver, when the target WIFI chip driver exists, establishing a connection with the WIFI chip according to the target WIFI chip driver, including: when the target WIFI chip driver program exists, loading the target WIFI chip driver program to generate a device node; and acquiring a data transmission protocol of the WIFI chip, and establishing connection with the WIFI chip according to the equipment node and the data transmission protocol.
It should be understood that the device node is a hub connecting the kernel and the user layer, and when the target WIFI chip driver is found, the target WIFI chip driver is loaded to generate the device node; the data transmission protocol is a wireless data transmission protocol, and the wireless data transmission protocol is a protocol for solving the transmission quality of data between networks in a wireless mode; and the intelligent television completes the connection with the currently accessed WIFI chip according to the equipment node and the data transmission protocol.
Further, in order to improve the efficiency of loading the WIFI chip driver, the updating the local WIFI chip driver library according to the chip identification number includes: acquiring a WIFI chip driving program matched with the WIFI chip according to the chip identification number; and adding the WIFI chip driving program to the local WIFI chip driving program library to complete the updating of the local WIFI chip driving program library.
It can be understood that, when the target WIFI chip driver is not found through the above manner of this embodiment, the target WIFI chip driver may be manually stored in the external storage device, and the external storage device is accessed to the smart television, and the smart television acquires the target WIFI chip driver from the external storage device according to the chip identification number, and adds the target WIFI chip driver to the local WIFI chip driver library to complete updating of the local WIFI chip driver library.
It should be understood that, when no target WIFI chip driver is found in the foregoing manner of this embodiment, the target WIFI chip driver may be copied to a memory of the smart television manually, and the smart television adds the found target WIFI chip driver to the local WIFI chip driver library in the memory according to the chip identification number to complete updating of the local WIFI chip driver library.
In the embodiment, chip parameters of a currently accessed WIFI chip are acquired; searching whether a corresponding target WIFI chip driving program exists according to the chip parameters; when the target WIFI chip driver program exists, establishing connection with the WIFI chip according to the target WIFI chip driver program; when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information; and when the performance test information meets a preset condition, judging that the target WIFI chip driver is loaded completely. According to the embodiment, the corresponding target WIFI chip driving program is searched through the acquired chip parameters of the WIFI chip, connection with the WIFI chip is established according to the searched target WIFI chip driving program, performance test is performed on the WIFI chip which is connected to the WIFI chip according to the preset instruction to obtain performance test information, and when the performance test information meets preset conditions, the target WIFI chip driving program is judged to be loaded and completed.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a WIFI chip driver loading method according to a second embodiment of the present invention.
Based on the above embodiments, in the present embodiment, the step S40 includes:
step S401: and loading the target WIFI signal processing system file according to a preset loading instruction when the connection is established.
It should be understood that differences exist between amplified signals of different WIFI chips, and physical connection characteristics between the smart television and different WIFI chips are also different, SO that when connection between the smart television and the WIFI chips is established, performance of accessing the WIFI chips needs to be tested, after the test is completed, an SO file is generated and stored in a memory, and the SO file is compiled codes and data which can be used by other programs.
It can be understood that the system file refers to a folder for storing main files of an operating system, the main files are generally automatically created in the process of installing the operating system, and the related files are placed in the corresponding folder, the target WIFI signal processing system file is a system file related to WIFI signal processing, a preset loading instruction can be set in advance, the target WIFI signal processing system file is loaded according to the preset instruction when a performance test is performed on a WIFI chip, and a submenu under the WIFI function can be manually selected when connection between WIFI chips is established, so that the target WIFI signal processing system file is loaded by the smart television.
Step S402: and when the target WIFI signal processing system file is loaded, carrying out WIFI performance test and network connectivity test on the WIFI chip according to a preset test instruction to obtain performance test information.
It is understood that in the performance test including the network speed test, the signal strength test, etc., the network connectivity test may be to test whether the network connectivity is normal.
In the specific implementation, when loading of a WIFI signal processing system file is completed, a performance test is performed after the intelligent television is restarted, the intelligent television is connected with a wireless local area network after being restarted, when the WIFI performance test is performed, the intelligent television runs a program in a system background, the network speed performance of WIFI is tested through an Iperf command, when the network speed performance test is completed, network speed performance test data of a WIFI chip are obtained, the network speed performance test data are compared with standard data prestored in a memory, when the network speed performance test data meet the standard data, the fact that the network speed performance of the WIFI chip meets requirements is shown, and a performance test qualified prompt pops up for the intelligent television; when the network speed performance test data do not meet the standard data, the network speed performance of the WIFI chip does not meet the requirement, and the intelligent television pops out a network speed performance test unqualified prompt; and performing network connectivity test on the WIFI chip by executing the Ping command, for example: and when the network connection is not successful, popping up a prompt that the network connectivity test is not successful.
Further, in order to improve the efficiency of the performance test of the WIFI chip, the loading the target WIFI signal processing system file according to the preset loading instruction includes: when the connection is established, searching a target WIFI signal processing system file in a file library according to a preset loading instruction; and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the file library.
It should be understood that the WIFI signal processing system file may be pre-stored in the file library, when the performance of the WIFI chip is tested, the target WIFI signal processing system file is searched in the file library according to a preset loading instruction, when the target WIFI signal processing system file is searched, the target WIFI chip signal processing file is loaded, and when the loading is successful, a loading success prompt is popped up.
The intelligent television comprises a display module, a signal processing module, a manual loading prompt module, a WIFI chip signal processing system file display module, a target WIFI chip signal processing system file display module, a manual loading prompt module and a display module.
Further, in order to improve the efficiency of the performance test of the WIFI chip, after the step of searching the target WIFI signal processing system file in the file library according to the preset loading instruction when the connection is established, the method further includes: when the target WIFI signal processing system file is not found in the file library, updating the file library according to the preset loading instruction; and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the updated file library.
It should be understood that when the target WIFI signal processing system file cannot be found in the file library, the intelligent chip system of the smart television can be upgraded according to the preset loading instruction, so that the purpose of updating the file library is achieved, the target WIFI signal processing system file can be loaded in the updated file library according to the preset loading instruction by receiving the WIFI signal processing system file copied to the memory by the user to follow the new file library, and after the file library is updated.
In the embodiment, when the connection is established, the target WIFI signal processing system file is loaded according to a preset loading instruction; and when the target WIFI signal processing system file is loaded, carrying out WIFI performance test and network connectivity test on the WIFI chip according to a preset test instruction to obtain performance test information. In the embodiment, the target WIFI signal processing system file is loaded when the connection with the WIFI chip is established, and when the target WIFI signal processing system file is loaded, the WIFI chip is subjected to performance test according to the preset test instruction to obtain performance test data, so that the performance of the accessed WIFI chip can meet the requirements of users, and the user experience is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a WIFI chip driver loader is stored on the storage medium, and when executed by a processor, the WIFI chip driver loader implements the steps of the WIFI chip driver loading method described above.
Referring to fig. 4, fig. 4 is a block diagram of a WIFI chip driver loading device according to a first embodiment of the present invention.
As shown in fig. 4, the WIFI chip driver loading device provided in the embodiment of the present invention includes: the device comprises an acquisition module 10, a search module 20, a connection establishment module 30, a performance test module 40 and a determination module 50.
The acquisition module 10 is configured to acquire chip parameters of a currently accessed WIFI chip;
the searching module 20 is configured to search whether a corresponding target WIFI chip driver exists according to the chip parameter;
the connection establishing module 30 is configured to establish, when the target WIFI chip driver exists, a connection with the WIFI chip according to the target WIFI chip driver;
the performance testing module 40 is configured to perform performance testing on the WIFI chip according to a preset instruction when the connection is established, so as to obtain performance testing information;
and the judging module 50 is configured to judge that the target WIFI chip driver is loaded completely when the performance test information meets a preset condition.
In this embodiment, the chip parameters of the currently accessed WIFI chip are acquired through the acquisition module 10; the searching module 20 searches whether a corresponding target WIFI chip driver exists according to the chip parameters; when the target WIFI chip driver exists, the connection establishing module 30 establishes a connection with the WIFI chip according to the target WIFI chip driver; when the connection is established, the performance test module 40 performs performance test on the WIFI chip according to a preset instruction to obtain performance test information; when the performance test information meets the preset condition, the determining module 50 determines that the target WIFI chip driver is loaded completely. According to the embodiment, the corresponding target WIFI chip driving program is searched through the acquired chip parameters of the WIFI chip, connection with the WIFI chip is established according to the searched target WIFI chip driving program, performance test is performed on the WIFI chip which is connected to the WIFI chip according to the preset instruction to obtain performance test information, and when the performance test information meets preset conditions, the target WIFI chip driving program is judged to be loaded and completed.
Based on the first embodiment of the WIFI chip driver loading device of the present invention, a second embodiment of the WIFI chip driver loading device of the present invention is proposed.
In this embodiment, the searching module 20 is further configured to read a chip identification number of the WIFI chip from the chip parameter, and search whether a target WIFI chip driver exists in a local WIFI chip driver library according to the chip identification number; when the target WIFI chip driving program does not exist, updating a local WIFI chip driving program library according to the chip identification number; and searching whether a target WIFI chip driving program exists in the updated local WIFI chip driving program library according to the chip identification number.
The connection establishing module 30 is further configured to load the target WIFI chip driver to generate a device node when the target WIFI chip driver exists; and acquiring a data transmission protocol of the WIFI chip, and establishing connection with the WIFI chip according to the equipment node and the data transmission protocol.
The performance test module 40 is further configured to load a target WIFI signal processing system file according to a preset loading instruction when the connection is established; and when the target WIFI signal processing system file is loaded, carrying out WIFI performance test and network connectivity test on the WIFI chip according to a preset test instruction to obtain performance test information.
The searching module 20 is further configured to obtain a WIFI chip driver matched with the WIFI chip according to the chip identification number; and adding the WIFI chip driving program to the local WIFI chip driving program library to complete the updating of the local WIFI chip driving program library.
The performance testing module 40 is further configured to search a target WIFI signal processing system file in a file library according to a preset loading instruction when the connection is established; and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the file library.
The performance testing module 40 is further configured to update the file library according to the preset loading instruction when the target WIFI signal processing system file is not found in the file library; and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the updated file library.
Other embodiments or specific implementation manners of the WIFI chip driver loading device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A WIFI chip driver loading method is characterized by comprising the following steps:
acquiring chip parameters of a currently accessed WIFI chip;
searching whether a corresponding target WIFI chip driving program exists according to the chip parameters;
when the target WIFI chip driver program exists, establishing connection with the WIFI chip according to the target WIFI chip driver program;
when the connection is established, performing performance test on the WIFI chip according to a preset instruction to obtain performance test information;
and when the performance test information meets a preset condition, judging that the target WIFI chip driver is loaded completely.
2. The method of claim 1, wherein the finding whether a corresponding target WIFI chip driver exists according to the chip parameter comprises:
reading a chip identification number of the WIFI chip from the chip parameter, and searching whether a target WIFI chip driving program exists in a local WIFI chip driving program library according to the chip identification number;
when the target WIFI chip driving program does not exist, updating a local WIFI chip driving program library according to the chip identification number;
and searching whether a target WIFI chip driving program exists in the updated local WIFI chip driving program library according to the chip identification number.
3. The method of claim 1, wherein establishing a connection with the WIFI chip according to the target WIFI chip driver when the target WIFI chip driver is present comprises:
when the target WIFI chip driver program exists, loading the target WIFI chip driver program to generate a device node;
and acquiring a data transmission protocol of the WIFI chip, and establishing connection with the WIFI chip according to the equipment node and the data transmission protocol.
4. The method of claim 1, wherein when the connection is established, performing a performance test on the WIFI chip according to a preset instruction to obtain performance test information includes:
when the connection is established, loading a target WIFI signal processing system file according to a preset loading instruction;
and when the target WIFI signal processing system file is loaded, carrying out WIFI performance test and network connectivity test on the WIFI chip according to a preset test instruction to obtain performance test information.
5. The method of claim 2, wherein the updating the local WIFI chip driver library according to the chip identification number comprises:
acquiring a WIFI chip driving program matched with the WIFI chip according to the chip identification number;
and adding the WIFI chip driving program to the local WIFI chip driving program library to complete the updating of the local WIFI chip driving program library.
6. The method of claim 4, wherein loading the target WIFI signal processing system file according to a preset loading instruction when the connection is established comprises:
when the connection is established, searching a target WIFI signal processing system file in a file library according to a preset loading instruction;
and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the file library.
7. The method of claim 6, wherein after the step of searching for the target WIFI signal processing system file in a file library according to a preset loading instruction when the connection is established, the method further comprises:
when the target WIFI signal processing system file is not found in the file library, updating the file library according to the preset loading instruction;
and loading the target WIFI signal processing system file when the target WIFI signal processing system file is found in the updated file library.
8. A WIFI chip driver loading device, the device comprising:
the acquisition module is used for acquiring the chip parameters of the currently accessed WIFI chip;
the searching module is used for searching whether a corresponding target WIFI chip driving program exists according to the chip parameters;
the connection establishing module is used for establishing connection with the WIFI chip according to the target WIFI chip driver program when the target WIFI chip driver program exists;
the performance testing module is used for carrying out performance testing on the WIFI chip according to a preset instruction when the connection is established, and obtaining performance testing information;
and the judging module is used for judging that the target WIFI chip driver is loaded completely when the performance test information meets the preset conditions.
9. A WIFI chip driver loading device, the device comprising: a memory, a processor, and a WIFI chip driver loader stored on the memory and executable on the processor, the WIFI chip driver loader configured to implement the steps of the WIFI chip driver loading method of any of claims 1-7.
10. A storage medium having a WIFI chip driver loader stored thereon, wherein the WIFI chip driver loader when executed by a processor implements the steps of the WIFI chip driver loading method of any one of claims 1 to 7.
CN202110754353.0A 2021-07-01 2021-07-01 WIFI chip driver loading method, device, equipment and storage medium Pending CN113515315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110754353.0A CN113515315A (en) 2021-07-01 2021-07-01 WIFI chip driver loading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110754353.0A CN113515315A (en) 2021-07-01 2021-07-01 WIFI chip driver loading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113515315A true CN113515315A (en) 2021-10-19

Family

ID=78066466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110754353.0A Pending CN113515315A (en) 2021-07-01 2021-07-01 WIFI chip driver loading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113515315A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942078A (en) * 2014-04-30 2014-07-23 华为技术有限公司 Method for loading driver and embedded device
CN106488468A (en) * 2016-10-14 2017-03-08 深圳Tcl新技术有限公司 WiFi performance test methods and system
CN106775833A (en) * 2016-11-28 2017-05-31 青岛海信移动通信技术股份有限公司 device driver loading method, terminal and system
US20170185418A1 (en) * 2015-12-28 2017-06-29 Google Inc. Bootloader control via device identifier
CN109683967A (en) * 2018-12-13 2019-04-26 深圳创维数字技术有限公司 Firmware supports method, apparatus, mobile terminal and readable storage medium storing program for executing
CN109947482A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 A kind of loading method of USB device, storage medium and smart television
CN109975688A (en) * 2019-03-25 2019-07-05 北京百度网讯科技有限公司 General evaluating method and device for heterogeneous chip

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942078A (en) * 2014-04-30 2014-07-23 华为技术有限公司 Method for loading driver and embedded device
CN107729083A (en) * 2014-04-30 2018-02-23 华为技术有限公司 The method and embedded device of a kind of load driver program
US20170185418A1 (en) * 2015-12-28 2017-06-29 Google Inc. Bootloader control via device identifier
CN106488468A (en) * 2016-10-14 2017-03-08 深圳Tcl新技术有限公司 WiFi performance test methods and system
CN106775833A (en) * 2016-11-28 2017-05-31 青岛海信移动通信技术股份有限公司 device driver loading method, terminal and system
CN109947482A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 A kind of loading method of USB device, storage medium and smart television
CN109683967A (en) * 2018-12-13 2019-04-26 深圳创维数字技术有限公司 Firmware supports method, apparatus, mobile terminal and readable storage medium storing program for executing
CN109975688A (en) * 2019-03-25 2019-07-05 北京百度网讯科技有限公司 General evaluating method and device for heterogeneous chip

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱兴泉;俞烈彬;: "嵌入式设备驱动程序独立加载技术", 指挥控制与仿真, no. 03, 15 June 2011 (2011-06-15) *

Similar Documents

Publication Publication Date Title
US7076536B2 (en) Method and system to access software pertinent to an electronic peripheral device at an address based on a peripheral device identifier
US7165109B2 (en) Method and system to access software pertinent to an electronic peripheral device based on an address stored in a peripheral device
WO2018040746A1 (en) Driver installation method, device, and electronic apparatus
US7363338B2 (en) Selective assembly loading and execution based on platform capabilities
CN112804730B (en) Equipment interconnection method, device, server, intelligent equipment and storage medium
US20220100490A1 (en) Firmware updating method, and electronic apparatus and storage media for same
US7293168B2 (en) System and method for initially configuring and booting a device using a device identifier
CN111104677A (en) Vulnerability patch detection method and device based on CPE (customer premise Equipment) specification
CN107341106B (en) Application compatibility detection method, development terminal and storage medium
CN111538523A (en) Differential upgrading method, device and storage medium
CN110750286A (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN114661330A (en) Vehicle hardware program updating method, device, equipment and storage medium
CN110865844A (en) Application configuration system and method based on Internet of vehicles platform
CN113412468A (en) SDK plug-in loading method and device, mobile terminal and storage medium
CN112214413A (en) Application program testing method, device, equipment and storage medium
CN113515315A (en) WIFI chip driver loading method, device, equipment and storage medium
CN112035129A (en) Method and device for driver installation and upgrade and computer equipment
KR100774475B1 (en) Method for downloading software of mobile terminal
CN116340265A (en) Log extraction method and device, electronic equipment and vehicle
CN116260718A (en) Firmware upgrading method and system for Internet of things equipment
CN107391711B (en) Method and device for acquiring song accompaniment
CN115437617A (en) Vehicle control code automatic generation method and device, storage medium and electronic equipment
CN110896333B (en) WiFi module testing method and system and storage medium
CN114546842A (en) Interface test method and device, storage medium and electronic equipment
CN112306509A (en) Software installation method, server, terminal equipment and system

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