CN110430604B - Network control method, system, electronic equipment and storage medium - Google Patents

Network control method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN110430604B
CN110430604B CN201910713055.XA CN201910713055A CN110430604B CN 110430604 B CN110430604 B CN 110430604B CN 201910713055 A CN201910713055 A CN 201910713055A CN 110430604 B CN110430604 B CN 110430604B
Authority
CN
China
Prior art keywords
wifi
interface
switch
module
wifi module
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
CN201910713055.XA
Other languages
Chinese (zh)
Other versions
CN110430604A (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.)
Shenzhen KTC Commercial Technology Co Ltd
Original Assignee
Shenzhen KTC Commercial Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen KTC Commercial Technology Co Ltd filed Critical Shenzhen KTC Commercial Technology Co Ltd
Priority to CN201910713055.XA priority Critical patent/CN110430604B/en
Publication of CN110430604A publication Critical patent/CN110430604A/en
Application granted granted Critical
Publication of CN110430604B publication Critical patent/CN110430604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0077Transmission or use of information for re-establishing the radio link of access information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a network control method, a system, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: detecting whether a first preset condition and a second preset condition are met; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on; if yes, loading the drivers of the first WIFI module and the second WIFI module; the method comprises the steps of starting a first interface so as to provide wifi service through the first interface, starting a second interface, and providing hot spot service through the second interface. Therefore, the network control method can simultaneously carry out WIFI connection and hotspot sharing, and avoids the problem that a user switches WIFI and hotspots back and forth in the process of using the electronic equipment.

Description

