Summary of the invention
The purpose of the present invention is to provide a kind of flow sharing method and server-side, mobile phone that can be more in floating resources
Bridge is provided between user and the inadequate mobile phone user of flow, realizes that flow is shared.
To achieve the above object, technical solution of the present invention provides a kind of flow sharing method, comprising:
Step S1: server-side is after receiving the flow sharing request that flow is sent using user by flow using terminal
Obtain the current workable shared hot spot of the flow using terminal;
Step S2: the SSID of the current workable shared hot spot is sent the flow and used eventually by the server-side
End;
Step S3: the server-side uses the stream that sends by the flow using terminal of user receiving the flow
Amount uses user using the password for obtaining the shared hot spot that the flow is used using user's request after request, and by the flow
The password of the shared hot spot used is requested to send the flow using terminal, wherein the flow includes the stream using request
The SSID for the shared hot spot that amount is used using user's request.
Further, the step S1 includes:
The server-side obtains the current location of the flow using terminal from the flow sharing request;
The server-side, which searches the flow using terminal according to the current location of the flow using terminal, can currently make
Shared hot spot.
Further, the step S1 includes:
The server-side obtains the periphery hotspot list of the flow using terminal from the flow sharing request, described
Periphery hotspot list includes the SSID of the hot spot of the own circumference of the flow using terminal current detection;
The server-side judges with the presence or absence of shared hot spot in the periphery hotspot list, if so, by the periphery heat
Shared hot spot in point list is as the current workable shared hot spot of the flow using terminal.
Further, before step S1 further include:
The server-side is raw after receiving the traffic delivery request that traffic delivery user is sent by traffic delivery terminal
It is arranged at shared hot spot and instructs, and the shared hot spot setting instruction is sent to the traffic delivery terminal, so that the stream
It measures issue terminal and the shared hot spot of instruction generation is set according to the shared hot spot, wherein the shared hot spot setting, which instructs, includes
The SSID and password of the shared hot spot of the generation.
Further, after the step S3 further include:
The server-side is instructed using user by the video-see that the flow using terminal is sent according to the flow
Determine whether that the pushing video by the traffic delivery person is sent to the flow using terminal;
The server-side according to preset charging regulation respectively to the flow user and the traffic delivery person into
Row billing operation.
To achieve the above object, technical solution of the present invention additionally provides a kind of server-side, comprising:
Module is obtained, for after receiving the flow sharing request that flow is sent using user by flow using terminal
Obtain the current workable shared hot spot of the flow using terminal;
Sending module, for the SSID of the current workable shared hot spot to be sent the flow using terminal;
Processing module, for being made by the flow that the flow using terminal is sent using user receiving the flow
The password of shared hot spot used with the flow is obtained after request using user's request, and the flow is requested using user
The password of the shared hot spot used sends the flow using terminal, wherein the flow includes that the flow makes using request
With the SSID for the shared hot spot that user's request uses.
Further, the acquisition module includes:
First acquisition unit, for obtaining the current location of the flow using terminal from the flow sharing request;
Searching unit currently may be used for searching the flow using terminal according to the current location of the flow using terminal
The shared hot spot used.
Further, the acquisition module includes:
Second acquisition unit, the periphery hot spot for obtaining the flow using terminal from the flow sharing request arrange
Table, the periphery hotspot list include the SSID of the hot spot of the own circumference of the flow using terminal current detection;
Judging unit, for judging with the presence or absence of shared hot spot in the periphery hotspot list, if so, by the periphery
Shared hot spot in hotspot list is as the current workable shared hot spot of the flow using terminal.
Further, the server-side further include:
Hot spot generates control module, in the flow hair for receiving traffic delivery user and being sent by traffic delivery terminal
Shared hot spot setting instruction is generated after cloth request, and the shared hot spot setting instruction is sent to the traffic delivery terminal,
So that the traffic delivery terminal generates shared hot spot according to the shared hot spot setting instruction, wherein the shared hot spot is set
Set the SSID and password that instruction includes the shared hot spot of the generation.
Further, the server-side further include:
Video push module, the video observing for using user to send by the flow using terminal according to the flow
See that instruction determines whether that the pushing video by the traffic delivery person is sent to the flow using terminal;
Accounting module is used for according to preset charging regulation respectively to the flow user and the traffic delivery person
Carry out billing operation.
Flow sharing method provided by the invention can realize flow intercommunication between heterogeneous networks operator, mutually enjoy, mutually
It deposits, provides bridge between the inadequate mobile phone user of the more mobile phone user of floating resources and flow, be conducive to improve on user
Net environment.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below
Example is not intended to limit the scope of the invention for illustrating the present invention.
It is a kind of flow chart for flow sharing method that embodiment of the present invention provides referring to Fig. 1, Fig. 1, the flow is shared
Method includes:
Step S1: server-side is after receiving the flow sharing request that flow is sent using user by flow using terminal
Obtain the current workable shared hot spot of the flow using terminal;
Step S2: the SSID of the current workable shared hot spot is sent the flow and used eventually by the server-side
End;
Step S3: the server-side uses the stream that sends by the flow using terminal of user receiving the flow
Amount uses user using the password for obtaining the shared hot spot that the flow is used using user's request after request, and by the flow
The password of the shared hot spot used is requested to send the flow using terminal, wherein the flow includes the stream using request
The SSID for the shared hot spot that amount is used using user's request.
The flow sharing method that embodiment provides through the invention can realize that flow is total between different mobile phone users
It enjoys, for example, traffic delivery user can be released the flow of oneself by its traffic delivery terminal, specifically, traffic delivery
User can be by its traffic delivery terminal to server-side transmitted traffic posting request, and server-side is receiving traffic delivery request
Shared hot spot setting instruction is generated afterwards, and SSID and password including sharing hot spot, server-side stores the information later, and will share
Hot spot setting instruction is sent to the traffic delivery terminal of traffic delivery user, which refers to according to the setting of shared hot spot
SSID and password in order generate shared hot spot (such as WIFI hot spot);
Wherein, in embodiments of the present invention, traffic delivery terminal can be Intelligent mobile equipment (such as mobile phone), i.e. flow
The flow that publication user sharing is gone out is the flow in mobile network's set meal, and traffic delivery terminal may be by fixed network broadband
The router of network service is provided and controls the Intelligent mobile equipment (such as mobile phone) of the router, i.e. traffic delivery user sharing
The flow gone out is the flow in fixed network broadband, after Intelligent mobile equipment receives the shared hot spot setting instruction that server-side is sent,
Shared hot spot accordingly is generated by controlling the router;
When the flow that flow needs to issue using traffic delivery person using user, can by its flow using terminal to
Server-side transmitted traffic sharing request, server-side obtain the flow using terminal after receiving the flow sharing request and currently may be used
The shared hot spot used, used mode can there are many;
For example, in flow using user by its flow using terminal to server-side transmitted traffic sharing request when, can will
The current location of flow using terminal is sent to server-side as a part therein, and server-side receives the flow sharing request
Afterwards, the current location of flow using terminal is obtained from the flow sharing request, and according to the current location of flow using terminal
The current workable shared hot spot of flow using terminal is searched, for example, each traffic delivery for being in traffic delivery state is whole
The geographical location of oneself is sent to server-side in real time by end, and server-side searches current place according to the current location of flow using terminal
In traffic delivery state and positioned at the traffic delivery terminal on flow using terminal periphery, the traffic delivery terminal found is given birth to
At shared hot spot as current workable shared hot spot, and by its SSID and position (i.e. the position of traffic delivery terminal)
It is sent to flow using terminal, request can be gone to use using user in order to flow by the position of the traffic delivery terminal
Position where shared hot spot;
For example, the hot spot situation of flow using terminal real-time detection own circumference, and periphery hotspot list is generated, including stream
The SSID for measuring the hot spot of the own circumference of using terminal current detection passes through its flow using terminal to clothes using user in flow
When end transmitted traffic sharing request of being engaged in, the periphery hotspot list of flow using terminal can be sent to clothes as a part therein
It is engaged in end, after server-side receives flow sharing request, therefrom extracting the periphery hotspot list of flow using terminal, and according to prestoring
Information judgement is wherein with the presence or absence of the shared hot spot of traffic delivery user publication, if so, by being total in the periphery hotspot list
Hot spot is enjoyed as the current workable shared hot spot of flow using terminal, and the SSID for sharing hot spot is sent to flow and is used
The flow using terminal of user;
After flow using terminal receives the SSID of current workable shared hot spot of server-side transmission, shown
User is used to flow, flow is therefrom selected using user according to the concrete condition (signal quality of such as hot spot) of shared hot spot
It is required that the shared hot spot used, is used to server-side transmitted traffic using request, including request by flow using terminal later
Shared hot spot SSID, server-side searches the password of the shared hot spot from pre-stored information, this shared hot spot later
Password be sent to flow using terminal, so as to so that flow using terminal is connected to shared hot spot and realizes that flow is shared;
In addition, after the password that flow user obtains shared hot spot, if cannot be successfully connected to correspond to by the password
Shared hot spot, then can be by its flow using terminal to server-side feedback problem, to solve a problem promptly;
Preferably, in embodiments of the present invention, after the step S3, the above method further include:
The server-side is instructed using user by the video-see that the flow using terminal is sent according to the flow
Determine whether that the pushing video by the traffic delivery person is sent to the flow using terminal;
It can also realize that media are promoted by above-mentioned flow sharing method, for example, traffic delivery user can incite somebody to action oneself
Oneself pushing video (such as small advertisement or promoting video) is uploaded to server-side, and server-side is compressed it, handled and stored,
After flow is successfully connected to the shared hot spot of traffic delivery user publication using the flow using terminal of user, server-side root
Determine whether that the pushing video by traffic delivery person is sent to the flow and uses using the video-see instruction of user according to the flow
Terminal, for example, server-side sends the pushing video of traffic delivery user if flow receives video-see service using user
The flow using terminal of user is used to the flow;
The server-side according to preset charging regulation respectively to the flow user and the traffic delivery person into
Row billing operation;
For example, server-side can issue the length of time of hot spot (i.e. at its traffic delivery terminal according to traffic delivery user
In the time span of traffic delivery state), flow number, the flow shared away used using user flow number, whether
Watching pushing video of traffic delivery user publication etc., convection current amount user and traffic delivery person carry out integral calculation, example respectively
Such as, if flow has viewed the pushing video of traffic delivery user publication using user, traffic delivery user is subtracted and is detained centainly
Integral increases flow user certain integral, and the time that traffic delivery user issues hot spot is longer, the flow shared away
More, obtained integral is also more, and flow is more using the flow that user uses, and the integral for subtracting button is also more.
The flow sharing method that embodiment of the present invention provides, can realize that flow is mutual between heterogeneous networks operator
Lead to, mutually enjoy, mutually deposit, provides bridge between the inadequate mobile phone user of the more mobile phone user of floating resources and flow, be conducive to
Improve user's online environment.
In addition, embodiment of the present invention additionally provides a kind of server-side, comprising:
Module is obtained, for after receiving the flow sharing request that flow is sent using user by flow using terminal
Obtain the current workable shared hot spot of the flow using terminal;
Sending module, for the SSID of the current workable shared hot spot to be sent the flow using terminal;
Processing module, for being made by the flow that the flow using terminal is sent using user receiving the flow
The password of shared hot spot used with the flow is obtained after request using user's request, and the flow is requested using user
The password of the shared hot spot used sends the flow using terminal, wherein the flow includes that the flow makes using request
With the SSID for the shared hot spot that user's request uses.
Wherein, in embodiments of the present invention, the acquisition module includes:
First acquisition unit, for obtaining the current location of the flow using terminal from the flow sharing request;
Searching unit currently may be used for searching the flow using terminal according to the current location of the flow using terminal
The shared hot spot used.
Wherein, in embodiments of the present invention, the acquisition module includes:
Second acquisition unit, the periphery hot spot for obtaining the flow using terminal from the flow sharing request arrange
Table, the periphery hotspot list include the SSID of the hot spot of the own circumference of the flow using terminal current detection;
Judging unit, for judging with the presence or absence of shared hot spot in the periphery hotspot list, if so, by the periphery
Shared hot spot in hotspot list is as the current workable shared hot spot of the flow using terminal.
Wherein, in embodiments of the present invention, the server-side further include:
Hot spot generates control module, in the flow hair for receiving traffic delivery user and being sent by traffic delivery terminal
Shared hot spot setting instruction is generated after cloth request, and the shared hot spot setting instruction is sent to the traffic delivery terminal,
So that the traffic delivery terminal generates shared hot spot according to the shared hot spot setting instruction, wherein the shared hot spot is set
Set the SSID and password that instruction includes the shared hot spot of the generation.
Wherein, in embodiments of the present invention, the server-side further include:
Video push module, the video observing for using user to send by the flow using terminal according to the flow
See that instruction determines whether that the pushing video by the traffic delivery person is sent to the flow using terminal;
Accounting module is used for according to preset charging regulation respectively to the flow user and the traffic delivery person
Carry out billing operation.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this
On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore,
These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.