Summary of the invention
In view of this, the invention provides intelligent hotspot connection system and method.
A kind of intelligent hotspot connection system of the embodiment of the invention comprise a storage element, a wireless connections unit, with a processing unit.Storage element comprises a hot information database, in order at least one characteristic of writing down a plurality of focuses, with a focus preference (hotspot preference) database, in order to write down at least one preference guiding (preference inclination), wherein the preference guiding defines one of corresponding this at least one characteristic and a signal strength signal intensity respectively with reference to weight.Processing unit is obtained the preference guiding by the focus preference database.Processing unit detects the signal strength signal intensity of each focus respectively by the wireless connections unit, and calculates a mark for each focus respectively according to the characteristic and the signal strength signal intensity of preference guiding, each focus.Processing unit is selected the highest focus of mark according to the mark of corresponding each focus, and is connected with the focus of selecting automatically by the wireless connections unit.
A kind of intelligent hotspot connection method of the embodiment of the invention.At first, obtain preference guiding.Wherein, preference guiding define respectively at least one characteristic of corresponding focus and signal strength signal intensity one with reference to weight.Then, detect a signal strength signal intensity of each focus respectively.Afterwards, calculate a mark for each focus respectively, and select the highest focus of mark, and be connected with the focus of selecting automatically according to the mark of corresponding each focus according to the characteristic and the signal strength signal intensity of preference guiding, each focus.
In certain embodiments, processing unit more can be according to the login program of logining in program acquisition corresponding selected focus of selected focus by corresponding each focus, and according to selected focus by the account number and the password that capture corresponding selected focus in an account number of corresponding each focus and the password.Afterwards, account number and the password that captures is applied to logining in the program of acquisition, to login automatically to selected focus.
In certain embodiments, processing unit can judge more whether the line of corresponding selected focus breaks.When the line broken string of corresponding selected focus, processing unit can detect the signal strength signal intensity of focus again by the wireless connections unit, and according to the characteristic of preference guiding, each focus and signal strength signal intensity respectively for each focus calculating mark.Processing unit is reselected the highest focus of mark according to the mark of corresponding each focus, and is connected with the focus of selecting again automatically by the wireless connections unit.
Said method of the present invention can exist by the procedure code mode.When procedure code was written into and carries out by machine, machine became in order to carry out device of the present invention.
The invention provides a kind of intelligent hotspot connection system and method, can allow described mancarried device according to the condition of user ' s preference and focus characteristic with automatic decision focus and carry out the system and method for logining operation of focus.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, embodiment cited below particularly, and cooperate appended accompanying drawing, be described in detail as follows.
Fig. 1 shows the intelligent hotspot connection system according to the embodiment of the invention.Intelligent hotspot connection system 1000 according to the embodiment of the invention goes for an electronic installation, as mancarried device.Intelligent hotspot connection system 1000 comprise a storage element 1100, a wireless connections unit 1200, with a processing unit 1300.
Fig. 2 shows the storage element according to the embodiment of the invention.Storage element 1100 comprise at least a user ' s preference set 1110, one hot information database 1120, with a focus preference database 1130.The characteristic 1121 of the corresponding different focuses of record in the hot information database 1120 is as charge situation, rate, and fail safe etc.Wherein, the charge situation can be charge or free, and it can be respectively with 0 and 1 expression.Fail safe can be the secret grade of focus, as do not have to encrypt, WEP (Wired Equivalent Privacy, wired equivalent privacy), WPA (Wi-Fi Protected Access, Wi-Fi protects access), and WPA2 etc.What note is that different rates and fail safe can correspond to a specific numerical value.In certain embodiments, the cheap person of rate can correspond to higher numerical value, and the high more secret grade of fail safe can correspond to higher numerical value.It should be noted that above-mentioned characteristic is the example of present embodiment, this case is not limited thereto.
The a plurality of preference guiding 1131 of record in the focus preference database 1130.Each preference guiding 1131 can define the characteristic 1121 of corresponding focus and the reference weight of signal strength signal intensity respectively.In certain embodiments, preference guiding 1131 can comprise a free focus guiding, signal strength signal intensity guiding, a rate just lead, and a safe coefficient lead.When preference guiding 1131 was free focus guiding, the reference weight of corresponding charge situation can be greater than the reference weight of corresponding rate, fail safe and signal strength signal intensity.In certain embodiments, C
1>C
2=C
3=C
s, wherein, C
1Be the reference weight of corresponding charge situation, C
2Be the reference weight of corresponding rate, C
3Be the reference weight of corresponding fail safe, and C
sIt is the reference weight of corresponding signal intensity.When preference guiding 1131 is the signal strength signal intensity guiding, the reference weight of corresponding signal intensity can greater than corresponding charge situation, rate, with the reference weight of fail safe.In certain embodiments, C
s>C
1=C
2=C
3When preference guiding 1131 is rates when just leading, the reference weight of corresponding signal intensity and rate can be greater than corresponding charge situation, and the reference weight of fail safe.In certain embodiments, C
s=C
2>C
1=C
3When preference guiding 1131 is the safe coefficient guiding, the reference weight of corresponding fail safe can greater than corresponding charge situation, rate, with the reference weight of signal strength signal intensity.In certain embodiments, C
3>C
1=C
2=C
sWhat must remind is, above-mentioned preference guiding with corresponding be the example of present embodiment only with reference to weight definition, this case is not limited thereto.User ' s preference sets 1110, characteristic 1121 will be in the back explanation with the usage of preference guiding 1131.
Wireless connections unit 1200 is the focus in the testing environment wirelessly, and is connected with focus.Processing unit 1300 is in order to carrying out the intelligent hotspot connection of this case, its details will in after describe.
Fig. 3 shows the intelligent hotspot connection method according to the embodiment of the invention.Intelligent hotspot connection method according to the embodiment of the invention goes for an electronic installation, as mancarried device.
As step S3100, read user ' s preference and set 1110, and set 1110 by the corresponding preference guiding 1131 of acquisition in the focus preference database 1130 according to user ' s preference.What note is, it can be person one of in the preference guiding 1131 that user ' s preference sets 1110.Similarly, preference guiding 1131 can define the characteristic 1121 of corresponding focus and the reference weight of signal strength signal intensity respectively.Then, as step S3200, detect the signal strength signal intensity of each focus respectively by wireless connections unit 1200.As step S3300,, utilize following formula to calculate a mark for each focus respectively according to the preference guiding 1131 of acquisition, the characteristic and the signal strength signal intensity of each focus:
Wherein, Z is the mark of focus, P
iBe the characteristic of focus, C
iBe the reference weight of individual features, n is the number of characteristic, and S is the signal strength signal intensity of focus, and C
sIt is the reference weight of signal strength signal intensity.
After the fractional computation of each focus obtains,, select the highest focus of mark, and, be connected with the focus of selecting by wireless connections unit 1200 automatically as step S3500 according to the mark of corresponding each focus as step S3400.
Fig. 4 shows the intelligent hotspot connection method according to another embodiment of the present invention.Intelligent hotspot connection method according to the embodiment of the invention goes for an electronic installation, as mancarried device.In this embodiment, can continue to detect connection state, and when broken string, finish focus automatically again and select and connection line operation.
As step S4100, read user ' s preference and set 1110, and set 1110 by the corresponding preference guiding 1131 of acquisition in the focus preference database 1130 according to user ' s preference.Similarly, it can be person one of in the preference guiding 1131 that user ' s preference sets 1110, and preference guiding 1131 can define the characteristic 1121 of corresponding focus and the reference weight of signal strength signal intensity respectively.Then, as step S4200, detect the signal strength signal intensity of each focus respectively by wireless connections unit 1200.As step S4300,, utilize following formula to calculate the mark of corresponding each focus according to the preference guiding 1131 of acquisition, the characteristic and the signal strength signal intensity of each focus:
Wherein, Z is the mark of focus, P
iBe the characteristic of focus, C
iBe the reference weight of individual features, n is the number of characteristic, and S is the signal strength signal intensity of focus, and C
sIt is the reference weight of signal strength signal intensity.
Afterwards,, select the highest focus of mark, and, be connected with the focus of selecting by wireless connections unit 1200 automatically as step S4500 according to the mark of corresponding each focus as step S4400.After line,, judge whether the line of corresponding selected focus breaks as step S4600.(step S4600 denys) do not continue the judgement of step S4600 when the line of corresponding selected focus breaks.When the line of corresponding selected focus broken string (step S4600 is), flow process is got back to step S4200, detecting the signal strength signal intensity of each focus again, and the operation of repeating step S4300 to S4600.
Fig. 5 shows the storage element according to another embodiment of the present invention.What note is, components identical will be used identical symbol among the embodiment of Fig. 5 and Fig. 3.
Storage element 1100 comprise at least a user ' s preference set 1110, one hot information database 1120, a focus preference database 1130, login program data base 1140, with an accounts database 1150.The characteristic 1121 of the corresponding different focuses of record in the hot information database 1120 is as charge situation, rate, and fail safe etc.Wherein, different charge situations, rate and fail safe can correspond to a specific numerical value respectively.The a plurality of preference guiding 1131 of record in the focus preference database 1130.Each preference guiding 1131 can define the characteristic 1121 of corresponding focus and the reference weight of signal strength signal intensity respectively.Login the program of logining 1141 of the corresponding different focuses of record in the program data base 1140.The program of logining can comprise the flow process of logining focus, interface, time, and required data etc.Can write down the account number/password 1151 of user in the accounts database 1150 in different focuses.Login program 1141 and account number/password 1151 usage will in after describe.
Fig. 6 shows the intelligent hotspot connection method according to another embodiment of the present invention.Intelligent hotspot connection method according to the embodiment of the invention goes for an electronic installation, as mancarried device.In this embodiment, can integrate the program of logining of different focuses, and finish the operation of logining on the focus automatically.
As step S6100, read user ' s preference and set 1110, and set 1110 by the corresponding preference guiding 1131 of acquisition in the focus preference database 1130 according to user ' s preference.Similarly, it can be person one of in the preference guiding 1131 that user ' s preference sets 1110, and preference guiding 1131 can define the characteristic 1121 of corresponding focus and the reference weight of signal strength signal intensity respectively.Then, as step S6200, detect the signal strength signal intensity of each focus respectively by wireless connections unit 1200.As step S6300,, utilize following formula to calculate the mark of corresponding each focus according to the preference guiding 1131 of acquisition, the characteristic and the signal strength signal intensity of each focus:
Wherein, Z is the mark of focus, P
iBe the characteristic of focus, C
iBe the reference weight of individual features, n is the number of characteristic, and S is the signal strength signal intensity of focus, and C
sIt is the reference weight of signal strength signal intensity.
Afterwards,, select the highest focus of mark, and, be connected with the focus of selecting by wireless connections unit 1200 automatically as step S6500 according to the mark of corresponding each focus as step S6400.Afterwards, as step S6600, login program 1141 accordingly by logining to capture in the program data base 1140, and as step S6700, the focus that foundation is selected is by the corresponding account number/password 1151 of acquisition in the accounts database 1150 according to selected focus.Afterwards,, the account number/password 1151 that captures is applied in the program of logining 1141 of acquisition, to login automatically to selected focus as step S6800.
It should be noted that, in certain embodiments, intelligent hotspot connection system also can write down the situation that each user ' s preference is set, and according to the situation that user ' s preference is set dynamically adjust preference lead in the reference weight of corresponding different qualities and signal strength signal intensity.
Therefore, by intelligent hotspot connection system of the present invention and method can be automatically according to user ' s preference decision focus and carry out the system and method for logining operation of focus.
Method of the present invention, or specific kenel or its part can exist with the kenel of procedure code.Procedure code can be included in tangible media, get (getting) Storage Media as floppy disk, CD, hard disk or any other machine readable as computer-readable, also or be not limited to the computer program product of external form, wherein, when procedure code by machine, when being written into and carrying out as computer, this machine becomes in order to participate in device of the present invention.Procedure code also can pass through some transfer mediums, transmit as electric wire or cable, optical fiber or any transmission kenel, wherein, when procedure code by machine, as computer receive, when being written into and carrying out, this machine becomes in order to participate in device of the present invention.When in the real work of general service processing unit, procedure code provides a class of operation to be similar to the unique apparatus of using particular logic circuit in conjunction with processing unit.
Though the present invention discloses as above with preferred embodiment; right its is not in order to qualification the present invention, any those of ordinary skill in the art, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention defines and is as the criterion when looking the claim scope.