Network control method, system, electronic equipment and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a network control method, a network control system, an electronic device, and a computer-readable storage medium.
Background
For an electronic device using an android system, such as an electronic whiteboard product, in the related art, when one WIFI module is inserted, only a WIFI service or a hotspot service can be provided separately. Namely, the hotspot can be closed when the WIFI is turned on for networking, and hotspot sharing cannot be performed; turning on hotspot sharing turns off WIFI and the network cannot be used.
Therefore, how to provide the WIFI service and the hotspot service simultaneously is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a network control method, a network control system, an electronic device and a computer readable storage medium, which realize the simultaneous provision of WIFI service and hotspot service.
In order to achieve the above object, the present application provides a network control method, including:
detecting whether a first preset condition and a second preset condition are met; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on;
if yes, loading the drivers of the first WIFI module and the second WIFI module;
the method comprises the steps of starting a first interface so as to provide wifi service through the first interface, starting a second interface, and providing hot spot service through the second interface.
Wherein, still include:
when the first WIFI module is detected to be inserted, acquiring states of the WIFI switch and the hotspot switch;
if the WIFI switch is in an on state and the hotspot switch is in an off state, loading the drive of the first WIFI module, and starting the first interface so as to provide WIFI service through the first interface;
if the state of the hotspot switch is on and the state of the WIFI switch is off, loading the drive of the first WIFI module, and starting the first interface so as to provide hotspot service through the first interface.
Wherein, if the state of wifi switch is for opening just the state of hotspot switch is for closing, then still include:
and when the second WIFI module is inserted and the state of the hotspot switch is on, loading the drive of the second WIFI module, and starting the second interface so as to provide hotspot service through the second interface.
Wherein, if the state of hot spot switch is for opening just the state of wifi switch is for closing, then still includes:
when the fact that the second WIFI module is inserted and the WIFI switch is turned on is detected, controlling the first WIFI module to stop service;
and executing the step of loading the drivers of the first WIFI module and the second WIFI module.
Wherein, still include:
when the first WIFI module is detected to be pulled out or the WIFI switch is detected to be turned off, controlling the first interface and the second interface to stop service;
and when the second WIFI module is detected to be pulled out or the hotspot switch is detected to be closed, controlling the second interface to stop service.
Wherein, still include:
and displaying the states of the wifi switch and the hotspot switch.
Wherein, still include:
acquiring a bridging state of a bridging switch;
and if the bridging state is closed, interrupting the communication between the first WIFI module and the second WIFI module.
To achieve the above object, the present application provides a network control system, including:
the detection module is used for detecting whether a first preset condition and a second preset condition are met or not; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on;
the first loading module is used for loading the drivers of the first WIFI module and the second WIFI module when a first preset condition and a second preset condition are met;
the first starting module is used for starting the first interface so as to provide wifi service through the first interface, starting the second interface and providing hot spot service through the second interface.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
a processor for implementing the steps of the network control method as described above when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the network control method as described above.
According to the above scheme, the network control method provided by the present application includes: detecting whether a first preset condition and a second preset condition are met; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on; if yes, loading the drivers of the first WIFI module and the second WIFI module; the method comprises the steps of starting a first interface so as to provide wifi service through the first interface, starting a second interface, and providing hot spot service through the second interface.
According to the network control method, the first WIFI module and the second WIFI module are used for providing WIFI service and hotspot service respectively, other devices are connected with the electronic device through the first interface to be in WIFI connection, and hotspot sharing is achieved through the second interface. Therefore, the network control method can simultaneously carry out WIFI connection and hotspot sharing, and avoids the problem that a user switches WIFI and hotspots back and forth in the process of using the electronic equipment. The application also discloses a network control system, an electronic device and a computer readable storage medium, which can also realize the technical effects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of network control according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another method of network control according to an example embodiment;
FIG. 3 is a block diagram of a network control system according to an exemplary embodiment;
FIG. 4 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses a network control method, which realizes the simultaneous provision of WIFI service and hotspot service.
Referring to fig. 1, a flowchart of a network control method according to an exemplary embodiment is shown, as shown in fig. 1, including:
s101: detecting whether a first preset condition and a second preset condition are met; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on; if yes, entering S102;
the execution subject of the embodiment is a processor in an electronic device, which may be an electronic whiteboard product and may use an android system. In the dual service mode, i.e. when wifi service and hotspot service need to be provided simultaneously, S102 is entered.
The judgment condition of the double service modes is that a first preset condition and a second preset condition are met simultaneously, the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, namely at least two WIFI modules are inserted, one WIFI module is used for providing WIFI service, and the other WIFI module is used for providing hot spot service. The second preset condition is that the states of the wifi switch and the hot spot switch are both started, and the user can control the states of the wifi switch and the hot spot switch through a display interface of the electronic device.
S102: loading drivers of the first WIFI module and the second WIFI module;
in this step, the drivers of the first WIFI module and the second WIFI module are loaded, and in the first WIFI module and the second WIFI module, one WIFI module is used for providing WIFI service, and the other WIFI module is used for providing hot spot service.
S103: the method comprises the steps of starting a first interface so as to provide wifi service through the first interface, starting a second interface, and providing hot spot service through the second interface.
In this step, the first interface and the second interface are started, the other devices are connected with the electronic device through the first interface so as to be connected with WIFI, and the electronic device is connected with the hotspot through the second interface. A first interface such as wlan0 and a second interface such as wlan 1.
It should be noted that, the process of providing a single service (wifi service or hotspot service) is as follows: when the first WIFI module is detected to be inserted, acquiring states of the WIFI switch and the hotspot switch; if the WIFI switch is in an on state and the hotspot switch is in an off state, loading the drive of the first WIFI module, and starting the first interface so as to provide WIFI service through the first interface; if the state of the hotspot switch is on and the state of the WIFI switch is off, loading the drive of the first WIFI module, and starting the first interface so as to provide hotspot service through the first interface.
In a single service mode, only WIFI or hotspots can be independently started, a WIFI network architecture of an android system can be used, only one WIFI module can be inserted, certainly, a plurality of WIFI modules can be inserted, and only a switch of one service is started. In this mode, a driver of a WIFI module (i.e. the first WIFI module mentioned above) is loaded, and the first interface is used as a network interface, that is, other devices connect to the electronic device through the first interface, and connect to WIFI or a hotspot through the first interface, where the first interface is, for example, wlan 0.
On the basis of the above embodiment, as a preferred implementation, the method further includes: and displaying the states of the wifi switch and the hotspot switch. In specific implementation, the display interface displays the states (on or off) of the wifi switch and the hotspot switch, and a user can adjust the states of the two switches through the display interface.
On the basis of the above embodiment, as a preferred implementation, the method further includes: acquiring a bridging state of a bridging switch; and if the bridging state is closed, interrupting the communication between the first WIFI module and the second WIFI module. In a specific implementation, in a dual-service mode, the WIFI and the hotspot are simultaneously turned on, when the bridge switch is turned off, network communication between the WIFI and the hotspot is interrupted, a user cannot access WIFI network data connected to the electronic device through a hotspot network of the electronic device, and can only use the WIFI network data as a local area network, and if the electronic device is an electronic whiteboard, only functions such as screen projection are supported.
Preferably, in the single service mode or the dual service mode, the electronic device may memorize the WIFI and the hotspot opening state before the shutdown, and may automatically perform the opening operation of the WIFI and the hotspot after the startup.
According to the network control method provided by the embodiment of the application, the first WIFI module and the second WIFI module are used for providing the WIFI service and the hotspot service respectively, other equipment is connected with the electronic equipment through the first interface to carry out WIFI connection, and hotspot sharing is achieved through the second interface. Therefore, the network control method provided by the embodiment of the application can simultaneously carry out WIFI connection and hotspot sharing, and avoids the problem that a user switches WIFI and hotspots back and forth in the process of using the electronic equipment.
The following describes a process for switching from the single service mode to the dual service mode, specifically, as shown in fig. 2, the process includes:
s201: when the first WIFI module is detected to be inserted, acquiring states of the WIFI switch and the hotspot switch; if the wifi switch is in an on state and the hotspot switch is in an off state, entering S202; if the state of the hot spot switch is on and the state of the wifi switch is off, entering S204;
s202: loading a driver of the first WIFI module, and starting the first interface so as to provide WIFI service through the first interface;
s203: and when the second WIFI module is inserted and the state of the hotspot switch is on, loading the drive of the second WIFI module, and starting the second interface so as to provide hotspot service through the second interface.
In this embodiment, when the electronic device is in the WIFI mode, that is, only WIFI service is provided, when it is detected that another WIFI module (that is, the second WIFI module in this step) is inserted and a hotspot needs to be opened, the driver of the second WIFI module is loaded, and the other devices are connected to the hotspot of the electronic device through the second interface.
S204: and loading the driver of the first WIFI module, and starting the first interface so as to provide hot spot service through the first interface.
S205: when the fact that the second WIFI module is inserted and the WIFI switch is turned on is detected, controlling the first WIFI module to stop service;
s206: loading drivers of the first WIFI module and the second WIFI module;
s207: the method comprises the steps of starting a first interface so as to provide wifi service through the first interface, starting a second interface, and providing hot spot service through the second interface.
In this embodiment, when the electronic device is in the hotspot mode, that is, only provides a hotspot service, when it is detected that another WIFI module (that is, the second WIFI module in this step) is inserted and WIFI needs to be started, the service of the currently running first WIFI module needs to be stopped first. At this time, the electronic device does not have a running WIFI module, and the process of the previous embodiment may be executed, that is, the drivers of the first WIFI module and the second WIFI module are loaded at the same time, the first interface and the second interface are started, and WIFI service and hotspot service are provided at the same time
Therefore, the number of the inserted WIFI modules can be judged in the embodiment, so that the single service mode can be freely switched to the double service mode.
The following describes a process of switching from a dual service mode to a single service mode, which specifically includes: when the first WIFI module is detected to be pulled out or the WIFI switch is detected to be turned off, controlling the first interface and the second interface to stop service; and when the second WIFI module is detected to be pulled out or the hotspot switch is detected to be closed, controlling the second interface to stop service.
When the WIFI and the hot spot are simultaneously started, two conditions of pulling out a WIFI module corresponding to the WIFI service and pulling out a WIFI module corresponding to the hot spot service exist, and the process is opposite to the process of switching the single service mode into the double service mode. Specifically, the WIFI module corresponding to the WIFI service is unplugged, the WIFI and the hot spot are simultaneously closed after the single WIFI module is changed into the single WIFI module, and the first interface and the second interface are closed. And unplugging the WIFI module corresponding to the hotspot service, turning to a single WIFI, and then only closing the second interface corresponding to the hotspot service, wherein the WIFI module corresponding to the WIFI service continues to keep a starting state and uses the first interface.
Therefore, the number of the inserted WIFI modules can be judged in the embodiment, so that the double-service mode can be freely switched to the single-service mode.
In the following, a network control system provided by an embodiment of the present application is introduced, and a network control system described below and a network control method described above may be referred to each other.
Referring to fig. 3, a block diagram of a network control system according to an exemplary embodiment is shown, as shown in fig. 3, including:
the detection module 301 is configured to detect whether a first preset condition and a second preset condition are met; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on;
the first loading module 302 is configured to load drivers of the first WIFI module and the second WIFI module when a first preset condition and a second preset condition are met;
the first starting module 303 is configured to start the first interface, so as to provide wifi service through the first interface, start the second interface, and provide hot spot service through the second interface.
According to the network control system provided by the embodiment of the application, the first WIFI module and the second WIFI module are used for providing WIFI service and hotspot service respectively, other equipment is connected with the electronic equipment through the first interface for WIFI connection, and hotspot sharing is achieved through the second interface. Therefore, the network control system provided by the embodiment of the application can simultaneously carry out WIFI connection and hotspot sharing, and avoids the problem that a user switches WIFI and hotspots back and forth in the process of using the electronic equipment.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
the first acquisition module is used for acquiring the states of the WIFI switch and the hotspot switch when the first WIFI module is detected to be inserted; if the wifi switch is in an on state and the hotspot switch is in an off state, starting a working process of a second loading module; if the state of the hotspot switch is on and the state of the wifi switch is off, starting a working process of a third loading module;
the second loading module is used for loading the drive of the first WIFI module and starting the first interface so as to provide WIFI service through the first interface;
and the third loading module is used for loading the drive of the first WIFI module and starting the first interface so as to provide hot spot service through the first interface.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
and the second starting module is used for loading the drive of the second WIFI module and starting the second interface when the second WIFI module is inserted and the state of the hotspot switch is started, so that the hotspot service is provided through the second interface.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
and the control module is used for controlling the first WIFI module to stop service and starting the working process of the first loading module 302 when the second WIFI module is detected to be inserted and the WIFI switch is started.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
the first stopping module is used for controlling the first interface and the second interface to stop service when the first WIFI module is detected to be pulled out or the WIFI switch is detected to be closed;
and the second stopping module is used for controlling the second interface to stop service when the second WIFI module is detected to be pulled out or the hotspot switch is detected to be turned off.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
and the display module is used for displaying the states of the wifi switch and the hotspot switch.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
the second acquisition module is used for acquiring the bridging state of the bridging switch; if the bridging state is closed, starting the working process of the interrupt module;
and the interruption module is used for interrupting the communication between the first WIFI module and the second WIFI module.
With regard to the system in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present application further provides an electronic device, and referring to fig. 4, a structure diagram of an electronic device 400 provided in an embodiment of the present application, as shown in fig. 4, may include a processor 11 and a memory 12. The electronic device 400 may also include one or more of a multimedia component 13, an input/output (I/O) interface 14, and a communication component 15.
The processor 11 is configured to control the overall operation of the electronic device 400, so as to complete all or part of the steps in the network control method. The memory 12 is used to store various types of data to support operation at the electronic device 400, such as instructions for any application or method operating on the electronic device 400 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 12 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 13 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 12 or transmitted via the communication component 15. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 14 provides an interface between the processor 11 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 15 is used for wired or wireless communication between the electronic device 400 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so that the corresponding Communication component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the network control method described above.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described network control method. For example, the computer readable storage medium may be the memory 12 described above including program instructions that are executable by the processor 11 of the electronic device 400 to perform the network control method described above.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (7)

