CN101184103A - Method for accessing wireless service server through mobile terminal equipment - Google Patents
Method for accessing wireless service server through mobile terminal equipment Download PDFInfo
- Publication number
- CN101184103A CN101184103A CNA2007101252495A CN200710125249A CN101184103A CN 101184103 A CN101184103 A CN 101184103A CN A2007101252495 A CNA2007101252495 A CN A2007101252495A CN 200710125249 A CN200710125249 A CN 200710125249A CN 101184103 A CN101184103 A CN 101184103A
- Authority
- CN
- China
- Prior art keywords
- service server
- domain name
- server
- mobile terminal
- terminal device
- 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
Abstract
The invention provides a method of accessing the wireless service server by the mobile communication terminal device, belonging to the technical field of mobile communications The method comprises the following steps: a user enters the domain name of the service to access; a memory unit is checked if a service sever IP relating to the domain name entered has been in the memory unit, and if yes, the service server is connected with the service server IP analyzed; or if no, the domain name is analyzed, and the obtained service server IP is used for connecting the service server; if the server is connected successfully, the IP of the server is stored in the memory unit. The invention records the IP address related to the service server the user accesses by a mobile communication terminal and saves the IP address in the local configuration file, and the IP address can be revisited directly when the service server needs to be accessed next time, thus reducing the time required by the mobile terminal to connect the service server.
Description
Technical field
The invention belongs to field of mobile communication, relate in particular to a kind of method by mobile terminal device visit wireless service server.
Background technology
Development along with mobile communication technology, and to the continuous increase of mobile data services demand, the user can visit comprise palm security, wireless backup, wireless a girl secretary concurrently a lover, the global positioning system that more mobile operator provides by mobile terminal device, and (Global Positioning System, GPS) navigation waits at interior various wireless traffics.
In the prior art, during the each access service server of customer mobile terminal equipment, all be to conduct interviews by domain name, then by domain name system (Domain Name System, DNS) domain name (network address) is resolved to Internet protocol (the Internet Protocol of the corresponding service server that will visit, IP) this service server is visited by the IP address of service server correspondence again in address.At this mode, advantage is: the IP address of service server can be flexible and changeable, and each customer mobile terminal equipment can have access to its corresponding service server by domain name access; But the shortcoming of this mode is: each visit all needs by dns server domain name mapping to be become corresponding IP address, resolve overlong time, the mortality of parsing is than higher, thereby need spend long period access service server, increase user's stand-by period, reduced service efficiency.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method by mobile terminal device visit wireless service server, be intended to solve when customer mobile terminal equipment is at every turn by the domain name access service server in the prior art Connection Service device long problem turn-on time.
The embodiment of the invention is achieved in that a kind of method by mobile terminal device visit wireless service server, and described method comprises the steps:
The user imports the domain name that needs access service;
Search and whether have in the memory cell and described input domain famous prime minister corresponding service server ip,, then read described service server IP and connect service server if exist; If do not exist, then utilize described input domain name to carry out domain name mapping, and connect service server by the service server IP that described parsing is obtained;
If connect the service server success, described service server IP be stored in memory cell.
Another purpose of the embodiment of the invention is to provide a kind of mobile terminal device, comprising:
Input unit is used for the domain name that the user imports needs access service;
Memory cell is used to store the domain name corresponding service server ip that the user needs access service;
Whether the service server linkage unit is used for searching described memory cell and has and described input domain famous prime minister corresponding service server ip, if exist, then reads described service server IP and connects service server; If do not exist, then utilize described input domain name to carry out domain name mapping, and connect service server by the service server IP that described parsing is obtained.
In the embodiment of the invention, the IP address of the domain name correspondence by mobile terminal device access service server is noted first with the user, be kept at mobile terminal device, directly use the IP address to connect service server when visiting again this service server next time, effectively raise the speed of mobile terminal device access service server, reduced user's stand-by period.
Description of drawings
Fig. 1 is the system architecture figure that passes through mobile terminal device visit wireless service server that the embodiment of the invention provides;
Fig. 2 is the method flow diagram that passes through mobile terminal device visit wireless service server that the embodiment of the invention provides.
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.
In embodiments of the present invention, the IP address of the domain name correspondence by mobile terminal device access service server is noted first with the user, be kept in the local profile, directly use the IP address to connect service server when visiting again this service server next time, improved the speed of mobile terminal device access service server.
Fig. 1 shows the system architecture that passes through mobile terminal device visit wireless service server that the embodiment of the invention provides, comprise: portable terminal, mobile communication network, dns server and service server, described portable terminal comprises input unit, memory cell, service server linkage unit and dns server link unit, and details are as follows:
Input unit is used for the domain name that the user imports needs access service.
Memory cell is used to store the domain name corresponding service server ip that the user needs access service.
Whether the service server linkage unit is used for searching described memory cell and has and described input domain famous prime minister corresponding service server ip, if exist, then reads described service server IP and connects service server; If do not exist, then utilize described input domain name to carry out domain name mapping, and connect service server by the service server IP that described parsing is obtained.
The dns server linkage unit is used to connect dns server, carries out domain name mapping.
As one embodiment of the present of invention, the user imports the domain name of the business that needs visit, whether the service server linkage unit is searched has in the described memory cell and described input domain famous prime minister corresponding service server ip, if exist, then reads described service server IP and connects service server; If do not exist, then utilize the dns server linkage unit to connect dns server, the input domain name is carried out domain name mapping, the service server IP that obtains by described parsing connects service server then.
Fig. 2 shows the method flow that passes through mobile terminal device visit wireless service server that the embodiment of the invention provides, and details are as follows:
In step S201, socket (Socket) initialization.
In this step, so-called Socket is also referred to as " socket " usually, is used to describe IP address and port, is the handle of a communication chain, and application program is sent to network by " socket " usually and asked or reply network requests.When successful connection, application program two ends (and the request of sending and reply network requests) all can produce a Socket example, operates this example, finishes required session.
As one embodiment of the present of invention,, import when needing the domain name of access server the Socket initialization when customer mobile terminal equipment is opened corresponding application software (such as the surfing Internet with cell phone browser).
As one embodiment of the present of invention, described mobile terminal device comprise mobile phone and personal digital assistant (Personal Digital Assistant, PDA) etc.
In step S202, connect the server that to visit by domain name.
As one embodiment of the present of invention, system the time considers the problem that the IP of service server may change in design, so when wanting the access service server, at first all be based on domain name access when communicating connection.
In step S203, search the IP that whether has the server of required visit in the memory cell, if execution in step S205 then, otherwise execution in step S204.
As one embodiment of the present of invention, described memory cell is the configuration file that is stored in the mobile terminal device internal memory.
In step S204, domain name mapping is become the IP of the corresponding server that will visit.
In this step, at first need to connect dns server, by dns server domain name is resolved, resolve to corresponding IP address.
In step S205, read the server ip that will visit in the configuration file.
As one embodiment of the present of invention, when the user passed through the domain name access service server for the first time, mobile terminal device can be recorded in the IP address of its successful access service server correspondence in the configuration file, is kept in the internal memory of mobile terminal device.
In step S206, by the IP address connection server.
In step S207, judge whether Connection Service device success, be execution in step S208 then, otherwise execution in step S207.
In this step,, can not guarantee that the user can visit its corresponding service server in the Visitor Logs IP address of getting off first once more because the IP address of service server may change.When occur can not the access service server by the IP address situation the time, need resolve the IP address of the domain name correspondence of access service server again.
In step S208, the IP of successful Connection Service device is recorded configuration file.
In this step, if successfully connect the service server that will visit, then described IP is recorded configuration file, be kept in the internal memory of mobile terminal device, use when visiting for next time.
In embodiments of the present invention, owing to adopt IP to resolve buffering scheme, the IP address of the domain name correspondence by mobile terminal device access service server is noted first with the user, be kept in the local profile, directly use the IP address to connect service server when visiting again this service server next time, significantly reduce mobile terminal device to dns resolution function call number of times, needing to have avoided dns server to resolve and lose time.If connection failure simultaneously then resolve domain name once more, the IP address that the new record of laying equal stress on is new.In this way, effectively raise the speed that mobile terminal device access service server inserts, reduced the time that the user waits for, and guaranteed the stability of this mode access service server.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. the method by mobile terminal device visit wireless service server is characterized in that described method comprises the steps:
The user imports the domain name that needs access service;
Search and whether have in the memory cell and described input domain famous prime minister corresponding service server ip,, then read described service server IP and connect service server if exist; If do not exist, then utilize described input domain name to carry out domain name mapping, and connect service server by the service server IP that described parsing is obtained;
If connect the service server success, described service server IP be stored in memory cell.
2. the method for claim 1, it is characterized in that, whether described searching has in the memory cell and the corresponding service server IP of domain name, if exist, then read and also further comprise after described service server IP connects the service server step: judge whether successfully to connect service server, if it is unsuccessful to connect service server, then utilizes described input domain name to carry out domain name mapping, and connect service server by the service server IP that described parsing is obtained.
3. method as claimed in claim 1 or 2 is characterized in that, the described step of utilizing domain name to carry out domain name mapping further comprises step: connect dns server, by described dns server domain name is resolved.
4. the method for claim 1 is characterized in that, described memory cell is the configuration file of mobile terminal device.
5. mobile terminal device comprises:
Input unit is used for the domain name that the user imports needs access service;
Memory cell is used to store the domain name corresponding service server ip that the user needs access service;
Whether the service server linkage unit is used for searching described memory cell and has and described input domain famous prime minister corresponding service server ip, if exist, then reads described service server IP and connects service server; If do not exist, then utilize described input domain name to carry out domain name mapping, and connect service server by the service server IP that described parsing is obtained.
6. mobile terminal device as claimed in claim 5 is characterized in that, described mobile terminal device also comprises: the dns server linkage unit, be used to connect dns server, and carry out domain name mapping by described dns server.
7. mobile terminal device as claimed in claim 5 is characterized in that, described memory cell is the configuration file of mobile terminal device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101252495A CN101184103A (en) | 2007-12-19 | 2007-12-19 | Method for accessing wireless service server through mobile terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101252495A CN101184103A (en) | 2007-12-19 | 2007-12-19 | Method for accessing wireless service server through mobile terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101184103A true CN101184103A (en) | 2008-05-21 |
Family
ID=39449185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007101252495A Pending CN101184103A (en) | 2007-12-19 | 2007-12-19 | Method for accessing wireless service server through mobile terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101184103A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010006533A1 (en) * | 2008-07-15 | 2010-01-21 | 华为技术有限公司 | System, device and method for domain name resolution |
CN101754175A (en) * | 2008-12-19 | 2010-06-23 | 中兴通讯股份有限公司 | Static hometown proxy access realizing method, system and mobile node |
CN102801814A (en) * | 2012-08-29 | 2012-11-28 | 易莲无限(北京)科技发展有限责任公司 | Internet access method, device and system |
CN104301444A (en) * | 2013-07-17 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Network IP acquiring method, device, application platform, client and system |
CN105224055A (en) * | 2014-06-13 | 2016-01-06 | 株式会社日立制作所 | The connection status management method of resource-constrained devices and device |
CN106161664A (en) * | 2015-04-15 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Domain name analytic method and device, data transmission method and device |
CN108616609A (en) * | 2018-03-10 | 2018-10-02 | 北京酷我科技有限公司 | A kind of iOS network DNSs parsing strategy |
CN109379438A (en) * | 2018-11-29 | 2019-02-22 | 西安四叶草信息技术有限公司 | Agent relation's configuration method and device |
CN112218131A (en) * | 2019-07-09 | 2021-01-12 | 中国移动通信集团吉林有限公司 | Set top box working method and device, electronic equipment and computer readable storage medium |
CN112751950A (en) * | 2015-12-30 | 2021-05-04 | 创新先进技术有限公司 | Address updating method and device |
-
2007
- 2007-12-19 CN CNA2007101252495A patent/CN101184103A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010006533A1 (en) * | 2008-07-15 | 2010-01-21 | 华为技术有限公司 | System, device and method for domain name resolution |
CN101754175A (en) * | 2008-12-19 | 2010-06-23 | 中兴通讯股份有限公司 | Static hometown proxy access realizing method, system and mobile node |
CN102801814A (en) * | 2012-08-29 | 2012-11-28 | 易莲无限(北京)科技发展有限责任公司 | Internet access method, device and system |
CN104301444A (en) * | 2013-07-17 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Network IP acquiring method, device, application platform, client and system |
CN104301444B (en) * | 2013-07-17 | 2019-09-20 | 腾讯科技(深圳)有限公司 | Network IP acquisition methods, device, application platform, client and system |
CN105224055A (en) * | 2014-06-13 | 2016-01-06 | 株式会社日立制作所 | The connection status management method of resource-constrained devices and device |
CN106161664A (en) * | 2015-04-15 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Domain name analytic method and device, data transmission method and device |
CN112751950A (en) * | 2015-12-30 | 2021-05-04 | 创新先进技术有限公司 | Address updating method and device |
CN112751950B (en) * | 2015-12-30 | 2023-03-21 | 创新先进技术有限公司 | Address updating method and device |
CN108616609A (en) * | 2018-03-10 | 2018-10-02 | 北京酷我科技有限公司 | A kind of iOS network DNSs parsing strategy |
CN109379438A (en) * | 2018-11-29 | 2019-02-22 | 西安四叶草信息技术有限公司 | Agent relation's configuration method and device |
CN112218131A (en) * | 2019-07-09 | 2021-01-12 | 中国移动通信集团吉林有限公司 | Set top box working method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101184103A (en) | Method for accessing wireless service server through mobile terminal equipment | |
CN100525242C (en) | Name resolution server and packet transfer device | |
CN101388773B (en) | Identity management platform, service server, uniform login system and method | |
CN102143243B (en) | Dynamic routing processing method and dynamic routing processing device and home gateway thereof | |
CN101510874B (en) | Setup system and method for network connection, network communication tool and method | |
CN102695167B (en) | Mobile subscriber identity management method and apparatus thereof | |
CN101499080A (en) | Method and system for fast acquiring information service on mobile terminal | |
CN101102313B (en) | Network download system and method with automatically replaced proxy server | |
US20210344638A1 (en) | Method for network traffic forwarding, request sending, and communication acceleration, forwarding server and node server | |
CN102007751B (en) | For sharing equipment and the method for file | |
CN102783119A (en) | Access control method and system, and access terminal | |
CN106685949A (en) | Container access method, container access device and container access system | |
CN103109517A (en) | Double-stack terminal accessing service method, terminal and system | |
US20160006828A1 (en) | Embedded network proxy system, terminal device and proxy method | |
CN1953455A (en) | A method, module and server to control access to network resource | |
US20110082896A1 (en) | Dynamically Updated Web-Enabled and Embedded Contact Address in Communication Devices | |
CN102801745A (en) | Method and system for accessing local area network WEB site by using wide area network browser | |
CN108810092A (en) | Network Access Method and device, electronic equipment, computer readable storage medium | |
CN101888396B (en) | Method for calling equipment capacity, micro technical equipment and server | |
CN101510895A (en) | System and method for managing mobile address book based on internet | |
JP4874938B2 (en) | Termination device | |
CN103729440B (en) | A kind of method and device of access website | |
WO2001065766A1 (en) | Method for accessing webpage using telephone number and system for servicing the same | |
CN101917418B (en) | By method and the WAP server of WAP (wireless application protocol) access Cloud Server | |
US20070008919A1 (en) | Value added services system of wireless local area network and method for providing the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20080521 |