Movatterモバイル変換


[0]ホーム

URL:


CN112995895A - Network sharing method, device, terminal and computer readable storage medium - Google Patents

Network sharing method, device, terminal and computer readable storage medium
Download PDF

Info

Publication number
CN112995895A
CN112995895ACN202110206003.0ACN202110206003ACN112995895ACN 112995895 ACN112995895 ACN 112995895ACN 202110206003 ACN202110206003 ACN 202110206003ACN 112995895 ACN112995895 ACN 112995895A
Authority
CN
China
Prior art keywords
terminal
shared
internet
networking
sharing
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
Application number
CN202110206003.0A
Other languages
Chinese (zh)
Other versions
CN112995895B (en
Inventor
陈蛟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co LtdfiledCriticalChina United Network Communications Group Co Ltd
Priority to CN202110206003.0ApriorityCriticalpatent/CN112995895B/en
Publication of CN112995895ApublicationCriticalpatent/CN112995895A/en
Application grantedgrantedCritical
Publication of CN112995895BpublicationCriticalpatent/CN112995895B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention provides a network sharing method, a device, a terminal and a computer readable storage medium, wherein the method comprises the following steps: sending a shared networking request to a base station; the shared networking request includes: a first terminal identifier of a terminal needing to surf the internet and current first geographical position information of the terminal needing to surf the internet are provided for a base station to inquire networking preparation information of an available shared terminal in a preset shared terminal connection table according to the current first geographical position information; receiving networking preparation information of available shared terminals sent by a base station; determining a target shared terminal according to the networking preparation information of the available shared terminals; acquiring a sharing networking mode and a networking password of a target sharing terminal; and accessing the network according to the sharing networking mode and the networking password of the target sharing terminal. The sharing terminal is adopted to share the network, the sharing terminal has mobility, the terminals needing to surf the internet can share the network according to the selection of the terminals needing to surf the internet, the access terminal can be controlled, and the internet experience of a user is improved.

Description

Network sharing method, device, terminal and computer readable storage medium
The application is a divisional application of a Chinese patent application with the name of 'network sharing method, device, terminal and computer readable storage medium' filed by the Chinese patent office with the application number of 201910016811.3 on 08.01.2019.
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a network sharing method, a network sharing device, a network sharing terminal and a computer readable storage medium.
Background
With the rapid development of communication technology, the deployment of new networks such as 4G and 5G networks becomes popular, and with the gradual frequency reduction and resignation of 2G/3G networks of operators. However, due to the complex network deployment conditions of operators, such as the limitation of 2G/3G frequency reduction, base station admission system, etc., new networks in many areas cannot be laid in place; in other areas, such as subway stations, airports, residential areas, etc., the operator is not allowed to build due to the access reason, so that the terminals of users in these areas can only use part of basic communication functions, for example, only can carry out signaling connection, can receive and send short messages/calls, but often cannot surf the internet; in this case, the user cannot surf the internet to browse information, which causes a large number of complaints to the operator or user offline. Not only the internet experience of the user is influenced, but also huge loss is brought to the operator.
For the above problems, internet access is generally achieved through a network sharing mode at present. Specifically, the gateway password for mobile phone connection is mainly shared. The user with the specific application can automatically connect with the network and surf the internet by sharing the passwords of other users. If the user installs the application of the wifi master key, the password of the gateway which is successfully connected can be automatically reported, and other users can surf the internet according to the reported password.
However, in the existing network sharing, the terminal providing internet access is mainly a home gateway, and is generally installed in a residential area, and has the disadvantages of no mobility and uncontrollable access to the terminal, which results in poor user internet access experience.
Disclosure of Invention
Embodiments of the present invention provide a network sharing method, an apparatus, a terminal, and a computer-readable storage medium, which solve the technical problem in the prior art that a user experiences poor internet access due to the fact that a home gateway shares a network, and the home gateway does not have mobility and is uncontrollable for accessing the terminal.
In a first aspect, an embodiment of the present invention provides a network sharing method, applied to a terminal needing to surf the internet, including: sending a shared networking request to a base station; the shared networking request comprises: the base station searches the networking preparation information of the available shared terminal in a preset shared terminal connection table according to the current first geographical position information; receiving networking preparation information of the available shared terminals sent by the base station; determining a target shared terminal according to the networking preparation information of the available shared terminal; acquiring a sharing networking mode and a networking password of the target sharing terminal; and accessing the network according to the sharing networking mode and the networking password of the target sharing terminal.
Further, the method for determining a target shared terminal according to the networking preparation information of the available shared terminals specifically includes: acquiring a networking strategy of the terminal needing to surf the internet; and determining the available shared terminal corresponding to the networking preparation information matched with the networking strategy as a target shared terminal.
Further, the method for acquiring the sharing networking mode and the networking password of the target sharing terminal specifically includes: sending the second terminal identification of the target sharing terminal to the base station, so that the base station can obtain the sharing networking mode and the networking password of the target sharing terminal according to the sharing networking information of the target sharing terminal; and receiving the sharing networking mode and the networking password of the target sharing terminal sent by the base station.
Further, the method as described above, after accessing the network according to the sharing networking mode and the networking password of the target sharing terminal, further includes: sending an internet surfing data request to a shared network server by adopting a VPN encryption communication mode so that the shared network server acquires internet surfing data and stores shared internet surfing data use information of the terminal needing internet surfing into a shared internet surfing use data table; and receiving the internet surfing data sent by the shared network server.
In a second aspect, an embodiment of the present invention provides a network sharing method, applied to a base station, including: receiving a first terminal identification sent by a terminal needing to surf the internet and current first geographical position information of the terminal needing to surf the internet; inquiring networking preparation information of the available sharing terminals matched with the current first geographical position information in a preset sharing terminal connection table; sending networking preparation information of the available sharing terminal to the terminal needing to surf the internet, so that the terminal needing to surf the internet determines a target sharing terminal according to the networking preparation information of the available sharing terminal; receiving a second terminal identification of the target sharing terminal sent by the terminal needing to surf the internet; inquiring a sharing networking mode and a networking password in the sharing internet surfing information of the target sharing terminal corresponding to the second terminal identification in the preset sharing terminal connection table; and sending the sharing networking mode and the networking password of the target sharing terminal to the terminal needing to surf the internet.
In a third aspect, an embodiment of the present invention provides a method for network sharing, which is applied to a shared network server, and includes: receiving shared internet access information sent by a shared terminal, wherein the shared internet access information comprises: networking preparation information, a shared networking mode and a networking password; determining a base station near the shared terminal according to the current second position information of the shared terminal in the networking preparation information; sending the shared internet access information of the shared terminal to the base station, so that the base station stores the shared internet access information of the shared terminal into a preset shared terminal connection table and updates a connectable shared terminal table; and sending a shared networking service response to the shared terminal.
Further, the method as described above, after sending the shared internet access information of the shared terminal to the base station to enable the base station to store the shared internet access information of the shared terminal in a preset shared terminal connection table and update a connectable shared terminal table, the method further includes: receiving an internet surfing data request sent by a terminal needing to surf the internet by adopting a VPN encryption communication mode; acquiring internet surfing data according to the internet surfing data request, and sending the internet surfing data to the terminal needing internet surfing; counting the shared internet access use information of the terminal needing internet access according to the internet access data request and the internet access data; and storing the shared internet access use information of the terminal needing to be connected to the internet into a shared internet access use data table.
In a fourth aspect, an embodiment of the present invention provides a network sharing apparatus, including: a sending module, configured to send a shared networking request to a base station; the shared networking request comprises: the base station searches the networking preparation information of the available shared terminal in a preset shared terminal connection table according to the current first geographical position information; a receiving module, configured to receive networking preparation information of the available shared terminal sent by the base station; a determining module, configured to determine a target shared terminal according to the networking preparation information of the available shared terminals; the acquisition module is used for acquiring the sharing networking mode and the networking password of the target sharing terminal; and the networking module is used for accessing the network according to the sharing networking mode and the networking password of the target sharing terminal.
Further, in the apparatus described above, the determining module is specifically configured to: acquiring a networking strategy of the terminal needing to surf the internet; and determining the available shared terminal corresponding to the networking preparation information matched with the networking strategy as a target shared terminal.
Further, in the apparatus described above, the obtaining module is specifically configured to: sending the second terminal identification of the target sharing terminal to the base station, so that the base station can obtain the sharing networking mode and the networking password of the target sharing terminal according to the sharing networking information of the target sharing terminal; and receiving the sharing networking mode and the networking password of the target sharing terminal sent by the base station.
Further, in the apparatus as described above, the sending module is further configured to: sending an internet surfing data request to a shared network server by adopting a VPN encryption communication mode so that the shared network server acquires internet surfing data and stores shared internet surfing data use information of the terminal needing internet surfing into a shared internet surfing use data table; the receiving module is further configured to receive internet surfing data sent by the shared network server.
In a fifth aspect, an embodiment of the present invention provides a network sharing apparatus, including: the receiving module is used for receiving a first terminal identifier sent by a terminal needing to surf the internet and current first geographical position information of the terminal needing to surf the internet; the inquiry module is used for inquiring the networking preparation information of the available shared terminal matched with the current first geographical position information in a preset shared terminal connection table; the sending module is used for sending networking preparation information of the available sharing terminal to the terminal needing to surf the internet so that the terminal needing to surf the internet can determine a target sharing terminal according to the networking preparation information of the available sharing terminal; the receiving module is further configured to receive a second terminal identifier of the target shared terminal sent by the terminal needing to surf the internet; the query module is further configured to query, in the preset shared terminal connection table, a shared networking mode and a networking password in the shared networking information of the target shared terminal corresponding to the second terminal identifier; the sending module is further configured to send the shared networking mode and the networking password of the target shared terminal to the terminal needing to surf the internet.
In a sixth aspect, an embodiment of the present invention provides a network sharing apparatus, including: a receiving module, configured to receive shared internet access information sent by a shared terminal, where the shared internet access information includes: networking preparation information, a shared networking mode and a networking password; a determining module, configured to determine, according to the current second location information of the shared terminal in the networking preparation information, a base station near the shared terminal; and the sending module is used for sending the shared internet surfing information of the shared terminal to the base station so that the base station stores the shared internet surfing information of the shared terminal into a preset shared terminal connection table and updates the connectable shared terminal table. The sending module is further configured to send a shared networking service response to the shared terminal.
Further, the apparatus as described above, further comprising: a counting module and a storage module; the receiving module is also used for receiving an internet surfing data request sent by the terminal needing to surf the internet by adopting a VPN encryption communication mode; the sending module is further configured to obtain internet surfing data according to the internet surfing data request and send the internet surfing data to the terminal needing internet surfing; the statistical module is used for counting the shared internet access use information of the terminal needing internet access according to the internet access data request and the internet access data; the storage module is used for storing the shared internet access use information of the terminal needing internet access into a shared internet access use data table.
In a seventh aspect, an embodiment of the present invention provides a terminal device, including: one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a method as claimed in any one of the first aspects.
In an eighth aspect, an embodiment of the present invention provides a base station, including: one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a method as described in the second aspect.
In a ninth aspect, an embodiment of the present invention provides a server, including: one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the method of any one of the third aspects.
In a tenth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the program being executed by a processor to perform the method according to any one of the first aspect.
In an eleventh aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the method according to the second aspect.
In a twelfth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the method of any one of the third aspects.
The network sharing method, the device, the terminal and the computer readable storage medium provided by the embodiment of the invention send a sharing networking request to the base station; the shared networking request comprises: the base station searches the networking preparation information of the available shared terminal in a preset shared terminal connection table according to the current first geographical position information; receiving networking preparation information of the available shared terminals sent by the base station; determining a target shared terminal according to the networking preparation information of the available shared terminal; acquiring a sharing networking mode and a networking password of the target sharing terminal; and accessing the network according to the sharing networking mode and the networking password of the target sharing terminal. The sharing terminal is adopted to share the network, the sharing terminal has mobility, the terminals needing to surf the internet can share the network according to the selection of the terminals needing to surf the internet, the access terminal can be controlled, and the internet experience of a user is improved.
It should be understood that what is described in the summary above is not intended to limit key or critical features of embodiments of the invention, nor is it intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a diagram of an application scenario of a network sharing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a network sharing method according to an embodiment of the present invention;
fig. 3 is a flowchart of a network sharing method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a network sharing method according to a third embodiment of the present invention;
fig. 5 is a flowchart of a network sharing method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart of a network sharing method according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a network sharing apparatus according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a network sharing apparatus according to a seventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of a network sharing apparatus according to an eighth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a network sharing apparatus according to a ninth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal device according to a tenth embodiment of the present invention;
fig. 12 is a schematic structural diagram of a base station according to an eleventh embodiment of the present invention;
fig. 13 is a schematic structural diagram of a server according to a twelfth embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or terminal that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or terminal.
Fig. 1 is an application scenario diagram of a network sharing method according to an embodiment of the present invention, as shown in fig. 1, in the network sharing method according to the embodiment of the present invention, a sharedterminal 1 detects a networking state, and sends shared internet access information to a sharednetwork server 2 in a VPN encryption manner if the networking state is normal, where the shared internet access information includes: networking preparation information, sharing networking modes and networking passwords. The networking preparation information may include, among other things: and sharing the identification and the authentication password of the terminal. And the shared networking server checks whether the shared terminal passes the authentication according to the identification and the authentication password of the shared terminal. If the authentication is passed, the base station 4 nearby is checked according to the current second geographic position in the networking preparation information reported by the base station, the shared internet information reported by the sharedterminal 1 is stored in a preset shared terminal connection table, and meanwhile, the base station 4 nearby is informed to update the connectable shared terminal table through theinternet equipment 3. The sharednetwork server 2 transmits a shared networking service response to the sharedterminal 1, notifying the sharedterminal 1 that the service can be performed. The sharedterminal 1 opensother terminals 5 which need to surf the internet according to the definition of the shared connection mode. Theterminal 5 needing to surf the internet checks the current network condition, judges whether the internet can be connected, if the connection cannot be performed, a shared networking request is sent to the base station 4, the network surfing of the shared terminal is requested, the base station 4 determines available shared terminals near theterminal 5 needing to surf the internet through searching a preset shared terminal connection table, the current first geographic position information of theterminal 5 needing to surf the internet and the current second geographic position information of each shared terminal in the preset shared terminal connection table, and networking preparation information of the available shared terminals is sent to theterminal 5 needing to surf the internet. Theterminal 5 needing to surf the internet matches the networking strategy with the networking preparation information of each available shared terminal, and determines the available shared terminal corresponding to the matched networking preparation information as the target shared terminal. Theterminal 5 needing to access the internet sends the second terminal identification of the target sharing terminal to the base station 4, and the base station 4 obtains the shared internet information of the target sharing terminal according to the second terminal identification of the target sharing terminal and obtains the shared networking mode and the networking password from the shared internet information. And theterminal 5 needing to surf the internet receives the target shared terminal shared networking mode and the networking password sent by the base station 4. And theterminal 5 needing to surf the internet accesses the network according to the sharing networking mode and the networking password of the target sharing terminal. Firstly, physical layer connection is established with a target sharing terminal, and then application layer VPN connection is established with the target sharing terminal. After theterminal 5 to be networked accesses the network, encrypted communication is performed with the sharednetwork server 2 through VPN. Specifically, an internet data request is sent to the sharednetwork server 2, where the internet data request at least includes a first terminal identifier of theterminal 5 to be connected to the internet, an identifier of the connected shared terminal, a charging mode, a current time, an internet request address, and the like. The sharednetwork server 2 acquires the internet surfing data required by the terminal needing internet surfing according to the internet surfing data request, sends the internet surfing data to theterminal 5 needing internet surfing, counts the shared internet surfing use information of the terminal needing internet surfing according to the internet surfing data request and the internet surfing data, and stores the shared internet surfing use information of the terminal needing internet surfing into the shared internet surfing use data table. Theterminal 5 needing to surf the internet obtains the internet surfing data fed back by the sharednetwork server 2 and displays the internet surfing data on a related client or browser. This operation continues until the physical connection with the target shared terminal is broken. In the network sharing method provided in this embodiment, the sharing terminal is used to share the network, and the sharing terminal has mobility, and can enable the terminal requiring internet access to share the network according to the selection of the terminal requiring internet access, and can control the access terminal. The method has the advantages that the network surfing data is obtained from the shared network server in a VPN encryption communication mode, the safety of the request data of the terminal needing to surf the network can be protected, the use data of the terminal needing to surf the network, which surfs the network, adopting the shared network for charging the terminal needing to surf the network can be stored, the terminal needing to surf the network is authenticated before the shared network service is provided by the shared terminal, the safety of the shared terminal is improved, and the network surfing experience of a user is improved.
Example one
Fig. 2 is a flowchart of a network sharing method according to an embodiment of the present invention, and as shown in fig. 2, an execution main body of this embodiment is a network sharing device, and the network sharing device is integrated on a terminal that needs to surf the internet, and the network sharing method according to this embodiment is applied to a terminal that needs to surf the internet, where the terminal that needs to surf the internet may be a terminal such as a smart phone, a tablet computer, a notebook computer, or a computer, and the network sharing method according to this embodiment includes the following steps:
step 201, sending a sharing networking request to a base station; the shared networking request includes: and the base station inquires networking preparation information of the available shared terminal in a preset shared terminal connection table according to the current first geographical position information.
Specifically, in this embodiment, the current network status of the terminal that needs to surf the internet is detected, and if the current network of the terminal that needs to surf the internet cannot surf the internet, a shared networking request is sent to the base station. After the base station receives the sharing networking request, comparing the current first geographic position information in the sharing networking request with the current second geographic position information of all the sharing terminals in a preset sharing terminal connection table, if the difference value between the current first geographic position and the current second geographic position is in a preset range, determining that the sharing terminal is the available sharing terminal of the terminal needing to surf the internet, and acquiring networking preparation information of the available sharing terminal.
The method for detecting the current network condition of the terminal needing to surf the internet can be as follows: the terminal needing to surf the internet detects the current network condition in a mode of sending a ping instruction to a specific internet address or acquiring data from a specific internet through the base station.
Wherein, in the shared networking request, comprising: the terminal comprises a first terminal identification of the terminal needing to surf the internet and current first geographical position information of the terminal needing to surf the internet. The first terminal identification is an identification of the terminal needing to surf the internet, and the first terminal identification can be a mobile phone number, an IMEI number or other information which only represents the terminal needing to surf the internet. The current first geographical location information may be a current GPS location of the terminal that needs to surf the internet.
The preset shared terminal connection table includes shared internet access information of each shared terminal near the base station, and the shared internet access information may include: networking provisioning information, sharing networking means, and networking passwords. Wherein the networking preparation information includes: a second terminal identifier of the shared terminal, current second geographical location information of the shared terminal, a current internet access network, a shared networking mode, connection quality, a charging mode, a charging unit price and the like.
The current internet access network is a network connected with the internet, and can be WiFi, China Mobile/telecom/Unicom and the like. The connection quality may be signal strength and/or connection speed. The charging mode can be charging according to flow or charging according to time, etc.
The sharing networking mode is a mode that a terminal needing to surf the internet is connected with a sharing terminal, such as bluetooth, WLAN and the like.
Instep 202, networking preparation information of available shared terminals sent by the base station is received.
Specifically, in this embodiment, the terminal that needs to surf the internet communicates with the base station through a signaling channel such as a data short message or cell broadcast when the terminal that needs to surf the internet cannot surf the internet, so the networking preparation information of the available shared terminal sent by the base station can be received through the signaling channel such as the data short message or the cell broadcast.
Wherein the networking preparation information of the available shared terminals includes: the second terminal identification of the available shared terminal, the current second geographical position information of the available shared terminal, the current internet access network, the shared networking mode, the connection quality, the charging mode, the charging unit price and the like.
Step 203, determining the target sharing terminal according to the networking preparation information of the available sharing terminals.
Specifically, in this embodiment, the shared internet access manner supported by the terminal that needs to access the internet can be checked, the supported shared internet access manner is compared with the shared internet access manner in the networking preparation information, and the available shared terminal corresponding to the matching networking preparation information is obtained as the target shared terminal.
Or in this embodiment, a user or a user defines a networking policy in advance, matches the networking policy with the networking preparation information of each available shared terminal, and determines the available shared terminal corresponding to the networking preparation information matched with the networking policy as the target shared terminal.
The networking policy is not limited. For example, after the sharing and networking mode is matched, an available sharing terminal with good connection quality is considered in advance as a target sharing terminal. Or after the sharing and networking modes are matched, the available sharing terminal with low charge is considered as the target sharing terminal in advance, or other networking strategies are considered.
And step 204, acquiring the sharing networking mode and the networking password of the target sharing terminal.
Specifically, in this embodiment, the shared internet access information of the target shared terminal is stored in the base station, and the shared networking mode and the networking password in the shared internet access information of the target shared terminal can be obtained in a communication mode with the base station.
And step 205, accessing the network according to the sharing networking mode and the networking password of the target sharing terminal.
Specifically, in this embodiment, the shared networking mode includes a networking name, and the network can be accessed by inputting the networking name and the networking password into a page of the shared networking mode.
In the network sharing method provided by the embodiment, a sharing networking request is sent to a base station; the shared networking request includes: a first terminal identifier of a terminal needing to surf the internet and current first geographical position information of the terminal needing to surf the internet are provided for a base station to inquire networking preparation information of an available shared terminal in a preset shared terminal connection table according to the current first geographical position information; receiving networking preparation information of available shared terminals sent by a base station; determining a target shared terminal according to the networking preparation information of the available shared terminals; acquiring a sharing networking mode and a networking password of a target sharing terminal; and accessing the network according to the sharing networking mode and the networking password of the target sharing terminal. The sharing terminal is adopted to share the network, the sharing terminal has mobility, the terminals needing to surf the internet can share the network according to the selection of the terminals needing to surf the internet, the access terminal can be controlled, and the internet experience of a user is improved.
Example two
Fig. 3 is a method for network sharing according to the second embodiment of the present invention, which is further detailed insteps 203 to 205 based on the method for network sharing according to the first embodiment of the present invention, and further includes a step of requesting data using a shared network. The method for network sharing provided by the present embodiment includes the following steps.
Step 301, sending a shared networking request to a base station; the shared networking request includes: and the base station inquires networking preparation information of the available shared terminal in a preset shared terminal connection table according to the current first geographical position information.
Step 302, receiving the networking preparation information of the available shared terminal sent by the base station.
In this embodiment, the implementation manners ofsteps 301 to 302 are the same as the implementation manners ofsteps 201 to 202 of the network sharing method provided in the first embodiment of the present invention, and are not described in detail herein.
And step 303, acquiring a networking strategy of the terminal needing to be networked.
Further, in this embodiment, a networking policy is preset in the terminal that needs to access the internet. The weight of each networking factor is defined in the networking policy. Networking factors may include: shared networking mode, connection quality, charging mode, etc. Wherein, the weight of the sharing networking mode is 1, that is, the available sharing terminal must support the terminal sharing networking mode needing to access the internet. The weight of the connection quality and the charging mode can be between 0 and 1.
And step 304, determining the available shared terminal corresponding to the networking preparation information matched with the networking strategy as a target shared terminal.
Further, in this embodiment, each networking factor in the networking policy is respectively matched with a corresponding networking factor in the networking preparation information in each available shared terminal, and the matching degree is calculated according to the weight of each networking factor, so that the available shared terminal corresponding to the networking preparation information with the highest matching degree is obtained as the target shared terminal.
And 305, sending the second terminal identifier of the target sharing terminal to the base station, so that the base station can obtain the sharing networking mode and the networking password of the target sharing terminal according to the sharing networking information of the target sharing terminal.
And step 306, receiving the sharing networking mode and the networking password of the target sharing terminal sent by the base station.
Further, in this embodiment, steps 305 to 306 are further refinements ofstep 204 in the first embodiment of the present invention.
Specifically, in this embodiment, the second terminal identifier of the target shared terminal is sent to the base station. And the base station searches the shared internet access information of the target shared terminal in a preset shared terminal connection table according to the second terminal identifier. The shared internet access information comprises a shared networking mode and a networking password. And the base station sends the sharing networking mode and the networking password of the target sharing terminal to the terminal needing to surf the internet.
And the terminal identification of the target sharing terminal is the second terminal identification. The second terminal identifier of the target sharing terminal may be a mobile phone number, an IMEI number, or other information uniquely representing the target sharing terminal.
The shared networking information may further include an authentication password of the shared terminal, so as to authenticate whether the shared terminal is secure.
Table 1 is a preset shared terminal connection table, and only shared internet access information of one shared terminal is shown in table 1.
And 307, accessing the network according to the sharing networking mode and the networking password of the target sharing terminal.
Further, in this embodiment, accessing the network according to the sharing networking mode and the networking password of the target sharing terminal specifically includes:
firstly, a physical layer connection is established with the target sharing terminal according to the sharing networking mode and the networking password of the target sharing terminal.
And secondly, establishing application layer VPN connection with the target sharing terminal according to the sharing networking mode and the networking password of the target sharing terminal.
Table 1: preset connection table for shared terminals
Figure BDA0002950649970000121
In this embodiment, an application layer VPN connection is established with the target sharing terminal, and a VPN encryption communication mode is adopted when the target sharing terminal communicates with the shared network server, so that the security of the internet access request and the returned data can be effectively protected.
And 308, sending an internet surfing data request to the shared network server by adopting a VPN encryption communication mode so that the shared network server acquires internet surfing data and stores shared internet surfing data of the terminal needing to surf the internet into a shared internet surfing data table.
Further, in this embodiment, the shared network sends the internet data request to the shared network server in a VPN encrypted communication manner. The request for the data on the Internet comprises the following steps: the method comprises the steps of a first terminal identification of a terminal needing to surf the internet, a second terminal identification of a target sharing terminal, a charging mode, request time, a request address and other information. And the shared network server acquires the internet data after receiving the internet data request, and counts the shared internet data use information according to the internet data request and the internet data. And storing the shared internet surfing data use information into a shared internet surfing use data table.
The shared internet data usage information may include: the method comprises the steps of obtaining information such as a first terminal identification of a terminal needing to surf the internet, a second terminal identification of a target sharing terminal, a charging mode, request time, a request address, a data volume of the internet and the like. Table 2 is a shared internet usage data table. Table 2 shows the internet access information of only one internet access request.
Table 2: shared internet access data table
Figure BDA0002950649970000131
Step 309, receiving the internet access data sent by the shared network server.
And further, receiving the internet surfing data sent by the shared network server, and displaying the internet surfing data on a client or a browser of the terminal needing internet surfing.
In the network sharing method provided by the embodiment, a sharing networking request is sent to a base station; the shared networking request includes: a first terminal identification of a terminal needing to surf the internet and current first geographical position information of the terminal needing to surf the internet, a base station inquires networking preparation information of an available shared terminal in a preset shared terminal connection table according to the current first geographical position information, receives the networking preparation information of the available shared terminal sent by the base station, acquires a networking strategy of the terminal needing to surf the internet, determines the available shared terminal corresponding to the networking preparation information matched with the networking strategy as a target shared terminal, sends a second terminal identification of the target shared terminal to the base station, so that the base station acquires a shared networking mode and a networking password of the target shared terminal according to the shared networking information of the target shared terminal, receives the shared networking mode and the networking password of the target shared terminal sent by the base station, accesses a network according to the shared networking mode and the networking password of the target shared terminal, and sends a request for surfing data to a shared network server by adopting a VPN encryption communication mode, the shared network server obtains the internet surfing data, stores the shared internet surfing data of the terminal needing internet surfing into the shared internet surfing data table, and receives the internet surfing data sent by the shared network server. Because the terminal needing to surf the internet communicates with the shared network server in a VPN encryption mode, the safety of the internet request and the returned data of the terminal needing to surf the internet can be protected, the shared internet use information is stored in the shared network server, the terminal needing to surf the internet can be effectively charged, and the internet experience of a user is further improved.
EXAMPLE III
Fig. 4 is a flowchart of a network sharing method according to a third embodiment of the present invention. As shown in fig. 4, an execution subject of the embodiment is a network sharing device, the network sharing device is integrated on a base station, and the network sharing method provided by the embodiment is applied to the base station, and then the network sharing method provided by the embodiment includes the following steps.
Step 401, receiving a first terminal identifier sent by a terminal needing to surf the internet and current first geographical location information of the terminal needing to surf the internet.
The first terminal identification is an identification of the terminal needing to surf the internet, and the first terminal identification can be a mobile phone number, an IMEI number or other information which only represents the terminal needing to surf the internet. The current first geographical location information may be a current GPS location of the terminal that needs to surf the internet.
Step 402, inquiring the networking preparation information of the available sharing terminal matched with the current first geographical location information in a preset sharing terminal connection table.
The preset shared terminal stores the shared internet access information of all the shared terminals near the base station. Wherein, the sharing of the internet surfing information may include: networking provisioning information, sharing networking means, and networking passwords. The networking preparation information includes: a second terminal identifier of the shared terminal, current second geographical location information of the shared terminal, a current internet access network, a shared networking mode, connection quality, a charging mode, a charging unit price and the like.
Specifically, in this embodiment, the base station compares current first geographic location information in the shared networking request with current second geographic location information of all shared terminals in a preset shared terminal connection table, and if a difference between the current first geographic location and the current second geographic location is within a preset range, determines that the shared terminal is an available shared terminal of the terminal requiring internet access, and obtains networking preparation information of the available shared terminal.
And step 403, sending networking preparation information of the available sharing terminal to the terminal needing to surf the internet, so that the terminal needing to surf the internet determines the target sharing terminal according to the networking preparation information of the available sharing terminal.
Specifically, in this embodiment, the networking preparation information of the available shared terminal is sent to the terminal needing to surf the internet. The terminal needing to surf the internet determines the target shared terminal according to the networking preparation information of the available shared terminal, acquires the shared networking mode and the networking password of the target shared terminal, and accesses the network according to the shared networking mode and the networking password of the target shared terminal.
And step 404, receiving a second terminal identifier of the target shared terminal sent by the terminal needing to surf the internet.
And the terminal identification of the target sharing terminal is the second terminal identification. The second terminal identifier of the target sharing terminal may be a mobile phone number, an IMEI number, or other information uniquely representing the target sharing terminal.
And 405, inquiring a shared networking mode and a networking password in the shared networking information of the target shared terminal corresponding to the second terminal identifier in a preset shared terminal connection table.
The preset connection table of the sharing terminal is shown in table 1. And the base station searches the shared internet access information of the target shared terminal in a preset shared terminal connection table according to the second terminal identifier. The shared internet information comprises a shared networking mode and a networking password.
And step 406, sending the sharing networking mode and the networking password of the target sharing terminal to the terminal needing to surf the internet.
Specifically, in this embodiment, the shared networking mode and the networking password of the target shared terminal are sent to the terminal to be networked, the terminal to be networked may first establish a physical layer connection with the target shared terminal according to the shared networking mode and the networking password of the target shared terminal, and then may establish an application layer VPN connection with the target shared terminal according to the shared networking mode and the networking password of the target shared terminal.
In the network sharing method provided by this embodiment, a first terminal identifier sent by a terminal needing to surf the internet and current first geographical location information of the terminal needing to surf the internet are received; inquiring networking preparation information of the available sharing terminal matched with the current first geographical position information in a preset sharing terminal connection table; sending networking preparation information of the available sharing terminal to the terminal needing to surf the internet, enabling the terminal needing to surf the internet to determine a target sharing terminal according to the networking preparation information of the available sharing terminal, receiving a second terminal identification of the target sharing terminal sent by the terminal needing to surf the internet, inquiring a sharing networking mode and a networking password in the sharing networking information of the target sharing terminal corresponding to the second terminal identification in a preset sharing terminal connection table, and sending the sharing networking mode and the networking password of the target sharing terminal to the terminal needing to surf the internet. The sharing terminal is adopted to share the network, the sharing terminal has mobility, the terminals needing to surf the internet can share the network according to the selection of the terminals needing to surf the internet, the access terminal can be controlled, and the internet experience of a user is improved.
Example four
Fig. 5 is a flowchart of a network sharing method according to a fourth embodiment of the present invention. As shown in fig. 5, the main execution body of the method for network sharing provided by the present embodiment is a network sharing device, and the network sharing device may be integrated in a shared network server. The network sharing method provided by the embodiment is applied to a shared network server. The method for network sharing provided by the present embodiment includes the following steps.
Step 501, receiving shared internet access information sent by a shared terminal, where the shared internet access information includes: networking provisioning information, sharing networking means, and networking passwords.
Specifically, in this embodiment, the shared terminal detects the internet access connection state through the application. And if the internet connection state is normal, sending shared internet information to the shared network server in a VPN encrypted communication mode.
The method for detecting the internet access connection state by the sharing terminal through the application can be as follows: and automatically sending a Ping instruction to a specific Internet address at regular time or detecting the Internet connection state in a mode of acquiring specific data.
The shared internet access information of the shared terminal comprises: the network preparation information of the shared terminal, the sharing networking mode of the shared terminal and the networking password. The networking preparation information of the shared terminal may include: a second terminal identifier of the shared terminal, current second geographical location information of the shared terminal, a current internet access network, a shared networking mode, connection quality, a charging mode, a charging unit price and the like.
Step 502, determining the base station near the shared terminal according to the current second position information of the shared terminal in the networking preparation information.
Wherein the current second location information is current location information of the shared terminal. The current second location information may be a GPS location of the shared terminal.
Specifically, in this embodiment, the current second location information of the shared terminal is compared with the location information of the base station, and if a difference between the current second location and the location of the base station is smaller than a preset threshold, the base station is determined to be a base station near the shared terminal.
Step 503, sending the shared internet access information of the shared terminal to the base station, so that the base station stores the shared internet access information of the shared terminal in a preset shared terminal connection table, and updates the connectable shared terminal table.
Specifically, in this embodiment, the base station receives the shared internet access information of the shared terminal, and stores the shared internet access information of the shared terminal in a preset shared terminal connection table. And storing the identification of the base station and partial information in the shared internet access information of the shared terminal into a connectable shared terminal table. Table 3 is a connectable shared terminal table. Only a part of the shared internet access information of one shared terminal is shown in table 3.
Table 3: connectable sharing terminal table
Figure BDA0002950649970000171
Step 504, a shared networking service response is sent to the shared terminal.
Specifically, in this embodiment, a shared networking service response is sent to the shared terminal to notify the shared terminal that the shared network service can be performed.
In the network sharing method provided in this embodiment, the shared internet access information sent by the sharing terminal is received, where the shared internet access information includes: determining a base station near the shared terminal according to the current second position information of the shared terminal in the networking preparation information; sending the shared internet access information of the shared terminal to the base station so that the base station stores the shared internet access information of the shared terminal into a preset shared terminal connection table and updates the connectable shared terminal table; and transmitting a shared networking service response to the shared terminal. The sharing terminal is adopted to share the network, the sharing terminal has mobility, the terminals needing to surf the internet can share the network according to the selection of the terminals needing to surf the internet, the access terminal can be controlled, and the internet experience of a user is improved.
EXAMPLE five
Fig. 6 is a flowchart of a network sharing method according to a fifth embodiment of the present invention. As shown in fig. 6, the method for network sharing provided in this embodiment is based on the fourth embodiment of the method for network sharing of the present invention, and further includes a step of authenticating the shared terminal, receiving an internet data request sent by the terminal to be networked in a VPN encrypted communication manner, obtaining internet data according to the internet data request, sending the internet data to the terminal to be networked, and a step of counting shared internet usage information of the terminal to be networked according to the internet data request and the internet data, and storing the shared internet usage information of the terminal to be networked in a shared internet usage data table. The method for network sharing provided by the present embodiment includes the following steps.
Step 601, receiving shared internet access information sent by a shared terminal, where the shared internet access information includes: networking provisioning information, sharing networking means, and networking passwords.
Further, in this embodiment, the shared internet access information further includes an authentication password.
Step 602, authenticating the shared terminal according to the authentication password, and determining whether the authentication is passed, if so, executingstep 603, otherwise, ending.
Further, in this embodiment, whether the shared terminal is normal is checked according to the authentication password, and if the shared terminal is normal, the authentication is passed, and if the shared terminal is not normal, the authentication is not passed.
Step 603, determining the base station near the shared terminal according to the current second position information of the shared terminal in the networking preparation information.
Step 604, sending the shared internet access information of the shared terminal to the base station, so that the base station stores the shared internet access information of the shared terminal in a preset shared terminal connection table, and updates the connectable shared terminal table.
Step 605, the shared networking service response is sent to the shared terminal.
In this embodiment, the implementation manners ofstep 603 to step 605 are the same as the implementation manners ofstep 502 to step 504 in the fourth embodiment of the present invention, and are not described in detail herein.
And 606, receiving the internet surfing data request sent by the terminal needing to surf the internet by adopting a VPN encryption communication mode.
Further, in this embodiment, an internet data request sent by a terminal that needs to surf the internet is received through a shared network in a VPN encrypted communication manner, where the internet data request includes: the method comprises the steps of a first terminal identification of a terminal needing to surf the internet, a second terminal identification of a target sharing terminal, a charging mode, request time, request address and other information.
Step 607, obtaining the internet data according to the internet data request, and sending the internet data to the terminal needing to access the internet.
Step 608, the shared internet access use information of the terminal needing internet access is counted according to the internet access data request and the internet access data.
Step 609, storing the shared internet access use information of the terminal needing to be connected to the internet into the shared internet access use data table.
The description is made in connection with step 608-step 609. Further, in this embodiment, the first terminal identifier of the terminal to be networked, the second terminal identifier of the target shared terminal, the charging mode, the request time, and the request address in the shared internet use information of the terminal to be networked are counted according to the internet data request. And counting the internet surfing data volume according to the internet surfing data. Table 2 is a shared internet usage data table.
In the network sharing method provided in this embodiment, the shared internet access information sent by the sharing terminal is received, where the shared internet access information includes: the network connection preparing information, the sharing network connection mode and the network connection password, the shared terminal is authenticated according to the authentication password, if the authentication is passed, determining a base station near the shared terminal according to the current second location information of the shared terminal in the networking preparation information, transmitting the shared networking information of the shared terminal to the base station, so that the base station stores the shared internet access information of the shared terminal into a preset shared terminal connection table, and updates the connectable sharing terminal table, sends a sharing networking service response to the sharing terminal, receives an internet data request sent by the terminal needing to be connected to the internet by adopting a VPN encryption communication mode, and acquiring internet surfing data according to the internet surfing data request, sending the internet surfing data to the terminal needing internet surfing, counting shared internet surfing use information of the terminal needing internet surfing according to the internet surfing data request and the internet surfing data, and storing the shared internet surfing use information of the terminal needing internet surfing into a shared internet use data table. The terminal to be networked communicates with the shared network server in a VPN encryption mode, so that the safety of the request data of the terminal to be networked can be protected, the shared network server stores shared networking use information, the terminal to be networked can be effectively charged, the shared terminal is authenticated before the shared terminal provides shared network service, and the safety of the shared terminal is guaranteed. Therefore, the internet surfing experience of the user is further improved.
EXAMPLE six
Fig. 7 is a schematic structural diagram of a network sharing apparatus according to a sixth embodiment of the present invention. As shown in fig. 6, the network sharing apparatus provided in this embodiment includes: a sendingmodule 701, a receivingmodule 702, a determiningmodule 703, an obtainingmodule 704 and anetworking module 705.
Wherein, the sendingmodule 701 is configured to send a shared networking request to a base station; the shared networking request includes: and the base station inquires networking preparation information of the available shared terminal in a preset shared terminal connection table according to the current first geographical position information. A receivingmodule 702, configured to receive networking preparation information of an available shared terminal sent by a base station. A determiningmodule 703, configured to determine a target shared terminal according to the networking preparation information of the available shared terminals. An obtainingmodule 704, configured to obtain a sharing networking mode and a networking password of the target sharing terminal. And anetworking module 705 for accessing the network according to the sharing networking mode and the networking password of the target sharing terminal.
The network sharing apparatus provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Further, in the network sharing apparatus provided in this embodiment, the determiningmodule 703 is specifically configured to: acquiring a networking strategy of a terminal needing to surf the internet; and determining the available shared terminal corresponding to the networking preparation information matched with the networking strategy as a target shared terminal.
Further, the obtainingmodule 704 is specifically configured to: sending the second terminal identification of the target sharing terminal to the base station so that the base station can obtain the sharing networking mode and the networking password of the target sharing terminal according to the sharing networking information of the target sharing terminal; and receiving the sharing networking mode and the networking password of the target sharing terminal sent by the base station.
Further, the sendingmodule 701 is further configured to: sending an internet surfing data request to a shared network server by adopting a VPN encryption communication mode so that the shared network server acquires internet surfing data and stores shared internet surfing data use information of a terminal needing to surf the internet into a shared internet surfing use data table; and the receiving module is also used for receiving the internet surfing data sent by the shared network server.
Further, the network sharing apparatus provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
EXAMPLE seven
Fig. 8 is a schematic structural diagram of a network sharing device according to a seventh embodiment of the present invention, and as shown in fig. 8, the network sharing device according to the present embodiment includes: a receivingmodule 801, aquery module 802 and a sendingmodule 803.
The receivingmodule 801 is configured to receive a first terminal identifier sent by a terminal that needs to surf internet and current first geographic location information of the terminal that needs to surf internet. Aquery module 802, configured to query, in a preset shared terminal connection table, networking preparation information of an available shared terminal that matches the current first geographic location information. A sendingmodule 803, configured to send networking preparation information of the available shared terminal to the terminal needing to surf the internet, so that the terminal needing to surf the internet determines the target shared terminal according to the networking preparation information of the available shared terminal. The receivingmodule 801 is further configured to receive a second terminal identifier of the target shared terminal sent by the terminal needing to surf the internet. Thequerying module 802 is further configured to query, in a preset shared terminal connection table, a shared networking mode and a networking password in the shared networking information of the target shared terminal corresponding to the second terminal identifier. The sendingmodule 803 is further configured to send the shared networking mode and the networking password of the target shared terminal to the terminal needing to surf the internet.
The network sharing apparatus provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.
Example eight
Fig. 9 is a schematic structural diagram of a network sharing device according to an eighth embodiment of the present invention, and as shown in fig. 9, the network sharing device according to the present embodiment includes: a receivingmodule 901, a determiningmodule 902 and a sendingmodule 903.
The receivingmodule 901 is configured to receive shared internet access information sent by a shared terminal, where the shared internet access information includes: networking provisioning information, sharing networking means, and networking passwords. A determiningmodule 902, configured to determine a base station near the shared terminal according to the current second location information of the shared terminal in the networking preparation information. A sendingmodule 903, configured to send shared internet access information of the shared terminal to the base station, so that the base station stores the shared internet access information of the shared terminal in a preset shared terminal connection table, and updates the connectable shared terminal table. A sendingmodule 903, configured to send a shared networking service response to the shared terminal.
The network sharing apparatus provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 5, and the implementation principle and the technical effect are similar, which are not described herein again.
Example nine
Fig. 10 is a schematic structural diagram of a network sharing device according to a ninth embodiment of the present invention, and as shown in fig. 10, the network sharing device according to this embodiment further includes, on the basis of the network sharing device according to an eighth embodiment of the present invention: astatistics module 1001 and astorage module 1002.
Further, the receivingmodule 901 is further configured to receive an internet data request sent by a terminal that needs to access the internet by using a VPN encryption communication manner. The sendingmodule 903 is further configured to obtain internet data according to the internet data request, and send the internet data to the terminal needing to access the internet. Thestatistics module 1001 is configured to perform statistics on shared internet access usage information of the terminal that needs to access the internet according to the internet access data request and the internet access data. Thestorage module 1002 is configured to store shared internet access use information of a terminal that needs to access the internet into a shared internet access use data table.
The network sharing apparatus provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 6, and the implementation principle and the technical effect are similar, which are not described herein again.
Example ten
Fig. 11 is a schematic structural diagram of a terminal device provided in a tenth embodiment of the present invention, and as shown in fig. 11, the terminal device provided in this embodiment includes: one ormore processors 1101 andmemory 1102.
Thememory 1102 is used for storing one or more programs. When the one or more programs are executed by the one ormore processors 1101, the one ormore processors 1101 enable the one ormore processors 1101 to implement the method for network sharing provided by the first embodiment of the present invention or the method for network sharing provided by the second embodiment of the present invention.
EXAMPLE eleven
Fig. 12 is a schematic structural diagram of a base station according to an eleventh embodiment of the present invention, and as shown in fig. 12, a terminal device according to this embodiment includes: one ormore processors 1201 andmemory 1202.
Thememory 1202 is used for storing one or more programs. When the one or more programs are executed by the one ormore processors 1201, the one ormore processors 1201 implement the network sharing method provided in the third embodiment of the present invention.
Example twelve
Fig. 13 is a schematic structural diagram of a server according to a twelfth embodiment of the present invention, and as shown in fig. 13, a terminal device according to this embodiment includes: one ormore processors 1301 andmemory 1302.
Thememory 1302 is used for storing one or more programs. When the one or more programs are executed by the one ormore processors 1301, the one ormore processors 1301 enable the network sharing method provided in the fourth embodiment of the present invention or the network sharing method provided in the fifth embodiment of the present invention.
EXAMPLE thirteen
A thirteenth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the method for network sharing provided in the first embodiment of the present invention or the method for network sharing provided in the second embodiment of the present invention.
Example fourteen
A fourteenth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the network sharing method provided in the third embodiment of the present invention.
Example fifteen
Fifteenth of the present embodiments provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the network sharing method provided in the fourth of the present embodiments or the network sharing method provided in the fifth of the present embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or terminal. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or terminal, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage terminal, a magnetic storage terminal, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (5)

Translated fromChinese
1.一种网络共享的方法,应用于共享网络服务器,其特征在于,包括:1. a method for network sharing, applied to a shared network server, is characterized in that, comprising:接收共享终端发送的共享上网信息,所述共享上网信息包括:连网准备信息、共享连网方式和连网密码;Receive shared internet access information sent by the sharing terminal, where the shared internet access information includes: internet connection preparation information, shared internet connection method and internet connection password;根据所述连网准备信息中的共享终端的当前的第二位置信息确定所述共享终端附近的基站;Determine the base station near the shared terminal according to the current second location information of the shared terminal in the networking preparation information;向所述基站发送所述共享终端的共享上网信息,以使所述基站将所述共享终端的共享上网信息存储到预设的共享终端连接表中,并更新可连接共享终端表;Sending the shared Internet access information of the shared terminal to the base station, so that the base station stores the shared Internet access information of the shared terminal in a preset shared terminal connection table, and updates the list of connectable shared terminals;向所述共享终端发送共享连网服务响应。A shared networking service response is sent to the shared terminal.2.根据权利要求1所述的方法,其特征在于,所述向所述基站发送所述共享终端的共享上网信息,以使所述基站将所述共享终端的共享上网信息存储到预设的共享终端连接表中,并更新可连接共享终端表之后,还包括:2 . The method according to claim 1 , wherein the sending the shared surfing information of the shared terminal to the base station enables the base station to store the shared surfing information of the shared terminal in a preset. 3 . In the shared terminal connection table, and after updating the shareable terminal table that can be connected, it also includes:采用VPN加密通信方式接收需上网终端发送的上网数据请求;Adopt VPN encrypted communication mode to receive the Internet data request sent by the terminal that needs to be connected to the Internet;根据所述上网数据请求获取上网数据,将所述上网数据发送给所述需上网终端;Obtain Internet access data according to the Internet access data request, and send the Internet access data to the terminal requiring Internet access;根据所述上网数据请求和所述上网数据统计所述需上网终端的共享上网使用信息;Statistics of the shared Internet usage information of the terminal requiring Internet access according to the Internet access data request and the Internet access data;将所述需上网终端的共享上网使用信息存储到共享上网使用数据表中。The shared internet usage information of the terminal requiring internet access is stored in a shared internet usage data table.3.一种网络共享的装置,其特征在于,包括:3. A device for network sharing, comprising:接收模块,用于接收共享终端发送的共享上网信息,所述共享上网信息包括:连网准备信息、共享连网方式和连网密码;a receiving module, configured to receive shared Internet access information sent by the sharing terminal, where the shared Internet access information includes: Internet connection preparation information, shared Internet connection method and Internet connection password;确定模块,用于根据所述连网准备信息中的共享终端的当前的第二位置信息确定所述共享终端附近的基站;a determining module, configured to determine a base station near the shared terminal according to the current second location information of the shared terminal in the networking preparation information;发送模块,用于向所述基站发送所述共享终端的共享上网信息,以使所述基站将所述共享终端的共享上网信息存储到预设的共享终端连接表中,并更新可连接共享终端表;A sending module, configured to send the shared Internet access information of the shared terminal to the base station, so that the base station stores the shared Internet access information of the shared terminal in a preset shared terminal connection table, and updates the shareable terminal that can be connected surface;所述发送模块,还用于向所述共享终端发送共享连网服务响应。The sending module is further configured to send a shared networking service response to the shared terminal.4.一种服务器,其特征在于,包括:一个或多个处理器;4. A server, comprising: one or more processors;存储器,用于存储一个或多个程序;memory for storing one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1或2所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of claim 1 or 2.5.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行如权利要求1或2所述的方法。5. A computer-readable storage medium on which a computer program is stored, wherein the program is executed by a processor to execute the method according to claim 1 or 2.
CN202110206003.0A2019-01-082019-01-08 Method, device, terminal and computer-readable storage medium for network sharingActiveCN112995895B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110206003.0ACN112995895B (en)2019-01-082019-01-08 Method, device, terminal and computer-readable storage medium for network sharing

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN202110206003.0ACN112995895B (en)2019-01-082019-01-08 Method, device, terminal and computer-readable storage medium for network sharing
CN201910016811.3ACN109618392B (en)2019-01-082019-01-08 Method, apparatus, device and computer-readable storage medium for network sharing

Related Parent Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910016811.3ADivisionCN109618392B (en)2019-01-082019-01-08 Method, apparatus, device and computer-readable storage medium for network sharing

Publications (2)

Publication NumberPublication Date
CN112995895Atrue CN112995895A (en)2021-06-18
CN112995895B CN112995895B (en)2023-02-28

Family

ID=66016846

Family Applications (2)

Application NumberTitlePriority DateFiling Date
CN202110206003.0AActiveCN112995895B (en)2019-01-082019-01-08 Method, device, terminal and computer-readable storage medium for network sharing
CN201910016811.3AActiveCN109618392B (en)2019-01-082019-01-08 Method, apparatus, device and computer-readable storage medium for network sharing

Family Applications After (1)

Application NumberTitlePriority DateFiling Date
CN201910016811.3AActiveCN109618392B (en)2019-01-082019-01-08 Method, apparatus, device and computer-readable storage medium for network sharing

Country Status (1)

CountryLink
CN (2)CN112995895B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110677926A (en)*2019-09-272020-01-10Tcl移动通信科技(宁波)有限公司Connection method, device, storage medium and server of mobile communication network
CN111314979B (en)*2020-02-182022-05-03Oppo广东移动通信有限公司 A network control method, first terminal and storage medium
CN113242261B (en)*2021-06-102023-04-07Oppo广东移动通信有限公司Method and device for sharing data network, electronic equipment and storage medium
CN113543175A (en)*2021-07-022021-10-22维沃软件技术有限公司 Networking method, apparatus, device and medium
CN113596712B (en)*2021-07-162024-06-07Oppo广东移动通信有限公司 Network connection method and device, terminal equipment, server, storage medium
CN113630834B (en)*2021-09-142023-05-30中国联合网络通信集团有限公司 Network sharing system, network switching method, user equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102869073A (en)*2012-09-142013-01-09中兴通讯股份有限公司Method for processing wireless hotspot information and method for automatically accessing wireless hotspot
CN103475996A (en)*2013-08-192013-12-25小米科技有限责任公司Network connecting method, network sharing method and devices
CN103889029A (en)*2014-03-242014-06-25深圳市云猫信息技术有限公司Network hotspot sharing method, client side, sharing side and management server
US20150229713A1 (en)*2012-07-312015-08-13Michael LuOpen wireless architecture (owa) mobile cloud infrastructure and method
CN107949036A (en)*2016-10-122018-04-20中国移动通信有限公司研究院A kind of sharing method, the network equipment, terminal device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10326889B2 (en)*2016-06-212019-06-18At&T Mobility Ii LlcMethod and apparatus for distributing content via a wireless communication network
CN108370535A (en)*2017-10-202018-08-03北京小米移动软件有限公司Cut-in method, device, user equipment and base station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150229713A1 (en)*2012-07-312015-08-13Michael LuOpen wireless architecture (owa) mobile cloud infrastructure and method
CN102869073A (en)*2012-09-142013-01-09中兴通讯股份有限公司Method for processing wireless hotspot information and method for automatically accessing wireless hotspot
CN103475996A (en)*2013-08-192013-12-25小米科技有限责任公司Network connecting method, network sharing method and devices
CN103889029A (en)*2014-03-242014-06-25深圳市云猫信息技术有限公司Network hotspot sharing method, client side, sharing side and management server
CN107949036A (en)*2016-10-122018-04-20中国移动通信有限公司研究院A kind of sharing method, the network equipment, terminal device and system

Also Published As

Publication numberPublication date
CN112995895B (en)2023-02-28
CN109618392B (en)2021-06-29
CN109618392A (en)2019-04-12

Similar Documents

PublicationPublication DateTitle
CN109618392B (en) Method, apparatus, device and computer-readable storage medium for network sharing
CN111464934B (en) Data transmission system, method and device
CN104350802B (en) Wireless local area network WLAN access method, terminal and server
CN102802153B (en)Use the single wireless subscriber identity module multiple equipment of simultaneous verification on wireless links
CN103929748B (en)A kind of Internet of Things wireless terminal and its collocation method and wireless network access point
JP6668407B2 (en) Terminal authentication method and apparatus used in mobile communication system
WO2014194731A1 (en)Virtual user identification data distributing method and obtaining method, and devices
EP4187951B1 (en)Virtual card downloading method and terminal
US11197157B2 (en)Method, apparatus, and system for performing authentication on terminal in wireless local area network
KR101460766B1 (en) A security setting system and its control method using a cluster function in a wireless network system
KR20140010206A (en)Apparatus and method for connecting wireless network in consideration of radio frequency band
EP1947818B1 (en)A communication system and a communication method
JP2020501440A (en) Emergency number setting method, acquisition method and device
KR101357669B1 (en)System and method for connecting network based on location
CN112689316A (en)Binding method and device of intelligent equipment, storage medium and electronic device
CN111770094B (en) Wireless network access control method and related device
JP2007005892A (en)Information distribution system, information distribution method, wireless lan terminal, information acquisition method of wireless lan terminal, and access point
WO2015100874A1 (en)Home gateway access management method and system
CN105848251B (en)Hotspot access method, device and terminal
CN107257573A (en)A kind of equipment accesses the system and method for wireless network
CN114466447B (en)Cloud management end management system based on WiFi6 router
CN116437331A (en)Non-inductive distribution network method, non-inductive distribution network system, equipment and medium
WO2016090578A1 (en)Authentication processing method, apparatus and terminal
US20100029297A1 (en)Wireless data communication system and method for providing wireless data service to sdr terminal
CN109981420B (en)Intelligent device network distribution method and intelligent device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp