The combined gate circuit-closer method of transmitting information
Invention field
The present invention relates to a kind of combined gate circuit-closer method of transmitting information.
Technical field
WAP is a kind of open global standards that communicate between digital mobile phone, network or other computers, application software.It is made up of a series of agreements, so that the Wireless Telecom Equipment standardization can be used for the view Internet network, comprises and sending and receiving e-mail, and browses page on the WAP website or the like.By WAP technology, the user can not limited by space-time, opens the WAP device whenever and wherever possible, enjoys the abundant network information or resource.As: news and weather, Investment ﹠ Financing information, life information, ecommerce ... Deng.
The webpage that WAP uses a kind of radio mark formula language (wireless markup language) to write, this class of languages is like the HTML(Hypertext Markup Language) of using on the present network, the user can utilize and a kind ofly can be transformed in HTML and radio mark formula language gate circuit-closer between the two mutually, is meeting the webpage that reads on the device of WAP on the general cable network.
At present, the flow process that WAP device is obtained the far-end server webpage is as follows, at first the WAP browser is according to the Universal Resource Locator of user's input, by WAP a reading requirement is sent on a gate open road, the gate open road is transmitted the server at webpage place so far with this reading requirement with hypertext document transfer protocol (HTTP).Server returns to gate circuit-closer with the hypertext document transfer protocol with the webpage with appointment after receiving this reading requirement, gate circuit-closer is back to the WAP browser with this webpage with WAP, browser just with web displaying on screen display.
The benefit that gate circuit-closer is set is to change the structure and the resource of original wireline communication network, also do not set up the communication network of a full Wireless separately, but radio communication is superimposed upon on the existing wireline communication network, by gate circuit-closer is a bridge that two-way communication is translated between two parties, makes wireless mobile communication device can use existing cable network resource.
As shown in Figure 1, it is the schematic diagram of existing WAP gate circuit-closer; Wherein, user side 110 belongs in the same WAP network with gate circuit-closer 150, and gate circuit-closer 150 belongs in the same cable network with server 190.Above-mentioned cable network can be internet, Intranet, Local Area Network or Wide Area Network etc.
Store literal acoustic image standing content and application software in the server, occupy a content provider and ISP's role.User side is a mobile roaming person, utilizes mobile phone, personal digital assistant, palmtop computer and other electronic installations of supporting WAP to transmit and reception information.Gate circuit-closer is as the communication bridge of cable network and wireless network, and the wireless user is held can download or the login numerical data from wired service end, also can make the cable service end hold broadcast message to the wireless user.That is, gate circuit-closer is shouldered the translation effect between cable network language and the wireless network language.
The concrete operation workflow of existing gate circuit-closer is as follows:
1. user side sends one and requires to gate circuit-closer, is generally a network URL address.According to WAP, this requires information is to send in the mode of user's data flow agreement package, and its form is a binary bit;
2. gate open device road requires information decoding with what user side sent, and will require content to become Hypertext Transfer Protocol (HTTP) form with requiring head by the binary bit format translate;
3. gate circuit-closer and server connect, and send a Hypertext Transfer Protocol requirement;
4. server receives and handles the Hypertext Transfer Protocol requirement.If the URL of this requirement points to a static data, server just takes out these data and adds that a Hypertext Transfer Protocol head is responded and gives gate circuit-closer.If the URL of this requirement points to a shell script, then this program of startup of server;
5. server is passed a Hypertext Transfer Protocol echo message back, comprises the execution result and the data of shell script;
6. gate circuit-closer is decoded to the Hypertext Transfer Protocol echo message of passback, and will respond content and head is translated as the binary bit form;
7. gate circuit-closer and user side connect, and will use the response content answer of radio mark formula language to give user side.
More than for having the general situation of gate circuit-closer and running now.By gate circuit-closer, the mobile subscriber can wirelessly obtain the resource of cable network, and the various utilizations of cable network are extended to wireless communication field, provides portable tool for people really.But gate circuit-closer price on the market is very expensive at present.
Summary of the invention
The object of the present invention is to provide a kind of wireless mobile communication device that makes to utilize cable network resource and the low combined gate circuit-closer of cost, mainly is to connect the veriform miniature gate circuit-closer of several different labels, reaches certain communication flows and efficient.
Another object of the present invention is to provide the big traffic of a kind of tool and high efficiency combined gate circuit-closer, mainly be to utilize a combiner, its software resource capable of being combined and each miniature gate circuit-closer of distribution, and be superposed to one, and respectively by several interfaces and each miniature gate circuit-closer transmission signals, the quantity of miniature gate circuit-closer and the quantity of its corresponding interface can be decided according to prospective users number and flow.
Another purpose of the present invention is to provide a kind of combined gate circuit-closer with distribution function, it mainly utilizes a distributor, in order to be received from the wireless signal that user side sends, and select a miniature gate circuit-closer and a corresponding interface according to certain criterion, give selected miniature gate circuit-closer to handle the wireless signal that is received.In the present invention, connect transmission mode if signal uses, then distributor is dynamically set up a new access interface processing, if signal uses disconnected transmission mode, then distributor gives communication controler to handle.In addition, in the present invention, distributor can meet at the user side signal that newly receives the lightest miniature gate circuit-closer of load and handle.
Four of purpose of the present invention is to provide a kind of combined gate circuit-closer with controlled function, mainly is to utilize a communication controler, receives and transmits disconnected transmission mode signal from distributor.
Five of purpose of the present invention is to provide a kind of combined gate circuit-closer method of transmitting information, is and stack in parallel with resource with the message capacity of each gate circuit-closer, and forms the combined gate circuit-closer of the big message capacity of a tool, and can reduce cost.
For achieving the above object, the present invention takes following technical measures:
A kind of combined gate circuit-closer of supporting WAP of the present invention in order to as the communication media of wireless user's end with Internet resources, comprising: two gate circuit-closers that pick up Internet resources respectively by computer network at least; A combiner is connected between wireless user end and the described gate circuit-closer, is used to receive the wireless signal of user side, the wireless signal that is received one of is sent in the gate circuit-closer handle; Gate circuit-closer is by picking up Internet resources, and produces result, and combiner is given in this result's passback, responded by combiner and gives wireless user's end.
A kind of combined gate circuit-closer method of transmitting information of the present invention, in order to as the communication between the computer network of the user side that uses first transfer protocol and use second transfer protocol, it is characterized in that, comprise the steps: that a, described combiner receive the signal of user side by WAP, the signal that is received is transmitted one of give in the gate circuit-closer transmission of carrying out message packet; B, described gate circuit-closer pick up computer network resources by the cable network agreement respectively; C, gate circuit-closer produce result by picking up Internet resources, and combiner is given in the result passback, are responded by combiner and give user side.
Compared with prior art, the present invention has following effect:
Combined gate circuit-closer of the present invention can provide the user another select, be about to several out-of-date, cheap or free computers and be organized as one, reach the cost that reduces gate circuit-closer, and all functions of performance gate circuit-closer.Each computer is respectively an independently small-sized gate circuit-closer among the present invention, and its software and hardware composition and function mode and prior art are as good as, but service capacity is little because of the processor and the general gate open road of selling on the market of memory resource that are limited to PC.The present invention is about to system resource one stack in parallel of each computer, to reach the service capacity of general gate circuit-closer.This gate circuit-closer and method, the tool cost is low, and the traffic is big, characteristics such as efficiency of transmission height.
Description of drawings
Reaching embodiment in conjunction with the accompanying drawings is described in detail as follows architectural feature of the present invention and method feature:
Description of drawings:
Fig. 1 is the schematic diagram of existing WAP gate circuit-closer;
Fig. 2 is the decomposing schematic representation of WAP combined gate circuit-closer of the present invention;
Fig. 3 is the flow chart of distribution software in the WAP combined gate circuit-closer of the present invention.
Embodiment
As shown in Figure 2, it is the decomposing schematic representation of WAP combined gate circuit-closer of the present invention; In the present embodiment, combined gate circuit-closer 290 mainly comprises three miniature gate circuit-closers 251~253, and the combiner 270 of combined miniature gate circuit-closer.Three miniature gate circuit-closers are cheap or expired PC, are equiped with the software and hardware that can carry out WAP gate circuit-closer function respectively, are the gate circuit-closers for low capacity.Combiner itself also is a PC, forms a jumbo combined gate circuit-closer with three miniature gate circuit-closers.Combined gate circuit-closer of the present invention can be communicated by letter with WAP by combiner and portable radio device user side 110 on the one hand and be exchanged, also can communicate by letter with the cable network agreement with server 190 by three little gate circuit-closers on the other hand exchange, and becomes the bridge of cable network and wireless network.
Comparison diagram 1 and Fig. 2, can learn combined gate circuit-closer of the present invention and existing gate circuit-closer, with regard to being connected with regard to communication way of user side and service end, and no significant difference, and understood by being familiar with this operator, below explanation, on the whole in combined gate circuit-closer of the present invention, the inner working situation of three miniature gate circuit-closers of combiner combination is illustrated, wherein, miniature gate circuit-closer and service end, combiner exchange with signal transmission between user side, and be same as the prior art, no longer takes and state.
As shown in Figure 2, combiner 270 is connected with miniature gate circuit-closer 251~253 via a plurality of interfaces 279, and each interface has a corresponding interface separately.Wherein being interfaced to No. 10 interfaces for No. 1 is connected to miniature gate circuit-closer and is interfaced to No. 20 interfaces for 251, No. 11 and is connected to miniature gate circuit-closer and is interfaced to No. 30 interfaces for 252, No. 21 and is connected to miniature gate circuit-closer 253.Combiner 170 is received from the message packet that user side 110 sends, and by distinct interface miniature gate circuit-closer is given in the message packet distribution and handle.
What need special instruction is, the quantity of the miniature gate circuit-closer that combiner made up and the quantity of its corresponding interface are not limited to previous embodiment, promptly under the situation that the system resource of combiner and each miniature gate circuit-closer is enough dealt with, combined gate circuit-closer of the present invention can combine the miniature gate circuit-closer of multi-section, and each miniature gate circuit-closer join the interface that gives also can be many than the foregoing description.The quantity of miniature gate circuit-closer and the quantity of its corresponding interface should be decided according to prospective users number and flow.
The software section of combiner 270 comprises distributor 271, disconnected transmission mode communication controler 273.Distributor 271 is a threaded list, and its function is to be received from the message packet that user side imports into, selects a certain miniature gate circuit-closer according to certain criterion, and is distributed to selected miniature gate circuit-closer by the corresponding interface and handles.Connect and disconnected transmission mode because WAP is supported, distributor 271 must be inspected the employed transmission mode of message packet, handles respectively.According to the present invention, if using, message packet connects transmission mode, then distributor 271 is dynamically selected a certain interface, and sets up the transmission that a new access interface is handled this message packet on this interface.If message packet is used disconnected transmission mode, then distributor 271 gives disconnected transmission mode communication controler 273 to handle the transmission of this message packet.
Disconnected transmission mode communication controler 273 also is a threaded list, is to be in standby mode generally speaking.Distributor 271 receives a message packet of using disconnected transmission mode, enables communication controler 273 immediately, and message packet is given disconnected transmission mode communication controler 273.After disconnected transmission mode communication controler 273 is activated, receive the transformation task of message packet from distributor 271, between user side and miniature gate circuit-closer, produce one and half multiplexing information channels immediately, and message packet is given miniature gate circuit-closer by the interface transmission.Treat miniature gate circuit-closer process information package, and after echo message passback given user side, disconnected transmission mode communication controler 273 was closed this information channel, the related data of deletion transmission course is replied standby mode at last.On the other hand, when receiving one, sends by distributor 271 from user side, use to connect transmission mode require message packet the time, open an output/input interface immediately, to carry out the transformation task of message packet, by a special interface, between user side and miniature gate circuit-closer, set up a complete multiplexing information channel by this output/input interface, and produce two threaded lists, handle the transmission of two directions respectively.After treating that this customer requirements finishes fully, output/input interface and two threaded lists are with closing.
The starting point of above-mentioned allocation criteria is to make message packet to give the time that user side spends and shorten as far as possible by giving miniature gate circuit-closer to handle to responding, and utilizes the system resource of each miniature gate circuit-closer as far as possible.For example, in an embodiment of the present invention, when the engaged line number of ports of miniature gate circuit-closer 251 is 8, the engaged line number of ports of miniature gate circuit-closer 252 is 9, and the engaged line number of ports of miniature gate circuit-closer 253 is 9 o'clock, and the information that requires that distributor will newly receive is transferred to miniature gate circuit-closer 251 processing, load with each miniature gate circuit-closer of balance, handle if new demand information is transferred to miniature gate circuit-closer 252 or 253, will make the system load concentrations, can cause usefulness low.In brief, allocation criteria is set up by the person of foundation of system according to the processing speed of use traffic situation or each miniature gate circuit-closer.
As shown in Figure 3, it is the flowchart of distribution software in the WAP combined gate circuit-closer of the present invention, and in step 310, distributor is received from the information that requires that user side sends; Then, enter step 330 again, distributor is inspected customer requirements information for connecting or disconnected transmission mode; Enter step 350 again, distributor is picked out an interface and corresponding miniature gate circuit-closer according to criterion, requires information with process user; Enter step 370 again, distributor is transferred to threaded list with customer requirements information and is handled, and rebound step 310.
Need to specify, though the gate circuit-closer in the previous embodiment is in order to the media of translating as Hypertext Transfer Protocol in WAP and the cable network, compound mode of the present invention also can be used in the various gate circuit-closers that are used to translate other different transfer protocols.
Foregoing is to utilize embodiment that technical characterictic of the present invention is described, is not to be used to limit protection scope of the present invention, even there is the people to change slightly on the basis of the present invention's design, must belong in protection scope of the present invention.