WO2017128663A1 - 移动终端及wifi控制方法、存储介质 - Google Patents

移动终端及wifi控制方法、存储介质 Download PDF

Info

Publication number
WO2017128663A1
WO2017128663A1 PCT/CN2016/092086 CN2016092086W WO2017128663A1 WO 2017128663 A1 WO2017128663 A1 WO 2017128663A1 CN 2016092086 W CN2016092086 W CN 2016092086W WO 2017128663 A1 WO2017128663 A1 WO 2017128663A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
processing module
connection
application
processing
Prior art date
Application number
PCT/CN2016/092086
Other languages
English (en)
French (fr)
Inventor
易晓柯
王佰祥
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017128663A1 publication Critical patent/WO2017128663A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a mobile terminal and a Wi-Fi (Wireless Fidelity) control method and a storage medium.
  • Wi-Fi Wireless Fidelity
  • Wi-Fi modules Since the Wi-Fi module of the existing mobile terminal usually has only one Wi-Fi chip and the corresponding protocol stack and upper layer application, only the connection to one Wi-Fi hotspot is supported, and due to the bandwidth limitation of Wi-Fi and Wi-Fi. The influence of factors such as the number of mobile terminals connected to the hotspots is low, resulting in low network access efficiency.
  • the embodiments of the present invention provide a mobile terminal, a Wi-Fi control method, and a storage medium, which are intended to improve network access efficiency.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a first Wi-Fi application module, a second Wi-Fi application module, and the first Wi-Fi application module and the second a Wi-Fi service module connected to the Wi-Fi application module, and a first processing module and a second processing module connected to the Wi-Fi service module;
  • the first Wi-Fi application module or the second Wi-Fi application module is configured to send a Wi-Fi connection command to the Wi-Fi service module when receiving a Wi-Fi connection operation input by a user;
  • the Wi-Fi service module is configured to: when the Wi-Fi connection command is received, Sending a Wi-Fi connection command to the corresponding first processing module or second processing module;
  • the first processing module is configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module; a processing module, configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module;
  • the Wi-Fi service module is configured to initiate routing configuration of dual Wi-Fi Internet data when the Wi-Fi connection is successful, and when the first processing module and the second processing module are both in a normal data communication state. Data communication is simultaneously performed by the first processing module and the second processing module.
  • the first processing module includes a first Wi-Fi processing unit and a first Wi-Fi chip
  • the second processing module includes a second Wi-Fi processing unit and a second Wi- Fi chip
  • the first Wi-Fi processing unit is configured to send the Wi-Fi connection command and a corresponding protocol to the first Wi when receiving a Wi-Fi connection instruction sent by the Wi-Fi service module a second Wi-Fi processing unit configured to, when receiving the Wi-Fi connection command sent by the Wi-Fi service module, send the Wi-Fi connection command and a corresponding protocol to the Said second Wi-Fi chip;
  • the first Wi-Fi chip or the second Wi-Fi chip is configured to establish a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • the Wi-Fi service module is configured to send the connection status information to the connection status information sent by the first processing module or the second processing module to Corresponding first Wi-Fi application module or second Wi-Fi application module;
  • the first Wi-Fi application module or the second Wi-Fi application module is configured to be in the first Wi-Fi application when receiving the connection status information sent by the Wi-Fi service module
  • the connection status information is displayed on a module or an application interface corresponding to the second Wi-Fi application module.
  • the Wi-Fi service module is configured to send an IP address acquisition command to the first processing module and the second processing module when the Wi-Fi connection is successful; and receive When the first IP address fed back by the first processing module and the second IP address fed back by the second processing module are determined, it is determined whether the first processing module and the second processing module are both in a data communication normal state.
  • the Wi-Fi service module is configured to start a single when the Wi-Fi connection is successful and the first processing module or the second processing module is in a normal state of data communication.
  • the routing configuration of the Wi-Fi Internet data is performed by the first processing module or the second processing module.
  • an embodiment of the present invention further provides a Wi-Fi control method, where the Wi-Fi control method includes the following steps:
  • the first Wi-Fi application module or the second Wi-Fi application module sends a Wi-Fi connection command to the Wi-Fi service module when receiving the Wi-Fi connection operation input by the user;
  • the first processing module or the second processing module When receiving the Wi-Fi connection instruction sent by the Wi-Fi service module, the first processing module or the second processing module establishes a Wi-Fi connection according to the Wi-Fi connection instruction and the corresponding protocol;
  • the Wi-Fi service module starts routing configuration of dual Wi-Fi Internet data, The first processing module and the second processing module simultaneously perform data communication.
  • the first processing module includes a first Wi-Fi processing unit and a first Wi-Fi chip
  • the second processing module includes a second Wi-Fi processing unit and a second Wi- a Fi chip
  • the first processing module or the second processing module when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module, according to the Wi-Fi connection instruction and a corresponding protocol
  • the steps to establish a Wi-Fi connection include:
  • the first Wi-Fi processing unit or the second Wi-Fi processing unit when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module, the Wi-Fi connection instruction and the corresponding protocol Sending to a corresponding first Wi-Fi chip or a second Wi-Fi chip;
  • the method when the first processing module or the second processing module receives the Wi-Fi connection instruction sent by the Wi-Fi service module, according to the Wi-Fi connection instruction and After the corresponding protocol establishes a Wi-Fi connection, the method further includes:
  • connection status information Sending, by the Wi-Fi service module, the connection status information to the corresponding first Wi-Fi application module or the second when receiving the connection status information sent by the first processing module or the second processing module Wi-Fi application module;
  • the first Wi-Fi application module or the second Wi-Fi application module receives the connection state information sent by the Wi-Fi service module, the first Wi-Fi application module or the The connection status information is displayed on an application interface corresponding to the second Wi-Fi application module.
  • the method when the first processing module or the second processing module receives the Wi-Fi connection instruction sent by the Wi-Fi service module, according to the Wi-Fi connection instruction and After the corresponding protocol establishes a Wi-Fi connection, the method further includes:
  • the Wi-Fi service module sends an IP address acquisition instruction to the first processing module and the second processing module;
  • the first processing module When receiving the IP address acquisition instruction, the first processing module feeds back a first IP address to the Wi-Fi service module, and when the second processing module receives the IP address acquisition instruction, the second processing module Said Wi-Fi service module feeds back a second IP address;
  • the Wi-Fi control method further includes the steps of:
  • the Wi-Fi service module initiates routing configuration of single Wi-Fi Internet data, by the A processing module or the second processing module performs data communication.
  • an embodiment of the present invention provides a Wi-Fi control device, where the mobile device includes a first Wi-Fi application module, a second Wi-Fi application module, and the first Wi-Fi application module and the a Wi-Fi service module connected to the second Wi-Fi application module, and a first processing module and a second processing module connected to the Wi-Fi service module;
  • the first Wi-Fi application module or the second Wi-Fi application module is configured to send a Wi-Fi connection command to the Wi-Fi service module when receiving a Wi-Fi connection operation input by a user;
  • the Wi-Fi service module is configured to, when receiving the Wi-Fi connection instruction, send the Wi-Fi connection instruction to a corresponding first processing module or a second processing module;
  • the first processing module is configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module; a processing module, configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module;
  • the Wi-Fi service module is configured to initiate routing configuration of dual Wi-Fi Internet data when the Wi-Fi connection is successful, and when the first processing module and the second processing module are both in a normal data communication state. Data communication is simultaneously performed by the first processing module and the second processing module.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a processor, configured to execute a first Wi-Fi application module, a second Wi-Fi application module, and Wi-Fi connected to the first Wi-Fi application module and the second Wi-Fi application module a service module, and functions of the first processing module and the second processing module connected to the Wi-Fi service module, wherein:
  • the first Wi-Fi application module or the second Wi-Fi application module sends a Wi-Fi connection command to the Wi-Fi service module when receiving the Wi-Fi connection operation input by the user;
  • the first processing module or the second processing module When receiving the Wi-Fi connection instruction sent by the Wi-Fi service module, the first processing module or the second processing module establishes a Wi-Fi connection according to the Wi-Fi connection instruction and the corresponding protocol;
  • the Wi-Fi service module starts routing configuration of dual Wi-Fi Internet data, The first processing module and the second processing module simultaneously perform data communication.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement the Wi-Fi control method described in the foregoing second embodiment. .
  • the user can access the same network at the same time through the first processing module and the second processing module, or access different networks through the first processing module and the second processing module respectively, thereby improving the access efficiency of the network.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
  • FIG. 3 is a schematic structural diagram of a frame of a first embodiment of a mobile terminal according to the present invention.
  • FIG. 4 is a schematic diagram of a refinement function module of a first processing module of a mobile terminal according to the present invention
  • FIG. 5 is a schematic diagram of a refinement function module of a second processing module of a mobile terminal according to the present invention.
  • FIG. 6 is a schematic structural diagram of a refinement frame of a mobile terminal according to the present invention.
  • FIG. 7 is a schematic flowchart of a first embodiment of a Wi-Fi control method according to the present invention.
  • FIG. 8 is a schematic flowchart diagram of a second embodiment of a Wi-Fi control method according to the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic structural diagram of hardware of an optional mobile terminal that implements various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, a processor 180, a power supply unit 190, a display unit 151, and the like.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components, such as a Wi-Fi chip, a wireless communication chip, a Bluetooth chip, an NFC chip, etc., that allows for radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit may include a broadcast receiving module 111, At least one of the mobile communication module 112, the wireless internet module 113, the short-range communication module 114, and the location information module 115.
  • the wireless communication unit 110 is connected to the processor 180, and acquires a current data service interaction mode of the mobile terminal, and detects a data transmission rate corresponding to each data service interaction mode in the obtained data service interaction mode.
  • the processor 180 typically controls the overall operation of the mobile terminal. For example, processor 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, processor 180 can include a multimedia module 1810 configured to render (or play back) multimedia data, which can be constructed within processor 180 or can be configured to be separate from processor 180. The processor 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. It is further configured to confirm whether to switch the current data service interaction mode of the mobile terminal according to a data transmission rate and/or a power consumption corresponding to each data service interaction manner.
  • a multimedia module 1810 configured to render (or play back) multimedia data, which can be constructed within processor 180 or can be configured to be separate from processor 180.
  • the processor 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. It is further configured to confirm whether to switch the current data service interaction mode of the mobile terminal according to
  • the power supply unit 190 receives external power or internal power under the control of the processor 180 and provides appropriate power required to operate the various components and components. It is also used to calculate the power consumption corresponding to each data service interaction manner according to the transmission rate.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays It may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein are implemented, and in some cases, such an implementation may be implemented in the processor 180.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by processor 180.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • Such communication systems may use different air interfaces and/or physical layers.
  • the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), code division. Multiple Access (CDMA) and Universal Mobile Telecommunications System (UMTS) (particularly, Long Term Evolution (LTE)), Global System for Mobile Communications (GSM), and the like.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
  • the MSC 280 is configured to interface with a public switched telephone network (PSTN) 290.
  • PSTN public switched telephone network
  • the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or Xdsl. It will be appreciated that the system as shown in FIG. 2 may include multiple BSC 2750s.
  • Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 mhz, 5 mhz, etc.).
  • BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
  • BTS Base Transceiver Subsystem
  • the term "base station” can be used to generally refer to a single BSC 275 and at least one BS 270.
  • a base station can also be referred to as a "cell station.”
  • each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites.
  • the GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information.
  • Alternative GPS tracking technology or tracking in GPS In addition to technology, other techniques that can track the location of the mobile terminal can be used.
  • at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
  • BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • FIG. 2 is a communication system architecture diagram of a 2G mobile network. In the following embodiments of the present invention, a communication system of a 3G and 4G mobile network may also be used.
  • FIG. 1 and FIG. 2 various embodiments of the mobile terminal of the present invention are proposed based on the above-described mobile terminal hardware structure and communication system.
  • the mobile terminal includes a first Wi-Fi application module 10, a second Wi-Fi application module 20, and a first Wi-Fi.
  • a Wi-Fi service module 30 connected to the application module 10 and the second Wi-Fi application module 20, and a first processing module 40 and a second processing module 50 connected to the Wi-Fi service module 30;
  • the first Wi-Fi application module 10 or the second Wi-Fi application module 20 is configured to send a Wi-Fi connection command to the Wi-Fi service module 30 when receiving a Wi-Fi connection operation input by the user;
  • the Wi-Fi service module 30 is configured to send a Wi-Fi connection command to the corresponding first processing module 40 or the second processing module 50 when receiving the Wi-Fi connection instruction;
  • the first processing module 40 is configured to establish a Wi-Fi connection according to the Wi-Fi connection command and the corresponding protocol when receiving the Wi-Fi connection command sent by the Wi-Fi service module 30;
  • the second processing module 50 is configured to Upon receiving the Wi-Fi connection command sent by the Wi-Fi service module 30, the root Establish a Wi-Fi connection according to the Wi-Fi connection command and the corresponding protocol;
  • the Wi-Fi service module 30 is configured to start the routing configuration of the dual Wi-Fi Internet data when the Wi-Fi connection is successful, and the first processing module 40 and the second processing module 50 are both in the normal state of data communication.
  • a processing module 40 and a second processing module 50 simultaneously perform data communication.
  • the mobile terminal provided by the present invention mainly includes a Wi-Fi enabled terminal device such as a mobile phone and a PAD (Tablet Computer).
  • the mobile terminal is mainly applied to dual Wi-Fi communication.
  • the mobile terminal is not limited to the dual Wi-Fi communication mode provided by the present invention, and may also be three Wi- Multi-Wi-Fi communication mode above Fi and three Wi-Fi.
  • the first Wi-Fi application module 10 and the second Wi-Fi application module 20 of the mobile terminal provide a corresponding Wi-Fi application operation interface for the user to perform corresponding control and operation through the Wi-Fi application operation interface.
  • the first Wi-Fi application module 10 and the second Wi-Fi application module 20 can respectively control the disconnection of the connection between the first processing module 40 and the second processing module 50 through the Wi-Fi service module 30.
  • the first processing module 40 and the second processing module 50 respectively process the instructions issued by the first Wi-Fi application module 10 and the second Wi-Fi application module 20, the connection status information of the Wi-Fi hotspot, and the like.
  • the user may use the Wi-Fi application operation interface corresponding to the first Wi-Fi application module 10 or the Wi-Fi corresponding to the second Wi-Fi application module 20
  • the application operation interface selects a Wi-Fi hotspot to perform a Wi-Fi connection operation, and the first Wi-Fi application module 10 or the second Wi-Fi application module 20 triggers a Wi-Fi connection command when receiving a Wi-Fi connection operation. And transmitting the Wi-Fi connection command to the Wi-Fi service module 30.
  • the Wi-Fi application module 10 when the user performs a Wi-Fi connection operation based on the Wi-Fi application operation interface corresponding to the first Wi-Fi application module 10, when the first Wi-Fi application module 10 receives the Wi-Fi connection operation, the Wi- is triggered.
  • the Fi connection command transmits the Wi-Fi connection command to the Wi-Fi service module 30.
  • the Wi-Fi service module 30 determines whether the processing module corresponding to the Wi-Fi connection command is the first processing module 40 or the second processing module. Block 50, that is, determining whether the user is performing a Wi-Fi connection operation based on the first Wi-Fi application module 10 or performing a Wi-Fi connection operation based on the second Wi-Fi application module 20.
  • the first Wi-Fi application module 10 when the user performs a Wi-Fi connection operation based on the Wi-Fi application operation interface corresponding to the first Wi-Fi application module 10, the first Wi-Fi application module 10 sends a Wi-Fi connection command to When the Wi-Fi service module 30 is used, the Wi-Fi service module 30 determines that the Wi-Fi connection command corresponds to the first processing module 40; when the user performs Wi-Fi based on the Wi-Fi application operation interface corresponding to the second Wi-Fi application module 20 When the second Wi-Fi application module 20 transmits a Wi-Fi connection command to the Wi-Fi service module 30, the Wi-Fi service module 30 determines that the Wi-Fi connection command corresponds to the second processing module 50.
  • the Wi-Fi service module 30 determines that the Wi-Fi connection command corresponds to the first processing module 40, the Wi-Fi service module 30 sends the Wi-Fi connection command to the first processing module 40; when the Wi-Fi service module 30 When it is determined that the Wi-Fi connection command corresponds to the second processing module 50, the Wi-Fi service module 30 transmits the Wi-Fi connection command to the second processing module 50.
  • the first processing module 40 When the first processing module 40 receives the Wi-Fi connection instruction, establish a Wi-Fi connection according to the Wi-Fi connection instruction and the corresponding protocol; when the second processing module 50 receives the Wi-Fi connection instruction, according to The Wi-Fi connection command and the corresponding protocol establish a Wi-Fi connection.
  • the first processing module 40 includes a first Wi-Fi processing unit 41 and a first Wi-Fi chip 42.
  • the first Wi-Fi processing unit 41 Upon receiving the Wi-Fi connection command transmitted by the Wi-Fi service module 30, the first Wi-Fi processing unit 41 transmits the Wi-Fi connection command and the corresponding protocol to the first Wi-Fi chip 42.
  • the first Wi-Fi chip 42 establishes a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • the second processing module 50 includes a second Wi-Fi processing unit 51 and a second Wi-Fi chip 52.
  • the second Wi-Fi processing unit 51 Upon receiving the Wi-Fi connection command transmitted by the Wi-Fi service module 30, the second Wi-Fi processing unit 51 transmits the Wi-Fi connection command and the corresponding protocol to the second Wi-Fi chip 52.
  • the second Wi-Fi chip 52 establishes a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • the application layer of the mobile terminal includes the A Wi-Fi application module 10 and a second Wi-Fi application module 20, including a Wi-Fi service module 30, a first frame sub-unit 411, and a second frame sub-unit 511 at a frame layer of the mobile terminal, protocols in the mobile terminal
  • the layer includes a first protocol subunit 412 and a second protocol subunit 512
  • the driving layer of the mobile terminal includes a first driving subunit 413 and a second driving subunit 513.
  • the Wi-Fi service module 30 is connected to the first frame sub-unit 411 and the second frame sub-unit 511, respectively, the first frame sub-unit 411 is connected to the first protocol sub-unit 412, and the first protocol sub-unit 412 is connected to the first driving sub-unit 413.
  • the first driving subunit 413 is connected to the first Wi-Fi chip 42
  • the second frame subunit 511 is connected to the second protocol subunit 512
  • the second protocol subunit 512 is connected to the second driving subunit 513
  • the second driving subunit 513 is connected.
  • the second Wi-Fi chip 52 is connected.
  • the first frame sub-unit 411 When the first frame sub-unit 411 receives the Wi-Fi connection instruction sent by the Wi-Fi service module 30, the first frame sub-unit 411 transmits the Wi-Fi connection instruction to the first protocol sub-unit 412.
  • the first protocol sub-unit 412 When receiving the Wi-Fi connection command, the first protocol sub-unit 412 writes the Wi-Fi hotspot information into the corresponding configuration file and selects a specified protocol according to a protocol corresponding to the Wi-Fi hotspot, and associates the protocol with the Wi
  • the -Fi connection command is sent to the first Wi-Fi chip 42.
  • a Wi-Fi connection is established by performing an air interface interaction operation by the first Wi-Fi chip 42.
  • the first Wi-Fi chip or the second Wi-Fi chip is configured to establish a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • the second frame sub-unit 511 When the second frame sub-unit 511 receives the Wi-Fi connection command sent by the Wi-Fi service module 30, the second frame sub-unit 511 transmits the Wi-Fi connection command to the second protocol sub-unit 512.
  • the second protocol sub-unit 512 When receiving the Wi-Fi connection command, the second protocol sub-unit 512 writes the Wi-Fi hotspot information into the corresponding configuration file and selects a specified protocol according to the protocol corresponding to the Wi-Fi hotspot, and associates the protocol with the Wi The -Fi connection command is sent to the second Wi-Fi chip 52.
  • a Wi-Fi connection is established by performing an air interface interaction operation through the second Wi-Fi chip 52.
  • a routing configuration of single Wi-Fi Internet data and a routing configuration of dual Wi-Fi Internet data are preset.
  • the Wi-Fi service module 30 initiates the routing configuration of the dual Wi-Fi Internet data, and the first processing module 40 and the second processing module 50 simultaneously perform data communication. Therefore, the user can access the same network through the first processing module 40 and the second processing module 50, or access different networks through the first processing module 40 and the second processing module 50, for example, accessing the external network and the office network respectively. Internet and printers, etc.
  • the Wi-Fi service module 30 can also perform control. Operations such as bandwidth allocation of the first processing module 40 and the second processing module 50.
  • the first processing module 40 and the second processing module 50 are allocated respective bandwidths according to respective rules such as sharing or by a preset ratio.
  • the Wi-Fi service module 30 can interact with the first processing module 40 and the second processing module 50, the redundancy caused by independently operating two Wi-Fi modules is avoided, and the flow of data communication is simplified. Thereby improving the efficiency of data communication.
  • the mobile terminal includes a first Wi-Fi application module 10, a second Wi-Fi application module 20, and Wi-connected with the first Wi-Fi application module 10 and the second Wi-Fi application module 20.
  • the Fi service module 30, and the first processing module 40 and the second processing module 50 connected to the Wi-Fi service module 30.
  • the first Wi-Fi application module 10 or the second Wi-Fi application module 20 transmits a Wi-Fi connection command to the Wi-Fi service module 30 when receiving the Wi-Fi connection operation input by the user, and the Wi-Fi service module 30
  • the first processing module 40 or the second processing module 50 receives the Wi- sent by the Wi-Fi service module 30.
  • the Wi-Fi connection is established according to the Wi-Fi connection command and the corresponding protocol.
  • Wi-Fi connection is successful, and both the first processing module 40 and the second processing module 50 are in the normal state of data communication, Wi- The Fi service module 30 initiates the routing configuration of the dual Wi-Fi Internet data, and the first processing module 40 and the second processing module 50 simultaneously perform data communication. Therefore, the user can simultaneously access the first processing module 40 and the second processing module 50.
  • the user's manual Wi-Fi hotspot connection switching operation is avoided, and the user experience is improved.
  • the Wi-Fi service module 30 is configured to send an IP address acquisition command to the first process when the Wi-Fi connection is successful.
  • the first processing module 40 or the second processing module 50 when the first processing module 40 or the second processing module 50 successfully establishes a Wi-Fi connection, the first processing module 40 or the second processing module 50 sends the information of the successful Wi-Fi connection to the Wi-Fi service. Module 30.
  • the Wi-Fi service module 30 receives the information that the Wi-Fi connection is successful, the Wi-Fi service module 30 simultaneously transmits an IP address acquisition command to the first processing module 40 and the second processing module 50.
  • the first processing module 40 receives the IP address obtaining instruction
  • the first processing module 40 acquires the corresponding first IP address, and when the first IP address is obtained, sends the first IP address to the Wi-Fi service module 30.
  • the first processing module 40 determines that the first processing module 40 is in a communication normal state; the Wi-Fi service module 30 receives the first IP address sent by the first processing module 40; When receiving the null address sent by the first processing module 40, it is determined that the first processing module 40 is in a communication abnormal state.
  • the second processing module 50 When the second processing module 50 receives the IP address obtaining instruction, the second processing module 50 acquires the corresponding second IP address, and when the second IP address is obtained, sends the second IP address to the Wi-Fi service module 30.
  • the Wi-Fi service module 30 determines that the second processing module 50 is in a communication normal state if the second IP address is not empty; the Wi-Fi service module 30 When receiving the null address sent by the second processing module 50, it is determined that the second processing module 50 is in a communication abnormal state.
  • the Wi-Fi service module 30 receives the first IP address sent by the first processing module 40 and When the second IP address sent by the second processing module 50 is not empty, it is determined that both the first processing module 40 and the second processing module 50 are in a data communication normal state.
  • the Wi-Fi service module 30 taking the Wi-Fi connection successfully established by the first processing module 40, when the Wi-Fi service module 30 receives the information that the Wi-Fi connection is successful, the Wi-Fi service module 30 simultaneously The IP address acquisition instruction is sent to the first frame sub-unit 411 and the second frame sub-unit 511.
  • the first frame sub-unit 411 starts the DHCP service to obtain the first IP address, and sends an IP address acquisition instruction to the first driving unit 413 through the operating system interface, and the first driving unit 413 drives and controls the first Wi-Fi chip 42 to complete and succeed.
  • the air interface of the connected Wi-Fi hotspot interacts, the first Wi-Fi chip 42 acquires the first IP address assigned by the Wi-Fi hotspot, and uploads the first IP address to the first frame sub-unit 411.
  • the first frame sub-unit 411 stores the first IP address in the cache of the first frame sub-unit 411.
  • the second frame sub-unit 511 receives the IP address acquisition command sent by the Wi-Fi service module 30.
  • the second IP address stored in the cache of the second frame subunit 511 is sent to the Wi-Fi service module 30.
  • the Wi-Fi service module 30 is configured to start a single Wi-Fi when the Wi-Fi connection is successful and the first processing module 40 or the second processing module 50 is detected to be in a normal state of data communication.
  • the routing configuration of the Internet data is performed by the first processing module 40 or the second processing module 50 for data communication.
  • the Wi-Fi service module 30 When the Wi-Fi connection is successful, and the Wi-Fi service module 30 detects that the first processing module 40 or the second processing module 50 is in a data communication normal state, that is, one of the first processing module 40 or the second processing module 50 When in the data communication abnormal state, the Wi-Fi service module 30 initiates routing configuration of the single Wi-Fi Internet data, and the first processing module 40 or the second processing module 50 performs data communication.
  • the Wi-Fi service module 30 is configured to send the connection status information when receiving the connection status information sent by the first processing module 40 or the second processing module 50. Sent to the corresponding first Wi-Fi application module 10 or the second Wi-Fi application module 20;
  • the first Wi-Fi application module 10 or the second Wi-Fi application module 20 is configured to be in the first Wi-Fi application module 10 or the second Wi- when receiving the connection status information sent by the Wi-Fi service module 30.
  • the connection status information is displayed on the application interface corresponding to the Fi application module 20.
  • the first processing module 40 or the second processing module 50 When the first processing module 40 or the second processing module 50 is in the process of establishing a Wi-Fi connection, the first processing module 40 or the second processing module 50 transmits the connection status information to the Wi-Fi service module 30 in real time.
  • the Wi-Fi service module 30 receives the connection status information, it transmits the connection status information to the corresponding first Wi-Fi application module 10 or the second Wi-Fi application module 20.
  • the Wi-Fi service module 30 when the Wi-Fi service module 30 receives the connection status information sent by the first processing module 40, the connection status information is sent to the first Wi-Fi application module 10; when Wi- Upon receiving the connection status information sent by the second processing module 50, the Fi service module 30 transmits the connection status information to the second Wi-Fi application module 20.
  • the connection status information is displayed on the application interface corresponding to the first Wi-Fi application module 10.
  • the user can obtain the connection status information by viewing an application interface corresponding to the first Wi-Fi application module 10.
  • the connection status information is displayed on the application interface corresponding to the second Wi-Fi application module 20.
  • the user can obtain the connection status information by viewing an application interface corresponding to the second Wi-Fi application module 20.
  • the Wi-Fi service module 30 sends a prompt message indicating that the connection has failed to the corresponding first Wi-Fi application module 10 or the second Wi-Fi application module 20.
  • the user can learn that the Wi-Fi connection fails by viewing the application interface corresponding to the first Wi-Fi application module 10 or the application interface corresponding to the second Wi-Fi application module 20.
  • the Wi-Fi service module 30 initiates routing configuration of the single Wi-Fi Internet data.
  • Data communication by the first processing module 40 or the second processing module 50 The letter enables the user to access the network through the available Wi-Fi module to perform operations such as surfing the Internet, and the user does not need to manually perform network switching, thereby further improving the user experience.
  • the Wi-Fi control method includes:
  • Step S10 the first Wi-Fi application module 10 or the second Wi-Fi application module 20, when receiving the Wi-Fi connection operation input by the user, send a Wi-Fi connection command to the Wi-Fi service module 30;
  • step S20 the Wi-Fi service module 30 sends a Wi-Fi connection command to the corresponding first processing module 40 or the second processing module 50 when receiving the Wi-Fi connection command;
  • Step S30 when receiving the Wi-Fi connection command sent by the Wi-Fi service module 30, the first processing module 40 or the second processing module 50 establishes a Wi-Fi connection according to the Wi-Fi connection command and the corresponding protocol;
  • Step S40 when the Wi-Fi connection is successful, and the first processing module 40 and the second processing module 50 are both in the normal state of data communication, the Wi-Fi service module 30 initiates routing configuration of the dual Wi-Fi Internet data, by the first The processing module 40 and the second processing module 50 simultaneously perform data communication.
  • the mobile terminal provided by the present invention mainly includes a Wi-Fi enabled terminal device such as a mobile phone and a PAD (Tablet Computer).
  • the mobile terminal is mainly applied to dual Wi-Fi communication.
  • the mobile terminal is not limited to the dual Wi-Fi communication mode provided by the present invention, and may also be three Wi- Multi-Wi-Fi communication mode above Fi and three Wi-Fi.
  • the first Wi-Fi application module 10 and the second Wi-Fi application module 20 of the mobile terminal provide a corresponding Wi-Fi application operation interface for the user to perform corresponding control and operation through the Wi-Fi application operation interface.
  • the first Wi-Fi application module 10 and the second Wi-Fi application module 20 can respectively control the disconnection of the connection between the first processing module 40 and the second processing module 50 through the Wi-Fi service module 30.
  • the first processing module 40 and the second processing module 50 respectively process the instructions issued by the first Wi-Fi application module 10 and the second Wi-Fi application module 20, the connection status information of the Wi-Fi hotspot, and the like.
  • the Wi-Fi application operation interface corresponding to the first Wi-Fi application module 10 or the Wi-Fi application operation interface corresponding to the second Wi-Fi application module 20 selects a Wi-Fi hotspot for Wi-Fi connection operation, first The Wi-Fi application module 10 or the second Wi-Fi application module 20, upon receiving the Wi-Fi connection operation, triggers a Wi-Fi connection command and transmits the Wi-Fi connection command to the Wi-Fi service module 30.
  • the Wi-Fi application module 10 when the user performs a Wi-Fi connection operation based on the Wi-Fi application operation interface corresponding to the first Wi-Fi application module 10, when the first Wi-Fi application module 10 receives the Wi-Fi connection operation, the Wi- is triggered.
  • the Fi connection command transmits the Wi-Fi connection command to the Wi-Fi service module 30.
  • the Wi-Fi service module 30 determines whether the processing module corresponding to the Wi-Fi connection command is the first processing module 40 or the second processing module 50. The user performs a Wi-Fi connection operation based on the first Wi-Fi application module 10 or a Wi-Fi connection operation based on the second Wi-Fi application module 20.
  • the first Wi-Fi application module 10 when the user performs a Wi-Fi connection operation based on the Wi-Fi application operation interface corresponding to the first Wi-Fi application module 10, the first Wi-Fi application module 10 sends a Wi-Fi connection command to When the Wi-Fi service module 30 is used, the Wi-Fi service module 30 determines that the Wi-Fi connection command corresponds to the first processing module 40; when the user performs Wi-Fi based on the Wi-Fi application operation interface corresponding to the second Wi-Fi application module 20 When the second Wi-Fi application module 20 transmits a Wi-Fi connection command to the Wi-Fi service module 30, the Wi-Fi service module 30 determines that the Wi-Fi connection command corresponds to the second processing module 50.
  • the Wi-Fi service module 30 determines that the Wi-Fi connection command corresponds to the first processing module 40, the Wi-Fi service module 30 sends the Wi-Fi connection command to the first processing module 40; when the Wi-Fi service module 30 When it is determined that the Wi-Fi connection command corresponds to the second processing module 50, the Wi-Fi service module 30 transmits the Wi-Fi connection command to the second processing module 50.
  • the first processing module 40 includes a first Wi-Fi processing unit 41 and a first Wi-Fi chip 42.
  • the second processing module 50 includes a second Wi-Fi processing unit 51 and a second Wi-Fi chip 52.
  • the steps S30 includes:
  • Step A when the first Wi-Fi processing unit 41 or the second Wi-Fi processing unit 51 receives the Wi-Fi connection command sent by the Wi-Fi service module 30, the Wi-Fi connection command and the corresponding protocol are Send to the corresponding first Wi-Fi chip 42 or the second Wi-Fi chip 52;
  • Step B When receiving the Wi-Fi connection command and the corresponding protocol, the first Wi-Fi chip 42 or the second Wi-Fi chip 52 establishes a Wi-Fi connection according to the Wi-Fi connection command and the corresponding protocol.
  • the first Wi-Fi processing unit 41 sends the Wi-Fi connection command and the corresponding protocol to the first when receiving the Wi-Fi connection command sent by the Wi-Fi service module 30.
  • Wi-Fi chip 42 The first Wi-Fi chip 42 establishes a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • the second Wi-Fi processing unit 51 transmits the Wi-Fi connection command and the corresponding protocol to the second Wi-Fi chip 52.
  • the second Wi-Fi chip 52 establishes a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • an application layer at a mobile terminal includes a first Wi-Fi application module 10 and a second Wi-Fi application module 20, and the frame layer of the mobile terminal includes Wi-Fi.
  • the service module 30, the first frame subunit 411 and the second frame subunit 511 include a first protocol subunit 412 and a second protocol subunit 512 at a protocol layer of the mobile terminal, and the first driver is included in a driving layer of the mobile terminal.
  • the Wi-Fi service module 30 is connected to the first frame sub-unit 411 and the second frame sub-unit 511, respectively, the first frame sub-unit 411 is connected to the first protocol sub-unit 412, and the first protocol sub-unit 412 is connected to the first driving sub-unit 413.
  • the first driving subunit 413 is connected to the first Wi-Fi chip 42
  • the second frame subunit 511 is connected to the second protocol subunit 512
  • the second protocol subunit 512 is connected to the second driving subunit 513
  • the second driving subunit 513 is connected.
  • the second Wi-Fi chip 52 is connected.
  • the first frame subunit 411 When the first frame subunit 411 receives the Wi-Fi connection sent by the Wi-Fi service module 30 When instructed, the first frame sub-unit 411 sends the Wi-Fi connection command to the first protocol sub-unit 412.
  • the first protocol sub-unit 412 When receiving the Wi-Fi connection command, the first protocol sub-unit 412 writes the Wi-Fi hotspot information into the corresponding configuration file and selects a specified protocol according to a protocol corresponding to the Wi-Fi hotspot, and associates the protocol with the Wi
  • the -Fi connection command is sent to the first Wi-Fi chip 42.
  • a Wi-Fi connection is established by performing an air interface interaction operation by the first Wi-Fi chip 42.
  • the first Wi-Fi chip or the second Wi-Fi chip is configured to establish a Wi-Fi connection according to the received Wi-Fi connection command and the corresponding protocol.
  • the second frame sub-unit 511 When the second frame sub-unit 511 receives the Wi-Fi connection command sent by the Wi-Fi service module 30, the second frame sub-unit 511 transmits the Wi-Fi connection command to the second protocol sub-unit 512.
  • the second protocol sub-unit 512 When receiving the Wi-Fi connection command, the second protocol sub-unit 512 writes the Wi-Fi hotspot information into the corresponding configuration file and selects a specified protocol according to the protocol corresponding to the Wi-Fi hotspot, and associates the protocol with the Wi The -Fi connection command is sent to the second Wi-Fi chip 52.
  • a Wi-Fi connection is established by performing an air interface interaction operation through the second Wi-Fi chip 52.
  • a routing configuration of single Wi-Fi Internet data and a routing configuration of dual Wi-Fi Internet data are preset.
  • the Wi-Fi service module 30 initiates routing configuration of the dual Wi-Fi Internet data, by the first processing module 40.
  • Data communication is performed simultaneously with the second processing module 50. Therefore, the user can access the same network through the first processing module 40 and the second processing module 50, or access different networks through the first processing module 40 and the second processing module 50, for example, accessing the external network and the office network respectively. Internet and printers, etc.
  • the Wi-Fi service module 30 can also perform control. Operations such as bandwidth allocation of the first processing module 40 and the second processing module 50.
  • the first processing module 40 and the second processing module 50 are allocated respective bandwidths according to respective rules such as sharing or by a preset ratio.
  • the Wi-Fi service module 30 can interact with the first processing module 40 and the second processing module 50, the redundancy caused by independently operating two Wi-Fi modules is avoided, and the flow of data communication is simplified. Thereby improving the efficiency of data communication.
  • the solution provided by the embodiment when the first Wi-Fi application module 10 or the second Wi-Fi application module 20 receives the Wi-Fi connection operation input by the user, sends a Wi-Fi connection command to the Wi-Fi service module. 30.
  • the Wi-Fi service module 30 sends the received Wi-Fi connection command to the corresponding first processing module 40 or the second processing module 50.
  • the first processing module 40 or the second processing module 50 receives the Wi- When the Fi-Fi connection command is sent by the Fi service module 30, the Wi-Fi connection is established according to the Wi-Fi connection command and the corresponding protocol, the Wi-Fi connection is successful, and the first processing module 40 and the second processing module 50 are both in the When the data communication is in the normal state, the Wi-Fi service module 30 initiates the routing configuration of the dual Wi-Fi Internet data, and the first processing module 40 and the second processing module 50 simultaneously perform data communication. Therefore, the user can pass the first processing module 40.
  • the second processing module 50 accesses the same network at the same time, or accesses different networks through the first processing module 40 and the second processing module 50 respectively, thereby improving the access efficiency of the network. At the same time, the user's manual Wi-Fi hotspot connection switching operation is avoided, and the user experience is improved.
  • step S30 and the step S40 further include the following steps:
  • Step S50 when the Wi-Fi connection is successful, the Wi-Fi service module 30 sends an IP address acquisition command to the first processing module 40 and the second processing module 50;
  • step S60 the first processing module 40 feeds back the first IP address to the Wi-Fi service module 30 when receiving the IP address acquisition instruction, and the second processing module 50 sends the IP address acquisition instruction to the Wi-Fi service module. 30 feedback second IP address;
  • step S70 when receiving the first IP address fed back by the first processing module 40 and the second IP address fed back by the second processing module 50, the Wi-Fi service module 30 determines that both the first processing module 40 and the second processing module 50 are both In the normal state of data communication.
  • the first processing module 40 or the second processing module 50 when the first processing module 40 or the second processing module 50 successfully establishes a Wi-Fi connection, the first processing module 40 or the second processing module 50 sends the information of the successful Wi-Fi connection to the Wi-Fi service. Module 30.
  • the Wi-Fi service module 30 receives the information that the Wi-Fi connection is successful, the Wi-Fi service module 30 simultaneously transmits an IP address acquisition command to the first processing module 40 and the second processing module 50.
  • the first processing module 40 receives the IP address obtaining instruction
  • the first processing module 40 acquires the corresponding first IP address, and when the first IP address is obtained, sends the first IP address to the Wi-Fi service module 30.
  • the first processing module 40 determines that the first processing module 40 is in a communication normal state; the Wi-Fi service module 30 receives the first IP address sent by the first processing module 40; When receiving the null address sent by the first processing module 40, it is determined that the first processing module 40 is in a communication abnormal state.
  • the second processing module 50 When the second processing module 50 receives the IP address obtaining instruction, the second processing module 50 acquires the corresponding second IP address, and when the second IP address is obtained, sends the second IP address to the Wi-Fi service module 30.
  • the Wi-Fi service module 30 determines that the second processing module 50 is in a communication normal state if the second IP address is not empty; the Wi-Fi service module 30 When receiving the null address sent by the second processing module 50, it is determined that the second processing module 50 is in a communication abnormal state.
  • the Wi-Fi service module 30 receives the first IP address sent by the first processing module 40 and the second IP address sent by the second processing module 50 is not empty, the first processing module 40 and the second processing module 50 are determined. Both are in normal data communication.
  • the Wi-Fi service module 30 taking the Wi-Fi connection successfully established by the first processing module 40, when the Wi-Fi service module 30 receives the information that the Wi-Fi connection is successful, the Wi-Fi service module 30 simultaneously The IP address acquisition instruction is sent to the first frame sub-unit 411 and the second frame sub-unit 511.
  • the first frame sub-unit 411 starts the DHCP service to obtain the first IP address, and sends an IP address acquisition instruction to the first driving unit 413 through the operating system interface, and the first driving unit 413 drives and controls the first Wi-Fi chip 42 to complete and succeed.
  • Air interface interaction of connected Wi-Fi hotspots, A Wi-Fi chip 42 acquires the first IP address assigned by the Wi-Fi hotspot and uploads the first IP address to the first frame sub-unit 411.
  • the first frame sub-unit 411 When receiving the first IP address, the first frame sub-unit 411 stores the first IP address in the cache of the first frame sub-unit 411. Meanwhile, in the illustrated example, since the Wi-Fi connection state of the second processing module 50 does not change, the second frame sub-unit 511 receives the IP address acquisition command sent by the Wi-Fi service module 30. The second IP address stored in the cache of the second frame subunit 511 is sent to the Wi-Fi service module 30.
  • the Wi-Fi control method further includes the following steps:
  • Step C When the Wi-Fi connection is successful, and the first processing module 40 or the second processing module 50 is in the data communication normal state, the Wi-Fi service module 30 initiates routing configuration of the single Wi-Fi Internet data, by the first processing. Module 40 or second processing module 50 performs data communication.
  • the Wi-Fi service module 30 When the Wi-Fi connection is successful, and the Wi-Fi service module 30 detects that the first processing module 40 or the second processing module 50 is in a data communication normal state, that is, one of the first processing module 40 or the second processing module 50 When in the data communication abnormal state, the Wi-Fi service module 30 initiates routing configuration of the single Wi-Fi Internet data, and the first processing module 40 or the second processing module 50 performs data communication.
  • the Wi-Fi control method further includes the following steps:
  • Step D When receiving the connection status information sent by the first processing module 40 or the second processing module 50, the Wi-Fi service module 30 sends the connection status information to the corresponding first Wi-Fi application module 10 or the second Wi. -Fi application module 20;
  • Step E When the first Wi-Fi application module 10 or the second Wi-Fi application module 20 receives the connection status information sent by the Wi-Fi service module 30, the first Wi-Fi application module 10 or the second Wi- The connection status information is displayed on the application interface corresponding to the Fi application module 20.
  • the first processing module 40 or the second processing module 50 When the first processing module 40 or the second processing module 50 is in the process of establishing a Wi-Fi connection, the first processing module 40 or the second processing module 50 transmits the connection status information to the Wi-Fi service module 30 in real time. When the Wi-Fi service module 30 receives the connection status information, it sends the connection status information. Send to the corresponding first Wi-Fi application module 10 or the second Wi-Fi application module 20. In other embodiments of the present invention, when the Wi-Fi service module 30 receives the connection status information sent by the first processing module 40, the connection status information is sent to the first Wi-Fi application module 10; when Wi- Upon receiving the connection status information sent by the second processing module 50, the Fi service module 30 transmits the connection status information to the second Wi-Fi application module 20.
  • the connection status information is displayed on the application interface corresponding to the first Wi-Fi application module 10.
  • the user can obtain the connection status information by viewing an application interface corresponding to the first Wi-Fi application module 10.
  • the connection status information is displayed on the application interface corresponding to the second Wi-Fi application module 20.
  • the user can obtain the connection status information by viewing an application interface corresponding to the second Wi-Fi application module 20.
  • the Wi-Fi service module 30 sends a prompt message indicating that the connection has failed to the corresponding first Wi-Fi application module 10 or the second Wi-Fi application module 20.
  • the user can learn that the Wi-Fi connection fails by viewing the application interface corresponding to the first Wi-Fi application module 10 or the application interface corresponding to the second Wi-Fi application module 20.
  • the Wi-Fi service module 30 initiates routing configuration of the single Wi-Fi Internet data.
  • the data is communicated by the first processing module 40 or the second processing module 50, so that the user accesses the network through the available Wi-Fi module to perform online operations, and the user does not need to manually perform network switching, thereby further improving the user experience.
  • an embodiment of the present invention provides a Wi-Fi control device, where the mobile device includes a first Wi-Fi application module, a second Wi-Fi application module, and the first Wi-Fi application module. a Wi-Fi service module connected to the second Wi-Fi application module, and a first processing module and a second processing module connected to the Wi-Fi service module;
  • the first Wi-Fi application module or the second Wi-Fi application module is configured to receive Sending a Wi-Fi connection command to the Wi-Fi service module when the Wi-Fi connection operation input by the user is performed;
  • the Wi-Fi service module is configured to, when receiving the Wi-Fi connection instruction, send the Wi-Fi connection instruction to a corresponding first processing module or a second processing module;
  • the first processing module is configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module; a processing module, configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module;
  • the Wi-Fi service module is configured to initiate routing configuration of dual Wi-Fi Internet data when the Wi-Fi connection is successful, and when the first processing module and the second processing module are both in a normal data communication state. Data communication is simultaneously performed by the first processing module and the second processing module.
  • each module included in the mobile terminal or the Wi-Fi control device, and each unit included in each module may be implemented by a processor in a processor in the mobile terminal, in the process of implementation.
  • the processor may be a central processing unit (CPU), a digital signal processor (DSP), a microprocessor (MPU), or a programmable logic array (FPGA, Field Programmable Gate Array). ) to achieve.
  • Wi-Fi control method or device if the above Wi-Fi control method or device is implemented in the form of a software function module, and is sold or used as an independent product, it may also be stored.
  • a computer readable storage medium In a computer readable storage medium.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement the Wi-Fi control method in the embodiment of the present invention.
  • the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a processor, where the processor is configured to execute a first Wi-Fi application module, a second Wi-Fi application module, and the first Wi a function of a Wi-Fi service module to which the Fi application module and the second Wi-Fi application module are connected, and a first processing module and a second processing module connected to the Wi-Fi service module, wherein:
  • the first Wi-Fi application module or the second Wi-Fi application module sends a Wi-Fi connection command to the Wi-Fi service module when receiving the Wi-Fi connection operation input by the user;
  • the first processing module or the second processing module When receiving the Wi-Fi connection instruction sent by the Wi-Fi service module, the first processing module or the second processing module establishes a Wi-Fi connection according to the Wi-Fi connection instruction and the corresponding protocol;
  • the Wi-Fi service module initiates routing of dual Wi-Fi Internet data.
  • the configuration is performed by the first processing module and the second processing module simultaneously performing data communication.
  • the present invention provides a method and apparatus for quickly adjusting the brightness of a screen.
  • the condition of preventing false touch is added, one of which is to avoid erroneous operation, and the other is to make the movement
  • the terminal can determine that the user's current operation is performing brightness adjustment, instead of other volume adjustments, etc., so that the terminal obtains the information of the screen brightness adjustment more accurately, so that the user's operation on the mobile terminal is more in line with the intention.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the first Wi-Fi application module or the second Wi-Fi application module is configured to send a Wi-Fi connection command to the Wi-Fi connection operation when receiving a user input.
  • a Wi-Fi service module configured to: when receiving the Wi-Fi connection instruction, send the Wi-Fi connection instruction to a corresponding first processing module or a second processing module;
  • the first processing module is configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module;
  • a processing module configured to establish a Wi-Fi connection according to the Wi-Fi connection command and a corresponding protocol when receiving the Wi-Fi connection instruction sent by the Wi-Fi service module; the Wi-Fi service module, And configuring, when the Wi-Fi connection is successful, and detecting that the first processing module and the second processing module are in a data communication normal state, starting routing configuration of dual Wi-Fi Internet data, by the first processing module Data communication with the second processing module at the same time, therefore, Users can be