1. A network control method, comprising:
detecting whether a first preset condition and a second preset condition are met; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on;
if yes, loading the drivers of the first WIFI module and the second WIFI module;
starting a first interface so as to provide wifi service through the first interface, starting a second interface, and providing hot spot service through the second interface; wherein the first interface and the second interface are different wlan interfaces;
wherein, still include:
when the first WIFI module is detected to be inserted, acquiring states of the WIFI switch and the hotspot switch;
if the WIFI switch is in an on state and the hotspot switch is in an off state, loading the drive of the first WIFI module, and starting the first interface so as to provide WIFI service through the first interface; when the fact that the second WIFI module is inserted and the state of the hotspot switch is on is detected, loading the drive of the second WIFI module, and starting the second interface so as to provide hotspot service through the second interface;
if the state of the hotspot switch is on and the state of the WIFI switch is off, loading the drive of the first WIFI module, and starting the first interface so as to provide hotspot service through the first interface; when the fact that the second WIFI module is inserted and the WIFI switch is turned on is detected, controlling the first WIFI module to stop service; and executing the step of loading the drivers of the first WIFI module and the second WIFI module.
2. The network control method according to claim 1, further comprising:
when the first WIFI module is detected to be pulled out or the WIFI switch is detected to be turned off, controlling the first interface and the second interface to stop service;
and when the second WIFI module is detected to be pulled out or the hotspot switch is detected to be closed, controlling the second interface to stop service.
3. The network control method according to claim 1, further comprising:
and displaying the states of the wifi switch and the hotspot switch.
4. The network control method according to any one of claims 1 to 3, further comprising:
acquiring a bridging state of a bridging switch;
and if the bridging state is closed, interrupting the communication between the first WIFI module and the second WIFI module.
5. A network control system, comprising:
the detection module is used for detecting whether a first preset condition and a second preset condition are met or not; the first preset condition is that a first WIFI module and a second WIFI module are inserted simultaneously, and the second preset condition is that states of a WIFI switch and a hotspot switch are both on;
the first loading module is used for loading the drivers of the first WIFI module and the second WIFI module when a first preset condition and a second preset condition are met;
the first starting module is used for starting the first interface so as to provide wifi service through the first interface, starting the second interface and providing hot spot service through the second interface; wherein the first interface and the second interface are different wlan interfaces;
wherein, still include:
the first acquisition module is used for acquiring the states of the WIFI switch and the hotspot switch when the first WIFI module is detected to be inserted; if the wifi switch is in an on state and the hotspot switch is in an off state, starting a working process of a second loading module; if the state of the hotspot switch is on and the state of the wifi switch is off, starting a working process of a third loading module;
the second loading module is used for loading the drive of the first WIFI module and starting the first interface so as to provide WIFI service through the first interface;
the second starting module is used for loading the drive of the second WIFI module and starting the second interface so as to provide hot spot service through the second interface when the fact that the second WIFI module is inserted and the state of the hot spot switch is started is detected;
the third loading module is used for loading the drive of the first WIFI module and starting the first interface so as to provide hot spot service through the first interface;
and the control module is used for controlling the first WIFI module to stop service and starting the working process of the first loading module when the second WIFI module is detected to be inserted and the WIFI switch is started.
6. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network control method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the network control method according to any one of claims 1 to 4.
CN201910713055.XA 2019-08-02 2019-08-02 Network control method, system, electronic equipment and storage medium Active CN110430604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910713055.XA CN110430604B (en) 2019-08-02 2019-08-02 Network control method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910713055.XA CN110430604B (en) 2019-08-02 2019-08-02 Network control method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110430604A CN110430604A (en) 2019-11-08
CN110430604B true CN110430604B (en) 2022-03-25

Family

ID=68413970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910713055.XA Active CN110430604B (en) 2019-08-02 2019-08-02 Network control method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110430604B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114158136B (en) * 2020-08-17 2023-06-09 Oppo(重庆)智能科技有限公司 WiFi mode configuration method and device and computer-readable storage medium
CN113015264A (en) * 2021-02-22 2021-06-22 斑马网络技术有限公司 Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium
CN113453382A (en) * 2021-06-16 2021-09-28 深圳市元征未来汽车技术有限公司 Network connection method, network connection device, electronic device, and storage medium
CN113259948A (en) * 2021-07-14 2021-08-13 广州朗国电子科技股份有限公司 Method for simultaneously working STA and AP and related equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202873086U (en) * 2012-10-31 2013-04-10 上海斐讯数据通信技术有限公司 Wireless double-frequency AP (Access Point)
CN104717684A (en) * 2015-03-30 2015-06-17 福州瑞芯微电子有限公司 WIFI mode virtual co-existence method and device
CN104734925A (en) * 2015-03-17 2015-06-24 杭州鸿雁电器有限公司 Wall surface type information integrated panel
CN105592424A (en) * 2014-10-24 2016-05-18 东莞宇龙通信科技有限公司 Network sharing method, network sharing device, and terminal
CN106304101A (en) * 2016-07-29 2017-01-04 北京小米移动软件有限公司 Share the method and device of network
CN106488470A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of realize method, device and the terminal that Miracast and hotspot coexist
CN107454615A (en) * 2017-07-19 2017-12-08 中国移动通信集团福建有限公司 A kind of double wifi control methods of set top box
CN208013945U (en) * 2018-04-04 2018-10-26 广州视源电子科技股份有限公司 A kind of WIFI peripheral hardwares
WO2019037190A1 (en) * 2017-08-23 2019-02-28 华为技术有限公司 Wi-fi hotspot connection method and terminal
CN109548040A (en) * 2017-08-14 2019-03-29 中兴通讯股份有限公司 Method for connecting network and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813232B (en) * 2016-03-04 2019-09-06 努比亚技术有限公司 Mobile terminal and network share method
US10492206B2 (en) * 2017-06-02 2019-11-26 Apple Inc. Coexistence of collocated radios

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202873086U (en) * 2012-10-31 2013-04-10 上海斐讯数据通信技术有限公司 Wireless double-frequency AP (Access Point)
CN105592424A (en) * 2014-10-24 2016-05-18 东莞宇龙通信科技有限公司 Network sharing method, network sharing device, and terminal
CN104734925A (en) * 2015-03-17 2015-06-24 杭州鸿雁电器有限公司 Wall surface type information integrated panel
CN104717684A (en) * 2015-03-30 2015-06-17 福州瑞芯微电子有限公司 WIFI mode virtual co-existence method and device
CN106488470A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of realize method, device and the terminal that Miracast and hotspot coexist
CN106304101A (en) * 2016-07-29 2017-01-04 北京小米移动软件有限公司 Share the method and device of network
CN107454615A (en) * 2017-07-19 2017-12-08 中国移动通信集团福建有限公司 A kind of double wifi control methods of set top box
CN109548040A (en) * 2017-08-14 2019-03-29 中兴通讯股份有限公司 Method for connecting network and device
WO2019037190A1 (en) * 2017-08-23 2019-02-28 华为技术有限公司 Wi-fi hotspot connection method and terminal
CN208013945U (en) * 2018-04-04 2018-10-26 广州视源电子科技股份有限公司 A kind of WIFI peripheral hardwares

