CN105813232A - Mobile terminal and network sharing method - Google Patents
Mobile terminal and network sharing method Download PDFInfo
- Publication number
- CN105813232A CN105813232A CN201610126096.5A CN201610126096A CN105813232A CN 105813232 A CN105813232 A CN 105813232A CN 201610126096 A CN201610126096 A CN 201610126096A CN 105813232 A CN105813232 A CN 105813232A
- Authority
- CN
- China
- Prior art keywords
- processing module
- module
- network
- mobile terminal
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012545 processing Methods 0.000 claims abstract description 334
- 230000008569 process Effects 0.000 claims description 32
- 238000000465 moulding Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 abstract description 103
- 238000003780 insertion Methods 0.000 description 22
- 230000037431 insertion Effects 0.000 description 22
- 238000004891 communication Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 9
- 230000006399 behavior Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 241000209094 Oryza Species 0.000 description 4
- 235000007164 Oryza sativa Nutrition 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 235000021186 dishes Nutrition 0.000 description 4
- 230000005611 electricity Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 235000009566 rice Nutrition 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000002463 transducing effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a mobile terminal. The mobile terminal includes a control module, a plurality of WIFI application modules connected with the control module separately, a WIFI service module connected with the WIFI application modules and a plurality of processing module connected with the WIFI service module and in one-to-one correspondence with the WIFI application modules, wherein the control module is used for determining first processing module not in WIFI connection with external hot spots among the processing modules when receiving network share operation command, sending hot spot function starting commands to first WIFI application modules of the first processing modules so as to enable the first WIFI application modules to start the hot spot functions of the first processing modules based on the WIFI service module; the WIFI service module starts routing configuration of network share and the first processing modules share network resources of second processing modules in WIFI connection state. The invention also discloses a network share method. By adopting the mobile terminal and the method provided by the invention, network share cost is reduced.
Description
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to a kind of mobile terminal and network sharing method.
Background technology
Along with modern's growth in the living standard, the mobile terminal such as smart mobile phone, PAD (panel computer) is
Being the necessary in life, one critical function of these mobile terminals is based on Wi-Fi (Wireless
Fidelity, Wireless Fidelity) technology realizes network and shares, and such as, mobile terminal can open the focus of self
Function, provides network insertion service for other mobile terminal needing access network.But, mobile terminal
When starting focus function, Wi-Fi signal receiving function will be closed, and mobile terminal cannot be again by outside
Focus is surfed the Net, it is necessary to by current data service migration to mobile network, and, mobile terminal is opening heat
Need the operator's flow consuming user could realize network after some function to share, cause the cost that network is shared
Higher.
Summary of the invention
The present invention provides a kind of mobile terminal and network sharing method, it is intended to reduce the cost that network is shared.
For achieving the above object, the present invention provides a kind of mobile terminal, and described mobile terminal includes controlling
Module, the multiple Wi-Fi application modules being connected respectively with described control module and multiple described Wi-Fi should
With module connect Wi-Fi service module and is connected with described Wi-Fi service module and with multiple described in
The most multiple processing module of Wi-Fi application module, wherein,
Described control module, for when receiving network sharing operation, determines in each processing module not with outward
Portion's focus sets up the first processing module that Wi-Fi connects;And send the open command of focus function to corresponding
Oneth Wi-Fi application module of described first processing module, for a described Wi-Fi application module by institute
State open command to send to Wi-Fi service module;
Described open command, for when receiving described open command, is sent by described Wi-Fi service module
To described first processing module;
Described first processing module is for receiving the described open command that described Wi-Fi service module sends
Time, start focus function according to described open command;
Described Wi-Fi service module is additionally operable to when focus function on success, starts the route that network is shared
Configuration, is shared the network money of the second processing module being in Wi-Fi connection status by described first processing module
Source.
Optionally, described control module is additionally operable to all set up with outside focus in processing module each described to have
When Wi-Fi connects, determine the 3rd processing module that in each described processing module, available bandwidth is maximum, and
Determine the fourth processing module that in each described processing module, available bandwidth is minimum;And send described unlatching and refer to
4th Wi-Fi application module of order extremely corresponding described fourth processing module, to start described fourth processing module
Focus function;
Described Wi-Fi service module is additionally operable to when focus function on success, starts the route that network is shared
Configuration, is shared the network money of the 3rd processing module being in Wi-Fi connection status by described fourth processing module
Source.
Optionally, described control module be additionally operable to described mobile terminal each processing module all and external heat
When point foundation has Wi-Fi to connect, obtain default network configuration sharing;And obtaining described default network altogether
When enjoying configuration failure, determine the 3rd process that in each processing module of described mobile terminal, available bandwidth is maximum
Module, and determine the fourth processing module that in each processing module, available bandwidth is minimum;And getting
During described default network configuration sharing, send what described open command to described default network configuration sharing was specified
5th Wi-Fi application module, to start the 5th processing module corresponding to described 5th Wi-Fi application module
Focus function;
Described Wi-Fi service module is additionally operable to when focus function on success, starts the route that network is shared
Configuration, is shared, by described 5th processing module, the 6th processing module that described default network configuration sharing specifies
Internet resources.
Optionally, described control module is additionally operable to the data industry processing module of focus function to be launched carried
Business switches to the processing module of Internet resources to be shared.
Optionally, described Wi-Fi service module is additionally operable to after successfully starting up the routing configuration that network is shared,
The information that output network is shared a success, to show at default display interface.
Optionally, described control module is additionally operable to not detect in preset time period based on starting focus function
The data service of processing module time, send the out code of focus function to the process mould starting focus function
Block, to close its focus function.
Additionally, for foregoing invention purpose, the present invention also provides for a kind of network sharing method, described network is altogether
The method of enjoying comprises the following steps:
When receiving network sharing operation, control module determine in each processing module of mobile terminal not with
Outside focus sets up the first processing module that Wi-Fi connects;
Described control module sends the open command of focus function to the first of corresponding described first processing module
Wi-Fi application module, sends described open command to Wi-Fi for a described Wi-Fi application module
Service module;
Described open command, when receiving described open command, is sent to institute by described Wi-Fi service module
State the first processing module;
Described first processing module receive described Wi-Fi service module send described open command time,
Focus function is started according to described open command;
When focus function on success, described Wi-Fi service module starts the routing configuration that network is shared,
The Internet resources of the second processing module being in Wi-Fi connection status are shared by described first processing module.
Optionally, do not set up with outside focus during described control module determines each processing module of mobile terminal
After the step of the first processing module that Wi-Fi connects, also include:
Each processing module at described mobile terminal is all set up with outside focus when having Wi-Fi to be connected, described
Control module determines the 3rd processing module that in each processing module of described mobile terminal, available bandwidth is maximum,
And determine the fourth processing module that in each processing module, available bandwidth is minimum;
Described control module sends the 4th Wi-Fi of described open command extremely corresponding described fourth processing module should
By module, to start the focus function of described fourth processing module;
When focus function on success, described Wi-Fi service module starts the routing configuration that network is shared,
The Internet resources of the 3rd processing module being in Wi-Fi connection status are shared by described fourth processing module.
Optionally, during described control module determines each processing module of described mobile terminal, available bandwidth is maximum
The 3rd processing module, and determine the step of the minimum fourth processing module of available bandwidth in each processing module
Before Zhou, also include:
Each processing module at described mobile terminal is all set up with outside focus when having Wi-Fi to be connected, described
Control module obtains default network configuration sharing;
When obtaining described default network configuration sharing failure, perform described control module and determine described mobile whole
The 3rd processing module that in each processing module of end, available bandwidth is maximum, and determine in each processing module
The step of the fourth processing module that available bandwidth is minimum;
After described control module obtains the step of default network configuration sharing, also include:
When getting described default network configuration sharing, described control module sends described open command to institute
State the 5th Wi-Fi application module that default network configuration sharing is specified, to start described 5th Wi-Fi application
The focus function of the 5th processing module that module is corresponding;
When focus function on success, described Wi-Fi service module starts the routing configuration that network is shared,
The network of the 6th processing module that described default network configuration sharing is specified is shared by described 5th processing module
Resource.
Optionally, before described control module sends described open command, also include:
The data service that the processing module of focus function to be launched carries is switched to treat altogether by described control module
Enjoy the processing module of Internet resources.
Optionally, after described Wi-Fi service module starts the routing configuration that network is shared, also include:
After successfully starting up the routing configuration that network is shared, described Wi-Fi service module output network is shared
Successfully information, to show at default display interface.
Optionally, after described Wi-Fi service module starts the step of the routing configuration that network is shared, also wrap
Include:
When not detecting data service based on the processing module starting focus function in preset time period, institute
State control module and send the out code processing module to startup focus function of focus function, to close its heat
Point function.
The mobile terminal of present invention proposition and network sharing method, when a mobile terminal wherein processing module is with outer
Portion's focus is set up when having Wi-Fi to connect, and can start the focus function of another processing module, by mobile terminal even
The Wi-Fi network connect shares to other mobile terminal, provides network insertion service for other mobile terminal.Phase
Compared with prior art, present invention, avoiding the consumption to mobile terminal its own traffic, it is possible to reduce network and share
Cost.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the frame structure schematic diagram of mobile terminal first embodiment of the present invention;
Fig. 3 is a kind of exemplary plot that in mobile terminal first embodiment of the present invention, network shares interface;
Fig. 4 is the refinement frame structure schematic diagram of mobile terminal first embodiment of the present invention;
Fig. 5 is the another kind of exemplary plot that in mobile terminal first embodiment of the present invention, network shares interface;
Fig. 6 is the schematic flow sheet of inventive network sharing method first embodiment;
Fig. 7 is the schematic flow sheet of inventive network sharing method the second embodiment.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
The present invention.It should be noted that in the case of not conflicting, in embodiment in the present invention and embodiment
Feature can the most arbitrarily combine.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description
In, use the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to this
The explanation of invention, itself does not has specific meaning.Therefore, " module " can mixedly make with " parts "
With.
Mobile terminal can be implemented in a variety of manners.Such as, the mobile terminal described in the present invention can wrap
Include such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (individual digital
Assistant), PAD (panel computer), PMP (portable media player), guider etc., this area
Skilled artisan will appreciate that, in addition to being used in particular for the element of mobile purpose, according to the enforcement of the present invention
The structure of mode can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, use
Family input block 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, control
Device 180 processed and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but should manage
Solve be, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of assembly.
Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and channel radio
Radio communication between communication system or network.Such as, wireless communication unit can include mobile communication module
111 and wireless Internet module 112 at least one.
Mobile communication module 111 send radio signals to base station (such as, access point, node B etc.),
In exterior terminal and server at least one and/or receive from it radio signal.Such radio
Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message
The various types of data sent and/or receive.
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internal or
Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing
Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (at a high speed
Downlink packets accesses) etc..
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase
Machine 121 and mike 122, camera 121 in Video Capture pattern or image capture mode by image capturing
Static images or the view data of video that device obtains process.Picture frame after process may be displayed on
On display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other storage
Medium) in or be transmitted via wireless communication unit 110, two can be provided according to the structure of mobile terminal
Individual or more polyphaser 121.Mike 122 can be at telephone calling model, logging mode, speech recognition mode
Etc. operational mode receives sound (voice data) via mike, and can be by such acoustic processing
For voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can
The form output of mobile communication base station it is sent to via mobile communication module 112.Mike 122 can be implemented respectively
The noise of type eliminates (or suppression) algorithm to eliminate (or suppression) in the process receiving and sending audio signal
The noise of middle generation or interference.
It is mobile whole to control that user input unit 130 can generate key input data according to the order of user's input
The various operations of end.User input unit 130 allows user to input various types of information, and can wrap
Include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity
Etc. the sensitive component of change), roller, rocking bar etc..Especially, fold as a layer when touch pad
When being added on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or
Closed mode), the position of mobile terminal 100, user is for the contact (that is, touch input) of mobile terminal 100
Presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and
And generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, implement when mobile terminal 100
During for sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and open or close.
It addition, sensing unit 140 can detect whether whether power subsystem 190 provide electric power or interface unit 170
Couple with external device (ED).
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.
Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charging
Device) port, wired or wireless FPDP, memory card port, there is the device of identification module for connecting
Port, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can
Be storage for verifying that user uses the various information of mobile terminal 100 and can include that user identifies mould
Block (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, have
The device (hereinafter referred to as " identifying device ") of identification module can be to take the form of smart card, therefore, identifies dress
Put and can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for connecing
Receive from external device (ED) input (such as, data message, electric power etc.) and will receive input transmission
One or more elements in mobile terminal 100 or may be used between mobile terminal and external device (ED)
Transmission data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to pass through
Its by electric power from base provide that the path of mobile terminal 100 or can serve as allows from base input each
Plant command signal and pass through its path being transferred to mobile terminal.From various command signals or the electric power of base input
May serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output unit 150 quilt
Be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal, video signal,
Alarm signal, vibration signal etc.).Output unit 150 can include that display unit 151, audio frequency export mould
Block 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100
When being in telephone calling model, display unit 151 can show with call or other communicate that (such as, text disappears
Breath transmitting-receiving, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI).When
When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can show catches
The image obtained and/or the image of reception, UI or GUI demonstrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious
Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display
(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexibility show
Show at least one in device, three-dimensional (3D) display etc..Some in these display may be constructed such that
Transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can
With for example, TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment party wanted
Formula, mobile terminal 100 can include two or more display units (or other display device), such as, mobile
Terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for
Detect touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note
Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, wireless communication unit 110 is connect
Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.And,
Dio Output Modules 152 can provide the audio frequency output (example relevant to the specific function of mobile terminal 100 execution
As, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can include raising one's voice
Device, buzzer etc..
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc.,
For example, it is possible to storage realizes the software program of inventive network cut-in method, or can temporarily store oneself
Through the data (such as, telephone directory, message, still image, video etc.) that output maybe will export.And,
Memorizer 160 can be to store vibration and the audio frequency of the various modes about exporting when touching and being applied to touch screen
The data of signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory,
Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device
(RAM), static random-access memory (SRAM), read only memory (ROM), electrically erasable
Read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, light
Dish etc..And, mobile terminal 100 can be connected the storage function of execution memorizer 160 with by network
Network storage device cooperates.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs to lead to voice
Control that words, data communication, video calling etc. are relevant and process.Controller 180 can perform pattern to be known
Other places are managed, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or figure
Picture.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour
Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination
Computer-readable medium implement.Implementing for hardware, embodiment described herein can be by using
Application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD),
Programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller
Device, microprocessor, it is designed to perform at least one in the electronic unit of function described herein and implements,
In some cases, such embodiment can be implemented in controller 180.Software is implemented, all
Embodiment such as process or function can perform at least one function or the single software of operation with permission
Module is implemented.Software code can by write with any suitable programming language software application (or
Program) to implement, software code can be stored in memorizer 160 and be performed by controller 180.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of mobile terminal of the present invention is proposed.
In conjunction with seeing figures.1.and.2, in the first embodiment of mobile terminal of the present invention, this mobile terminal 100
Including control module 10, the multiple Wi-Fi application modules being connected respectively with control module 10 are with multiple
Wi-Fi application module connect Wi-Fi service module 20 and be connected with Wi-Fi service module 20 and with
Multiple the most multiple processing modules of Wi-Fi application module, also include being connected with control module 10
Data module 30, wherein, control module 10 can be the controller 180 in Fig. 1, Wi-Fi application module,
Wi-Fi service module 20 and processing module can include in wireless Internet module 112 in FIG,
Control module 10, for when receiving network sharing operation, determines in each processing module not with outward
Portion's focus sets up the first processing module that Wi-Fi connects;And send the open command of focus function to corresponding
Oneth Wi-Fi application module of the first processing module, the unlatching that will receive for a Wi-Fi application module
Instruction sends to Wi-Fi service module 20;
The open command received for when receiving open command, is sent to the by Wi-Fi service module 20
One processing module;
First processing module is used for when receiving the open command that Wi-Fi service module 20 sends, according to
The open command received and the driving of correspondence start focus function;
Wi-Fi service module 20 is additionally operable to when focus function on success, and the route starting network shared is joined
Put, the first processing module share the Internet resources of the second processing module being in Wi-Fi connection status.
In the present embodiment, the Wi-Fi application module of this mobile terminal 100 provides corresponding Wi-Fi application behaviour
Make interface, and present to user based on control module 10 by the display unit 151 of mobile terminal 100,
Controlled accordingly and operation by Wi-Fi application operating interface for user.Such as, a Wi-Fi should
Can be with being controlled the first process respectively by Wi-Fi service module 20 by module and the 2nd Wi-Fi application module
Module and the connection/disconnection of the second processing module.First processing module and the second processing module process respectively
Instruction that one Wi-Fi application module and the 2nd Wi-Fi application module issue and the connection shape of Wi-Fi Hotspot
State information etc..Additionally, Wi-Fi application module is additionally based upon the control module 10 display by mobile terminal 100
Unit 151 provides a user with network and shares interface, as it is shown on figure 3, share interface at this network to be provided with heat
Point start button, when user needs the Wi-Fi Hotspot Internet resources sharing mobile terminal 100 connection, uses
Family can be clicked on this network and share the focus start button at interface, and the network opening mobile terminal 100 shares merit
Energy.
Concrete, control module 10, when receiving the network sharing operation of user, determines that each processes mould
Block does not sets up, with outside focus, the first processing module that Wi-Fi is connected.Wherein, processing module not with outside
Focus is set up Wi-Fi connection and is referred to that processing module does not operates in STA (Station, website) pattern, including
Processing module is operated in AP (Access Point, access point) pattern, and processing module is in closedown shape
State etc..Control module 10, after determining the first processing module, triggers the open command of focus function, and
By a Wi-Fi application module corresponding for this open command transmission to the first processing module.
The open command received, when receiving this open command, is sent extremely by the oneth Wi-Fi application module
Wi-Fi service module 20.
When Wi-Fi service module 20 receives this open command, the open command received is sent at first
Reason module.
When the first processing module receives this open command, open according to the driving of this open command and correspondence
Dynamic focus function.Concrete, with reference to Fig. 4, the first processing module includes the first framework subelement, the first association
View subelement, the first driving subelement and Wi-Fi chip, wherein, the first framework subelement is connecing
When receiving the open command that Wi-Fi service module 20 sends, the open command received is sent to the first association
View subelement.First agreement subelement, when receiving this open command, sends instruction information and drives to first
Subelement, the AP preset to indicate the first driving subelement to load drives;First agreement subelement also selects
The agreement that corresponding A P drives, and drive son single via first the open command of the agreement chosen and reception
Unit sends to a Wi-Fi chip, and now, a Wi-Fi chip operation, at ap mode, i.e. opens
Focus function, accordingly, a Wi-Fi chip is operated in other of STA mode and moves end receiving
During the network insertion request that end sends, carry out eating dishes without rice or wine alternately, to set up according to this agreement and other mobile terminal
Wi-Fi connects.Meanwhile, a Wi-Fi chip, after starting focus function, returns and starts successfully finger
Show that information is to control module 10.
Control module 10 receive the oneth Wi-Fi chip return startup successfully indicate information after,
Send instruction data module 30 and complete the instruction information of routing configuration to data module 30.Data module 30
When receiving this instruction information completing routing configuration, the routing configuration shared by default network is via control
Molding block 10 is issued to Wi-Fi service module 20.Wi-Fi service module 20 receive this network share
Routing configuration time, start this network share routing configuration, by the first processing module share being in Wi-Fi
The Internet resources of the second processing module of connection status, it is achieved network is shared.
Further, in the present embodiment, Wi-Fi service module 20 is successfully starting up the route that network is shared
After configuration, the information that output network is shared a success, to show at default display interface.
Concrete, the output of this information to a Wi-Fi application module, is supplied by Wi-Fi service module 20
This information is exported to control module 10 by the oneth Wi-Fi application module, control module 10 this carried
Show that information exports the display unit 151 to mobile terminal 100.Display unit 151 is receiving this prompting letter
During breath, share interface based on aforementioned network and export, such as, focus start button pass as shown in Figure 3
Closed state switches to the opening shown in Fig. 5, to point out user's current network sharing functionality to have turned on, and can
Network insertion service is provided for other mobile terminal.
Further, in the present embodiment, control module 10 is receiving the prompting letter that network is shared a success
During breath, start intervalometer and carry out timing, and other of processing module carrying starting focus function is moved end
The data service of end is detected, if not detecting in preset time period based on the process starting focus function
During the data service of module, control module 10 sends the out code of focus function to starting focus function
Processing module, to close its focus function.
Although it will be appreciated by persons skilled in the art that Wi-Fi technology has higher message transmission rate
And need not consume the advantage such as operator's flow of mobile terminal, but it has high energy consumption, occurred frequently simultaneously
The problems such as heat.Such as, open portable Wi-Fi Hotspot at mobile phone and provide network insertion for notebook computer
After service, even if in the case of notebook computer does not has larger data handling capacity, the electricity of battery of mobile phone is also
Can exhaust within a short period of time, affect the normal use of cellphone subscriber.
Therefore, for avoiding after the focus function opening the first processing module, do not receive other for a long time and move
The network of terminal accesses operation, causes the electricity waste that mobile terminal is unnecessary, in the present embodiment, controls
The data service of other mobile terminal that the first processing module carries is detected by module 10.Wherein, if
Do not detect data service based on the first processing module in preset time period, then control module 10 sends
The out code of focus function is to a Wi-Fi application module;Oneth Wi-Fi application module is receiving this
During out code, the out code received is sent to Wi-Fi service module 20;Wi-Fi service module 20
When receiving this out code, the out code received is sent to the first framework subelement;First framework
The out code of reception, when receiving the out code that Wi-Fi service module 20 sends, is sent out by subelement
Deliver to the first agreement subelement;First agreement subelement refers in the closedown receiving the first framework subelement transmission
When making, the out code received is sent to the first driving subelement;First drives subelement receiving pass
When closing instruction, the current AP loaded of unloading drives, and disconnects the power supply of a Wi-Fi chip.
If additionally, detect data service based on the first processing module in preset time period, then controlling mould
Block 10 maintains the focus function of the first processing module, continues as other mobile terminal and provides network insertion service.
It should be noted that the present embodiment is not limiting as the value of aforementioned preset time period, specifically can be according to shifting
The battery capacity of dynamic terminal is configured, such as, if battery capacity is relatively big, then can arrange longer default time
Between section, if battery capacity is less, then shorter preset time period can be set, as the present embodiment default setting is
3 minutes.It will be appreciated by persons skilled in the art that this preset time period also can be specified by user.
Further, the Wi-Fi for avoiding the processing module sharing Internet resources to disconnect with outside focus is connected
The network causing mobile terminal to provide shares service disruption, and in the present embodiment, control module 10 is to opening
While the data service of other mobile terminal of the processing module carrying of dynamic focus function is detected, the most right
The Wi-Fi connection status of the processing module of current shared Internet resources is detected, and is detecting current being total to
When the Wi-Fi of the processing module and outside focus of enjoying Internet resources is connected disconnection, send instruction Wi-Fi service
Module 20 updates the instruction information of routing configuration to Wi-Fi service module 20;Wi-Fi service module 20 is also
For when receiving this instruction information that control module 10 sends, update what the network being currently up was shared
Routing configuration, to share the Internet resources of other processing module being currently at Wi-Fi connection status.
Additionally, due to Wi-Fi service module 20 can interact with each processing module respectively, it is to avoid
The redundancy that independent operating multiple Wi-Fi service module 20 causes, is simplified the flow process of data communication,
Data communication efficiency can be improved.
The mobile terminal that the present embodiment proposes, including multiple processing modules, when a wherein processing module is with outside
Focus is set up when having Wi-Fi to connect, and can start the focus function of another processing module, is connected by mobile terminal
Wi-Fi network share to other mobile terminal, for other mobile terminal provide network insertion service.Compare
In prior art, present invention, avoiding the consumption to mobile terminal its own traffic, it is possible to reduce what network was shared
Cost.
With continued reference to Fig. 1 and Fig. 2, in the second embodiment of mobile terminal of the present invention, this mobile terminal bag
Include control module 10, the multiple Wi-Fi application modules being connected respectively with control module 10 and multiple Wi-Fi
Application module connect Wi-Fi service module 20 and be connected with Wi-Fi service module 20 and with multiple
The most multiple processing module of Wi-Fi application module, also includes the data mould being connected with control module 10
Block 30, wherein, control module 10 can be the controller 180 in Fig. 1, Wi-Fi application module, Wi-Fi
Service module 20 and processing module can include in wireless Internet module 112 in FIG,
Control module 10, for when receiving network sharing operation, determines in each processing module not with outward
Portion's focus sets up the first processing module that Wi-Fi connects;And all build with outside focus in each processing module
Vertical when having Wi-Fi to connect, determine the 3rd processing module of available bandwidth maximum in each processing module, and
Determine the fourth processing module supporting bandwidth maximum in each processing module in addition to the 3rd processing module;And
Send the open command the 4th Wi-Fi application module to corresponding fourth processing module of focus function, to start
The focus function of fourth processing module;
Wi-Fi service module 20 is for when focus function on success, and the route starting network shared is joined
Put, fourth processing module share the Internet resources of the 3rd processing module being in Wi-Fi connection status.
In the present embodiment, the Wi-Fi application module of this mobile terminal 100 provides corresponding Wi-Fi application behaviour
Make interface, and present to user based on control module 10 by the display unit 151 of mobile terminal 100,
Controlled accordingly and operation by Wi-Fi application operating interface for user.Such as, the 3rd Wi-Fi should
Can be with being controlled the 3rd process respectively by Wi-Fi service module 20 by module and the 4th Wi-Fi application module
Module and the connection/disconnection of fourth processing module.3rd processing module and fourth processing module process respectively
Instruction that three Wi-Fi application modules and the 4th Wi-Fi application module issue and the connection shape of Wi-Fi Hotspot
State information etc..Additionally, Wi-Fi application module is additionally based upon the control module 10 display by mobile terminal 100
Unit 151 provides a user with network and shares interface, as it is shown on figure 3, share interface at this network to be provided with heat
Point start button, when user needs the Wi-Fi Hotspot Internet resources sharing mobile terminal connection, Yong Huke
Share the focus start button at interface clicking on this network, open the network sharing functionality of mobile terminal.
Concrete, control module 10, when receiving the network sharing operation of user, determines that each processes mould
Block does not sets up, with outside focus, the first processing module that Wi-Fi is connected.Wherein, processing module not with outside
Focus is set up Wi-Fi connection and is referred to that processing module does not operates in STA (Station, website) pattern, including
Processing module is operated in AP (Access Point, access point) pattern, and processing module is in closedown shape
State etc..
If all having with outside focus foundation it is understood that control module 10 detects each processing module
Wi-Fi connects, and illustrates now to provide network insertion clothes based on the Wi-Fi network that arbitrary processing module connects
Business.For the network insertion quality that offer is higher, the present embodiment is based on network in the current Wi-Fi network connected
The preferable Wi-Fi network of quality provides network insertion service.In the present embodiment, control module 10 is at each
Processing module is all set up with outside focus when having Wi-Fi to be connected, and further determines that in each processing module available
The 3rd processing module that bandwidth is maximum, and determine support in addition to the 3rd processing module in each processing module
The fourth processing module that bandwidth is maximum.
After determining the 3rd processing module and fourth processing module, control module 10 triggers focus function
Open command, and this open command is sent to the 4th Wi-Fi application module corresponding to fourth processing module.
The open command received, when receiving this open command, is sent extremely by the 4th Wi-Fi application module
Wi-Fi service module 20.
When Wi-Fi service module 20 receives this open command, the open command received is sent to the everywhere
Reason module.
When fourth processing module receives this open command, open according to the driving of this open command and correspondence
Dynamic focus function.Concrete, with reference to Fig. 4, fourth processing module includes the 4th framework subelement, the 4th association
View subelement, 4 wheel driven subunit and the 4th Wi-Fi chip, wherein, the 4th framework subelement is connecing
When receiving the open command that Wi-Fi service module 20 sends, the open command received is sent to the 4th association
View subelement.4th agreement subelement, when receiving this open command, sends instruction information and drives to the 4th
Subelement, the AP preset to indicate 4 wheel driven subunit to load drives, wherein, 4 wheel driven subunit
When loading AP and driving, need to reinitialize the 4th Wi-Fi chip, and unload the current STA loaded
Drive, reload AP and drive;4th agreement subelement also selects the agreement that corresponding A P drives, and will choosing
In agreement and reception open command via 4 wheel driven subunit send to the 4th Wi-Fi chip, this
Time, the 4th Wi-Fi chip operation, at ap mode, i.e. opens focus function, accordingly, the 4th Wi-Fi
Chip receive be operated in STA mode other mobile terminal send network insertion request time, according to
This agreement and other mobile terminal carry out eating dishes without rice or wine alternately, set up Wi-Fi and connect.Meanwhile, the 4th Wi-Fi core
Sheet, after starting focus function, returns and starts successful instruction information to control module 10.
Control module 10 receive the 4th Wi-Fi chip return startup successfully indicate information after,
Send instruction data module 30 and complete the instruction information of routing configuration to data module 30.Data module 30
When receiving this instruction information completing routing configuration, the routing configuration shared by default network is via control
Molding block 10 is issued to Wi-Fi service module 20.Wi-Fi service module is receiving what this network was shared
During routing configuration, start the routing configuration that this network is shared, fourth processing module share being in Wi-Fi even
Connect the Internet resources of the 3rd processing module of state, it is achieved network is shared.
It should be noted that in actual application scenarios, the network insertion that outside focus provides services not necessarily all
It is free, and, there is processing module and connect the situation of Intranet focus, if sharing the net of this Intranet focus
Network resource, it is impossible to enough access services that outer net is provided for other mobile terminal, therefore, specific for meeting
User's request, promotes Consumer's Experience, and in the present embodiment, control module 10 is additionally operable in each processing module
When all having Wi-Fi to be connected with outside focus foundation, obtain default network configuration sharing;And obtaining acquiescence
During network configuration sharing failure, determine the 3rd processing module that in each processing module, available bandwidth is maximum, with
And determine the fourth processing module that in each processing module, available bandwidth is minimum;And getting default network
During configuration sharing, send the 5th Wi-Fi that open command to the default network configuration sharing of focus function is specified
Application module, to start the focus function of the 5th processing module corresponding to described 5th Wi-Fi application module;
Wi-Fi service module 20 is additionally operable to when focus function on success, and the route starting network shared is joined
Put, the 5th processing module share the Internet resources of the 6th processing module that default network configuration sharing is specified.
Wherein, control module 10 start that the 5th processing module shares that default network configuration sharing is specified the 6th
The process of the Internet resources of processing module can refer to previous embodiment, and here is omitted.Additionally, this acquiescence
The data that network configuration sharing is pre-entered based on user by control module 10 are arranged, and such as, user can be by
The processing module of the outside focus that connection traffic is free is set to the 6th processing module, also can will connect Intranet heat
The processing module of point is set to the 5th processing module, the processing module connecting outer net focus is set at the 6th
Reason module.
Further, use for ease of user so that this default network can be shared and join by user when needed
Putting and modify, in the present embodiment, control module 10 is additionally operable to receiving default network configuration sharing
Renewal instruction time, based on receive described renewal instruction current default network configuration sharing is adjusted
Whole.Wherein, the adjustment of default network configuration sharing can be carried out by user according to actual needs.
Further, owing to, before starting the focus function of processing module, processing module is built with outside focus
Vertical have Wi-Fi to connect, and it carries the part data service of its place mobile terminal 100, for avoiding starting
The part data traffic interruptions of carrying before it is caused after the focus function of processing module, in the present embodiment,
Before starting the focus function of processing module of focus function to be launched, control module 10 is additionally operable to treat
The data service of the processing module carrying starting focus function switches to the processing module of Internet resources to be shared.
Such as, fourth processing module, before starting the focus function of fourth processing module, is held by control module 10
The data service carried switches to the 3rd processing module.
Concrete, control module 10 sends instruction data module 30 and completes the instruction information of data service switching
To data module 30;Data module 30 is when receiving the instruction information of this data service switching, and it is right to change
The network configuration answered, switches to net to be shared by the data service that the processing module of focus function to be launched carries
The processing module of network resource.
Further, present invention also offers a kind of network sharing method, in conjunction with reference to Fig. 1, Fig. 2 and Tu
6, in the first embodiment of inventive network sharing method, this network sharing method includes:
Step S10, when receiving network sharing operation, control module 10 determines in each processing module
Do not set up, with outside focus, the first processing module that Wi-Fi is connected;
Step S20, control module 10 sends the open command of focus function to corresponding first processing module
A Wi-Fi application module, for a Wi-Fi application module by receive open command send extremely
Wi-Fi service module 20;
Step S30, the open command of reception, when receiving open command, is sent out by Wi-Fi service module 20
Deliver to the first processing module;
Step S40, the first processing module receive Wi-Fi service module 20 send open command time,
Driving according to the open command received and correspondence starts focus function;
Step S50, when focus function on success, Wi-Fi service module 20 starts the road that network is shared
By configuring, the first processing module share the Internet resources of the second processing module being in Wi-Fi connection status.
In the present embodiment, the Wi-Fi application module of this mobile terminal 100 provides corresponding Wi-Fi application behaviour
Make interface, and present to user based on control module 10 by the display unit 151 of mobile terminal 100,
Controlled accordingly and operation by Wi-Fi application operating interface for user.Such as, a Wi-Fi should
Can be with being controlled the first process respectively by Wi-Fi service module 20 by module and the 2nd Wi-Fi application module
Module and the connection/disconnection of the second processing module.First processing module and the second processing module process respectively
Instruction that one Wi-Fi application module and the 2nd Wi-Fi application module issue and the connection shape of Wi-Fi Hotspot
State information etc..Additionally, Wi-Fi application module is additionally based upon the control module 10 display by mobile terminal 100
Unit 151 provides a user with network and shares interface, as it is shown on figure 3, share interface at this network to be provided with heat
Point start button, when user needs the Wi-Fi Hotspot Internet resources sharing mobile terminal 100 connection, uses
Family can be clicked on this network and share the focus start button at interface, and the network opening mobile terminal 100 shares merit
Energy.
Concrete, control module 10, when receiving the network sharing operation of user, determines that each processes mould
Block does not sets up, with outside focus, the first processing module that Wi-Fi is connected.Wherein, processing module not with outside
Focus is set up Wi-Fi connection and is referred to that processing module does not operates in STA (Station, website) pattern, including
Processing module is operated in AP (Access Point, access point) pattern, and processing module is in closedown shape
State etc..Control module 10, after determining the first processing module, triggers the open command of focus function, and
By a Wi-Fi application module corresponding for this open command transmission to the first processing module.
The open command received, when receiving this open command, is sent extremely by the oneth Wi-Fi application module
Wi-Fi service module 20.
When Wi-Fi service module 20 receives this open command, the open command received is sent at first
Reason module.
When the first processing module receives this open command, open according to the driving of this open command and correspondence
Dynamic focus function.Concrete, with reference to Fig. 4, the first processing module includes the first framework subelement, the first association
View subelement, the first driving subelement and Wi-Fi chip, wherein, the first framework subelement is connecing
When receiving the open command that Wi-Fi service module 20 sends, the open command received is sent to the first association
View subelement.First agreement subelement, when receiving this open command, sends instruction information and drives to first
Subelement, the AP preset to indicate the first driving subelement to load drives;First agreement subelement also selects
The agreement that corresponding A P drives, and drive son single via first the open command of the agreement chosen and reception
Unit sends to a Wi-Fi chip, and now, a Wi-Fi chip operation, at ap mode, i.e. opens
Focus function, accordingly, a Wi-Fi chip is operated in other of STA mode and moves end receiving
During the network insertion request that end sends, carry out eating dishes without rice or wine alternately, to set up according to this agreement and other mobile terminal
Wi-Fi connects.Meanwhile, a Wi-Fi chip, after starting focus function, returns and starts successfully finger
Show that information is to control module 10.
Control module 10 receive the oneth Wi-Fi chip return startup successfully indicate information after,
Send instruction data module 30 and complete the instruction information of routing configuration to data module 30.Data module 30
When receiving this instruction information completing routing configuration, the routing configuration shared by default network is via control
Molding block 10 is issued to Wi-Fi service module 20.Wi-Fi service module 20 receive this network share
Routing configuration time, start this network share routing configuration, by the first processing module share being in Wi-Fi
The Internet resources of the second processing module of connection status, it is achieved network is shared.
Further, in the present embodiment, after step S50, also include:
After successfully starting up the routing configuration that network is shared, Wi-Fi service module 20 exports network and shares into
The information of merit, to show at default display interface.
Concrete, the output of this information to a Wi-Fi application module, is supplied by Wi-Fi service module 20
This information is exported to control module 10 by the oneth Wi-Fi application module, control module 10 this carried
Show that information exports the display unit 151 to mobile terminal 100.Display unit 151 is receiving this prompting letter
During breath, share interface based on aforementioned network and export, such as, focus start button pass as shown in Figure 3
Closed state switches to the opening shown in Fig. 5, to point out user's current network sharing functionality to have turned on, and can
Network insertion service is provided for other mobile terminal.
Further, in the present embodiment, after step S50, also include:
When not detecting data service based on the processing module starting focus function in preset time period, control
Molding block 10 sends the out code processing module to startup focus function of focus function, to close its heat
Point function.
Concrete, control module 10, when receiving the information that network is shared a success, starts intervalometer
Carry out timing, and the data service to other mobile terminal of the first processing module carrying is detected, if
Data service based on the first processing module is not detected, then via a Wi-Fi application in preset time period
The out code of module transmission focus function is to the first processing module, to close the focus merit of the first processing module
Energy.Although it will be appreciated by persons skilled in the art that Wi-Fi technology has higher message transmission rate
And need not consume the advantage such as operator's flow of mobile terminal, but it has high energy consumption, occurred frequently simultaneously
The problems such as heat.Such as, open portable Wi-Fi Hotspot at mobile phone and provide network insertion for notebook computer
After service, even if in the case of notebook computer does not has larger data handling capacity, the electricity of battery of mobile phone is also
Can exhaust within a short period of time, affect the normal use of cellphone subscriber.
Therefore, for avoiding after the focus function opening the first processing module, do not receive other for a long time and move
The network of terminal accesses operation, causes the electricity waste that mobile terminal is unnecessary, in the present embodiment, controls
The data service of other mobile terminal that the first processing module carries is detected by module 10.Wherein, if
Do not detect data service based on the first processing module in preset time period, then control module 10 sends
The out code of focus function is to a Wi-Fi application module;Oneth Wi-Fi application module is receiving this
During out code, the out code received is sent to Wi-Fi service module 20;Wi-Fi service module 20
When receiving this out code, the out code received is sent to the first framework subelement;First framework
The out code of reception, when receiving the out code that Wi-Fi service module 20 sends, is sent out by subelement
Deliver to the first agreement subelement;First agreement subelement refers in the closedown receiving the first framework subelement transmission
When making, the out code received is sent to the first driving subelement;First drives subelement receiving pass
When closing instruction, the current AP loaded of unloading drives, and disconnects the power supply of a Wi-Fi chip.
If additionally, detect data service based on the first processing module in preset time period, then controlling mould
Block 10 maintains the focus function of the first processing module, continues as other mobile terminal and provides network insertion service.
It should be noted that the present embodiment is not limiting as the value of aforementioned preset time period, specifically can be according to shifting
The battery capacity of dynamic terminal is configured, such as, if battery capacity is relatively big, then can arrange longer default time
Between section, if battery capacity is less, then shorter preset time period can be set, as the present embodiment default setting is
3 minutes.It will be appreciated by persons skilled in the art that this preset time period also can be specified by user.
Further, the Wi-Fi for avoiding the processing module sharing Internet resources to disconnect with outside focus is connected
The network causing mobile terminal to provide shares service disruption, and in the present embodiment, control module 10 is to opening
While the data service of other mobile terminal of the processing module carrying of dynamic focus function is detected, the most right
The Wi-Fi connection status of the processing module of current shared Internet resources is detected, and is detecting current being total to
When the Wi-Fi of the processing module and outside focus of enjoying Internet resources is connected disconnection, send instruction Wi-Fi service
Module 20 updates the instruction information of routing configuration to Wi-Fi service module 20;Wi-Fi service module 20 exists
When receiving this instruction information that control module 10 sends, the route updating the network being currently up shared is joined
Put, to share the Internet resources of other processing module being currently at Wi-Fi connection status.
Additionally, due to Wi-Fi service module 20 can interact with each processing module respectively, it is to avoid
The redundancy that independent operating multiple Wi-Fi service module 20 causes, is simplified the flow process of data communication,
Data communication efficiency can be improved.
The network sharing method that the present embodiment proposes, is applied to include the mobile terminal of multiple processing module, when
When wherein a processing module is set up with outside focus and had Wi-Fi to be connected, the focus of another processing module can be started
Function, shares to other mobile terminal by the Wi-Fi network that mobile terminal connects, carries for other mobile terminal
For network insertion service.Compared to prior art, present invention, avoiding the consumption to mobile terminal its own traffic,
The cost that network is shared can be reduced.
In conjunction with reference to Fig. 1, Fig. 2 and Fig. 7, in the second embodiment of inventive network sharing method,
This network sharing method includes:
Step S10, when receiving network sharing operation, control module 10 determines in each processing module
Do not set up, with outside focus, the first processing module that Wi-Fi is connected;
Step S60, when each processing module is all set up with outside focus and is had Wi-Fi to be connected, control module
10 determine the 3rd processing module that in each processing module, available bandwidth is maximum, and determine that each processes mould
Block is supported in addition to the 3rd processing module the fourth processing module that bandwidth is maximum;
Step S70, control module 10 sends the 4th Wi-Fi of the most corresponding fourth processing module of open command
Application module, to start the focus function of fourth processing module;
Step S80, when focus function on success, Wi-Fi service module 20 starts the road that network is shared
By configuring, fourth processing module share the Internet resources of the 3rd processing module being in Wi-Fi connection status.
In the present embodiment, the Wi-Fi application module of this mobile terminal 100 provides corresponding Wi-Fi application behaviour
Make interface, and present to user based on control module 10 by the display unit 151 of mobile terminal 100,
Controlled accordingly and operation by Wi-Fi application operating interface for user.Such as, the 3rd Wi-Fi should
Can be with being controlled the 3rd process respectively by Wi-Fi service module 20 by module and the 4th Wi-Fi application module
Module and the connection/disconnection of fourth processing module.3rd processing module and fourth processing module process respectively
Instruction that three Wi-Fi application modules and the 4th Wi-Fi application module issue and the connection shape of Wi-Fi Hotspot
State information etc..Additionally, Wi-Fi application module is additionally based upon the control module 10 display by mobile terminal 100
Unit 151 provides a user with network and shares interface, as it is shown on figure 3, share interface at this network to be provided with heat
Point start button, when user needs the Wi-Fi Hotspot Internet resources sharing mobile terminal connection, Yong Huke
Share the focus start button at interface clicking on this network, open the network sharing functionality of mobile terminal.
Concrete, control module 10, when receiving the network sharing operation of user, determines that each processes mould
Block does not sets up, with outside focus, the first processing module that Wi-Fi is connected.Wherein, processing module not with outside
Focus is set up Wi-Fi connection and is referred to that processing module does not operates in STA (Station, website) pattern, including
Processing module is operated in AP (Access Point, access point) pattern, and processing module is in closedown shape
State etc..
If all having with outside focus foundation it is understood that control module 10 detects each processing module
Wi-Fi connects, and illustrates now to provide network insertion clothes based on the Wi-Fi network that arbitrary processing module connects
Business.For the network insertion quality that offer is higher, the present embodiment is based on network in the current Wi-Fi network connected
The preferable Wi-Fi network of quality provides network insertion service.In the present embodiment, control module 10 is at each
Processing module is all set up with outside focus when having Wi-Fi to be connected, and further determines that in each processing module available
The 3rd processing module that bandwidth is maximum, and determine support in addition to the 3rd processing module in each processing module
The fourth processing module that bandwidth is maximum.
After determining the 3rd processing module and fourth processing module, control module 10 triggers focus function
Open command, and this open command is sent to the 4th Wi-Fi application module corresponding to fourth processing module.
The open command received, when receiving this open command, is sent extremely by the 4th Wi-Fi application module
Wi-Fi service module 20.
When Wi-Fi service module 20 receives this open command, the open command received is sent to the everywhere
Reason module.
When fourth processing module receives this open command, open according to the driving of this open command and correspondence
Dynamic focus function.Concrete, with reference to Fig. 4, fourth processing module includes the 4th framework subelement, the 4th association
View subelement, 4 wheel driven subunit and the 4th Wi-Fi chip, wherein, the 4th framework subelement is connecing
When receiving the open command that Wi-Fi service module 20 sends, the open command received is sent to the 4th association
View subelement.4th agreement subelement, when receiving this open command, sends instruction information and drives to the 4th
Subelement, the AP preset to indicate 4 wheel driven subunit to load drives, wherein, 4 wheel driven subunit
When loading AP and driving, need to reinitialize the 4th Wi-Fi chip, and unload the current STA loaded
Drive, reload AP and drive;4th agreement subelement also selects the agreement that corresponding A P drives, and will choosing
In agreement and reception open command via 4 wheel driven subunit send to the 4th Wi-Fi chip, this
Time, the 4th Wi-Fi chip operation, at ap mode, i.e. opens focus function, accordingly, the 4th Wi-Fi
Chip receive be operated in STA mode other mobile terminal send network insertion request time, according to
This agreement and other mobile terminal carry out eating dishes without rice or wine alternately, set up Wi-Fi and connect.Meanwhile, the 4th Wi-Fi core
Sheet, after starting focus function, returns and starts successful instruction information to control module 10.
Control module 10 receive the 4th Wi-Fi chip return startup successfully indicate information after,
Send instruction data module 30 and complete the instruction information of routing configuration to data module 30.Data module 30
When receiving this instruction information completing routing configuration, the routing configuration shared by default network is via control
Molding block 10 is issued to Wi-Fi service module 20.Wi-Fi service module is receiving what this network was shared
During routing configuration, start the routing configuration that this network is shared, fourth processing module share being in Wi-Fi even
Connect the Internet resources of the 3rd processing module of state, it is achieved network is shared.
It should be noted that in actual application scenarios, the network insertion that outside focus provides services not necessarily all
It is free, and, there is processing module and connect the situation of Intranet focus, if sharing the net of this Intranet focus
Network resource, it is impossible to enough access services that outer net is provided for other mobile terminal, therefore, specific for meeting
User's request, promotes Consumer's Experience, in the present embodiment, before step S60, also includes:
When each processing module is all set up with outside focus and had Wi-Fi to be connected, control module 10 obtains silent
Recognize network configuration sharing;
When obtaining default network configuration sharing failure, proceed to perform step S60;
After control module 10 obtains the step of default network configuration sharing, also include:
When getting default network configuration sharing, control module 10 sends the open command of focus function extremely
The 5th Wi-Fi application module that default network configuration sharing is specified, to start the 5th Wi-Fi application module pair
The focus function of the 5th processing module answered;
When focus function on success, Wi-Fi service module 20 starts the routing configuration that network is shared, by
5th processing module shares the Internet resources of the 6th processing module that default network configuration sharing is specified.
Wherein, control module 10 start that the 5th processing module shares that default network configuration sharing is specified the 6th
The process of the Internet resources of processing module can refer to previous embodiment, and here is omitted.Additionally, this acquiescence
The data that network configuration sharing is pre-entered based on user by control module 10 are arranged, and such as, user can be by
The processing module of the outside focus that connection traffic is free is set to the 6th processing module, also can will connect Intranet heat
The processing module of point is set to the 5th processing module, the processing module connecting outer net focus is set at the 6th
Reason module.
Further, use for ease of user so that this default network can be shared and join by user when needed
Putting and modify, in the present embodiment, control module 10 is additionally operable to receiving default network configuration sharing
Renewal instruction time, based on receive described renewal instruction current default network configuration sharing is adjusted
Whole.Wherein, the adjustment of default network configuration sharing can be carried out by user according to actual needs.
Further, owing to, before starting the focus function of processing module, processing module is built with outside focus
Vertical have Wi-Fi to connect, and it carries the part data service of its place mobile terminal 100, for avoiding starting
The part data traffic interruptions of carrying before it is caused after the focus function of processing module, in the present embodiment,
Before control module 10 sends the open command of focus function, also include:
The data service that the processing module of focus function to be launched carries is switched to be shared by control module 10
The processing module of Internet resources.
Such as, control module 10 send the open command of focus function to fourth processing module corresponding the
Before four application modules, the data service that fourth processing module carries is switched to the 3rd processing module.
Concrete, control module 10 sends instruction data module 30 and completes the instruction information of data service switching
To data module 30;Data module 30 is when receiving the instruction information of this data service switching, and it is right to change
The network configuration answered, switches to net to be shared by the data service that the processing module of focus function to be launched carries
The processing module of network resource.
It should be noted that in this article, term " includes ", " comprising " or its other variant any are intended to
Contain comprising of nonexcludability, so that include the process of a series of key element, method, article or device
Not only include those key elements, but also include other key element being not expressly set out, or also include for this
The key element that the process of kind, method, article or device are intrinsic.In the case of there is no more restriction, by language
Sentence " including one the ... " key element that limits, it is not excluded that include the process of this key element, method, article or
Person's device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned reality
Execute example method to add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the technical side of the present invention
The part that prior art is contributed by case the most in other words can embody with the form of software product,
This computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), bag
Include some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner,
Or the network equipment etc.) perform the method described in each embodiment of the present invention.
For illustrative purposes, description above employs specific term, to provide thorough to the present invention
Understand.It will be apparent, however, to one skilled in the art, that in order to put into practice the present invention and be not required to
Want concrete details.The specific embodiment of the present invention described above be for purposes of illustration and description and in
Existing.They are not intended to detailed or limit the invention to disclosed precise forms.In view of religious doctrine above,
Many modifications and variations are possible.Principle and reality thereof in order to explain the present invention best are applied and are illustrated
And describe these embodiments so that others skilled in the art can utilize best the present invention and
There are the various embodiments of the various amendments being suitable to intended specific use.It is intended to the scope of the present invention by subsequently
Claim and its equivalent limit.
Claims (12)
1. a mobile terminal, it is characterised in that described mobile terminal includes control module, with described control
Multiple Wi-Fi application modules that molding block connects respectively are connected with multiple described Wi-Fi application modules
Wi-Fi service module and be connected with described Wi-Fi service module and with multiple described Wi-Fi application moulds
The most multiple processing module of block, wherein,
Described control module, for when receiving network sharing operation, determines in each processing module not with outward
Portion's focus sets up the first processing module that Wi-Fi connects;And send the open command of focus function to corresponding
Oneth Wi-Fi application module of described first processing module, for a described Wi-Fi application module by institute
State open command to send to Wi-Fi service module;
Described open command, for when receiving described open command, is sent by described Wi-Fi service module
To described first processing module;
Described first processing module is for receiving the described open command that described Wi-Fi service module sends
Time, start focus function according to described open command;
Described Wi-Fi service module is additionally operable to when focus function on success, starts the route that network is shared
Configuration, is shared the network money of the second processing module being in Wi-Fi connection status by described first processing module
Source.
Mobile terminal the most according to claim 1, it is characterised in that described control module is additionally operable to
When processing module each described is all set up with outside focus and had Wi-Fi to be connected, determine each described process mould
The 3rd processing module that in block, available bandwidth is maximum, and determine in each described processing module that available bandwidth is
Little fourth processing module;And send described open command to the 4th of corresponding described fourth processing module
Wi-Fi application module, to start the focus function of described fourth processing module;
Described Wi-Fi service module is additionally operable to when focus function on success, starts the route that network is shared
Configuration, is shared the network money of the 3rd processing module being in Wi-Fi connection status by described fourth processing module
Source.
Mobile terminal the most according to claim 2, it is characterised in that described control module is additionally operable to
Each processing module at described mobile terminal is all set up with outside focus when having Wi-Fi to be connected, and obtains acquiescence
Network configuration sharing;And when obtaining described default network configuration sharing failure, determine described mobile terminal
Each processing module in maximum the 3rd processing module of available bandwidth, and determine can in each processing module
By the fourth processing module that bandwidth is minimum;And when getting described default network configuration sharing, send institute
State the 5th Wi-Fi application module that open command to described default network configuration sharing is specified, described to start
The focus function of the 5th processing module that the 5th Wi-Fi application module is corresponding;
Described Wi-Fi service module is additionally operable to when focus function on success, starts the route that network is shared
Configuration, is shared, by described 5th processing module, the 6th processing module that described default network configuration sharing specifies
Internet resources.
4. according to the mobile terminal described in Claims 2 or 3, it is characterised in that described control module is also
For the data service that the processing module of focus function to be launched carries is switched to Internet resources to be shared
Processing module.
5. according to the mobile terminal described in any one of claim 1-3, it is characterised in that described Wi-Fi
Service module is additionally operable to after successfully starting up the routing configuration that network is shared, and what output network was shared a success carries
Show information, to show at default display interface.
6. according to the mobile terminal described in any one of claim 1-3, it is characterised in that described control mould
Block is additionally operable to not detect data service based on the processing module starting focus function in preset time period
Time, send the out code processing module to startup focus function of focus function, to close its focus function.
7. a network sharing method, it is characterised in that described network sharing method comprises the following steps:
When receiving network sharing operation, control module determine in each processing module of mobile terminal not with
Outside focus sets up the first processing module that Wi-Fi connects;
Described control module sends the open command of focus function to the first of corresponding described first processing module
Wi-Fi application module, sends described open command to Wi-Fi for a described Wi-Fi application module
Service module;
Described open command, when receiving described open command, is sent to institute by described Wi-Fi service module
State the first processing module;
Described first processing module receive described Wi-Fi service module send described open command time,
Focus function is started according to described open command;
When focus function on success, described Wi-Fi service module starts the routing configuration that network is shared,
The Internet resources of the second processing module being in Wi-Fi connection status are shared by described first processing module.
Network sharing method the most according to claim 7, it is characterised in that described control module is true
Determine in each processing module of mobile terminal not set up the first processing module that Wi-Fi is connected with outside focus
After step, also include:
Each processing module at described mobile terminal is all set up with outside focus when having Wi-Fi to be connected, described
Control module determines the 3rd processing module that in each processing module of described mobile terminal, available bandwidth is maximum,
And determine the fourth processing module that in each processing module, available bandwidth is minimum;
Described control module sends the 4th Wi-Fi of described open command extremely corresponding described fourth processing module should
By module, to start the focus function of described fourth processing module;
When focus function on success, described Wi-Fi service module starts the routing configuration that network is shared,
The Internet resources of the 3rd processing module being in Wi-Fi connection status are shared by described fourth processing module.
Network sharing method the most according to claim 8, it is characterised in that described control module is true
The 3rd processing module that in each processing module of fixed described mobile terminal, available bandwidth is maximum, and determine each
In individual processing module before the step of the fourth processing module that available bandwidth is minimum, also include:
Each processing module at described mobile terminal is all set up with outside focus when having Wi-Fi to be connected, described
Control module obtains default network configuration sharing;
When obtaining described default network configuration sharing failure, perform described control module and determine described mobile whole
The 3rd processing module that in each processing module of end, available bandwidth is maximum, and determine in each processing module
The step of the fourth processing module that available bandwidth is minimum;
After described control module obtains the step of default network configuration sharing, also include:
When getting described default network configuration sharing, described control module sends described open command to institute
State the 5th Wi-Fi application module that default network configuration sharing is specified, to start described 5th Wi-Fi application
The focus function of the 5th processing module that module is corresponding;
When focus function on success, described Wi-Fi service module starts the routing configuration that network is shared,
The network of the 6th processing module that described default network configuration sharing is specified is shared by described 5th processing module
Resource.
Network sharing method the most according to claim 8 or claim 9, it is characterised in that described control mould
Before block sends described open command, also include:
The data service that the processing module of focus function to be launched carries is switched to treat altogether by described control module
Enjoy the processing module of Internet resources.
11. according to the network sharing method described in any one of claim 7-9, it is characterised in that described
After Wi-Fi service module starts the routing configuration that network is shared, also include:
After successfully starting up the routing configuration that network is shared, described Wi-Fi service module output network is shared
Successfully information, to show at default display interface.
12. according to the network sharing method described in any one of claim 7-9, it is characterised in that described
After Wi-Fi service module starts the step of the routing configuration that network is shared, also include:
When not detecting data service based on the processing module starting focus function in preset time period, institute
State control module and send the out code processing module to startup focus function of focus function, to close its heat
Point function.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610126096.5A CN105813232B (en) | 2016-03-04 | 2016-03-04 | Mobile terminal and network share method |
PCT/CN2017/075061 WO2017148354A1 (en) | 2016-03-04 | 2017-02-27 | Mobile terminal, computer storage medium and network sharing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610126096.5A CN105813232B (en) | 2016-03-04 | 2016-03-04 | Mobile terminal and network share method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105813232A true CN105813232A (en) | 2016-07-27 |
CN105813232B CN105813232B (en) | 2019-09-06 |
Family
ID=56467770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610126096.5A Active CN105813232B (en) | 2016-03-04 | 2016-03-04 | Mobile terminal and network share method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105813232B (en) |
WO (1) | WO2017148354A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017148354A1 (en) * | 2016-03-04 | 2017-09-08 | 努比亚技术有限公司 | Mobile terminal, computer storage medium and network sharing method |
CN108307433A (en) * | 2017-09-29 | 2018-07-20 | 努比亚技术有限公司 | Hotspot sharing method, mobile terminal and computer readable storage medium |
CN109803249A (en) * | 2019-02-25 | 2019-05-24 | 努比亚技术有限公司 | A kind of WIFI network sharing method, terminal and computer readable storage medium |
CN110430604A (en) * | 2019-08-02 | 2019-11-08 | 深圳市康冠商用科技有限公司 | A kind of network control method, system and electronic equipment and storage medium |
CN113568751A (en) * | 2021-07-29 | 2021-10-29 | 深圳康佳电子科技有限公司 | A task processing method, device, terminal device and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112822740B (en) * | 2020-12-28 | 2022-09-27 | 广州绿怡信息科技有限公司 | Hotspot emission control method and device |
CN114501390B (en) * | 2022-02-24 | 2024-12-27 | 中国第一汽车股份有限公司 | Hotspot connection control method, device, computer equipment and storage medium |
CN114938528B (en) * | 2022-06-20 | 2023-10-31 | 中国联合网络通信集团有限公司 | Hot spot switching method, device, system and storage medium |
US20240224031A1 (en) * | 2022-12-31 | 2024-07-04 | Plume Design, Inc. | Creating and implementing a Wi-Fi sharing community |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103619077A (en) * | 2013-11-26 | 2014-03-05 | 深圳市诺威达科技有限公司 | Method for sharing WIFI of mobile terminal |
CN103813353A (en) * | 2014-01-17 | 2014-05-21 | 深圳市金立通信设备有限公司 | Method for sharing communication flows, control device and terminal |
CN104144515A (en) * | 2013-05-08 | 2014-11-12 | 中兴通讯股份有限公司 | Terminal and method for achieving network sharing of WIFI hot spots of terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101288865B1 (en) * | 2011-04-14 | 2013-07-23 | 주식회사 팬택 | Communication method and wireless device |
CN104185309B (en) * | 2014-08-12 | 2018-04-13 | 深圳市元征科技股份有限公司 | A kind of onboard wireless LAN equipment |
CN105578620B (en) * | 2015-12-21 | 2019-10-29 | 努比亚技术有限公司 | Network access device and method |
CN105813232B (en) * | 2016-03-04 | 2019-09-06 | 努比亚技术有限公司 | Mobile terminal and network share method |
-
2016
- 2016-03-04 CN CN201610126096.5A patent/CN105813232B/en active Active
-
2017
- 2017-02-27 WO PCT/CN2017/075061 patent/WO2017148354A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144515A (en) * | 2013-05-08 | 2014-11-12 | 中兴通讯股份有限公司 | Terminal and method for achieving network sharing of WIFI hot spots of terminal |
CN103619077A (en) * | 2013-11-26 | 2014-03-05 | 深圳市诺威达科技有限公司 | Method for sharing WIFI of mobile terminal |
CN103813353A (en) * | 2014-01-17 | 2014-05-21 | 深圳市金立通信设备有限公司 | Method for sharing communication flows, control device and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017148354A1 (en) * | 2016-03-04 | 2017-09-08 | 努比亚技术有限公司 | Mobile terminal, computer storage medium and network sharing method |
CN108307433A (en) * | 2017-09-29 | 2018-07-20 | 努比亚技术有限公司 | Hotspot sharing method, mobile terminal and computer readable storage medium |
CN108307433B (en) * | 2017-09-29 | 2021-06-15 | 努比亚技术有限公司 | Wireless hotspot sharing method, mobile terminal and computer readable storage medium |
CN109803249A (en) * | 2019-02-25 | 2019-05-24 | 努比亚技术有限公司 | A kind of WIFI network sharing method, terminal and computer readable storage medium |
CN110430604A (en) * | 2019-08-02 | 2019-11-08 | 深圳市康冠商用科技有限公司 | A kind of network control method, system and electronic equipment and storage medium |
CN113568751A (en) * | 2021-07-29 | 2021-10-29 | 深圳康佳电子科技有限公司 | A task processing method, device, terminal device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105813232B (en) | 2019-09-06 |
WO2017148354A1 (en) | 2017-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105813232A (en) | Mobile terminal and network sharing method | |
US11082815B2 (en) | Method of operating function and resource of electronic device | |
CN105656500B (en) | Mobile terminal and communication means | |
US10069818B2 (en) | Method, system, device, and terminal for network initialization of multimedia playback device | |
CN104853043A (en) | Notification message filtering and control method, smart phone and system | |
US20160335014A1 (en) | Method, device and terminal for restoring firmware program | |
US20150055622A1 (en) | Communication method and apparatus for electronic device in mobile communication system | |
CN106851654A (en) | Pseudo-base station recognition methods, device and terminal | |
CN105847067A (en) | Method and device for upgrading Zigbee equipment | |
CN105682191A (en) | Mobile terminal and Wi-Fi control method | |
CN107071779A (en) | Pseudo-base station recognition methods, device and terminal | |
CN103607713A (en) | Method, apparatus, device and system for network access | |
CN103491525A (en) | Method for achieving card-free mobile phone, mobile phone and server | |
CN108605373A (en) | Method for providing network share service and electronic device | |
CN104219391A (en) | Communication request responding method and device and mobile terminal based on double card | |
CN106657645A (en) | Call request processing method and device, calling method and device, and related terminal | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN105578620B (en) | Network access device and method | |
CN105657868A (en) | Mobile terminal and interface control method thereof | |
CN105786439A (en) | Method and device for controlling sound in terminal | |
JP2021510036A (en) | State processing method, terminal and base station | |
CN104219372A (en) | A method and an apparatus for adjusting backlight brightness of a mobile terminal | |
CN105631069A (en) | Intelligent equipment control method and device | |
CN106028307A (en) | Communication terminal and single card multi-communication number communication control method and device | |
CN109314902A (en) | Connection control method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |