CN109618392A - Method, apparatus, equipment and the computer readable storage medium of network share - Google Patents
Method, apparatus, equipment and the computer readable storage medium of network share Download PDFInfo
- Publication number
- CN109618392A CN109618392A CN201910016811.3A CN201910016811A CN109618392A CN 109618392 A CN109618392 A CN 109618392A CN 201910016811 A CN201910016811 A CN 201910016811A CN 109618392 A CN109618392 A CN 109618392A
- Authority
- CN
- China
- Prior art keywords
- shared
- terminal
- networking
- shared terminal
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/32—Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of method, apparatus of network share, equipment and computer readable storage mediums, this method comprises: sending shared networking request to base station;The shared request that networks includes: the first geographical location information for needing the first terminal of access terminals to identify and need access terminals current, and the networking ready message of shared terminal can be used by being inquired in preset shared terminal connection table for base station according to the first current geographical location information;Receive the networking ready message for the available shared terminal that base station is sent;According to can determine target shared terminal with the networking ready message of shared terminal;Obtain the shared network connecting mode and networking password of target shared terminal;Network is accessed according to the shared network connecting mode of target shared terminal and networking password.Due to sharing network using shared terminal, shared terminal has mobility, and can control access terminal, and then improve the online experience of user according to needing the selection of access terminals to make that access terminals is needed to share network.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of method, apparatus of network share, equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
With the fast development of the communication technology, the deployment of the new network such as 4G, 5G network becomes hot topic, with and what is come is fortune
The frequency that gradually subtracts of battalion's quotient 2G/3G network moves back clothes.But since the network of operator disposes complex, for example subtracted by 2G/3G
Frequently, the limitation of base station access system etc., the new network in many areas also fail to be laid in place;Separately have some regions such as subway station,
Airport, residential block etc., do not allow operator to build due to access, and the terminal of the user in these areas is caused to be only capable of using portion
Divide basic communication functions, for example only can be carried out signaling connection, SMS/telephone can be received and dispatched, but can not often surf the Internet;Such case
Under, since user can not surf the web information, a large amount of user is caused to complain to the operator or user's off-network.Not only shadow
The online experience of user is rung, and brings massive losses to operator.
In view of the above-mentioned problems, online is generally realized by way of network share at present.Specifically, main by sharing hand
The cipher gateway of machine connection.It is mounted with the user of specific application, can be shared by the password of other users and realize automatic connection
Network is simultaneously surfed the Internet.Such as the application of user installation wifi skeleton key, then the password of the gateway of successful connection can be reported automatically,
The password that his user can report according to it is surfed the Internet.
But in existing network share, the terminal for providing online is mainly home gateway, is typically mounted at residential quarter,
And has the shortcomings that not have locomotivity, uncontrollable to access terminal, cause user's online experience poor.
Summary of the invention
The embodiment of the present invention provides the method, apparatus, equipment and computer readable storage medium of a kind of network share, solves
Network is shared by home gateway in the prior art, does not have locomotivity, to the uncontrollable disadvantage of access terminal, causes to use
The poor technical problem of family online experience.
In a first aspect, the embodiment of the present invention provides a kind of network share method, applied to needing access terminals, comprising: Xiang Ji
The shared networking request of transmission of standing;The shared networking request includes: the first terminal mark for needing access terminals and the need
The first current geographical location information of access terminals, for the base station according to the first current geographical location information pre-
If shared terminal connection table in inquiry can use shared terminal networking ready message;Receive described the using of the base station transmission
The networking ready message of shared terminal;According to described target shared terminal can be determined with the networking ready message of shared terminal;It obtains
Take the shared network connecting mode and networking password of the target shared terminal;According to the shared network connecting mode of the target shared terminal
Network is accessed with networking password.
Further, method as described above, it is described to determine mesh with the networking ready message of shared terminal according to
Shared terminal is marked, is specifically included: obtaining the networking strategy for needing access terminals;The determining networking with the networking strategy matching
The corresponding available shared terminal of ready message is target shared terminal.
Further, method as described above, the shared network connecting mode and networking for obtaining the target shared terminal
Password specifically includes: the second terminal of target shared terminal mark is sent to the base station, for the base station according to
The shared network connecting mode and networking password of target shared terminal described in the shared internet connection acquisition of information of the target shared terminal;It connects
Receive the shared network connecting mode and networking password of the target shared terminal that the base station is sent.
Further, method as described above, the shared network connecting mode and networking according to the target shared terminal
Password accesses after network, further includes: Internet data request is sent to shared network server using VPN coded communication mode,
So that the shared network server obtains Internet data, and the shared internet connection data use information for needing access terminals is deposited
Shared internet connection is stored up to use in tables of data;Receive the Internet data that the shared network server is sent.
Second aspect, the embodiment of the present invention provide a kind of method of network share, are applied to base station, comprising: receive on needing
The first terminal mark and first geographical location information for needing access terminals current that network termination is sent;At preset shared end
Hold the networking ready message of inquiry and the current matched available shared terminal of the first geographical location information in connection table;To
The networking ready message for needing that shared terminal can be used described in access terminals transmission, needs access terminals can according to for described
Target shared terminal is determined with the networking ready message of shared terminal;Receive the target shared terminal for needing access terminals to send
Second terminal mark;The second terminal is inquired in the preset shared terminal connection table identifies the corresponding target
Shared network connecting mode and networking password in the shared internet connection information of shared terminal;By the shared networking of the target shared terminal
Mode and networking password, which are sent to, described needs access terminals.
The third aspect, the embodiment of the present invention provide a kind of method of network share, are applied to shared network server, packet
It includes: receiving the shared internet connection information that shared terminal is sent, the shared internet connection information includes: networking ready message, shared networking
Mode and networking password;It is determined according to the current second location information of the shared terminal in the networking ready message described total
Enjoy the base station near terminal;The shared internet connection information of the shared terminal is sent to the base station, so that the base station will be described
The shared internet connection information of shared terminal is stored into preset shared terminal connection table, and update can connect shared terminal table;To
The shared terminal sends shared networked services response.
Further, method as described above, the shared internet connection information that the shared terminal is sent to the base station,
So that the base station stores the shared internet connection information of the shared terminal into preset shared terminal connection table, and updating can
After connection shared terminal table, further includes: receive the Internet data for needing access terminals to send using VPN coded communication mode and ask
It asks;According to the Internet data request Internet data, the Internet data, which is sent to, described needs access terminals;According to institute
It states Internet data request and the Internet data counts the shared internet connection use information for needing access terminals;It needs to surf the Internet by described
The shared internet connection use information storage of terminal uses in tables of data to shared internet connection.
Fourth aspect, the embodiment of the present invention provide a kind of device of network share, comprising: sending module is used for base station
Send shared networking request;The shared networking request includes: in the first terminal mark and the need for needing access terminals
The first current geographical location information of network termination, so that the base station is being preset according to the first current geographical location information
Shared terminal connection table in inquiry can use shared terminal networking ready message;Receiving module, for receiving the base station hair
The networking ready message with shared terminal sent;Determining module, for the networking standard of shared terminal can be used according to
Standby information determines target shared terminal;Module is obtained, for obtaining the shared network connecting mode and networking of the target shared terminal
Password;Network module, for accessing network according to the shared network connecting mode and networking password of the target shared terminal.
Further, device as described above, the determining module, is specifically used for: obtaining the company for needing access terminals
Net strategy;Determine that available shared terminal corresponding with the networking networking ready message of strategy matching is target shared terminal.
Further, device as described above, the acquisition module, is specifically used for: by the of the target shared terminal
Two terminal iidentifications are sent to the base station, so that the base station is according to the shared internet connection acquisition of information institute of the target shared terminal
State the shared network connecting mode and networking password of target shared terminal;Receive being total to for the target shared terminal that the base station is sent
Enjoy network connecting mode and networking password.
Further, device as described above, the sending module, is also used to: using VPN coded communication mode to shared
Network server sends Internet data request, so that the shared network server obtains Internet data, and needs to surf the Internet by described
The shared internet connection data use information storage of terminal uses in tables of data to shared internet connection;The receiving module is also used to receive
The Internet data that the shared network server is sent.
5th aspect, the embodiment of the present invention provide a kind of device of network share, comprising: receiving module is needed for receiving
The first terminal mark and first geographical location information for needing access terminals current that access terminals are sent;Enquiry module is used
In the inquiry in preset shared terminal connection table and the current matched available shared terminal of the first geographical location information
Networking ready message;Sending module, for described needing that letter can be prepared with the networking of shared terminal described in access terminals transmission
Breath, needs access terminals that can determine target shared terminal with the networking ready message of shared terminal according to for described;It is described
Receiving module is also used to receive the second terminal mark of the target shared terminal for needing access terminals to send;The inquiry mould
It is shared eventually to be also used to inquire the corresponding target of the second terminal mark in the preset shared terminal connection table for block
Shared network connecting mode and networking password in the shared internet connection information at end;The sending module is also used to share the target
The shared network connecting mode of terminal and networking password, which are sent to, described needs access terminals.
6th aspect, the embodiment of the present invention provide a kind of device of network share, comprising: receiving module, for receiving altogether
The shared internet connection information of terminal transmission is enjoyed, the shared internet connection information includes: networking ready message, shared network connecting mode and networking
Password;Determining module, for determining institute according to the current second location information of the shared terminal in the networking ready message
State the base station near shared terminal;Sending module, for sending the shared internet connection information of the shared terminal to the base station, with
Store the base station shared internet connection information of the shared terminal into preset shared terminal connection table, and updates and can connect
Connect shared terminal table.The sending module is also used to send shared networked services response to the shared terminal.
Further, device as described above, further includes: statistical module and memory module;The receiving module, is also used to
The Internet data request for needing access terminals to send is received using VPN coded communication mode;The sending module is also used to according to institute
Internet data request Internet data is stated, the Internet data, which is sent to, described needs access terminals;The statistical module is used
According to the Internet data request and the Internet data count the shared internet connection use information for needing access terminals;It is described
Memory module, for using in tables of data the shared internet connection use information storage for needing access terminals to shared internet connection.
7th aspect, the embodiment of the present invention provide a kind of terminal device, comprising: one or more processors;Memory is used
In the one or more programs of storage;When one or more of programs are executed by one or more of processors, so that described
One or more processors realize such as the described in any item methods of first aspect.
Eighth aspect, the embodiment of the present invention provide a kind of base station, comprising: one or more processors;Memory, for depositing
Store up one or more programs;When one or more of programs are executed by one or more of processors, so that one
Or multiple processors realize the method as described in second aspect.
9th aspect, the embodiment of the present invention provide a kind of server, comprising: one or more processors;Memory is used for
Store one or more programs;When one or more of programs are executed by one or more of processors, so that described one
A or multiple processors realize such as the described in any item methods of the third aspect.
Tenth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The program is executed by processor the method as described in any one of first aspect.
Tenth on the one hand, and the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence, the program are executed by processor the method as described in second aspect.
12nd aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence, which is characterized in that the program is executed by processor the described in any item methods of the third aspect.
Method, apparatus, equipment and the computer readable storage medium of network share provided in an embodiment of the present invention, pass through to
Base station sends shared networking request;It is described it is shared networking request include: it is described need access terminals first terminal mark and it is described
The first geographical location information for needing access terminals current, so that the base station exists according to the first current geographical location information
Inquiry can use the networking ready message of shared terminal in preset shared terminal connection table;Receiving the described of base station transmission can
With the networking ready message of shared terminal;According to described target shared terminal can be determined with the networking ready message of shared terminal;
Obtain the shared network connecting mode and networking password of the target shared terminal;According to the shared networking side of the target shared terminal
Formula and networking password access network.Due to sharing network using shared terminal, shared terminal has mobility, and being capable of basis
It needs the selection of access terminals to make that access terminals is needed to share network, access terminal can be controlled, and then improve user's
Online experience.
It should be appreciated that content described in foregoing invention content part is not intended to limit the pass of the embodiment of the present invention
Key or important feature, the range being also not intended to limit the invention.Other feature of the invention will become to hold by description below
It is readily understood.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the method application scenario diagram of network share provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for the network share that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the method for network share provided by Embodiment 2 of the present invention;
Fig. 4 is the flow chart of the method for the network share that the embodiment of the present invention three provides;
Fig. 5 is the flow chart of the method for the network share that the embodiment of the present invention four provides;
Fig. 6 is the flow chart of the method for the network share that the embodiment of the present invention five provides;
Fig. 7 is the structural schematic diagram of the device for the network share that the embodiment of the present invention six provides;
Fig. 8 is the structural schematic diagram of the device for the network share that the embodiment of the present invention seven provides;
Fig. 9 is the structural schematic diagram of the device for the network share that the embodiment of the present invention eight provides;
Figure 10 is the structural schematic diagram of the device for the network share that the embodiment of the present invention nine provides;
Figure 11 is the structural schematic diagram for the terminal device that the embodiment of the present invention ten provides;
Figure 12 is the structural schematic diagram for the base station that the embodiment of the present invention 11 provides;
Figure 13 is the structural schematic diagram for the server that the embodiment of the present invention 12 provides.
Specific embodiment
Embodiment of the present invention will be described in more detail below with reference to accompanying drawings.Although being shown in attached drawing of the invention certain
Embodiment, it should be understood that, the present invention can be realized by various forms, and should not be construed as being limited to this
In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the present invention.It should be understood that
It is that being given for example only property of accompanying drawings and embodiments effect of the invention is not intended to limit protection scope of the present invention.
The specification and claims of the embodiment of the present invention and the term " first " in above-mentioned attached drawing, " second ", "
Three ", the (if present)s such as " 4th " are to be used to distinguish similar objects, without for describing specific sequence or successive time
Sequence.It should be understood that the data used in this way are interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein as can
The enough sequence implementation with other than those of illustrating or describe herein.In addition, term " includes " and " having " and they
Any deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, being
System, product or terminal those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or
For the intrinsic other step or units of these process, methods, product or terminal.
Fig. 1 is a kind of application scenario diagram of method of network share provided in an embodiment of the present invention, as shown in Figure 1, of the invention
In the method for the network share that embodiment provides, networking state is detected by shared terminal 1 first, if networking state is normal, is led to
It crosses VPN cipher mode and sends shared internet connection information to shared network server 2, wherein shared internet connection information includes: that networking prepares
Information shares network connecting mode and networking password.Wherein, networking ready message may include: the mark of shared terminal and authenticate close
Code.Shared gateway server checks whether shared terminal authenticates according to the mark and authentication password of shared terminal and passes through.If certification
Pass through, then current second geographical location in networking ready message reported according to it checks the base station 4 near it, and will be total to
It enjoys the shared internet connection information that terminal 1 reports to store into preset shared terminal connection table, while being notified by internet device 3
Neighbouring base station 4, which updates, can connect shared terminal table.Shared network server 2 sends shared networked services to shared terminal 1 and rings
It answers, notice shared terminal 1 can be serviced.Shared terminal 1 needs access terminals 5 by open other of definition of shared connection type
Connection.It needs access terminals 5 to check current network conditions, judges whether to can connect internet, if can not connect, to base station 4
Shared networking request is sent, request is surfed the Internet using the network of shared terminal, and base station 4 is by searching for preset shared terminal connection
Table, it is shared eventually by current first geographical location information and each of preset shared terminal connection table that need access terminals 5
The current second geographical location information determination at end is needing the available shared terminal near access terminals 5, and can use shared terminal
Networking ready message be sent to and need access terminals 5.Needing access terminals 5 will network the tactful networking with each available shared terminal
Ready message is matched, and the corresponding available shared terminal of the networking ready message that will match to is determined as target shared terminal.
Need access terminals 5 that the second terminal of target shared terminal mark is sent to base station 4, base station 4 is according to the of target shared terminal
Two terminal iidentifications obtain the shared internet connection information of target shared terminal, and shared network connecting mode and company are obtained from shared internet connection information
Net password.It needs access terminals 5 to receive the target shared terminal that base station 4 is sent and shares network connecting mode and networking password.It need to surf the Internet end
Network is accessed according to the shared network connecting mode and networking password of target shared terminal in end 5.Object is established with target shared terminal first
Layer connection is managed, then application layer VPN is established with target shared terminal and connect.After needing access terminals 5 to access network, with shared net
Network server 2 passes through VPN coded communication.Specifically, Internet data request is sent to shared network server 2, in Internet data
Included at least in request need the first terminal of access terminals 5 identify, the mark of the shared terminal that is connected, charging mode, currently
Time, online request address etc..Shared network server 2 access terminals are needed according to Internet data request needed for upper netting index
According to being sent to Internet data needs access terminals 5, and needs being total to for access terminals according to Internet data request and Internet data statistics
Online use information is enjoyed, is used needing the shared internet connection use information of access terminals to store to shared internet connection in tables of data.On need
Network termination 5 obtains the Internet data that shared network server 2 is fed back to, and shows in relevant client or browser.The behaviour
It persistently carries out, until disconnecting the physical connection with target shared terminal.The method of network share provided in this embodiment uses
Shared terminal shares network, and shared terminal has a mobility, and can be according to needing the selection of access terminals to make to need access terminals
Shared network, can control access terminal.Upper netting index is obtained from shared network server using VPN coded communication mode
According to the safety for needing the request data of access terminals can be protected, and can save needs access terminals using shared network online
Use data, can be to needing access terminals to carry out charging using shared network, and provide shared network clothes in shared terminal
Before business, it is authenticated, improves the safety of shared terminal, improves the online experience of user.
Embodiment one
Fig. 2 is the method flow diagram for the network share that the embodiment of the present invention one provides, as shown in Fig. 2, the present embodiment is held
Row main body is the device of network share, and the device of the network share is integrated in and needs on access terminals, network provided in this embodiment
Shared method is applied to need access terminals, and it can be smart phone, tablet computer, laptop, meter that this, which needs access terminals,
The terminals such as calculation machine, the then method of network share provided in this embodiment including the following steps:
Step 201, shared networking request is sent to base station;Shared networking request includes: the first terminal for needing access terminals
Identify and need the first geographical location information that access terminals are current, for base station according to the first geographical location information currently pre-
If shared terminal connection table in inquiry can use shared terminal networking ready message.
Specifically, in the present embodiment, detection needs access terminals current network conditions, if needing the current network of access terminals not
It can be carried out online, then send shared networking request to base station.After base station receives shared networking request, shared networking is requested
In current first geographical location information and all shared terminals in preset shared terminal connection table it is current second geographical
Location information compares, if the difference in current first geographical location and current second geographical location is in preset range, it is determined that
The shared terminal is that this needs the available shared terminal of access terminals, obtains the networking ready message that can use shared terminal.
Wherein, detection needs the method for the current network conditions of access terminals can be with are as follows: needs access terminals by base station to spy
Determine internet address to send ping instruction or detect current network conditions to the mode that specific internet obtains data.
It wherein, include: that the first terminal of access terminals is needed to identify and need access terminals current in shared networking request
First geographical location information.First terminal is identified as the mark for needing access terminals, and first terminal mark can be to need access terminals
Cell-phone number, IMEI number or other uniquely indicate that this needs the information of access terminals.The first current geographical location information can be
Need the current GPS location of access terminals.
It wherein, include the shared internet connection letter of each shared terminal near base station in preset shared terminal connection table
Breath, shared internet connection information may include: networking ready message, shared network connecting mode and networking password.Wherein, network ready message
Include: shared terminal second terminal mark, current second geographical location information of shared terminal, network of currently surfing the Internet, share
Network connecting mode, quality of connection, charging mode, charging unit price etc..
Wherein, currently online network is the network for connecting internet, can be WiFi, China Mobile/telecommunications/connection etc..
Quality of connection can be signal strength and/or connection speed.Charging mode can be to charge by flow or charged according to time etc..
Wherein, shared network connecting mode is the mode for needing access terminals to connect with shared terminal, such as can be bluetooth, WLAN
Deng.
Step 202, the networking ready message for the available shared terminal that base station is sent is received.
Specifically, in the present embodiment, pass through data SMS or Cell Broadcast CB etc. in the case where needing access terminals cannot get online
Signalling path and base station communication, so the available total of base station transmission can be received by signalling paths such as data SMS or Cell Broadcast CBs
Enjoy the networking ready message of terminal.
It wherein, can include: the second terminal mark of available shared terminal with the networking ready message of shared terminal, it can be with altogether
Current second geographical location information of terminal is enjoyed, network of currently surfing the Internet shares network connecting mode, quality of connection, charging mode, charging
Unit price etc..
Step 203, according to can determine target shared terminal with the networking ready message of shared terminal.
Specifically, in the present embodiment, the shared internet connection mode for needing access terminals to support can be checked, by the shared networking of support
Mode is compared with the shared network connecting mode in networking ready message, and it is corresponding available to obtain the networking ready message matched
Shared terminal be target shared terminal.
Or in the present embodiment, in advance by user or a customized networking strategy, will networking strategy with it is each available
The networking ready message of shared terminal is matched, will be corresponding available total with the networking ready message in networking strategy matching
It enjoys terminal and is determined as target shared terminal.
Wherein, networking is tactful without limitation.It such as can be to consider quality of connection in advance after shared network connecting mode matches
Excellent available shared terminal is target shared terminal.Or after shared network connecting mode matches, consider that charging is low in advance
It can be target shared terminal or other networking strategies with shared terminal.
Step 204, the shared network connecting mode and networking password of target shared terminal are obtained.
Specifically, in the present embodiment, store the shared internet connection information of target shared terminal in a base station, can by with base
The mode communicated of standing obtains shared network connecting mode and networking password in the shared internet connection information in target shared terminal.
Step 205, network is accessed according to the shared network connecting mode of target shared terminal and networking password.
Specifically, in the present embodiment, there is networking title in shared network connecting mode, the page in shared network connecting mode can be passed through
Input networking title and the mode for the password that networks access network in face.
The method of network share provided in this embodiment, by sending shared networking request to base station;Shared networking request
Include: the first geographical location information for needing the first terminal of access terminals to identify and need access terminals current, for base station according to
The first current geographical location information inquires the networking ready message that can use shared terminal in preset shared terminal connection table;
Receive the networking ready message for the available shared terminal that base station is sent;According to can determine mesh with the networking ready message of shared terminal
Mark shared terminal;Obtain the shared network connecting mode and networking password of target shared terminal;According to the shared company of target shared terminal
Net mode and networking password access network.Due to sharing network using shared terminal, shared terminal has mobility, and can
According to needing the selection of access terminals to make that access terminals is needed to share network, access terminal can be controlled, and then improve use
The online experience at family.
Embodiment two
Fig. 3 is the method for network share provided by Embodiment 2 of the present invention, the method for network share provided in this embodiment
It is on the basis of the method for the network share that the embodiment of the present invention one provides, to the further thin of step 203- step 205
Change, and the step of further comprising using shared network request packet.Then the method for network share provided in this embodiment includes
Following steps.
Step 301, shared networking request is sent to base station;Shared networking request includes: the first terminal for needing access terminals
Identify and need the first geographical location information that access terminals are current, for base station according to the first geographical location information currently pre-
If shared terminal connection table in inquiry can use shared terminal networking ready message.
Step 302, the networking ready message for the available shared terminal that base station is sent is received.
In the present embodiment, the network share that is provided in the implementation of step 301- step 302 and the embodiment of the present invention one
Method and step 201- step 202 implementation it is identical, this is no longer going to repeat them.
Step 303, the networking strategy for needing access terminals is obtained.
Further, in this embodiment presetting networking strategy in needing access terminals.It is defined in networking strategy every
The weight of a networking factor.Networking factor may include: shared network connecting mode, quality of connection, charging mode etc..Wherein, it shares
Network connecting mode weight is 1, i.e., the terminal for the need online that available shared terminal must be supported shares network connecting mode.Quality of connection and
The weight of charging mode can be between 0~1.
Step 304, determine that available shared terminal corresponding with the networking networking ready message of strategy matching is shared for target
Terminal.
Further, in this embodiment by networking strategy in each networking factor respectively with each available shared end
Correspondence networking factor in networking ready message in end carries out matching primitives, and according to the weight of each networking factor to matching
Degree is calculated, and obtaining the corresponding available shared terminal of the highest networking networking ready message of matching degree is target shared terminal.
Step 305, the second terminal mark of target shared terminal is sent to base station, so that base station is shared eventually according to target
The shared network connecting mode and networking password of the shared internet connection acquisition of information target shared terminal at end.
Step 306, the shared network connecting mode and networking password of the target shared terminal that base station is sent are received.
Further, in this embodiment step 305- step 306 be to the step 204 in the embodiment of the present invention one into
Step refining.
Specifically, in the present embodiment, the second terminal mark of target shared terminal is sent to base station.Base station is whole according to second
End mark searches the shared internet connection information of target shared terminal in preset shared terminal connection table.In shared internet connection information
Including shared network connecting mode and networking password.The shared network connecting mode of target shared terminal and networking password are sent to and need by base station
Access terminals.
Wherein, the terminal iidentification of target shared terminal is second terminal mark.The second terminal of target shared terminal identifies
It can be cell-phone number, IMEI number or other unique information for indicating target shared terminal.
It wherein, can also include the authentication password of shared terminal in shared networking information, whether to pacify to shared terminal
It is authenticated entirely.
Wherein, table 1 is preset shared terminal connection table, and sharing for a shared terminal is only illustrated in table 1
Net information.
Step 307, network is accessed according to the shared network connecting mode of target shared terminal and networking password.
Further, in this embodiment network is accessed according to the shared network connecting mode of target shared terminal and networking password,
It specifically includes:
Firstly, establishing physical layer according to the shared network connecting mode of target shared terminal and networking password and target shared terminal
Connection.
Secondly, establishing application layer according to the shared network connecting mode of target shared terminal and networking password and target shared terminal
VPN connection.
Table 1: preset shared terminal connection table
In the present embodiment, application layer VPN is established with target shared terminal and is connect, then passing through target shared terminal and sharing
VPN coded communication mode is used when network server is communicated, and is capable of the safety of effective protection online request and returned data.
Step 308, Internet data request is sent to shared network server using VPN coded communication mode, so that shared
Network server obtains Internet data, and the shared internet connection data of access terminals will be needed to use using data storage to shared internet connection
In tables of data.
Further, in this embodiment being sent out using VPN coded communication mode to shared network server by shared network
Serve network data request.It include: that the first terminal of access terminals is needed to identify in Internet data request, the of target shared terminal
Two terminal iidentifications, charging mode, request time, request address, etc. information.Shared network server receives Internet data request
Afterwards, Internet data is obtained, and shared internet connection data use information is counted according to Internet data request and Internet data.And it will share
The storage of Internet data use information uses in tables of data to shared internet connection.
Wherein, shared internet connection data use information may include: that the first terminal of access terminals is needed to identify, and target is shared eventually
The second terminal at end identifies, charging mode, request time, request address, the information such as Internet data amount.Table 2 makes for shared internet connection
Use tables of data.The online use information of primary online request is illustrated only in table 2.
Table 2: shared internet connection uses tables of data
Step 309, the Internet data that shared network server is sent is received.
Further, the Internet data that shared network server is sent is received, and Internet data is being needed into access terminals
It is shown on client or browser.
The method of network share provided in this embodiment, by sending shared networking request to base station;Shared networking request
Include: the first geographical location information for needing the first terminal of access terminals to identify and need access terminals current, for base station according to
The first current geographical location information inquires the networking ready message that can use shared terminal in preset shared terminal connection table,
The networking ready message for the available shared terminal that base station is sent is received, the networking strategy for needing access terminals is obtained, is determined and networking
The corresponding available shared terminal of the networking ready message of strategy matching is target shared terminal, eventually by the second of target shared terminal
End mark is sent to base station, so that base station is according to the shared of the shared internet connection acquisition of information target shared terminal of target shared terminal
Network connecting mode and networking password receive the shared network connecting mode and networking password of the target shared terminal that base station is sent, according to mesh
The shared network connecting mode and networking password for marking shared terminal access network, using VPN coded communication mode to shared network service
Device sends Internet data request, so that shared network server obtains Internet data, and the shared internet connection number that will need access terminals
According to using data storage to use in tables of data to shared internet connection, the Internet data that shared network server is sent is received.Due to adopting
Access terminals will be needed to communicate with shared network server with VPN cipher mode, so can protect needs the upper of access terminals
The safety of net request and returned data, and shared internet connection use information is saved in shared network server, it can be effective
To needing access terminals to carry out charging, the online experience of user is further improved.
Embodiment three
Fig. 4 is the flow chart of the method for the network share that the embodiment of the present invention three provides.As shown in figure 4, the present embodiment
Executing subject is the device of network share, and the device of the network share is integrated on base station, network share provided in this embodiment
Method be applied to base station, then the method for network share provided in this embodiment includes the following steps.
Step 401, the first geographical position for receiving the first terminal mark for needing access terminals to send and needing access terminals current
Confidence breath.
Wherein, first terminal is identified as the mark for needing access terminals, and first terminal mark can be the hand for needing access terminals
Machine number, IMEI number or other uniquely indicate that this needs the information of access terminals.The first current geographical location information can be to need
The current GPS location of network termination.
Step 402, inquired in preset shared terminal connection table with the first current geographical location information is matched can
With the networking ready message of shared terminal.
The shared internet connection information of all shared terminals near the base station is stored in preset shared terminal.Its
In, shared internet connection information may include: networking ready message, shared network connecting mode and networking password.Networking ready message include:
The second terminal of shared terminal identifies, current second geographical location information of shared terminal, network of currently surfing the Internet, and shares networking side
Formula, quality of connection, charging mode, charging unit price etc..
Specifically, in the present embodiment, base station by it is shared networking request in current first geographical location information with it is preset
Current second geographical location information of all shared terminals in shared terminal connection table compares, if the current first geographical position
The difference with current second geographical location is set in preset range, it is determined that the shared terminal is that this needs access terminals available shared
Terminal obtains the networking ready message that can use shared terminal.
Step 403, to need access terminals send can use shared terminal networking ready message, with supply and demand access terminals according to
Target shared terminal can be determined with the networking ready message of shared terminal.
Specifically, in the present embodiment, access terminals are needed by that can be sent to the networking ready message of shared terminal.It needs to surf the Internet
Terminal obtains the shared networking of target shared terminal according to that can determine target shared terminal with the networking ready message of shared terminal
Mode and networking password access network according to the shared network connecting mode of target shared terminal and networking password.
Step 404, the second terminal mark for the target shared terminal for needing access terminals to send is received.
Wherein, the terminal iidentification of target shared terminal is second terminal mark.The second terminal of target shared terminal identifies
It can be cell-phone number, IMEI number or other unique information for indicating target shared terminal.
Step 405, second terminal is inquired in preset shared terminal connection table identify corresponding target shared terminal
Shared network connecting mode and networking password in shared internet connection information.
Wherein, preset shared terminal connection table is as shown in table 1.Base station is identified according to second terminal at preset shared end
Hold the shared internet connection information that target shared terminal is searched in connection table.It include shared networking mode and company in shared internet connection information
Net password.
Step 406, the shared network connecting mode of the target shared terminal and networking password are sent to described need to surf the Internet end
End.
Specifically, it in the present embodiment, to the shared network connecting mode for needing access terminals transmission target shared terminal and networks close
Code needs access terminals that can be established first according to the shared network connecting mode and networking password and target shared terminal of target shared terminal
Then physical layer connection can be answered according to the shared network connecting mode and networking password of target shared terminal with the foundation of target shared terminal
With layer VPN connection.
The method of network share provided in this embodiment is identified and is needed by receiving the first terminal for needing access terminals to send
The first current geographical location information of access terminals;It is inquired in preset shared terminal connection table and the current first geographical position
Confidence ceases the networking ready message of matched available shared terminal;It can be prepared to needing access terminals to send with the networking of shared terminal
Information, with supply and demand access terminals according to that can determine target shared terminal with the networking ready message of shared terminal, reception needs to surf the Internet
The second terminal mark for the target shared terminal that terminal is sent, inquires second terminal mark in preset shared terminal connection table
Shared network connecting mode and networking password in the shared internet connection information of corresponding target shared terminal, by the target shared terminal
Shared network connecting mode and networking password be sent to and described need access terminals.Due to sharing network using shared terminal, share eventually
End has mobility, and can be according to needing the selection of access terminals to make that access terminals is needed to share network, can be to access terminal
It is controlled, and then improves the online experience of user.
Example IV
Fig. 5 is the flow chart of the method for the network share that the embodiment of the present invention four provides.As shown in figure 5, the present embodiment mentions
The executing subject of the method for the network share of confession is the device of network share, and the device of the network share can be integrated in shared network
In server.The method of network share provided in this embodiment is applied to shared network server.Then net provided in this embodiment
The shared method of network includes the following steps.
Step 501, receive shared terminal send shared internet connection information, shared internet connection information include: networking ready message,
Shared network connecting mode and networking password.
Specifically, in the present embodiment, shared terminal passes through application detection online connection status.If connection status of surfing the Internet is just
Often, then shared internet connection information is sent to shared network server by way of VPN coded communication.
Wherein, the method that shared terminal passes through application detection online connection status can be with are as follows: periodically from the specific interconnection of trend
Net address sends Ping instruction or the mode of acquisition specific data detects online connection status.
Wherein, the shared internet connection information of shared terminal include: the networking ready message of shared terminal, shared terminal it is shared
Network connecting mode and networking password.The networking ready message of shared terminal may include: the second terminal mark of shared terminal, share
Current second geographical location information of terminal, network of currently surfing the Internet share network connecting mode, quality of connection, charging mode, charging list
Valence etc..
Step 502, shared terminal is determined according to the current second location information of the shared terminal in networking ready message
Neighbouring base station.
Wherein, current second location information is the current location information of shared terminal.Current second location information can
Think the GPS location of shared terminal.
Specifically, in the present embodiment, the location information of the current second location information and base station of shared terminal is carried out
Comparison, if the difference of the position of the current second position and base station is less than preset threshold, it is determined that the base station is that shared terminal is attached
Close base station.
Step 503, the shared internet connection information of shared terminal is sent to base station, so that base station is by the shared internet connection of shared terminal
Information is stored into preset shared terminal connection table, and update can connect shared terminal table.
Specifically, in the present embodiment, base station receives the shared internet connection information of shared terminal, and sharing shared terminal
Net information is stored into preset shared terminal connection table.And it will be in the mark of base station and the shared internet connection information of shared terminal
Partial information storage is to can connect in shared terminal table.Wherein, table 3 is that can connect shared terminal table.It is only illustrated in table 3
Partial information in the shared internet connection information of one shared terminal.
Table 3: shared terminal table can be connected
Step 504, shared networked services response is sent to shared terminal.
Specifically, in the present embodiment, shared networked services response is sent to shared terminal, to notify that shared terminal can be into
The shared network service of row.
The method of network share provided in this embodiment, the shared internet connection information sent by receiving shared terminal, shares
Internet information includes: networking ready message, shared network connecting mode and networking password, according to the shared terminal in networking ready message
Current second location information determine the base station near shared terminal;The shared internet connection information of shared terminal is sent to base station,
So that base station stores the shared internet connection information of shared terminal into preset shared terminal connection table, and update can connect it is shared
Terminal table;Shared networked services response is sent to shared terminal.Due to sharing network using shared terminal, shared terminal has can
Mobility, and access terminal can be controlled according to needing the selection of access terminals to make that access terminals is needed to share network,
And then improve the online experience of user.
Embodiment five
Fig. 6 is the flow chart of the method for the network share that the embodiment of the present invention five provides.As shown in fig. 6, the present embodiment mentions
The method of the network share of confession is to further comprise on the basis of embodiment of the method four that inventive network is shared to shared terminal
The step of being authenticated, the Internet data that being received using VPN coded communication mode needs access terminals to send is requested, according to upper netting index
According to request Internet data, Internet data is sent to the step of needing access terminals, and according to Internet data request and on
Netting index needs the shared internet connection use information of access terminals according to statistics, and the shared internet connection use information for needing access terminals is stored to altogether
It enjoys online and uses the step in tables of data.Then the method for network share provided in this embodiment includes the following steps.
Step 601, receive shared terminal send shared internet connection information, shared internet connection information include: networking ready message,
Shared network connecting mode and networking password.
Further, in this embodiment shared internet connection information further includes authentication password.
Step 602, shared terminal is authenticated according to authentication password, judges whether that certification passes through, if so, executing step
Rapid 603, otherwise terminate.
Further, in this embodiment checking whether shared terminal is normal according to authentication password, if normal, then certification is logical
It crosses, then authenticates do not pass through if abnormal,.
Step 603, shared terminal is determined according to the current second location information of the shared terminal in networking ready message
Neighbouring base station.
Step 604, the shared internet connection information of shared terminal is sent to base station, so that base station is by the shared internet connection of shared terminal
Information is stored into preset shared terminal connection table, and update can connect shared terminal table.
Step 605, shared networked services response is sent to shared terminal.
In the present embodiment, step 502- step 504 in the implementation and the embodiment of the present invention four of step 603- step 605
Implementation it is identical, this is no longer going to repeat them.
Step 606, the Internet data that being received using VPN coded communication mode needs access terminals to send is requested.
Further, in this embodiment needing access terminals to send using the reception of VPN coded communication mode by shared network
Internet data request, include: that the first terminal of access terminals is needed to identify in Internet data request, the of target shared terminal
Two terminal iidentifications, charging mode, request time, the information such as request address.
Step 607, according to Internet data request Internet data, Internet data, which is sent to, needs access terminals.
Step 608, the shared internet connection use information of access terminals is needed according to Internet data request and Internet data statistics.
Step 609, the shared internet connection use information of access terminals will be needed to store to shared internet connection to use in tables of data.
It is illustrated in conjunction with step 608- step 609.Further, in this embodiment requesting to count according to Internet data
The first terminal for needing access terminals in the shared internet connection use information of access terminals is needed to identify, the second of target shared terminal is eventually
End mark, charging mode, request time, request address.Internet data amount is counted according to Internet data.Wherein table 2 is on shared
Net uses tables of data.
The method of network share provided in this embodiment, the shared internet connection information sent by receiving shared terminal, shares
Internet information includes: networking ready message, shared network connecting mode and networking password, is recognized according to authentication password shared terminal
Card determines shared terminal according to the current second location information of the shared terminal in networking ready message if certification passes through
Neighbouring base station sends the shared internet connection information of shared terminal to base station, so that base station is by the shared internet connection information of shared terminal
It stores in preset shared terminal connection table, and update can connect shared terminal table, sends shared networking clothes to shared terminal
Business response, the Internet data that being received using VPN coded communication mode needs access terminals to send are requested, and are obtained according to Internet data request
Internet data is taken, Internet data, which is sent to, needs access terminals, need to surf the Internet end according to Internet data request and Internet data statistics
The shared internet connection use information at end uses tables of data for needing the shared internet connection use information of access terminals to store to shared internet connection
In.It is not only due to access terminals will be needed to communicate with shared network server using VPN cipher mode, so can protect needs
The safety of the request data of access terminals, and shared internet connection use information, Neng Gouyou are saved in shared network server
Effect before shared terminal provides shared network service, authenticates shared terminal, protects to needing access terminals to carry out charging
The safety of shared terminal is demonstrate,proved.So further improving the online experience of user.
Embodiment six
Fig. 7 is the structural schematic diagram of the device for the network share that the embodiment of the present invention six provides.As shown in fig. 6, this implementation
The device for the network share that example provides includes: sending module 701, receiving module 702, determining module 703, obtain module 704 and
Network module 705.
Wherein, sending module 701, for sending shared networking request to base station;Shared networking request includes: that need to surf the Internet end
The first geographical location information that the first terminal at end identifies and need access terminals current, so that base station is geographical according to current first
Location information inquires the networking ready message that can use shared terminal in preset shared terminal connection table.Receiving module 702 is used
In the networking ready message for receiving the available shared terminal that base station is sent.Determining module 703 can use shared terminal for basis
Networking ready message determines target shared terminal.Obtain module 704, for obtain target shared terminal shared network connecting mode and
Network password.Network module 705, for accessing network according to the shared network connecting mode and networking password of target shared terminal.
The device of network share provided in this embodiment can execute the technical solution of embodiment of the method shown in Fig. 2, in fact
Existing principle is similar with technical effect, and details are not described herein again.
Further, in the device of network share provided in this embodiment, determining module 703 is specifically used for: obtaining on needing
The networking strategy of network termination;Determine that available shared terminal corresponding with the networking networking ready message of strategy matching is shared for target
Terminal.
Further, module 704 is obtained, is specifically used for: the second terminal mark of target shared terminal is sent to base station,
So that base station according to the shared network connecting mode of the shared internet connection acquisition of information target shared terminal of target shared terminal and networks close
Code;Receive the shared network connecting mode and networking password of the target shared terminal that base station is sent.
Further, sending module 701 are also used to: being sent using VPN coded communication mode to shared network server
Network data request so that shared network server obtains Internet data, and will need the shared internet connection data of access terminals to use letter
Breath storage uses in tables of data to shared internet connection;Receiving module is also used to receive the Internet data that shared network server is sent.
Further, the device of network share provided in this embodiment can execute the technology of embodiment of the method shown in Fig. 3
Scheme, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Embodiment seven
Fig. 8 is the structural schematic diagram of the device for the network share that the embodiment of the present invention seven provides, as shown in figure 8, this implementation
The device for the network share that example provides includes: receiving module 801, enquiry module 802, sending module 803.
Wherein, receiving module 801, for receiving the first terminal for needing access terminals to send mark and needing access terminals current
The first geographical location information.Enquiry module 802, for being inquired in preset shared terminal connection table and the first current ground
Manage the networking ready message of the matched available shared terminal of location information.Sending module 803, for need access terminals transmission can
With the networking ready message of shared terminal, with supply and demand access terminals according to can determine target with the networking ready message of shared terminal
Shared terminal.Receiving module 801 is also used to receive the second terminal mark for the target shared terminal for needing access terminals to send.It looks into
Module 802 is ask, is also used to inquire second terminal in preset shared terminal connection table identifying corresponding target shared terminal
Shared network connecting mode and networking password in shared internet connection information.Sending module 803 is also used to the shared of target shared terminal
Network connecting mode and networking password, which are sent to, needs access terminals.
The device of network share provided in this embodiment can execute the technical solution of embodiment of the method shown in Fig. 4, in fact
Existing principle is similar with technical effect, and details are not described herein again.
Embodiment eight
Fig. 9 is the structural schematic diagram of the device for the network share that the embodiment of the present invention eight provides, as shown in figure 9, this implementation
The device for the network share that example provides includes: receiving module 901, determining module 902, sending module 903.
Wherein, receiving module 901, for receiving the shared internet connection information of shared terminal transmission, shared internet connection information includes:
Network ready message, shared network connecting mode and networking password.Determining module 902, for according to shared in networking ready message
The current second location information of terminal determines the base station near shared terminal.Sending module 903, it is shared for being sent to base station
The shared internet connection information of terminal, so that base station stores the shared internet connection information of shared terminal to preset shared terminal connection table
In, and update can connect shared terminal table.Sending module 903 is also used to send shared networked services to the shared terminal and ring
It answers.
The device of network share provided in this embodiment can execute the technical solution of embodiment of the method shown in Fig. 5, in fact
Existing principle is similar with technical effect, and details are not described herein again.
Embodiment nine
Figure 10 is the structural schematic diagram of the device for the network share that the embodiment of the present invention nine provides, as shown in Figure 10, this reality
The device of the network share of example offer is applied on the basis of the device for the network share that the embodiment of the present invention eight provides, further includes:
Statistical module 1001 and memory module 1002.
Further, receiving module 901, being also used to receive using VPN coded communication mode needs the upper of access terminals transmission
Network data request.Sending module 903 is also used to according to Internet data request Internet data, and Internet data, which is sent to, to be needed
Access terminals.Statistical module 1001, for needing the shared internet connection of access terminals according to Internet data request and Internet data statistics
Use information.Memory module 1002 uses number for the shared internet connection use information of access terminals will to be needed to store to shared internet connection
According in table.
The device of network share provided in this embodiment can execute the technical solution of embodiment of the method shown in Fig. 6, in fact
Existing principle is similar with technical effect, and details are not described herein again.
Embodiment ten
Figure 11 is the structural schematic diagram for the terminal device that the embodiment of the present invention ten provides, and as shown in figure 11, the present embodiment mentions
The terminal device of confession, comprising: one or more processors 1101 and memory 1102.
Wherein, memory 1102, for storing one or more programs.When one or more programs are by one or more
Manage device 1101 execute so that one or more processors 1101 realize the embodiment of the present invention one provide network share method or
The method of network share provided by Embodiment 2 of the present invention.
Embodiment 11
Figure 12 is the structural schematic diagram for the base station that the embodiment of the present invention 11 provides, as shown in figure 12, the present embodiment provides
Terminal device, comprising: one or more processors 1201 and memory 1202.
Wherein, memory 1202, for storing one or more programs.When one or more programs are by one or more
It manages device 1201 to execute, so that the method that one or more processors 1201 realize the network share that the embodiment of the present invention three provides.
Embodiment 12
Figure 13 is the structural schematic diagram for the server that the embodiment of the present invention 12 provides, and as shown in figure 13, the present embodiment mentions
The terminal device of confession, comprising: one or more processors 1301 and memory 1302.
Wherein, memory 1302, for storing one or more programs.When one or more programs are by one or more
Manage device 1301 execute so that one or more processors 1301 realize the embodiment of the present invention four provide network share method or
The method for the network share that the embodiment of the present invention five provides.
Embodiment 13
The embodiment of the present invention 13 provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Sequence is executed by processor the method for the network share of the offer of the embodiment of the present invention one or network provided by Embodiment 2 of the present invention is total to
The method enjoyed.
Embodiment 14
The embodiment of the present invention 14 provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The method that sequence is executed by processor the network share of the offer of the embodiment of the present invention three.
Embodiment 15
The embodiment of the present invention 15 provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The network that sequence is executed by processor the method for the network share of the offer of the embodiment of the present invention four or the embodiment of the present invention five provides is total
The method enjoyed.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple module or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or module
It connects, can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module
Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks
In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
The program code of method for carrying out the present invention can using any combination of one or more programming languages come
It writes.These program codes can be supplied to the place of general purpose computer, special purpose computer or other programmable data processing units
Device or controller are managed, so that program code makes defined in flowchart and or block diagram when by processor or controller execution
Function/operation is carried out.Program code can be executed completely on machine, partly be executed on machine, as stand alone software
Is executed on machine and partly execute or executed on remote machine or server completely on the remote machine to packet portion.
In the context of the present invention, machine readable media can be tangible medium, may include or is stored for
The program that instruction execution system, device or terminal are used or be used in combination with instruction execution system, device or terminal.Machine can
Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity
Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or terminal or above content any conjunction
Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter
Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM
Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage terminal, magnetic storage terminal or
Any appropriate combination of above content.
Although this should be understood as requiring operating in this way with shown in addition, depicting each operation using certain order
Certain order out executes in sequential order, or requires the operation of all diagrams that should be performed to obtain desired result.
Under certain environment, multitask and parallel processing be may be advantageous.Similarly, although containing several tools in being discussed above
Body realizes details, but these are not construed as the limitation to the scope of the present disclosure.In the context of individual embodiment
Described in certain features can also realize in combination in single realize.On the contrary, in the described in the text up and down individually realized
Various features can also realize individually or in any suitable subcombination in multiple realizations.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer
When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary,
Special characteristic described in face and movement are only to realize the exemplary forms of claims.
Claims (10)
1. a kind of method of network share, applied to needing access terminals characterized by comprising
Shared networking request is sent to base station;The shared networking request includes: that the first terminal for needing access terminals identifies
The first geographical location information of access terminals currently is needed with described, so that the base station is according to the first current geographical location
Information inquires the networking ready message that can use shared terminal in preset shared terminal connection table;
Receive the networking ready message with shared terminal that the base station is sent;
According to described target shared terminal can be determined with the networking ready message of shared terminal;
Obtain the shared network connecting mode and networking password of the target shared terminal;
Network is accessed according to the shared network connecting mode of the target shared terminal and networking password.
2. the method according to claim 1, wherein described can prepare letter with the networking of shared terminal according to
It ceases and determines target shared terminal, specifically include:
Obtain the networking strategy for needing access terminals;
Determine that available shared terminal corresponding with the networking networking ready message of strategy matching is target shared terminal;
The shared network connecting mode for obtaining the target shared terminal and networking password, specifically include:
The second terminal mark of the target shared terminal is sent to the base station, so that the base station is total according to the target
Enjoy the shared network connecting mode and networking password of target shared terminal described in the shared internet connection acquisition of information of terminal;
Receive the shared network connecting mode and networking password of the target shared terminal that the base station is sent;
After the shared network connecting mode according to the target shared terminal and networking password access network, further includes:
Internet data request is sent to shared network server using VPN coded communication mode, so that the shared network service
Device obtains Internet data, and the shared internet connection data use information storage for needing access terminals is used data to shared internet connection
In table;
Receive the Internet data that the shared network server is sent.
3. a kind of method of network share is applied to shared network server characterized by comprising
The shared internet connection information that shared terminal is sent is received, the shared internet connection information includes: networking ready message, shared networking
Mode and networking password;
It is determined near the shared terminal according to the current second location information of the shared terminal in the networking ready message
Base station;
The shared internet connection information of the shared terminal is sent to the base station, so that the base station sharing the shared terminal
Internet information is stored into preset shared terminal connection table, and update can connect shared terminal table;
Shared networked services response is sent to the shared terminal.
4. according to the method described in claim 3, it is characterized in that, described send the shared of the shared terminal to the base station
Internet information, so that the base station stores the shared internet connection information of the shared terminal to preset shared terminal connection table
In, and after updating and can connecting shared terminal table, further includes:
The Internet data request for needing access terminals to send is received using VPN coded communication mode;
According to the Internet data request Internet data, the Internet data, which is sent to, described needs access terminals;
The shared internet connection use information for needing access terminals is counted according to Internet data request and the Internet data;
The shared internet connection use information storage for needing access terminals is used in tables of data to shared internet connection.
5. a kind of device of network share characterized by comprising
Sending module, for sending shared networking request to base station;The shared networking request includes: described to need access terminals
First terminal mark and first geographical location information for needing access terminals current, so that the base station is according to described current
First geographical location information inquires the networking ready message that can use shared terminal in preset shared terminal connection table;
Receiving module, for receiving the networking ready message that can use shared terminal described in the base station transmission;
Determining module, for that can determine target shared terminal with the networking ready message of shared terminal according to;
Module is obtained, for obtaining the shared network connecting mode and networking password of the target shared terminal;
Network module, for accessing network according to the shared network connecting mode and networking password of the target shared terminal.
6. a kind of device of network share characterized by comprising
Receiving module, for receiving the shared internet connection information of shared terminal transmission, the shared internet connection information includes: that networking prepares
Information, shared network connecting mode and networking password;
Determining module, for described in the current second location information determination according to the shared terminal in the networking ready message
Base station near shared terminal;
Sending module, for sending the shared internet connection information of the shared terminal to the base station, so that the base station will be described
The shared internet connection information of shared terminal is stored into preset shared terminal connection table, and update can connect shared terminal table;
The sending module is also used to send shared networked services response to the shared terminal.
7. a kind of terminal device characterized by comprising one or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
It is existing method according to claim 1 or 2.
8. a kind of server characterized by comprising one or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Existing the method as claimed in claim 3 or 4.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
Row is method according to claim 1 or 2.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Execute the method as claimed in claim 3 or 4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110206003.0A CN112995895B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, terminal and computer readable storage medium |
CN201910016811.3A CN109618392B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910016811.3A CN109618392B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, equipment and computer readable storage medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110206003.0A Division CN112995895B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109618392A true CN109618392A (en) | 2019-04-12 |
CN109618392B CN109618392B (en) | 2021-06-29 |
Family
ID=66016846
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910016811.3A Active CN109618392B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, equipment and computer readable storage medium |
CN202110206003.0A Active CN112995895B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, terminal and computer readable storage medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110206003.0A Active CN112995895B (en) | 2019-01-08 | 2019-01-08 | Network sharing method, device, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN109618392B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677926A (en) * | 2019-09-27 | 2020-01-10 | Tcl移动通信科技(宁波)有限公司 | Connection method, device, storage medium and server of mobile communication network |
CN111314979A (en) * | 2020-02-18 | 2020-06-19 | Oppo广东移动通信有限公司 | Network control method, first terminal and storage medium |
CN113242261A (en) * | 2021-06-10 | 2021-08-10 | Oppo广东移动通信有限公司 | Method and device for sharing data network, electronic equipment and storage medium |
CN113543175A (en) * | 2021-07-02 | 2021-10-22 | 维沃软件技术有限公司 | Networking method, device, equipment and medium |
CN113596712A (en) * | 2021-07-16 | 2021-11-02 | Oppo广东移动通信有限公司 | Network connection method and device, terminal equipment, server and storage medium |
CN113630834A (en) * | 2021-09-14 | 2021-11-09 | 中国联合网络通信集团有限公司 | Network sharing system, network switching method, user equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103889029A (en) * | 2014-03-24 | 2014-06-25 | 深圳市云猫信息技术有限公司 | Network hotspot sharing method, client side, sharing side and management server |
US20170367094A1 (en) * | 2016-06-21 | 2017-12-21 | At&T Mobility Ii Llc | Method and apparatus for distributing content via a wireless communication network |
CN108370535A (en) * | 2017-10-20 | 2018-08-03 | 北京小米移动软件有限公司 | Cut-in method, device, user equipment and base station |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9479890B2 (en) * | 2012-07-31 | 2016-10-25 | Michael Lu | Open wireless architecture (OWA) mobile cloud infrastructure and method |
CN102869073A (en) * | 2012-09-14 | 2013-01-09 | 中兴通讯股份有限公司 | Method for processing wireless hotspot information and method for automatically accessing wireless hotspot |
CN103475996B (en) * | 2013-08-19 | 2017-06-16 | 小米科技有限责任公司 | Method for connecting network, network share method and device |
CN107949036A (en) * | 2016-10-12 | 2018-04-20 | 中国移动通信有限公司研究院 | A kind of sharing method, the network equipment, terminal device and system |
-
2019
- 2019-01-08 CN CN201910016811.3A patent/CN109618392B/en active Active
- 2019-01-08 CN CN202110206003.0A patent/CN112995895B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103889029A (en) * | 2014-03-24 | 2014-06-25 | 深圳市云猫信息技术有限公司 | Network hotspot sharing method, client side, sharing side and management server |
US20170367094A1 (en) * | 2016-06-21 | 2017-12-21 | At&T Mobility Ii Llc | Method and apparatus for distributing content via a wireless communication network |
CN108370535A (en) * | 2017-10-20 | 2018-08-03 | 北京小米移动软件有限公司 | Cut-in method, device, user equipment and base station |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677926A (en) * | 2019-09-27 | 2020-01-10 | Tcl移动通信科技(宁波)有限公司 | Connection method, device, storage medium and server of mobile communication network |
CN111314979A (en) * | 2020-02-18 | 2020-06-19 | Oppo广东移动通信有限公司 | Network control method, first terminal and storage medium |
CN111314979B (en) * | 2020-02-18 | 2022-05-03 | Oppo广东移动通信有限公司 | Network control method, first terminal and storage medium |
CN113242261A (en) * | 2021-06-10 | 2021-08-10 | Oppo广东移动通信有限公司 | Method and device for sharing data network, electronic equipment and storage medium |
CN113543175A (en) * | 2021-07-02 | 2021-10-22 | 维沃软件技术有限公司 | Networking method, device, equipment and medium |
CN113596712A (en) * | 2021-07-16 | 2021-11-02 | Oppo广东移动通信有限公司 | Network connection method and device, terminal equipment, server and storage medium |
CN113596712B (en) * | 2021-07-16 | 2024-06-07 | Oppo广东移动通信有限公司 | Network connection method and device, terminal equipment, server and storage medium |
CN113630834A (en) * | 2021-09-14 | 2021-11-09 | 中国联合网络通信集团有限公司 | Network sharing system, network switching method, user equipment and storage medium |
CN113630834B (en) * | 2021-09-14 | 2023-05-30 | 中国联合网络通信集团有限公司 | Network sharing system, network switching method, user equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112995895B (en) | 2023-02-28 |
CN112995895A (en) | 2021-06-18 |
CN109618392B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618392A (en) | Method, apparatus, equipment and the computer readable storage medium of network share | |
CN103493518B (en) | Message processing device, communication system and information processing method | |
CN101360276A (en) | Community login method, community identity system and identity interconnecting server | |
CN106171019B (en) | Determine the method, apparatus, terminal and server of terminal roaming status | |
CN104081803A (en) | Mobile communication device tracing | |
CN106684937A (en) | Charging control method, device and system based on mobile charging device | |
CN105431881A (en) | Distributed locker service system, and control method therefor | |
CN101510793A (en) | Method for implementing a plurality of Bluetooth device networking through Bluetooth server, software program and server | |
CN101551922A (en) | A method and system for remotely fetching number | |
CN105847509A (en) | Mobile terminal, and method and device for adding and sharing contact persons | |
CN105554845B (en) | A kind of method of access, router and terminal | |
CN106303031A (en) | The processing method of a kind of terminal, system and terminal | |
CN101272523A (en) | Mobile inquiry system and method thereof | |
CN101790254B (en) | Mobile phone terminal and system for supporting group communication and method thereof | |
CN106304030A (en) | A kind of means of communication based on virtual identity information, Apparatus and system | |
CN104581728A (en) | Mobile terminal access control method and server | |
CN103327442B (en) | Method, server and the system of content information are obtained based on geographical location | |
CN104980458B (en) | Data processing method, intermediate server and system | |
CN106161431A (en) | Call method for building up and system | |
CN110493246A (en) | Wireless network connecting method, device, electronic equipment and medium | |
CN110493886A (en) | Wireless network connecting method, device, electronic equipment and medium | |
CN110034941A (en) | The method and system specific to the message group of equipment is added | |
CN104219737A (en) | System and method for implementing networking transfer service | |
CN105592414B (en) | A kind of information processing method and the first electronic equipment | |
CN103259881A (en) | System and method for stagnation storage protection of attribution service access address |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |