Background technology
Along with the prosperity of Information technology, developing rapidly of the Internet and mobile Internet transmitted between the network that increasing video-audio data needs.
The Chinese of GPRS (General Packet Radio Service) is GPRS, is a kind of new packet data bearers business that development is come out on existing gsm system.The most basic difference of GPRS and gsm system is, GSM is a kind of circuit switching system, and GPRS is a kind of packet switching system.That GPRS is specially adapted to be interrupted, paroxysmal or frequent, a spot of transfer of data also are applicable to big data quantity transmission once in a while.One of GPRS can be interpreted as GSM is higher level.
The GPRS performance is outstanding should to be its online always function.But this so-called moment that often only shows connection remarkably.Browsing the window existence because connect background, so the page connects significantly fast than the dial mode under the GSM network first always.Perhaps need not 15~30 seconds, first page has just come out.
In addition, GPRS can support the function of " pushing away ", can automatically receive Email in real time, but does not wish now just can realize the transmission of speech and data synchronization.The realization of this function needs the support of high electrical source consumption, does not embrace too big illusion before the technology full maturity.Current another difficult problem that faces of vGPRS is exactly a compatibility.Exploitation WAP uses and has enough allowed the people have a headache in complicated terminal and gateway environment.The development of GPRS faces same problem: the GPRS that different mobile phone terminal equipment vendors and network configuration merchant adopt different standard developments to go out to have nothing in common with each other.Complicated standard and the variety of problems of so bringing make user and developer feel to baffle.
The Chinese of WAP (Wireless Application Protocol) is WAP (wireless application protocol), and it belongs to different categories with GPRS, and its purpose is the abundant information of the Internet and advanced business to be incorporated among the wireless terminal such as mobile phone.Beat a metaphor, GPRS and GSM are roads, and WAP is the automobile on road.Open after the GPRS, WAP just travels on GSM and two roads of GPRS, can improve data transmission bauds and travel on the road of GPRS.Therefore, the content on the existing WAP equally can be browsed and use by GPRS.
CDMA is the mobile communication technology arranged side by side with GSM, is the english abbreviation of digital cdma wireless technology, and it has advantages such as frequency efficiency is higher, mobile telephone power consumption is low.Identical with GSM, CDMA also has 2 generations, 2.5 generations and 3 generation techniques.The CDMA that CHINAUNICOM releases belongs to 2.5 generation techniques.CDMA is considered to the first-selection of the 3rd third-generation mobile communication technology, and present standard has WCDMA, CDMA2000, TD-SCDMA.
The CDMA mobile phone also has high speed wireless data transmission and multimedia function except call function and information service that GSM mobile handset can be provided.The service that can provide mainly contains:
(1) basic value-added service is as calling transfer, information indicating etc.
(2) voice mail service is as voice messagings such as mail, fax, news.
(3) SMS (Short Message Service) is as weather, traffic, security, advertisement etc.
(4) wireless intelligent network service is as virtual network, personal number identification etc.
(5) wireless Internet service is as network browsing, ecommerce, E-mail address, online game etc.
Along with popularizing and the performance boost of handheld terminal of wireless network, people have been not only call function to the requirement of terminals such as mobile phone, and the demand of data services such as online has been got more and more.
For now, various portable terminals with and and internet terminal between all be that server by special use carries out exchanges data and transmission.Thereby cause,, need to cooperate with corresponding program at different terminals.So just caused, terminal must be installed numerous client software, and various terminal datas send and the needs of reception to tackle, otherwise, will lose contact to the feature terminal.
Use comparative maturity on traditional the Internet on PC, mobile Internet rises, and the network of following 3G will change people's life to a great extent.But seldom based on the application on the mobile Internet, the particularly application that combines with traditional the Internet.
So, being necessary to create a kind of server, it can accept the data that various terminals send, and the data allocations that this terminal can be sent is to the target terminal of this data setting.And target of the present invention is exactly to allow exchanging that both can be real-time, and carries out the transmission of contents such as multimedia.
Summary of the invention
Main purpose of the present invention is, overcome the server of existing communication field and the defective that the means of communication exist, and provide a kind of new inter-network communication server and the inter-network means of communication, technical problem to be solved is to make it can solve information exchange and transfer of data between traditional WEB page, mobile phone terminal, the WAP site, thereby is suitable for practicality more.
The object of the invention to solve the technical problems realizes by the following technical solutions.A kind of inter-network communication server according to the present invention's proposition, be used between mobile Internet and traditional the Internet, transmitting data, it comprises: transmitting/receiving server CS, routing server RS, conversation server SS and data server DBS, wherein, transmitting/receiving server CS, be used to receive the data that come from terminal and/or send data, and carry out transfer of data with routing server to terminal; Routing server RS is used to receive the request of data that comes from reception server and/or sends data to reception server, and carries out transfer of data with transmitting/receiving server, conversation server, data server; Conversation server SS is used for the session information of management of end-user, carries out transfer of data with routing server; Data server DBS is used for storing system information.
Aforesaid inter-network communication server, wherein said transmitting/receiving server comprises: intelligent mobile terminal transmitting/receiving server MPS, carry out transfer of data by Udp, TCP, Http agreement and intelligent mobile terminal; WAP uses transmitting/receiving server WPS, carries out transfer of data by WAP (wireless application protocol) and portable terminal; And WEB application transmitting/receiving server WBS, carry out the mutual of data by Http agreement and WEB end subscriber.
Aforesaid inter-network communication server, wherein said routing server comprises: data-analyzing machine is used to analyze the presence and the online mode of the target receiver of described data; The data packet device is used for the online mode according to Data Receiving person, generates the packet of respective protocol; And the packet transponder, be used for above-mentioned packet is sent to transmitting/receiving server.
Aforesaid inter-network communication server, wherein said data packet device are to be converted to another data in the above-mentioned agreement with meeting wherein a kind of data of http protocol, wap protocol, Transmission Control Protocol and udp protocol.
The object of the invention to solve the technical problems can also realize by the following technical solutions.According to a kind of inter-network means of communication that the present invention proposes, be by above-mentioned inter-network communication server, between mobile internet network termination and traditional internet terminal, carry out transfer of data, it is characterized in that may further comprise the steps:
A portable terminal, mobile internet network termination or traditional internet terminal send data to the transmitting/receiving server of inter-network communication server;
The type of the described data of b determining step a and target receiver type;
C becomes to meet the packet of the reception agreement of target receiver according to the judged result of step b with this data encapsulation;
D sends to the packet of c package in the corresponding transmitting/receiving server; And
E is sent to target receiver by transmitting/receiving server with this packet.
The aforesaid inter-network means of communication, the reception agreement among the wherein said step c is http protocol, wap protocol, Transmission Control Protocol or udp protocol.
The aforesaid inter-network means of communication, wherein said data are at least a in voice data, video data, image data, text data and the Email.
The aforesaid inter-network means of communication, among wherein said step a and the step e, traditional internet terminal is to use transmitting/receiving server by WEB to send data or receive data to the inter-network communication server.
The aforesaid inter-network means of communication, wherein said portable terminal have Symbina, Linux, Windows mobile operating system or support J2me, Brew platform.
A kind of inter-network communication server that the present invention proposes, the request that WEB end, mobile phone terminal, WAP from PC are held is submitted to the inter-network communication server according to certain protocol package form separately, the inter-network communication server is resolved conversion to different protocol package forms, encapsulates and transmits according to the packet format of receiving terminal once more according to the purpose of asking.
The present invention compared with prior art has tangible advantage and beneficial effect.By above technical scheme as can be known, inter-network communication server of the present invention has well solved the communication of WEB, WAP and mobile phone terminal application, and traditional the Internet and mobile Internet are well merged, and has enlarged interpersonal exchange way.
In sum, the inter-network communication server of novelty of the present invention, have above-mentioned plurality of advantages and practical value, it has bigger improvement on function, have than much progress technically, and produced handy and practical effect, and more existing server has the multinomial effect of enhancement, thereby being suitable for practicality more, really is a new and innovative, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, to its embodiment of inter-network communication server, step, feature and the effect thereof that foundation the present invention proposes, describe in detail as after.
Seeing also illustrated in figures 1 and 2ly, is institutional framework schematic diagram and the data flow schematic diagram of this inter-network communication server of the present invention ICS, is the system that carries out data interchange between a kind of Internet of being used for network, GPRS network, cdma network, the 3G network.It comprises: transmitting/receiving server CS, routing server RS, conversation server SS and data server DBS.Above-mentioned transmitting/receiving server CS is used to receive the data that come from terminal and/or sends data to terminal, and carries out transfer of data with routing server RS; Above-mentioned routing server RS is used to receive the request of data that comes from reception server and/or sends data to reception server, and carries out transfer of data with transmitting/receiving server CS, conversation server SS and data server DBS; Above-mentioned conversation server SS is used for the session information of management of end-user, carries out transfer of data with routing server RS; Above-mentioned data server DBS is used for storing system information.
Above-mentioned transmitting/receiving server CS, it comprises: at least one moves uses transmitting/receiving server MPS, be used to pass through Udp, TCP or the reception of Http agreement come from the data of portable terminal and/or send data to portable terminal, and carry out transfer of data with routing server RS, and aforesaid portable terminal is to have the portable terminal that carries out data-transformation facility with Transmission Control Protocol or udp protocol, be also referred to as smart mobile phone, for example has Symbina, the smart mobile phone or the PDA(Personal Digital Assistant) of J2me or Windows mobile operating system are N70 as model, N91, K750C etc.; At least one Web uses transmitting/receiving server WBS, comes from the data of traditional the Internet and/or sends data to traditional the Internet by the reception of Http agreement, and carry out transfer of data with routing server RS; At least one WAP uses transmitting/receiving server WPS, be used to receive the data that come from mobile Internet and/or send data to mobile Internet, and carrying out transfer of data with routing server RS, it is to carry out transfer of data by terminal in wireless application protocol (wap) and the mobile Internet.According to actual conditions, those skilled in the art can increase a plurality of mobile application transmitting/receiving server MPS, Web and use transmitting/receiving server WBS or WAP application transmitting/receiving server WPS on the basis of such scheme.
Above-mentioned routing server RS, it comprises data-analyzing machine AS, is used to analyze the presence and the online mode of the target receiver of described data; Data packet device PS is used for the online mode according to Data Receiving person, generates the packet of respective protocol, as meets the packet of http protocol, wap protocol, Transmission Control Protocol or udp protocol; And packet transponder TS, be used for above-mentioned packet is sent to transmitting/receiving server CS.
Above-mentioned routing server RS is in middle cardiac status, plays pivotal role, is used for analysis, the package of data and passes on.It will meet wherein a kind of data of http protocol, wap protocol, Transmission Control Protocol and udp protocol and be converted to another data in the above-mentioned agreement according to the purpose of data.
Above-mentioned session manager SS, main purpose is in order to preserve user's logon information, to be used to verify user's legitimacy.When user's login system, SS distributes a conversation element storing subscriber information, when the user withdraws from or do not have activity for a long time, and SS deletion user's information.
Above-mentioned data server DBS plays lasting preservation information and acts on really, comprises user profile, system information and some deferred informations etc.
Seeing also shown in Figure 3ly, is that Fig. 3 is the flow chart of the inter-network means of communication of the present invention, and these inter-network means of communication are used for carrying out transfer of data between mobile internet network termination and traditional internet terminal, and it may further comprise the steps:
A portable terminal, mobile internet network termination or traditional internet terminal send data to the transmitting/receiving server of inter-network communication server; Portable terminal is to send data with Transmission Control Protocol or udp protocol in this step, and for example, this portable terminal has Symbina, Linux, Windows mobile operating system or supports J2me, Brew platform; The mobile internet network termination sends data with wireless application protocol (wap); The tradition internet terminal sends data with the Http agreement; The information that can also include the target receiver type in the data that each terminal sends.
The type of the described data of b determining step a and target receiver type.In this step b, the data type that the sender sent is the data type that meets one of Transmission Control Protocol, udp protocol, WAP (wireless application protocol) or Http agreement, if in the data of transmit leg, do not comprise the type information of target receiver, meeting search subscriber database, for example above-mentioned data server DBS, in this data server DBS, record the protocol type information that target receiver can receive, thereby judge the type information of this target receiver.
C is according to the judged result of step b, and this data encapsulation is become to meet the packet of the reception agreement of target receiver, for example is to meet the packet of http protocol, wap protocol, Transmission Control Protocol or udp protocol.
D sends to corresponding transmitting/receiving server with the good packet of step c package.
E is sent to target receiver by transmitting/receiving server with this packet, and transmitting/receiving server sends with one of Transmission Control Protocol, udp protocol, WAP (wireless application protocol) or Http agreement according to the type selecting application corresponding server of packet.
In the inter-network means of communication of the present invention, above-mentioned data content and size are unrestricted, data-handling capacity according to terminal is decided, and can be at least a or several combination in voice data, video data, image data, text data and the Email.
In the inter-network means of communication of the present invention, can also comprise that the data that terminal is sent are saved in the step of data server DBS, also can comprise the step of the packet preservation that transmitting/receiving server is sent, for example be kept among the data server DBS.
Embodiment 1
The request of data that the PC end is initiated by Web:
Seeing also shown in Figure 4ly, is the schematic flow sheet that traditional the Internet end sends data.The Web page of user by browser logs on uses transmitting/receiving server WBS (hereinafter to be referred as WBS), and WBS can be sent to user's friend information etc. user's browser, and the user carries out work such as information transmission, file transmission according to these information,
The information format that Web server is sent to WBS is as follows:
The Post/ page r n
Content-Length: length r n
R n (end of http head)
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; SID=Hui Huahao ﹠amp; UID=Yong Huming ﹠amp; TO=recipient ﹠amp; The M_S=content r n;
The file format that transmits is as follows:
The Post/ page r n
Content-Length: length r n
R n (end of http head)
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; SID=Hui Huahao ﹠amp; UID=Yong Huming ﹠amp; TO=recipient ﹠amp; The M_S=content r the n file content
Above-mentioned agreement adds the http body by the http head and forms, and each field in the http body is defined as follows:
CMD: represent this operation types;
SID: session number;
UID: user name;
To: recipient;
M_S: received content;
WBS sends to routing server RS (hereinafter to be referred as RS) with packet after receiving complete packet, RS can be according to the content of To field, (for example analyze the presence of target receiver and online mode, Web, WAP, smart mobile phone are online), and according to the characteristics of its online mode, generate the packet of respective protocol, and be forwarded to corresponding transmitting/receiving server, and be sent to target receiver by this transmitting/receiving server.
If the recipient is that WAP, Web are online, encapsulate by following form:
Http?200?OK?\r\n
Content-Length: body length r n
\r\n
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; UID=Yong Huming ﹠amp; The M_S=content r n
Field Definition:
CMD: represent this operation types;
UID: user name;
M_S: received content
If the smart mobile phone Transmission Control Protocol is online, protocol format is as follows:
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; UID=Yong Huming ﹠amp; The M_S=content r n
Field Definition:
CMD: represent this operation types;
UID: user name;
M_S: received content
If the smart mobile phone udp protocol is online, protocol format such as following table 1:
Table 1
The 1st byte |
Version number |
The 2nd byte |
Command type |
The 3rd byte |
User name length |
User name |
User name |
The content-length byte |
The length of expression content |
Content |
Content |
Embodiment 2
The request of data that portable terminal rises by WAP:
Seeing also shown in Figure 5ly, is the schematic flow sheet that the mobile Internet end sends data.Portable terminal in the present embodiment is a regular handset, and this regular handset has the WAP page browser.The user logs on WAP transmitting/receiving server WPS (hereinafter to be referred as WPS) by the regular handset WAP page, and WPS can be sent to friend information of user etc. the WAP browser of regular handset, and the user carries out work such as information transmission, file transmission according to these information,
The information format that WAP is sent to WPS is as follows:
The Post/ page r n
Content-Length: length r n
R n (end of http head)
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; SID=Hui Huahao ﹠amp; UID=Yong Huming ﹠amp; TO=recipient ﹠amp; The M_S=content r n;
The file format that transmits is as follows:
The Post/ page r n
Content-Length: length r n
R n (end of http head)
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; SID=Hui Huahao ﹠amp; UID=Yong Huming ﹠amp; TO=recipient ﹠amp; The M_S=content r the n file content
Above-mentioned agreement adds the http body by the http head and forms, and each field in the http body is defined as follows:
CMD: represent this operation types;
SID: session number;
UID: user name;
To: recipient;
M_S: received content;
WBS sends to routing server RS with packet after receiving complete packet, RS can be according to the content of To field, analyze the presence of target receiver and online mode (Web, WAP, smart mobile phone online), and according to the characteristics of its online mode, generate the packet of respective protocol, and be forwarded to corresponding transmitting/receiving server, and be sent to target receiver by this transmitting/receiving server.
If the recipient is that WAP, Web are online, encapsulate by following form:
Http?200?OK?\r\n
Content-Length: body length r n
\r\n
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; UID=Yong Huming ﹠amp; The M_S=content r n
Field Definition:
CMD: represent this operation types;
UID: user name;
M_S: received content
If the smart mobile phone Transmission Control Protocol is online, protocol format is as follows:
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; UID=Yong Huming ﹠amp; The M_S=content r n
Field Definition:
CMD: represent this operation types;
UID: user name;
M_S: received content
If the smart mobile phone udp protocol is online, protocol format such as following table 2:
Table 2
The 1st byte |
Version number |
The 2nd byte |
Command type |
The 3rd byte |
User name length |
User name |
User name |
The content-length byte |
The length of expression content |
Content |
Content |
Inter-network communication server ICS adopts overtime mechanism of replying to guarantee the reliability of transmitting at the insecure characteristics of UDP.
Embodiment 3
The request of data that initiate by software the intelligence mobile terminal:
Seeing also shown in Figure 6ly, is the schematic flow sheet that intelligent mobile terminal sends data.Intelligent mobile terminal in this enforcement is the smart mobile phone that has Symbina, Linux, Windows mobile operating system or support J2me, Brew platform.The application software of user by smart mobile phone logs on uses transmitting/receiving server MPS (hereinafter to be referred as MPS), and MPS can be sent to the smart mobile phone end with user's friend information etc., and the user carries out work such as information transmission, file transmission according to these information,
The smart mobile phone end is as follows with the information format that TCP is sent to MPS:
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; SID=Hui Huahao ﹠amp; UID=Yong Huming ﹠amp; TO=recipient ﹠amp; The M_S=content r n;
Be sent to information format such as the following table 3 of MPS with UDP:
Table 3
The 1st byte |
Version number |
The 2nd byte |
Command type |
The 3rd byte |
User name length |
User name |
User name |
The session number length byte |
The length of expression session number |
The content-length byte |
The length of expression content |
Content |
Content |
The file format that the TCP mode transmits is as follows:
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; SID=Hui Huahao ﹠amp; UID=Yong Huming ﹠amp; TO=recipient ﹠amp; The M_S=content r the n file content
Above-mentioned agreement adds the http body by the http head and forms, and each field in the http body is defined as follows:
CMD: represent this operation types;
SID: session number;
UID: user name;
To: recipient;
M_S: received content;
File format that the UDP mode transmits such as following table 4:
Table 4
The 1st byte |
Version number |
The 2nd byte |
Command type |
The 3rd byte |
User name length |
User name |
User name |
The session number length byte |
The length of expression session number |
The content-length byte |
The length of expression content |
Content |
The content that sends |
File content |
File content |
MPS sends to routing server RS with packet after receiving complete packet, RS can be according to the content of To field, analyze the presence of target receiver and online mode (Web, WAP, smart mobile phone online), and according to the characteristics of its online mode, generate the packet of respective protocol, and be forwarded to corresponding transmitting/receiving server.
If the recipient is that WAP, Web are online, encapsulate by following form:
Http?200?OK?\r\n
Content-Length: body length r n
\r\n
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; UID=Yong Huming ﹠amp; The M_S=content r n
Field Definition:
CMD: represent this operation types;
UID: user name;
M_S: received content
If smart mobile phone end Transmission Control Protocol is online, protocol format is as follows:
VER=Ban Benhao ﹠amp; CMD=Ming Lingleixing ﹠amp; UID=Yong Huming ﹠amp; The M_S=content r n
Field Definition:
CMD: represent this operation types;
UID: user name;
M_S: received content
If smart mobile phone end udp protocol is online, protocol format such as following table 5:
Table 5
The 1st byte |
Version number |
The 2nd byte |
Command type |
The 3rd byte |
User name length |
User name |
User name |
The content-length byte |
The length of expression content |
Content |
Content |
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the method that can utilize above-mentioned announcement and technology contents are made a little change or be modified to the equivalent embodiment of equivalent variations, but every content that does not break away from technical solution of the present invention, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.