Also Published As

Publication number Publication date
CN110430604A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110430604B (en) Network control method, system, electronic equipment and storage medium
EP3575950B1 (en) Terminal control method, device and computer readable storage medium
KR101777070B1 (en) Method, device and apparatus for application switching
US11985468B2 (en) Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium
CN104142859A (en) Fast switching method and device for double systems and mobile terminal
RU2641257C2 (en) Device management method and device
US11966563B2 (en) Menu display method and apparatus, electronic device, and storage medium
CN104516781B (en) A kind of operating system language switching method and device
EP3076745B1 (en) Methods and apparatuses for controlling wireless access point
KR20080104743A (en) A method for providing mode selection user interface in a dual mode mobile station and a dual mode mobile station therefor
CN103813117A (en) Image output system and image signal generation apparatus
US20160286023A1 (en) Method and device for loading user interface theme
WO2019137155A1 (en) Screen display mode switching method and device, storage medium and electronic device
US20170019482A1 (en) Method and apparatus for downloading control program
WO2022048491A1 (en) Application running method and apparatus and electronic device
CN110851057A (en) Method and device for configuring configuration options of BIOS
CN104516704B (en) Application activation control method and device in multi-screen system and mobile terminal
CN105472679A (en) Communication terminal network switching method and device
JP2019537116A (en) Method of adjusting screen-on period of terminal and terminal
RU2665268C2 (en) Keyboard style switching method and device
CN104965746B (en) The method and device of quick start
CN111443956A (en) Setting control display method and device, storage medium and electronic equipment
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN106775296B (en) Terminal control method and device
CN111625305B (en) Method, device, terminal and storage medium for switching target function

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