CN106304101A - Share the method and device of network - Google Patents

Share the method and device of network Download PDF

Info

Publication number
CN106304101A
CN106304101A CN201610620657.7A CN201610620657A CN106304101A CN 106304101 A CN106304101 A CN 106304101A CN 201610620657 A CN201610620657 A CN 201610620657A CN 106304101 A CN106304101 A CN 106304101A
Authority
CN
China
Prior art keywords
network
function
network interface
network function
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610620657.7A
Other languages
Chinese (zh)
Inventor
朱文博
张墅潇
吴彦美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610620657.7A priority Critical patent/CN106304101A/en
Publication of CN106304101A publication Critical patent/CN106304101A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

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

Abstract

Present disclose provides the method and device of a kind of shared network, belong to field of terminal technology.Described method includes: when receiving assigned operation instruction, if the second network function is in opening, determine that the network interface shared by the second network function, described operational order are used for starting first network function;Obtaining first object network interface, this first object network interface is different from the network interface shared by the second network function;Based on first object network interface, start first network function, to realize sharing, by first network function, the network that the second network function is corresponding.The disclosure is possible not only to share the data traffic of self, it is also possible to the WiFi network of access shared, and enriches the form that mobile terminal network is shared, and overcomes the limitation that network is shared.

Description

Share the method and device of network
Technical field
It relates to field of terminal technology, particularly relate to the method and device of a kind of shared network.
Background technology
Along with the development of terminal technology, the function of mobile terminal is from strength to strength.For a mobile terminal, permissible There is multiple network function.Such as, WLAN (Wireless Local Area Networks, WLAN) function and WLAN Focus function.WLAN function refers to by WiFi (Wireless Fidelity, the Wireless Fidelity) focus near connecting to connect The function of network, WLAN hot spot function refers to be set to self the function of a Wi-Fi hotspot.WLAN heat when mobile terminal When point function is opened, the data traffic of self can be shared to other-end by this mobile terminal, shared to carry out network.
The method of current shared network is as follows: when network shared by needs when, and mobile terminal can open WLAN heat Point function, meanwhile, mobile terminal can be automatically switched off WLAN function, disconnects WiFi and connects, the data traffic of self is shared Carry out network to other-end and connect use.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides the method and device of a kind of shared network.
First aspect according to disclosure embodiment, it is provided that a kind of method of shared network, including:
When receiving assigned operation instruction, if the second network function is in opening, determine described second network merit Network interface shared by energy, the instruction of described assigned operation is used for starting first network function;
Obtaining first object network interface, described first object network interface is different from shared by described second network function Network interface;
Based on described first object network interface, start described first network function, to realize by described first network Function shares the network that described second network function is corresponding.
In the first implementation of first aspect, if described second network function is closed, based on Two target network interface, start described first network function, and described second target network interface is that the network of any one free time connects Mouthful;
Based on the 3rd target network interface, starting the second network function, described 3rd target network interface is different from described Second target network interface, to realize sharing, by described first network function, the network that described second network function is corresponding.
In the second implementation of first aspect, described first network function is WLAN hot spot function, described second Network function is WLAN function.
In the third implementation of first aspect, described acquisition first object network interface, including:
When terminal exists other network interfaces, from existing network interface, select an idle network interface, make For described first object network interface;
When terminal does not exist other network interfaces, create described first object network interface.
In the 4th kind of implementation of first aspect, before described acquisition first object network interface, including:
Load and support that the network function of at least two network interface drives, create at least two network interface.
In the 5th kind of implementation of first aspect, described first object network interface and described second network function institute The network interface taken, uses same network function hardware.
Second aspect according to disclosure embodiment, it is provided that the device of a kind of shared network, including:
Determine module, for when receiving assigned operation instruction, if the second network function is in opening, determining institute Stating the network interface shared by the second network function, the instruction of described assigned operation is used for starting first network function;
Acquisition module, is used for obtaining first object network interface, and described first object network interface is different from described second Network interface shared by network function;
Start module, for based on described first object network interface, start described first network function, to realize passing through Described first network function shares the network that described second network function is corresponding.
In the first implementation of second aspect, described startup module, if being additionally operable to described second network function Being closed, based on the second target network interface, start described first network function, described second target network interface is The network interface of any one free time;Based on the 3rd target network interface, starting the second network function, described 3rd objective network connects Mouth is different from described second target network interface, to realize sharing described second network function pair by described first network function The network answered.
In the second implementation of second aspect, described first network function is WLAN hot spot function, described second Network function is WLAN function.
In the third implementation of second aspect, described acquisition module includes:
When terminal exists other network interfaces, from existing network interface, select an idle network interface, make For described first object network interface;
When terminal does not exist other network interfaces, create described first object network interface.
In the 4th kind of implementation of second aspect, described device also includes:
Load-on module, drives for loading the network function supporting at least two network interface, creates at least two network Interface.
In the 5th kind of implementation of second aspect, described first object network interface and described second network function institute The network interface taken, uses same network function hardware.
The third aspect according to disclosure embodiment, it is provided that the device of a kind of shared network, including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, described processor is configured to:
When receiving assigned operation instruction, if the second network function is in opening, determine described second network merit Network interface shared by energy, the instruction of described assigned operation is used for starting first network function;
Obtaining first object network interface, described first object network interface is different from shared by described second network function Network interface;
Based on described first object network interface, start described first network function, to realize by described first network Function shares the network that described second network function is corresponding.
The technical scheme that disclosure embodiment provides can include following beneficial effect:
Mobile terminal, when network shared by needs, can use and second under the second network function is in starting state The network interface startup first network function that network interface shared by network function is different, thus can pass through first network merit Network corresponding for second network function can share to other-end use.This technical scheme, is possible not only to the number of self Share according to flow, it is also possible to the WiFi network of access is shared, enrich the form that mobile terminal network is shared, overcome network The limitation shared.
In another embodiment of the disclosure, in the case of the second network function is in closedown, first can started After network function, then based on from first network function shared by the different network interface of network interface, start the second network function, Equally realize sharing of WiFi network, decrease the restriction to user operation.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of the method according to a kind of shared network shown in an exemplary embodiment.
Fig. 2 A is the flow chart of the method according to a kind of shared network shown in an exemplary embodiment.
Fig. 2 B is according to the schematic diagram arranging interface shown in an exemplary embodiment.
Fig. 3 A is the block diagram of the device according to a kind of shared network shown in an exemplary embodiment.
Fig. 3 B is the block diagram of the device according to a kind of shared network shown in an exemplary embodiment.
Fig. 4 is the block diagram of the device according to a kind of shared network shown in an exemplary embodiment.
Detailed description of the invention
For making the purpose of the disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Fig. 1 is the flow chart of the method according to a kind of shared network shown in an exemplary embodiment, as it is shown in figure 1, altogether Enjoy the method for network in mobile terminal, comprise the following steps:
In a step 101, when receiving assigned operation instruction, if the second network function is in opening, the is determined Network interface shared by two network functions, the instruction of this assigned operation is used for starting first network function.
In a step 102, obtaining first object network interface, this first object network interface is different from the second network function Shared network interface.
In step 103, based on first object network interface, start first network function, to realize passing through first network Function shares the network that the second network function is corresponding.
In disclosure embodiment, mobile terminal, when network shared by needs, can be in startup shape at the second network function Under state, use with the second network function shared by network interface different network interface startup first network function, thus may be used Use network corresponding for the second network function being shared to other-end by first network function.The disclosure be possible not only to by The data traffic of self is shared, it is also possible to the WiFi network of access shared, and enriches the form that mobile terminal network is shared, gram Take the limitation that network is shared.
In a kind of possible implementation, if the second network function is closed, connect based on the second objective network Mouthful, starting first network function, this second target network interface is the network interface of any one free time;
Based on the 3rd target network interface, starting the second network function, the 3rd target network interface is different from the second mesh Mark network interface, to realize sharing, by first network function, the network that the second network function is corresponding.
In a kind of possible implementation, first network function is WLAN hot spot function, and the second network function is WLAN merit Energy.
In a kind of possible implementation, obtain first object network interface, including:
When terminal exists other network interfaces, from existing network interface, select an idle network interface, make For first object network interface;
When terminal does not exist other network interfaces, create first object network interface.
In a kind of possible implementation, before obtaining first object network interface, including:
Load and support that the network function of at least two network interface drives, create at least two network interface.
In a kind of possible implementation, the network interface shared by first object network interface and the second network function, Use same network function hardware.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure, at this no longer Repeat one by one.
Fig. 2 A is the flow chart of the method according to a kind of shared network shown in an exemplary embodiment, as shown in Figure 2 A, The method sharing network is used in mobile terminal, comprises the following steps:
In step 201, load and support that the network function of at least two network interface drives, create at least two network and connect Mouthful.
The network function of mobile terminal can include WLAN function and WLAN hot spot function, can by different network functions To realize different purposes, such as, neighbouring Wi-Fi hotspot can be connected by WLAN function, permissible by WLAN hot spot function Create Wi-Fi hotspot with shared network.As shown in Figure 2 B, arranging of mobile terminal has many icons on interface, and each icon represents The settings button of one function, wherein, comprises WLAN function and the settings button of WLAN hot spot function, also comprises selectable setting Put button, such as, offline mode function setting button, data function settings button, the settings button of mute function, Bluetooth function Settings button etc..What the display state of settings button was this function arranges state, and each settings button all only two kinds shows Showing state: ON/OFF, manually clicking operation can change the display state of settings button, thus changes the setting of this function State.
The driving of this network function is the configuration file that hardware vendor writes according to operating system, contains the letter about hardware Breath, after loading the driving of this network function, hardware could normally work, to realize network function.Such as, by load networks function Driving, terminal system can be created that and start the network interface that this network function needs.Network interface refers to that terminal system accesses Hot spot networks or the interface of establishment hot spot networks.And network function drives and can support one or more network interface, load The network function supporting at least two network interface drives, and so after network function drive load, can create in systems Go out multiple network interface.Such as, these multiple network interfaces use same network function hardware.In another embodiment, these are many Individual network interface, it is possible to use multiple network function hardware, such as, two network interfaces use two network function hardware, The two network interface uses one of them network function hardware respectively, and can carry out between the two network function hardware Communications, thus can access WiFi by the network interface on a network function hardware, by data by two nets Transmission channel between network functional hardware is transferred to another network function hardware, is connect by the network on this network function hardware Data are exported by mouth.
In the disclosed embodiments, these multiple network interfaces all possess the function accessing focus with creating focus, and terminal can To use these multiple network interfaces access focus and create hot spot networks.Such as, the WLAN merit of two network interfaces of support is loaded Can drive, so after drive load, there will be two network interfaces in system, one is wlan0, and one is ap0, terminal The WiFi near the access of the two network interface can be used or create Wi-Fi hotspot.Such as, wlan0 is used to access WiFi heat Point, to connect network, uses ap0 to create Wi-Fi hotspot network with shared network.
In step 202., when receiving assigned operation instruction, it is judged that whether the second network function is in opening, The instruction of this assigned operation is used for starting first network function.If being in opening, then perform step 203, if being in pass Closed state, terminates.
When network shared by needs when, user can trigger startup the by the settings button of operation first network function The operational order of one network function.When receiving this operational order, it is judged that whether the second network function is in opening.
Such as, first network function is WLAN hot spot function, and the second network function is WLAN function.When network shared by needs When, user can operate the settings button of WLAN hot spot function, triggers the operational order starting WLAN hot spot function, when connecing When receiving this operational order, terminal system can judge whether WLAN function is in opening.If being in opening, then hold Row step 203, if be closed, then can terminate above-mentioned flow process.
In another embodiment, if receive assigned operation instruction, the second network function is closed, then may be used To start after first network function, if receiving the enabled instruction to the second network function, then can based on the first net The network interface that network interface shared by network function is different, starts the second network function, it is also possible to realize passing through first network Function shares the network that the second network function is corresponding.
Such as, first network function is WLAN hot spot function, and the second network function is WLAN function, when receiving startup During the operational order of WLAN hot spot function, if now WLAN function is closed, then can open in WLAN hot spot function After Dong, manually boot WLAN function, by using heterogeneous networks interface, it is also possible to realize sharing WiFi corresponding to WLAN function Purpose.
In step 203, the network interface shared by the second network function is determined.
When receiving the operational order starting first network function, if the second network function is in opening, the Two network functions can take a network interface, now determines the network interface shared by the second network function.Such as, the first net Network function is WLAN hot spot function, and the second network function is WLAN function, refers to when receiving the operation starting WLAN hot spot function When making, determine the network interface shared by WLAN function being in opening.
In step 204, from existing target network interface, an idle network interface is selected, as first object Network interface.
In the disclosed embodiments, by step 201, create at least two network interface, be in opening The second network function can take a network interface, in addition to occupied network interface also have other network interfaces.This Other network interfaces a little are different from the network interface shared by the second network function, referred to as target network interface, existing from these Target network interface in select an idle network interface.Owing to the network interface of these free time is provided with creating focus Function, thus can select therein any one as first object network interface.
Above-mentioned steps 204 is a kind of implementation obtaining first object network interface, and in actual scene, it is also possible to Have other implementations, such as, in another embodiment of the disclosure, can without creating in advance multiple network interfaces, namely It is can not to perform step 201, but judge whether terminal exists first object network interface when needed, if it is present Perform step 204, if it does not exist, then create first object network interface, to ensure can realize WiFi network is shared, At this, process specifically how creating network interface is not repeated.
In step 205, based on this first object network interface, start first network function, to realize by the first net Network function shares the network that the second network function is corresponding.
After getting first object network interface, can be using this first object network interface as first network function institute The network interface used.
Such as, first network function is WLAN hot spot function, and the second network function is WLAN function, can by WLAN function To connect WiFi, can share, by WLAN hot spot function, the WiFi that WLAN connects.Therefore, by obtaining startup WLAN hot spot merit The first object network interface that can need to use, starts WLAN hot spot function, it is possible to achieve shared by WLAN hot spot function The WiFi that WLAN function is corresponding.
In disclosure embodiment, mobile terminal, when network shared by needs, can be in startup shape at the second network function Under state, use with the second network function shared by network interface different network interface startup first network function, thus may be used Use network corresponding for the second network function being shared to other-end by first network function.The disclosure be possible not only to by The data traffic of self is shared, it is also possible to the WiFi network of access shared, and enriches the form that mobile terminal network is shared, gram Take the limitation that network is shared.In another embodiment of the disclosure, in the case of the second network function is in closedown, can To start after first network function, then based on from first network function shared by the different network interface of network interface, start Second network function, equally realizes sharing of WiFi network, decreases the restriction to user operation.
It should be noted that as previously described, for when receiving assigned operation instruction, the second network function is in out In the case of opening two kinds of state or closed mode, all can be by the network interface shared by network function selected with have turned on Heterogeneous networks interface, realize sharing of WiFi network, it is to avoid cause the conflict that takies of network interface, real under both of these case The principle now shared is consistent.
Fig. 3 A is the device block diagram according to a kind of shared network shown in an exemplary embodiment.With reference to Fig. 3 A, this device Including determining module 301, acquisition module 302 and startup module 303.
This determines when module 301 is configured as receiving assigned operation instruction, if the second network function is in unlatching shape State, determines the network interface shared by the second network function, and the instruction of this assigned operation is used for starting first network function.
This acquisition module 302 is configurable for obtaining first object network interface, and this first object network interface is different In the network interface shared by described second network function.
This startup module 303 is configured to, based on first object network interface, start first network function, to realize passing through First network function shares the network that the second network function is corresponding.
In a kind of possible implementation, described startup module, if being additionally operable to described second network function to be in closedown State, based on the second target network interface, starts described first network function, and described second target network interface is that any one is empty Not busy network interface;Based on the 3rd target network interface, starting the second network function, described 3rd target network interface is different from Described second target network interface, to realize sharing, by described first network function, the net that described second network function is corresponding Network.
In a kind of possible implementation, described first network function is WLAN hot spot function, described second network function For WLAN function.
In a kind of possible implementation, acquisition module includes:
When terminal exists other network interfaces, from existing network interface, select an idle network interface, make For first object network interface;
When terminal does not exist other network interfaces, create first object network interface.
In a kind of possible implementation, with reference to Fig. 3 B, device also includes:
Load-on module 304, drives for loading the network function supporting at least two network interface, creates at least two net Network interface.
In a kind of possible implementation, the network interface shared by first object network interface and the second network function, Use same network function hardware.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is the block diagram of the device 400 according to a kind of shared network shown in an exemplary embodiment.Such as, device 400 Can be mobile terminal, mobile terminal such as mobile phone, panel computer.
With reference to Fig. 4, device 400 can include following one or more assembly: processes assembly 402, memorizer 404, power supply Assembly 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communications component 416.
Process assembly 402 and generally control the integrated operation of device 400, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 402 and can include that one or more processor 420 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more module, just Mutual in process between assembly 402 and other assemblies.Such as, process assembly 402 and can include multi-media module, many to facilitate Media component 408 and process between assembly 402 mutual.
Memorizer 404 is configured to store various types of data to support the operation at device 400.Showing of these data Example includes any application program for operation on device 400 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 406 is device 400 provide electric power.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 400, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 408 is included between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers Body assembly 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 410 is configured to output and/or input audio signal.Such as, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, is used for exporting audio signal.
I/O interface 412 provides interface for processing between assembly 402 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 414 includes one or more sensor, for providing the state of various aspects to comment for device 400 Estimate.Such as, what sensor cluster 414 can detect device 400 opens/closed mode, the relative localization of assembly, such as described Assembly is display and the keypad of device 400, and sensor cluster 414 can also detect device 400 or 400 1 assemblies of device Position change, the presence or absence that user contacts with device 400, device 400 orientation or acceleration/deceleration and device 400 Variations in temperature.Sensor cluster 414 can include proximity transducer, is configured to when not having any physical contact detect The existence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming Use as in application.In certain embodiments, this sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 416 is configured to facilitate the communication of wired or wireless mode between device 400 and other equipment.Device 400 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communications component 416 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, described communications component 416 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, for the method performing above-mentioned shared network.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 404 of instruction, above-mentioned instruction can have been performed said method by the processor 420 of device 400.Such as, Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium, when described storage is situated between When instruction in matter is performed by the processor of mobile terminal so that mobile terminal is able to carry out the method for above-mentioned shared network.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. the method for a shared network, it is characterised in that described method includes:
When receiving assigned operation instruction, if the second network function is in opening, determine described second network function institute The network interface taken, the instruction of described assigned operation is used for starting first network function;
Obtaining first object network interface, described first object network interface is different from the net shared by described second network function Network interface;
Based on described first object network interface, start described first network function, to realize by described first network function Share the network that described second network function is corresponding.
Method the most according to claim 1, it is characterised in that described method also includes:
If described second network function is closed, based on the second target network interface, start described first network merit Can, described second target network interface is the network interface of any one free time;
Based on the 3rd target network interface, starting the second network function, described 3rd target network interface is different from described second Target network interface, to realize sharing, by described first network function, the network that described second network function is corresponding.
Method the most according to claim 1, it is characterised in that described first network function is WLAN hot spot function, described Second network function is WLAN function.
Method the most according to claim 1, it is characterised in that described acquisition first object network interface, including:
When terminal exists other network interfaces, from existing network interface, select an idle network interface, as institute State first object network interface;
When terminal does not exist other network interfaces, create described first object network interface.
Method the most according to claim 1, it is characterised in that before described acquisition first object network interface, including:
Load and support that the network function of at least two network interface drives, create at least two network interface.
Method the most according to claim 1, it is characterised in that described first object network interface and described second network merit Network interface shared by energy, uses same network function hardware.
7. the device of a shared network, it is characterised in that described device includes:
Determine module, for when receiving assigned operation instruction, if the second network function is in opening, determine described the Network interface shared by two network functions, the instruction of described assigned operation is used for starting first network function;
Acquisition module, is used for obtaining first object network interface, and described first object network interface is different from described second network Network interface shared by function;
Start module, for based on described first object network interface, start described first network function, to realize by described First network function shares the network that described second network function is corresponding.
Device the most according to claim 7, it is characterised in that described startup module, if being additionally operable to described second network Function is closed, and based on the second target network interface, starts described first network function, and described second objective network connects Mouth is the network interface of any one free time;Based on the 3rd target network interface, start the second network function, described 3rd target network Network interface is different from described second target network interface, to realize sharing described second network merit by described first network function The network that energy is corresponding.
Device the most according to claim 7, it is characterised in that described first network function is WLAN hot spot function, described Second network function is WLAN function.
Device the most according to claim 7, it is characterised in that described acquisition module includes:
When terminal exists other network interfaces, from existing network interface, select an idle network interface, as institute State first object network interface;When terminal does not exist other network interfaces, create described first object network interface.
11. devices according to claim 7, it is characterised in that described device also includes:
Load-on module, drives for loading the network function supporting at least two network interface, creates at least two network interface.
12. devices according to claim 7, it is characterised in that described first object network interface and described second network Network interface shared by function, uses same network function hardware.
The device of 13. 1 kinds of shared networks, it is characterised in that including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, described processor is configured to:
When receiving assigned operation instruction, if the second network function is in opening, determine described second network function institute The network interface taken, the instruction of described assigned operation is used for starting first network function;
Obtaining first object network interface, described first object network interface is different from the net shared by described second network function Network interface;
Based on described first object network interface, start described first network function, to realize by described first network function Share the network that described second network function is corresponding.
CN201610620657.7A 2016-07-29 2016-07-29 Share the method and device of network Pending CN106304101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610620657.7A CN106304101A (en) 2016-07-29 2016-07-29 Share the method and device of network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610620657.7A CN106304101A (en) 2016-07-29 2016-07-29 Share the method and device of network

Publications (1)

Publication Number Publication Date
CN106304101A true CN106304101A (en) 2017-01-04

Family

ID=57663836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610620657.7A Pending CN106304101A (en) 2016-07-29 2016-07-29 Share the method and device of network

Country Status (1)

Country Link
CN (1) CN106304101A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426726A (en) * 2017-07-07 2017-12-01 珠海市魅族科技有限公司 Network sharing method and device, terminal and storage medium
WO2019034055A1 (en) * 2017-08-14 2019-02-21 中兴通讯股份有限公司 Network connecting method and apparatus
CN109982276A (en) * 2017-12-28 2019-07-05 中国移动通信集团山东有限公司 A kind of connection of broadband network and charging method
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 深圳康佳电子科技有限公司 Task processing method and device, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202873086U (en) * 2012-10-31 2013-04-10 上海斐讯数据通信技术有限公司 Wireless double-frequency AP (Access Point)
CN202931572U (en) * 2012-11-30 2013-05-08 上海斐讯数据通信技术有限公司 Large power AP with POE power supply
CN103200618A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Wireless local area network (WLAN) hotspot function control method and device
CN103619077A (en) * 2013-11-26 2014-03-05 深圳市诺威达科技有限公司 Method for sharing WIFI of mobile terminal
CN104144515A (en) * 2013-05-08 2014-11-12 中兴通讯股份有限公司 Terminal and method for achieving network sharing of WIFI hot spots of terminal
CN105592424A (en) * 2014-10-24 2016-05-18 东莞宇龙通信科技有限公司 Network sharing method, network sharing device, and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200618A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Wireless local area network (WLAN) hotspot function control method and device
CN202873086U (en) * 2012-10-31 2013-04-10 上海斐讯数据通信技术有限公司 Wireless double-frequency AP (Access Point)
CN202931572U (en) * 2012-11-30 2013-05-08 上海斐讯数据通信技术有限公司 Large power AP with POE power supply
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
CN105592424A (en) * 2014-10-24 2016-05-18 东莞宇龙通信科技有限公司 Network sharing method, network sharing device, and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426726A (en) * 2017-07-07 2017-12-01 珠海市魅族科技有限公司 Network sharing method and device, terminal and storage medium
WO2019034055A1 (en) * 2017-08-14 2019-02-21 中兴通讯股份有限公司 Network connecting method and apparatus
CN109982276A (en) * 2017-12-28 2019-07-05 中国移动通信集团山东有限公司 A kind of connection of broadband network and charging method
CN109982276B (en) * 2017-12-28 2021-06-08 中国移动通信集团山东有限公司 Broadband network connection and charging method
CN110430604A (en) * 2019-08-02 2019-11-08 深圳市康冠商用科技有限公司 A kind of network control method, system and electronic equipment and storage medium
CN110430604B (en) * 2019-08-02 2022-03-25 深圳市康冠商用科技有限公司 Network control method, system, electronic equipment and storage medium
CN113568751A (en) * 2021-07-29 2021-10-29 深圳康佳电子科技有限公司 Task processing method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104038263B (en) Method and device for establishing Bluetooth connection
CN104540184A (en) Equipment networking method and device
CN106304101A (en) Share the method and device of network
CN105117033A (en) Connection method and device of external equipment
CN105162982A (en) Answering extension function display method and device
CN104506443A (en) Router setting interface display method and device
CN105912951A (en) Data migration method and device
CN105827489A (en) Intelligent household electrical appliance control method and device and intelligent household electrical appliance
CN105516587A (en) Method for switching cameras and mobile terminal
CN106327607A (en) Automobile data recorder video acquisition method and device, and automobile data recorder
CN103942047A (en) User instruction execution method and device
CN107204883A (en) Network failure processing method and device
CN103873684A (en) Application method and device of flashlight
CN106056010A (en) Method and apparatus for processing messages by terminal, and terminal
CN106211033A (en) Data sharing method, device and electronic equipment
CN104980662A (en) Method for adjusting imaging style in shooting process, device thereof and imaging device
CN105049813A (en) Method, device and terminal controlling video image
CN104216525A (en) Method and device for mode control of camera application
CN106096011A (en) Method for picture sharing and device
CN106535191A (en) Network connection establishing method and device
CN105915795A (en) Multi-terminal linkage shooting method and multi-terminal linkage shooting device
CN105376410A (en) Method and device for setting alarm clock
CN105187671A (en) Recording method and device
CN106465160A (en) Network function switching method and device
CN104881342A (en) Terminal testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104