CN104902568B - A kind of sharing method and electronic equipment of wireless network resource - Google Patents

A kind of sharing method and electronic equipment of wireless network resource Download PDF

Info

Publication number
CN104902568B
CN104902568B CN201410074620.XA CN201410074620A CN104902568B CN 104902568 B CN104902568 B CN 104902568B CN 201410074620 A CN201410074620 A CN 201410074620A CN 104902568 B CN104902568 B CN 104902568B
Authority
CN
China
Prior art keywords
electronic equipment
wireless network
network bandwidth
available
network resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410074620.XA
Other languages
Chinese (zh)
Other versions
CN104902568A (en
Inventor
夏洪成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410074620.XA priority Critical patent/CN104902568B/en
Publication of CN104902568A publication Critical patent/CN104902568A/en
Application granted granted Critical
Publication of CN104902568B publication Critical patent/CN104902568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses the sharing method and electronic equipment of a kind of wireless network resource.This method comprises: obtaining the available wireless network resource information for the electronic equipment being wirelessly connected with the first electronic equipment;Determine available network bandwidth;It is determined as the first network bandwidth of the second electronic equipment distribution;Second electronic equipment is to need the electronic equipment using wireless network resource in each electronic equipment being wirelessly connected directly with the first electronic equipment;It determines for providing the third electronic equipment of first network bandwidth;The first control instruction is sent to third electronic equipment, the first control instruction is used to indicate the available wireless network resource that third electronic equipment utilizes third electronic equipment, provides first network bandwidth for the second electronic equipment.Using method or electronic equipment of the invention, when can be arranged to AP to avoid only one electronic equipment, the problem of wireless network data flow and electricity of the electronic equipment are rapidly depleted.

Description

A kind of sharing method and electronic equipment of wireless network resource
Technical field
The present invention relates to field of network data transmission, more particularly to the sharing method and electronics of a kind of wireless network resource Equipment.
Background technique
At present electronic equipment, especially various portable terminals usually all have function of surfing the Net.With Wi-Fi network Occasion, electronic equipment can conveniently and efficiently surf the Internet by Wi-Fi mode.In the occasion for not having Wi-Fi network, electronics is set It is standby to surf the Internet typically only by the wireless network resource of Mobile Network Operator.
In practical application, it is limited to the level of hardware of electronic equipment and the expenses standard of wireless network, user is will lead to and exists The region for having wireless network to cover, is also unwilling to open the wireless networking capabilities of self-contained electronic equipment.
In order to make above-mentioned electronic equipment that wireless network resource also can be used, in the prior art, there are a kind of Internet resources Sharing method.This method mainly sets wireless access points (Access Point, AP) for an electronic equipment A, makes Electronic equipment near obtaining can pass through the wireless network resource of electronic equipment A and access wireless network, it can realization will be electric The wireless network resource of sub- equipment A shares to neighbouring electronic equipment.
But the sharing method of Internet resources in the prior art, multiple electronic equipments can only be allowed to share another electricity The wireless network resource of sub- equipment.This meeting so that be arranged to the electronic equipment of AP wireless network data flow and electricity it is fast Speed consumption.When being arranged to the flow of electronic equipment of AP or after electricity is consumed, the electronic equipment being attached thereto is just Wireless network can not be accessed.
Summary of the invention
The object of the present invention is to provide a kind of sharing method of wireless network resource and electronic equipments, can be by multiple electronics The wireless network resource of equipment shares to other electronic equipments, when solving only one electronic equipment and being arranged to AP, the electronics The problem of wireless network data flow and electricity of equipment are rapidly depleted.
To achieve the above object, the present invention provides following schemes:
A kind of sharing method of wireless network resource is applied to the first electronic equipment, which comprises
Obtain the available wireless net for each electronic equipment being wirelessly connected directly with first electronic equipment Network resource information;
According to the available wireless network resource information, available network bandwidth is determined;
It is determined as the first network bandwidth of the second electronic equipment distribution;Second electronic equipment be and first electronics In each electronic equipment that equipment is wirelessly connected directly, the electronic equipment using the wireless network resource is needed;
Determine the third electronic equipment for being used to provide the described first network bandwidth;
The first control instruction is sent to the third electronic equipment, first control instruction is used to indicate the third electricity The available wireless network resource of third electronic equipment described in sub- equipment utilization provides first net for second electronic equipment Network bandwidth.
Optionally, the first network bandwidth for being determined as the distribution of the second electronic equipment, specifically includes:
Obtain the first wireless network resource data volume that second electronic equipment has been shared;
Obtain the nothing that each electronic equipment being wirelessly connected directly with first electronic equipment has been shared Line network resource data amount summation;
Determine first ratio of the first wireless network resource data volume in the wireless network resource data volume summation Example;
According to first ratio and the available network bandwidth, it is determined as described the of the second electronic equipment distribution One network bandwidth.
Optionally, described according to first ratio and the available network bandwidth, it is determined as the second electronic equipment point The first network bandwidth matched, specifically includes:
The available network bandwidth and first ratio are multiplied, the first network bandwidth is obtained;
Alternatively, the available network bandwidth and first ratio are multiplied, multiplied by pre-set factory, described first is obtained Network bandwidth.
Optionally, the determination is used to provide the described the third electronic equipment of first network bandwidth, specifically includes:
Obtain the remaining wireless network for each electronic equipment being wirelessly connected directly with first electronic equipment Network data traffic;
The most electronic equipment of remaining wireless network data flow is chosen as the third electronic equipment.
Optionally, the determination is used to provide the described the third electronic equipment of first network bandwidth, specifically includes:
Obtain the remaining capacity for each electronic equipment being wirelessly connected directly with first electronic equipment;
The most electronic equipment of remaining capacity is chosen as the third electronic equipment.
A kind of electronic equipment, the electronic equipment are the first electronic equipment, and first electronic equipment includes:
Available wireless network resource information acquiring unit is wirelessly straight with first electronic equipment for obtaining Connect the available wireless network resource information of connected each electronic equipment;
Available network bandwidth determination unit, for determining available network band according to the available wireless network resource information It is wide;
First network bandwidth determination unit, for being determined as the first network bandwidth of the second electronic equipment distribution;Described Two electronic equipments are to need in each electronic equipment being wirelessly connected directly with first electronic equipment using institute State the electronic equipment of wireless network resource;
Third electronic equipment determination unit, for determining the third electronic equipment for being used to provide the described first network bandwidth;
First control instruction transmission unit, for the third electronic equipment send the first control instruction, described first Control instruction is used to indicate the available wireless network resource that the third electronic equipment utilizes the third electronic equipment, is described Second electronic equipment provides the first network bandwidth.
Optionally, the first network bandwidth determination unit, specifically includes:
First wireless network resource data volume obtains subelement, for obtaining that second electronic equipment shared One wireless network resource data volume;
Wireless network resource data volume summation obtains subelement, passes through wireless parties with first electronic equipment for obtaining The wireless network resource data volume summation that each electronic equipment that formula is connected directly has been shared;
First ratio-dependent subelement, for determining that the first wireless network resource data volume is provided in the wireless network The first ratio in source data amount summation;
First network bandwidth determines subelement, for determining according to first ratio and the available network bandwidth For the first network bandwidth of the second electronic equipment distribution.
Optionally, the first network bandwidth determines subelement, specifically:
First multiplying subelement obtains described for the available network bandwidth and first ratio to be multiplied First network bandwidth;
Alternatively, the second multiplying subelement, for the available network bandwidth and first ratio to be multiplied, multiplied by With pre-set factory, the first network bandwidth is obtained.
Optionally, the third electronic equipment determination unit, specifically includes:
Remaining wireless network data flow obtains subelement, for obtaining with first electronic equipment wirelessly The remaining wireless network data flow for each electronic equipment being connected directly;
Third electronic equipment first chooses subelement, for choosing the most electronic equipment of remaining wireless network data flow As the third electronic equipment.
Optionally, the third electronic equipment determination unit, specifically includes:
Remaining capacity obtain subelement, for obtain wirelessly be connected directly with first electronic equipment it is each The remaining capacity of a electronic equipment;
Third electronic equipment second chooses subelement, for choosing the most electronic equipment of remaining capacity as the third Electronic equipment.
The specific embodiment provided according to the present invention, the invention discloses following technical effects:
The sharing method and electronic equipment of wireless network resource of the invention, it is logical with first electronic equipment by obtaining Cross the available wireless network resource information for each electronic equipment that wireless mode is connected directly;Determine available network bandwidth;It determines For the first network bandwidth of the second electronic equipment distribution;Determine the third electronic equipment for being used to provide the described first network bandwidth; The first control instruction is sent to the third electronic equipment, indicates the third electronic equipment using the third electronic equipment Available wireless network resource provides the first network bandwidth for second electronic equipment, other multiple electronics can be set Standby wireless network resource shares to the second electronic equipment, and then when can be arranged to AP to avoid only one electronic equipment, The problem of wireless network data flow and electricity of the electronic equipment are rapidly depleted.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart of the sharing method embodiment 1 of wireless network resource of the invention;
Fig. 2 is a kind of system architecture schematic diagram using the sharing method of wireless network resource of the invention;
Fig. 3 is the flow chart of the sharing method embodiment 2 of wireless network resource of the invention;
Fig. 4 is the structure chart of electronic equipment embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
The sharing method of wireless network resource of the invention is applied to the first electronic equipment.First electronic equipment can To be the electronic equipments such as mobile phone, tablet computer or laptop.The wireless network resource can be mobile network's operation The wireless network resource that quotient provides, such as the data traffic in 3G network environment.
Fig. 1 is the flow chart of the sharing method embodiment 1 of wireless network resource of the invention.As shown in Figure 1, this method can To include:
Step 101: obtain each electronic equipment being wirelessly connected directly with first electronic equipment can With wireless network resource information;
First electronic equipment can be mobile phone, wirelessly be connected directly with first electronic equipment each A electronic equipment is also possible to mobile phone.
The wireless mode can be WiFi mode.That is, can between the first electronic equipment and other each electronic equipments Wireless LAN is built up with common group, to realize between the first electronic equipment and other each electronic equipments by wireless Mode is connected directly.
The available wireless network resource information can refer to what each electronic equipment had been bought within a certain period of time Or without the data traffic used of paying.
For example, the user of mobile phone A is mobile phone A in the data traffic that the flow package that March handles includes 200M, Yong Huyi 50M is used, then the available wireless network resource of mobile phone A is 150M.
Alternatively, can also be configured by quantity of the user to available wireless network resource.For example, the user of mobile phone B is The data traffic that mobile phone B is 300M in the utilizable flow upper limit of setting, user are used for 50M, then the available wireless of mobile phone B Internet resources are 250M.
Step 102: according to the available wireless network resource information, determining available network bandwidth;
The network bandwidth can be directly proportional to the total amount of available wireless network resource, that is, available wireless network resource Total amount is more, and the network bandwidth can be wider.
Certainly, the available wireless network resource information is to influence the one aspect of the network bandwidth.Practical application In, it can be combined with other aspects and determine available network bandwidth.For example, can be transmitted according to the data between each electronic equipment The information such as agreement or the message transmission rate parameter of network card chip, determine available network bandwidth.
The available network bandwidth is transmission available wireless net between the first electronic equipment and other each electronic equipments Bandwidth summation when network resource.
Step 103: being determined as the first network bandwidth of the second electronic equipment distribution;Second electronic equipment be with it is described In each electronic equipment that first electronic equipment is wirelessly connected directly, the electricity using the wireless network resource is needed Sub- equipment;
For the first network bandwidth of the second electronic equipment distribution, provided with second electronic equipment using the wireless network The content that source is run is related.For example, when second electronic equipment is using the content that the wireless network resource is run When video resource, i.e. the second electronic equipment needs online playing video file, then can distribute band at this time for the second electronic equipment The biggish first network bandwidth of width;It can be second when second electronic equipment needs to show the word content on webpage The lesser first network bandwidth of electronic equipment bandwidth allocation.
Step 104: determining the third electronic equipment for being used to provide the described first network bandwidth;
In the embodiment of the present invention, first electronic equipment can be played to each including first electronic equipment The scheduling of the available wireless network resource of a electronic equipment acts on.
Can be according to the respective available wireless network resource of each electronic equipment, determination is used to provide the described first network band Wide third electronic equipment.For example, electronic equipment that can be most by remaining data flow, is determined as third electronic equipment.
It can also determine according to the respective remaining capacity of each electronic equipment and be used to provide the described first network bandwidth the Three electronic equipments.For example, electronic equipment that can be most by remaining capacity, is determined as third electronic equipment.
Step 105: sending the first control instruction to the third electronic equipment, first control instruction is used to indicate institute The available wireless network resource that third electronic equipment utilizes the third electronic equipment is stated, provides institute for second electronic equipment State first network bandwidth.
The third electronic equipment receives first control instruction, and the available wireless network resource of itself can be used The data that the second electronic equipment needs are obtained from external wireless network, then pass through the local area network between the second electronic equipment The data that second electronic equipment needs are sent to the second electronic equipment, to make the second electronic equipment by internal transmission mode The wireless network resource of itself need not be consumed, so that it may get the data in external wireless network.
In conclusion being wirelessly connected directly by acquisition with first electronic equipment in the present embodiment The available wireless network resource information of each electronic equipment;Determine available network bandwidth;It is determined as the distribution of the second electronic equipment First network bandwidth;Determine the third electronic equipment for being used to provide the described first network bandwidth;It is sent out to the third electronic equipment The first control instruction is sent, indicates that the third electronic equipment utilizes the available wireless network resource of the third electronic equipment, is Second electronic equipment provides the first network bandwidth, the wireless network resource of other multiple electronic equipments can be shared To the second electronic equipment, and then when can be arranged to AP to avoid only one electronic equipment, the wireless network of the electronic equipment The problem of data traffic and electricity are rapidly depleted.
Fig. 2 is a kind of system architecture schematic diagram using the sharing method of wireless network resource of the invention.Such as Fig. 2 institute Show, terminal 21, terminal 22, terminal 23 is three smart phones.Base station 1 and base station 2 can be respectively that terminal 21 and terminal 23 mention For mobile data cube computation.
Terminal 22 can not obtain mobile data cube computation from base station 1 or base station 2 for some reason.The reason can be deficient Take, or incompatible etc. with the network formats of base station 1 or base station 2.
Terminal 21, terminal 22, terminal 23 can set up a Wireless LAN jointly.In the Wireless LAN, Terminal 21, terminal 22 can carry out the wireless transmission of data between terminal 23.It is this wireless transmission be not dependent on base station 1 or Base station 2.
Base station 1 can be the base station of GPRS standard, be also possible to the base station of other standards such as CDMA, WCDMA or TDMA. Base station 2 is also possible to the base station of GPRS standard, is also possible to the base station of other standards such as CDMA, WCDMA or TDMA.
Below with base station 1 be GPRS standard base station, base station 2 be CDMA standard base station for be illustrated.Assuming that eventually The network signal of 21 support GPRS standards is held, then terminal 21 can establish data connection between base station 1.Assuming that terminal 23 was both It supports the network signal of GPRS standard, also supports the network signal of CDMA standard, then terminal 23 can both be established between base station 1 Data connection can also establish data connection between base station 2.
Assuming that terminal 21 is the first electronic equipment, terminal 22 is the second electronic equipment, and terminal 23 is third electronic equipment.It adopts It can be with a concrete application scene after the sharing method of wireless network resource of the invention, terminal 21 gets terminal 22 Data available flow be 10M, the data available flow of terminal 23 is 100M, then available wireless network resource information is available number According to the total amount 110M of flow;At this point, terminal 22 needs to obtain the data on external network, it is assumed that the data volume for needing to obtain is 50M, terminal 21 can determine that the utilizable flow of terminal 22 at this time is not enough to complete the downloading of the data.It at this time can be to terminal 23 The first control instruction is sent, terminal 23 is enabled to pass through the 50M utilizable flow of itself, downloads the data, and the data are passed through three The WLAN that terminal room is set up, is transferred to terminal 22.
In application scenarios above, the terminal quantity for constituting WLAN is less, there are three, when the wireless office of composition When the terminal quantity of domain net is more, multiple third electronic equipments can also be determined, it can enable multiple terminals while being the second electricity Sub- equipment provides first network bandwidth.Assuming that first network bandwidth is 1M/S, there are 3 terminals that can provide for the second electronic equipment First network bandwidth, as long as the summation for the bandwidth that then this 3 terminals respectively provide is 1M/S.
Fig. 3 is the flow chart of the sharing method embodiment 2 of wireless network resource of the invention.As shown in figure 3, this method can To include:
Step 301: obtain each electronic equipment being wirelessly connected directly with first electronic equipment can With wireless network resource information;
Step 302: according to the available wireless network resource information, determining available network bandwidth;
Step 303: obtaining the first wireless network resource data volume that second electronic equipment has been shared;
In comprising the WLAN including second electronic equipment, the second electronic equipment can also be by the nothing of itself Line network resources locating is to other equipment.So the first wireless network money that available second electronic equipment has been shared Source data amount.
Step 304: having obtained each electronic equipment being wirelessly connected directly with first electronic equipment Shared wireless network resource data volume summation;
Similarly, each electronic equipment that available and first electronic equipment is wirelessly connected directly is Shared wireless network resource data volume.The wireless network resource data volume that each electronic equipment has been shared is added, can be with Obtain the wireless network resource data volume summation that each electronic equipment has been shared.
Step 305: determining the first wireless network resource data volume in the wireless network resource data volume summation The first ratio;
Step 306: according to first ratio and the available network bandwidth, being determined as the distribution of the second electronic equipment The first network bandwidth.
Specifically, the available network bandwidth and first ratio can be multiplied, the first network bandwidth is obtained;
Alternatively, the available network bandwidth and first ratio are multiplied, multiplied by pre-set factory, described first is obtained Network bandwidth.
For example, available network bandwidth is 1M/S, the first wireless network resource number that second electronic equipment has been shared It is 10M according to amount, has been shared with each electronic equipment that first electronic equipment is wirelessly connected directly wireless Network resource data amount summation is 20M, then can determine that the first ratio is 0.5.By the available network bandwidth and described first Ratio is multiplied, and obtaining the first network bandwidth is 0.5M/S.
In practical application, in order to which there are certain network bandwidth surpluses, it is being badly in need of using network to prevent some electronic equipment In the case where data, available network bandwidth is insufficient, and the available network bandwidth and first ratio can also be multiplied, multiplied by With pre-set factory, the first network bandwidth is obtained.In the above example, it is assumed that pre-set factory 0.6, then available institute Stating first network bandwidth is 0.3M/S.
Step 307: determining the third electronic equipment for being used to provide the described first network bandwidth;
The third electronic equipment can be one, be also possible to it is multiple, as long as third electronic equipment be capable of providing it is described First network bandwidth.
Step 308: sending the first control instruction to the third electronic equipment, first control instruction is used to indicate institute The available wireless network resource that third electronic equipment utilizes the third electronic equipment is stated, provides institute for second electronic equipment State first network bandwidth.
In the present embodiment, the first wireless network resource data volume for having been shared by obtaining second electronic equipment; The wireless network that each electronic equipment being wirelessly connected directly with first electronic equipment has been shared is obtained to provide Source data amount summation;Determine of the first wireless network resource data volume in the wireless network resource data volume summation One ratio;According to first ratio and the available network bandwidth, it is determined as described the first of the second electronic equipment distribution Network bandwidth;The electronic equipment that shared wireless network resource data volume can be made more, is assigned to bigger Netowrk tape Width, to realize a kind of Modes of Sharing Resources that comparison is fair.
The invention also discloses a kind of electronic equipment.The electronic equipment can be mobile phone, laptop or plate Computer etc..For ease of description, the electronic equipment is also known as the first electronic equipment in the application.
Fig. 4 is the structure chart of electronic equipment embodiment of the invention.As shown in figure 4, the electronic equipment may include:
Available wireless network resource information acquiring unit 401 passes through wireless parties with first electronic equipment for obtaining The available wireless network resource information for each electronic equipment that formula is connected directly;
Available network bandwidth determination unit 402, for determining available network according to the available wireless network resource information Bandwidth;
First network bandwidth determination unit 403, for being determined as the first network bandwidth of the second electronic equipment distribution;It is described Second electronic equipment be in each electronic equipment being wirelessly connected directly with first electronic equipment need using The electronic equipment of the wireless network resource;
Third electronic equipment determination unit 404, for determining that the third electronics for being used to provide the described first network bandwidth is set It is standby;
First control instruction transmission unit 405, for sending the first control instruction to the third electronic equipment, described the One control instruction is used to indicate the available wireless network resource that the third electronic equipment utilizes the third electronic equipment, for institute It states the second electronic equipment and the first network bandwidth is provided.
In the present embodiment, set by obtaining each electronics being wirelessly connected directly with first electronic equipment Standby available wireless network resource information;Determine available network bandwidth;It is determined as the first network band of the second electronic equipment distribution It is wide;Determine the third electronic equipment for being used to provide the described first network bandwidth;The first control is sent to the third electronic equipment Instruction indicates that the third electronic equipment utilizes the available wireless network resource of the third electronic equipment, for second electricity Sub- equipment provides the first network bandwidth, the wireless network resource of other multiple electronic equipments can be shared to the second electronics Equipment, and then when can be arranged to AP to avoid only one electronic equipment, the wireless network data flow of the electronic equipment and The problem of electricity is rapidly depleted.
In practical application, the first network bandwidth determination unit 403 be can specifically include:
First wireless network resource data volume obtains subelement, for obtaining that second electronic equipment shared One wireless network resource data volume;
Wireless network resource data volume summation obtains subelement, passes through wireless parties with first electronic equipment for obtaining The wireless network resource data volume summation that each electronic equipment that formula is connected directly has been shared;
First ratio-dependent subelement, for determining that the first wireless network resource data volume is provided in the wireless network The first ratio in source data amount summation;
First network bandwidth determines subelement, for determining according to first ratio and the available network bandwidth For the first network bandwidth of the second electronic equipment distribution.
In practical application, the first network bandwidth determines subelement, specifically:
First multiplying subelement obtains described for the available network bandwidth and first ratio to be multiplied First network bandwidth;
Alternatively, the second multiplying subelement, for the available network bandwidth and first ratio to be multiplied, multiplied by With pre-set factory, the first network bandwidth is obtained.
In practical application, the third electronic equipment determination unit 404 be can specifically include:
Remaining wireless network data flow obtains subelement, for obtaining with first electronic equipment wirelessly The remaining wireless network data flow for each electronic equipment being connected directly;
Third electronic equipment first chooses subelement, for choosing the most electronic equipment of remaining wireless network data flow As the third electronic equipment.
In practical application, the third electronic equipment determination unit 404 specifically can also include:
Remaining capacity obtain subelement, for obtain wirelessly be connected directly with first electronic equipment it is each The remaining capacity of a electronic equipment;
Third electronic equipment second chooses subelement, for choosing the most electronic equipment of remaining capacity as the third Electronic equipment.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Based on this understanding, technical solution of the present invention contributes to background technique whole or Person part can be embodied in the form of software products, which can store in storage medium, such as ROM/RAM, magnetic disk, CD etc., including some instructions are used so that a computer equipment (can be personal computer, service Device or the network equipment etc.) execute method described in certain parts of each embodiment of the present invention or embodiment.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For electronics disclosed in embodiment For equipment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method portion It defends oneself bright.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation Thought of the invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of sharing method of wireless network resource is applied to the first electronic equipment, which is characterized in that the described method includes:
The available wireless network for obtaining each electronic equipment being wirelessly connected directly with first electronic equipment provides Source information;
According to the available wireless network resource information, available network bandwidth is determined;The available network bandwidth is described first Bandwidth summation when available wireless network resource is transmitted between electronic equipment and other each electronic equipments;
It is determined as the first network bandwidth of the second electronic equipment distribution;Second electronic equipment be and first electronic equipment In each electronic equipment being wirelessly connected directly, the electronic equipment using the wireless network resource is needed;
Determine the third electronic equipment for being used to provide the described first network bandwidth;
The first control instruction is sent to the third electronic equipment, first control instruction is used to indicate the third electronics and sets The standby available wireless network resource using the third electronic equipment, provides the first network band for second electronic equipment It is wide.
2. the method according to claim 1, wherein the first network for being determined as the distribution of the second electronic equipment Bandwidth specifically includes:
Obtain the first wireless network resource data volume that second electronic equipment has been shared;
Obtain the wireless network that each electronic equipment being wirelessly connected directly with first electronic equipment has been shared Network resource data amount summation;
Determine first ratio of the first wireless network resource data volume in the wireless network resource data volume summation;
According to first ratio and the available network bandwidth, it is determined as first net of the second electronic equipment distribution Network bandwidth.
3. according to the method described in claim 2, it is characterized in that, described according to first ratio and described use net Network bandwidth is determined as the first network bandwidth of the second electronic equipment distribution, specifically includes:
The available network bandwidth and first ratio are multiplied, the first network bandwidth is obtained;
Alternatively, the available network bandwidth and first ratio are multiplied, multiplied by pre-set factory, the first network is obtained Bandwidth.
4. the method according to claim 1, wherein the determination is used to provide the described the of first network bandwidth Three electronic equipments, specifically include:
Obtain the remaining wireless network number for each electronic equipment being wirelessly connected directly with first electronic equipment According to flow;
The most electronic equipment of remaining wireless network data flow is chosen as the third electronic equipment.
5. the method according to claim 1, wherein the determination is used to provide the described the of first network bandwidth Three electronic equipments, specifically include:
Obtain the remaining capacity for each electronic equipment being wirelessly connected directly with first electronic equipment;
The most electronic equipment of remaining capacity is chosen as the third electronic equipment.
6. a kind of electronic equipment, the electronic equipment is the first electronic equipment, which is characterized in that the first electronic equipment packet It includes:
Available wireless network resource information acquiring unit, for obtaining and first electronic equipment wirelessly direct phase The available wireless network resource information of each electronic equipment even;
Available network bandwidth determination unit, for determining available network bandwidth according to the available wireless network resource information;Institute Available network bandwidth is stated, is transmission available wireless network resource between first electronic equipment and other each electronic equipments When bandwidth summation;
First network bandwidth determination unit, for being determined as the first network bandwidth of the second electronic equipment distribution;Second electricity Sub- equipment is to need in each electronic equipment being wirelessly connected directly with first electronic equipment using the nothing The electronic equipment of line Internet resources;
Third electronic equipment determination unit, for determining the third electronic equipment for being used to provide the described first network bandwidth;
First control instruction transmission unit, for sending the first control instruction, first control to the third electronic equipment Instruction is used to indicate the available wireless network resource that the third electronic equipment utilizes the third electronic equipment, is described second Electronic equipment provides the first network bandwidth.
7. electronic equipment according to claim 6, which is characterized in that the first network bandwidth determination unit is specific to wrap It includes:
First wireless network resource data volume obtains subelement, the first nothing shared for obtaining second electronic equipment Line network resource data amount;
Wireless network resource data volume summation obtains subelement, wirelessly straight with first electronic equipment for obtaining Connect the wireless network resource data volume summation that connected each electronic equipment has been shared;
First ratio-dependent subelement, for determining the first wireless network resource data volume in the wireless network resource number According to the first ratio in amount summation;
First network bandwidth determines subelement, for according to first ratio and the available network bandwidth, being determined as the The first network bandwidth of two electronic equipments distribution.
8. electronic equipment according to claim 7, which is characterized in that the first network bandwidth determines subelement, specifically Are as follows:
First multiplying subelement obtains described first for the available network bandwidth and first ratio to be multiplied Network bandwidth;
Alternatively, the second multiplying subelement, for the available network bandwidth and first ratio to be multiplied, multiplied by pre- Coefficient is set, the first network bandwidth is obtained.
9. electronic equipment according to claim 6, which is characterized in that the third electronic equipment determination unit is specific to wrap It includes:
Remaining wireless network data flow obtains subelement, wirelessly direct with first electronic equipment for obtaining The remaining wireless network data flow of connected each electronic equipment;
Third electronic equipment first chooses subelement, for choosing the most electronic equipment conduct of remaining wireless network data flow The third electronic equipment.
10. electronic equipment according to claim 6, which is characterized in that the third electronic equipment determination unit is specific to wrap It includes:
Remaining capacity obtains subelement, for obtaining each electricity being wirelessly connected directly with first electronic equipment The remaining capacity of sub- equipment;
Third electronic equipment second chooses subelement, for choosing the most electronic equipment of remaining capacity as the third electronics Equipment.
CN201410074620.XA 2014-03-03 2014-03-03 A kind of sharing method and electronic equipment of wireless network resource Active CN104902568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410074620.XA CN104902568B (en) 2014-03-03 2014-03-03 A kind of sharing method and electronic equipment of wireless network resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410074620.XA CN104902568B (en) 2014-03-03 2014-03-03 A kind of sharing method and electronic equipment of wireless network resource

Publications (2)

Publication Number Publication Date
CN104902568A CN104902568A (en) 2015-09-09
CN104902568B true CN104902568B (en) 2019-02-05

Family

ID=54034892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410074620.XA Active CN104902568B (en) 2014-03-03 2014-03-03 A kind of sharing method and electronic equipment of wireless network resource

Country Status (1)

Country Link
CN (1) CN104902568B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704712B (en) * 2016-01-18 2020-06-16 华为技术有限公司 Network resource sharing method, mobile terminal and server
CN108769991A (en) * 2018-05-31 2018-11-06 郑州易通众联电子科技有限公司 Network share method, network sharing device and electronic equipment
CN109362121B (en) * 2018-11-20 2021-02-26 Oppo(重庆)智能科技有限公司 Sharing method and device of wireless local area network, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217385A (en) * 2008-11-04 2011-10-12 高通股份有限公司 Resource sharing over wireless personal area networks
CN103096384A (en) * 2012-12-17 2013-05-08 东莞宇龙通信科技有限公司 Method limiting slave internet traffic and system thereof
CN103402230A (en) * 2013-08-14 2013-11-20 杭州浦禾通信技术有限公司 Method and system for surfing Internet through mobile hot spots

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003232327A1 (en) * 2002-06-13 2003-12-31 Vodafone Group Plc Network security

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217385A (en) * 2008-11-04 2011-10-12 高通股份有限公司 Resource sharing over wireless personal area networks
CN103096384A (en) * 2012-12-17 2013-05-08 东莞宇龙通信科技有限公司 Method limiting slave internet traffic and system thereof
CN103402230A (en) * 2013-08-14 2013-11-20 杭州浦禾通信技术有限公司 Method and system for surfing Internet through mobile hot spots

Also Published As

Publication number Publication date
CN104902568A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104081339B (en) The data transmission by network connection is managed based on priority and data application plan
Aazam et al. Dynamic resource provisioning through fog micro datacenter
Yu et al. Cooperative resource management in cloud-enabled vehicular networks
CN107113704B (en) It is extended using the network insertion for having peer capabilities of yield management
CN109451002B (en) CDN node selection method and equipment
CN103813475B (en) A kind of data transmission method, data capture method and electronic equipment
CN103338475B (en) The method of testing of WAP (wireless access point) and device, test terminal
CN105592505B (en) A kind of method and data terminal of data transmission
CN102891890B (en) Exchange method between a kind of terminal and relevant device, system
CN104902568B (en) A kind of sharing method and electronic equipment of wireless network resource
CN108566408A (en) A kind of method for processing business, device and storage medium
CN109379742A (en) A kind of cut-in method of WLAN, device and storage medium
CN103002517A (en) Data transmission method and data terminal
CN102523422A (en) Multiparty communication control system, multiparty communication system and multiparty communication processing method
CN102802214A (en) System and method for rate self-adaptation based on WLAN (Wireless Local Area Network)
CN110289971A (en) Shared service management method and system
CN104168593B (en) A kind of method, system and the server of wireless network access
CN104052801B (en) A kind of information processing method and electronic equipment
CN103533580A (en) Wifi data non-seamless branching method, apparatus and system
CN102611708B (en) A kind of Internet access method and equipment
CN105744046B (en) A kind of information processing method and electronic equipment
CN110166955A (en) A kind of method and apparatus carrying out calendar prompting
Perrucci et al. Cooperative mobile web browsing
CN106488583A (en) For setting up the method and apparatus of wireless connection
CN105704703B (en) A kind of service order system, 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
GR01 Patent grant
GR01 Patent grant