Summary of the invention
By existing problem and shortage in the short message mode access internet method, the purpose of this invention is to provide a kind of method that realizes use hand-set message access internet simple, easy to use at above-mentioned existing cellphone subscriber.
The present invention is achieved in that a kind of method of using hand-set message access internet, may further comprise the steps:
A, build the note access server, (Service Provider, SP) gateway, this gateway are provided with radio address shortcode and note and browse and follow the tracks of number to make it insert at least one service provider of family;
Build the note browser server, make itself and note access server carry out signaling and data interaction;
Build radio address registration and resolution system, radio address is registered and can be received the radio address that the note browser server sends and resolves, analysis result is returned to the note browser server;
B, the webpage on the Web website is written as mode with hand-set message access, and be organized into short message web site, give this short message web site registration radio address simultaneously, and with uniform resource locator (the Uniform Resource Locator of this radio address and short message web site homepage, URL) set up corresponding relation, make the note browser server visit short message web site according to this URL;
The short message that C, cellphone subscriber send visits short message web site through SP gateway and note access server to the note browser server.
Wherein, described radio address can also refer to the super chain of radio address, WAP site, mobile phone or telephone number except the URL that points to the short message web site homepage.
It is further comprising the steps of that short message process SP gateway that described step C cellphone subscriber sends and note access server visit short message web site to the note browser server:
The cellphone subscriber sends the shortcode of the short message of access request to appointment;
The SP gateway sends to the note access server with the cellphone subscriber's information that receives;
The information that the note access server will receive from service provider gateway is browsed to follow the tracks of together with radio address shortcode and note and number is sent to the note browser server in the lump;
The note browser server is judged the shortcode that the user uses: if the user uses is that note is browsed and followed the tracks of number, the note browser server is searched the page at the current place of user, carries out information-reply or super chain according to the content of user's input then; If what the user used is the radio address shortcode, the note browser server sends to the radio address resolution server with the radio address of user's input, after the radio address resolution server is resolved radio address radio address type and radio address sensing are sent to the note browser server, the URL that the note browser server points to according to radio address visits short message web site;
The page that short message web site will be visited the user returns to the note browser server;
The note browser server is a current page with this page setup, and this content of pages and information are sent to the cellphone subscriber with the form of note.
Compared with prior art, the present invention adopts the note mark language compilation short message web site with super chain ability, thereby realized between radio address and the short message web site and the super chain between short message web site and the short message web site, make the user need not carry out repeatedly input and answer short message access internet easily just, operating procedure when having simplified the user capture the Internet, save the time, improved access efficiency.
Embodiment
As can be seen from Figure 1, the present invention uses the system architecture of hand-set message access internet to be made up of cellphone subscriber, SMS center, SP gateway, note access server, note browser server, short message web site and radio address registration and resolution system.Wherein, radio address registration and resolution system are made up of registrar, radio address registrar, radio address database, radio address parsing root server and radio address resolution server.Except that the radio address database, the quantity of other parts can be a plurality of among Fig. 1.Wherein, the SP gateway is provided with two special service numbers, one be the cellphone subscriber use when directly sending note be called the radio address shortcode, another uses when being cellphone subscriber's answer short message is called note and browses and follow the tracks of number.The cellphone subscriber if continue to browse, only needs to use a note to browse and follows the tracks of number to reply in note is browsed; If want to visit a new short message web site, can import its radio address, send to the radio address shortcode.
With reference to Fig. 1, the online request that the cellphone subscriber edits sends to the SP gateway by the SMS center, and the SP gateway resolves to the user profile that receives the special service number of subscriber phone number, short message content and use and sends it to the note access server.The SP gateway passes represents for the data of note access server with 1.The data 1 that the note access server will receive from the SP gateway are browsed to follow the tracks of together with radio address shortcode and note and number are sent to the note browser server in the lump.The note access server passes to the data of note browser server to be represented with 2, and it is browsed tracking number five parts by shortcode, radio address shortcode and the note of subscriber phone number, short message content, use and forms.The note browser server extracts radio address from data 2, radio address 3 is passed to the radio address resolution server.After the radio address resolution server is resolved radio address, pass to the note browser server pointing to the data of forming 4 by radio address type and radio address.Wherein, it can be short message web site, WAP site, mobile phone/telephone number that radio address is pointed to, or the super chain of another radio address.When the radio address sensing was the super chain of another radio address, the note browser server extracted radio address from the super chain of radio address, and the radio address resolution server remakes dissection process to the radio address of extracting, till eliminating radio address.
(WirelessAddress Transport Protocol WATP) communicates can to adopt the radio address host-host protocol among Fig. 1 between note browser server and the short message web site.To be explained in detail this agreement in aft section of the present invention.The note browser server passes to the data of short message web site represents that with 5 it meets the transmission form of WATP.Short message web site passes to the data of note browser server to be represented with 6, and form meets short beacon note language (Short message Markup Language, SML) requirement.
7 expression note browser servers pass to the data of note access server among Fig. 1, it comprises return information (return information comprises content, error message or the information that the user will visit, and the user should use any shortcode etc. when replying this note) and special service number.The note access server sends to the cellphone subscriber by SP gateway and note Mobility Center with data 7.The cellphone subscriber carries out message reply according to the return information content that receives, and repeats said process.
Wherein, in said process, the registration and the resolving of described radio address may further comprise the steps:
A, build the radio address registrar, the radio address registrar is used to register radio address, revise that radio address is pointed to, inquiry radio address information etc.;
B, building the radio address database, is that radio address registrant, radio address sensing, radio address type, registration date, modification date, the record that continues to pay dues, registrar number of the account etc. are set up the storage form;
C, build radio address and resolve root server, radio address is resolved the request visit radio address database of root server according to the radio address resolution server, obtains radio address and points to and the radio address type;
D, build the radio address resolution server, after the radio address resolution server receives the radio address of note browser server transmission, resolving root server by the visit radio address resolves radio address, obtain radio address type and radio address and point to, and radio address type and radio address sensing are sent to the note browser server.
Fig. 2 is the short message flow chart of the method for the invention, and is identical among the label 1,2,3,4,6 among the figure and the data content of 7 representatives and Fig. 1.
As shown in Figure 2, the present invention uses the flow process of hand-set message access internet as follows:
The online request that the cellphone subscriber will import sends to the special service number of appointment with the form of short message;
The SP gateway sends it to the note access server after the user's short message that receives is resolved to the special service number of subscriber phone number, short message content and use.The data 1 that the note access server will receive from the SP gateway are browsed to follow the tracks of together with radio address shortcode and note and number are sent to the note browser server in the lump.
After the note browser server receives the data 2 of note access server transmission, the special service number that the user uses is judged:
If the user uses is that note is browsed and followed the tracks of number, the note browser server checks according to user's short message content whether the page at active user place exists, if current page does not exist, the note browser server uses the radio address shortcode to reply the browsing method of error message and prompting right to the user; If the page at active user place exists, the note browser server is used as short message content as the input of the page, selects corresponding super chain according to the behavior of page definition;
If what the user used is the radio address shortcode, the note browser server sends to the radio address resolution server with the radio address 3 of user's input, will point to the data of forming 4 by radio address type and radio address after the radio address resolution server is resolved radio address and send to the note browser server; The note browser server is further judged radio address type and radio address sensing, if it is the super chain of another radio address that radio address is pointed to, the note browser server then extracts radio address from the super chain of radio address, the radio address resolution server remakes dissection process to the radio address of extracting, and points to the URL of short message web site correspondence up to radio address.
The URL visit short message web site that the note browser server points to according to radio address wherein, adopts the WATP agreement between note browser server and the short message web site.
Short message web site returns to the note browser server with the page 6 that the user will visit;
The note browser server is a current page with this page setup, and sends the data of being made up of return information and special service number 7 to the user by note access server and SP gateway.This return information can comprise: the content that the user will visit, error message and information, the information of deducting fees, and which shortcode the user should use when replying this note.The cellphone subscriber obtains to want the content of visiting from the return information that receives, perhaps select corresponding shortcode to carry out message reply according to return information.
Also have some abort branches in the short message processing procedure of reality, these abort branches do not illustrate in Fig. 2, below these abort branches are described:
The radio address resolution server is not the sensing that can find the radio address correspondence when radio address is resolved, when the radio address resolution server returns to note browser server radio address can not resolve the time, the note browser server uses the radio address shortcode to reply error message and the correct radio address of prompting input to the user;
When note browser server visit short message web site, because a variety of causes is not to fetch the page to be visited.The page that can not fetch or fetch when this page exists when wrong, and the note browser server uses the radio address shortcode to reply the browsing method of error message and prompting right to the user;
Radio address after the parsing can also refer to WAP site, mobile phone/telephone number except pointing to the short message web site, exists an information flow to handle branch when radio address is pointed to WAP site or mobile phone/telephone number.
Use in the method for hand-set message access internet in the present invention, note SGML and radio address host-host protocol are to make radio address have the key of super chain ability, below short beacon note language, radio address host-host protocol and the super chain of radio address are done detailed explanation:
One, note SGML SML is based on the descriptive language of the short message web site of extend markup language design, and the note SGML is made up of many cards (card), and every card all has a unique ID to identify, and comprises many information in every card.The detailed content of information can be included in this card, also can be present in other card with the form of super chain.If do not provide card ID, then acquiescence is browsed first card; Do not exist if provide the card of ID correspondence, then show error message.
Can comprise a do or select mark in every card (card) of SML.Setvar mark, send mark and go mark can appear in order in the do mark.Mark in the do mark has only when receiving and just begins when the user imports to carry out.
The setvar mark is used for being provided with the built-in variable among the sml, and the variable with setvar is provided with effectively, utilizes this point data can be transmitted between card (card) in all the card marks in SML.Three built-in variables are arranged in SML: variable card is used for that memory card ID, variable mobile are used for storing the user terminal mobile phone number, variable i nput is used for storing the short message content of user's input;
The send mark is used for transmission information;
The function of go mark is to be used for carrying out the page to shift.
Only comprise the option mark in the select mark.Mark in the select mark has only when receiving just to begin when the user imports to carry out.Option is marked with attribute value, and expression jumps to and specifies super chain when user side is imported this value.
The each note of user side is browsed, and can only see a card.User side can be specified the card that will browse by the method that provides card ID, in this card, search the content that to visit according to the input content again, if the super chain of this accessed content then jumps to the card that is loaded with this content in other card, realize the super chain between the webpage.
Two, radio address host-host protocol WATP is based on HTML (Hypertext Markup Language), is defined in the data of transmission to comprise card, mobile and three parameters of input, wherein:
Described card parameter is the ID sign of the card that defines in the SML language;
Described mobile parameter is cellphone subscriber's a phone number;
Described input parameter is the short message content that the user imports;
Three built-in variables that are provided with among these three parameters and the SML are corresponding.For example, a qualified WATP request can be represented with following mode:
Http:// www.net.cn/sms.astp? card=Yuan Gong ﹠amp; Mobile=13901056789﹠amp; Input=Zheng Shi
The response of WATP meets the hypertext of SML call format.
Three, the super chain of radio address, is the form of the super chain of radio address generally: radio address # card ID? the input content.
Wherein, the radio address in the super chain form of radio address can be the radio address in the radio address imported when sending note of cellphone subscriber or the super chain of radio address that points to through the radio address after resolving; Card ID in the super chain form of radio address is the ID sign of the card that defines in the SML language.
Necessarily contain a radio address in the super chain of radio address, a radio address is exactly a super chain of radio address according to default rule.The super chain of radio address can use in the SML text, and the cellphone subscriber also can directly use note to send.Radio address has only through being provided with just and can using, and radio address can be pointed to short message web site, WAP site, mobile phone/telephone number, or points to the super chain of another radio address.
Below in conjunction with concrete example the super chain of radio address is done detailed explanation:
Having provided several radio address and this radio address through setting in the table 1 points to through radio address type after resolving and radio address.
Table 1 radio address and type thereof and sensing
Radio address | Type | Point to |
China's ten thousand nets | SMS | http://www.net.cn/sms.asp |
Ten thousand nets | Alias | China's ten thousand nets |
Ten thousand net explorer workers | Alias | Ten thousand net # employees |
Ten thousand net presidents | Alias | Ten thousand net # employees? Zheng Shi |
Easy territory net | WAP | http://www.eachnic.com/wap.asp |
Ten thousand net exchanges | TEL | +86.01064242299 |
With reference to table 1, if the user terminal mobile phone number is 13901056789, the radio address of user's input is " ten thousand net presidents ".The cellphone subscriber sends to the radio address shortcode by short message with radio address " ten thousand net president ", and the information that the note access server will receive from the SP gateway is browsed to follow the tracks of together with radio address shortcode and note and number sent to the note browser server in the lump.After the note browser server received the data that the note access server sends, the special service number that the user is used was judged earlier, and what judge that the user uses is behind the radio address shortcode radio address " ten thousand net presidents " to be sent to the radio address resolution server.
From table 1, can find out, after the radio address resolution server is resolved, radio address " ten thousand net presidents " the super chain of sensing radio address " ten thousand net # employees? Zheng Shi ".The note browser server from the super chain of radio address " ten thousand the net # employees? Zheng Shi " the extraction radio address " ten thousand nets ", radio address " ten thousand nets " is sent to the radio address resolution server resolves once more.After resolving, it is the super chain of another radio address " Chinese ten thousand nets " that radio address " ten thousand nets " is pointed to.The note browser server is sent to the radio address resolution server with radio address " Chinese ten thousand nets " and resolves again.After resolving, the URL of radio address " Chinese ten thousand nets " sensing short message web site correspondence "
Http:// www.net.cn/sms.asp".According to WATP host-host protocol radio address " ten thousand net president " be translated into through after resolving "
Http:// www.net.cn/sms.aspCard=Yuan Gong ﹠amp; Mobile=13901056789﹠amp; Input=Zheng Shi ".The note browser server visits short message web site according to URL.
After short message web site accesses the card that ID is designated " employee " according to the ID of card sign, again according to input content " Zheng Shi ", find in the card that is designated " employee " about introducing the information of " Zheng Shi ", relevant being presented on " employee " card of " Zheng Shi " also can be linked in another card with the form of super chain.If the introduction of relevant " Zheng Shi " is to provide with the form of super chain in another card on " employee " card, then jump to this card.Short message web site returns to the note browser server to the represented page of card that contains introduction " Zheng Shi ".The note browser server is a current page with this page setup, and sends to the cellphone subscriber by the contents that note access server and SP gateway will be introduced ten thousand net president Zheng Shi, thereby realizes that the user uses the purpose of hand-set message access internet.
Equally, the super chain of radio address " ten thousand net explorer workers? Zheng Shi " with " and ten thousand the net # employees? Zheng Shi " also can be translated into identical result.Utilize super chain method cellphone subscriber access internet of the present invention can save many photos and sending messages and the step of the breath of writing in reply as can be seen from this embodiment, saved the time, improved access efficiency.
It should be noted last that: above embodiment is the unrestricted technical scheme of the present invention in order to explanation only, although the present invention is had been described in detail with reference to the foregoing description, those of ordinary skill in the art is to be understood that: still can make amendment or be equal to replacement the present invention, and not breaking away from any modification or partial replacement of the spirit and scope of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.