CN106658358A - Network sharing method, network sharing device and terminal - Google Patents

Network sharing method, network sharing device and terminal Download PDF

Info

Publication number
CN106658358A
CN106658358A CN201610876705.9A CN201610876705A CN106658358A CN 106658358 A CN106658358 A CN 106658358A CN 201610876705 A CN201610876705 A CN 201610876705A CN 106658358 A CN106658358 A CN 106658358A
Authority
CN
China
Prior art keywords
network
shared
address
judge
port number
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
CN201610876705.9A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610876705.9A priority Critical patent/CN106658358A/en
Publication of CN106658358A publication Critical patent/CN106658358A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiments of the invention disclose a network sharing method, a network sharing device and a terminal. The network sharing method comprises the following steps: establishing a connection with hotspot equipment by means of short-distance wireless communication; receiving network information shared by the hotspot equipment; judging whether the network shared by the hotspot equipment charges fees according to the network information; and when judging that the network charges fees, generating a virtual operator network identifier, marking the network, and establishing a network connection with the network. When a network shared by hotspot equipment charges fees, the terminal can identify that a currently used network charges fees, a virtual operator network identifier is generated, the network is marked, and the user of the terminal is reminded that the currently used network charges fees. Furthermore, specific network access can be limited, high-traffic applications such as download tool software and video playback clients are prevented from consuming excessive charging data traffic, and the economic loss of hotspot equipment users is reduced.

Description

