Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Embodiments provide a kind of method obtaining the network connection information of the client terminal of access Wi-Fi Hotspot, described Wi-Fi Hotspot is mobile Wi-Fi Hotspot, specifically as shown in Figure 1, comprising:
S101, obtain the current connection information of the client terminal that current and described mobile Wi-Fi Hotspot connects.
Current connection information comprises: the real-time link speed of the IP address of client terminal identification number information, client terminal, the connectivity port of client terminal, client terminal, client terminal this access time of the connection of mobile Wi-Fi Hotspot, this time disconnected of client terminal and client terminal this be connected through the data traffic etc. that mobile Wi-Fi Hotspot transmitted.
S102, described current connection information to be stored in the database of described mobile Wi-Fi Hotspot, in described database, also to comprise the historical connection information of described client terminal.
If this client terminal accesses mobile Wi-Fi Hotspot first, after obtaining current connection information, the historical connection information of current connection information as this client is stored in a database, wherein include client terminal identification number information in historical connection information, the IP address of client terminal, the connectivity port of client terminal, this of client terminal accesses the connect hours of mobile Wi-Fi Hotspot, further comprises the data traffic that client terminal has transmitted through mobile Wi-Fi Hotspot history, the history of client terminal connects duration, client terminal is allowed to the information such as the connection duration used and the data traffic being allowed to use.
Before this client terminal, access has been this and has been moved Wi-Fi Hotspot, after the current connection information obtaining this client terminal, safeguards in a database to the link information of this client terminal.Concrete, as safeguarded IP address, the duration of connection of client terminal, transmitting data stream amount etc. of this access of this client terminal.
S103, obtain the network connection information of client terminal according to described client terminal link information in a database.
The connecting path of mobile Wi-Fi Hotspot and each client terminal, uses an independent thread to monitor.The path thread of each connecting path is monitored each connecting path accordingly, obtains the network connection information of client terminal according to link information in a database.Mainly comprise:
Obtain real-time link speed: path thread obtains the real-time link speed of client terminal by the sizes values of the packet of transmitted per unit time between the mobile Wi-Fi Hotspot of monitoring and client terminal.Path thread, by timer, is often added up the packet once moving Wi-Fi Hotspot and client terminal transmission after a while, thus is calculated the average data transfer rate of every bar connecting path, i.e. real-time link speed.
Obtain and connect duration: according to this turn-on time of client terminal described in described current connection information, this disconnects the time the to be connected duration acquisition client terminal duration of connection with the history of the client terminal in historical connection information.
Obtain used data flow: the used data flow obtaining client terminal according to the history used data flow in this used data flow of client terminal in described current connection information and described historical connection information.
The embodiment of the present invention additionally provides a kind of mobile terminal 20, specifically as shown in Figure 2, comprising: client terminal administrative unit 21, Database Unit 22 and Service Processing Unit 23.
Client terminal administrative unit 21, for obtaining the current connection information of the client terminal that current and mobile Wi-Fi Hotspot connects.
After client terminal accesses mobile Wi-Fi Hotspot, client terminal administrative unit 21 obtains the current connection information of client terminal, and wherein current connection information comprises: this of the real-time link speed of the IP address of client terminal identification number information, client terminal, the connectivity port of client terminal, client terminal, client terminal accesses the data traffic etc. that connect hours of mobile Wi-Fi Hotspot, this time disconnected connected of client terminal and client terminal have transmitted through mobile Wi-Fi Hotspot.
Database Unit 22, for being stored in the database of described mobile Wi-Fi Hotspot by described current connection information, also comprises the historical connection information of described client terminal in described database.
If this client terminal accesses mobile Wi-Fi Hotspot first, obtain the current connection information of client at client-side management unit 21 after, the historical connection information of the current connection information of client as client stores in a database by Database Unit 22, wherein include client terminal identification number information in historical connection information, the IP address of client terminal, the connectivity port of client terminal, this of client terminal accesses the connect hours of mobile Wi-Fi Hotspot, further comprises the data traffic that client terminal has transmitted through mobile Wi-Fi Hotspot history, the history of client terminal connects duration, client terminal is allowed to the information such as the connection duration used and the data traffic being allowed to use.
Before this client terminal, have access to be this move Wi-Fi Hotspot, obtain the current connection information of this client terminal at client-side management unit 21 after, Database Unit 22 carries out updating maintenance to the link information of this client terminal in a database.Concrete, as safeguarded IP address, the duration of connection of client terminal, transmitting data stream amount etc. of this access of this client terminal.
Service Processing Unit 23, for obtaining the network connection information of client terminal according to described client terminal link information in a database.
The method of the network connection information of the client terminal of the acquisition access Wi-Fi Hotspot that the embodiment of the present invention provides and mobile terminal, by obtaining the current connection information of client terminal, the current connection information of client terminal and historical connection information are stored in the database of mobile Wi-Fi Hotspot, thus the network connection information of client terminal can be obtained according to the current connection information of the client terminal in database and historical connection information.
Embodiment two
Embodiments provide a kind of method obtaining the network connection information of the client terminal of access Wi-Fi Hotspot, this Wi-Fi Hotspot is mobile Wi-Fi Hotspot, mobile Wi-Fi Hotspot in the present embodiment is specifically described for the mobile terminal of Android system, as shown in Figure 3, comprising:
S301, set up the connection of described client terminal and described mobile Wi-Fi Hotspot.
First, after client terminal initiates connection request to mobile Wi-Fi Hotspot, mobile Wi-Fi Hotspot receives this connection request, judge whether the user terminal quantity that current and described mobile Wi-Fi Hotspot is connected reaches described mobile Wi-Fi Hotspot maximum number of connections, such as, move the maximum Supporting connectivity of Wi-Fi Hotspot 8 client terminals.If the client terminal be connected with mobile Wi-Fi Hotspot reaches 8, then move the connection request that Wi-Fi Hotspot refuses new client terminal.
If the described user terminal quantity that current and described mobile Wi-Fi Hotspot is connected does not exceed described mobile Wi-Fi Hotspot maximum number of connections, judge whether the signal condition of the data cube computation of described mobile Wi-Fi Hotspot meets and preset access conditions; If the signal condition of described mobile Wi-Fi Hotspot data cube computation does not meet described default access conditions, the received power such as moving the data of Wi-Fi Hotspot is less than 50db, Wi-Fi hotspot then thinks that the signal condition of data cube computation of self is bad, and described Wi-Fi then refuses the connection request accepting described client terminal.
If the signal condition of described mobile Wi-Fi Hotspot data cube computation meets described default access conditions, described mobile Wi-Fi Hotspot accepts the connection request of described client terminal.
Certainly, ejection dialog box can also be set in the terminal with mobile Wi-Fi Hotspot, when there being client terminal to initiate connection request, determine whether by the indication information that user is ejecting dialog box input the connection request accepting client terminal, whether artificial decision allows this client terminal to access.
If described user allows the connection request of client terminal, then move the connection request that Wi-Fi Hotspot accepts client terminal.
When after the connection request accepting client terminal, mobile Wi-Fi Hotspot can also carry out legitimacy authentication to the authentication information of client terminal and business information.First the authentication information of client terminal is judged, as whether correct in connected password, if the authentication information mistake of client terminal, then do not allow this client terminal to access.When the authentication information of client terminal is correct, mobile Wi-Fi Hotspot further judges that whether the business information of client terminal is legal, such as when mobile Wi-Fi Hotspot provides chargeable service, according to store this client terminal in a database connect duration information or used data flow information judges whether client terminal has exceeded the connection duration of mobile Wi-Fi Hotspot permission or spendable data traffic; If the business information of this client terminal is illegal, then do not allow the access of this client terminal, otherwise allow this client terminal to access mobile Wi-Fi Hotspot.Mobile like this Wi-Fi Hotspot can realize managing the access of client terminal.
S302, the maximum connection speed information that the client terminal that described current and described mobile Wi-Fi Hotspot connects is set and/or precedence information.
After client terminal accesses mobile Wi-Fi Hotspot, mobile Wi-Fi Hotspot is that each client terminal arranges maximum connection speed and/or precedence information respectively according to the bandwidth of self, can certainly distribute same maximum connection speed unitedly.When the connection speed of client terminal reaches maximum connection speed, the connection speed of mobile Wi-Fi Hotspot restriction client terminal, concrete can by postponing the transmitting time of packet between client terminal and mobile Wi-Fi Hotspot, the quantity of the packet that such unit interval sends reduces, thus indirectly limits the connection speed of client terminal.
Certainly, after client terminal accesses mobile Wi-Fi Hotspot, mobile Wi-Fi Hotspot shows by the display unit of self that prompt window that mobile Wi-Fi Hotspot provides is artificial subjectively to be arranged or the precedence information of change client and/or maximum link information.
S303, obtain the current connection information of the client terminal that current and described mobile Wi-Fi Hotspot connects.
After client terminal accesses mobile Wi-Fi Hotspot, mobile Wi-Fi Hotspot obtains the current connection information of this client terminal, wherein current connection information comprises: client terminal identification number information, the IP address of client terminal, the connectivity port of client terminal, the real-time link speed of client terminal, this of client terminal accesses the connect hours of mobile Wi-Fi Hotspot, client terminal this connect disconnect the time, the data traffic that client terminal has transmitted through mobile Wi-Fi Hotspot, the authentication information of client terminal and the legitimacy of business information are being carried out to the authentication information of authentication, and the maximum connection speed information of the client terminal arranged and precedence information etc.
S304, described current connection information to be stored in the database of described mobile Wi-Fi Hotspot, in described database, also to comprise the historical connection information of described client terminal.
If this client terminal accesses mobile Wi-Fi Hotspot first, obtain the current connection information of client terminal at mobile Wi-Fi Hotspot after, store the current connection information of this client terminal in a database, simultaneously using this current connection information also as the historical connection information of this client.Wherein historical connection information includes client terminal identification number information, the IP address of client terminal, the connectivity port of client terminal, the history of client terminal accesses the connect hours of mobile Wi-Fi Hotspot, further comprises the data traffic that client terminal has transmitted through mobile Wi-Fi Hotspot history, the history of client terminal connects duration, client terminal is allowed to the connection duration used and the data traffic being allowed to use, and the authentication information of client terminal and the legitimacy of business information are being carried out to the authentication information of authentication, the maximum connection speed information of the client terminal arranged and precedence information etc.
If access has been this and has been moved Wi-Fi Hotspot before this client terminal, after the current connection information obtaining this client terminal, store the current connection information of this client terminal in a database.In a database updating maintenance is carried out to the historical connection information of this client terminal simultaneously.Concrete, as safeguarded IP address, the duration of connection of client terminal, transmitting data stream amount etc. of this access of this client terminal.
Mobile Wi-Fi Hotspot, after accepting the Query Information of user, can show by the display unit of mobile Wi-Fi Hotspot the current connection information and/or historical connection information that each current and mobile Wi-Fi Hotspot connects.
Storing current connection information in a database, can be the connection list of newly-built client, or also can be for each client terminal sets up the text storing link information, also can adopt other form, in this no limit.
S305, obtain the network connection information of client terminal according to described client terminal link information in a database.
The connecting path of mobile Wi-Fi Hotspot and each client terminal, uses an independent thread to monitor.The thread of each connecting path is monitored each connecting path accordingly, thus obtains the network connection information of client terminal.Wherein network connection information mainly comprises:
Obtain real-time link speed: thread obtains the link rate of client terminal by the sizes values of the packet of transmitted per unit time between the mobile Wi-Fi Hotspot of monitoring and client terminal.The management thread of connecting path, by timer, once moves the packet of Wi-Fi Hotspot and client terminal transmission, thus calculates the average data transfer rate of every bar connecting path, i.e. real-time link speed at interval of a period of time statistics.
Obtain and connect duration: according to the time of this access of the client terminal recorded in current connection information, calculate the connection duration after this access, the connection duration of this client terminal history access of recording in the historical connection information then according to client terminal in database, obtains total connection duration of each client terminal.
Obtain used data flow: this accesses the data traffic used to have recorded each client terminal in current connection information; Also store the history used data flow of each client terminal in database, thus the total used data flow of each client terminal can be obtained.
Certainly, mobile Wi-Fi Hotspot is after accepting the Query Information of user, also the network connection information of the client terminal that each and mobile Wi-Fi Hotspot connects can be shown by the display unit of self, as real-time link rate, acquisition have connected duration and used data flow.
S306, judge whether client terminal that current and described mobile Wi-Fi Hotspot connects exists malice and be connected according to the network connection information of described client; Connect if described client terminal is malice, refuse the described mobile Wi-Fi Hotspot of described client terminal access.
According to the network connection information of the client terminal obtained, specifically as client terminal connection duration, used data flow judge whether client terminal belongs to malice and connect further.Concrete can judge whether the duration of connection of client terminal exceedes preset duration, and whether the used data flow whether the real-time link speed of described client terminal is greater than default link rate or described client terminal is greater than preset flow, as mobile Wi-Fi Hotspot be monthly payment flow time, client terminal is exceeding in default connection duration, keep the enforcement link rate of two-forty to be greater than the transmission of default link rate data for a long time, then move Wi-Fi Hotspot and think that this client terminal is for malice connection.
If client terminal attempts to change the system file of mobile Wi-Fi Hotspot, malicious modification moves the file of Wi-Fi Hotspot or attempts to obtain the administration authority of mobile Wi-Fi Hotspot, then move Wi-Fi Hotspot and also can think that this client terminal connects for malice.
Certainly, which user terminal mobile Wi-Fi Hotspot, after the Query Information receiving user, can show by the display unit of self in real time to user and whether there is malice connection.Move Wi-Fi Hotspot simultaneously and can also change or arrange client terminal current connection information in a database in real time, as change or the priority or the information such as maximum connection speed or IP address that arrange client terminal.
Mobile like this Wi-Fi Hotspot is by obtaining the current connection information of client terminal, safeguard according to current connection information and store the historical connection information of each client terminal, thus the network connection information of client terminal can be obtained, and in process simultaneously after client terminal connects and connects, mobile Wi-Fi Hotspot can carry out real-time management to client terminal, as whether allowed client to access, the maximum connection speed of client and priority, and whether client terminal is that malice connects.
Further, multiple client terminal and mobile Wi-Fi Hotspot have IP address separately, after multiple client terminal is linked into mobile Wi-Fi Hotspot, client terminal can obtain the IP address of other client terminals by mobile Wi-Fi Hotspot, multiple like this client terminal can be communicated based on WIFI by mobile Wi-Fi Hotspot.Concrete communication process is as follows:
Not only can carry out textcommunication between client terminal, also can carry out voice communication.If when carrying out text message transmission between client terminal, first text message is sent to mobile Wi-Fi Hotspot by the first client terminal, wherein carries the IP address information of the second client terminal in text message.After mobile Wi-Fi Hotspot receives the text message of this first client terminal, according to the IP address information of the recipient that text message carries, text information is sent to the second client terminal of this IP address instruction.
If carry out voice communication between client terminal, such client terminal needs to carry out information conversion by self voice and text data conversion hardware equipment or software.Concrete process is as follows:
First voice messaging is changed into text message by the first client terminal, concrete conversion process is prior art, do not repeat them here, being then sent to mobile Wi-Fi Hotspot by transforming the text message obtained, wherein in text message, carrying the IP address information of the second client terminal.After mobile Wi-Fi Hotspot receives the text message of this first client terminal, according to the IP address information of the second client terminal that text message carries, text information is sent to the second client terminal of this IP address instruction.Second client terminal carries out reversion to text information, obtains voice messaging, plays to the second client terminal.
Mobile Wi-Fi Hotspot as information terminal, thus can achieve communicating based on the text message of WIFI and voice messaging between client terminal.
The acquisition that the embodiment of the present invention provides accesses the method for the network connection information of the client terminal of mobile Wi-Fi Hotspot, by after connecting with client terminal, mobile Wi-Fi Hotspot can obtain the current connection information of client terminal, stores current connection information and the historical connection information of client terminal in a database simultaneously.Then Wi-Fi Hotspot can obtain each client terminal network connection parameter information according to the current connection information of the client terminal obtained and historical connection information is moved, and simultaneously in process in client terminal connects process and upon establishment of a connection, mobile Wi-Fi Hotspot can realize carrying out real-time management to client terminal, as whether allowed client to access, the maximum connection speed of client and priority, and whether client terminal is that malice connects.
Embodiment three
Embodiments provide a kind of mobile terminal 40, mobile terminal in the present embodiment is specifically described for the mobile terminal of Android system, this mobile terminal is as mobile Wi-Fi Hotspot, as shown in Figure 4, connection management unit 41, client terminal administrative unit 42, Database Unit 43, Service Processing Unit 44 and display unit 45 is comprised.
Connection management unit 41, for setting up the connection of described client terminal and mobile Wi-Fi Hotspot.
First, after client terminal initiates connection request to mobile Wi-Fi Hotspot, mobile Wi-Fi Hotspot receives this connection request, connection management unit 41 judges whether the user terminal quantity that current and mobile Wi-Fi Hotspot is connected reaches mobile Wi-Fi Hotspot maximum number of connections, such as, move the maximum Supporting connectivity of Wi-Fi Hotspot 8 client terminals.If the client terminal be connected with mobile Wi-Fi Hotspot reaches 8, then connection management unit 41 refuses the connection request of new client terminal.
If the described user terminal quantity that current and described mobile Wi-Fi Hotspot is connected does not exceed described mobile Wi-Fi Hotspot maximum number of connections, connection management unit 41 also presets access conditions for judging whether the signal condition of the data cube computation of described mobile Wi-Fi Hotspot meets.
If the signal condition of described mobile Wi-Fi Hotspot data cube computation does not meet described default access conditions, the received power such as moving the data of Wi-Fi Hotspot is less than 50db, connection management unit 41 thinks that the signal condition of data cube computation of self is bad, and connection management unit 41 refusal accepts the connection request of described client terminal.
If the signal condition of described mobile Wi-Fi Hotspot data cube computation meets described default access conditions, connection management unit 41 accepts the connection request of described client terminal.
Certainly can arrange on the mobile terminal with Wi-Fi Hotspot and eject the connection request whether dialog box inquiry user accepts user side terminal, if described user allows the connection request of client terminal, then connection management unit 41 accepts the connection request of client terminal.
After connection management unit 41 accepts the connection request of client terminal, connection management unit 41 can also carry out legitimacy authentication to the authentication information of client terminal and business information.First connection management unit 41 judges the authentication information of client terminal, and whether as correct in connected password, if the authentication information mistake of client terminal, then connection management unit 41 does not allow this client terminal to access.When the authentication information of client terminal is correct, connection management unit 41 further judges that whether the business information of client terminal is legal, such as when mobile Wi-Fi Hotspot provides chargeable service, according to store this client terminal in a database connect duration information or used data flow information judges whether client terminal has exceeded the connection duration of mobile Wi-Fi Hotspot permission or spendable data traffic; If the business information of this client terminal is illegal, then connection management unit 41 does not allow the access of this client terminal.Otherwise allow this client terminal to access mobile Wi-Fi Hotspot, thus establish the connection of mobile Wi-Fi Hotspot and client terminal.
Client terminal administrative unit 42, for obtaining the current connection information of the client terminal be connected with described mobile Wi-Fi Hotspot that current described linkage unit 41 is set up.
After client terminal accesses mobile Wi-Fi Hotspot, client terminal administrative unit 42 obtains the current connection information of this client terminal, wherein current connection information comprises: client terminal identification number information, the IP address of client terminal, the connectivity port of client terminal, the real-time link speed of client terminal, this of client terminal accesses the connect hours of mobile Wi-Fi Hotspot, client terminal this connect disconnect the time, the data traffic that client terminal has transmitted through mobile Wi-Fi Hotspot, the authentication information of client terminal and the legitimacy of business information are being carried out to the authentication information of authentication, and the maximum connection speed information of the client terminal arranged and precedence information etc.
Database Unit 43, for safeguarding and storing described client terminal link information in a database, described link information in a database comprises current connection information and the historical connection information of described client terminal.
If this client terminal accesses mobile Wi-Fi Hotspot first, obtain the current connection information of client terminal in client terminal administrative unit 42 after, Database Unit 43 stores the current connection information of this client terminal in a database, simultaneously using this current connection information also as the historical connection information of this client.Wherein historical connection information includes client terminal identification number information, the IP address of client terminal, the connectivity port of client terminal, the history of client terminal accesses the connect hours of mobile Wi-Fi Hotspot, further comprises the data traffic that client terminal has transmitted through mobile Wi-Fi Hotspot history, the history of client terminal connects duration, client terminal is allowed to the connection duration used and the data traffic being allowed to use, and the authentication information of client terminal and the legitimacy of business information are being carried out to the authentication information of authentication, the maximum connection speed information of the client terminal arranged and precedence information etc.
If access has been this and has been moved Wi-Fi Hotspot before this client terminal, obtain the current connection information of this client terminal at client-side management unit 42 after, Database Unit 43 has stored the current connection information of this client terminal in a database.Database Unit 43 carries out updating maintenance to the historical connection information of this client terminal in a database simultaneously.Concrete, as safeguarded IP address, the duration of connection of client terminal, transmitting data stream amount etc. of this access of this client terminal.
Storing current connection information in a database, can be the connection list of newly-built client, or also can be for each client terminal sets up the text storing link information, also can adopt other form, in this no limit.
Service Processing Unit 44, for obtaining the network connection information of client terminal according to described client terminal link information in a database.
The connecting path of mobile Wi-Fi Hotspot and each client terminal, Service Processing Unit 44 is monitored each connecting path accordingly by the thread of each connecting path, thus obtains the network connection information of client terminal.Wherein network connection information mainly comprises:
Obtain real-time link speed: thread obtains the link rate of client terminal by the sizes values of the packet of transmitted per unit time between the mobile Wi-Fi Hotspot of monitoring and client terminal.The management thread of connecting path, by timer, once moves the packet of Wi-Fi Hotspot and client terminal transmission, thus calculates the average data transfer rate of every bar connecting path, i.e. real-time link speed at interval of a period of time statistics.
Obtain and connect duration: according to the time of this access of the client terminal recorded in current connection information, calculate the connection duration after this access, the connection duration of this client terminal history access of recording in the historical connection information then according to client terminal in database, obtains total connection duration of each client terminal.
Obtain used data flow: this accesses the data traffic used to have recorded each client terminal in current connection information; Also store the history used data flow of each client terminal in database, thus the total used data flow of each client terminal can be obtained.
Service Processing Unit 44 also for client terminal set up be connected with mobile Wi-Fi Hotspot after for arranging maximum connection speed information and/or the precedence information of this client terminal.
After the connection establishing mobile Wi-Fi Hotspot and client terminal, after client terminal accesses mobile Wi-Fi Hotspot, Service Processing Unit 44 is that each client terminal arranges maximum connection speed and/or precedence information respectively according to the bandwidth of self, can certainly unify to arrange same maximum connection speed.When the connection speed of client terminal reaches maximum connection speed, Service Processing Unit 44 limits the connection speed of client terminal, concrete can by postponing the transmitting time of packet between client terminal and mobile Wi-Fi Hotspot, the quantity of the packet that such unit interval sends reduces, thus indirectly limits the connection speed of client terminal.
Certainly, after client terminal accesses mobile Wi-Fi Hotspot, Service Processing Unit 44 also can receive the precedence information of the client terminal that user is arranged by the prompt window that display unit 45 provides or changed and/or maximum connection speed information.
Service Processing Unit 44 is after the network connection information obtaining client, can also judge whether client terminal that current and described mobile Wi-Fi Hotspot connects exists malice and be connected according to the network connection information of described client, connect if client terminal is malice, the described mobile Wi-Fi Hotspot of refusal client terminal access.
Service Processing Unit 44 according to the network connection information of client terminal obtained, as client terminal connect duration, used data flow judges whether client terminal belongs to malice and connect further.Concrete Service Processing Unit 44 can judge whether the duration of connection of client terminal exceedes preset duration, and whether the used data flow whether the real-time link speed of described client terminal is greater than default link rate or described client terminal is greater than preset flow, as mobile Wi-Fi Hotspot be monthly payment flow time, client terminal is exceeding in default connection duration, keep for a long time two-forty enforcement link rate be greater than default link rate data transmission, then Service Processing Unit 44 think this client terminal for malice connect.
If client terminal attempts to change the system file of mobile Wi-Fi Hotspot, malicious modification moves the file of Wi-Fi Hotspot or attempts to obtain the administration authority of mobile Wi-Fi Hotspot, then Service Processing Unit 44 also can think that this client terminal connects for malice.
Certainly, mobile Wi-Fi Hotspot also can show the network connection information of the client terminal that each and mobile Wi-Fi Hotspot connects by the display unit of self, as real-time link rate, acquisition have connected duration and used data flow.
Certainly, at Service Processing Unit 44 after the network connection information obtaining client terminal, mobile Wi-Fi Hotspot also can show the network connection information of the client terminal that each and mobile Wi-Fi Hotspot connects by the display unit of self, as real-time link rate, acquisition have connected duration and used data flow.
Display unit 45, for the Query Information according to user, shows described mobile Wi-Fi Hotspot to user and stores current connection information in the database and/or historical connection information and/or network connection information.
Mobile Wi-Fi Hotspot, after accepting the Query Information of user, can show by display unit 45 current connection information and/or historical connection information and/or network connection information that each current and mobile Wi-Fi Hotspot connects.
Further, mobile terminal also comprises: transmitting element, receiving element and retransmission unit.
Transmitting element, all client terminals for being connected to current and described mobile Wi-Fi Hotspot send the IP address information of described all client terminals.
Multiple client terminal and mobile Wi-Fi Hotspot have IP address separately, and after multiple client terminal is linked into mobile Wi-Fi Hotspot, transmitting element sends the IP address information of the client terminal that all and mobile Wi-Fi Hotspot is connected to client terminal.Multiple like this client terminal can be communicated based on WIFI by mobile Wi-Fi Hotspot.
Receiving element, for receiving text message that the first client terminal sends to the second client terminal or the text message transformed by voice messaging that described first client terminal sends to described second client terminal, described text message carries the IP address of described second client terminal.
Mobile Wi-Fi Hotspot receives the text message that transmit leg client terminal sends, and wherein carries the IP address information of the client terminal of recipient in text message.
Retransmission unit, for the IP address according to described second client terminal, forwards the text message of described client terminal transmission to described second client terminal.
The IP address information of the recipient that retransmission unit carries according to text message, is sent to the client terminal of the recipient of this IP address instruction by text information.
Also can carry out voice communication between certain client terminal, such client terminal needs to carry out information conversion by self voice and text data conversion hardware equipment or software.First client terminal needs the voice messaging that will send to be converted into text message, and then sends.Second client terminal needs after receiving text information to be that voice messaging plays to the second client terminal by text convert information.
Mobile Wi-Fi Hotspot as information terminal, thus can achieve communicating based on the text message of WIFI and voice messaging between client terminal.
Certainly, the connection management unit 41 of above mobile Wi-Fi Hotspot, client terminal administrative unit 42, Database Unit 43, Service Processing Unit 44 and display unit 45 all belong to the functional unit of mobile Wi-Fi Hotspot, but namely Wi-Fi Hotspot is moved for concrete mobile terminal, connection management unit 41, client-side management unit 42 and Service Processing Unit are the difference in functionality performed by the processor of mobile terminal respectively, Database Unit 43 is then specifically the memory device of mobile terminal, for storing the link information of client terminal in the invention process, display unit is then the display module of mobile terminal, for providing the interactive interface between user and processor.
The mobile terminal that the embodiment of the present invention provides, by connection management unit after connecting with client terminal, client terminal administrative unit can obtain the current connection information of client terminal, and Database Unit is safeguarded in a database and stores the historical connection information of client terminal simultaneously.Then Service Processing Unit can obtain the network connection information of each client terminal according to the current connection information of the client terminal obtained and historical connection information, and simultaneously connection management unit in client terminal connects process and in Service Processing Unit process upon establishment of a connection, can realize carrying out real-time management to client terminal, as whether allowed client to access, the maximum connection speed of client and priority, and whether client terminal is that malice connects.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.