Background technology
WiFi (referring to " wireless compatibility authentication " in the Wireless Fidelity, the category of WLAN (wireless local area network)) is a kind of technology and standard of Wireless Networking.WiFi can form wireless network with AP (Access Point) and wireless network card.AP is commonly referred to as access point, and it is to be used as traditional wired local area network and the bridge between the WLAN, and therefore any WiFi terminal all can see through the resource that AP removes to share wired local area network even Wide Area Network.Therefore, by the WiFi technology, PC, handheld device WiFi terminals such as (as PDA, mobile phones) can be inserted AP, realize getting online without being tethered to a cable.
It is exactly at first to scan all AP that the WiFi terminal inserts the direct method of AP, selects to connect certain AP then.After scanning all AP, adopt from the method that is dynamically connected and attempt connecting.If connection failure is then attempted connecting next.This type of technology can be consulted disclosed Chinese invention patent application on March 31st, 2004 No. 03153305.1 described wireless network connecting method and computer equipment.And No. 200710149059.7 described apparatus and method for the power consumption that prevents multi-mode portable terminal of disclosed Chinese invention patent application on March 12nd, 2008.
For improving the speed that inserts, prior art also provides wireless link and method for updating between a kind of access point and access client, sees No. the 200710002531.4th, disclosed Chinese invention patent application on May 7th, 2008.This method is under electric source modes, access point is set at access point mode, in the electronic installation scanning wireless network environment whether available line is arranged, and this information is shown in the user interface, this user interface has shown relation and the connection state between network topology and the access point, but user's setting wireless network and access point, and all link information and setting data all are stored in the database of main frame, as any incompatible problem or there is any device not to be detected, will give notice to the user.
When demand occurring, the technology that prior art also provides network to switch, as the method and apparatus of the described quick handover based on user terminal of No. the 200610126191.1st, disclosed Chinese invention patent application on March 12nd, 2008, and for example No. 200910194639.7 described zero delay switching method of wireless access points of disclosed Chinese invention patent application on January 20th, 2010.
On the other hand, the integrated control chip in a kind of audio frequency and video field also appears in prior art.Its software platform has generally comprised embedded real-time operating system (RTOS), graphic user interface (GUI), file system (FS), plate level support package (BSP) and a series of application program.RKOS is that of researching and developing at the ARM chip seizes multiple task operating system in real time, main supporting signal amount and two kinds of communication modes of message queue (mailbox).
At present, the end product of integrated WiFi module is few on the above-mentioned integrated control chip RKOS platform, and the mode that terminal WiFi inserts is fairly simple, mainly contains: 1. the most direct method is exactly at first to scan all AP, selects to connect certain AP then.The connection of this mode all will scan at every turn, if encryption is arranged, then each connection all needs to input password, so efficient is very low.2. after scanning all AP, adopt from the method that is dynamically connected, at first select AP according to factors such as preferred list, connection history, signal powers, attempt then connecting.If connection failure is then attempted connecting next.3. in addition, WiFi connect owing to outside cause (as signal weaken, barrier interference etc.) when disconnecting, the RKOS platform is not realized automatic switching function.
Summary of the invention
The technical problem that the present invention mainly solves provides the method that a kind of WiFi access efficiency is higher, insert the higher audio frequency and video integral control circuit of success rate and access access point thereof.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide the integrated control chip of a kind of audio frequency and video to insert the method for access point, set up the access-in point information pond in advance, described access-in point information pond is used for storing the information of all WiFi access points that successfully connected, described access-in point information comprises basic service element identifier (element ID) BSSID and password, comprise: before the described access point that is dynamically connected certainly, from described access-in point information pond, obtain the access-in point information of the last successful connection; After obtaining described access-in point information, the access point of the described the last successful connection that is dynamically connected certainly; After described automatic successful connection, automatically insert the access point of described the last successful connection, otherwise, when described automatic connection failure, no longer automatically, attempt connecting other access points, switch to manual connection mode simultaneously, and execution following actions: will be in the information of target access of encrypted state and all access-in point informations in the described access-in point information pond and carry out information matches one by one, when the match is successful, be target access with the corresponding access point of the access-in point information that the match is successful in the access-in point information pond directly, use the password in the access-in point information that the match is successful to insert described target access automatically; When it fails to match, wait password to be entered, behind password confirming, insert described target access.
Wherein, at the access point that inserts described the last successful connection or after inserting the step of described target access, further comprise: when disconnecting connection owing to outside cause, automatically reconnect access point or the described target access of described the last successful connection, if failure then continues to select other access points in the access-in point information pond and insert.
Wherein, after in manual connection mode, inserting the step of described target access, further comprise: store in the described manual connection mode information of the described target access that success inserts, the described access-in point information of storage comprises that basic service element identifier (element ID) BSSID, service set SSID, SSID length, the signal strength signal intensity that whether connects, receives indicate RSSI, encryption type, Password Length, password and holding time.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of audio frequency and video integral control circuit is provided, comprise: the access-in point information pond, described access-in point information pond is used for storing the information of all WiFi access points that successfully connected, and described access-in point information comprises basic service element identifier (element ID) BSSID and password; The access-in point information acquiring unit is used for obtaining the access-in point information of the last successful connection from described access-in point information pond before the described access point that is dynamically connected certainly; Automatically linkage unit is used for after obtaining described access-in point information the access point of the described the last successful connection that is dynamically connected certainly; Automatically access unit is used for inserting the access point of described the last successful connection automatically after described automatic successful connection; The connection mode switch unit is used for controlling access point or other access points that described automatic linkage unit is attempted the last successful connection of connection no longer automatically when described automatic connection failure, switches to manual connection mode simultaneously; The information matches unit is used for after switching to manual connection mode, will be in the information of target access of encrypted state and all access-in point informations in the described access-in point information pond and carry out information matches one by one; The manual mode access unit is used for when the match is successful, is target access with the corresponding access point of the access-in point information that the match is successful in the access-in point information pond directly, uses the password in the access-in point information that the match is successful to insert described target access automatically; With the password access unit, be used for when it fails to match, waiting password to be entered, behind password confirming, insert described target access.
Wherein, comprise the network connection switch unit, be used at the access point that inserts described the last successful connection or after inserting described target access, when disconnecting connection owing to outside cause, automatically reconnect access point or the described target access of described the last successful connection, if failure then continues to select other access points in the access-in point information pond and insert.
Wherein, comprise the information pool management interface, for increasing, deletion or revise access-in point information pond content or the information pool content according to time sequence or to access-in point information pond content is inquired about.
Wherein, comprising that start arranges the unit, being used for the start of audio frequency and video integral control circuit is arranged, enabling the access-in point information acquiring unit automatically after comprising start.
Wherein, described audio frequency and video integral control circuit is the circuit that is suitable for embedded real-time operating system.
Wherein, described embedded real-time operating system is that Embedded Real-Time is seized multiple task operating system, two kinds of communication modes of supporting signal amount and message queue.
The invention has the beneficial effects as follows: be different from the integrated control chip in prior art audio frequency and video field and insert the lower situation of WiFi lower, the intelligent degree of access point efficient, the present invention designs the access-in point information pond, utilize the support in access-in point information pond from the access point of the last successful connection that is dynamically connected, only from being dynamically connected this type access point once, need not all scan at every turn and carry out the password input, significantly improve access efficiency; Realize the combination of the automatic and manual access way of WiFi terminal simultaneously, automatically insert earlier, when access goes wrong automatically, transfer manual access immediately to, manually access also is to utilize under the support in access-in point information pond to finish, can input password, intelligently realize fast, insert reliably; Even need to input password under the contingency situation, the present invention also provides the pattern of password input, make the integrated control chip in audio frequency and video field can realize that also high efficiency, intelligentized WiFi insert, and it is higher to insert success rate.
In addition, the present invention also especially at the integrated control chip (RK family chip) in the audio frequency and video field of Rockchip company (auspicious core is little) exploitation, adopts technique scheme to reach following function:
1) (Rockchip company seizes multiple task operating system at of ARM chip independent research to RK family chip RKOS platform in real time, main supporting signal amount and two kinds of communication modes of message queue (mailbox)) the upward combination of the automatic and manual access way of realization WiFi terminal, improved efficient, the user also can use flexibly;
2) realize on the RK family chip RKOS platform whether the user enables WiFi and access automatically when freely selecting start.
When 3) realizing on the RK family chip RKOS platform manually connecting (encryptions), the match is successful as if access-in point information, and the time that the user inputs password has been saved in directly connection access then.
(listen to the music as online) when 4) user uses the WiFi terminal, if network interrupts, the RKOS system will initiatively require the WiFi terminal to insert other access points automatically, realizes that access point switches, can not have influence on user job, avoid going again manually to insert the worry of other access points yet.
Embodiment
By describing technology contents of the present invention, structural feature in detail, realized purpose and effect, give explanation below in conjunction with execution mode and conjunction with figs. are detailed.
See also Fig. 1, the integrated control chip of audio frequency and video of the present invention inserts the method embodiment of access point, be to set up the access-in point information pond in advance, described access-in point information pond is used for storing the information of the WiFi access point that successfully connected, the information of the WiFi access point that successfully connected such as all or part, described access-in point information comprises basic service element identifier (element ID) BSSID and password;
Said method comprising the steps of:
Step 101: before the described access point that is dynamically connected certainly, from described access-in point information pond, obtain the access-in point information of the last successful connection;
Step 102: after obtaining described access-in point information, the access point of the described the last successful connection that is dynamically connected certainly;
Step 103: after described automatic successful connection, insert the access point of described the last successful connection automatically, otherwise, when described automatic connection failure, attempt no longer automatically connecting other access points, switch to manual connection mode simultaneously, and carry out following actions:
Step 104: will be in the information of target access of encrypted state and all access-in point informations in the described access-in point information pond and carry out information matches one by one,
1) when the match is successful, be target access with the corresponding access point of the access-in point information that the match is successful in the access-in point information pond directly, use the password in the access-in point information that the match is successful to insert described target access automatically;
2) when it fails to match, wait password to be entered, behind password confirming, insert described target access.
The present invention designs the access-in point information pond, utilizes the support in access-in point information pond from the access point of the last successful connection that is dynamically connected, and only from being dynamically connected this type access point once, need not all scan at every turn and carry out the password input, significantly improves access efficiency; Realize the combination of the automatic and manual access way of WiFi terminal simultaneously, automatically insert earlier, when access goes wrong automatically, transfer manual access immediately to, manually access also is to utilize under the support in access-in point information pond to finish, can input password, intelligently realize fast, insert reliably; Even need to input password under the contingency situation, the present invention also provides the pattern of password input, make the integrated control chip in audio frequency and video field can realize that also high efficiency, intelligentized WiFi insert, and it is higher to insert success rate.
The access-in point information pond that the present invention relates to is different from simple connection history, is the form that can revise, increase and edit, can make the database form, can certainly be other forms.Because the specific function of information pool makes the integrated control chip of audio frequency and video of the present invention possess intelligentized basis, joint efficiency and success rate is had direct effect, and be more conducive to for operation and maintenance.
For improving the network job stability of WiFi terminal, at the access point that inserts described the last successful connection or after inserting the step of described target access, further comprise: when disconnecting connection owing to outside cause, automatically reconnect access point or the described target access of described the last successful connection, if failure then continues to select other access points in the access-in point information pond and insert.
This mode can further improve the intellectuality of the integrated control chip of audio frequency and video of the present invention and inserts success rate.
For the access point of bringing in constant renewal in, can carry out following design: after in manual connection mode, inserting the step of described target access, further comprise: store in the described manual connection mode information of the described target access that success inserts, the described access-in point information of storage comprises that basic service element identifier (element ID) BSSID, service set SSID, SSID length, the signal strength signal intensity that whether connects, receives indicate RSSI, encryption type, Password Length, password and holding time.
That is to say, for further improving performance and increasing function, purposes, can in described access-in point information pond, further add: service set SSID, SSID length, the information such as signal strength signal intensity indication RSSI, encryption type, Password Length and holding time that whether connect, receive.
See also Fig. 2, based on the present invention's design, also provide a kind of audio frequency and video integral control circuit, described circuit comprises:
The access-in point information pond, described access-in point information pond is used for storing the information of the WiFi access point that successfully connected, and described access-in point information comprises basic service element identifier (element ID) BSSID and password;
The access-in point information acquiring unit is used for obtaining the access-in point information of the last successful connection from described access-in point information pond before the described access point that is dynamically connected certainly;
Automatically linkage unit is used for after obtaining described access-in point information the access point of the described the last successful connection that is dynamically connected certainly;
Automatically access unit is used for inserting the access point of described the last successful connection automatically after described automatic successful connection;
The connection mode switch unit is used for controlling access point or other access points that described automatic linkage unit is attempted the last successful connection of connection no longer automatically when described automatic connection failure, switches to manual connection mode simultaneously;
The information matches unit is used for after switching to manual connection mode, will be in the information of target access of encrypted state and all access-in point informations in the described access-in point information pond and carry out information matches one by one;
The manual mode access unit is used for when the match is successful, is target access with the corresponding access point of the access-in point information that the match is successful in the access-in point information pond directly, uses the password in the access-in point information that the match is successful to insert described target access automatically;
With the password access unit, be used for when it fails to match, waiting password to be entered, behind password confirming, insert described target access.
Above-mentioned audio frequency and video integral control circuit both can adopt incarnate hardware circuit to realize, also can adopt software to realize.
See also Fig. 3, equally, for improving the network job stability of WiFi terminal, may further include the network connection switch unit, for at the access point that inserts described the last successful connection or after inserting described target access, when disconnecting connection owing to outside cause, reconnect access point or the described target access of described the last successful connection automatically, if failure then continues to select other access points in the access-in point information pond and insert.
See also Fig. 3, operation and maintenance for the convenience of the user may further include the information pool management interface, and it is for increasing, deletion or revise access-in point information pond content or the information pool content according to time sequence or to access-in point information pond content is inquired about.
See also Fig. 3, use for further facilitating the user, handled easily may further include start the unit is set, and is used for the start of audio frequency and video integral control circuit is arranged, and enables the access-in point information acquiring unit automatically after comprising start.After the each start of user, need not operation can network like this.
The present invention can be applied to special field, such as, described audio frequency and video integral control circuit is the circuit that is suitable for embedded real-time operating system.
Further, described embedded real-time operating system is that Embedded Real-Time is seized multiple task operating system, two kinds of communication modes of supporting signal amount and message queue.
In actual applications, during design, a total hardware frame be can design, access-in point information pond and management interface, WiFi terminal control unit, password input module and WiFi access module comprised such as the audio frequency and video integral control circuit.
Access-in point information pond wherein and management interface thereof can comprise access-in point information pond, information matches unit, the information pool management interface among the above-mentioned audio frequency and video integral control circuit embodiment; The WiFi terminal control unit is responsible for the co-ordination between each modular unit, comprises that connection mode switch unit and start arrange the unit; The WiFi access module comprise the access-in point information acquiring unit, automatically linkage unit, automatically access unit, manual mode access unit, with password access unit and network connection switch unit.
Further, can carry out described access-in point information perfect, such as the signal strength signal intensity that adds following information: service set SSID, SSID length at access-in point information, whether connect, receive indication RSSI, encryption type, Password Length and holding time.
The present invention is directed to the shortcoming and defect of prior art, and take all factors into consideration user's needs, provided the solution that meets user's request, wherein also provided the solution based on the intelligent WiFi access of RK family chip RKOS platform, satisfied the market demand.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.