CN102148868A - Method, device and system for saving telephone number on WAP page - Google Patents
Method, device and system for saving telephone number on WAP page Download PDFInfo
- Publication number
- CN102148868A CN102148868A CN2011100362441A CN201110036244A CN102148868A CN 102148868 A CN102148868 A CN 102148868A CN 2011100362441 A CN2011100362441 A CN 2011100362441A CN 201110036244 A CN201110036244 A CN 201110036244A CN 102148868 A CN102148868 A CN 102148868A
- Authority
- CN
- China
- Prior art keywords
- portable terminal
- wap page
- telephone number
- label body
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method, device and system for saving a telephone number on a WAP (Wireless Application Protocol) page. The method comprises the following steps: firstly, a mobile terminal sends an HTTP (Hyper Text Transport Protocol) request to access the corresponding URL (Uniform Resource Locator) so as to obtain the WAP page on a server, wherein the WAP page contains a script for saving the telephone number; secondly, the mobile terminal analyzes contents on the WAP page and analyzes and processes all web tags; thirdly, the mobile terminal obtains all the web tags for saving the telephone number for further processing, and registers an mobile terminal user click event according to the type attributes of a tag body; and fourthly, the mobile terminal responds to the user operation when a user clicks a hyperlink for saving the telephone number on the WAP web, to save the telephone number into an address book of the mobile terminal. The invention can be used for saving the telephone number on the WAP page into the local address book, thereby simplifying the user operation, providing convenience for customer use and optimizing the user experience.
Description
Technical field
The present invention relates to mobile communication technology, relate in particular to the methods, devices and systems that a kind of WAP page is preserved telephone number.
Background technology
At present, along with the continuous development of mobile communication technology, portable terminal has been deep in people's the life, and mobile communication has also become the most widely used communication mode.Here, the alleged portable terminal of the present invention is meant that mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc. have the small hand-held formula mobile communication equipment of wireless communication function.With the mobile phone is example, and it occupies an important position in user's life as the instrument of daily life and business.
When using surfing Internet with cell phone, we open WAP (Wireless Application Protocol, WAP (wireless application protocol)) during the page, on the WAP page of being everlasting, see some IVR (Interactive VoiceResponse, interactive voice answering) connects business, as long as clickthrough, just can dial corresponding telephone number, very convenient user's use, the trouble of having avoided user oneself to go to Enter Number and dial again.
Yet, can only realize the function that dials phone number by the IVR mode now, if want the telephone number that these are important to be saved in the address book of mobile phone, just can only oneself remember number, be saved in again in the address book of oneself, operate more loaded down with trivial detailsly, cause the user to use inconvenience.
Summary of the invention
The purpose of this invention is to provide a kind of WAP page and preserve the methods, devices and systems of telephone number, it can be saved in the telephone number on the WAP page local address book.
For achieving the above object, the present invention adopts following technical scheme:
A kind of WAP page is preserved the method for telephone number, comprising:
Step 1: portable terminal sends the HTTP request, and the URL that visit is corresponding obtains the server WAP page, includes the script of preserving telephone number in this WAP page;
Step 2: portable terminal analyzing WAP page content, all page-tag are carried out analyzing and processing;
Step 3: portable terminal obtains all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Step 4: when the user clicked the hyperlink of preserving number in the WAP page, portable terminal response user operation was saved to wherein telephone number in the address book of portable terminal.
Further, described step 4 comprises:
Step 41: according to label body type attribute, parse operation type;
Step 42: when action type is when preserving telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book.
Further, described step 4 also comprises:
Step 42 ': when action type when dialing phone number, call portable terminal dialing numbers function and directly dial number series among the label body href.
Further, described step 4 also comprises:
Step 422 ": call portable terminal dialing numbers function and directly dial number series among the label body href.
A kind of portable terminal comprises:
WAP page acquisition module is used to send the HTTP request, and the URL that visit is corresponding obtains the server WAP page, includes the script of preserving telephone number in this WAP page;
Parsing module is used for the analyzing WAP page content, and all page-tag are carried out analyzing and processing;
Registering modules is used to obtain all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Preserve module, be used for when the user when the WAP page is clicked the hyperlink of preserving number, portable terminal response user operates, and wherein telephone number is saved in the address book of portable terminal.
Further, described preservation module comprises:
Analyzing sub-module is used for the attribute according to label body type, the parse operation type;
First preserves submodule, be used for when action type is the preservation telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book.
Further, described preservation module also comprises:
First dials submodule, be used for when action type when dialing phone number, call portable terminal dialing numbers function and directly dial number series among the label body href.
Further, described preservation module also comprises:
Second preserves submodule, be used for when action type for dialing and when preserving telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book;
Second dials submodule, is used for calling the number series that portable terminal dialing numbers function is directly dialed label body href.
A kind of server comprises:
Receiver module is used for the HTTP request that mobile terminal receive sends;
Sending module is used to return the WAP page of asking corresponding URL with described HTTP, includes the script of preserving telephone number in this WAP page.
A kind of communication system comprises server and portable terminal, wherein,
Described server comprises:
Receiver module is used for the HTTP request that mobile terminal receive sends;
Sending module is used to return the WAP page of asking corresponding URL with described HTTP, includes the script of preserving telephone number in this WAP page;
Described portable terminal comprises:
WAP page acquisition module is used to send the HTTP request, and the URL that visit is corresponding obtains the server WAP page;
Parsing module is used for the analyzing WAP page content, and all page-tag are carried out analyzing and processing;
Registering modules is used to obtain all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Preserve module, be used for when the user when the WAP page is clicked the hyperlink of preserving number, portable terminal response user operates, and wherein telephone number is saved in the address book of portable terminal.
The WAP page provided by the invention is preserved the methods, devices and systems of telephone number, the telephone number on the WAP page can be saved in local address book, has simplified user's operation, provides convenience for the user uses, and has optimized user experience.
Description of drawings
Fig. 1 is the schematic flow sheet that the WAP page of the present invention is preserved the method embodiment one of telephone number;
Fig. 2 is the schematic flow sheet that the WAP page of the present invention is preserved the method embodiment two of telephone number;
Fig. 3 is the structural representation that the WAP page of the present invention is preserved the device one of telephone number;
Fig. 4 is the structural representation that the WAP page of the present invention is preserved the device two of telephone number;
Fig. 5 is the structural representation that the WAP page of the present invention is preserved the system of telephone number.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The invention provides a kind of WAP page and preserve the method for telephone number, as shown in Figure 1, comprising:
Step 1: portable terminal sends HTTP (HyperText Transfer Protocol, HTML (Hypertext Markup Language)) request, URL (the Uniform Resource Locator that visit is corresponding, URL(uniform resource locator)), obtain the server WAP page, include the script of preserving telephone number in this WAP page;
Among the present invention, need at server end the WAP page to be edited in advance, make it include the script of preserving telephone number.The function that this script is realized promptly is the telephone number (title of correspondence when also preferably identifying the number preservation) that identifies in the WAP page, then this telephone number is saved in the address book of portable terminal.The writing to adopt of script well known to a person skilled in the art that any technology realizes.
Step 2: portable terminal analyzing WAP page content, all page-tag are carried out analyzing and processing;
Step 3: portable terminal obtains all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Step 4: when the user clicked the hyperlink of preserving number in the WAP page, portable terminal response user operation was saved to wherein telephone number in the address book of portable terminal.
In this step, owing to from the WAP page that server obtains, included the script of preserving telephone number, and step 2-3 handles the page, also registered the mobile phone users click event, therefore, when the user clicks the hyperlink of preserving number, just can realize the preservation of telephone number in the WAP page at an easy rate in this step.
Therefore, the present invention can be saved in the telephone number on the WAP page local address book, has simplified user's operation, provides convenience for the user uses, and has optimized user experience.
Fig. 2 is more detailed improved embodiment on the basis of Fig. 1.As shown in Figure 2, abovementioned steps 4 preferably includes:
Step 41: according to label body type (type) attribute, the parse operation type is so that operate accordingly according to this action type that parses in subsequent step;
Step 42: when action type is when preserving telephone number (i.e. " save " shown in the figure), call the portable terminal bottom and preserve the number function, the value of label body name (title) attribute is saved as the name of number in the address book, number series among the label body href (Hyperlink Reference, hyperlink is quoted) is saved as the particular content of number in the address book.
For the label in the WAP page, the href property value is the number series of operation, and the name property value is for preserving the name in the address book, and the type property value is an action type.According to the difference of this three's attribute, carried out correspondingly handling operation, thereby made things convenient for the preservation of user among the present invention telephone number.
The WAP page with the wireless IVR channel of phoenix correspondence is an example, the telephone number that dynamic community column in this WAP page (being used to allow the user listen to entertainment) is corresponding is 125906725, and the telephone number that the sound column of phoenix (being used to allow the user participate in program has argument) is corresponding is 125906722.At this moment, for dynamic community column, the property value of name then is " phoenix is wireless dynamic community " in its corresponding label, the property value of href then is " 125906725 ", the type property value can be " save ", also can be " callsave " shown in Fig. 2, not preserve when needing that the type property value can be " call " when this telephone number; And for the sound column of phoenix, the property value of name then is " sound of the wireless phoenix of phoenix " in its corresponding label, and the property value of href then is " 125906722 ", and the type property value can be " save ", " call " or " callsave " equally.
Be to have adopted the mode of calling portable terminal bottom preservation number function to preserve number in above-mentioned steps 42.One skilled in the art will appreciate that this only is an execution mode more preferably, those skilled in the art can also adopt other modes to realize, for example, directly the address book file are carried out read-write operation etc. at dissimilar portable terminals.
In Fig. 2, in order to realize dialing the function of telephone number in the WAP page, described step 4 can also comprise:
Step 42 ': when action type when dialing phone number (i.e. " call " shown in the figure), call portable terminal dialing numbers function and directly dial number series among the label body href.
Certainly, one skilled in the art will appreciate that and telephone number is not preserved this moment, and only realized the function that dials phone number.
Simultaneously, in Fig. 2, for the function that realizes not only dialing phone number but also preserving telephone number, described step 4 can also comprise:
Step 421 ": when action type when dialing and preserving telephone number (i.e. " callsave " shown in the figure); call the portable terminal bottom and preserve the number function; the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book;
Step 422 ": call portable terminal dialing numbers function and directly dial number series among the label body href.
Significantly, above-mentioned steps 422 " can be prior to step 421 " carry out, or these two steps also can be carried out simultaneously.
The method of preserving telephone number with the above-mentioned WAP page is corresponding, and the present invention also provides a kind of portable terminal, server and communication system.
As shown in Figure 3, portable terminal provided by the invention comprises:
WAP page acquisition module 301 is used to send the HTTP request, and the URL that visit is corresponding obtains the server WAP page, includes the script of preserving telephone number in this WAP page;
Parsing module 302 is used for the analyzing WAP page content, and all page-tag are carried out analyzing and processing;
Registering modules 303 is used to obtain all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Preferably, described preservation module 304 comprises:
Analyzing sub-module is used for the attribute according to label body type, the parse operation type;
First preserves submodule, be used for when action type is the preservation telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book.
Preferably, described preservation module 304 also comprises:
First dials submodule, be used for when action type when dialing phone number, call portable terminal dialing numbers function and directly dial number series among the label body href.
Preferably, described preservation module 304 also comprises:
Second preserves submodule, be used for when action type for dialing and when preserving telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book;
Second dials submodule, is used for calling the number series that portable terminal dialing numbers function is directly dialed label body href.
As shown in Figure 4, server provided by the invention comprises:
Sending module 402 is used to return the WAP page of asking corresponding URL with described HTTP, includes the script of preserving telephone number in this WAP page.
As shown in Figure 5, communication system provided by the invention comprises server 40 and portable terminal 30, wherein,
Described server 40 comprises:
Sending module 402 is used to return the WAP page of asking corresponding URL with described HTTP, includes the script of preserving telephone number in this WAP page;
Described portable terminal 30 comprises:
WAP page acquisition module 301 is used to send the HTTP request, and the URL that visit is corresponding obtains the server WAP page;
Parsing module 302 is used for the analyzing WAP page content, and all page-tag are carried out analyzing and processing;
Registering modules 303 is used to obtain all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Portable terminal of the present invention, server and communication system can be saved in the telephone number on the WAP page local address book, have simplified user's operation, provide convenience for the user uses, and have optimized user experience.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; If do not break away from the spirit and scope of the present invention, the present invention is made amendment or is equal to replacement, all should be encompassed in the middle of the protection range of claim of the present invention.
Claims (10)
1. the method that the WAP page is preserved telephone number is characterized in that, comprising:
Step 1: portable terminal sends the HTTP request, and the URL that visit is corresponding obtains the server WAP page, includes the script of preserving telephone number in this WAP page;
Step 2: portable terminal analyzing WAP page content, all page-tag are carried out analyzing and processing;
Step 3: portable terminal obtains all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Step 4: when the user clicked the hyperlink of preserving number in the WAP page, portable terminal response user operation was saved to wherein telephone number in the address book of portable terminal.
2. method according to claim 1 is characterized in that, described step 4 comprises:
Step 41: according to label body type attribute, parse operation type;
Step 42: when action type is when preserving telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book.
3. method according to claim 2 is characterized in that, described step 4 also comprises:
Step 42 ': when action type when dialing phone number, call portable terminal dialing numbers function and directly dial number series among the label body href.
4. method according to claim 2 is characterized in that, described step 4 also comprises:
Step 421 ": when action type for dialing and when preserving telephone number; call the portable terminal bottom and preserve the number function; the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book;
Step 422 ": call portable terminal dialing numbers function and directly dial number series among the label body href.
5. a portable terminal is characterized in that, comprising:
WAP page acquisition module is used to send the HTTP request, and the URL that visit is corresponding obtains the server WAP page, includes the script of preserving telephone number in this WAP page;
Parsing module is used for the analyzing WAP page content, and all page-tag are carried out analyzing and processing;
Registering modules is used to obtain all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Preserve module, be used for when the user when the WAP page is clicked the hyperlink of preserving number, portable terminal response user operates, and wherein telephone number is saved in the address book of portable terminal.
6. portable terminal according to claim 5 is characterized in that, described preservation module comprises:
Analyzing sub-module is used for the attribute according to label body type, the parse operation type;
First preserves submodule, be used for when action type is the preservation telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book.
7. portable terminal according to claim 6 is characterized in that, described preservation module also comprises:
First dials submodule, be used for when action type when dialing phone number, call portable terminal dialing numbers function and directly dial number series among the label body href.
8. portable terminal according to claim 6 is characterized in that, described preservation module also comprises:
Second preserves submodule, be used for when action type for dialing and when preserving telephone number, call the portable terminal bottom and preserve the number function, the value of label body name attribute is saved as the name of number in the address book, the number series among the label body href is saved as the particular content of number in the address book;
Second dials submodule, is used for calling the number series that portable terminal dialing numbers function is directly dialed label body href.
9. a server is characterized in that, comprising:
Receiver module is used for the HTTP request that mobile terminal receive sends;
Sending module is used to return the WAP page of asking corresponding URL with described HTTP, includes the script of preserving telephone number in this WAP page.
10. a communication system comprises server and portable terminal, it is characterized in that,
Described server comprises:
Receiver module is used for the HTTP request that mobile terminal receive sends;
Sending module is used to return the WAP page of asking corresponding URL with described HTTP, includes the script of preserving telephone number in this WAP page;
Described portable terminal comprises:
WAP page acquisition module is used to send the HTTP request, and the URL that visit is corresponding obtains the server WAP page;
Parsing module is used for the analyzing WAP page content, and all page-tag are carried out analyzing and processing;
Registering modules is used to obtain all page-tag of preserving number and further handles, according to label body type attribute, and registration mobile phone users click event;
Preserve module, be used for when the user when the WAP page is clicked the hyperlink of preserving number, portable terminal response user operates, and wherein telephone number is saved in the address book of portable terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100362441A CN102148868A (en) | 2011-02-11 | 2011-02-11 | Method, device and system for saving telephone number on WAP page |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100362441A CN102148868A (en) | 2011-02-11 | 2011-02-11 | Method, device and system for saving telephone number on WAP page |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102148868A true CN102148868A (en) | 2011-08-10 |
Family
ID=44422854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100362441A Pending CN102148868A (en) | 2011-02-11 | 2011-02-11 | Method, device and system for saving telephone number on WAP page |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102148868A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571957A (en) * | 2012-01-09 | 2012-07-11 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and mobile communication terminal contact Web page address saving method |
CN102819388A (en) * | 2012-07-05 | 2012-12-12 | 东莞市尚睿电子商务有限公司 | Picture panorama display processing system applied to mobile terminal operating system and installation and use method of processing system |
CN104333638A (en) * | 2014-10-23 | 2015-02-04 | 张勇平 | Contact webpage storage method of mobile terminal and corresponding mobile terminal |
CN107885739A (en) * | 2016-09-29 | 2018-04-06 | 联芯科技有限公司 | The method and browser of communication modes disclosed in access browser |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1507258A (en) * | 2002-12-09 | 2004-06-23 | 英业达集团(南京)电子技术有限公司 | Method for telephone set to log on automatically to acquire information from network server |
CN101127784A (en) * | 2007-09-29 | 2008-02-20 | 网秦无限(北京)科技有限公司 | Method and system for quickly obtaining network information service at mobile terminal |
-
2011
- 2011-02-11 CN CN2011100362441A patent/CN102148868A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1507258A (en) * | 2002-12-09 | 2004-06-23 | 英业达集团(南京)电子技术有限公司 | Method for telephone set to log on automatically to acquire information from network server |
CN101127784A (en) * | 2007-09-29 | 2008-02-20 | 网秦无限(北京)科技有限公司 | Method and system for quickly obtaining network information service at mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571957A (en) * | 2012-01-09 | 2012-07-11 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and mobile communication terminal contact Web page address saving method |
CN102571957B (en) * | 2012-01-09 | 2015-03-04 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and mobile communication terminal contact Web page address saving method |
CN102819388A (en) * | 2012-07-05 | 2012-12-12 | 东莞市尚睿电子商务有限公司 | Picture panorama display processing system applied to mobile terminal operating system and installation and use method of processing system |
CN104333638A (en) * | 2014-10-23 | 2015-02-04 | 张勇平 | Contact webpage storage method of mobile terminal and corresponding mobile terminal |
CN107885739A (en) * | 2016-09-29 | 2018-04-06 | 联芯科技有限公司 | The method and browser of communication modes disclosed in access browser |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8412695B2 (en) | Method and system for providing context aware communication | |
US8392528B2 (en) | Architecture for sharing podcast information | |
CN100421113C (en) | Searching system and method based on personalized information | |
JP3350656B2 (en) | URL notification device for mobile phones | |
CN101847160B (en) | Method and device for pushing personalized pages to mobile terminal | |
US20120014292A1 (en) | Access Management System and Access Management Method | |
US20070118657A1 (en) | Method and system for sharing podcast information | |
CN105491127A (en) | Method, device and system for conversation interface information presentation, and method and device for pushing presentation information | |
CN101918940A (en) | The smart web pages provisioning system and the method that are used for mobile device | |
JP2008252909A (en) | Method and apparatus for accessing targeted, personalized voice/audio web content through wireless devices | |
EP1689184A3 (en) | Method and system enabling web content searching from a remote set-top control interface or device | |
CN101325602A (en) | Method and system for pre-reading web page by micro-browser intelligently | |
CN104702675B (en) | The response method and device of customer incident | |
CN102148868A (en) | Method, device and system for saving telephone number on WAP page | |
EP2253125B1 (en) | Method, cellular wireless handset and server for providing universal resource locators to web browsers in cellular wireless handsets | |
CN106792600A (en) | A kind of information processing method, mobile terminal, netscape messaging server Netscape | |
WO2008007365A2 (en) | Web-based dialing | |
US20090005122A1 (en) | Advertisement-based dialing | |
CN101448216B (en) | Information searching method and search service device | |
WO2010084497A1 (en) | System and method for providing visual content and services to wireless terminal devices in response to a received voice call | |
CN109284356A (en) | Scheme feedback method, device, computer equipment and storage medium | |
CN102307213A (en) | Method for displaying microphone state | |
WO2016180137A1 (en) | Message processing method and device | |
CN106789545A (en) | Method and mobile terminal that a kind of information sends | |
CN101834950A (en) | Method and device for accessing multimedia resources of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110810 |