A kind of method of shared network, device and terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of method of shared network, device and terminal.
Background technology
Transceiver communication both sides are by radio wave transmissions information and transmission range is limited within short-range (tens meters), Just can be described as wireless near field communication.For example, bluetooth (Bluetooth) is a kind of wireless technology standard, achievable fixing equipment, Short-range data between mobile device and building personal area network is exchanged and (uses the UHF of the ISM band of 2.4-2.485GHz wireless Electric wave).
Share for Bluetooth network is by the mobile data network of main equipment or Wi-Fi (Wireless- by bluetooth connection Fidelity, Wireless Fidelity) to from equipment, share for Bluetooth network is the another kind in addition to Wi-Fi Hotspot is shared to network share Shared network mode.Advantage using share for Bluetooth network is, does not have the feelings that data traffic do not connect Wi-Fi yet in mobile phone Under condition, the mobile data network or Wi-Fi network of other side's mobile phone can be shared.Mobile phone access internet when, in mobile phone should Typically different data access modes can be presented according to the type of current network connection with program, while providing the user Setting options, for example, current online is connected as not downloading file when mobile data network connects, and current online is connected as moving number According to not automatic updating application program during network connection, current online is connected as not loaded automatically when mobile data network connects online Video etc., to reduce mobile phone data traffic produced by internet is accessed under mobile data network.
But when paying mobile data network of the mobile phone by share for Bluetooth other side's mobile phone, the current online of mobile phone is connected as Blueteeth network connects, therefore, in this case the application program in mobile phone may download file, automatically update or load online Video, so as to the paying mobile data flow for causing application program increases, to other side cellphone subscriber economic loss is caused.
The content of the invention
To solve Related Technical Issues, the present invention provides a kind of method of shared network, device and terminal, leads to can terminal Virtual carrier network and the shared network of hotspot device are crossed, and prompting is used when judging that current shared network is charge network Family.
For achieving the above object, the embodiment of the present invention is adopted the following technical scheme that:
In a first aspect, embodiments providing a kind of method of shared network, methods described includes:
Set up with hotspot device by close range wireless communication modes and be connected;
Receive the shared network information of the hotspot device;
Judge whether the shared network of the hotspot device is charge network according to the network information;
When charge network is judged as, generates virtual carrier network and identify and mark the network;
Set up the network connection with the network.
Second aspect, the embodiment of the present invention also accordingly provides a kind of device of shared network, and described device includes:
Link block is set up, is connected for being set up with hotspot device by close range wireless communication modes;
Receiver module, the network information shared for receiving the hotspot device;
Judge module, for judging whether the shared network of the hotspot device is charge net according to the network information Network;
Generation module, for when charge network is judged as, generating virtual carrier network and identifying and mark the net Network;
Network connection sets up module, for setting up the network connection with the network.
The third aspect, the embodiment of the present invention also provides a kind of terminal, including the device described in above-mentioned second aspect.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought:
In the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives focus and sets The standby shared network information, judges whether the shared network of hotspot device is charge network according to the network information, when being judged as receipts When taking network, generate virtual carrier network and identify and mark the network, set up the network connection with the network.Terminal passes through Virtual carrier network and the shared network of hotspot device, when hotspot device is under the charge data networks such as mobile data network When point out the currently used network of user for charge network, and can the high flow applications program of limiting terminal do not receive from interconnection The network data of net, controls the data traffic of high flow applications program, reduces user's economic loss.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to institute in embodiment of the present invention description The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to present invention enforcement The content of example and these accompanying drawings obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of shared network that the embodiment of the present invention one is provided;
Fig. 2A is the schematic flow sheet of the method for a kind of shared network that the embodiment of the present invention two is provided;
Fig. 2 B are a kind of schematic flow sheets of optional embodiment of S230 in Fig. 2A;
Fig. 2 C are a kind of schematic flow sheets of optional embodiment of S230 in Fig. 2A;
Fig. 3 is the configuration diagram of the device of a kind of shared network that the embodiment of the present invention three is provided;
Fig. 4 A are the configuration diagrams of the device of a kind of shared network that the embodiment of the present invention four is provided;
Fig. 4 B are a kind of configuration diagrams of optional embodiment of judge module 430 in Fig. 4 A;
Fig. 4 C are a kind of configuration diagrams of optional embodiment of judge module 430 in Fig. 4 A;
Fig. 5 is a kind of structural representation of terminal that the embodiment of the present invention five is provided.
Specific embodiment
For make present invention solves the technical problem that, the technical scheme that adopts and the technique effect that reaches it is clearer, below Accompanying drawing will be combined to be described in further detail the technical scheme of the embodiment of the present invention, it is clear that described embodiment is only It is a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those skilled in the art exist The every other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Embodiment one
Fig. 1 is refer to, it is the schematic flow sheet of the method for a kind of shared network that the embodiment of the present invention one is provided.This reality Applying the method for example can support that the terminal of wireless near field communication is come by the mobile phone of support wireless near field communication, panel computer etc. Perform, can be applicable to the scene of the terminals such as mobile phone, panel computer and the shared network of hotspot device.
A kind of method of shared network, may include steps of:
S110:Set up with hotspot device by close range wireless communication modes and be connected
It is exemplary, wireless near field communication include bluetooth, Wifi, NFC (Near Field Communication, closely The communication technology) and the communication mode such as infrared communication, in the present embodiment, illustrate by taking Bluetooth communication and Wifi communications as an example The technical scheme of embodiment;Hotspot device in the present embodiment refers to the hand that can support share for Bluetooth network or the shared networks of Wifi The equipment such as mechanical, electrical road.
For Blue-tooth communication method, mobile phone terminal opens Bluetooth switch, and hotspot device opens Bluetooth switch becomes bluetooth Focus, mobile phone terminal and hotspot device set up bluetooth connection by Bluetooth pairing success, then mobile phone terminal with hotspot device.
For Wifi communication modes, mobile phone terminal opens wireless network switch, and hotspot device sets up Wifi focuses, mobile phone The Wifi focus successes of terminal access hotspot device, set up connection.
S120:Receive the shared network information of hotspot device.
Exemplary, to network, then terminal starts the network of shared hotspot device to hotspot device turn-on data network switching, Terminal obtains the network information of shared network active inquiry or by way of passively informing from hotspot device, while terminal is logical Cross the network information and can determine that hotspot device has been networked and shared network.
Preferably, the network information includes one or more in network name, network ip address and network port number, wherein Network ip address can refer to the public affairs that GGSN (Gateway GPRS Support Node, Gateway GPRS Support Node) network element distributes Net IP address.
S130:Judge whether the shared network of hotspot device is charge network according to the network information.
Exemplary, the network data services that strictly speaking operator provides the user all are charges, but in this enforcement In example, for ease of describing the problem on time, it is believed that the network that the network in (such as monthly payment broadband) of charging, public organizations provide is " to exempt from Take " network, the network for only thinking the meter flow charging such as mobile data is charge network.Terminal according to the network information for receiving come Judge whether the shared network of hotspot device is charge network, wherein, the network information includes network name, network ip address and net One or more in network port numbers.
S140:Generate virtual carrier network and identify and mark the network.
Exemplary, when it is charge network to judge the shared network of hotspot device, terminal generates virtual operator's net Network identifies and marks the shared network of hotspot device, represents that terminal generates a virtual carrier network, and terminal currently makes It is charge network with marked network.Virtual carrier network can be in several ways generated, such as by virtual Network interface card, virtual serial port etc. may be implemented in terminal and generate virtual carrier network, and in terminal virtual carrier network is generated It is rendered as a typical carrier network and corresponding configuration interface.
S140:Set up the network connection with the network.
Exemplary, terminal is generated after virtual carrier network, by the virtual carrier network set up terminal with Network connection between the shared network of hotspot device, shares the shared network of hotspot device, substitutes in conventional art in charge Network lower terminal shares the network of hotspot device in the way of bluetooth or Wifi are shared.
By in conventional art in the way of share for Bluetooth network as a example by for, when terminal by bluetooth connection as focus After bluetooth hot spot equipment, it is possible to the normal shared network using bluetooth hot spot equipment, for example using immediate communication tool (such as QQ, wechat etc.) and friend's chat, the topical news that surfs the web etc., but if terminal uses download tool software download music, figure The file such as piece or video, or during using video playback client terminal playing Online Video, or application program update etc. is carried out, if bluetooth The shared network of hotspot device is the mobile data network of charge, then can consume mass data flow and give bluetooth hot spot equipment User brings economic loss.Although the application programs such as the download tool software of terminal, video playback client would generally be arranged to Not receiving portion or overall network data under mobile data network connection, to avoid too high data traffic consumption, but due to Terminal is that the mobile data network of bluetooth hot spot equipment is shared by way of share for Bluetooth, and this class method does not identify out end The type of the data network of bluetooth hot spot equipment is shared at end, therefore above-mentioned setting will fail, and may still result in this of terminal Class application program consumes substantial amounts of data traffic.Therefore, in the present embodiment of the present invention, terminal and bluetooth hot spot equipment it Between set up bluetooth connection, the shared network information of hotspot device is received, when judging bluetooth hot spot collaborative share according to the network information Network for charge network when, terminal generates virtual carrier network and respective identification, and marks bluetooth hot spot equipment and be total to The network enjoyed, the network that terminal passes through the shared bluetooth hot spot equipment of the virtual carrier network, wherein, the virtual operator Network is a virtualized data network, and terminal accesses internet under the virtual carrier network;When bluetooth hot spot sets Standby shared network be charge mobile data network when, terminal under the virtual mobile data network, download tool software, The above-mentioned setting of the application programs such as video playback client comes into force, and will not receive the part or all of network number from internet According to the payment data flow of the application program exorbitant expenditures such as tool software, video playback client can be avoided.
To sum up, in the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives The shared network information of the hotspot device, when judging the shared network of hotspot device for charge network according to the network information, Generate virtual carrier network and identify and mark the network, set up the network connection with the network.Terminal is by virtual Carrier network sets up the network connection of the network shared with hotspot device, and terminal accesses interconnection by virtual carrier network Net, therefore the application program such as download tool software, video playback client can be recognized accurately it and visit under mobile data network Internet is asked, and does not receive the part or all of network data from internet in the case, it is to avoid the paying of exorbitant expenditure Data traffic, reduces the economic loss of user.
Embodiment two
Fig. 2A, Fig. 2 B and Fig. 2 C are refer to, wherein Fig. 2A is the side of a kind of shared network that the embodiment of the present invention two is provided The schematic flow sheet of method, the present embodiment differs primarily in that with embodiment one, increased and limit particular network access rights Content, and further provide two kinds of S230 in Fig. 2A optional embodiments.
As shown in Figure 2 A, a kind of method of shared network, may include steps of:
S210:Set up with hotspot device by close range wireless communication modes and be connected.
S220:Receive the shared network information of hotspot device.
S230:Judge whether the shared network of hotspot device is charge network according to the network information.
S240:When charge network is judged as, virtual carrier network mark and token network are generated.
S250:Set up the network connection with the network.
S260:Particular network access rights are limited, particular network access rights are included in download, renewal, video playback One or more.
Exemplary, under virtual carrier network, terminal can limit some particular network access rights, wherein, it is special Determine one or more that network access authority can be included in download, renewal, video playback.
For example, when mobile phone accesses internet under virtual carrier network, generally can arrange in mobile phone terminal Corresponding application program does not actively download file, more new application or broadcasting under charge network (such as mobile data network) Online Video, to avoid the payment data flow of this kind of high flow applications program exorbitant expenditure.
Preferably, Fig. 2 B are refer to, it is a kind of schematic flow sheet of optional embodiment of S230 in Fig. 2A.In Fig. 2A S230 can include following content:
S231b:Judge network ip address or network port number whether with the IP address database or network port number for prestoring Database matching.
Exemplary, terminal prestores IP address database or network port number database matching, and IP address database can With the IP address range divided as network of charging including operator, network port number database matching can include operator to receive Take the network port number scope of network division.When the IP address or network port number in the network information that terminal is received with prestore When IP address database or network port number database matching, following S232b are performed.
S232b:Judge the shared network of hotspot device for network of charging.
To sum up, in the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives The shared network information of the hotspot device, the network ip address or network port number in the network information judges focus When the network of collaborative share is charge network, generates virtual carrier network and identify and mark the network, set up and the net The network connection of network, and limit particular network access rights.Terminal is set up by virtual carrier network and is total to hotspot device The network connection of the network enjoyed, terminal accesses internet by virtual carrier network, limits particular network access rights, because The application programs such as this download tool software, video playback client can be recognized accurately it and interconnection is accessed under mobile data network Net, and the part or all of network data from internet is not received in the case, it is to avoid the payment data stream of exorbitant expenditure Amount, reduces the economic loss of user.
Preferably, Fig. 2 C are refer to, it is a kind of schematic flow sheet of optional embodiment of S230 in Fig. 2A.In Fig. 2A S230 can include following content:
S231c:Judge network name whether comprising particular keywords.
Exemplary, particular keywords include two kinds, and one kind is to include " free XX " printed words in network name, then terminal It is free nets to automatically consider the network, without the need for performing follow-up step again;Another kind is public comprising some in network name Organization names, then the network that terminal acquiescence public organizations provide is free nets, free Wifi that for example public place is provided etc., Now, equally without the need for performing follow-up step again.When receive the network information in network name in both there is no " free XX " word When sample does not have public organizations' title yet, then it is assumed that do not include particular keywords in network name, perform following S232c.
S232c:Judge network ip address or network port number whether with the IP address database or network port number for prestoring Database matching.
Exemplary, when particular keywords are not included in network name, terminal determines whether the net in the network information Network IP address or network port number, if with the IP address database or network port number database matching for prestoring, if matching, Perform following S233c.
S233c:Judge the shared network of hotspot device for network of charging.
To sum up, in the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives The shared network information of the hotspot device, when the network name in the network information does not include particular keywords, further root According to the network ip address or network port number in the network information judge the shared network of hotspot device for charge network when, it is raw The network is identified and marked into virtual carrier network, the network connection with the network is set up, and limits particular network visit Ask authority.Terminal sets up the network connection of the network shared with hotspot device by virtual carrier network, and terminal is by void The carrier network of plan accesses internet, limits particular network access rights, therefore download tool software, video playback client It can be recognized accurately etc. application program internet is accessed under mobile data network, and not receive from interconnection in the case The part or all of network data of net, it is to avoid the payment data flow of exorbitant expenditure, reduces the economic loss of user.
Above-described embodiment one and embodiment two for a kind of method of shared network provided in an embodiment of the present invention enforcement Example, following embodiments three and example IV are the embodiment of the device of a kind of shared network of present invention offer, and one kind is shared The method of network and a kind of device of shared network belong to same inventive concept, in a kind of embodiment of the device of shared network In not detailed description detail content, refer to a kind of embodiment of the method for above-mentioned shared network.
Embodiment three
Fig. 3 is refer to, it is the configuration diagram of the device of a kind of shared network that the embodiment of the present invention three is provided.
A kind of device 300 of shared network, can include following content:
Link block 310 is set up, is connected for being set up with hotspot device by close range wireless communication modes.
Receiver module 320, the network information shared for receiving hotspot device.
Judge module 330, for judging whether the shared network of hotspot device is charge network according to the network information.
Generation module 340, for when charge network is judged as, generating virtual carrier network and identifying and mark net Network.
Network connection sets up module 350, for setting up the network connection with network.
Preferably, the network information includes one or more in network name, network ip address and network port number.
To sum up, in the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives The shared network information of the hotspot device, when judging the shared network of hotspot device for charge network according to the network information, Generate virtual carrier network and identify and mark the network, set up the network connection with the network.Terminal is by virtual Carrier network sets up the network connection of the network shared with hotspot device, and terminal accesses interconnection by virtual carrier network Net, therefore the application program such as download tool software, video playback client can be recognized accurately it and visit under mobile data network Internet is asked, and does not receive the part or all of network data from internet in the case, it is to avoid the paying of exorbitant expenditure Data traffic, reduces the economic loss of user.
Example IV
Fig. 4 A, Fig. 4 B and Fig. 4 C are refer to, wherein, Fig. 4 A are the dresses of a kind of shared network that the embodiment of the present invention four is provided The configuration diagram put.
A kind of device 400 of shared network, can include following content:
Link block 410 is set up, is connected for being set up with hotspot device by close range wireless communication modes.
Receiver module 420, the network information shared for receiving hotspot device.
Judge module 430, for judging whether the shared network of hotspot device is charge network according to the network information.
Generation module 440, for when charge network is judged as, generating virtual carrier network and identifying and mark net Network.
Network connection sets up module 450, for setting up the network connection with network.
Module 460 is limited, for limiting particular network access rights, particular network access rights include downloading, updating, regarding One or more in frequency broadcasting.
Optionally, as shown in Figure 4 B, judge module 430 can include the first judging unit 431b and the first matching unit 432b, wherein:
First judging unit 431b, for judge network ip address or network port number whether with the IP address data for prestoring Storehouse or network port number database matching.
First matching unit 432b, if for the IP address database for judging network ip address or network port number with prestore Or during network port number database matching, then judge the shared network of hotspot device for network of charging.
To sum up, in the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives The shared network information of the hotspot device, the network ip address or network port number in the network information judges focus When the network of collaborative share is charge network, generates virtual carrier network and identify and mark the network, set up and the net The network connection of network, and limit particular network access rights.Terminal is set up by virtual carrier network and is total to hotspot device The network connection of the network enjoyed, terminal accesses internet by virtual carrier network, limits particular network access rights, because The application programs such as this download tool software, video playback client can be recognized accurately it and interconnection is accessed under mobile data network Net, and the part or all of network data from internet is not received in the case, it is to avoid the payment data stream of exorbitant expenditure Amount, reduces the economic loss of user.
Optionally, as shown in Figure 4 C, judge module 430 can include the second judging unit 431c, the 3rd judging unit 432c and the second matching unit 433c, wherein:
Second judging unit 431c, for judging network name whether comprising particular keywords.
3rd judging unit 432c, if for judge network name do not include particular keywords when, continuation judge network IP address or network port number whether with the IP address database or network port number database matching for prestoring.
Second matching unit 433c, if for continuing to judge network ip address or network port number with the IP address number for prestoring During according to storehouse or network port number database matching, then judge the shared network of hotspot device for network of charging.
To sum up, in the technical program, terminal is set up with hotspot device by close range wireless communication modes and is connected, and receives The shared network information of the hotspot device, when the network name in the network information does not include particular keywords, further root According to the network ip address or network port number in the network information judge the shared network of hotspot device for charge network when, it is raw The network is identified and marked into virtual carrier network, the network connection with the network is set up, and limits particular network visit Ask authority.Terminal sets up the network connection of the network shared with hotspot device by virtual carrier network, and terminal is by void The carrier network of plan accesses internet, limits particular network access rights, therefore download tool software, video playback client It can be recognized accurately etc. application program internet is accessed under mobile data network, and not receive from interconnection in the case The part or all of network data of net, it is to avoid the payment data flow of exorbitant expenditure, reduces the economic loss of user.
Embodiment five
Fig. 5 is refer to, it is a kind of structural representation of terminal that the embodiment of the present invention five is provided.In the embodiment of the present invention Terminal can be it is any support wireless near field communication equipment, such as mobile phone, panel computer, electronic reader etc..Such as Fig. 5 Shown, the terminal in the embodiment of the present invention includes:At least one processor 501, such as CPU, at least one receiver 503, extremely A few memory 504, at least one transmitter 505, at least one communication bus 502.Wherein, communication bus 502 is used for real Connection communication between existing these components.Wherein, the receiver 503 and transmitter 505 of device can be in the embodiment of the present invention Wired sending port, or wireless device, such as including antenna assembly, for carrying out signaling or number with other node devices According to communication.Memory 504 can be high-speed RAM memory, or non-labile memory (non-volatile Memory), for example, at least one magnetic disc store.Memory 504 optionally can also be that at least one is located remotely from aforementioned place The storage device of reason device 501.Batch processing code is stored in memory 504, and the processor 501 can pass through communication bus 502, call the code stored in memory 504 to perform the function of correlation.
The mobile terminal also includes touching display screen, and the touching display screen is the touch screen and the display screen It is integrated, array of pressure sensors can be provided with the touching display screen, mobile terminal can pass through the array of pressure sensors Detection pressure parameter, wherein, above-mentioned pressure sensor for example can be resistance strain gage pressure sensor, semiconductor gauge pressure Force snesor, piezoresistive pressure sensor, inductance pressure transducer, capacitance pressure transducer, resonance type pressure sensor Deng aforesaid way is included but is not limited in the embodiment of the present invention obtaining touch-control dynamics.
For example, the touching display screen can include:Panel;The indium tin oxide figure being arranged at below the panel Shape;The touch sensor being arranged at below the indium tin oxide figure;The indium tin oxygen being arranged at below the touch sensor Compound substrate;And it is arranged at the upper surface of the indium tin oxide substrate or the pressure sensor of lower surface;Or
Again for example, the touching display screen can include:Panel;The indium tin oxide being arranged at below the panel Figure;The touch sensor being arranged at below the indium tin oxide figure;And be arranged at below the touch sensor Pressure sensor.
The processor 501, is connected for being set up with hotspot device by close range wireless communication modes;Receive the heat The shared network information of point device;Judge whether the shared network of the hotspot device is charge net according to the network information Network;When charge network is judged as, generates virtual carrier network and identify and mark the network;Set up and the network Network connection.
Optionally, the network information includes one or more in network name, network ip address and network port number.
The processor 501, after for setting up the network connection with the network, is additionally operable to limit particular network visit Authority is asked, the particular network access rights include one or more in download, renewal, video playback.
The processor 501, when the network information includes network ip address or network port number, for according to institute State the network information to judge the hotspot device shared network when whether being charge network, specifically for judging the network IP Location or network port number whether with the IP address database or network port number database matching for prestoring, if matching, judges institute The shared network of hotspot device is stated for charge network.
The processor 501, when the network information includes network name, while including network ip address or the network port Number when, for whether according to the network information, to judge the shared network of the hotspot device be charge network when, concrete use In judging the network name whether comprising particular keywords;If not including, continuation judges the network ip address or network Port numbers whether with the IP address database or network port number database matching for prestoring, if matching, judges that the focus sets Standby shared network is charge network.
Specifically, implementing for above-mentioned modules refers to Fig. 1, Fig. 2A, Fig. 2 B to Fig. 2 C to related in embodiment The description of step, will not be described here.
As can be seen that in embodiment of the present invention technical scheme, first, terminal is by close range wireless communication modes and focus Equipment sets up connection, receives the shared network information of the hotspot device, and according to the network information hotspot device is judged Whether shared network is charge network, when charge network is judged as, generates virtual carrier network and identifies and mark institute Network is stated, the network connection with the network is set up.By virtual carrier network and the shared network of hotspot device, work as focus User's currently used network is pointed out when equipment is under the charge data networks such as mobile data network for network of charging, and can be limited The high flow applications program of terminal processed does not receive the network data from internet, controls the data flow of high flow applications program Amount, reduces user's economic loss.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, during the program performing including any service processes described in said method embodiment monitoring method part or complete Portion's step.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English Text:Random Access Memory, referred to as:RAM), disk or CD etc..
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. a kind of method of shared network, it is characterised in that methods described includes:
Set up with hotspot device by close range wireless communication modes and be connected;
Receive the shared network information of the hotspot device;
Judge whether the shared network of the hotspot device is charge network according to the network information;
When charge network is judged as, generates virtual carrier network and identify and mark the network;
Set up the network connection with the network.
2. method according to claim 1, it is characterised in that the network information includes network name, network ip address With one or more in network port number.
3. method according to claim 2, it is characterised in that when the network information includes network ip address or network-side It is described to judge whether the shared network of the hotspot device is charge network according to the network information during slogan, specifically include:
Judge the network ip address or network port number whether with the IP address database or network port number database for prestoring Matching, if matching, judges the shared network of the hotspot device for network of charging.
4. method according to claim 2, it is characterised in that when the network information includes network name, while including It is described to judge that whether the shared network of the hotspot device is according to the network information when network ip address or network port number Charge network, specifically includes:
Judge the network name whether comprising particular keywords;
If not including, continuation judge the network ip address or network port number whether with the IP address database or net for prestoring Network port numbers database matching, if matching, judges the shared network of the hotspot device for network of charging.
5. the method according to any one of claim 1-4, it is characterised in that the network connection of the foundation and the network Afterwards, also include:
Limit particular network access rights, the particular network access rights include downloading, update, the one kind in video playback or It is various.
6. a kind of device of shared network, it is characterised in that described device includes:
Link block is set up, is connected for being set up with hotspot device by close range wireless communication modes;
Receiver module, the network information shared for receiving the hotspot device;
Judge module, for judging whether the shared network of the hotspot device is charge network according to the network information;
Generation module, for when charge network is judged as, generating virtual carrier network and identifying and mark the network;
Network connection sets up module, for setting up the network connection with the network.
7. device according to claim 6, it is characterised in that the network information includes network name, network ip address With one or more in network port number.
8. device according to claim 7, it is characterised in that when the network information includes network ip address or network-side During slogan, the judge module is specifically included:
First judging unit, for judge the network ip address or network port number whether with the IP address database for prestoring or Network port number database matching;
First matching unit, if for the IP address database or net that judge the network ip address or network port number with prestore During network port numbers database matching, then judge the shared network of the hotspot device for network of charging.
9. device according to claim 7, it is characterised in that when the network information includes network name, while including When network ip address or network port number, the judge module is specifically included:
Second judging unit, for judging the network name whether comprising particular keywords;
3rd judging unit, if for judge the network name do not include particular keywords when, continuation judge the network IP address or network port number whether with the IP address database or network port number database matching for prestoring;
Second matching unit, if for continuing to judge the network ip address or network port number with the IP address database for prestoring Or during network port number database matching, then judge the shared network of the hotspot device for network of charging.
10. the device according to any one of claim 6-9, it is characterised in that also include:
Module is limited, for limiting particular network access rights, the particular network access rights include download, renewal, video One or more in broadcasting.
11. a kind of terminals, it is characterised in that including the device described in any one of claim 6-10.
CN201610876705.9A 2016-09-30 2016-09-30 Network sharing method, network sharing device and terminal Pending CN106658358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610876705.9A CN106658358A (en) 2016-09-30 2016-09-30 Network sharing method, network sharing device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610876705.9A CN106658358A (en) 2016-09-30 2016-09-30 Network sharing method, network sharing device and terminal

Publications (1)

Publication Number Publication Date
CN106658358A true CN106658358A (en) 2017-05-10

Family

ID=58854344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610876705.9A Pending CN106658358A (en) 2016-09-30 2016-09-30 Network sharing method, network sharing device and terminal

Country Status (1)

Country Link
CN (1) CN106658358A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327865A (en) * 2018-11-21 2019-02-12 Oppo(重庆)智能科技有限公司 Network share method and network sharing device
CN110035590A (en) * 2019-04-22 2019-07-19 深圳仙苗科技有限公司 A kind of low standby power loss intelligent lamp control system using novel networking technology
CN111726849A (en) * 2020-06-29 2020-09-29 西安易朴通讯技术有限公司 WiFi hotspot type identification method and device and storage medium
CN112512067A (en) * 2020-12-10 2021-03-16 中国联合网络通信集团有限公司 Configuration method of micro base station, micro base station and terminal
CN112866961A (en) * 2019-11-12 2021-05-28 上海博泰悦臻电子设备制造有限公司 Method, device and computer storage medium for sharing network
CN114125819A (en) * 2022-01-25 2022-03-01 深圳市云动创想科技有限公司 Playing method and device based on mobile communication technology and electronic equipment
CN114501674A (en) * 2021-06-10 2022-05-13 荣耀终端有限公司 Hotspot connection method, terminal device and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959196A (en) * 2010-10-20 2011-01-26 中国电信股份有限公司 WLAN (Wireless Local Area Network) resource sharing method and WLAN network system
CN104113915A (en) * 2013-04-18 2014-10-22 中国移动通信集团江苏有限公司 Wireless local area network and sharing method thereof, and wireless local area network gateway
CN104702608A (en) * 2015-03-13 2015-06-10 吴培希 WiFi sharing system
CN105228220A (en) * 2015-09-15 2016-01-06 珠海赞友科技有限公司 A kind of method that can temporarily surf the Net
CN105307235A (en) * 2015-09-22 2016-02-03 广东欧珀移动通信有限公司 Hotspot sharing method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959196A (en) * 2010-10-20 2011-01-26 中国电信股份有限公司 WLAN (Wireless Local Area Network) resource sharing method and WLAN network system
CN104113915A (en) * 2013-04-18 2014-10-22 中国移动通信集团江苏有限公司 Wireless local area network and sharing method thereof, and wireless local area network gateway
CN104702608A (en) * 2015-03-13 2015-06-10 吴培希 WiFi sharing system
CN105228220A (en) * 2015-09-15 2016-01-06 珠海赞友科技有限公司 A kind of method that can temporarily surf the Net
CN105307235A (en) * 2015-09-22 2016-02-03 广东欧珀移动通信有限公司 Hotspot sharing method, device and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327865A (en) * 2018-11-21 2019-02-12 Oppo(重庆)智能科技有限公司 Network share method and network sharing device
CN109327865B (en) * 2018-11-21 2022-02-18 Oppo(重庆)智能科技有限公司 Network sharing method and network sharing device
CN110035590A (en) * 2019-04-22 2019-07-19 深圳仙苗科技有限公司 A kind of low standby power loss intelligent lamp control system using novel networking technology
CN112866961A (en) * 2019-11-12 2021-05-28 上海博泰悦臻电子设备制造有限公司 Method, device and computer storage medium for sharing network
CN111726849A (en) * 2020-06-29 2020-09-29 西安易朴通讯技术有限公司 WiFi hotspot type identification method and device and storage medium
CN111726849B (en) * 2020-06-29 2022-07-08 西安易朴通讯技术有限公司 WiFi hotspot type identification method and device and storage medium
CN112512067A (en) * 2020-12-10 2021-03-16 中国联合网络通信集团有限公司 Configuration method of micro base station, micro base station and terminal
CN112512067B (en) * 2020-12-10 2023-06-13 中国联合网络通信集团有限公司 Configuration method of micro base station, micro base station and terminal
CN114501674A (en) * 2021-06-10 2022-05-13 荣耀终端有限公司 Hotspot connection method, terminal device and electronic device
CN114501674B (en) * 2021-06-10 2022-12-30 荣耀终端有限公司 Hotspot connection method, terminal device and storage medium
CN114125819A (en) * 2022-01-25 2022-03-01 深圳市云动创想科技有限公司 Playing method and device based on mobile communication technology and electronic equipment

Similar Documents

Publication Publication Date Title
CN106658358A (en) Network sharing method, network sharing device and terminal
CN105530175B (en) Message processing method, device and system
CN107852581B (en) Method, apparatus and computer-readable storage medium for contextual mobile data access
CN107636722B (en) Management method and management server for utilizing multiple SIM cards
CN107589998A (en) Resource allocation method and Related product
CN105049423A (en) Authority management system, device and method
CN104683422A (en) Method and device for transmitting data
CN107995285B (en) Information display method, device, server and readable storage medium
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN106851779A (en) A kind of method and mobile terminal for recognizing access point and focus
WO2021159393A1 (en) Information pushing method and apparatus, and server and storage medium
CN110555155B (en) Article information recommendation method, device and storage medium
CN109146459A (en) Data processing method, device and system
CN110876184A (en) Carrier aggregation configuration method and related product
CN104980503A (en) Information push method with POS equipment acting as WiFi hotspot and equipment thereof
US20120079591A1 (en) Data Filtering for Communication Devices
CN108494851B (en) Application program recommended method, device and server
CN107872533B (en) Information-pushing method, device, server and storage medium
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server
CN105611525B (en) A kind of information processing method and electronic equipment
CN113015996A (en) Advertisement pushing method and related equipment
CN107347109B (en) Information interaction system, method and device
CN103634348A (en) Terminal device and method for releasing information
CN107396319A (en) A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer

Legal Events

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

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication