Summary of the invention
The embodiment of the invention provides in a kind of sub-district based on the communication means of radio bearer, makes and realizes flexible communications in the sub-district between the terminal equipment.
Based on the communication means of radio bearer, comprise a plurality of access points in the described sub-district in a kind of sub-district, this method comprises:
First access point in described a plurality of access point obtains the sign that will connect access point respectively, after will being connected access point and setting up wireless connections, obtain the described log-on message that will connect terminal equipment that access point is administered, described log-on message is formed corresponding relation with the described access point that will be connected, and store;
When receiving the service request of first terminal equipment that access point is administered, described service request carries the log-on message that will connect terminal equipment that access point is administered, according to stored relation, find the sign that will connect access point of described log-on message correspondence, described service request is sent to describedly will connect access point.
The embodiment of the invention provides a kind of access point, makes and realizes flexible communications in the sub-district between the terminal equipment.
A kind of access point, this access point are first access point in a plurality of access points in the sub-district, comprising:
Acquiring unit is used for obtaining the access point identity that will connect access point with will be connected access point and set up wireless connections the time; With to be connected access point and set up wireless connections after, obtain the log-on message that will connect terminal equipment that access point is administered;
Preserve the unit, be used to preserve the corresponding relation of the log-on message of access point identity and terminal equipment that this access point is administered;
Receiving element is used to receive the service request that terminal equipment that access point is administered sends to this access point, and described service request carries the log-on message that will connect terminal equipment that access point is administered;
Search the unit, be used for corresponding relation according to the log-on message of access point identity and terminal equipment that described access point is administered and find and to be connected access point identity;
Transmitting element is used for this service request sent to and describedly will connects access point.
The embodiment of the invention also provides in a kind of sub-district based on the communication system of radio bearer, makes and realizes flexible communications in the sub-district between the terminal equipment.
Based on the communication system of radio bearer, this system comprises first access point and the access point that is connected with first access point in a kind of sub-district, wherein,
First access point, obtain the sign that will connect access point respectively, after will being connected access point and setting up wireless connections, obtain the described log-on message that will connect terminal equipment that access point is administered, described log-on message is formed corresponding relation with the described access point that will be connected, and store; When receiving the service request of first terminal equipment that access point is administered, described service request carries the log-on message that will connect terminal equipment that access point is administered, according to stored relation, find the sign that will connect access point of described log-on message correspondence, described service request is sent to describedly will connect access point;
The access point that is connected with first access point, obtain the sign of first access point, set up wireless connections with first access point after, obtain the log-on message of described first terminal equipment that access point is administered, the described log-on message and first access point are formed corresponding relation, and store; When receiving the service request of the terminal equipment that other access point is administered that is connected with first access point, described service request carries the log-on message of first terminal equipment that access point is administered, according to stored relation, find the sign of first access point of described log-on message correspondence, described service request is sent to described first access point.
The embodiment of the invention does not need to realize intercommunication between AP by up access Internet Server, only need to set up between the AP wireless connections, in different AP, form the log-on message of terminal equipment that other AP administers and the corresponding relation of this other AP, AP realizes communicating by letter between the terminal equipment under other AP administration of terminal equipment and this under this AP administration by this corresponding relation like this.
Embodiment
For make purpose of the present invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 2 is the sub-district virtual group web frame schematic diagram of the embodiment of the invention based on radio bearer.The embodiment of the invention is applicable in the cell range that can detect signal between the AP.
At first, terminal equipment 1 and terminal equipment 2 connect with AP1 and AP2 respectively; Being connected between terminal equipment and the access point can be wireless connections, also can be wired connection;
Set up wireless connections between AP1 and the AP2 then.
Only illustrate the AP1 and the AP2 of interconnection in the foregoing description, a terminal equipment 1 that is connected with AP1, a terminal equipment 2 that is connected with AP2 in actual networking, has a plurality of access points by interconnection, and a plurality of terminal equipments are connected with an AP simultaneously.Compared to Figure 1, embodiment of the invention key be exactly to need not just can realize interconnection between AP by Internet Server, thereby realize the multimedia communication between the terminal equipment that each AP covers.
Based on above-mentioned networking mode, the embodiment of the invention provides in a kind of sub-district based on the communication means of radio bearer, comprises a plurality of access points in the described sub-district, and this method comprises:
First access point in a plurality of access points obtains the sign that other will connect access point respectively, after will being connected access point and setting up wireless connections, obtain the described log-on message that will connect terminal equipment that access point is administered, described log-on message is formed corresponding relation with the described access point that will be connected, and store;
When receiving the service request of first terminal equipment that access point is administered, described service request carries the log-on message that will connect terminal equipment that access point is administered, according to stored relation, find the sign that will connect access point of described log-on message correspondence, this service request is sent to this will connect access point.
Next, connect access point and this service request is sent to this will connect the terminal equipment that access point is administered, thereby realize first terminal equipment that access point is administered and will be connected access point and administer communication between the terminal equipment.Wherein, belong to prior art alternately between terminal equipment and the access point, do not repeat them here.Illustrate, if a service terminal is thought and an other service terminal conversation, at first these two terminals all will be registered to this talk business on separately the AP, show that terminal has this ability, after the AP interconnecting and switching, just have and set up professional condition, terminal A will converse with B, at first sends and the B call request, shared log-on message by interconnected AP, this request is delivered to correct terminal B with passback, and B carries out and should be with, and agrees to converse, the message of this response is interconnected by AP, be delivered to A, A at first enters session status, notifies B also to enter session status simultaneously, both sides set up session, both sides know that the call-information of oneself is delivered to that address like this, that port, and conversation has just been set up.
Be connected to prior art between terminal equipment and the AP, can be wireless connections, also can be wired connection, (Wireless Fidelity WiFi) connects to be preferably Wireless Fidelity.WiFi is a kind of wireless communication protocol, adopts the 802.11a/b/g standard, and its great advantage is exactly that transmission speed is higher, can reach 54Mbps, its same short-distance wireless communication technology that belongs to Bluetooth technology, but the communication distance of bluetooth wants far away relatively.The general terminal equipment that is equipped with the WiFi communication function is called WiFi equipment, promptly has the terminal equipment of WiFi function, for example mobile phone, PC etc.A plurality of WiFi equipment can be connected with an AP by wireless.
After access point and terminal equipment connect, obtain the log-on message of terminal equipment that this access point is administered, wherein the log-on message of terminal equipment comprises service identification, procotol (IP) address and communication port numbers.If terminal equipment does not possess the ability to the access point registration, can send the log-on message of this terminal equipment to access point by agent equipment.
According to Fig. 2, in the scope that AP can detect each other, AP2 gives AP1 by the sign that the mode of broadcasting issues oneself, AP1 obtains the sign of AP2, set up wireless connections with AP2, AP1 gets access to the log-on message of the terminal equipment 2 that AP2 administers by wireless connections, with the sign corresponding stored of the log-on message and the AP2 of terminal equipment 2.This corresponding relation that is to say that to share the form storage of log-on message table if AP1 also is connected with other access point, the sign of the access point that other is connected with AP1 is also stored with same form with the corresponding relation of the log-on message of the terminal equipment of administering.
Preferably, after form sharing the log-on message table, the terminal equipment that access point is administered separately may change to some extent, this with regard to needs first access point timing with to be connected access point and carry out handshake operation, upgrade described shared log-on message table.Particularly, after first access point receives the handshake request that comprises lastest imformation that will connect the access point transmission,, upgrade the shared log-on message table that is buffered in first access point according to the lastest imformation in this handshake request.
The embodiment of the invention is shared the log-on message table by forming in AP, when AP1 receives the service request of the terminal equipment of administering 1, described service request carries terminal equipment 2 log-on messages, from described shared log-on message table, find the sign of terminal equipment 2 affiliated AP2, this service request is sent to AP2.Next, AP2 sends to terminal equipment 2 with this service request, realizes communicating by letter between terminal equipment 1 and the terminal equipment 2.
Corresponding with the communication means based on radio bearer in the sub-district, the embodiment of the invention also provides a kind of access point, schematic diagram as shown in Figure 3, this access point is first access point in a plurality of access points in the sub-district, comprising:
Acquiring unit 301 is used for obtaining the access point identity that will connect access point when other will be connected access point and sets up wireless connections; With to be connected access point and set up wireless connections after, obtain the log-on message that will connect terminal equipment that access point is administered;
Preserve unit 302, be used to preserve the corresponding relation of the log-on message of access point identity and terminal equipment that this access point is administered;
Receiving element 303 is used to receive the service request that terminal equipment that access point is administered sends to this access point, and described service request carries the log-on message that will connect terminal equipment that access point is administered;
Search unit 304, what be used for that corresponding relation according to the log-on message of access point identity and terminal equipment that this access point is administered finds described log-on message correspondence will be connected access point identity;
Transmitting element 305 is used for this service request sent to and describedly will connects access point.
Preferably, this access point further comprises: updating block is used to upgrade described shared log-on message table.
To sum up, the embodiment of the invention also provides in a kind of sub-district based on the communication system of radio bearer, and this system comprises first access point and other access point that is connected with first access point, wherein,
First access point, obtain the sign that other will connect access point respectively, after will being connected access point and setting up wireless connections, obtain the described log-on message that will connect terminal equipment that access point is administered, described log-on message is formed corresponding relation with the described access point that will be connected, and store; When receiving the service request of first terminal equipment that access point is administered, described service request carries the log-on message that will connect terminal equipment that access point is administered, according to stored relation, find the sign that will connect access point of described log-on message correspondence, will connect access point under this service request is sent to described terminal equipment;
Other access point that is connected with first access point, obtain the sign of first access point, set up wireless connections with first access point after, obtain the log-on message of described first terminal equipment that access point is administered, the described log-on message and first access point are formed corresponding relation, and store; When receiving the service request of the terminal equipment that other access point is administered that is connected with first access point, described service request carries the log-on message of first terminal equipment that access point is administered, according to stored relation, find the sign of first access point of described log-on message correspondence, this service request is sent to described first access point.
The embodiment of the invention is shared the log-on message table by forming in different AP, when an AP receives the service request of its terminal equipment of administering, described service request carries the log-on message of the terminal equipment that another AP administers, from described shared log-on message table, find the sign of this another AP, this service request is sent to this another AP.Next, this another AP sends to the terminal equipment of its administration with this service request, realizes the communication between the terminal equipment under the different AP administrations.
By above description as can be seen, method and system provided by the invention can possess following advantage:
1) in the sub-district based on the communication means of radio bearer, farthest satisfied the backfence communication in sub-district, enrich communication and life between people and the people.
2) by the sub-district virtual groups, can independent assortment between terminal equipment, realize comprising voice call, the communication that video etc. are abundant only needs simple AP equipment to connect, and does not need special Internet Server, freedom and flexibility, and saved Internet resources greatly.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.