WO2016082582A1 - Method and system for sharing traffic of terminal - Google Patents

Method and system for sharing traffic of terminal Download PDF

Info

Publication number
WO2016082582A1
WO2016082582A1 PCT/CN2015/086328 CN2015086328W WO2016082582A1 WO 2016082582 A1 WO2016082582 A1 WO 2016082582A1 CN 2015086328 W CN2015086328 W CN 2015086328W WO 2016082582 A1 WO2016082582 A1 WO 2016082582A1
Authority
WO
WIPO (PCT)
Prior art keywords
hotspot
terminal
traffic
shared
name
Prior art date
Application number
PCT/CN2015/086328
Other languages
French (fr)
Chinese (zh)
Inventor
梁捷
吴泽楷
Original Assignee
广州市动景计算机科技有限公司
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 广州市动景计算机科技有限公司 filed Critical 广州市动景计算机科技有限公司
Publication of WO2016082582A1 publication Critical patent/WO2016082582A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of mobile internet technologies, and in particular, to a terminal traffic sharing method and system.
  • terminal traffic is mostly billed in the form of a monthly subscription package.
  • the hierarchical monthly subscription fee provided by network providers has become the charging option for many mobile Internet users.
  • users who choose this form of monthly subscription will choose a flow package that is similar to the monthly traffic consumption demand.
  • the existing network traffic processing solution is not perfect for the user, and the user who does not use the terminal traffic is not connected with the user who has the remaining terminal traffic, and cannot meet the actual needs of the user.
  • an object of the present invention is to provide a terminal traffic sharing method and system to solve the problem that a user cannot maximize the use of terminal package traffic.
  • the present invention provides a terminal traffic sharing method, including:
  • the first terminal sends a share flow request to the traffic sharing server
  • the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
  • the terminal traffic sharing method further includes:
  • the first terminal acquires a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the traffic sharing
  • the second hotspot name and the second hotspot password generated by the server according to the shared traffic request are returned;
  • the first terminal logs in to the second shared hotspot according to the second hotspot password.
  • the terminal traffic sharing method further includes:
  • the first terminal reports the number of bytes of the used traffic to the traffic sharing server;
  • connection disconnection notification sent by the traffic sharing server, where the connection disconnection notification is used Notifying the second terminal to disconnect from the first terminal.
  • the present invention provides a terminal traffic sharing method, including:
  • the traffic sharing server receives the shared traffic request sent by the first terminal;
  • the traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request;
  • the traffic sharing server sends the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
  • the traffic sharing server generates the first hotspot name and the first hotspot password according to the shared traffic request, including:
  • the traffic sharing server generates a random combination of characters, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
  • the terminal traffic sharing method further includes:
  • the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  • the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, including:
  • the traffic sharing server determines whether the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot
  • the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal.
  • the terminal traffic sharing method further includes:
  • the traffic sharing server records the number of bytes of the used traffic reported by the second terminal;
  • the traffic sharing server sends a connection disconnection notification to the second terminal, where the connection is broken.
  • the open notification is used to notify the second terminal to disconnect from the first terminal.
  • the present disclosure provides a terminal traffic sharing device, including:
  • a sharing request sending unit configured to send a sharing traffic request to the traffic sharing server
  • a shared hotspot information receiving unit configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
  • a shared hotspot creating unit configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request, and create a first according to the first hotspot name and the first hotspot password Share hotspots.
  • the terminal traffic sharing device further includes:
  • a hotspot name obtaining unit configured to acquire a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot is sent by the second terminal to the traffic sharing server to share the traffic request, and according to the Created by the traffic sharing server according to the second hotspot name and the second hotspot password generated by the shared traffic request;
  • a hotspot name uploading unit configured to upload the second hotspot name to the traffic sharing server
  • a hotspot password receiving unit configured to receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server
  • the shared hotspot login unit is configured to log in to the second shared hotspot according to the second hotspot password.
  • the terminal traffic sharing device further includes:
  • a byte number reporting unit configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server
  • a disconnection notification receiving unit configured to receive a connection disconnection notification sent by the traffic sharing server, if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal.
  • the connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  • the present invention provides a terminal traffic sharing processing apparatus, including:
  • a sharing request receiving unit configured to receive a shared traffic request sent by the first terminal
  • a shared hotspot information generating unit configured to generate a first hotspot name and a first hotspot password according to the shared traffic request
  • a shared hotspot information sending unit configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first one according to the first hotspot name and the first hotspot password Share hotspots.
  • the terminal traffic sharing processing device specifically generates a random character combination, wherein a part of the characters are the first hotspot name, and another part of the characters is the first hotspot password.
  • the terminal traffic sharing processing device further includes:
  • a hotspot name receiving unit configured to receive the first hotspot name uploaded by the second terminal
  • the hotspot password sending unit is configured to send the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  • the terminal traffic sharing processing device wherein the hotspot password sending unit, the hotspot password sending unit includes:
  • a speed level determining module configured to determine whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot
  • a password sending module configured to: if the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot, the traffic sharing server sends the first hotspot to the second terminal The first hotspot password corresponding to the name.
  • the terminal traffic sharing processing device further includes:
  • a byte number recording unit configured to record a number of bytes of the used traffic reported by the second terminal
  • a disconnection notification sending unit configured to send, when the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sending the second terminal a disconnection notification, the disconnection notification being used to notify the second terminal to disconnect from the first terminal.
  • the present invention provides a terminal, including: a processor, a transmitter, a receiver, and a memory for storing executable instructions of the processor;
  • the memory is configured to store a computer execution instruction
  • the transmitter is configured to send a sharing traffic request to the traffic sharing server
  • the receiver is configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
  • the processor is configured to create a first shared hotspot according to the first hotspot name and the first hotspot password.
  • processor is further configured to:
  • the transmitter is further configured to: upload the second hotspot name to the traffic sharing server;
  • the receiver is further configured to: receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
  • the processor logs in to the second shared hotspot according to the second hotspot password.
  • the transmitter is further configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
  • the receiver is further configured to: if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal, receive a connection disconnection notification sent by the traffic sharing server, The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  • the present invention provides a server, including: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
  • the memory is configured to store a computer execution instruction
  • the receiver is configured to receive a shared traffic request sent by the first terminal
  • the processor is configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
  • the transmitter is configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first share according to the first hotspot name and the first hotspot password. hot spot.
  • the processor specifically generates a random character combination, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
  • the receiver is further configured to: receive the first hotspot name uploaded by the second terminal;
  • the transmitter is further configured to send, to the second terminal, a first hotspot password corresponding to the first hotspot name, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  • the processor specifically determines whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot; if yes, the transmitter sends a location to the second terminal The first hotspot password corresponding to the first hotspot name.
  • the processor is further configured to: record a number of bytes of the used traffic reported by the second terminal;
  • the transmitter is further configured to: send a connection disconnection notification to the second terminal,
  • the connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  • the present invention provides a non-transitory computer readable storage medium comprising computer executed instructions for executing, by a processor of a computer, the terminal to perform terminal traffic as described in the first aspect Sharing method.
  • the present invention provides a non-transitory computer readable storage medium comprising computer executed instructions for executing, by a processor of a computer, the terminal to perform terminal traffic as described in the second aspect Sharing method.
  • FIG. 1 is a schematic flowchart of a terminal traffic sharing method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a data interaction process between a first terminal, a second terminal, and a server in a terminal traffic sharing method according to an embodiment of the present invention
  • FIG. 3 is a detailed flow chart of a terminal traffic sharing method according to an embodiment of the present invention.
  • FIG. 4 is a first logical structural block diagram of a terminal traffic sharing system according to an embodiment of the present invention.
  • FIG. 5 is a second logical structural block diagram of a terminal traffic sharing system according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a data processing method of a traffic sharing server according to an embodiment of the present invention.
  • FIG. 7 is a block diagram showing the logical structure of a device terminal according to an embodiment of the present invention.
  • the present invention provides a terminal traffic sharing method, so that when the user's terminal package traffic has remaining, the remaining traffic can be shared with others to avoid being cleared by the operator; when the user traffic is insufficient, Use the traffic remaining in this person’s plan by finding people who want to share their remaining traffic.
  • the present invention provides a terminal traffic sharing method, including:
  • the first terminal sends a share flow request to the traffic sharing server
  • the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
  • the terminal traffic sharing method further includes:
  • the first terminal acquires a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the traffic sharing
  • the second hotspot name and the second hotspot password generated by the server according to the shared traffic request are returned;
  • the first terminal logs in to the second shared hotspot according to the second hotspot password.
  • the terminal traffic sharing method further includes:
  • the first terminal reports the number of bytes of the used traffic to the traffic sharing server;
  • connection disconnection notification sent by the traffic sharing server, where the connection disconnection notification is used Notifying the second terminal to disconnect from the first terminal.
  • the present disclosure also provides a non-transitory computer readable storage medium comprising computer executed instructions for execution by the processor of a computer to execute the terminal traffic sharing method described above.
  • the invention also provides a terminal traffic sharing method, comprising:
  • the traffic sharing server receives the shared traffic request sent by the first terminal;
  • the traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request;
  • the traffic sharing server sends the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
  • the traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request, including:
  • the traffic sharing server generates a random combination of characters, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
  • the terminal traffic sharing method further includes:
  • the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  • the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, including:
  • the traffic sharing server determines whether the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot
  • the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal.
  • the terminal traffic sharing method further includes:
  • the traffic sharing server records the number of bytes of the used traffic reported by the second terminal;
  • the traffic sharing server sends a connection disconnection notification to the second terminal, where the connection is broken.
  • the open notification is used to notify the second terminal to disconnect from the first terminal.
  • the present invention also provides a non-transitory computer readable storage medium comprising computer executable instructions for execution of the aforementioned terminal traffic sharing method by a processor of a computer when the computer executes the instructions.
  • FIG. 1 shows the flow of a terminal traffic sharing method in accordance with an implementation of the present invention.
  • a terminal traffic sharing method provided by an embodiment of the present invention includes:
  • Step S110 The first terminal sends a share flow request to the traffic sharing server.
  • the first terminal includes, but is not limited to, a user's terminal, a laptop, a PDA, and the like.
  • the user A uses the terminal to share the traffic
  • the user A sends a shared traffic request to the traffic sharing server through the terminal.
  • the traffic sharing server executes the user and the user.
  • a share traffic related operations For example, when the user A uses the terminal to share the traffic, the user A sends a shared traffic request to the traffic sharing server through the terminal. After receiving the request, the traffic sharing server executes the user and the user. A share traffic related operations.
  • Step S120 The traffic sharing server generates a hotspot name and a hotspot password according to the shared traffic request, and sends the hotspot password to the first terminal.
  • Shared traffic request packet sent by user A to the traffic sharing server After the user A wants to create a shared hotspot, the traffic sharing server receives the shared traffic request, obtains the information that the user A wants to create the shared hotspot, and immediately generates the hotspot name and the hotspot password to be sent to the user A's terminal for User A creates a shared hotspot.
  • the traffic of other users who obtain the shared hotspot creator is actually the traffic of the creator.
  • Step S130 The first terminal creates a shared hotspot according to the hotspot name and the hotspot password.
  • user A After user A creates a shared hotspot through the terminal, if another user logs in to the shared hotspot, user A can share his terminal traffic to the user who logs in to the shared hotspot, and the user who logs in to the shared hotspot can use the user.
  • User A's terminal traffic that creates a shared hotspot is online.
  • Step S140 The second terminal acquires the hotspot name of the shared hotspot and uploads it to the traffic sharing server.
  • the second terminal is a device that can use the Internet for other users, such as a terminal, a laptop, or a PDA.
  • the other user uses the user B as an example, and the user B wants to use the traffic of the user A.
  • the user B searches for the terminal of the user A through the terminal. Create a shared hotspot, then get the hotspot name of the shared hotspot and upload it to the traffic sharing server.
  • Step S150 The traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal.
  • the traffic sharing server After receiving the hotspot name uploaded by the terminal of the user B, the traffic sharing server queries the hotspot password corresponding to the hotspot name, and sends the hotspot password to the end of the user B.
  • Step S160 Log in to the shared hotspot through the second terminal according to the hotspot password, and obtain the traffic.
  • the user B's terminal After the user B's terminal receives the hotspot password sent by the traffic sharing server and logs in to the shared hotspot, the user A's traffic can be accessed.
  • a user who wants to share traffic acts as a traffic sharer
  • a user who wants to use traffic acts as a traffic consumer
  • a user can act as both a traffic sharer and a traffic consumer.
  • the traffic sharing person and the traffic user are uniformly managed by establishing an account system, and when the user wants to share the traffic or use the traffic, first log in to the account system, so that Users who are not logged in to the account system will not be able to get the traffic shared by others.
  • users must first share their traffic to others before they can use other people's traffic.
  • S201 The first terminal sends a sharing traffic request to the traffic sharing server.
  • the traffic sharing server generates a hotspot name and a hotspot password according to the shared traffic request.
  • the traffic sharing server sends the generated hotspot name and hotspot password to the first terminal.
  • S204 The first terminal creates a shared hotspot according to the hotspot name and the hotspot password.
  • S205 The second terminal acquires a hotspot name of the shared hotspot created by the first terminal.
  • S206 The second terminal uploads the obtained hotspot name to the traffic sharing server.
  • the traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal.
  • the second terminal logs in to the shared hotspot according to the hotspot password, and uses the traffic of the first terminal
  • the second terminal reports the number of bytes of the traffic of the first terminal to the traffic sharing server, and the first terminal shares the second.
  • the number of bytes of the traffic of the terminal is reported to the traffic sharing server.
  • the traffic sharing server records the number of bytes of traffic reported by the first terminal and the second terminal.
  • FIG. 3 shows a detailed flow of a terminal traffic sharing method according to an embodiment of the present invention.
  • the terminal traffic sharing method provided by the embodiment of the present invention includes:
  • Step S310 The user logs in to the account system.
  • the account system can manage users in the system by means of account management. Users who have not logged in to the system must log in to the system to register an account first, and log in to the system through the registered account. The user who has the account can be registered according to the account. The account is logged into the system, and the account system can also manage users in the system in other ways.
  • the account system After the user logs in to the account system, the account system presents the user with two functions, one function is “share traffic” and the other function is “use traffic”. For users who log in to the account system for the first time, you must use the “Share Traffic” function to share the traffic to other users before using the “Use Traffic” function. Therefore, the user can only select the shared traffic function for the first time to log in to the account system. For users who are not the first time to log in to the account system, after logging in to the account system, they can choose to share the traffic function or use the traffic function according to their actual needs.
  • the sharing traffic function is equivalent to sending a sharing traffic request to the traffic sharing server.
  • the user selecting to use the traffic function is equivalent to sending a usage traffic request to the traffic sharing server, and the traffic sharing server performs corresponding operations according to the type of the request.
  • step S320 it is determined that the user selects the shared traffic function or uses the traffic function. If the user selects the shared traffic function, step S330 is performed; if the user selects to use the traffic function, step S360 is performed.
  • the Share Traffic feature and the Use Traffic feature are two side-by-side features for users who are not the first to log in to the account system.
  • Step S330 Establish a Wi-Fi hotspot.
  • the Wi-Fi hotspot name and password must be obtained from the traffic sharing server. Specifically, a 16-digit alphanumeric random combination is generated by the traffic sharing server, and the first 8 characters of the Wi-Fi-Share+16-bit random combination are used as the hotspot name, and the last 8 characters of the 16-bit random combination are used as the hotspot password.
  • the hotspot name is Wi-Fi-Share23sd3231 and the hotspot password is da2383re, but the invention is not limited to generating a random combination of 16-bit characters.
  • Wi-Fi-Share is only the beginning of the hotspot name, which is easy for other users to find, and can also be replaced with the beginning of other hotspot names.
  • the traffic sharing server can also randomly generate character combinations of other digits, using a part of the characters as the hotspot name of the shared hotspot and another part of the characters as the hotspot password of the shared hotspot.
  • Step S340 Another user accesses the established Wi-Fi hotspot.
  • the process of user B accessing the established Wi-Fi hotspot is: after user B logs in to the account system, scans the hotspots at the beginning of Wi-Fi-Share, and after finding the hotspot, the hotspot name is after 8
  • the bit character is uploaded to the traffic sharing server, and the traffic sharing server determines whether the user B is a user who has shared the traffic. If yes, the traffic sharing server queries the password of the Wi-Fi hotspot and sends the password to the user B. After the user B obtains the password, Log in to the Wi-Fi hotspot and go online; if not, the traffic sharing server does not send the password of the Wi-Fi hotspot to User B, and prompts User B to share the traffic first.
  • the traffic sharing server can set the size of the traffic shared by the user. For example, the A user has 50M of remaining traffic, he can share the 20M traffic to the B user, and the remaining 30M traffic is used by itself, which avoids The traffic that the B user obtains from the A user exceeds the traffic remaining by the A user. However, if no other user accesses the Wi-Fi hotspot established by the A user, the A user cannot share the traffic.
  • Step S350 The traffic sharing server records the traffic information shared by the user and the traffic information used by another user.
  • the traffic sharing server can collect the traffic information shared by each user to other users and the traffic information of each user using other users by establishing a data table.
  • the data table is as follows:
  • the number of bytes of traffic used by other users cannot be greater than the number of bytes of traffic shared by users.
  • users can share 50M traffic
  • users can use up to 50M traffic of other users, but share
  • the outgoing traffic and the used traffic can be accumulated, and the sum of the used traffic is less than or equal to the sum of the shared traffic.
  • traffic is divided into three types according to speed, namely 4G, 3G and 2G, which are equivalent to three speed grades, namely 4G network speed>3G network speed>2G network speed, and the traffic sharing server records each user.
  • the speed grade of traffic shared to other users and the speed of traffic of other users used by each user Degree level, the speed grade of the traffic of other users to be used by the user is less than or equal to the speed grade of the traffic shared by the user to other users, that is, the user can use the low speed traffic after sharing the high speed traffic, but the user cannot use the high speed traffic after sharing the low speed traffic.
  • the user can use other users' 4G, 3G, or 2G traffic; if the user shares 3G traffic with other users, the user can use other users' 2G or 3G traffic; if the user shares 2G traffic with other users, the user can only use 2G traffic of other users.
  • the traffic sharing server determines whether the speed grade of the shared hotspot that the user logs in through the terminal is less than or equal to the user recorded by the traffic sharing server and shares it with other users through the terminal. The speed level of the traffic; if so, the user can use the traffic of the shared hotspot through the terminal; if not, the traffic sharing server notifies the user of the terminal to disconnect from the terminal that created the shared hotspot.
  • the traffic sharing server determines whether the speed level of the traffic shared by the user to the other user through the terminal is less than or equal to the speed grade of the shared hotspot; if yes, the traffic sharing server sends the terminal to the user.
  • the hotspot password corresponding to the hotspot name is sent by the user after the user logs in to the shared hotspot according to the hotspot password. If no, the traffic sharing server does not send the hotspot password corresponding to the hotspot name to the terminal of the user.
  • the speed grade of the shared hotspot is the speed grade of the traffic of the terminal that creates the shared hotspot.
  • the user reports the traffic to the traffic sharing server for each use of the 1M traffic.
  • the traffic sharing server reduces the traffic value that the user can use by 1. When the available traffic value is 0, the traffic sharing server automatically Disconnected from the network, users cannot continue to use shared traffic.
  • Step S360 determining whether the user shares the traffic, if yes, executing step S370; if not, executing step S390.
  • the user shares the traffic it further determines whether the user has available traffic. If the user does not share the traffic, the user cannot use the traffic of other users, and the user is prompted to share the traffic first.
  • Step S370 determining whether the user has available traffic, and if so, executing step S380; If not, step S390 is performed.
  • the traffic sharing server determines whether the user has available traffic, and if so, proceeds to the subsequent use of traffic of other users; if not, the user has no available traffic or the user The user has not shared traffic.
  • the available traffic shared traffic - used traffic.
  • Step S380 Find a Wi-Fi hotspot established by a surrounding user, and access the Wi-Fi hotspot to obtain traffic.
  • the process of the user accessing the Wi-Fi hotspot refers to step S340.
  • the traffic sharing server After the user accesses the Wi-Fi hotspot, the traffic sharing server records the traffic of other users used by the user.
  • the network When the traffic value that the user can use is 0, the network is interrupted, that is, the traffic shared by the traffic sharing server is available to the user.
  • the value is used as a threshold to automatically disconnect the network when the traffic used by the user reaches a critical value. For example, if the user once shared 50M traffic, the user can use 50M traffic and 50M traffic as the critical value. Now, 30M traffic is used from other users, then the available traffic is reduced by 30M, and 20M is left. If you continue to use traffic, you can only use up to 20M, that is, when the traffic used by the user reaches the critical value of 50M, the network is automatically interrupted.
  • Step S390 The traffic of other users cannot be used.
  • steps S310-S390 describe the terminal traffic sharing method provided by the embodiment of the present invention in detail.
  • the shared hotspot is created by using the hotspot name and the hotspot password generated by the traffic sharing server. Share the remaining traffic to other users.
  • the user traffic is insufficient to obtain traffic, log in to the terminal traffic sharing system and then use the traffic shared by the neighbors to enable the user to use the terminal package traffic more reasonably.
  • the present invention provides a terminal traffic sharing system.
  • FIG. 4 illustrates a first logical structure of a terminal traffic sharing system in accordance with an embodiment of the present invention.
  • the terminal traffic sharing system 400 includes a sharing request sending unit 410, a shared hotspot creating unit 420, a hotspot name obtaining unit 430, and a shared hotspot login unit. 440.
  • the sharing request sending unit 410 is configured to send a sharing traffic request to the traffic sharing server by using the first terminal.
  • the shared hotspot creation unit 420 is configured to create a shared hotspot through the first terminal according to the hotspot name and the hotspot password sent by the traffic sharing server.
  • the hotspot name obtaining unit 430 is configured to acquire the hotspot name of the shared hotspot by using the second terminal, and upload the hotspot name to the traffic sharing server.
  • the shared hotspot login unit 440 is configured to log in to the shared hotspot through the second terminal according to the hotspot password corresponding to the hotspot name sent by the traffic sharing server.
  • FIG. 5 shows a second logical structure of a terminal traffic sharing system according to an embodiment of the present invention.
  • the shared hotspot registration unit 440 includes a speed level determining module 441, for determining whether the speed level of the traffic shared by the second terminal is less than or equal to the shared hotspot in the process of logging in the shared hotspot according to the shared hotspot login unit 440.
  • the speed level if yes, the traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal.
  • the terminal traffic sharing system 400 further includes a byte number recording unit 450, configured to record the number of bytes of the used traffic reported by the second terminal after logging in the shared hotspot according to the shared hotspot login unit 440; if the second terminal reports the used The number of bytes of the traffic is greater than or equal to the number of bytes of traffic shared by the second terminal to other terminals, and the traffic sharing server notifies the first terminal to disconnect from the second terminal.
  • a byte number recording unit 450 configured to record the number of bytes of the used traffic reported by the second terminal after logging in the shared hotspot according to the shared hotspot login unit 440; if the second terminal reports the used The number of bytes of the traffic is greater than or equal to the number of bytes of traffic shared by the second terminal to other terminals, and the traffic sharing server notifies the first terminal to disconnect from the second terminal.
  • the present invention further provides a traffic sharing server, and the data processing procedure thereof is as shown in FIG. 6.
  • the user A and the user B are taken as an example.
  • the data processing method of the traffic sharing server 600 provided by the present invention includes :
  • Step S601 Generate a hotspot name and a hotspot password according to the shared traffic request sent by the user A, and send the generated hotspot name and the hotspot password to the terminal of the user A.
  • Step S602 Send the hotspot password corresponding to the uploaded hotspot name to the terminal of the user B according to the hotspot name uploaded by the user B.
  • the traffic sharing server 600 generates a random combination of 16-bit characters in the process of generating the hotspot name and the hotspot password according to the shared traffic request sent by the user A through the terminal.
  • the first 8 characters are used as hotspot names, and the last 8 characters are used as hotspot passwords.
  • the traffic sharing server 600 records the number of bytes of the traffic reported by the user B through the terminal, that is, the number of bytes of the traffic that the user A shares with the user B through the terminal; if the number of bytes of the traffic reported by the user B through the terminal is greater than Or the number of bytes of traffic shared by the user B to other users through the terminal, and the traffic sharing server notifies the terminal of the user A to disconnect from the terminal of the user B.
  • the traffic sharing server 600 determines whether the speed level of the traffic shared by the user B to other users through the terminal is less than or equal to The speed grade of the shared hotspot; if so, the traffic sharing server 600 sends the hotspot password corresponding to the hotspot name to the terminal of the user B. In another embodiment of the data processing method of the shared server 600, in the process in which the user B logs in to the shared hotspot through the terminal and uses the traffic of the user A, the traffic sharing server 600 limits the traffic shared by the user A to the user B through the terminal. size.
  • the implementation sequence is in no particular order.
  • the present invention further provides a device terminal.
  • the device terminal 700 includes a terminal traffic sharing system 400 and a traffic sharing server 600.
  • the terminal traffic sharing system 400 has the structure described in FIG. 5.
  • the traffic sharing server 600 is the traffic sharing server described in FIG. 6. For details, refer to the foregoing description, and details are not described herein again.
  • the invention also provides a terminal traffic sharing device, comprising:
  • a sharing request sending unit configured to send a sharing traffic request to the traffic sharing server
  • a shared hotspot information receiving unit configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
  • a shared hotspot creating unit configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request, and create a first according to the first hotspot name and the first hotspot password Share hotspots.
  • the terminal traffic sharing device further includes:
  • a hotspot name obtaining unit configured to acquire a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot is sent by the second terminal to the traffic sharing server to share the traffic request, and according to the Created by the traffic sharing server according to the second hotspot name and the second hotspot password generated by the shared traffic request;
  • a hotspot name uploading unit configured to upload the second hotspot name to the traffic sharing server
  • a hotspot password receiving unit configured to receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server
  • the shared hotspot login unit is configured to log in to the second shared hotspot according to the second hotspot password.
  • the terminal traffic sharing device further includes:
  • a byte number reporting unit configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server
  • a disconnection notification receiving unit configured to receive a connection disconnection notification sent by the traffic sharing server, if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal.
  • the connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  • the present invention also provides a terminal traffic sharing processing apparatus, including:
  • a sharing request receiving unit configured to receive a shared traffic request sent by the first terminal
  • a shared hotspot information generating unit configured to generate a first hotspot name and a first hotspot password according to the shared traffic request
  • a shared hotspot information sending unit configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first one according to the first hotspot name and the first hotspot password Share hotspots.
  • the shared hotspot information generating unit specifically generates a random character combination, wherein a part of the characters are the first hotspot name, and another part of the characters is the first hotspot password.
  • the terminal traffic sharing processing device further includes:
  • a hotspot name receiving unit configured to receive the first hotspot name uploaded by the second terminal
  • the hotspot password sending unit is configured to send the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  • the hotspot password sending unit includes:
  • a speed level determining module configured to determine whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot
  • a password sending module configured to: if the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot, the traffic sharing server sends the first hotspot to the second terminal The first hotspot password corresponding to the name.
  • the terminal traffic sharing processing device further includes:
  • a byte number recording unit configured to record a number of bytes of the used traffic reported by the second terminal
  • a disconnection notification sending unit configured to send, when the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sending the second terminal a disconnection notification, the disconnection notification being used to notify the second terminal to disconnect from the first terminal.
  • the present invention also provides a terminal, comprising: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
  • the memory is configured to store a computer execution instruction
  • the transmitter is configured to send a sharing traffic request to the traffic sharing server
  • the receiver is configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
  • the processor is configured to create a first shared hotspot according to the first hotspot name and the first hotspot password.
  • the processor is further configured to:
  • the transmitter is further configured to: upload the second hotspot name to the traffic sharing server;
  • the receiver is further configured to: receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
  • the processor logs in to the second shared hotspot according to the second hotspot password.
  • the transmitter is further configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
  • the receiver is further configured to: if the number of bytes of the traffic reported by the first terminal is greater than or equal to the first The number of bytes of the traffic shared by the terminal is received by the traffic sharing server, and the connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  • the present invention also provides a server comprising: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
  • the memory is configured to store a computer execution instruction
  • the receiver is configured to receive a shared traffic request sent by the first terminal
  • the processor is configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
  • the transmitter is configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first share according to the first hotspot name and the first hotspot password. hot spot.
  • the processor specifically generates a random combination of characters, where a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
  • the receiver is further configured to: receive the first hotspot name uploaded by the second terminal;
  • the transmitter is further configured to send, to the second terminal, a first hotspot password corresponding to the first hotspot name, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  • the processor specifically determines whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot; if yes, the transmitter sends a location to the second terminal.
  • the first hotspot password corresponding to the first hotspot name.
  • the processor is further configured to: record a number of bytes of the used traffic reported by the second terminal;
  • the transmitter is further configured to: send a connection disconnection notification to the second terminal,
  • the connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  • the method and system for sharing the terminal traffic provided by the present invention are described in detail above.
  • the terminal package traffic is surplus, the user sends a shared traffic request to the traffic sharing server, and the shared hotspot is created by the hotspot name and the hotspot password generated by the traffic sharing server, and the shared hotspot is created in the package.
  • the remaining traffic is shared with other users, and the user terminal package traffic is wasted.
  • the terminal package traffic is insufficient, the user searches for the shared hotspot created by other users, and obtains the hotspot password from the traffic sharing server. After the user logs in to the shared hotspot through the hotspot password, Use the traffic provided by other users to prevent users from paying extra Internet access, so that users can use terminal package traffic more reasonably and maximized.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a method and system for sharing traffic of a terminal. The method comprises: a first terminal sends a traffic sharing request to a traffic sharing server; the traffic sharing server generates a hotspot name and a hotspot password according to the traffic sharing request, and sends the hotspot name and the hotspot password to the first terminal; the first terminal establishes a sharing hotspot according to the hotspot name and the hotspot password; a second terminal acquires the hotspot name of the sharing hotspot, and uploads the hotspot name of the sharing hotspot to the traffic sharing server; the traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal; and the second terminal logs in to the sharing hotspot according to the hotspot password. By means of the method and the system, a user can maximize the use of package traffic of a terminal more properly.

Description

终端流量共享方法及系统Terminal traffic sharing method and system
本发明要求于2014年11月28日提交中国专利局、申请号为201410709555.3、发明名称为“终端流量共享方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本发明中。The present invention claims priority to Chinese Patent Application No. 2014-10709555.3, entitled "Terminal Traffic Sharing Method and System", filed on November 28, 2014, the entire disclosure of which is incorporated herein by reference.
技术领域Technical field
本发明涉及移动互联网技术领域,更为具体地,涉及一种终端流量共享方法及系统。The present invention relates to the field of mobile internet technologies, and in particular, to a terminal traffic sharing method and system.
背景技术Background technique
在中国等国家,终端流量大部分采用包月套餐的形式计费,特别是中国,网络供应商提供的分级包月的计费形式成为众多移动网民的计费选择。为了最大化消费效益,选择这种包月形式的用户会选择一个与月流量消费需求相近的流量套餐。In countries such as China, terminal traffic is mostly billed in the form of a monthly subscription package. In particular, in China, the hierarchical monthly subscription fee provided by network providers has become the charging option for many mobile Internet users. In order to maximize the benefits of consumption, users who choose this form of monthly subscription will choose a flow package that is similar to the monthly traffic consumption demand.
但是,由于用户每个月使用的流量大小并不是固定一致的,固定的包月形式就会出现有些月份流量不够用,有些月份流量又有剩余的情况;由于套餐流量是和终端号绑定的,因此,当用户的套餐流量不够用时,会额外增加用户的上网费用;而在套餐流量有剩余时也无法共享给他人,从而造成流量浪费。However, since the traffic volume used by users every month is not fixed, the fixed monthly subscription format will appear to be insufficient for some months, and the traffic will be left in some months; since the package traffic is bound to the terminal number, Therefore, when the user's package traffic is not enough, the user's Internet access fee will be additionally increased; and when the package traffic has remaining, it cannot be shared with others, resulting in wasted traffic.
因此,现有的网络流量处理方案对于用户而言并不完善,没有将终端流量不够用的用户和终端流量剩余的用户联系在一起,不能满足用户的实际需求。Therefore, the existing network traffic processing solution is not perfect for the user, and the user who does not use the terminal traffic is not connected with the user who has the remaining terminal traffic, and cannot meet the actual needs of the user.
因此,需要一种全新的终端流量共享方案,实现流量的分享,使用户流量的使用更加合理。Therefore, a new terminal traffic sharing scheme is needed to realize the sharing of traffic and make the use of user traffic more reasonable.
发明内容Summary of the invention
鉴于上述问题,本发明的目的是提供一种终端流量共享方法及系统,以解决用户无法最大化使用终端套餐流量的问题。 In view of the above problems, an object of the present invention is to provide a terminal traffic sharing method and system to solve the problem that a user cannot maximize the use of terminal package traffic.
第一方面,本发明提供一种终端流量共享方法,包括:In a first aspect, the present invention provides a terminal traffic sharing method, including:
第一终端向流量共享服务器发送分享流量请求;The first terminal sends a share flow request to the traffic sharing server;
所述第一终端接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;Receiving, by the first terminal, the first hotspot name and the first hotspot password generated by the traffic sharing server according to the shared traffic request;
所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。The first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
进一步,所述的终端流量共享方法,还包括:Further, the terminal traffic sharing method further includes:
所述第一终端获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;The first terminal acquires a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the traffic sharing The second hotspot name and the second hotspot password generated by the server according to the shared traffic request are returned;
所述第一终端上传所述第二热点名称至所述流量共享服务器;Sending, by the first terminal, the second hotspot name to the traffic sharing server;
所述第一终端接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;Receiving, by the first terminal, a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
所述第一终端根据所述第二热点密码登录所述第二共享热点。The first terminal logs in to the second shared hotspot according to the second hotspot password.
进一步,所述的终端流量共享方法,还包括:Further, the terminal traffic sharing method further includes:
所述第一终端将使用的流量的字节数上报至所述流量共享服务器;The first terminal reports the number of bytes of the used traffic to the traffic sharing server;
如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。And if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal, receiving a connection disconnection notification sent by the traffic sharing server, where the connection disconnection notification is used Notifying the second terminal to disconnect from the first terminal.
第二方面,本发明提供一种终端流量共享方法,包括:In a second aspect, the present invention provides a terminal traffic sharing method, including:
流量共享服务器接收第一终端发送的分享流量请求;The traffic sharing server receives the shared traffic request sent by the first terminal;
所述流量共享服务器根据所述分享流量请求生成第一热点名称和第一热点密码;The traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request;
所述流量共享服务器向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。The traffic sharing server sends the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
进一步,所述流量共享服务器根据所述分享流量请求生成第一热点名称和第一热点密码,包括:Further, the traffic sharing server generates the first hotspot name and the first hotspot password according to the shared traffic request, including:
所述流量共享服务器生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。The traffic sharing server generates a random combination of characters, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
进一步,所述的终端流量共享方法,还包括: Further, the terminal traffic sharing method further includes:
所述流量共享服务器接收第二终端上传的所述第一热点名称;Receiving, by the traffic sharing server, the first hotspot name uploaded by the second terminal;
所述流量共享服务器向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
进一步,所述流量共享服务器向所述第二终端发送所述第一热点名称对应的第一热点密码,包括:Further, the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, including:
所述流量共享服务器判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;The traffic sharing server determines whether the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot;
如果是,所述流量共享服务器向所述第二终端发送与所述第一热点名称对应的第一热点密码。If yes, the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal.
进一步,所述的终端流量共享方法,还包括:Further, the terminal traffic sharing method further includes:
所述流量共享服务器记录所述第二终端上报的使用的流量的字节数;The traffic sharing server records the number of bytes of the used traffic reported by the second terminal;
如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,所述流量共享服务器向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。If the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sends a connection disconnection notification to the second terminal, where the connection is broken. The open notification is used to notify the second terminal to disconnect from the first terminal.
第三方面,本方面提供一种终端流量共享装置,包括:In a third aspect, the present disclosure provides a terminal traffic sharing device, including:
分享请求发送单元,用于向流量共享服务器发送分享流量请求;a sharing request sending unit, configured to send a sharing traffic request to the traffic sharing server;
共享热点信息接收单元,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;a shared hotspot information receiving unit, configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
共享热点创建单元,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码,根据所述第一热点名称和所述第一热点密码创建第一共享热点。a shared hotspot creating unit, configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request, and create a first according to the first hotspot name and the first hotspot password Share hotspots.
进一步,所述的终端流量共享装置,还包括:Further, the terminal traffic sharing device further includes:
热点名称获取单元,用于获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;a hotspot name obtaining unit, configured to acquire a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot is sent by the second terminal to the traffic sharing server to share the traffic request, and according to the Created by the traffic sharing server according to the second hotspot name and the second hotspot password generated by the shared traffic request;
热点名称上传单元,用于上传所述第二热点名称至所述流量共享服务器;a hotspot name uploading unit, configured to upload the second hotspot name to the traffic sharing server;
热点密码接收单元,用于接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码; a hotspot password receiving unit, configured to receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
共享热点登录单元,用于根据所述第二热点密码登录所述第二共享热点。The shared hotspot login unit is configured to log in to the second shared hotspot according to the second hotspot password.
进一步,所述的终端流量共享装置,还包括:Further, the terminal traffic sharing device further includes:
字节数上报单元,用于将所述第一终端使用的流量的字节数上报至所述流量共享服务器;a byte number reporting unit, configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
连接断开通知接收单元,用于如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。a disconnection notification receiving unit, configured to receive a connection disconnection notification sent by the traffic sharing server, if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
第四方面,本发明提供一种终端流量共享处理装置,包括:In a fourth aspect, the present invention provides a terminal traffic sharing processing apparatus, including:
共享请求接收单元,用于接收第一终端发送的分享流量请求;a sharing request receiving unit, configured to receive a shared traffic request sent by the first terminal;
共享热点信息生成单元,用于根据所述分享流量请求生成第一热点名称和第一热点密码;a shared hotspot information generating unit, configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
共享热点信息发送单元,用于向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。a shared hotspot information sending unit, configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first one according to the first hotspot name and the first hotspot password Share hotspots.
进一步,所述的终端流量共享处理装置,所述共享热点信息生成单元,具体生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。Further, the terminal traffic sharing processing device, the shared hotspot information generating unit, specifically generates a random character combination, wherein a part of the characters are the first hotspot name, and another part of the characters is the first hotspot password.
进一步,所述的终端流量共享处理装置,还包括:Further, the terminal traffic sharing processing device further includes:
热点名称接收单元,用于接收第二终端上传的所述第一热点名称;a hotspot name receiving unit, configured to receive the first hotspot name uploaded by the second terminal;
热点密码发送单元,用于向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The hotspot password sending unit is configured to send the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
进一步,所述的终端流量共享处理装置,其中,所述热点密码发送单元,所述热点密码发送单元,包括:Further, the terminal traffic sharing processing device, wherein the hotspot password sending unit, the hotspot password sending unit includes:
速度等级判断模块,用于判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;a speed level determining module, configured to determine whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot;
密码发送模块,用于如果所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级,所述流量共享服务器向所述第二终端发送与所述第一热点名称对应的第一热点密码。a password sending module, configured to: if the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot, the traffic sharing server sends the first hotspot to the second terminal The first hotspot password corresponding to the name.
进一步,所述的终端流量共享处理装置,还包括: Further, the terminal traffic sharing processing device further includes:
字节数记录单元,用于记录所述第二终端上报的使用的流量的字节数;a byte number recording unit, configured to record a number of bytes of the used traffic reported by the second terminal;
连接断开通知发送单元,用于如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,所述流量共享服务器向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。a disconnection notification sending unit, configured to send, when the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sending the second terminal a disconnection notification, the disconnection notification being used to notify the second terminal to disconnect from the first terminal.
第五方面,本发明提供一种终端,包括:处理器;发射器;接收器;用于存储处理器可执行指令的存储器;In a fifth aspect, the present invention provides a terminal, including: a processor, a transmitter, a receiver, and a memory for storing executable instructions of the processor;
所述存储器,用于存储计算机执行指令;The memory is configured to store a computer execution instruction;
所述发射器,用于向流量共享服务器发送分享流量请求;The transmitter is configured to send a sharing traffic request to the traffic sharing server;
所述接收器,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;The receiver is configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
所述处理器,用于根据所述第一热点名称和所述第一热点密码创建第一共享热点。The processor is configured to create a first shared hotspot according to the first hotspot name and the first hotspot password.
进一步,所述处理器还用于:Further, the processor is further configured to:
获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;则,Acquiring a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the basis returned by the traffic sharing server The second hotspot name generated by the shared traffic request and the second hotspot password are created;
所述发射器还用于:上传所述第二热点名称至所述流量共享服务器;The transmitter is further configured to: upload the second hotspot name to the traffic sharing server;
所述接收器还用于:接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;则,The receiver is further configured to: receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
所述处理器,根据所述第二热点密码登录所述第二共享热点。The processor logs in to the second shared hotspot according to the second hotspot password.
进一步,所述发射器还用于:将所述第一终端使用的流量的字节数上报至所述流量共享服务器;则,Further, the transmitter is further configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
所述接收器还用于:如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。The receiver is further configured to: if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal, receive a connection disconnection notification sent by the traffic sharing server, The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
第六方面,本发明提供一种服务器,包括:处理器;发射器;接收器;用于存储处理器可执行指令的存储器;In a sixth aspect, the present invention provides a server, including: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
所述存储器,用于存储计算机执行指令;The memory is configured to store a computer execution instruction;
所述接收器,用于接收第一终端发送的分享流量请求; The receiver is configured to receive a shared traffic request sent by the first terminal;
所述处理器,用于根据所述分享流量请求生成第一热点名称和第一热点密码;The processor is configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
所述发射器,用于向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。The transmitter is configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first share according to the first hotspot name and the first hotspot password. hot spot.
进一步,所述处理器具体生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。Further, the processor specifically generates a random character combination, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
进一步,所述接收器还用于:收第二终端上传的所述第一热点名称;则,Further, the receiver is further configured to: receive the first hotspot name uploaded by the second terminal;
所述发射器,还用于向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The transmitter is further configured to send, to the second terminal, a first hotspot password corresponding to the first hotspot name, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
进一步,所述处理器具体判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;如果是,则所述发射器向所述第二终端发送与所述第一热点名称对应的第一热点密码。Further, the processor specifically determines whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot; if yes, the transmitter sends a location to the second terminal The first hotspot password corresponding to the first hotspot name.
进一步,所述处理器还用于:记录所述第二终端上报的使用的流量的字节数;Further, the processor is further configured to: record a number of bytes of the used traffic reported by the second terminal;
如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,则所述发射器还用于:向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。And if the number of bytes of the traffic used by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the transmitter is further configured to: send a connection disconnection notification to the second terminal, The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
第七方面,本发明提供一种非临时性计算机可读存储介质,包括计算机执行指令,以供计算机的处理器执行所述计算机执行指令时,所述计算机执行第一方面中所述的终端流量共享方法。In a seventh aspect, the present invention provides a non-transitory computer readable storage medium comprising computer executed instructions for executing, by a processor of a computer, the terminal to perform terminal traffic as described in the first aspect Sharing method.
第八方面,本发明提供一种非临时性计算机可读存储介质,包括计算机执行指令,以供计算机的处理器执行所述计算机执行指令时,所述计算机执行第二方面中所述的终端流量共享方法。In an eighth aspect, the present invention provides a non-transitory computer readable storage medium comprising computer executed instructions for executing, by a processor of a computer, the terminal to perform terminal traffic as described in the second aspect Sharing method.
为了实现上述以及相关目的,本发明的一个或多个方面包括后面将详细说明并在权利要求中特别指出的特征。下面的说明以及附图详细说明了本发明的某些示例性方面。然而,这些方面指示的仅仅是可使用本发明的原理的各种方式中的一些方式。此外,本发明旨在包括所有这些方面以及它们的等同物。In order to achieve the above and related ends, one or more aspects of the present invention include the features which are described in detail below and particularly pointed out in the claims. The following description and the annexed drawings set forth in detail However, these aspects are indicative of only some of the various ways in which the principles of the invention may be employed. Furthermore, the invention is intended to cover all such aspects and their equivalents.
附图说明DRAWINGS
通过参考以下结合附图的说明及权利要求书的内容,并且随着对本发明的更 全面理解,本发明的其它目的及结果将更加明白及易于理解。在附图中:Reference is made to the following description in conjunction with the drawings and the claims, and Other objects and results of the present invention will be more fully understood and appreciated. In the drawing:
图1为根据本发明实施例的终端流量共享方法的流程示意图;FIG. 1 is a schematic flowchart of a terminal traffic sharing method according to an embodiment of the present invention;
图2为根据本发明实施例的终端流量共享方法中的第一终端、第二终端和服务器之间的数据交互过程示意图;2 is a schematic diagram of a data interaction process between a first terminal, a second terminal, and a server in a terminal traffic sharing method according to an embodiment of the present invention;
图3为根据本发明实施例的终端流量共享方法的详细流程示意图;3 is a detailed flow chart of a terminal traffic sharing method according to an embodiment of the present invention;
图4为根据本发明实施例的终端流量共享系统的第一逻辑结构框图;4 is a first logical structural block diagram of a terminal traffic sharing system according to an embodiment of the present invention;
图5为根据本发明实施例的终端流量共享系统的第二逻辑结构框图;FIG. 5 is a second logical structural block diagram of a terminal traffic sharing system according to an embodiment of the present invention; FIG.
图6为根据本发明实施例的流量共享服务器的数据处理方法的流程示意图;6 is a schematic flowchart of a data processing method of a traffic sharing server according to an embodiment of the present invention;
图7为根据本发明实施例的设备终端的逻辑结构框图。FIG. 7 is a block diagram showing the logical structure of a device terminal according to an embodiment of the present invention.
在所有附图中相同的标号指示相似或相应的特征或功能。The same reference numerals are used throughout the drawings to refer to the
具体实施方式detailed description
在下面的描述中,出于说明的目的,为了提供对一个或多个实施例的全面理解,阐述了许多具体细节。然而,很明显,也可以在没有这些具体细节的情况下实现这些实施例。在其它例子中,为了便于描述一个或多个实施例,公知的结构和设备以方框图的形式示出。In the following description, for the purposes of illustration However, it is apparent that these embodiments may be practiced without these specific details. In other instances, well known structures and devices are shown in block diagram form in order to facilitate describing one or more embodiments.
在现有的网络流量处理方案中,对于用户而言,如果当月的终端套餐流量用不完剩下时月末就会被清零,而不会累积到下个月的套餐流量内,当下个月的套餐流量不够用时,想要继续上网就会额外支出上网费用,用户始终无法最大化地使用终端套餐流量。针对上述问题,本发明提供一种终端流量共享方法,使得在用户的终端套餐流量有剩余的情况下,能够将剩余的流量分享给别人,避免被运行商清零;在用户流量不够用时,可以通过寻找想分享自身剩余流量的人从而使用此人套餐中剩余的流量。In the existing network traffic processing scheme, for the user, if the terminal package traffic of the current month is not enough, it will be cleared at the end of the month, and will not be accumulated in the package traffic of the next month, when the next month When the package traffic is not enough, if you want to continue surfing the Internet, you will have to pay extra for the Internet. Users will never be able to maximize the use of Terminal Package traffic. In view of the above problems, the present invention provides a terminal traffic sharing method, so that when the user's terminal package traffic has remaining, the remaining traffic can be shared with others to avoid being cleared by the operator; when the user traffic is insufficient, Use the traffic remaining in this person’s plan by finding people who want to share their remaining traffic.
本发明提供一种终端流量共享方法,包括:The present invention provides a terminal traffic sharing method, including:
第一终端向流量共享服务器发送分享流量请求;The first terminal sends a share flow request to the traffic sharing server;
所述第一终端接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;Receiving, by the first terminal, the first hotspot name and the first hotspot password generated by the traffic sharing server according to the shared traffic request;
所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。 The first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
所述的终端流量共享方法,还包括:The terminal traffic sharing method further includes:
所述第一终端获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;The first terminal acquires a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the traffic sharing The second hotspot name and the second hotspot password generated by the server according to the shared traffic request are returned;
所述第一终端上传所述第二热点名称至所述流量共享服务器;Sending, by the first terminal, the second hotspot name to the traffic sharing server;
所述第一终端接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;Receiving, by the first terminal, a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
所述第一终端根据所述第二热点密码登录所述第二共享热点。The first terminal logs in to the second shared hotspot according to the second hotspot password.
所述的终端流量共享方法,还包括:The terminal traffic sharing method further includes:
所述第一终端将使用的流量的字节数上报至所述流量共享服务器;The first terminal reports the number of bytes of the used traffic to the traffic sharing server;
如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。And if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal, receiving a connection disconnection notification sent by the traffic sharing server, where the connection disconnection notification is used Notifying the second terminal to disconnect from the first terminal.
本方面还提供一种非临时性计算机可读存储介质,包括计算机执行指令,以供计算机的处理器执行所述计算机执行指令时,所述计算机执行上述的终端流量共享方法。The present disclosure also provides a non-transitory computer readable storage medium comprising computer executed instructions for execution by the processor of a computer to execute the terminal traffic sharing method described above.
本发明还提供一种终端流量共享方法,包括:The invention also provides a terminal traffic sharing method, comprising:
流量共享服务器接收第一终端发送的分享流量请求;The traffic sharing server receives the shared traffic request sent by the first terminal;
所述流量共享服务器根据所述分享流量请求生成第一热点名称和第一热点密码;The traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request;
所述流量共享服务器向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。The traffic sharing server sends the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
其中,所述流量共享服务器根据所述分享流量请求生成第一热点名称和第一热点密码,包括:The traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request, including:
所述流量共享服务器生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。The traffic sharing server generates a random combination of characters, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
所述的终端流量共享方法,还包括:The terminal traffic sharing method further includes:
所述流量共享服务器接收第二终端上传的所述第一热点名称; Receiving, by the traffic sharing server, the first hotspot name uploaded by the second terminal;
所述流量共享服务器向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
其中,所述流量共享服务器向所述第二终端发送所述第一热点名称对应的第一热点密码,包括:The traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, including:
所述流量共享服务器判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;The traffic sharing server determines whether the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot;
如果是,所述流量共享服务器向所述第二终端发送与所述第一热点名称对应的第一热点密码。If yes, the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal.
所述的终端流量共享方法,还包括:The terminal traffic sharing method further includes:
所述流量共享服务器记录所述第二终端上报的使用的流量的字节数;The traffic sharing server records the number of bytes of the used traffic reported by the second terminal;
如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,所述流量共享服务器向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。If the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sends a connection disconnection notification to the second terminal, where the connection is broken. The open notification is used to notify the second terminal to disconnect from the first terminal.
本发明还提供一种非临时性计算机可读存储介质,包括计算机执行指令,以供计算机的处理器执行所述计算机执行指令时,所述计算机执行前述的终端流量共享方法。The present invention also provides a non-transitory computer readable storage medium comprising computer executable instructions for execution of the aforementioned terminal traffic sharing method by a processor of a computer when the computer executes the instructions.
以下将结合附图对本发明的具体实施例进行详细描述。Specific embodiments of the present invention will be described in detail below with reference to the drawings.
图1示出了根据本发明实施例的终端流量共享方法的流程。1 shows the flow of a terminal traffic sharing method in accordance with an implementation of the present invention.
如图1所示,本发明实施例提供的终端流量共享方法,包括:As shown in FIG. 1 , a terminal traffic sharing method provided by an embodiment of the present invention includes:
步骤S110:第一终端向流量共享服务器发送分享流量请求。Step S110: The first terminal sends a share flow request to the traffic sharing server.
第一终端包括但不限于用户的终端、笔记本电脑、PDA等。以用户A使用终端分享流量为例,当用户A终端流量有剩余想分享给其他用户时,用户A通过终端向流量共享服务器发送分享流量请求,流量共享服务器接收到该请求后,会执行与用户A分享流量相关的操作。The first terminal includes, but is not limited to, a user's terminal, a laptop, a PDA, and the like. For example, when the user A uses the terminal to share the traffic, the user A sends a shared traffic request to the traffic sharing server through the terminal. After receiving the request, the traffic sharing server executes the user and the user. A share traffic related operations.
步骤S120:流量共享服务器根据分享流量请求生成热点名称和热点密码,并发送给第一终端。Step S120: The traffic sharing server generates a hotspot name and a hotspot password according to the shared traffic request, and sends the hotspot password to the first terminal.
用户A分享流量首先需要创建共享热点,其他用户在登录该共享热点后,才能使用共享热点创建者的流量。用户A向流量共享服务器发送的分享流量请求包 含用户A想要创建共享热点的信息,在流量共享服务器接收到分享流量请求后,获得用户A想要创建共享热点的信息,立即随机生成热点名称和热点密码发送到用户A的终端中,供用户A创建共享热点。User A needs to create a shared hotspot before sharing traffic. Other users can log in to the shared hotspot before they can use the traffic of the shared hotspot creator. Shared traffic request packet sent by user A to the traffic sharing server After the user A wants to create a shared hotspot, the traffic sharing server receives the shared traffic request, obtains the information that the user A wants to create the shared hotspot, and immediately generates the hotspot name and the hotspot password to be sent to the user A's terminal for User A creates a shared hotspot.
另外,其他用户获取共享热点创建者的流量实际为使用创建者的流量。In addition, the traffic of other users who obtain the shared hotspot creator is actually the traffic of the creator.
步骤S130:第一终端根据热点名称和热点密码创建共享热点。Step S130: The first terminal creates a shared hotspot according to the hotspot name and the hotspot password.
在用户A通过终端创建共享热点后,如果有其他用户登进该共享热点,则用户A就能将自己的终端流量分享给登进该共享热点的用户,登进该共享热点的用户就能使用创建共享热点的用户A的终端流量上网。After user A creates a shared hotspot through the terminal, if another user logs in to the shared hotspot, user A can share his terminal traffic to the user who logs in to the shared hotspot, and the user who logs in to the shared hotspot can use the user. User A's terminal traffic that creates a shared hotspot is online.
步骤S140:第二终端获取共享热点的热点名称,并上传至流量共享服务器。Step S140: The second terminal acquires the hotspot name of the shared hotspot and uploads it to the traffic sharing server.
第二终端为其他用户的终端、笔记本电脑、PDA等能够使用流量上网的设备,其他用户以用户B为例,用户B想要使用用户A的流量,首先,用户B通过终端寻找用户A的终端创建的共享热点,然后,获取该共享热点的热点名称,将其上传到流量共享服务器。The second terminal is a device that can use the Internet for other users, such as a terminal, a laptop, or a PDA. The other user uses the user B as an example, and the user B wants to use the traffic of the user A. First, the user B searches for the terminal of the user A through the terminal. Create a shared hotspot, then get the hotspot name of the shared hotspot and upload it to the traffic sharing server.
步骤S150:流量共享服务器向第二终端发送与热点名称对应的热点密码。Step S150: The traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal.
流量共享服务器接收到用户B的终端上传的热点名称后,会查询与该热点名称对应的热点密码,将热点密码发送至用户B的终端中。After receiving the hotspot name uploaded by the terminal of the user B, the traffic sharing server queries the hotspot password corresponding to the hotspot name, and sends the hotspot password to the end of the user B.
步骤S160:根据热点密码通过第二终端登录共享热点,获取流量。Step S160: Log in to the shared hotspot through the second terminal according to the hotspot password, and obtain the traffic.
在用户B的终端接收到流量共享服务器发送的热点密码后,登录共享热点,就能够使用用户A的流量上网。After the user B's terminal receives the hotspot password sent by the traffic sharing server and logs in to the shared hotspot, the user A's traffic can be accessed.
需要说明的是,想要分享流量的用户充当流量分享者,想要使用流量的用户充当流量使用者,一个用户既可以充当流量分享者也可以充当流量使用者。为了防止蹭网现象的发生,在本发明的具体实施方式中,采用通过建立一个账号系统统一管理流量分享者和流量使用者,在用户想要分享流量或使用流量时,先登录账号系统,这样没有登录账号系统的用户就无法获取别人分享出来的流量。同时,为了公平起见,用户必须先将自己的流量分享给他人后才能使用他人的流量。It should be noted that a user who wants to share traffic acts as a traffic sharer, and a user who wants to use traffic acts as a traffic consumer, and a user can act as both a traffic sharer and a traffic consumer. In order to prevent the occurrence of the network phenomenon, in the specific implementation manner of the present invention, the traffic sharing person and the traffic user are uniformly managed by establishing an account system, and when the user wants to share the traffic or use the traffic, first log in to the account system, so that Users who are not logged in to the account system will not be able to get the traffic shared by others. At the same time, in order to be fair, users must first share their traffic to others before they can use other people's traffic.
在共享流量的过程中,第一终端、第二终端与流量共享服务器之间的数据交互过程如图2所示: In the process of sharing traffic, the data interaction process between the first terminal, the second terminal, and the traffic sharing server is as shown in FIG. 2:
S201:第一终端向流量共享服务器发送分享流量请求。S201: The first terminal sends a sharing traffic request to the traffic sharing server.
S202:流量共享服务器根据分享流量请求生成热点名称和热点密码。S202: The traffic sharing server generates a hotspot name and a hotspot password according to the shared traffic request.
S203:流量共享服务器将生成的热点名称和热点密码发送给第一终端。S203: The traffic sharing server sends the generated hotspot name and hotspot password to the first terminal.
S204:第一终端根据热点名称和热点密码创建共享热点。S204: The first terminal creates a shared hotspot according to the hotspot name and the hotspot password.
S205:第二终端获取第一终端创建的共享热点的热点名称。S205: The second terminal acquires a hotspot name of the shared hotspot created by the first terminal.
S206:第二终端将获取的热点名称上传至流量共享服务器。S206: The second terminal uploads the obtained hotspot name to the traffic sharing server.
S207:流量共享服务器向第二终端发送与热点名称对应的热点密码。S207: The traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal.
另外,在第二终端根据热点密码登录共享热点,使用第一终端的流量时,第二终端将使用的第一终端的流量的字节数上报给流量共享服务器,第一终端将分享给第二终端的流量的字节数会上报给流量共享服务器,流量共享服务器会记录第一终端和第二终端上报的流量的字节数。In addition, when the second terminal logs in to the shared hotspot according to the hotspot password, and uses the traffic of the first terminal, the second terminal reports the number of bytes of the traffic of the first terminal to the traffic sharing server, and the first terminal shares the second. The number of bytes of the traffic of the terminal is reported to the traffic sharing server. The traffic sharing server records the number of bytes of traffic reported by the first terminal and the second terminal.
为了更详细地说明本发明提供的终端流量共享方法,图3示出了根据本发明实施例的终端流量共享方法的详细流程。如图3所示,本发明实施例提供的终端流量共享方法包括:In order to explain the terminal traffic sharing method provided by the present invention in more detail, FIG. 3 shows a detailed flow of a terminal traffic sharing method according to an embodiment of the present invention. As shown in FIG. 3, the terminal traffic sharing method provided by the embodiment of the present invention includes:
步骤S310:用户登录账号系统。Step S310: The user logs in to the account system.
账号系统可以采用账号管理的方式管理该系统中的用户,未登录过该系统的用户想要登录该系统必须先注册账号,通过注册的账号登录该系统,已有账号的用户可以根据已注册的账号登录该系统,账号系统也可以采用其它方式管理该系统中的用户。The account system can manage users in the system by means of account management. Users who have not logged in to the system must log in to the system to register an account first, and log in to the system through the registered account. The user who has the account can be registered according to the account. The account is logged into the system, and the account system can also manage users in the system in other ways.
用户登录账号系统后,账号系统会给用户呈现两个功能,一个功能是“分享流量”,另一个功能是“使用流量”。对于第一次登录账号系统的用户,必须先使用“分享流量”功能,在分享给其它用户流量后才能使用“使用流量”功能。因此,用户第一次登录账号系统只能先选择分享流量功能,对于非第一次登录账号系统的用户,在登录账号系统后,可以根据自己实际需求选择分享流量功能或使用流量功能,用户选择分享流量功能等同于向流量共享服务器发送分享流量请求,用户选择使用流量功能等同于向流量共享服务器发送使用流量请求,流量共享服务器根据请求的类型进行相应的操作。 After the user logs in to the account system, the account system presents the user with two functions, one function is “share traffic” and the other function is “use traffic”. For users who log in to the account system for the first time, you must use the “Share Traffic” function to share the traffic to other users before using the “Use Traffic” function. Therefore, the user can only select the shared traffic function for the first time to log in to the account system. For users who are not the first time to log in to the account system, after logging in to the account system, they can choose to share the traffic function or use the traffic function according to their actual needs. The sharing traffic function is equivalent to sending a sharing traffic request to the traffic sharing server. The user selecting to use the traffic function is equivalent to sending a usage traffic request to the traffic sharing server, and the traffic sharing server performs corresponding operations according to the type of the request.
步骤S320:判断用户选择分享流量功能或使用流量功能,如果用户选择分享流量功能,执行步骤S330;如果用户选择使用流量功能,则执行步骤S360。In step S320, it is determined that the user selects the shared traffic function or uses the traffic function. If the user selects the shared traffic function, step S330 is performed; if the user selects to use the traffic function, step S360 is performed.
分享流量功能和使用流量功能对于非第一次登录账号系统的用户来说是两个并列的功能。The Share Traffic feature and the Use Traffic feature are two side-by-side features for users who are not the first to log in to the account system.
步骤S330:建立Wi-Fi热点。Step S330: Establish a Wi-Fi hotspot.
为了防止未加入账号系统的用户连接该Wi-Fi热点并使用创建Wi-Fi热点的用户的流量,Wi-Fi热点名称和密码必须从流量共享服务器上获取。具体地,由流量共享服务器生成16位字母数字的随机组合,将Wi-Fi-Share+16位随机组合的前8位字符作为热点名称,而16位随机组合的后8位字符作为热点密码。比如,热点名称是Wi-Fi-Share23sd3231,热点密码是da2383re,但本发明并不限于生成16位字符的随机组合。In order to prevent users who are not connected to the account system from connecting to the Wi-Fi hotspot and using the traffic of the user who created the Wi-Fi hotspot, the Wi-Fi hotspot name and password must be obtained from the traffic sharing server. Specifically, a 16-digit alphanumeric random combination is generated by the traffic sharing server, and the first 8 characters of the Wi-Fi-Share+16-bit random combination are used as the hotspot name, and the last 8 characters of the 16-bit random combination are used as the hotspot password. For example, the hotspot name is Wi-Fi-Share23sd3231 and the hotspot password is da2383re, but the invention is not limited to generating a random combination of 16-bit characters.
其中,Wi-Fi-Share只是热点名称的开始部分,便于其他用户寻找,也可以换成其它的热点名称的开始部分。Among them, Wi-Fi-Share is only the beginning of the hotspot name, which is easy for other users to find, and can also be replaced with the beginning of other hotspot names.
另外,流量共享服务器也可以随机生成其它位数的字符组合,将一部分字符作为共享热点的热点名称,另一部分字符作为共享热点的热点密码。In addition, the traffic sharing server can also randomly generate character combinations of other digits, using a part of the characters as the hotspot name of the shared hotspot and another part of the characters as the hotspot password of the shared hotspot.
步骤S340:另一用户接入建立的Wi-Fi热点。Step S340: Another user accesses the established Wi-Fi hotspot.
具体地,以用户B为例,用户B接入建立的Wi-Fi热点的过程为:在用户B登录账号系统后,扫描周围Wi-Fi-Share开头的热点,找到热点后将热点名称后8位字符上传到流量共享服务器,由流量共享服务器判断用户B是否为分享过流量的用户,如果是,则流量共享服务器查询出Wi-Fi热点的密码发给该用户B,用户B获得密码后,登录Wi-Fi热点并可以上网;如果否,则流量共享服务器不给用户B发送Wi-Fi热点的密码,并提示用户B先分享流量。Specifically, taking user B as an example, the process of user B accessing the established Wi-Fi hotspot is: after user B logs in to the account system, scans the hotspots at the beginning of Wi-Fi-Share, and after finding the hotspot, the hotspot name is after 8 The bit character is uploaded to the traffic sharing server, and the traffic sharing server determines whether the user B is a user who has shared the traffic. If yes, the traffic sharing server queries the password of the Wi-Fi hotspot and sends the password to the user B. After the user B obtains the password, Log in to the Wi-Fi hotspot and go online; if not, the traffic sharing server does not send the password of the Wi-Fi hotspot to User B, and prompts User B to share the traffic first.
另外,用户在分享流量时,流量共享服务器可以设置用户分享的流量的大小,例如,A用户有50M的剩余流量,他可以分享给B用户20M流量,剩下的30M流量自己使用,这避免了B用户从A用户处获取的流量超过A用户本身剩余的流量。但是,如果没有其他用户接入A用户建立的Wi-Fi热点,则该A用户无法分享流量。 In addition, when the user shares the traffic, the traffic sharing server can set the size of the traffic shared by the user. For example, the A user has 50M of remaining traffic, he can share the 20M traffic to the B user, and the remaining 30M traffic is used by itself, which avoids The traffic that the B user obtains from the A user exceeds the traffic remaining by the A user. However, if no other user accesses the Wi-Fi hotspot established by the A user, the A user cannot share the traffic.
步骤S350:流量共享服务器记录用户分享的流量信息和另一用户使用的流量信息。Step S350: The traffic sharing server records the traffic information shared by the user and the traffic information used by another user.
流量共享服务器可以通过建立数据表来统计每个用户分享给其他用户的流量信息和每个用户使用其他用户的流量信息,数据表如下:The traffic sharing server can collect the traffic information shared by each user to other users and the traffic information of each user using other users by establishing a data table. The data table is as follows:
Figure PCTCN2015086328-appb-000001
Figure PCTCN2015086328-appb-000001
为了保证用户间的公平性,用户使用其他用户的流量的字节数不能大于用户自身分享出去的流量的字节数,例如用户分享出去50M流量,用户最多能使用其他用户的50M流量,但分享出去的流量和使用的流量是可以累积的,使用的流量的总和要小于或等于分享出去的流量的总和。To ensure fairness between users, the number of bytes of traffic used by other users cannot be greater than the number of bytes of traffic shared by users. For example, users can share 50M traffic, users can use up to 50M traffic of other users, but share The outgoing traffic and the used traffic can be accumulated, and the sum of the used traffic is less than or equal to the sum of the shared traffic.
流量共享服务器记录流量信息的目的在于控制用户使用其它用户的流量额度,以A用户和B用户为例,如果B用户分享过50M流量,则B用户能从A用户处使用50M流量,如果用户B从A用户处使用的流程到达50M时,流量共享服务器通知用户A的终端断开与用户B的终端的连接,以此来限制B用户使用的流量,防止B用户获取的流量额度超过其自身分享出去的流量额度。但C用户也接入A用户创建的Wi-Fi热点,则C用户使用的流量累积到A用户分享的流量记录中(A分享的流量=B使用的流量+C使用的流量),以此类推,A用户分享的流量越多其可以使用的流量越多。The purpose of the traffic sharing server to record traffic information is to control the amount of traffic used by other users. Take the A user and the B user as an example. If the B user shares 50M traffic, the B user can use 50M traffic from the A user. When the process used by the A user reaches 50M, the traffic sharing server notifies the terminal of user A to disconnect from the terminal of user B, thereby limiting the traffic used by the B user, and preventing the traffic volume acquired by the B user from exceeding its own share. The amount of traffic going out. However, if the C user also accesses the Wi-Fi hotspot created by the A user, the traffic used by the C user is accumulated in the traffic record shared by the A user (A shared traffic = B used traffic + C used traffic), and so on. The more traffic A users share, the more traffic they can use.
另外,在移动网络中,流量按照速度分成三种类型,分别为4G、3G和2G,相当于三个速度等级,即4G网速>3G网速>2G网速,流量共享服务器记录每个用户分享给其它用户的流量的速度等级和每个用户使用的其他用户的流量的速 度等级,用户将要使用的其他用户的流量的速度等级要小于或等于用户分享给其他用户的流量的速度等级,即用户共享高速流量后可以使用低速流量,但用户共享低速流量后不能使用高速流量。具体地,如果用户分享给其他用户的是4G流量,则该用户可以使用其他用户的4G、3G或2G流量;如果用户分享给其他用户的是3G流量,则该用户可以使用其他用户的2G或3G流量;如果用户分享给其他用户的是2G流量,则该用户只能使用其他用户的2G流量。In addition, in the mobile network, traffic is divided into three types according to speed, namely 4G, 3G and 2G, which are equivalent to three speed grades, namely 4G network speed>3G network speed>2G network speed, and the traffic sharing server records each user. The speed grade of traffic shared to other users and the speed of traffic of other users used by each user Degree level, the speed grade of the traffic of other users to be used by the user is less than or equal to the speed grade of the traffic shared by the user to other users, that is, the user can use the low speed traffic after sharing the high speed traffic, but the user cannot use the high speed traffic after sharing the low speed traffic. . Specifically, if the user shares 4G traffic with other users, the user can use other users' 4G, 3G, or 2G traffic; if the user shares 3G traffic with other users, the user can use other users' 2G or 3G traffic; if the user shares 2G traffic with other users, the user can only use 2G traffic of other users.
通过流量共享服务器记录流量的速度等级的方式限制用户使用其他用户的流量,可通过两种方式实现:Limiting the traffic of users to other users by means of the traffic sharing server recording the speed grade of the traffic can be achieved in two ways:
1、在用户通过终端登录共享热点后、使用其他用户的流量前,流量共享服务器判断该用户通过终端登录的共享热点的速度等级是否小于或等于流量共享服务器记录的该用户通过终端分享给其他用户的流量的速度等级;如果是,则该用户通过终端可以使用共享热点的流量;如果否,则流量共享服务器通知将该用户的终端断开与创建共享热点的终端的连接。1. After the user logs in to the shared hotspot through the terminal and uses the traffic of the other user, the traffic sharing server determines whether the speed grade of the shared hotspot that the user logs in through the terminal is less than or equal to the user recorded by the traffic sharing server and shares it with other users through the terminal. The speed level of the traffic; if so, the user can use the traffic of the shared hotspot through the terminal; if not, the traffic sharing server notifies the user of the terminal to disconnect from the terminal that created the shared hotspot.
2、在用户通过终端登录共享热点前,流量共享服务器判断用户通过终端分享给其他用户的流量的速度等级是否小于或等于该共享热点的速度等级;如果是,则流量共享服务器向该用户的终端发送与热点名称对应的热点密码,该用户根据热点密码通过终端登录共享热点后使用其他用户的流量;如果否,则流量共享服务器不向该用户的终端发送与热点名称对应的热点密码。2. Before the user logs in to the shared hotspot through the terminal, the traffic sharing server determines whether the speed level of the traffic shared by the user to the other user through the terminal is less than or equal to the speed grade of the shared hotspot; if yes, the traffic sharing server sends the terminal to the user. The hotspot password corresponding to the hotspot name is sent by the user after the user logs in to the shared hotspot according to the hotspot password. If no, the traffic sharing server does not send the hotspot password corresponding to the hotspot name to the terminal of the user.
需要说明的是,共享热点的速度等级为创建共享热点的终端的流量的速度等级。另外,在用户使用流量的过程中,用户每使用1M流量就会上报给流量共享服务器,流量共享服务器将用户可使用的流量值减1,当可获取的流量值为0时,流量共享服务器自动断开网络,用户无法继续使用共享的流量。It should be noted that the speed grade of the shared hotspot is the speed grade of the traffic of the terminal that creates the shared hotspot. In addition, in the process of using the traffic, the user reports the traffic to the traffic sharing server for each use of the 1M traffic. The traffic sharing server reduces the traffic value that the user can use by 1. When the available traffic value is 0, the traffic sharing server automatically Disconnected from the network, users cannot continue to use shared traffic.
步骤S360:判断用户是否分享过流量,如果是,执行步骤S370;如果否,执行步骤S390。Step S360: determining whether the user shares the traffic, if yes, executing step S370; if not, executing step S390.
如果用户分享过流量则进一步判断该用户是否还有可使用的流量,如果用户未分享过流量,则无法使用其他用户的流量,会给用户一个先分享流量的提示。If the user shares the traffic, it further determines whether the user has available traffic. If the user does not share the traffic, the user cannot use the traffic of other users, and the user is prompted to share the traffic first.
步骤S370:判断用户是否有可使用的流量,如果有,则执行步骤S380;如 果没有,则执行步骤S390。Step S370: determining whether the user has available traffic, and if so, executing step S380; If not, step S390 is performed.
当用户选择使用流量功能时,流量共享服务器会判断该用户是否还有可使用的流量,如果有,则继续后续使用其他用户的流量的步骤;如果没有,说明用户已没有可使用的流量或者该用户没分享过流量。When the user chooses to use the traffic function, the traffic sharing server determines whether the user has available traffic, and if so, proceeds to the subsequent use of traffic of other users; if not, the user has no available traffic or the user The user has not shared traffic.
其中,可使用的流量=已共享的流量-已使用的流量。Among them, the available traffic = shared traffic - used traffic.
步骤S380:寻找周围用户建立的Wi-Fi热点,并接入该Wi-Fi热点获取流量。Step S380: Find a Wi-Fi hotspot established by a surrounding user, and access the Wi-Fi hotspot to obtain traffic.
用户接入Wi-Fi热点的过程参考步骤S340。The process of the user accessing the Wi-Fi hotspot refers to step S340.
在用户接入该Wi-Fi热点后,流量共享服务器记录用户使用的其他用户的流量,当用户可使用的流量值为0时中断网络,也就是说,流量共享服务器将该用户可使用的流量值作为临界值,当用户使用的流量达到临界值时自动断开网络。例如,例如用户曾经共享50M流量,此时用户可使用的流量为50M,将50M流量作为临界值,现在从其他用户处使用了30M流量,则可使用的流量减去30M,还剩下20M,如果继续使用流量,最多只能使用20M,也就是用户使用的流量达到临界值50M时自动中断网络。After the user accesses the Wi-Fi hotspot, the traffic sharing server records the traffic of other users used by the user. When the traffic value that the user can use is 0, the network is interrupted, that is, the traffic shared by the traffic sharing server is available to the user. The value is used as a threshold to automatically disconnect the network when the traffic used by the user reaches a critical value. For example, if the user once shared 50M traffic, the user can use 50M traffic and 50M traffic as the critical value. Now, 30M traffic is used from other users, then the available traffic is reduced by 30M, and 20M is left. If you continue to use traffic, you can only use up to 20M, that is, when the traffic used by the user reaches the critical value of 50M, the network is automatically interrupted.
另外,如果用户没有找到其他用户建立的共享热点,则该用户无法使用其他用户的流量。In addition, if the user does not find a shared hotspot established by another user, the user cannot use the traffic of other users.
步骤S390:无法使用其他用户的流量。Step S390: The traffic of other users cannot be used.
由于用户没有可使用的流量,则流程结束。Since the user has no traffic available, the process ends.
上述步骤S310~S390详细描述了本发明实施例提供的终端流量共享方法,在用户流量有剩余的情况下,登录终端流量分享系统后,通过流量共享服务器生成的热点名称和热点密码创建共享热点,将剩余的流量分享给其他用户,在用户流量不足需要获取流量时,登录终端流量分享系统后,再使用周边人分享出来的流量,使用户能够更合理地使用终端套餐流量。The foregoing steps S310-S390 describe the terminal traffic sharing method provided by the embodiment of the present invention in detail. After the user traffic is left, the shared hotspot is created by using the hotspot name and the hotspot password generated by the traffic sharing server. Share the remaining traffic to other users. When the user traffic is insufficient to obtain traffic, log in to the terminal traffic sharing system and then use the traffic shared by the neighbors to enable the user to use the terminal package traffic more reasonably.
与上述终端流量共享方法相对应,本发明提供一种终端流量共享系统。Corresponding to the foregoing terminal traffic sharing method, the present invention provides a terminal traffic sharing system.
图4示出了根据本发明实施例的终端流量共享系统的第一逻辑结构。FIG. 4 illustrates a first logical structure of a terminal traffic sharing system in accordance with an embodiment of the present invention.
如图4所示,本发明实施例提供的终端流量共享系统400,包括分享请求发送单元410、共享热点创建单元420、热点名称获取单元430、共享热点登录单元 440。As shown in FIG. 4, the terminal traffic sharing system 400 provided by the embodiment of the present invention includes a sharing request sending unit 410, a shared hotspot creating unit 420, a hotspot name obtaining unit 430, and a shared hotspot login unit. 440.
其中,分享请求发送单元410用于通过第一终端向流量共享服务器发送分享流量请求。The sharing request sending unit 410 is configured to send a sharing traffic request to the traffic sharing server by using the first terminal.
共享热点创建单元420用于根据流量共享服务器发送的热点名称和热点密码通过第一终端创建共享热点。The shared hotspot creation unit 420 is configured to create a shared hotspot through the first terminal according to the hotspot name and the hotspot password sent by the traffic sharing server.
热点名称获取单元430用于通过第二终端获取共享热点的热点名称,并上传至流量共享服务器。The hotspot name obtaining unit 430 is configured to acquire the hotspot name of the shared hotspot by using the second terminal, and upload the hotspot name to the traffic sharing server.
共享热点登录单元440用于根据流量共享服务器发送的与热点名称对应的热点密码通过第二终端登录共享热点。The shared hotspot login unit 440 is configured to log in to the shared hotspot through the second terminal according to the hotspot password corresponding to the hotspot name sent by the traffic sharing server.
图5示出了根据本发明实施例的终端流量共享系统的第二逻辑结构。FIG. 5 shows a second logical structure of a terminal traffic sharing system according to an embodiment of the present invention.
如图5所示,共享热点登录单元440包括速度等级判断模块441,用于在根据共享热点登录单元440登录共享热点的过程中,判断第二终端分享的流量的速度等级是否小于或等于共享热点的速度等级;如果是,流量共享服务器向第二终端发送与热点名称对应的热点密码。As shown in FIG. 5, the shared hotspot registration unit 440 includes a speed level determining module 441, for determining whether the speed level of the traffic shared by the second terminal is less than or equal to the shared hotspot in the process of logging in the shared hotspot according to the shared hotspot login unit 440. The speed level; if yes, the traffic sharing server sends the hotspot password corresponding to the hotspot name to the second terminal.
终端流量共享系统400还包括字节数记录单元450,用于在根据共享热点登录单元440登录共享热点后,记录第二终端上报的使用的流量的字节数;如果第二终端上报的使用的流量的字节数大于或等于第二终端分享给其它终端的流量的字节数,流量共享服务器通知第一终端断开与第二终端的连接。The terminal traffic sharing system 400 further includes a byte number recording unit 450, configured to record the number of bytes of the used traffic reported by the second terminal after logging in the shared hotspot according to the shared hotspot login unit 440; if the second terminal reports the used The number of bytes of the traffic is greater than or equal to the number of bytes of traffic shared by the second terminal to other terminals, and the traffic sharing server notifies the first terminal to disconnect from the second terminal.
与终端流量分享方法相对应,本发明还提供一种流量共享服务器,其数据处理流程如图6所示,以用户A和用户B为例,本发明提供的流量共享服务器600的数据处理方法包括:Corresponding to the terminal traffic sharing method, the present invention further provides a traffic sharing server, and the data processing procedure thereof is as shown in FIG. 6. The user A and the user B are taken as an example. The data processing method of the traffic sharing server 600 provided by the present invention includes :
步骤S601:根据用户A通过终端发送的分享流量请求生成热点名称和热点密码,并将生成的热点名称和热点密码发送给用户A的终端。Step S601: Generate a hotspot name and a hotspot password according to the shared traffic request sent by the user A, and send the generated hotspot name and the hotspot password to the terminal of the user A.
步骤S602:根据用户B通过终端上传的热点名称,向用户B的终端发送与上传的热点名称对应的热点密码。Step S602: Send the hotspot password corresponding to the uploaded hotspot name to the terminal of the user B according to the hotspot name uploaded by the user B.
其中,流量共享服务器600在根据用户A通过终端发送的分享流量请求生成热点名称和热点密码的过程中,流量共享服务器600生成16位字符的随机组合, 其中前8位字符作为热点名称,后8位字符作为热点密码。The traffic sharing server 600 generates a random combination of 16-bit characters in the process of generating the hotspot name and the hotspot password according to the shared traffic request sent by the user A through the terminal. The first 8 characters are used as hotspot names, and the last 8 characters are used as hotspot passwords.
在共享服务器600的数据处理方法的一个具体实施方式中,在用户B通过终端登录共享热点,使用用户A的流量的过程中,用户B通过终端将使用的流量的字节数上报至流量共享服务器600,流量共享服务器600记录用户B通过终端上报的流量的字节数,也就是记录用户A通过终端分享给用户B的流量的字节数;如果用户B通过终端上报的流量的字节数大于或等于用户B通过终端分享给其它用户的流量的字节数,流量共享服务器通知用户A的终端断开与用户B的终端的连接。In a specific implementation of the data processing method of the shared server 600, in the process in which the user B logs in to the shared hotspot through the terminal and uses the traffic of the user A, the user B reports the number of bytes of the used traffic to the traffic sharing server. 600, the traffic sharing server 600 records the number of bytes of the traffic reported by the user B through the terminal, that is, the number of bytes of the traffic that the user A shares with the user B through the terminal; if the number of bytes of the traffic reported by the user B through the terminal is greater than Or the number of bytes of traffic shared by the user B to other users through the terminal, and the traffic sharing server notifies the terminal of the user A to disconnect from the terminal of the user B.
在共享服务器600的数据处理方法的另一个具体实施方式中,在用户B通过终端登录共享热点的过程中,流量共享服务器600判断用户B通过终端分享给其他用户的流量的速度等级是否小于或等于该共享热点的速度等级;如果是,流量共享服务器600向用户B的终端发送与热点名称对应的热点密码。在共享服务器600的数据处理方法的又一个具体实施方式中,在用户B通过终端登录共享热点,使用用户A的流量的过程中,流量共享服务器600限制用户A通过终端分享给用户B的流量的大小。In another embodiment of the data processing method of the shared server 600, in the process in which the user B logs in to the shared hotspot through the terminal, the traffic sharing server 600 determines whether the speed level of the traffic shared by the user B to other users through the terminal is less than or equal to The speed grade of the shared hotspot; if so, the traffic sharing server 600 sends the hotspot password corresponding to the hotspot name to the terminal of the user B. In another embodiment of the data processing method of the shared server 600, in the process in which the user B logs in to the shared hotspot through the terminal and uses the traffic of the user A, the traffic sharing server 600 limits the traffic shared by the user A to the user B through the terminal. size.
在上述共享服务器600的数据处理方法的三个具体实施方式,实施顺序不分先后。In the three specific embodiments of the data processing method of the shared server 600 described above, the implementation sequence is in no particular order.
本发明还相应提供一种设备终端,参见图7,该设备终端700包括终端流量共享系统400和流量共享服务器600;其中,The present invention further provides a device terminal. Referring to FIG. 7, the device terminal 700 includes a terminal traffic sharing system 400 and a traffic sharing server 600.
终端流量共享系统400具有图5中所描述的结构,流量共享服务器600为图6中所描述的流量共享服务器,具体参见前面描述,此处不再赘述。The terminal traffic sharing system 400 has the structure described in FIG. 5. The traffic sharing server 600 is the traffic sharing server described in FIG. 6. For details, refer to the foregoing description, and details are not described herein again.
本发明还提供一种终端流量共享装置,包括:The invention also provides a terminal traffic sharing device, comprising:
分享请求发送单元,用于向流量共享服务器发送分享流量请求;a sharing request sending unit, configured to send a sharing traffic request to the traffic sharing server;
共享热点信息接收单元,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;a shared hotspot information receiving unit, configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
共享热点创建单元,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码,根据所述第一热点名称和所述第一热点密码创建第一共享热点。 a shared hotspot creating unit, configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request, and create a first according to the first hotspot name and the first hotspot password Share hotspots.
所述的终端流量共享装置,还包括:The terminal traffic sharing device further includes:
热点名称获取单元,用于获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;a hotspot name obtaining unit, configured to acquire a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot is sent by the second terminal to the traffic sharing server to share the traffic request, and according to the Created by the traffic sharing server according to the second hotspot name and the second hotspot password generated by the shared traffic request;
热点名称上传单元,用于上传所述第二热点名称至所述流量共享服务器;a hotspot name uploading unit, configured to upload the second hotspot name to the traffic sharing server;
热点密码接收单元,用于接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;a hotspot password receiving unit, configured to receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
共享热点登录单元,用于根据所述第二热点密码登录所述第二共享热点。The shared hotspot login unit is configured to log in to the second shared hotspot according to the second hotspot password.
所述的终端流量共享装置,还包括:The terminal traffic sharing device further includes:
字节数上报单元,用于将所述第一终端使用的流量的字节数上报至所述流量共享服务器;a byte number reporting unit, configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
连接断开通知接收单元,用于如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。a disconnection notification receiving unit, configured to receive a connection disconnection notification sent by the traffic sharing server, if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
本发明还提供一种终端流量共享处理装置,包括:The present invention also provides a terminal traffic sharing processing apparatus, including:
共享请求接收单元,用于接收第一终端发送的分享流量请求;a sharing request receiving unit, configured to receive a shared traffic request sent by the first terminal;
共享热点信息生成单元,用于根据所述分享流量请求生成第一热点名称和第一热点密码;a shared hotspot information generating unit, configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
共享热点信息发送单元,用于向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。a shared hotspot information sending unit, configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first one according to the first hotspot name and the first hotspot password Share hotspots.
其中,所述共享热点信息生成单元,具体生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。The shared hotspot information generating unit specifically generates a random character combination, wherein a part of the characters are the first hotspot name, and another part of the characters is the first hotspot password.
所述的终端流量共享处理装置,还包括:The terminal traffic sharing processing device further includes:
热点名称接收单元,用于接收第二终端上传的所述第一热点名称;a hotspot name receiving unit, configured to receive the first hotspot name uploaded by the second terminal;
热点密码发送单元,用于向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The hotspot password sending unit is configured to send the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
其中,所述热点密码发送单元,包括: The hotspot password sending unit includes:
速度等级判断模块,用于判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;a speed level determining module, configured to determine whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot;
密码发送模块,用于如果所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级,所述流量共享服务器向所述第二终端发送与所述第一热点名称对应的第一热点密码。a password sending module, configured to: if the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot, the traffic sharing server sends the first hotspot to the second terminal The first hotspot password corresponding to the name.
所述的终端流量共享处理装置,还包括:The terminal traffic sharing processing device further includes:
字节数记录单元,用于记录所述第二终端上报的使用的流量的字节数;a byte number recording unit, configured to record a number of bytes of the used traffic reported by the second terminal;
连接断开通知发送单元,用于如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,所述流量共享服务器向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。a disconnection notification sending unit, configured to send, when the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sending the second terminal a disconnection notification, the disconnection notification being used to notify the second terminal to disconnect from the first terminal.
本发明还提供一种终端,包括:处理器;发射器;接收器;用于存储处理器可执行指令的存储器;The present invention also provides a terminal, comprising: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
所述存储器,用于存储计算机执行指令;The memory is configured to store a computer execution instruction;
所述发射器,用于向流量共享服务器发送分享流量请求;The transmitter is configured to send a sharing traffic request to the traffic sharing server;
所述接收器,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;The receiver is configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
所述处理器,用于根据所述第一热点名称和所述第一热点密码创建第一共享热点。The processor is configured to create a first shared hotspot according to the first hotspot name and the first hotspot password.
其中,所述处理器还用于:Wherein, the processor is further configured to:
获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;则,Acquiring a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the basis returned by the traffic sharing server The second hotspot name generated by the shared traffic request and the second hotspot password are created;
所述发射器还用于:上传所述第二热点名称至所述流量共享服务器;The transmitter is further configured to: upload the second hotspot name to the traffic sharing server;
所述接收器还用于:接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;则,The receiver is further configured to: receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
所述处理器,根据所述第二热点密码登录所述第二共享热点。The processor logs in to the second shared hotspot according to the second hotspot password.
其中,所述发射器还用于:将所述第一终端使用的流量的字节数上报至所述流量共享服务器;则,The transmitter is further configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
所述接收器还用于:如果所述第一终端上报的流量的字节数大于或等于所述第一 终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。The receiver is further configured to: if the number of bytes of the traffic reported by the first terminal is greater than or equal to the first The number of bytes of the traffic shared by the terminal is received by the traffic sharing server, and the connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
本发明还提供一种服务器,包括:处理器;发射器;接收器;用于存储处理器可执行指令的存储器;The present invention also provides a server comprising: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
所述存储器,用于存储计算机执行指令;The memory is configured to store a computer execution instruction;
所述接收器,用于接收第一终端发送的分享流量请求;The receiver is configured to receive a shared traffic request sent by the first terminal;
所述处理器,用于根据所述分享流量请求生成第一热点名称和第一热点密码;The processor is configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
所述发射器,用于向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。The transmitter is configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first share according to the first hotspot name and the first hotspot password. hot spot.
其中,所述处理器具体生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。The processor specifically generates a random combination of characters, where a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
其中,所述接收器还用于:收第二终端上传的所述第一热点名称;则,The receiver is further configured to: receive the first hotspot name uploaded by the second terminal;
所述发射器,还用于向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The transmitter is further configured to send, to the second terminal, a first hotspot password corresponding to the first hotspot name, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
其中,所述处理器具体判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;如果是,则所述发射器向所述第二终端发送与所述第一热点名称对应的第一热点密码。The processor specifically determines whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot; if yes, the transmitter sends a location to the second terminal. The first hotspot password corresponding to the first hotspot name.
其中,所述处理器还用于:记录所述第二终端上报的使用的流量的字节数;The processor is further configured to: record a number of bytes of the used traffic reported by the second terminal;
如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,则所述发射器还用于:向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。And if the number of bytes of the traffic used by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the transmitter is further configured to: send a connection disconnection notification to the second terminal, The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
以上详细描述了本发明提供的终端流量共享方法及系统,用户在终端套餐流量剩余时,向流量共享服务器发送分享流量请求,通过流量共享服务器生成的热点名称和热点密码创建共享热点,将套餐内剩余的流量分享给其他用户,避免用户终端套餐流量的浪费,用户在终端套餐流量不足时,寻找其他用户创建的共享热点,并从流量共享服务器获取热点密码,用户通过热点密码登录共享热点后,使用其他用户提供的流量,避免用户支付额外的上网开销,使用户能够更合理地、最大化地使用终端套餐流量。 The method and system for sharing the terminal traffic provided by the present invention are described in detail above. When the terminal package traffic is surplus, the user sends a shared traffic request to the traffic sharing server, and the shared hotspot is created by the hotspot name and the hotspot password generated by the traffic sharing server, and the shared hotspot is created in the package. The remaining traffic is shared with other users, and the user terminal package traffic is wasted. When the terminal package traffic is insufficient, the user searches for the shared hotspot created by other users, and obtains the hotspot password from the traffic sharing server. After the user logs in to the shared hotspot through the hotspot password, Use the traffic provided by other users to prevent users from paying extra Internet access, so that users can use terminal package traffic more reasonably and maximized.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (26)

  1. 一种终端流量共享方法,包括:A terminal traffic sharing method includes:
    第一终端向流量共享服务器发送分享流量请求;The first terminal sends a share flow request to the traffic sharing server;
    所述第一终端接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;Receiving, by the first terminal, the first hotspot name and the first hotspot password generated by the traffic sharing server according to the shared traffic request;
    所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。The first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
  2. 根据权利要求1所述的终端流量共享方法,还包括:The method for sharing a terminal traffic according to claim 1, further comprising:
    所述第一终端获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;The first terminal acquires a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the traffic sharing The second hotspot name and the second hotspot password generated by the server according to the shared traffic request are returned;
    所述第一终端上传所述第二热点名称至所述流量共享服务器;Sending, by the first terminal, the second hotspot name to the traffic sharing server;
    所述第一终端接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;Receiving, by the first terminal, a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
    所述第一终端根据所述第二热点密码登录所述第二共享热点。The first terminal logs in to the second shared hotspot according to the second hotspot password.
  3. 根据权利要求2所述的终端流量共享方法,还包括:The method for sharing a terminal traffic according to claim 2, further comprising:
    所述第一终端将使用的流量的字节数上报至所述流量共享服务器;The first terminal reports the number of bytes of the used traffic to the traffic sharing server;
    如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。And if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal, receiving a connection disconnection notification sent by the traffic sharing server, where the connection disconnection notification is used Notifying the second terminal to disconnect from the first terminal.
  4. 一种终端流量共享方法,包括:A terminal traffic sharing method includes:
    流量共享服务器接收第一终端发送的分享流量请求;The traffic sharing server receives the shared traffic request sent by the first terminal;
    所述流量共享服务器根据所述分享流量请求生成第一热点名称和第一热点密码;The traffic sharing server generates a first hotspot name and a first hotspot password according to the shared traffic request;
    所述流量共享服务器向所述第一终端发送所述第一热点名称和第一热点密 码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。Transmitting, by the traffic sharing server, the first hotspot name and the first hotspot to the first terminal a code, so that the first terminal creates a first shared hotspot according to the first hotspot name and the first hotspot password.
  5. 根据权利要求4所述的终端流量共享方法,其中,所述流量共享服务器根据所述分享流量请求生成第一热点名称和第一热点密码,包括:The terminal traffic sharing method according to claim 4, wherein the traffic sharing server generates the first hotspot name and the first hotspot password according to the shared traffic request, including:
    所述流量共享服务器生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。The traffic sharing server generates a random combination of characters, wherein a part of the characters is the first hotspot name, and another part of the characters is the first hotspot password.
  6. 根据权利要求4所述的终端流量共享方法,还包括:The method for sharing a terminal traffic according to claim 4, further comprising:
    所述流量共享服务器接收第二终端上传的所述第一热点名称;Receiving, by the traffic sharing server, the first hotspot name uploaded by the second terminal;
    所述流量共享服务器向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。The traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  7. 根据权利要求6所述的终端流量共享方法,其中,所述流量共享服务器向所述第二终端发送所述第一热点名称对应的第一热点密码,包括:The terminal traffic sharing method according to claim 6, wherein the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal, including:
    所述流量共享服务器判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;The traffic sharing server determines whether the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot;
    如果是,所述流量共享服务器向所述第二终端发送与所述第一热点名称对应的第一热点密码。If yes, the traffic sharing server sends the first hotspot password corresponding to the first hotspot name to the second terminal.
  8. 根据权利要求6所述的终端流量共享方法,还包括:The method for sharing a terminal traffic according to claim 6, further comprising:
    所述流量共享服务器记录所述第二终端上报的使用的流量的字节数;The traffic sharing server records the number of bytes of the used traffic reported by the second terminal;
    如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,所述流量共享服务器向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。If the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sends a connection disconnection notification to the second terminal, where the connection is broken. The open notification is used to notify the second terminal to disconnect from the first terminal.
  9. 一种终端流量共享装置,包括:A terminal traffic sharing device includes:
    分享请求发送单元,用于向流量共享服务器发送分享流量请求;a sharing request sending unit, configured to send a sharing traffic request to the traffic sharing server;
    共享热点信息接收单元,用于接收所述流量共享服务器返回的根据所述分享 流量请求生成的第一热点名称和第一热点密码;a shared hotspot information receiving unit, configured to receive, according to the sharing, returned by the traffic sharing server The first hotspot name generated by the traffic request and the first hotspot password;
    共享热点创建单元,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码,根据所述第一热点名称和所述第一热点密码创建第一共享热点。a shared hotspot creating unit, configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request, and create a first according to the first hotspot name and the first hotspot password Share hotspots.
  10. [根据细则91更正 10.09.2015]
    根据权利要求5所述的终端流量共享装置,还包括:
    热点名称获取单元,用于获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;
    热点名称上传单元,用于上传所述第二热点名称至所述流量共享服务器;
    热点密码接收单元,用于接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;
    共享热点登录单元,用于根据所述第二热点密码登录所述第二共享热点。
    [Correct according to Rule 91 10.09.2015]
    The terminal traffic sharing device of claim 5, further comprising:
    a hotspot name obtaining unit, configured to acquire a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot is sent by the second terminal to the traffic sharing server to share the traffic request, and according to the Created by the traffic sharing server according to the second hotspot name and the second hotspot password generated by the shared traffic request;
    a hotspot name uploading unit, configured to upload the second hotspot name to the traffic sharing server;
    a hotspot password receiving unit, configured to receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
    The shared hotspot login unit is configured to log in to the second shared hotspot according to the second hotspot password.
  11. [根据细则91更正 10.09.2015]
    如权利要求5所述的终端流量共享装置,还包括:
    字节数上报单元,用于将所述第一终端使用的流量的字节数上报至所述流量共享服务器;
    连接断开通知接收单元,用于如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。
    [Correct according to Rule 91 10.09.2015]
    The terminal traffic sharing device of claim 5, further comprising:
    a byte number reporting unit, configured to report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
    a disconnection notification receiving unit, configured to receive a connection disconnection notification sent by the traffic sharing server, if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  12. [根据细则91更正 10.09.2015]
    一种终端流量共享处理装置,包括:
    共享请求接收单元,用于接收第一终端发送的分享流量请求;
    共享热点信息生成单元,用于根据所述分享流量请求生成第一热点名称和第一热点密码;
    共享热点信息发送单元,用于向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。
    [Correct according to Rule 91 10.09.2015]
    A terminal traffic sharing processing device includes:
    a sharing request receiving unit, configured to receive a shared traffic request sent by the first terminal;
    a shared hotspot information generating unit, configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
    a shared hotspot information sending unit, configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first one according to the first hotspot name and the first hotspot password Share hotspots.
  13. [根据细则91更正 10.09.2015] 
    根据权利要求8所述的终端流量共享处理装置,所述共享热点信息生成单元,具体生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。
    [Correct according to Rule 91 10.09.2015]
    The terminal traffic sharing processing device according to claim 8, wherein the shared hotspot information generating unit specifically generates a random character combination, wherein a part of the characters are the first hotspot name and another part of the characters is the first hotspot password.
  14. [根据细则91更正 10.09.2015]
    根据权利要求8所述的终端流量共享处理装置,还包括:
    热点名称接收单元,用于接收第二终端上传的所述第一热点名称;
    热点密码发送单元,用于向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。
    [Correct according to Rule 91 10.09.2015]
    The terminal traffic sharing processing device of claim 8, further comprising:
    a hotspot name receiving unit, configured to receive the first hotspot name uploaded by the second terminal;
    The hotspot password sending unit is configured to send the first hotspot password corresponding to the first hotspot name to the second terminal, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  15. [根据细则91更正 10.09.2015]
    根据权利要求10所述的终端流量共享处理装置,其中,所述热点密码发送单元,包括:
    速度等级判断模块,用于判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;
    密码发送模块,用于如果所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级,所述流量共享服务器向所述第二终端发送与所述第一热点名称对应的第一热点密码。
    [Correct according to Rule 91 10.09.2015]
    The terminal traffic sharing processing device according to claim 10, wherein the hotspot password sending unit comprises:
    a speed level determining module, configured to determine whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot;
    a password sending module, configured to: if the speed grade of the traffic shared by the second terminal is less than or equal to the speed grade of the first shared hotspot, the traffic sharing server sends the first hotspot to the second terminal The first hotspot password corresponding to the name.
  16. [根据细则91更正 10.09.2015]
    根据权利要求10所述的终端流量共享处理装置,还包括:
    字节数记录单元,用于记录所述第二终端上报的使用的流量的字节数;
    连接断开通知发送单元,用于如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,所述流量共享服务器向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。
    [Correct according to Rule 91 10.09.2015]
    The terminal traffic sharing processing device of claim 10, further comprising:
    a byte number recording unit, configured to record a number of bytes of the used traffic reported by the second terminal;
    a disconnection notification sending unit, configured to send, when the number of bytes of the used traffic reported by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the traffic sharing server sending the second terminal a disconnection notification, the disconnection notification being used to notify the second terminal to disconnect from the first terminal.
  17. [根据细则91更正 10.09.2015]
    一种终端,包括:处理器;发射器;接收器;用于存储处理器可执行指令的存储器;
    所述存储器,用于存储计算机执行指令;
    所述发射器,用于向流量共享服务器发送分享流量请求;
    所述接收器,用于接收所述流量共享服务器返回的根据所述分享流量请求生成的第一热点名称和第一热点密码;
    所述处理器,用于根据所述第一热点名称和所述第一热点密码创建第一共享热点。
    [Correct according to Rule 91 10.09.2015]
    A terminal comprising: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
    The memory is configured to store a computer execution instruction;
    The transmitter is configured to send a sharing traffic request to the traffic sharing server;
    The receiver is configured to receive a first hotspot name and a first hotspot password generated by the traffic sharing server according to the shared traffic request;
    The processor is configured to create a first shared hotspot according to the first hotspot name and the first hotspot password.
  18. [根据细则91更正 10.09.2015]
    根据权利要求13所述的终端,所述处理器还用于:
    获取第二终端创建的第二共享热点的第二热点名称,其中,所述第二共享热点由所述第二终端向流量共享服务器发送分享流量请求,进而根据所述流量共享服务器返回的根据所述分享流量请求生成的第二热点名称和第二热点密码创建的;则,
    所述发射器还用于:上传所述第二热点名称至所述流量共享服务器;
    所述接收器还用于:接收所述流量共享服务器发送的所述第二热点名称对应的第二热点密码;则,
    所述处理器,根据所述第二热点密码登录所述第二共享热点。
    [Correct according to Rule 91 10.09.2015]
    The terminal according to claim 13, wherein the processor is further configured to:
    Acquiring a second hotspot name of the second shared hotspot created by the second terminal, where the second shared hotspot sends a shared traffic request to the traffic sharing server by the second terminal, and further, according to the basis returned by the traffic sharing server The second hotspot name generated by the shared traffic request and the second hotspot password are created;
    The transmitter is further configured to: upload the second hotspot name to the traffic sharing server;
    The receiver is further configured to: receive a second hotspot password corresponding to the second hotspot name sent by the traffic sharing server;
    The processor logs in to the second shared hotspot according to the second hotspot password.
  19. [根据细则91更正 10.09.2015]
    根据权利要求14所述的终端,所述发射器还用于:将所述第一终端使用的流量的字节数上报至所述流量共享服务器;则,
    所述接收器还用于:如果所述第一终端上报的流量的字节数大于或等于所述第一终端分享的流量的字节数,接收所述流量共享服务器发送的连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。
    [Correct according to Rule 91 10.09.2015]
    The terminal according to claim 14, the transmitter is further configured to: report the number of bytes of the traffic used by the first terminal to the traffic sharing server;
    The receiver is further configured to: if the number of bytes of the traffic reported by the first terminal is greater than or equal to the number of bytes of the traffic shared by the first terminal, receive a connection disconnection notification sent by the traffic sharing server, The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  20. [根据细则91更正 10.09.2015]
    一种服务器,包括:处理器;发射器;接收器;用于存储处理器可执行指令的存储器;
    所述存储器,用于存储计算机执行指令;
    所述接收器,用于接收第一终端发送的分享流量请求;
    所述处理器,用于根据所述分享流量请求生成第一热点名称和第一热点密码;
    所述发射器,用于向所述第一终端发送所述第一热点名称和第一热点密码,以便所述第一终端根据所述第一热点名称和所述第一热点密码创建第一共享热点。
    [Correct according to Rule 91 10.09.2015]
    A server comprising: a processor; a transmitter; a receiver; a memory for storing processor executable instructions;
    The memory is configured to store a computer execution instruction;
    The receiver is configured to receive a shared traffic request sent by the first terminal;
    The processor is configured to generate a first hotspot name and a first hotspot password according to the shared traffic request;
    The transmitter is configured to send the first hotspot name and the first hotspot password to the first terminal, so that the first terminal creates a first share according to the first hotspot name and the first hotspot password. hot spot.
  21. [根据细则91更正 10.09.2015] 
    根据权利要求16所述的服务器,其中,所述处理器具体生成随机的字符组合,其中一部分字符为所述第一热点名称,另一部分字符为所述第一热点密码。
    [Correct according to Rule 91 10.09.2015]
    The server according to claim 16, wherein the processor specifically generates a random combination of characters, wherein a part of the characters is the first hotspot name and another part of the characters is the first hotspot password.
  22. [根据细则91更正 10.09.2015]
    根据权利要求16所述的服务器,所述接收器还用于:收第二终端上传的所述第一热点名称;则,
    所述发射器,还用于向所述第二终端发送所述第一热点名称对应的第一热点密码,以便所述第二终端根据所述第一热点密码登录所述第一共享热点。
    [Correct according to Rule 91 10.09.2015]
    The server according to claim 16, the receiver is further configured to: receive the first hotspot name uploaded by the second terminal;
    The transmitter is further configured to send, to the second terminal, a first hotspot password corresponding to the first hotspot name, so that the second terminal logs in to the first shared hotspot according to the first hotspot password.
  23. [根据细则91更正 10.09.2015] 
    根据权利要求18所述的服务器,所述处理器具体判断所述第二终端分享的流量的速度等级是否小于或等于所述第一共享热点的速度等级;如果是,则所述发射器向所述第二终端发送与所述第一热点名称对应的第一热点密码。
    [Correct according to Rule 91 10.09.2015]
    The server according to claim 18, wherein the processor specifically determines whether a speed level of the traffic shared by the second terminal is less than or equal to a speed level of the first shared hotspot; if yes, the transmitter is The second terminal sends a first hotspot password corresponding to the first hotspot name.
  24. [根据细则91更正 10.09.2015]
    根据权利要求18所述的服务器,所述处理器还用于:记录所述第二终端上报的使用的流量的字节数;
    如果所述第二终端上报的使用的流量的字节数大于或等于所述第二终端分享的字节数,则所述发射器还用于:向所述第二终端发送连接断开通知,所述连接断开通知用于通知所述第二终端断开与所述第一终端的连接。
    [Correct according to Rule 91 10.09.2015]
    The server according to claim 18, the processor is further configured to: record a number of bytes of the used traffic reported by the second terminal;
    And if the number of bytes of the traffic used by the second terminal is greater than or equal to the number of bytes shared by the second terminal, the transmitter is further configured to: send a connection disconnection notification to the second terminal, The connection disconnection notification is used to notify the second terminal to disconnect from the first terminal.
  25. [根据细则91更正 10.09.2015] 
    一种非临时性计算机可读存储介质,包括计算机执行指令,以供计算机的处理器执行所述计算机执行指令时,所述计算机执行如权利要求1-3中任一项所述的终端流量共享方法。
    [Correct according to Rule 91 10.09.2015]
    A non-transitory computer readable storage medium comprising computer executed instructions for execution of said computer execution instructions by a processor of a computer, said computer performing terminal traffic sharing according to any of claims 1-3 method.
  26. [根据细则91更正 10.09.2015] 
    一种非临时性计算机可读存储介质,包括计算机执行指令,以供计算机的处理器执行所述计算机执行指令时,所述计算机执行如权利要求4-8中任一项所述的终端流量共享方法。
    [Correct according to Rule 91 10.09.2015]
    A non-transitory computer readable storage medium comprising computer executed instructions for execution of said computer execution instructions by a processor of a computer, said computer performing terminal traffic sharing according to any of claims 4-8 method.
PCT/CN2015/086328 2014-11-28 2015-08-07 Method and system for sharing traffic of terminal WO2016082582A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410709555.3A CN105657635B (en) 2014-11-28 2014-11-28 Terminal flow sharing method and system
CN201410709555.3 2014-11-28

Publications (1)

Publication Number Publication Date
WO2016082582A1 true WO2016082582A1 (en) 2016-06-02

Family

ID=56073544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086328 WO2016082582A1 (en) 2014-11-28 2015-08-07 Method and system for sharing traffic of terminal

Country Status (2)

Country Link
CN (1) CN105657635B (en)
WO (1) WO2016082582A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330471A (en) * 2016-10-25 2017-01-11 珠海格力电器股份有限公司 Mobile terminal data flow sharing method, device and system

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170130A (en) * 2016-09-18 2016-11-30 宇龙计算机通信科技(深圳)有限公司 A kind of terminal room shares the method for flow, device and terminal
CN106559789A (en) * 2016-11-15 2017-04-05 努比亚技术有限公司 Focus sharing means, method and system
CN107967639A (en) * 2017-08-30 2018-04-27 上海连尚网络科技有限公司 The method and apparatus of hot spot lease
CN107371204B (en) * 2017-09-04 2020-07-10 广东工业大学 Traffic sharing switching method, device and system based on mobile terminal
CN107333250B (en) * 2017-09-04 2020-04-28 广东工业大学 Traffic request detection method, device and system based on mobile terminal
CN107682831A (en) * 2017-09-27 2018-02-09 珠海市魅族科技有限公司 Sharing method and device, the computer installation and storage medium of residual flow
CN108260187A (en) * 2018-01-26 2018-07-06 上海连尚网络科技有限公司 A kind of flow sharing method
CN110248324B (en) * 2018-03-07 2021-10-08 上海连尚网络科技有限公司 Method and apparatus for traffic sharing settlement
CN108601063B (en) * 2018-03-09 2021-08-24 Oppo广东移动通信有限公司 Personal hotspot realization method and related product
CN109040503B (en) * 2018-07-28 2021-02-26 北京京蓝宇科技有限公司 Traffic sharing method and server
CN111371896B (en) * 2020-03-13 2023-04-18 Oppo广东移动通信有限公司 Network acceleration method, terminal and storage medium
CN113613185A (en) * 2021-08-20 2021-11-05 占海飞 User autonomous WiFi (Wireless Fidelity) sharing method based on client

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096384A (en) * 2012-12-17 2013-05-08 东莞宇龙通信科技有限公司 Method limiting slave internet traffic and system thereof
CN103596121A (en) * 2013-10-30 2014-02-19 北京网河时代科技有限公司 Flow sharing method for wireless mobile networks
US20140269478A1 (en) * 2013-03-14 2014-09-18 Samsung Electronics Co., Ltd. System, apparatus, and method for connecting short distance communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138355A1 (en) * 2003-12-19 2005-06-23 Lidong Chen System, method and devices for authentication in a wireless local area network (WLAN)
CN104159255B (en) * 2014-08-11 2018-05-08 小米科技有限责任公司 Terminal room shares the method and device of network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096384A (en) * 2012-12-17 2013-05-08 东莞宇龙通信科技有限公司 Method limiting slave internet traffic and system thereof
US20140269478A1 (en) * 2013-03-14 2014-09-18 Samsung Electronics Co., Ltd. System, apparatus, and method for connecting short distance communication
CN103596121A (en) * 2013-10-30 2014-02-19 北京网河时代科技有限公司 Flow sharing method for wireless mobile networks

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330471A (en) * 2016-10-25 2017-01-11 珠海格力电器股份有限公司 Mobile terminal data flow sharing method, device and system

Also Published As

Publication number Publication date
CN105657635B (en) 2019-08-02
CN105657635A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2016082582A1 (en) Method and system for sharing traffic of terminal
US10037554B2 (en) Aggregated billing for application-based network access and content consumption
CN111262865B (en) Method, device and system for making access control strategy
WO2017124621A1 (en) Method and device for obtaining access information of shared wireless access point
US10225871B2 (en) Method and system for hosting network access point
US10945130B2 (en) Method for establishing wireless connection for application of user equipment
TWI592046B (en) Network sharing device, system and method
US20140344901A1 (en) Method And System For Sharing A File
KR102329095B1 (en) Network access method, related devices and systems
CN103428666A (en) Charging method and device
US9621480B2 (en) Data acquisition pertaining to connectivity of client applications of a service provider network
WO2015184823A1 (en) Access control method and device for mobile terminal, and computer storage medium
CN105991596A (en) Access control method and system
CN106559787B (en) Network access method, device and system
WO2016188325A1 (en) Data charging method and apparatus
WO2019047345A1 (en) Method of generating one-time password sending policy, and one-time password sending method
WO2021026763A1 (en) Data security for network slice management
CN106487894A (en) A kind of data sharing platform
CN109474626B (en) Network authentication method and device based on SNS
JP6339305B1 (en) Communication system, parent device, server, child device, communication method, and program
CN110545453B (en) Content distribution method, device and system of content distribution network
JP2018028724A (en) Cloud system, method for remote control of application execution device, and method for charging thereof
CN113966602A (en) Distributed storage of blocks in a blockchain
CN106851639B (en) WiFi access method and access point
US20140122302A1 (en) Customized Data Delivery

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15863956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15863956

Country of ref document: EP

Kind code of ref document: A1