[go: up one dir, main page]

CN113766543B - Method, system, electronic equipment and medium for improving WiFi stability - Google Patents

Method, system, electronic equipment and medium for improving WiFi stability Download PDF

Info

Publication number
CN113766543B
CN113766543B CN202111072667.9A CN202111072667A CN113766543B CN 113766543 B CN113766543 B CN 113766543B CN 202111072667 A CN202111072667 A CN 202111072667A CN 113766543 B CN113766543 B CN 113766543B
Authority
CN
China
Prior art keywords
wifi
connection state
monitoring service
checking
abnormal connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111072667.9A
Other languages
Chinese (zh)
Other versions
CN113766543A (en
Inventor
孙坤
吴健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Wintec System Co ltd
Original Assignee
Qingdao Wintec System 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 Qingdao Wintec System Co ltd filed Critical Qingdao Wintec System Co ltd
Priority to CN202111072667.9A priority Critical patent/CN113766543B/en
Publication of CN113766543A publication Critical patent/CN113766543A/en
Application granted granted Critical
Publication of CN113766543B publication Critical patent/CN113766543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method, a system, electronic equipment and a medium for improving WiFi stability, wherein the method for improving WiFi stability comprises the following steps: wiFi monitoring service starting step: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result; wiFi switch state checking: after the WiFi detection service monitors the WiFi network connection state change broadcast, the WiFi detection service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state; wiFi abnormal connection state processing step: and the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information.

Description

Method, system, electronic equipment and medium for improving WiFi stability
Technical Field
The application relates to the technical field of improving WiFi stability, in particular to a method, a system, electronic equipment and a medium for improving WiFi stability.
Background
Many devices in the market use WiFi scene more complicated, such as farmer market, seafood market etc., and the place is wide, and the environment is complicated, according to Android system design, especially when WiFi network signal fluctuation is great, the signal is weaker, can not connect automatically after the WiFi breaks off, and when breaking off many times, this wiFi focus priority can reduce, can not connect automatically more, and the user can only close the wiFi and open again after this moment, perhaps manual connection network, leads to equipment outage to influence user's use, has caused very inconveniently for the user, and use experience is very poor. Therefore, when the WiFi is disconnected in the prior art, the designated WiFi cannot be actively connected, and when the WiFi network signal fluctuates, the stability of the WiFi connection cannot be ensured.
Disclosure of Invention
The embodiment of the application provides a method, a system, electronic equipment and a medium for improving WiFi stability, which at least solve the problems that when WiFi is used abnormally, network state cannot be monitored in real time, wiFi cannot be actively connected and designated when WiFi is disconnected, and the stability of WiFi connection cannot be ensured when WiFi network signal fluctuation is large.
The invention provides a method for improving WiFi stability, which comprises the following steps:
WiFi monitoring service starting step: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result;
WiFi switch state checking: after the WiFi detection service monitors the WiFi network connection state change broadcast, the WiFi detection service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state;
WiFi abnormal connection state processing step: and the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information.
In the method for improving WiFi stability, the step of starting the WiFi monitoring service includes that after the device starts up and receives the startup broadcast, the device judges the startup broadcast attribute, if the startup broadcast attribute is true, the WiFi monitoring service is started, and if the startup broadcast attribute is false, the WiFi monitoring service is not started.
In the method for improving WiFi stability, the step of checking the WiFi switch state includes that when the WiFi detection service monitors that the WiFi network connection state changes and broadcasts, the WiFi detection service checks the WiFi switch state to obtain the checking result, if the WiFi switch state is on and the device is connected to the WiFi, the ID of the WiFi is recorded, the WiFi is stored to obtain stored WiFi, and then the checking thread pool is closed.
In the method for improving WiFi stability, the step of processing the WiFi abnormal connection state includes that the WiFi monitoring service monitors the WiFi abnormal connection state according to the inspection result;
When the WiFi connection state is unconnected, after the inspection thread pool is started, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi, the WiFi monitoring service monitors the WiFi abnormal connection state again;
if the WiFi connection state is unconnected, after restarting the WiFi switch, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi again, the WiFi monitoring service monitors the WiFi abnormal connection state again;
and if the WiFi connection state is unconnected, monitoring the WiFi network connection state change broadcast again.
The invention also provides a WiFi stability improving system, which is suitable for the WiFi stability improving method, and comprises the following steps:
WiFi monitoring service opening unit: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result;
WiFi switch state checking unit: after the WiFi detection service monitors the WiFi network connection state change broadcast, the WiFi detection service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state;
WiFi abnormal connection state processing unit: and the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information.
In the system for improving WiFi stability, after the device boots up and receives the boot broadcast, the device determines the boot broadcast attribute, if the boot broadcast attribute is true, the WiFi monitoring service is started by the WiFi monitoring service starting unit, and if the boot broadcast attribute is false, the WiFi monitoring service is not started.
In the system for improving WiFi stability, when the WiFi detection service monitors that the WiFi network connection state changes broadcasting, the WiFi detection service checks the WiFi switch state through the WiFi switch state checking unit to obtain the checking result, if the WiFi switch state is on and the device is connected to the WiFi, the ID of the WiFi is recorded and stored in the WiFi to obtain stored WiFi, and then the checking thread pool is closed.
In the system for improving WiFi stability, the WiFi abnormal connection state processing unit includes that the WiFi monitoring service monitors a WiFi abnormal connection state according to the inspection result;
When the WiFi connection state is unconnected, after the inspection thread pool is started, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi, the WiFi monitoring service monitors the WiFi abnormal connection state again;
if the WiFi connection state is unconnected, after restarting the WiFi switch, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi again, the WiFi monitoring service monitors the WiFi abnormal connection state again;
and if the WiFi connection state is unconnected, monitoring the WiFi network connection state change broadcast again.
The invention also provides electronic equipment, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, and is characterized in that the method for improving the WiFi stability system is realized when the processor executes the computer program.
The invention also provides an electronic device readable storage medium, wherein the electronic device readable storage medium stores computer program instructions, and the computer program instructions realize the method for improving the WiFi stability system when being executed by the processor.
Compared with the related art, the method, the system, the electronic equipment and the medium for improving the WiFi stability provided by the invention solve the problems that the network state cannot be monitored in real time when WiFi is abnormal, the designated WiFi cannot be actively connected when the WiFi is disconnected, the stability of WiFi connection cannot be ensured when WiFi network signal fluctuation is large, and the like.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of a method for improving WiFi stability according to an embodiment of the application;
FIG. 2 is a flowchart of steps for implementing improved WiFi stability according to an embodiment of the application;
FIG. 3 is a schematic diagram of a system for improving WiFi stability according to the present invention;
Fig. 4 is a frame diagram of an electronic device according to an embodiment of the application.
Wherein, the reference numerals are as follows:
WiFi monitoring service opening unit: 51;
WiFi switch state checking unit: 52;
WiFi abnormal connection state processing unit: 53;
80 parts of a bus;
A processor: 81;
A memory: 82;
communication interface: 83.
Detailed Description
The present application will be described and illustrated with reference to the accompanying drawings and examples in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present application without making any inventive effort, are intended to fall within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the application can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "a," "an," "the," and similar referents in the context of the application are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in connection with the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means two or more. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
According to the invention, when the WiFi network fluctuates, the connection can be stably maintained, so that a user can perform normal operation without affecting the WiFi use.
The invention will now be described with reference to specific examples.
Example 1
The embodiment provides a method for improving WiFi stability. Referring to fig. 1 to 2, fig. 1 is a flowchart of a method for improving WiFi stability according to an embodiment of the application; fig. 2 is a flowchart of a WiFi stability enhancement implementation step according to an embodiment of the present application, and as shown in fig. 1 to 2, a WiFi stability enhancement method includes the following steps:
WiFi monitoring service starting step S1: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result;
WiFi switch state checking step S2: after the WiFi detection service monitors the WiFi network connection state change broadcast, the WiFi detection service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state;
WiFi abnormal connection state processing step S3: and the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information.
In an embodiment, the step S1 of starting the WiFi monitoring service includes that after the device starts up and receives the startup broadcast, the device determines the startup broadcast attribute, if the startup broadcast attribute is true, the WiFi monitoring service is started, and if the startup broadcast attribute is false, the WiFi monitoring service is not started.
In a specific implementation, the device receives a boot broadcast when the device boots up, and after receiving the boot broadcast, the device determines a boot broadcast attribute, persistent.
In an embodiment, the step S2 of checking the WiFi switch state includes that when the WiFi detection service monitors that the WiFi network connection state changes and broadcasts, the WiFi detection service checks the WiFi switch state to obtain the checking result, if the WiFi switch state is on and the device is connected to the WiFi, the ID of the WiFi is recorded, the WiFi is stored to obtain the stored WiFi, and then the checking thread pool is closed.
In a specific implementation, after the WiFi monitoring service is started, the WiFi detection service starts to monitor WiFi network connection state change broadcasting, when the WiFi detection service starts to monitor WiFi network connection state change broadcasting, the WiFi detection service checks WiFi switch state, if the WiFi switch state is on and the equipment can be connected to WiFi, the ID of the WiFi is recorded, and after the WiFi is stored, the checking thread pool is closed.
In an embodiment, the step S3 of processing the WiFi abnormal connection state includes the WiFi monitoring service monitoring the WiFi abnormal connection state according to the inspection result;
When the WiFi connection state is unconnected, after the inspection thread pool is started, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi, the WiFi monitoring service monitors the WiFi abnormal connection state again;
if the WiFi connection state is unconnected, after restarting the WiFi switch, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi again, the WiFi monitoring service monitors the WiFi abnormal connection state again;
and if the WiFi connection state is unconnected, monitoring the WiFi network connection state change broadcast again.
In specific implementation, after a WiFi switch is turned on and equipment is connected with WiFi, the WiFi monitoring service starts to monitor WiFi network state change broadcasting, when the WiFi network state change broadcasting is received, the WiFi monitoring service checks the connection state of WiFi and equipment, if the WiFi and the equipment are not connected, an inspection thread pool is turned on, after the inspection thread pool is turned on for 1 minute, the corresponding task is started to be executed, each execution task of the inspection thread pool is delayed for 1 minute, the inspection thread pool is started, after the inspection thread pool completes the corresponding execution task, the WiFi and the equipment are not connected, and the equipment is actively connected with the stored WiFi;
After the equipment is actively connected with the stored WiFi, the WiFi connection of the equipment is successful, and the WiFi monitoring service monitors the WiFi network state change broadcast again;
If the WiFi monitoring service detects that the WiFi connection of the device fails, restarting a WiFi switch and checking whether a WiFi network is connected or not;
If the WiFi monitoring service detects that the WiFi connection of the equipment is successful, the WiFi monitoring service monitors the WiFi network state change broadcast again;
If the WiFi monitoring service monitors the WiFi network state change broadcast again and then detects that the WiFi still fails to be connected, the stored WiFi is actively connected again, and after the stored WiFi is successfully connected, the WiFi monitoring service monitors the WiFi network state change broadcast again;
If the WiFi is not connected, stopping all operations, and re-monitoring the WiFi network state change broadcast by the WiFi monitoring service.
Example two
Referring to fig. 3, fig. 3 is a schematic structural diagram of a system for improving WiFi stability according to the present invention. As shown in fig. 3, the WiFi stability improving system of the present invention is applicable to the above method for improving WiFi stability, and the WiFi stability improving system includes:
WiFi monitoring service activation unit 51: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result;
WiFi switch status checking unit 52: after the WiFi detection service monitors the WiFi network connection state change broadcast, the WiFi detection service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state;
WiFi abnormal connection state processing unit 53: and the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information.
In an embodiment, after the device boots up and receives the boot broadcast, the device determines the boot broadcast attribute, if the boot broadcast attribute is true, the WiFi monitoring service is started through the WiFi monitoring service starting unit 51, and if the boot broadcast attribute is false, the WiFi monitoring service is not started.
In an embodiment, when the WiFi detection service monitors that the WiFi network connection state changes and broadcasts, the WiFi detection service checks the WiFi switch state through the WiFi switch state checking unit 52 to obtain the checking result, if the WiFi switch state is on and the device is connected to the WiFi, the ID of the WiFi is recorded, the WiFi is stored to obtain the stored WiFi, and then the checking thread pool is closed.
In an embodiment, the WiFi abnormal connection state processing unit 53 includes the WiFi monitoring service monitoring a WiFi abnormal connection state according to the inspection result;
When the WiFi connection state is unconnected, after the inspection thread pool is started, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi, the WiFi monitoring service monitors the WiFi abnormal connection state again;
if the WiFi connection state is unconnected, after restarting the WiFi switch, the WiFi monitoring service monitors the WiFi abnormal connection state again;
If the WiFi connection state is unconnected, after the equipment is connected with the stored WiFi again, the WiFi monitoring service monitors the WiFi abnormal connection state again;
and if the WiFi connection state is unconnected, monitoring the WiFi network connection state change broadcast again.
Example III
Referring to fig. 4, a specific implementation of an electronic device is disclosed in this embodiment. The electronic device may include a processor 81 and a memory 82 storing computer program instructions.
In particular, the processor 81 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
Memory 82 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 82 may comprise a hard disk drive (HARD DISK DRIVE, abbreviated HDD), floppy disk drive, solid state drive (Solid STATE DRIVE, abbreviated SSD), flash memory, optical disk, magneto-optical disk, magnetic tape, or universal serial bus (Universal Serial Bus, abbreviated USB) drive, or a combination of two or more of these. The memory 82 may include removable or non-removable (or fixed) media, where appropriate. The memory 82 may be internal or external to the abnormal data monitoring apparatus, where appropriate. In a particular embodiment, the memory 82 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 82 includes Read-Only Memory (ROM) and random access Memory (Random Access Memory, RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, abbreviated PROM), an erasable PROM (Erasable Programmable Read-Only Memory, abbreviated FPROM), an electrically erasable PROM (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, abbreviated EFPROM), an electrically rewritable ROM (ELECTRICALLY ALTERABLE READ-Only Memory, abbreviated EAROM), or a FLASH Memory (FLASH), or a combination of two or more of these. The RAM may be a Static Random-Access Memory (SRAM) or a dynamic Random-Access Memory (Dynamic Random Access Memory DRAM), where the DRAM may be a fast page mode dynamic Random-Access Memory (Fast Page Mode Dynamic Random Access Memory, FPMDRAM), an extended data output dynamic Random-Access Memory (Extended Date Out Dynamic Random Access Memory, EDODRAM), a synchronous dynamic Random-Access Memory (Synchronous Dynamic Random-Access Memory, SDRAM), or the like, as appropriate.
Memory 82 may be used to store or cache various data files that need to be processed and/or communicated, as well as possible computer program instructions for execution by processor 81.
The processor 81 implements any of the WiFi stability enhancement methods of the above embodiments by reading and executing computer program instructions stored in the memory 82.
In some of these embodiments, the electronic device may also include a communication interface 83 and a bus 80. As shown in fig. 4, the processor 81, the memory 82, and the communication interface 83 are connected to each other through the bus 80 and perform communication with each other.
The communication interface 83 is used to enable communication between modules, devices, units and/or units in embodiments of the application. Communication port 83 may also enable communication with other components such as: and the external equipment, the image/abnormal data monitoring equipment, the database, the external storage, the image/abnormal data monitoring workstation and the like are used for data communication.
Bus 80 includes hardware, software, or both that couple components of the electronic device to one another. Bus 80 includes, but is not limited to, at least one of: data Bus (Data Bus), address Bus (Address Bus), control Bus (Control Bus), expansion Bus (Expansion Bus), local Bus (Local Bus). By way of example, and not limitation, bus 80 may include a graphics acceleration interface (ACCELERATED GRAPHICS Port, abbreviated as AGP) or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) Bus, a Front Side Bus (Front Side Bus, abbreviated as FSB), a HyperTransport (abbreviated as HT) interconnect, an industry standard architecture (Industry Standard Architecture, abbreviated as ISA) Bus, a wireless bandwidth (InfiniBand) interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (Micro Channel Architecture, abbreviated as MCA) Bus, a peripheral component interconnect (PERIPHERAL COMPONENT INTERCONNECT, abbreviated as PCI) Bus, a PCI-Express (PCI-X) Bus, a serial advanced technology attachment (SERIAL ADVANCED Technology Attachment, abbreviated as SATA) Bus, a video electronics standards Association local (Video Electronics Standards Association Local Bus, abbreviated as VLB) Bus, or other suitable Bus, or a combination of two or more of these. Bus 80 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
The electronic device may connect to an enhanced WiFi stability system to implement the method in conjunction with fig. 1-2.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
In summary, the method monitors the network state in real time, when abnormality occurs in the WiFi using process and the network state cannot be monitored in real time, the method actively connects to the designated WiFi, and ensures the stability of WiFi connection when the fluctuation of WiFi network signals is large.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. The protection scope of the patent of the application shall therefore be subject to the protection scope of the appended claims.

Claims (6)

1. A method for improving WiFi stability, comprising:
WiFi monitoring service starting step: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result;
WiFi switch state checking: after the WiFi monitoring service monitors the WiFi network connection state change broadcast, the WiFi monitoring service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state;
WiFi abnormal connection state processing step: the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information;
the step of checking the WiFi switch state comprises the steps that when the WiFi monitoring service monitors the WiFi network connection state change broadcast, the WiFi monitoring service checks the WiFi switch state to obtain the checking result, if the checking result is that the WiFi switch state is on, whether WiFi is connected with the equipment is detected, and if the checking result is that the WiFi switch state is off, no processing is performed; if the WiFi switch state is on and the equipment is connected with the WiFi, recording the ID of the current WiFi, storing the WiFi to obtain stored WiFi, and closing the inspection thread pool;
the WiFi abnormal connection state processing step comprises the following steps:
The WiFi monitoring service monitors the WiFi abnormal connection state according to the checking result;
If the WiFi switch state is on and the WiFi connection state is unconnected, starting the checking thread pool, then monitoring the WiFi abnormal connection state by the WiFi monitoring service again, and if the WiFi connection state is connected, recording the current WiFi ID and storing the WiFi to obtain stored WiFi, and closing the checking thread pool; if the WiFi connection state is unconnected, the equipment actively connects to appointed WiFi;
The WiFi monitoring service monitors the WiFi abnormal connection state again, if the WiFi abnormal connection state is connection, the ID of the current WiFi is recorded, the WiFi is stored to obtain stored WiFi, the inspection thread pool is closed, and if the WiFi abnormal connection state is disconnection, the WiFi switch is restarted;
Monitoring the WiFi abnormal connection state by the WiFi monitoring service again, if the WiFi abnormal connection state is connection, recording the current WiFi ID, storing the WiFi to obtain stored WiFi, and closing the inspection thread pool; if the WiFi connection state is unconnected, the device actively connects to the appointed WiFi again;
Monitoring the WiFi abnormal connection state by the WiFi monitoring service again, if the WiFi abnormal connection state is connection, recording the current WiFi ID, storing the WiFi to obtain stored WiFi, and closing the inspection thread pool; and if the WiFi connection state is unconnected, stopping all operations, and returning to the WiFi monitoring service starting step.
2. The method for improving WiFi stability according to claim 1, wherein the step of starting the WiFi monitoring service includes the step of the device judging the on-air attribute after the device is turned on and receives the on-air broadcast, if the on-air attribute is true, starting the WiFi monitoring service, and if the on-air attribute is false, not starting the WiFi monitoring service.
3. A system for improving WiFi stability, comprising:
WiFi monitoring service opening unit: the equipment receives the startup broadcast and judges the startup broadcast attribute, and after the judgment result is obtained, the WiFi monitoring service is started according to the judgment result;
WiFi switch state checking unit: after the WiFi monitoring service monitors the WiFi network connection state change broadcast, the WiFi monitoring service checks the WiFi switch state to obtain a checking result, and then corresponding operation is carried out on the WiFi and the checking thread pool according to the checking result and the WiFi connection state;
WiFi abnormal connection state processing unit: the WiFi monitoring service carries out corresponding WiFi abnormal connection state processing operation on the equipment according to the WiFi abnormal connection state information;
The WiFi switch state checking unit comprises that when the WiFi monitoring service monitors the WiFi network connection state change broadcast, the WiFi monitoring service checks the WiFi switch state to obtain the checking result, if the checking result is that the WiFi switch state is on, whether WiFi is connected with the equipment is detected, and if the checking result is that the WiFi switch state is off, no processing is performed; if the WiFi switch state is on and the equipment is connected with the WiFi, recording the ID of the current WiFi, storing the WiFi to obtain stored WiFi, and closing the inspection thread pool;
The WiFi abnormal connection state processing unit comprises:
The WiFi monitoring service monitors the WiFi abnormal connection state according to the checking result;
If the WiFi switch state is on and the WiFi connection state is unconnected, starting the checking thread pool, then monitoring the WiFi abnormal connection state by the WiFi monitoring service again, and if the WiFi connection state is connected, recording the current WiFi ID and storing the WiFi to obtain stored WiFi, and closing the checking thread pool; if the WiFi connection state is unconnected, the equipment actively connects to appointed WiFi;
The WiFi monitoring service monitors the WiFi abnormal connection state again, if the WiFi abnormal connection state is connection, the ID of the current WiFi is recorded, the WiFi is stored to obtain stored WiFi, the inspection thread pool is closed, and if the WiFi abnormal connection state is disconnection, the WiFi switch is restarted;
Monitoring the WiFi abnormal connection state by the WiFi monitoring service again, if the WiFi abnormal connection state is connection, recording the current WiFi ID, storing the WiFi to obtain stored WiFi, and closing the inspection thread pool; if the WiFi connection state is unconnected, the device actively connects to the appointed WiFi again;
Monitoring the WiFi abnormal connection state by the WiFi monitoring service again, if the WiFi abnormal connection state is connection, recording the current WiFi ID, storing the WiFi to obtain stored WiFi, and closing the inspection thread pool; and if the WiFi connection state is unconnected, stopping all operations, and returning to the WiFi monitoring service starting step.
4. The system for improving WiFi stability according to claim 3, wherein after the device boots up and receives the boot broadcast, the device determines the boot broadcast attribute, if the boot broadcast attribute is true, the WiFi monitoring service is started by the WiFi monitoring service starting unit, and if the boot broadcast attribute is false, the WiFi monitoring service is not started.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of improving WiFi stability according to any of claims 1 to 2 when the computer program is executed by the processor.
6. An electronic device readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of improving WiFi stability according to any of claims 1 to 2.
CN202111072667.9A 2021-09-14 2021-09-14 Method, system, electronic equipment and medium for improving WiFi stability Active CN113766543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111072667.9A CN113766543B (en) 2021-09-14 2021-09-14 Method, system, electronic equipment and medium for improving WiFi stability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111072667.9A CN113766543B (en) 2021-09-14 2021-09-14 Method, system, electronic equipment and medium for improving WiFi stability

Publications (2)

Publication Number Publication Date
CN113766543A CN113766543A (en) 2021-12-07
CN113766543B true CN113766543B (en) 2024-04-30

Family

ID=78795413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111072667.9A Active CN113766543B (en) 2021-09-14 2021-09-14 Method, system, electronic equipment and medium for improving WiFi stability

Country Status (1)

Country Link
CN (1) CN113766543B (en)

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045750A (en) * 2009-10-10 2011-05-04 上海中兴通讯技术有限责任公司 Method and system for performance monitoring and failure handling of WLAN (wireless local area network)
CN103581966A (en) * 2013-10-08 2014-02-12 北京工商大学 Real-time monitoring optimizing configuration method for smart phone
CN103702289A (en) * 2013-12-25 2014-04-02 浙江图维电力科技有限公司 Wifi-based life circle management method and mobile terminal
CN104244239A (en) * 2013-06-06 2014-12-24 中兴通讯股份有限公司 Mobile hotspot starting device, method and system
CN104394131A (en) * 2014-11-12 2015-03-04 国云科技股份有限公司 How to debug multiple Android devices via wifi
CN104768150A (en) * 2015-03-31 2015-07-08 深圳市江波龙电子有限公司 Method and system for connecting WiFi equipment with wireless hot spot
CN104967971A (en) * 2015-06-26 2015-10-07 飞天诚信科技股份有限公司 A method of realizing automatic reconnection of bluetooth under Android system
CN105246111A (en) * 2015-09-08 2016-01-13 浙江风向标科技有限公司 Adaptive local area network and internet switching method
CN105323790A (en) * 2015-11-23 2016-02-10 深圳Tcl数字技术有限公司 Wireless router and control method thereof
CN105824733A (en) * 2016-03-14 2016-08-03 北京小米移动软件有限公司 Method and device for monitoring terminal
CN106230828A (en) * 2016-08-02 2016-12-14 四川秘无痕信息安全技术有限责任公司 A kind of data transmission method based on WIFI connected mode
CN106332159A (en) * 2016-08-10 2017-01-11 深圳市奥尼电子工业有限公司 WIFI abnormity automatic reconnection device, system and method
CN106413049A (en) * 2016-10-13 2017-02-15 四川速宝网络科技有限公司 Mobile phone wifi network accelerator and method thereof
CN107809807A (en) * 2017-10-20 2018-03-16 广州小鹏汽车科技有限公司 The communication means and device of large-size screen monitors and mobile terminal are controlled in a kind of Android
CN108141906A (en) * 2016-07-15 2018-06-08 华为技术有限公司 Mobile data sharing method and mobile terminal
CN108649396A (en) * 2018-05-02 2018-10-12 深圳市相位科技有限公司 A kind of WIFI intelligent sockets and its without the automatic method for restarting of outer net
CN108810949A (en) * 2018-07-11 2018-11-13 北京奇安信科技有限公司 A kind of processing method and terminal of management and control wifi hotspot
CN208141374U (en) * 2018-05-16 2018-11-23 无锡联力电子科技股份有限公司 A kind of intelligent switch function circuit device
CN109032826A (en) * 2018-06-22 2018-12-18 北京蜂盒科技有限公司 WiFi fault recovery method, device, storage medium and electronic equipment
CN109152094A (en) * 2018-11-07 2019-01-04 上海连尚网络科技有限公司 Wireless network connecting method for terminal
CN109640377A (en) * 2018-12-19 2019-04-16 深圳市金刚蚁机器人技术有限公司 The method that smart machine carries out networking operation is controlled by mobile terminal
CN109801058A (en) * 2019-01-24 2019-05-24 四川长虹电器股份有限公司 A kind of automatic fee method based on android system
CN111542040A (en) * 2020-07-07 2020-08-14 飞天诚信科技股份有限公司 Method and device for enhancing Bluetooth connection stability
CN112306562A (en) * 2020-10-28 2021-02-02 山东云缦智能科技有限公司 Method for wifi frequency conversion of android system
CN114286452A (en) * 2021-12-27 2022-04-05 杭州圆规网络科技有限公司 Network connection holding method and device, storage medium, and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641990B2 (en) * 2014-07-23 2017-05-02 Michael Jeffrey System and method for uninterrupted transfer of calls between cellular and WiFi networks
CN107864469B (en) * 2017-10-31 2020-05-05 海信视像科技股份有限公司 Wireless connection method and device

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045750A (en) * 2009-10-10 2011-05-04 上海中兴通讯技术有限责任公司 Method and system for performance monitoring and failure handling of WLAN (wireless local area network)
CN104244239A (en) * 2013-06-06 2014-12-24 中兴通讯股份有限公司 Mobile hotspot starting device, method and system
CN103581966A (en) * 2013-10-08 2014-02-12 北京工商大学 Real-time monitoring optimizing configuration method for smart phone
CN103702289A (en) * 2013-12-25 2014-04-02 浙江图维电力科技有限公司 Wifi-based life circle management method and mobile terminal
CN104394131A (en) * 2014-11-12 2015-03-04 国云科技股份有限公司 How to debug multiple Android devices via wifi
CN104768150A (en) * 2015-03-31 2015-07-08 深圳市江波龙电子有限公司 Method and system for connecting WiFi equipment with wireless hot spot
CN104967971A (en) * 2015-06-26 2015-10-07 飞天诚信科技股份有限公司 A method of realizing automatic reconnection of bluetooth under Android system
CN105246111A (en) * 2015-09-08 2016-01-13 浙江风向标科技有限公司 Adaptive local area network and internet switching method
CN105323790A (en) * 2015-11-23 2016-02-10 深圳Tcl数字技术有限公司 Wireless router and control method thereof
CN105824733A (en) * 2016-03-14 2016-08-03 北京小米移动软件有限公司 Method and device for monitoring terminal
CN108141906A (en) * 2016-07-15 2018-06-08 华为技术有限公司 Mobile data sharing method and mobile terminal
CN106230828A (en) * 2016-08-02 2016-12-14 四川秘无痕信息安全技术有限责任公司 A kind of data transmission method based on WIFI connected mode
CN106332159A (en) * 2016-08-10 2017-01-11 深圳市奥尼电子工业有限公司 WIFI abnormity automatic reconnection device, system and method
CN106413049A (en) * 2016-10-13 2017-02-15 四川速宝网络科技有限公司 Mobile phone wifi network accelerator and method thereof
CN107809807A (en) * 2017-10-20 2018-03-16 广州小鹏汽车科技有限公司 The communication means and device of large-size screen monitors and mobile terminal are controlled in a kind of Android
CN108649396A (en) * 2018-05-02 2018-10-12 深圳市相位科技有限公司 A kind of WIFI intelligent sockets and its without the automatic method for restarting of outer net
CN208141374U (en) * 2018-05-16 2018-11-23 无锡联力电子科技股份有限公司 A kind of intelligent switch function circuit device
CN109032826A (en) * 2018-06-22 2018-12-18 北京蜂盒科技有限公司 WiFi fault recovery method, device, storage medium and electronic equipment
CN108810949A (en) * 2018-07-11 2018-11-13 北京奇安信科技有限公司 A kind of processing method and terminal of management and control wifi hotspot
CN109152094A (en) * 2018-11-07 2019-01-04 上海连尚网络科技有限公司 Wireless network connecting method for terminal
CN109640377A (en) * 2018-12-19 2019-04-16 深圳市金刚蚁机器人技术有限公司 The method that smart machine carries out networking operation is controlled by mobile terminal
CN109801058A (en) * 2019-01-24 2019-05-24 四川长虹电器股份有限公司 A kind of automatic fee method based on android system
CN111542040A (en) * 2020-07-07 2020-08-14 飞天诚信科技股份有限公司 Method and device for enhancing Bluetooth connection stability
CN112306562A (en) * 2020-10-28 2021-02-02 山东云缦智能科技有限公司 Method for wifi frequency conversion of android system
CN114286452A (en) * 2021-12-27 2022-04-05 杭州圆规网络科技有限公司 Network connection holding method and device, storage medium, and electronic device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Reliable and Fast Hand-Offs in Low-Power Wireless Networks;H. Fotouhi, M. Alves, M. Z. Zamalloa and A. Koubâa;IEEE Transactions on Mobile Computing;20240224;全文 *
基于WiFi和蓝牙5.0的智能家居控制系统研究与设计;包淳溢;信息科技辑;20210215;全文 *
基于WiFi网络的家庭环境远程监测系统设计;马永杰;黄松茂;;测控技术(第12期);全文 *

Also Published As

Publication number Publication date
CN113766543A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US11036662B2 (en) Interrupt monitoring systems and methods for failure detection for a semiconductor device
US20160314002A1 (en) Caching unified extensible firmware interface (uefi) and/or other firmware instructions in a non-volatile memory of an information handling system (ihs)
CN103838648A (en) Terminal and data backup method
CN110881224B (en) Network long connection method, device, equipment and storage medium
US8964610B2 (en) System and method of reducing factory program time for wireless devices
CN108228669B (en) Cache processing method and device
CN112929728A (en) Video rendering method, device and system, electronic equipment and storage medium
US20180034749A1 (en) System and method for distributing and replaying trigger packets via a variable latency bus interconnect
US20180082416A1 (en) Systems and methods for analyzing image quality
CN113766543B (en) Method, system, electronic equipment and medium for improving WiFi stability
CN113254140A (en) Floating window control method and device, computer equipment and readable storage medium
US20140240600A1 (en) Method for selecting an input media source
US20120303874A1 (en) Information processing unit and information processing method
CN113992943A (en) Method and system for monitoring broadcasting server signal abnormal state or degradation
CN113780163A (en) Page loading time detection method and device, electronic equipment and medium
US11463493B2 (en) Method and apparatus for playing media file
CN112731102B (en) Liquid crystal display television backlight fault detection method
CN106055392B (en) The processing method, testing method and terminal after the application enters the background
CN116610392A (en) HDMI screen control method, device, computer equipment and storage medium
CN115883748A (en) Data playback synchronization method and device, electronic equipment and storage medium
US20180018292A1 (en) Method and apparatus for detecting and resolving bus hang in a bus controlled by an interface clock
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN113468879A (en) Method, system, electronic device and medium for judging unknown words
CN110932941B (en) A detection method, server and storage medium for cloud screen connection status
CN107291618B (en) Application storage method and device and terminal equipment

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
GR01 Patent grant
GR01 Patent grant