Landscapes

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

Abstract

本发明公开一种移动终端及Wi-Fi控制方法、存储介质,包括第一Wi-Fi应用模块或第二Wi-Fi应用模块,配置为在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块;Wi-Fi服务模块,配置为将接收到的Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;第一处理模块或第二处理模块,配置为根据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;Wi-Fi服务模块,配置为在Wi-Fi连接成功且第一处理模块和第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由第一处理模块和第二处理模块同时进行数据通信。

Description

移动终端及WIFI控制方法、存储介质 技术领域
本发明涉及移动终端技术领域,具体涉及一种移动终端及Wi-Fi(无线保真)控制方法、存储介质。
背景技术
随着现代人生活水平的提高,智能手机、PAD(平板电脑)等移动终端已是生活中的必需品,这些移动终端一个最重要的功能是通过Wi-Fi模块与互联网通信实现上网功能。由于现有移动终端的Wi-Fi模块通常只有一个Wi-Fi芯片以及对应的协议栈和上层应用,只支持对一个Wi-Fi热点的连接,并且由于Wi-Fi的带宽限制以及与Wi-Fi热点连接的移动终端数量过多等因素的影响,导致网络的访问效率较低。
发明内容
本发明实施例提供一种移动终端及Wi-Fi控制方法、存储介质,旨在提高网络的访问效率。
本发明实施例解决上述技术问题的技术方案如下。
第一方面,本发明实施例提供一种移动终端,所述移动终端包括第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块;
所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至所述Wi-Fi服务模块;
所述Wi-Fi服务模块,配置为在接收到所述Wi-Fi连接指令时,将所述 Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
所述第一处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述第二处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
在本发明的其他实施例中,所述第一处理模块包括第一Wi-Fi处理单元以及第一Wi-Fi芯片;所述第二处理模块包括第二Wi-Fi处理单元以及第二Wi-Fi芯片;
所述第一Wi-Fi处理单元,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至所述第一Wi-Fi芯片;所述第二Wi-Fi处理单元,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至所述第二Wi-Fi芯片;
所述第一Wi-Fi芯片或所述第二Wi-Fi芯片,配置为根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
在本发明的其他实施例中,所述Wi-Fi服务模块,配置为在接收到所述第一处理模块或所述第二处理模块发送的连接状态信息时,将所述连接状态信息发送至对应的第一Wi-Fi应用模块或第二Wi-Fi应用模块;
所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到所述Wi-Fi服务模块发送的所述连接状态信息时,在所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块对应的应用界面上显示所述连接状态信息。
在本发明的其他实施例中,所述Wi-Fi服务模块,配置为在Wi-Fi连接成功时,发送IP地址获取指令至所述第一处理模块和所述第二处理模块;并在接收到所述第一处理模块反馈的第一IP地址和所述第二处理模块反馈的第二IP地址时,判断所述第一处理模块和所述第二处理模块是否均处于数据通信正常状态。
在本发明的其他实施例中,所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块或所述第二处理模块处于数据通信正常状态时,启动单Wi-Fi上网数据的路由配置,由所述第一处理模块或所述第二处理模块进行数据通信。
第二方面,本发明实施例还提供一种Wi-Fi控制方法,所述Wi-Fi控制方法包括以下步骤:
第一Wi-Fi应用模块或第二Wi-Fi应用模块在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块;
所述Wi-Fi服务模块在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
在Wi-Fi连接成功,且所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,所述Wi-Fi服务模块启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
在本发明的其他实施例中,所述第一处理模块包括第一Wi-Fi处理单元以及第一Wi-Fi芯片;所述第二处理模块包括第二Wi-Fi处理单元以及第二Wi-Fi芯片;所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议 建立Wi-Fi连接的步骤包括:
所述第一Wi-Fi处理单元或所述第二Wi-Fi处理单元在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至对应的第一Wi-Fi芯片或第二Wi-Fi芯片;
所述第一Wi-Fi芯片或所述第二Wi-Fi芯片在接收到所述Wi-Fi连接指令以及对应的协议时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接。
在本发明的其他实施例中,所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤之后,还包括:
所述Wi-Fi服务模块在接收到所述第一处理模块或所述第二处理模块发送的连接状态信息时,将所述连接状态信息发送至对应的第一Wi-Fi应用模块或第二Wi-Fi应用模块;
所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块在接收到所述Wi-Fi服务模块发送的所述连接状态信息时,在所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块对应的应用界面上显示所述连接状态信息。
在本发明的其他实施例中,所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤之后,还包括:
在Wi-Fi连接成功时,所述Wi-Fi服务模块发送IP地址获取指令至所述第一处理模块和所述第二处理模块;
所述第一处理模块在接收到所述IP地址获取指令时,向所述Wi-Fi服务模块反馈第一IP地址,所述第二处理模块在接收到所述IP地址获取指令时,向所述Wi-Fi服务模块反馈第二IP地址;
所述Wi-Fi服务模块在接收到所述第一处理模块反馈的第一IP地址和 所述第二处理模块反馈的第二IP地址时,判断所述第一处理模块和所述第二处理模块是否均处于数据通信正常状态。
在本发明的其他实施例中,所述Wi-Fi控制方法还包括步骤:
在Wi-Fi连接成功,且所述第一处理模块或所述第二处理模块处于数据通信正常状态时,所述Wi-Fi服务模块启动单Wi-Fi上网数据的路由配置,由所述第一处理模块或所述第二处理模块进行数据通信。
第三方面,本发明实施例提供一种Wi-Fi控制装置,所述移动装置包括第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块;
所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至所述Wi-Fi服务模块;
所述Wi-Fi服务模块,配置为在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
所述第一处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述第二处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
第四方面,本发明实施例提供一种移动终端,所述移动终端包括处 理器,所述处理器用于执行第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块的功能,其中:
第一Wi-Fi应用模块或第二Wi-Fi应用模块在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块;
所述Wi-Fi服务模块在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
在Wi-Fi连接成功,且所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,所述Wi-Fi服务模块启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
第五方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于实现上述第二方面实施例所述的Wi-Fi控制方法。
本发明实施例中,用户可以通过第一处理模块和第二处理模块同时访问同一个网络,或者通过第一处理模块和第二处理模块分别访问不同的网络,提高了网络的访问效率。
附图说明
图1为实现本发明各个实施例的移动终端的硬件结构示意图;
图2为如图1所示的移动终端的无线通信***示意图;
图3为本发明移动终端第一实施例的框架结构示意图;
图4为本发明移动终端第一处理模块的细化功能模块示意图;
图5为本发明移动终端第二处理模块的细化功能模块示意图;
图6为本发明移动终端的细化框架结构示意图;
图7为本发明Wi-Fi控制方法第一实施例的流程示意图;
图8为本发明Wi-Fi控制方法第二实施例的流程示意图。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图1为实现本发明各个实施例可选的移动终端的硬件结构示意图。
移动终端100可以包括无线通信单元110、处理器180、电源单元190和显示单元151等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,例如,Wi-Fi芯片、无线通信芯片,蓝牙芯片、NFC芯片等,其允许移动终端100与无线通信***或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、 移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。另外,无线通信单元110与处理器180连接,获取移动终端当前可用数据业务交互方式,并且检测获取到的数据业务交互方式中各数据业务交互方式对应的数据传输速率。
处理器180通常控制移动终端的总体操作。例如,处理器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,处理器180可以包括,配置为再现(或回放)多媒体数据的多媒体模块1810,多媒体模块1810可以构造在处理器180内,或者可以构造为与处理器180分离。处理器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。还配置为根据各数据业务交互方式对应的数据传输速率和/或功耗确认是否切换所述移动终端当前的数据业务交互方式。
电源单元190在处理器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。也用于根据所述传输速率计算各数据业务交互方式对应的功耗。
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些 可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在处理器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由处理器180执行。
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信***以及基于卫星的通信***来操作。
现在将参考图2描述其中根据本发明的移动终端能够操作的通信***。
这样的通信***可以使用不同的空中接口和/或物理层。例如,由通信***使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分 多址(CDMA)和通用移动通信***(UMTS)(特别地,长期演进(LTE))、全球移动通信***(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信***,但是这样的教导同样适用于其它类型的***。
参考图2,CDMA无线通信***可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或Xdsl。将理解的是,如图2中所示的***可以包括多个BSC2750。
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25mhz,5mhz等等)。
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子***(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。
如图2中所示,广播发射器(BT)295将广播信号发送给在***内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位***(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪 技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。
作为无线通信***的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。可以理解的是,图2为2G移动网络的通信***架构图,在本发明以下各实施例中,还可以采用3G和4G移动网络的通信***中。
结合参照图1和图2,基于上述移动终端硬件结构以及通信***,提出本发明移动终端各个实施例。
参照图3,提供了本发明移动终端的第一实施例,在本实施例中,该移动终端包括第一Wi-Fi应用模块10、第二Wi-Fi应用模块20、与第一Wi-Fi应用模块10和第二Wi-Fi应用模块20连接的Wi-Fi服务模块30、以及与Wi-Fi服务模块30连接的第一处理模块40和第二处理模块50;
第一Wi-Fi应用模块10或第二Wi-Fi应用模块20,配置为在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块30;
Wi-Fi服务模块30,配置为在接收到Wi-Fi连接指令时,将Wi-Fi连接指令发送至对应的第一处理模块40或第二处理模块50;
第一处理模块40,配置为在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,根据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;第二处理模块50,配置为在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,根 据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
Wi-Fi服务模块30,配置为在Wi-Fi连接成功,且检测第一处理模块40和第二处理模块50均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由第一处理模块40和第二处理模块50同时进行数据通信。
本发明提供的移动终端主要包括手机、PAD(平板电脑)等具有Wi-Fi功能的终端设备。在本实施例中,该移动终端主要应用于双Wi-Fi通信,当然,在其他实施例中,该移动终端并不局限于本发明提供的双Wi-Fi通信模式,还可以为三Wi-Fi及三Wi-Fi以上的多Wi-Fi通信模式。
该移动终端的第一Wi-Fi应用模块10和第二Wi-Fi应用模块20提供相应的Wi-Fi应用操作界面,供用户通过Wi-Fi应用操作界面进行相应的控制与操作。比如第一Wi-Fi应用模块10和第二Wi-Fi应用模块20可用通过Wi-Fi服务模块30分别控制第一处理模块40和第二处理模块50的连接断开。第一处理模块40和第二处理模块50分别处理第一Wi-Fi应用模块10和第二Wi-Fi应用模块20下发的指令以及Wi-Fi热点的连接状态信息等。
当用户要通过移动终端连接Wi-Fi热点进行上网等操作时,用户可以通过第一Wi-Fi应用模块10对应的Wi-Fi应用操作界面或者第二Wi-Fi应用模块20对应的Wi-Fi应用操作界面选择某一个Wi-Fi热点进行Wi-Fi连接操作,第一Wi-Fi应用模块10或第二Wi-Fi应用模块20在接收到Wi-Fi连接操作时,触发Wi-Fi连接指令,并将该Wi-Fi连接指令发送至Wi-Fi服务模块30。例如,当用户基于第一Wi-Fi应用模块10对应的Wi-Fi应用操作界面执行Wi-Fi连接操作,当第一Wi-Fi应用模块10接收到该Wi-Fi连接操作时,触发Wi-Fi连接指令,并将该Wi-Fi连接指令发送至Wi-Fi服务模块30。
当Wi-Fi服务模块30接收到该Wi-Fi连接指令时,Wi-Fi服务模块30判断该Wi-Fi连接指令对应的处理模块是第一处理模块40还是第二处理模 块50,也即判断用户是基于第一Wi-Fi应用模块10执行Wi-Fi连接操作还是基于第二Wi-Fi应用模块20执行Wi-Fi连接操作。在本发明的其他实施例中,当用户基于第一Wi-Fi应用模块10对应的Wi-Fi应用操作界面执行Wi-Fi连接操作,第一Wi-Fi应用模块10发送Wi-Fi连接指令至Wi-Fi服务模块30时,Wi-Fi服务模块30判断该Wi-Fi连接指令对应第一处理模块40;当用户基于第二Wi-Fi应用模块20对应的Wi-Fi应用操作界面执行Wi-Fi连接操作,第二Wi-Fi应用模块20发送Wi-Fi连接指令至Wi-Fi服务模块30时,Wi-Fi服务模块30判断该Wi-Fi连接指令对应第二处理模块50。当Wi-Fi服务模块30判断该Wi-Fi连接指令对应第一处理模块40时,Wi-Fi服务模块30将该Wi-Fi连接指令发送至第一处理模块40;当Wi-Fi服务模块30判断该Wi-Fi连接指令对应第二处理模块50时,Wi-Fi服务模块30将该Wi-Fi连接指令发送至第二处理模块50。
当第一处理模块40接收到该Wi-Fi连接指令时,根据该Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;当第二处理模块50接收到该Wi-Fi连接指令时,根据该Wi-Fi连接指令以及对应的协议建立Wi-Fi连接。在本发明的其他实施例中,如图4所示,第一处理模块40包括第一Wi-Fi处理单元41以及第一Wi-Fi芯片42。第一Wi-Fi处理单元41在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,将该Wi-Fi连接指令以及对应的协议发送至第一Wi-Fi芯片42。第一Wi-Fi芯片42根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。如图5所示,第二处理模块50包括第二Wi-Fi处理单元51以及第二Wi-Fi芯片52。第二Wi-Fi处理单元51在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,将该Wi-Fi连接指令以及对应的协议发送至第二Wi-Fi芯片52。第二Wi-Fi芯片52根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
如图6所示,在本发明的其他实施例中,在移动终端的应用层包括第 一Wi-Fi应用模块10和第二Wi-Fi应用模块20,在移动终端的框架层包括Wi-Fi服务模块30、第一框架子单元411和第二框架子单元511,在移动终端的协议层包括第一协议子单元412和第二协议子单元512,在移动终端的驱动层包括第一驱动子单元413和第二驱动子单元513。Wi-Fi服务模块30分别与第一框架子单元411和第二框架子单元511连接,第一框架子单元411连接第一协议子单元412,第一协议子单元412连接第一驱动子单元413,第一驱动子单元413连接第一Wi-Fi芯片42,第二框架子单元511连接第二协议子单元512,第二协议子单元512连接第二驱动子单元513,第二驱动子单元513连接第二Wi-Fi芯片52。
当第一框架子单元411在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,第一框架子单元411将该Wi-Fi连接指令发送至第一协议子单元412。第一协议子单元412在接收到该Wi-Fi连接指令时,将Wi-Fi热点信息写入对应的配置文件并按照Wi-Fi热点对应的协议选择规定的协议,并将该协议与该Wi-Fi连接指令发送至第一Wi-Fi芯片42。通过第一Wi-Fi芯片42执行空***互操作,建立Wi-Fi连接。第一Wi-Fi芯片或所述第二Wi-Fi芯片,配置为根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
当第二框架子单元511在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,第二框架子单元511将该Wi-Fi连接指令发送至第二协议子单元512。第二协议子单元512在接收到该Wi-Fi连接指令时,将Wi-Fi热点信息写入对应的配置文件并按照Wi-Fi热点对应的协议选择规定的协议,并将该协议与该Wi-Fi连接指令发送至第二Wi-Fi芯片52。通过第二Wi-Fi芯片52执行空***互操作,建立Wi-Fi连接。
在本实施例中,预先设置有单Wi-Fi上网数据的路由配置和双Wi-Fi上网数据的路由配置。当Wi-Fi连接成功,且第一处理模块40和第二处理 模块50均处于数据通信正常状态时,Wi-Fi服务模块30启动双Wi-Fi上网数据的路由配置,由第一处理模块40和第二处理模块50同时进行数据通信。因此,用户可以通过第一处理模块40和第二处理模块50同时访问同一个网络,或者通过第一处理模块40和第二处理模块50分别访问不同的网络,例如分别访问外网和办公网、上网和打印机等。进一步地,在第一处理模块40和第二处理模块50同时进行数据通信时,例如第一处理模块40和第二处理模块50同时访问同一个网络时,Wi-Fi服务模块30还可以执行控制第一处理模块40和第二处理模块50的带宽分配等操作。例如,按照均分或按预设比例等相应的规则为第一处理模块40和第二处理模块50分配相应的带宽。
并且,由于Wi-Fi服务模块30与第一处理模块40和第二处理模块50均可进行交互,避免了独立运行两个Wi-Fi模块造成的冗余,对数据通信的流程进行了简化,从而提高了数据通信效率。
本实施例提供的方案,移动终端包括第一Wi-Fi应用模块10、第二Wi-Fi应用模块20、与第一Wi-Fi应用模块10和第二Wi-Fi应用模块20连接的Wi-Fi服务模块30、以及与Wi-Fi服务模块30连接的第一处理模块40和第二处理模块50。第一Wi-Fi应用模块10或第二Wi-Fi应用模块20在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块30,Wi-Fi服务模块30将接收到的Wi-Fi连接指令时发送至对应的第一处理模块40或第二处理模块50,第一处理模块40或第二处理模块50在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,根据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接,在Wi-Fi连接成功,且第一处理模块40和第二处理模块50均处于数据通信正常状态时,Wi-Fi服务模块30启动双Wi-Fi上网数据的路由配置,由第一处理模块40和第二处理模块50同时进行数据通信,因此,用户可以通过第一处理模块40和第二处理模块50同时访问 同一个网络,或者通过第一处理模块40和第二处理模块50分别访问不同的网络,提高了网络的访问效率。同时,避免了用户手动进行Wi-Fi热点连接切换的操作,提高了用户体验。
进一步地,基于第一实施例提出本发明移动终端第二实施例,在该实施例中,Wi-Fi服务模块30,配置为在Wi-Fi连接成功时,发送IP地址获取指令至第一处理模块40和第二处理模块50;并在接收到第一处理模块40反馈的第一IP地址和第二处理模块50反馈的第二IP地址时,判断第一处理模块40和第二处理模块50均处于数据通信正常状态。
在本实施例中,第一处理模块40或第二处理模块50在成功建立Wi-Fi连接时,第一处理模块40或第二处理模块50发送Wi-Fi连接成功的信息至Wi-Fi服务模块30。当Wi-Fi服务模块30在接收到Wi-Fi连接成功的信息时,Wi-Fi服务模块30同时发送IP地址获取指令至第一处理模块40和第二处理模块50。当第一处理模块40接收到IP地址获取指令时,第一处理模块40获取对应的第一IP地址,在获取到第一IP地址时,将该第一IP地址发送至Wi-Fi服务模块30,Wi-Fi服务模块30在接收到第一处理模块40发送的第一IP地址时,若第一IP地址不为空,则判断第一处理模块40处于通信正常状态;Wi-Fi服务模块30在接收到第一处理模块40发送的空地址时,判断第一处理模块40处于通信异常状态。
当第二处理模块50接收到IP地址获取指令时,第二处理模块50获取对应的第二IP地址,在获取到第二IP地址时,将该第二IP地址发送至Wi-Fi服务模块30,Wi-Fi服务模块30在接收到第二处理模块50发送的第二IP地址时,若第二IP地址不为空,则判断第二处理模块50处于通信正常状态;Wi-Fi服务模块30在接收到第二处理模块50发送的空地址时,判断第二处理模块50处于通信异常状态。
当Wi-Fi服务模块30接收到第一处理模块40发送的第一IP地址以及 第二处理模块50发送的第二IP地址均不为空时,判断第一处理模块40和第二处理模块50均处于数据通信正常状态。
在本发明的其他实施例中,以第一处理模块40成功建立Wi-Fi连接为例,当Wi-Fi服务模块30在接收到Wi-Fi连接成功的信息时,Wi-Fi服务模块30同时发送IP地址获取指令至第一框架子单元411和第二框架子单元511。第一框架子单元411启动DHCP服务获取第一IP地址,并通过操作***接口将IP地址获取指令发送至第一驱动单元413,第一驱动单元413驱动控制第一Wi-Fi芯片42完成与成功连接的Wi-Fi热点的空***互,第一Wi-Fi芯片42获取Wi-Fi热点分配的第一IP地址,并将第一IP地址上传至第一框架子单元411。第一框架子单元411在接收到第一IP地址时,将该第一IP地址存储于第一框架子单元411的缓存中。同时,在该列举的例子中,由于第二处理模块50的Wi-Fi连接状态未发生变化,第二框架子单元511在接收到Wi-Fi服务模块30发送的IP地址获取指令时,将第二框架子单元511的缓存中存储的第二IP地址发送至Wi-Fi服务模块30。
进一步地,在本实施例中,Wi-Fi服务模块30,配置为在Wi-Fi连接成功,且检测第一处理模块40或第二处理模块50处于数据通信正常状态时,启动单Wi-Fi上网数据的路由配置,由第一处理模块40或第二处理模块50进行数据通信。
当Wi-Fi连接成功,且Wi-Fi服务模块30检测到第一处理模块40或第二处理模块50处于数据通信正常状态时,也即第一处理模块40或第二处理模块50中的一个处于数据通信异常状态时,Wi-Fi服务模块30启动单Wi-Fi上网数据的路由配置,由第一处理模块40或第二处理模块50进行数据通信。
进一步地,在本实施例中,Wi-Fi服务模块30,配置为在接收到第一处理模块40或第二处理模块50发送的连接状态信息时,将连接状态信息发 送至对应的第一Wi-Fi应用模块10或第二Wi-Fi应用模块20;
第一Wi-Fi应用模块10或第二Wi-Fi应用模块20,配置为在接收到Wi-Fi服务模块30发送的连接状态信息时,在第一Wi-Fi应用模块10或第二Wi-Fi应用模块20对应的应用界面上显示连接状态信息。
当第一处理模块40或第二处理模块50在建立Wi-Fi连接的过程中,第一处理模块40或第二处理模块50实时将连接状态信息发送至Wi-Fi服务模块30。当Wi-Fi服务模块30在接收到连接状态信息时,将连接状态信息发送至对应的第一Wi-Fi应用模块10或第二Wi-Fi应用模块20。在本发明的其他实施例中,当Wi-Fi服务模块30在接收到第一处理模块40发送的连接状态信息时,将该连接状态信息发送至第一Wi-Fi应用模块10;当Wi-Fi服务模块30在接收到第二处理模块50发送的连接状态信息时,将该连接状态信息发送至第二Wi-Fi应用模块20。
当第一Wi-Fi应用模块10接收到Wi-Fi服务模块30发送的连接状态信息时,在第一Wi-Fi应用模块10对应的应用界面上显示连接状态信息。用户通过查看第一Wi-Fi应用模块10对应的应用界面可获知该连接状态信息。当第二Wi-Fi应用模块20接收到Wi-Fi服务模块30发送的连接状态信息时,在第二Wi-Fi应用模块20对应的应用界面上显示连接状态信息。用户通过查看第二Wi-Fi应用模块20对应的应用界面可获知该连接状态信息。
当Wi-Fi连接失败时,Wi-Fi服务模块30向对应的第一Wi-Fi应用模块10或第二Wi-Fi应用模块20发送连接失败的提示信息。用户通过查看第一Wi-Fi应用模块10对应的应用界面或第二Wi-Fi应用模块20对应的应用界面可获知Wi-Fi连接失败。
本实施例提供的方案,在Wi-Fi连接成功,且检测第一处理模块40或第二处理模块50处于数据通信正常状态时,Wi-Fi服务模块30启动单Wi-Fi上网数据的路由配置,由第一处理模块40或第二处理模块50进行数据通 信,实现用户通过该可用的Wi-Fi模块访问网络进行上网等操作,用户不需要手动进行网络切换,进一步提高了用户体验。
参照图3提供了本发明Wi-Fi控制方法的第一实施例,如图6所示,在本实施例中,该Wi-Fi控制方法包括:
步骤S10,第一Wi-Fi应用模块10或第二Wi-Fi应用模块20在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块30;
步骤S20,Wi-Fi服务模块30在接收到Wi-Fi连接指令时,将Wi-Fi连接指令发送至对应的第一处理模块40或第二处理模块50;
步骤S30,第一处理模块40或第二处理模块50在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,根据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
步骤S40,在Wi-Fi连接成功,且第一处理模块40和第二处理模块50均处于数据通信正常状态时,Wi-Fi服务模块30启动双Wi-Fi上网数据的路由配置,由第一处理模块40和第二处理模块50同时进行数据通信。
本发明提供的移动终端主要包括手机、PAD(平板电脑)等具有Wi-Fi功能的终端设备。在本实施例中,该移动终端主要应用于双Wi-Fi通信,当然,在其他实施例中,该移动终端并不局限于本发明提供的双Wi-Fi通信模式,还可以为三Wi-Fi及三Wi-Fi以上的多Wi-Fi通信模式。
该移动终端的第一Wi-Fi应用模块10和第二Wi-Fi应用模块20提供相应的Wi-Fi应用操作界面,供用户通过Wi-Fi应用操作界面进行相应的控制与操作。比如第一Wi-Fi应用模块10和第二Wi-Fi应用模块20可用通过Wi-Fi服务模块30分别控制第一处理模块40和第二处理模块50的连接断开。第一处理模块40和第二处理模块50分别处理第一Wi-Fi应用模块10和第二Wi-Fi应用模块20下发的指令以及Wi-Fi热点的连接状态信息等。
当用户要通过移动终端连接Wi-Fi热点进行上网等操作时,用户可以通 过第一Wi-Fi应用模块10对应的Wi-Fi应用操作界面或者第二Wi-Fi应用模块20对应的Wi-Fi应用操作界面选择某一个Wi-Fi热点进行Wi-Fi连接操作,第一Wi-Fi应用模块10或第二Wi-Fi应用模块20在接收到Wi-Fi连接操作时,触发Wi-Fi连接指令,并将该Wi-Fi连接指令发送至Wi-Fi服务模块30。例如,当用户基于第一Wi-Fi应用模块10对应的Wi-Fi应用操作界面执行Wi-Fi连接操作,当第一Wi-Fi应用模块10接收到该Wi-Fi连接操作时,触发Wi-Fi连接指令,并将该Wi-Fi连接指令发送至Wi-Fi服务模块30。
当Wi-Fi服务模块30接收到该Wi-Fi连接指令时,Wi-Fi服务模块30判断该Wi-Fi连接指令对应的处理模块是第一处理模块40还是第二处理模块50,也即判断用户是基于第一Wi-Fi应用模块10执行Wi-Fi连接操作还是基于第二Wi-Fi应用模块20执行Wi-Fi连接操作。在本发明的其他实施例中,当用户基于第一Wi-Fi应用模块10对应的Wi-Fi应用操作界面执行Wi-Fi连接操作,第一Wi-Fi应用模块10发送Wi-Fi连接指令至Wi-Fi服务模块30时,Wi-Fi服务模块30判断该Wi-Fi连接指令对应第一处理模块40;当用户基于第二Wi-Fi应用模块20对应的Wi-Fi应用操作界面执行Wi-Fi连接操作,第二Wi-Fi应用模块20发送Wi-Fi连接指令至Wi-Fi服务模块30时,Wi-Fi服务模块30判断该Wi-Fi连接指令对应第二处理模块50。当Wi-Fi服务模块30判断该Wi-Fi连接指令对应第一处理模块40时,Wi-Fi服务模块30将该Wi-Fi连接指令发送至第一处理模块40;当Wi-Fi服务模块30判断该Wi-Fi连接指令对应第二处理模块50时,Wi-Fi服务模块30将该Wi-Fi连接指令发送至第二处理模块50。
在本实施例中,如图4所示,第一处理模块40包括第一Wi-Fi处理单元41以及第一Wi-Fi芯片42。如图5所示,第二处理模块50包括第二Wi-Fi处理单元51以及第二Wi-Fi芯片52。在本发明的其他实施例中,所述步骤 S30包括:
步骤A,第一Wi-Fi处理单元41或所述第二Wi-Fi处理单元51在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,将Wi-Fi连接指令以及对应的协议发送至对应的第一Wi-Fi芯片42或第二Wi-Fi芯片52;
步骤B,第一Wi-Fi芯片42或第二Wi-Fi芯片52在接收到Wi-Fi连接指令以及对应的协议时,根据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接。
在本发明的其他实施例中,第一Wi-Fi处理单元41在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,将该Wi-Fi连接指令以及对应的协议发送至第一Wi-Fi芯片42。第一Wi-Fi芯片42根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。第二Wi-Fi处理单元51在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,将该Wi-Fi连接指令以及对应的协议发送至第二Wi-Fi芯片52。第二Wi-Fi芯片52根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
如图6所示,在本发明的其他实施例中,在移动终端的应用层包括第一Wi-Fi应用模块10和第二Wi-Fi应用模块20,在移动终端的框架层包括Wi-Fi服务模块30、第一框架子单元411和第二框架子单元511,在移动终端的协议层包括第一协议子单元412和第二协议子单元512,在移动终端的驱动层包括第一驱动子单元413和第二驱动子单元513。Wi-Fi服务模块30分别与第一框架子单元411和第二框架子单元511连接,第一框架子单元411连接第一协议子单元412,第一协议子单元412连接第一驱动子单元413,第一驱动子单元413连接第一Wi-Fi芯片42,第二框架子单元511连接第二协议子单元512,第二协议子单元512连接第二驱动子单元513,第二驱动子单元513连接第二Wi-Fi芯片52。
当第一框架子单元411在接收到Wi-Fi服务模块30发送的Wi-Fi连接 指令时,第一框架子单元411将该Wi-Fi连接指令发送至第一协议子单元412。第一协议子单元412在接收到该Wi-Fi连接指令时,将Wi-Fi热点信息写入对应的配置文件并按照Wi-Fi热点对应的协议选择规定的协议,并将该协议与该Wi-Fi连接指令发送至第一Wi-Fi芯片42。通过第一Wi-Fi芯片42执行空***互操作,建立Wi-Fi连接。第一Wi-Fi芯片或所述第二Wi-Fi芯片,配置为根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
当第二框架子单元511在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,第二框架子单元511将该Wi-Fi连接指令发送至第二协议子单元512。第二协议子单元512在接收到该Wi-Fi连接指令时,将Wi-Fi热点信息写入对应的配置文件并按照Wi-Fi热点对应的协议选择规定的协议,并将该协议与该Wi-Fi连接指令发送至第二Wi-Fi芯片52。通过第二Wi-Fi芯片52执行空***互操作,建立Wi-Fi连接。
在本实施例中,预先设置有单Wi-Fi上网数据的路由配置和双Wi-Fi上网数据的路由配置。当Wi-Fi连接成功,且第一处理模块40和第二处理模块50均处于数据通信正常状态时,Wi-Fi服务模块30启动双Wi-Fi上网数据的路由配置,由第一处理模块40和第二处理模块50同时进行数据通信。因此,用户可以通过第一处理模块40和第二处理模块50同时访问同一个网络,或者通过第一处理模块40和第二处理模块50分别访问不同的网络,例如分别访问外网和办公网、上网和打印机等。进一步地,在第一处理模块40和第二处理模块50同时进行数据通信时,例如第一处理模块40和第二处理模块50同时访问同一个网络时,Wi-Fi服务模块30还可以执行控制第一处理模块40和第二处理模块50的带宽分配等操作。例如,按照均分或按预设比例等相应的规则为第一处理模块40和第二处理模块50分配相应的带宽。
并且,由于Wi-Fi服务模块30与第一处理模块40和第二处理模块50均可进行交互,避免了独立运行两个Wi-Fi模块造成的冗余,对数据通信的流程进行了简化,从而提高了数据通信效率。
本实施例提供的方案,当第一Wi-Fi应用模块10或第二Wi-Fi应用模块20在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块30,Wi-Fi服务模块30将接收到的Wi-Fi连接指令时发送至对应的第一处理模块40或第二处理模块50,第一处理模块40或第二处理模块50在接收到Wi-Fi服务模块30发送的Wi-Fi连接指令时,根据Wi-Fi连接指令以及对应的协议建立Wi-Fi连接,在Wi-Fi连接成功,且第一处理模块40和第二处理模块50均处于数据通信正常状态时,Wi-Fi服务模块30启动双Wi-Fi上网数据的路由配置,由第一处理模块40和第二处理模块50同时进行数据通信,因此,用户可以通过第一处理模块40和第二处理模块50同时访问同一个网络,或者通过第一处理模块40和第二处理模块50分别访问不同的网络,提高了网络的访问效率。同时,避免了用户手动进行Wi-Fi热点连接切换的操作,提高了用户体验。
进一步地,如图7所示,基于第一实施例提出本发明Wi-Fi控制方法第二实施例,在该实施例中,所述步骤S30与所述步骤S40之间还包括步骤:
步骤S50,在Wi-Fi连接成功时,Wi-Fi服务模块30发送IP地址获取指令至第一处理模块40和第二处理模块50;
步骤S60,第一处理模块40在接收到IP地址获取指令时,向Wi-Fi服务模块30反馈第一IP地址,第二处理模块50在接收到IP地址获取指令时,向Wi-Fi服务模块30反馈第二IP地址;
步骤S70,Wi-Fi服务模块30在接收到第一处理模块40反馈的第一IP地址和第二处理模块50反馈的第二IP地址时,判断第一处理模块40和第二处理模块50均处于数据通信正常状态。
在本实施例中,第一处理模块40或第二处理模块50在成功建立Wi-Fi连接时,第一处理模块40或第二处理模块50发送Wi-Fi连接成功的信息至Wi-Fi服务模块30。当Wi-Fi服务模块30在接收到Wi-Fi连接成功的信息时,Wi-Fi服务模块30同时发送IP地址获取指令至第一处理模块40和第二处理模块50。当第一处理模块40接收到IP地址获取指令时,第一处理模块40获取对应的第一IP地址,在获取到第一IP地址时,将该第一IP地址发送至Wi-Fi服务模块30,Wi-Fi服务模块30在接收到第一处理模块40发送的第一IP地址时,若第一IP地址不为空,则判断第一处理模块40处于通信正常状态;Wi-Fi服务模块30在接收到第一处理模块40发送的空地址时,判断第一处理模块40处于通信异常状态。
当第二处理模块50接收到IP地址获取指令时,第二处理模块50获取对应的第二IP地址,在获取到第二IP地址时,将该第二IP地址发送至Wi-Fi服务模块30,Wi-Fi服务模块30在接收到第二处理模块50发送的第二IP地址时,若第二IP地址不为空,则判断第二处理模块50处于通信正常状态;Wi-Fi服务模块30在接收到第二处理模块50发送的空地址时,判断第二处理模块50处于通信异常状态。
当Wi-Fi服务模块30接收到第一处理模块40发送的第一IP地址以及第二处理模块50发送的第二IP地址均不为空时,判断第一处理模块40和第二处理模块50均处于数据通信正常状态。
在本发明的其他实施例中,以第一处理模块40成功建立Wi-Fi连接为例,当Wi-Fi服务模块30在接收到Wi-Fi连接成功的信息时,Wi-Fi服务模块30同时发送IP地址获取指令至第一框架子单元411和第二框架子单元511。第一框架子单元411启动DHCP服务获取第一IP地址,并通过操作***接口将IP地址获取指令发送至第一驱动单元413,第一驱动单元413驱动控制第一Wi-Fi芯片42完成与成功连接的Wi-Fi热点的空***互,第 一Wi-Fi芯片42获取Wi-Fi热点分配的第一IP地址,并将第一IP地址上传至第一框架子单元411。第一框架子单元411在接收到第一IP地址时,将该第一IP地址存储于第一框架子单元411的缓存中。同时,在该列举的例子中,由于第二处理模块50的Wi-Fi连接状态未发生变化,第二框架子单元511在接收到Wi-Fi服务模块30发送的IP地址获取指令时,将第二框架子单元511的缓存中存储的第二IP地址发送至Wi-Fi服务模块30。
进一步地,在本实施例中,所述Wi-Fi控制方法还包括步骤:
步骤C,在Wi-Fi连接成功,且第一处理模块40或第二处理模块50处于数据通信正常状态时,Wi-Fi服务模块30启动单Wi-Fi上网数据的路由配置,由第一处理模块40或第二处理模块50进行数据通信。
当Wi-Fi连接成功,且Wi-Fi服务模块30检测到第一处理模块40或第二处理模块50处于数据通信正常状态时,也即第一处理模块40或第二处理模块50中的一个处于数据通信异常状态时,Wi-Fi服务模块30启动单Wi-Fi上网数据的路由配置,由第一处理模块40或第二处理模块50进行数据通信。
进一步地,在本实施例中,所述Wi-Fi控制方法还包括步骤:
步骤D,Wi-Fi服务模块30在接收到第一处理模块40或第二处理模块50发送的连接状态信息时,将连接状态信息发送至对应的第一Wi-Fi应用模块10或第二Wi-Fi应用模块20;
步骤E,第一Wi-Fi应用模块10或第二Wi-Fi应用模块20在接收到Wi-Fi服务模块30发送的连接状态信息时,在第一Wi-Fi应用模块10或第二Wi-Fi应用模块20对应的应用界面上显示连接状态信息。
当第一处理模块40或第二处理模块50在建立Wi-Fi连接的过程中,第一处理模块40或第二处理模块50实时将连接状态信息发送至Wi-Fi服务模块30。当Wi-Fi服务模块30在接收到连接状态信息时,将连接状态信息发 送至对应的第一Wi-Fi应用模块10或第二Wi-Fi应用模块20。在本发明的其他实施例中,当Wi-Fi服务模块30在接收到第一处理模块40发送的连接状态信息时,将该连接状态信息发送至第一Wi-Fi应用模块10;当Wi-Fi服务模块30在接收到第二处理模块50发送的连接状态信息时,将该连接状态信息发送至第二Wi-Fi应用模块20。
当第一Wi-Fi应用模块10接收到Wi-Fi服务模块30发送的连接状态信息时,在第一Wi-Fi应用模块10对应的应用界面上显示连接状态信息。用户通过查看第一Wi-Fi应用模块10对应的应用界面可获知该连接状态信息。当第二Wi-Fi应用模块20接收到Wi-Fi服务模块30发送的连接状态信息时,在第二Wi-Fi应用模块20对应的应用界面上显示连接状态信息。用户通过查看第二Wi-Fi应用模块20对应的应用界面可获知该连接状态信息。
当Wi-Fi连接失败时,Wi-Fi服务模块30向对应的第一Wi-Fi应用模块10或第二Wi-Fi应用模块20发送连接失败的提示信息。用户通过查看第一Wi-Fi应用模块10对应的应用界面或第二Wi-Fi应用模块20对应的应用界面可获知Wi-Fi连接失败。
本实施例提供的方案,在Wi-Fi连接成功,且检测第一处理模块40或第二处理模块50处于数据通信正常状态时,Wi-Fi服务模块30启动单Wi-Fi上网数据的路由配置,由第一处理模块40或第二处理模块50进行数据通信,实现用户通过该可用的Wi-Fi模块访问网络进行上网等操作,用户不需要手动进行网络切换,进一步提高了用户体验。
基于前述的实施例,本发明实施例提供一种Wi-Fi控制装置,所述移动装置包括第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块;
所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收 到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至所述Wi-Fi服务模块;
所述Wi-Fi服务模块,配置为在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
所述第一处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述第二处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
这里需要指出的是:以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本发明装置实施例中未披露的技术细节,请参照本发明方法实施例的描述而理解,为节约篇幅,因此不再赘述。
在实际应用中,所述移动终端或所述Wi-Fi控制装置包括的各模块,以及各模块包括的各单元,都可以通过移动终端中的处理器中的处理器来实现,在实施的过程中,所述处理器可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微处理器(MPU)、或可编程逻辑阵列(FPGA,Field Programmable Gate Array)等来实现。
需要说明的是,本发明实施例中,如果以软件功能模块的形式实现上述的Wi-Fi控制方法或装置,并作为独立的产品销售或使用时,也可以存储 在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例再提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于实现本发明实施例中Wi-Fi控制方法。
相应地,本发明实施例再提供一种移动终端,所述移动终端包括处理器,所述处理器用于执行第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块的功能,其中:
第一Wi-Fi应用模块或第二Wi-Fi应用模块在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块;
所述Wi-Fi服务模块在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
在Wi-Fi连接成功,且所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,所述Wi-Fi服务模块启动双Wi-Fi上网数据的路由 配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本发明提供了一种快速调节屏幕亮度的方法和装置,通过在判定当前的操作为亮度调节的过程中,增加了防误触这一条件,其一是可以避免误操作,其二是使移动终端可以判断用户当前的操作是在进行亮度调节,而非其他的音量调节等,使得终端获取屏幕亮度调节的信息更加准确,从而使得用户对移动终端的操作更加符合心意。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
出于解释的目的,前面的描述使用了特定的术语,以提供对本发明的透彻理解。然而,对本领域的技术人员来说显而易见的是,为了实践本发明并不需要具体的细节。本发明的具体实施例的前述描述是为了图示和说明的目的而呈现。它们并不意在详尽的或将本发明限于所公开的准确形式。 鉴于上面的教义,许多修改和变化是可能的。为了最好地解释本发明的原理及其实际应用而示出并描述了这些实施例,从而使本领域的其他技术人员能够最好地利用本发明和具有适于预期的特定使用的各种修改的各种实施例。意在本发明的范围由随后的权利要求和其等同物来限定。
工业实用性
本发明实施例中,所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至所述Wi-Fi服务模块;所述Wi-Fi服务模块,配置为在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;所述第一处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述第二处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信,因此,用户可以通过第一处理模块和第二处理模块同时访问同一个网络,或者通过第一处理模块和第二处理模块分别访问不同的网络,提高了网络的访问效率。

Claims (20)

  1. 一种移动终端,所述移动终端包括第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块;
    所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至所述Wi-Fi服务模块;
    所述Wi-Fi服务模块,配置为在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
    所述第一处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述第二处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
    所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
  2. 如权利要求1所述的移动终端,其中,所述第一处理模块包括第一Wi-Fi处理单元以及第一Wi-Fi芯片;所述第二处理模块包括第二Wi-Fi处理单元以及第二Wi-Fi芯片;
    所述第一Wi-Fi处理单元,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至所述第一Wi-Fi芯片;所述第二Wi-Fi处理单元,配置为在接收到所述Wi-Fi 服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至所述第二Wi-Fi芯片;
    所述第一Wi-Fi芯片或所述第二Wi-Fi芯片,配置为根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
  3. 如权利要求1所述的移动终端,其中,所述Wi-Fi服务模块,配置为在接收到所述第一处理模块或所述第二处理模块发送的连接状态信息时,将所述连接状态信息发送至对应的第一Wi-Fi应用模块或第二Wi-Fi应用模块;
    所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到所述Wi-Fi服务模块发送的所述连接状态信息时,在所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块对应的应用界面上显示所述连接状态信息。
  4. 如权利要求1所述的移动终端,其中,所述Wi-Fi服务模块,配置为在Wi-Fi连接成功时,发送IP地址获取指令至所述第一处理模块和所述第二处理模块;并在接收到所述第一处理模块反馈的第一IP地址和所述第二处理模块反馈的第二IP地址时,判断所述第一处理模块和所述第二处理模块是否均处于数据通信正常状态。
  5. 如权利要求1至4中任一项所述的移动终端,其中,所述服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块或所述第二处理模块处于数据通信正常状态时,启动单Wi-Fi上网数据的路由配置,由所述第一处理模块或所述第二处理模块进行数据通信。
  6. 一种Wi-Fi控制方法,所述Wi-Fi控制方法包括以下步骤:
    第一Wi-Fi应用模块或第二Wi-Fi应用模块在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块;
    所述Wi-Fi服务模块在接收到所述Wi-Fi连接指令时,将所述Wi-Fi 连接指令发送至对应的第一处理模块或第二处理模块;
    所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
    在Wi-Fi连接成功,且所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,所述Wi-Fi服务模块启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
  7. 如权利要求6所述的Wi-Fi控制方法,其中,所述第一处理模块包括第一Wi-Fi处理单元以及第一Wi-Fi芯片;所述第二处理模块包括第二Wi-Fi处理单元以及第二Wi-Fi芯片;所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤包括:
    所述第一Wi-Fi处理单元或所述第二Wi-Fi处理单元在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至对应的第一Wi-Fi芯片或第二Wi-Fi芯片;
    所述第一Wi-Fi芯片或所述第二Wi-Fi芯片在接收到所述Wi-Fi连接指令以及对应的协议时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接。
  8. 如权利要求6所述的Wi-Fi控制方法,其中,所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤之后,还包括:
    所述Wi-Fi服务模块在接收到所述第一处理模块或所述第二处理模块发送的连接状态信息时,将所述连接状态信息发送至对应的第一Wi-Fi应用模块或第二Wi-Fi应用模块;
    所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块在接收到所述Wi-Fi服务模块发送的所述连接状态信息时,在所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块对应的应用界面上显示所述连接状态信息。
  9. 如权利要求6所述的Wi-Fi控制方法,其中,所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤之后,还包括:
    在Wi-Fi连接成功时,所述Wi-Fi服务模块发送IP地址获取指令至所述第一处理模块和所述第二处理模块;
    所述第一处理模块在接收到所述IP地址获取指令时,向所述Wi-Fi服务模块反馈第一IP地址,所述第二处理模块在接收到所述IP地址获取指令时,向所述Wi-Fi服务模块反馈第二IP地址;
    所述Wi-Fi服务模块在接收到所述第一处理模块反馈的第一IP地址和所述第二处理模块反馈的第二IP地址时,判断所述第一处理模块和所述第二处理模块均处于数据通信正常状态。
  10. 如权利要求6至9中任一项所述的Wi-Fi控制方法,其中,所述Wi-Fi控制方法还包括步骤:
    在Wi-Fi连接成功,且所述第一处理模块或所述第二处理模块处于数据通信正常状态时,所述Wi-Fi服务模块启动单Wi-Fi上网数据的路由配置,由所述第一处理模块或所述第二处理模块进行数据通信。
  11. 一种Wi-Fi控制装置,所述移动装置包括第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块;
    所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收 到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至所述Wi-Fi服务模块;
    所述Wi-Fi服务模块,配置为在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
    所述第一处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;所述第二处理模块,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接;
    所述Wi-Fi服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
  12. 如权利要求11所述的Wi-Fi控制装置,其中,所述第一处理模块包括第一Wi-Fi处理单元;所述第二处理模块包括第二Wi-Fi处理单元;
    所述第一Wi-Fi处理单元,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至所述第一Wi-Fi芯片;
    所述第二Wi-Fi处理单元,配置为在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至所述第二Wi-Fi芯片;
    其中,所述第一Wi-Fi芯片或所述第二Wi-Fi芯片,配置为根据接收到的Wi-Fi连接指令以及对应的协议时,建立Wi-Fi连接。
  13. 如权利要求11所述的Wi-Fi控制装置,其中,所述Wi-Fi服务模块,配置为在接收到所述第一处理模块或所述第二处理模块发送的连 接状态信息时,将所述连接状态信息发送至对应的第一Wi-Fi应用模块或第二Wi-Fi应用模块;
    所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块,配置为在接收到所述Wi-Fi服务模块发送的所述连接状态信息时,在所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块对应的应用界面上显示所述连接状态信息。
  14. 如权利要求11所述的Wi-Fi控制装置,其中,所述Wi-Fi服务模块,配置为在Wi-Fi连接成功时,发送IP地址获取指令至所述第一处理模块和所述第二处理模块;并在接收到所述第一处理模块反馈的第一IP地址和所述第二处理模块反馈的第二IP地址时,判断所述第一处理模块和所述第二处理模块是否均处于数据通信正常状态。
  15. 如权利要求11至14中任一项所述的Wi-Fi控制装置,其中,所述服务模块,配置为在Wi-Fi连接成功,且检测所述第一处理模块或所述第二处理模块处于数据通信正常状态时,启动单Wi-Fi上网数据的路由配置,由所述第一处理模块或所述第二处理模块进行数据通信。
  16. 一种移动终端,所述移动终端包括处理器,所述处理器用于执行第一Wi-Fi应用模块、第二Wi-Fi应用模块、与所述第一Wi-Fi应用模块和所述第二Wi-Fi应用模块连接的Wi-Fi服务模块、以及与所述Wi-Fi服务模块连接的第一处理模块和第二处理模块的功能,其中:
    第一Wi-Fi应用模块或第二Wi-Fi应用模块在接收到用户输入的Wi-Fi连接操作时,发送Wi-Fi连接指令至Wi-Fi服务模块;
    所述Wi-Fi服务模块在接收到所述Wi-Fi连接指令时,将所述Wi-Fi连接指令发送至对应的第一处理模块或第二处理模块;
    所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建 立Wi-Fi连接;
    在Wi-Fi连接成功,且所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,所述Wi-Fi服务模块启动双Wi-Fi上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
  17. 如权利要求16所述的移动终端,其中,所述第一处理模块包括第一Wi-Fi处理单元;所述第二处理模块包括第二Wi-Fi处理单元;所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤包括:
    所述第一Wi-Fi处理单元或所述第二Wi-Fi处理单元在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,将所述Wi-Fi连接指令以及对应的协议发送至对应的第一Wi-Fi芯片或第二Wi-Fi芯片;
    其中,所述第一Wi-Fi芯片或所述第二Wi-Fi芯片在接收到所述Wi-Fi连接指令以及对应的协议时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接。
  18. 如权利要求16所述的移动终端,其中,所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤之后,还包括:
    所述Wi-Fi服务模块在接收到所述第一处理模块或所述第二处理模块发送的连接状态信息时,将所述连接状态信息发送至对应的第一Wi-Fi应用模块或第二Wi-Fi应用模块;
    所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块在接收到所述Wi-Fi服务模块发送的所述连接状态信息时,在所述第一Wi-Fi应用模块或所述第二Wi-Fi应用模块对应的应用界面上显示所述连接状态信息。
  19. 如权利要求16所述的移动终端,其中,所述第一处理模块或所述第二处理模块在接收到所述Wi-Fi服务模块发送的Wi-Fi连接指令时,根据所述Wi-Fi连接指令以及对应的协议建立Wi-Fi连接的步骤之后,还包括:
    在Wi-Fi连接成功时,所述Wi-Fi服务模块发送IP地址获取指令至所述第一处理模块和所述第二处理模块;
    所述第一处理模块在接收到所述IP地址获取指令时,向所述Wi-Fi服务模块反馈第一IP地址,所述第二处理模块在接收到所述IP地址获取指令时,向所述Wi-Fi服务模块反馈第二IP地址;
    所述Wi-Fi服务模块在接收到所述第一处理模块反馈的第一IP地址和所述第二处理模块反馈的第二IP地址时,判断所述第一处理模块和所述第二处理模块均处于数据通信正常状态。
  20. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于实现权利要求6至10中任一项所述的Wi-Fi控制方法。
PCT/CN2016/092086 2016-01-30 2016-07-28 移动终端及wifi控制方法、存储介质 WO2017128663A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610067941.6A CN105682007B (zh) 2016-01-30 2016-01-30 移动终端及wifi控制方法
CN201610067941.6 2016-01-30

Publications (1)

Publication Number Publication Date
WO2017128663A1 true WO2017128663A1 (zh) 2017-08-03

Family

ID=56304430

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092086 WO2017128663A1 (zh) 2016-01-30 2016-07-28 移动终端及wifi控制方法、存储介质

Country Status (2)

Country Link
CN (1) CN105682007B (zh)
WO (1) WO2017128663A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901897A (zh) * 2020-07-28 2020-11-06 Tcl通讯(宁波)有限公司 一种数据下载方法、装置、存储介质及终端

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682007B (zh) * 2016-01-30 2020-03-17 努比亚技术有限公司 移动终端及wifi控制方法
CN110493779B (zh) * 2019-08-23 2022-01-25 Oppo广东移动通信有限公司 无线网络的连接方法及相关装置
CN112040564B (zh) * 2020-08-25 2023-02-28 北京大米科技有限公司 信息传输方法、可读存储介质和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869031A (zh) * 2011-07-05 2013-01-09 Lg优普乐株式会社 用于无线互联网的双WiFi设备和使用双WiFi设备的无线互联网***
CN103491653A (zh) * 2013-05-13 2014-01-01 上海盛本通讯科技有限公司 基于Android智能终端的WiFi和3G共存方法
CN104640166A (zh) * 2014-10-29 2015-05-20 小米科技有限责任公司 通信方法及装置
CN105682191A (zh) * 2016-03-10 2016-06-15 努比亚技术有限公司 移动终端和Wi-Fi控制方法
CN105682007A (zh) * 2016-01-30 2016-06-15 努比亚技术有限公司 移动终端及wifi控制方法
CN105744597A (zh) * 2014-12-12 2016-07-06 华为终端(东莞)有限公司 一种终端及其无线连接方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8793772B2 (en) * 2006-04-26 2014-07-29 At&T Intellectual Property I, L.P. Wireless local area network access controlled by cellular communications
CN103096328B (zh) * 2011-11-02 2015-09-23 西门子公司 用于多链路无线数据传输的装置、***和方法
US9820158B2 (en) * 2012-03-07 2017-11-14 Qualcomm Incorporated Multi-radio interference mitigation via frequency selectivity
KR101453973B1 (ko) * 2012-07-02 2014-10-22 삼성전자주식회사 와이 파이 접속을 위한 방법 및 그 전자 장치
US9516540B2 (en) * 2013-10-14 2016-12-06 Netgear, Inc. Systems and methods for implementing a wireless device that supports WLAN modules operating simultaneously in different wireless bands
CN106559086B (zh) * 2015-09-30 2019-02-15 努比亚技术有限公司 移动终端和无线通信方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869031A (zh) * 2011-07-05 2013-01-09 Lg优普乐株式会社 用于无线互联网的双WiFi设备和使用双WiFi设备的无线互联网***
CN103491653A (zh) * 2013-05-13 2014-01-01 上海盛本通讯科技有限公司 基于Android智能终端的WiFi和3G共存方法
CN104640166A (zh) * 2014-10-29 2015-05-20 小米科技有限责任公司 通信方法及装置
CN105744597A (zh) * 2014-12-12 2016-07-06 华为终端(东莞)有限公司 一种终端及其无线连接方法
CN105682007A (zh) * 2016-01-30 2016-06-15 努比亚技术有限公司 移动终端及wifi控制方法
CN105682191A (zh) * 2016-03-10 2016-06-15 努比亚技术有限公司 移动终端和Wi-Fi控制方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901897A (zh) * 2020-07-28 2020-11-06 Tcl通讯(宁波)有限公司 一种数据下载方法、装置、存储介质及终端

Also Published As

Publication number Publication date
CN105682007B (zh) 2020-03-17
CN105682007A (zh) 2016-06-15

Similar Documents

Publication Publication Date Title
WO2021190166A1 (zh) 一种网络切片确定方法和相关装置
WO2017128650A1 (zh) 一种终端及通信方法
WO2018176675A1 (zh) 一种实现双卡双待双通的通信方法及终端
US9998959B2 (en) Electronic device and method for providing call services for the same
WO2017071310A1 (zh) 视频通话***、装置和方法
WO2017008592A1 (zh) 实现终端设备控制的方法、智能设备及***
CN106413128B (zh) 一种投影方法及移动终端
WO2017118263A1 (zh) 一种终端及终端切换网络的方法、计算机存储介质
WO2017012385A1 (zh) 快速启动应用的方法、装置和终端
WO2017128663A1 (zh) 移动终端及wifi控制方法、存储介质
CN111052780B (zh) Sim卡鉴权方法及终端
WO2017148354A1 (zh) 移动终端、计算机存储介质及网络共享方法
WO2018050080A1 (zh) 一种移动终端、图片处理方法及计算机存储介质
WO2016188495A1 (zh) 语音切换方法、终端、服务器及***、存储介质
WO2017185865A1 (zh) 一种天线、移动终端及其控制方法、存储介质
KR20120045628A (ko) 와이파이 다이렉트(Wi-Fi Direct)를 이용한 이동 단말기 및 그의 어플리케이션 연동방법
WO2017032118A1 (zh) 来电处理方法、装置及***
WO2017113893A1 (zh) 一种搜网的方法及装置
WO2017128671A1 (zh) 双通道移动终端及双通道数据同步方法
WO2017206391A1 (zh) 一种移动终端接入ip多媒体***的方法及装置
CN113473428B (zh) 一种传输控制方法及设备
CN105578620A (zh) 网络接入装置及方法
CN105227771B (zh) 图片传输方法和装置
WO2020199080A1 (zh) 网络分离方法及装置
WO2016155490A1 (zh) 触摸操作区域长按操作的识别方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16887541

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16887541

Country of ref document: EP

Kind code of ref document: A1