CN103746990B - Browser and the data interaction system and method for client in a kind of mobile terminal - Google Patents
Browser and the data interaction system and method for client in a kind of mobile terminal Download PDFInfo
- Publication number
- CN103746990B CN103746990B CN201310755202.2A CN201310755202A CN103746990B CN 103746990 B CN103746990 B CN 103746990B CN 201310755202 A CN201310755202 A CN 201310755202A CN 103746990 B CN103746990 B CN 103746990B
- Authority
- CN
- China
- Prior art keywords
- client
- browser
- module
- data interaction
- mobile terminal
- 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.)
- Active
Links
Abstract
The invention discloses browser in a kind of mobile terminal and the data interaction system of client, it is characterised in that:Including:One agreement preset module, a Certificate Authority module, a data interaction module, a tactful adaptation module, an interactive interface standardized module and a terminal adaptation module.Present invention additionally comprises browser in a kind of mobile terminal and the data interactive method of client.Browser and the data interaction system of client in mobile terminal of the present invention, have the advantage that for:The present invention effectively solves the data interaction for realizing browser and client, keep the operational and ability extension consistent with client, simplify user's operation, reduce and promote difficulty, be finally reached the target of the service ability for merging browser and client, optimization customer experience and Optimal Development resource.
Description
Technical field
The present invention relates to the communications field, browser and the data interaction system of client in more particularly to a kind of mobile terminal
And method.
Background technology
The popularization of mobile terminal such as mobile phone and its portability, become people's acquisition of information, user service, using making
Primary terminal equipment, increasing enterprise, product carry out information service, mobile marketing by this carrier.At present, hand
Machine client is the software that can be run on mobile phone, provides service of goods with reference to embedded browser, its advantage is can to provide
Property Consumer's Experience, cost is low, be advantageous to lifted consumer loyalty degree, maximum feature be exactly intuitively it is convenient.Browser is that user connects
One of most important entrance of net-fault network, when carrying out service of goods, content displaying, interaction and use are carried out by way of wap webpages
Data interaction between family and server, it is characterized in easily propagating, but entrance can not be resident to terminal and be limited to browser reality
Existing ability.Cause the service ability conjugation of client with browser on mobile terminals relatively low with upper type, two can not be merged
The advantage of person is preferably experienced to user, while development ability is unable to reach the effect got twice the result with half the effort.
In the prior art, the data interaction of client and browser mainly has using following two modes
Mode one:Built-in browser based on WAP, generally, built-in browser support HTTP, WAP transmission
Agreement, host-host protocol can be run in embedded device, and have markup language function and can be according to the demand of user
Handle various situations.Its disadvantage is:(1)Need to interact both sides' agreement host-host protocol;(2)Each function can not repeat profit
With, it is necessary to individually be developed according to the demand of user.
Mode two:The WebView that android system acquiescence provides is a browser control part, for embedding in the application
Webpage, make it have the function of browser.WebView provides flexible configuration to allow User Defined correlation function.It has
The shortcomings that having is:Display interface has some delays on current most of mobile phones, while in android2.2 and following, in SDK
WebView also not completely support HTML5.
The content of the invention
Can not calling mobile phone communication capacity, acquisition mobile phone essential information for the browser of mobile terminal(As address list,
IMSI), the experience lf being influenced such as hardware capabilities the problem of, and client call embed browser can not carry out user's System conformity and
The problems such as application message is transmitted, the present invention propose browser and the interactive system of client and the side of interaction in a kind of mobile terminal
Method, realize that browser calls mobile terminal base power, obtain mobile terminal essential information, keep the operation consistent with client
Property and ability extension, simplify user operation, reduce promote difficulty, be finally reached fusion browser and client service ability,
Optimize the purpose of customer experience and Optimal Development resource.
To reach above-mentioned purpose, technical scheme proposed by the invention is:Browser and client in a kind of mobile terminal
Data interaction system, it is characterised in that:Including:
One agreement preset module:For browser and client preset data interaction proprietary protocol;
One Certificate Authority module:For providing the service of oauth Certificate Authorities and certification page;
One data interaction module:For carrying out data interaction between browser and client;
One tactful adaptation module:For identifying different mobile terminal device informations and according to the number obtained in data interaction
According to selecting optimal to show strategy;
One terminal adaptation module:For being that the operations adaptation of user corresponds to interactive interface according to terminal adaptation rule.
Preferably, in addition to an interactive interface standardized module:Handed over for providing client realization method and terminal adaptation
Mutual interface, required user data interactive service is called to respond browser capabilities.
Preferably, described proprietary protocol is made up of proprietary protocol specification, protocol heart-beat module, protocol process module.
Preferably, described proprietary protocol specification is made up of protocol header, module, method, required parameter, loopback address.
Further, described protocol process module application where WAP page is provided by card format, to embed WAP
Prefabricated processing module, it is a plug-in unit per a kind of function package.
Present invention additionally comprises browser in a kind of mobile terminal and the data interactive method of client, it is characterised in that:Bag
Include following steps:
Step 1:Browser and the client preset data in agreement preset module interact proprietary protocol;
Step 2:When browse request data interaction, the oauth authentication interfaces of Certificate Authority module are called to be authenticated,
If certification is not by into step 3, if certification is by returning to browser;
Step 3:Client control data interaction proprietary protocol address change, when the data interaction for receiving browser is asked
Afterwards, client call data interaction module carries out data interaction, while regulative strategy adaptation module;
Step 4:Tactful adaptation module is carried out when receiving the request of data of client to the terminal device residing for client
Adaptation, according to terminal attribute select it is different show strategy, and call terminal adaptation module;
Step 5:Terminal adaptation module selects to be adapted to the interactive interface of current mobile terminal to carry out in tactful adaptation module
Data exhibiting.
Preferably, in addition to provide a set of client realization method by interactive interface standardized module and terminal adaptation is handed over
Mutual interface, to respond the step of browser capabilities call required user profile interactive service.
Preferably, called in step 1 using protocol responses and script information callback method provides browser and calls client
Carry out the interface of bidirectional information service.
Preferably, the process of certification is in step 2:User starts client, uses the Oauth authentication pages of embedded browser
Face, it is authenticated, while embedding browser access authentication, client also obtains certification.
Further, described protocol heart-beat module keeps the other palmic rate of Millisecond in internal system, monitors browser
Interaction jump procedure, if intercepting proprietary protocol head, protocol process module is handed to by agreement request.
Using above-mentioned technical proposal, browser and the data interaction system of client in mobile terminal of the present invention,
Have the advantage that for:It is of the invention effectively to solve the data interaction for realizing browser and client, holding and client
Consistent operability and ability extension, simplify user's operation, reduce and promote difficulty, are finally reached fusion browser and client
The target of service ability, optimization customer experience and Optimal Development resource.
Brief description of the drawings
Fig. 1 is browser and the data interaction system schematic diagram of client in mobile terminal of the present invention;
Fig. 2 is the data interaction embodiment schematic diagram of browser and client in mobile terminal of the present invention.
Embodiment
With reference to the accompanying drawings and detailed description, the present invention will be further described.
As shown in figure 1, browser and the data interaction system of client in a kind of mobile terminal, including:One agreement is preset
Module:For browser and client preset data interaction proprietary protocol;One Certificate Authority module:For providing oauth certifications
Authorization service and certification page;One data interaction module:For carrying out data interaction between browser and client;One strategy is suitable
With module:For identifying different mobile terminal device informations and showing according to the data selection obtained in data interaction is optimal
Strategy;One interactive interface standardized module:It is clear to respond for providing client realization method and terminal adaptation interactive interface
Device ability of looking at calls required user data interactive service;One terminal adaptation module:For being user according to terminal adaptation rule
The corresponding interactive interface of operations adaptation;In addition, described proprietary protocol is by proprietary protocol specification, protocol heart-beat module, association
Discuss processing module composition;Proprietary protocol specification is made up of protocol header, module, method, required parameter, loopback address;Protocol processes
Module application where WAP page is provided by card format, for the prefabricated processing modules of embedded WAP, is per a kind of function package
One plug-in unit.
Embodiment
The present embodiment mobile terminal is user mobile phone, and the data for needing information exchange are subscriber phone number, and proprietary protocol is advised
Model is made up of keywords such as " protocol header, module, method, required parameter, loopback address ", these keywords and parameter name by
Application determines that transmission is encrypted by reversible algorithms such as 3DES in sensitive parameter according to actual conditions where WAP page.Such as to ask
The address list module of call operation system is sought, and the agreement for opening friend's packet interface can be " AndroidAPI://
getAddressbook@system?groupid=friend&callBackUrl=http://a.com/wap.php”。
As shown in Fig. 2 comprise the following steps:
Step 1:User opens browser, browses wap pages, need to show active user's number;
Step 2:Embedded wap pages is called oauth authentication interfaces to be authenticated, and certification without authority by not returning then clear
Look at device, certification is by then passing through browser and the preset data interaction proprietary protocol requesting client data of client;
Step 3:Browser sends the proprietary protocol address pre-established to client, and request returns to number of active user
Code;Client control proprietary protocol address change, after the demand for receiving browse request number, client passes through information exchange
Module calls local api to obtain number, and regulative strategy adaptation module carries out data exhibiting strategy;
Step 4:Tactful adaptation module is adapted to the terminal device residing for client, is selected according to terminal attribute different
Show strategy;
Step 5:Terminal adaptation module:According to different terminals, the selection adaptation present terminal in user mutual standard module
Interaction, return number show number data to data to browser through, wap webpages.
Specifically, protocol heart-beat module keeps the other palmic rate of Millisecond inside application, monitoring browser interaction is jumped
Journey is turned over, if intercepting proprietary protocol head, agreement request is handed into protocol process module.When user selects address list operation
After the completion of, transmitted using by embedded browser readjustment to the wap page specified, and by result by REQUEST objects
Past, subsequent action are handled by WAP page.Whole interaction just completes.
In the above-described embodiments, exemplary description has only been carried out to the present invention, but those skilled in the art are reading this
Various modifications can be carried out to the present invention without departing from the spirit and scope of the present invention after patent application.
Claims (10)
1. browser and the data interaction system of client in a kind of mobile terminal, it is characterised in that:Including:
One agreement preset module:For browser and client preset data interaction proprietary protocol;
One Certificate Authority module:For providing the service of oauth Certificate Authorities and certification page;
One data interaction module:For carrying out data interaction between browser and client;
One tactful adaptation module:For identifying different mobile terminal device informations and being selected according to the data obtained in data interaction
Select and optimal show strategy;
One terminal adaptation module:For being that the operations adaptation of user corresponds to interactive interface according to terminal adaptation rule;
Described client is the software run on mobile phone.
2. browser and the data interaction system of client, its feature exist in a kind of mobile terminal according to claim 1
In:Also include an interactive interface standardized module:For providing client realization method and terminal adaptation interactive interface, to sound
Browser capabilities are answered to call required user data interactive service.
3. browser and the data interaction system of client, its feature exist in a kind of mobile terminal according to claim 2
In:Described proprietary protocol is made up of proprietary protocol specification, protocol heart-beat module, protocol process module.
4. browser and the data interaction system of client, its feature exist in a kind of mobile terminal according to claim 3
In:Described proprietary protocol specification is made up of protocol header, module, method, required parameter, loopback address.
5. browser and the data interaction system of client, its feature exist in a kind of mobile terminal according to claim 3
In:The application where WAP page of described protocol process module is provided by card format, to embed the prefabricated processing modules of WAP,
It is a plug-in unit per a kind of function package.
6. browser and the data interactive method of client in a kind of mobile terminal, it is characterised in that:Appointed using claim 3-4
Browser and the data interaction system of client, also comprise the following steps in mobile terminal described in one claim:
Step 1:Browser and the client preset data in agreement preset module interact proprietary protocol;
Step 2:When browse request data interaction, the oauth authentication interfaces of Certificate Authority module are called to be authenticated, if
Certification is not by then into step 3, if certification is by returning to browser;
Step 3:Client control data interaction proprietary protocol address change, after the data interaction for receiving browser is asked,
Client call data interaction module carries out data interaction, while regulative strategy adaptation module;
Step 4:Tactful adaptation module is fitted when receiving the request of data of client to the terminal device residing for client
Match somebody with somebody, according to terminal attribute select it is different show strategy, and call terminal adaptation module;
Step 5:Terminal adaptation module selects to be adapted to the interactive interface of current mobile terminal to carry out data in tactful adaptation module
Show.
7. browser and the data interactive method of client, its feature exist in a kind of mobile terminal according to claim 6
In:Also include providing a set of client realization method and terminal adaptation interactive interface by interactive interface standardized module, to
Respond the step of browser capabilities call required user profile interactive service.
8. browser and the data interactive method of client, its feature exist in a kind of mobile terminal according to claim 6
In:Called in step 1 using protocol responses and script information callback method provides browser and calls client to carry out bidirectional information
The interface of service.
9. browser and the data interactive method of client, its feature exist in a kind of mobile terminal according to claim 6
In:The process of certification is in step 2:User starts client, using the Oauth certification pages of embedded browser, is authenticated,
While embedded browser access authentication, client also obtains certification.
10. browser and the data interactive method of client, its feature exist in a kind of mobile terminal according to claim 6
In:Described protocol heart-beat module keeps the other palmic rate of Millisecond in internal system, and monitoring browser interacts jump procedure,
If intercepting proprietary protocol head, agreement request is handed into protocol process module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310755202.2A CN103746990B (en) | 2013-12-31 | 2013-12-31 | Browser and the data interaction system and method for client in a kind of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310755202.2A CN103746990B (en) | 2013-12-31 | 2013-12-31 | Browser and the data interaction system and method for client in a kind of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103746990A CN103746990A (en) | 2014-04-23 |
CN103746990B true CN103746990B (en) | 2018-02-27 |
Family
ID=50503977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310755202.2A Active CN103746990B (en) | 2013-12-31 | 2013-12-31 | Browser and the data interaction system and method for client in a kind of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103746990B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763583A (en) * | 2014-12-16 | 2016-07-13 | 博雅网络游戏开发(深圳)有限公司 | Method and system for communication with PHP process |
CN105338055A (en) * | 2015-09-23 | 2016-02-17 | 百度在线网络技术(北京)有限公司 | Information interaction method, server, and information interaction system |
CN107623704B (en) * | 2016-07-14 | 2020-08-21 | 腾讯科技(北京)有限公司 | Data interaction method in terminal equipment, client and browser |
CN106411907A (en) * | 2016-10-13 | 2017-02-15 | 广西咪付网络技术有限公司 | Data transmission method and system |
CN108282511B (en) * | 2017-09-15 | 2021-08-13 | 阿里巴巴(中国)有限公司 | Network data access method, device, system, storage medium and user terminal |
CN108279971A (en) * | 2018-01-26 | 2018-07-13 | 中国银行股份有限公司 | A kind of timing executes the method and device of task |
CN110955540B (en) * | 2019-11-28 | 2024-03-22 | 上海携程商务有限公司 | Plug-in interaction method |
CN111611052B (en) * | 2020-05-02 | 2023-03-21 | 同智伟业软件股份有限公司 | Method for interacting with desktop application in webpage |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286211A (en) * | 2007-04-12 | 2008-10-15 | 中国移动通信集团公司 | Mobile office system and method |
CN101437229A (en) * | 2008-12-23 | 2009-05-20 | 中国移动通信集团北京有限公司 | Method and system for adapting information based on WAP |
CN102571892A (en) * | 2010-12-30 | 2012-07-11 | 腾讯科技(深圳)有限公司 | Browser-based data communication method, client and browser-based data interaction system |
CN103378969A (en) * | 2012-04-12 | 2013-10-30 | 腾讯科技(北京)有限公司 | Authorization method, system and third party application system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101216699B1 (en) * | 2012-08-17 | 2012-12-31 | (주) 데키스트 | Sensing data reporting apparatus and reporting message transmitting method thereof |
-
2013
- 2013-12-31 CN CN201310755202.2A patent/CN103746990B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286211A (en) * | 2007-04-12 | 2008-10-15 | 中国移动通信集团公司 | Mobile office system and method |
CN101437229A (en) * | 2008-12-23 | 2009-05-20 | 中国移动通信集团北京有限公司 | Method and system for adapting information based on WAP |
CN102571892A (en) * | 2010-12-30 | 2012-07-11 | 腾讯科技(深圳)有限公司 | Browser-based data communication method, client and browser-based data interaction system |
CN103378969A (en) * | 2012-04-12 | 2013-10-30 | 腾讯科技(北京)有限公司 | Authorization method, system and third party application system |
Also Published As
Publication number | Publication date |
---|---|
CN103746990A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746990B (en) | Browser and the data interaction system and method for client in a kind of mobile terminal | |
CN106716960B (en) | User authentication method and system | |
KR101036656B1 (en) | Method for controlling devices using near field communication, and system using the same | |
CN106716918B (en) | User authentication method and system | |
CN101167337A (en) | A dynamic content delivery method and a personalized engine and a dynamic content delivery system | |
CN108021382A (en) | A kind of embedded device remote update system, method and embedded device | |
WO2007049945A1 (en) | System and method for providing bidirectional message communication services with portable terminals | |
CN104995900A (en) | Specifying link layer information in a URL | |
CN107864475A (en) | The quick authentication methods of WiFi based on Portal+ dynamic passwords | |
CN104717131B (en) | Information interacting method and server | |
CN107786663A (en) | Control method, device and the computer-readable recording medium of smart machine | |
US20130247152A1 (en) | Access device, access system and computer program product | |
KR101633965B1 (en) | User security authentication system in internet and method thereof | |
CN108881353A (en) | A kind of content delivery method, device and computer readable storage medium | |
CN104268611B (en) | Synchronizing web pages method and device | |
CN110120933A (en) | Air control, man-machine identification and data processing method, equipment and system | |
CN105740357B (en) | It is a kind of that the method and apparatus of information are provided | |
CN113055348A (en) | Cross-platform data request method and device and electronic equipment | |
CN107342971A (en) | Service calling method and device | |
CN115729547A (en) | Method, system and device for processing buried point data, storage medium and electronic equipment | |
CN106302553A (en) | The method and system of pushed information service | |
CN103841153A (en) | Information publishing system, device and method based on wireless local area network | |
KR20140003270A (en) | A method and an apparatus providing banking service interlocking with social network service application | |
CN105898728A (en) | Mobile phone account member rights and interests binding method, mobile phone device, server and system | |
CN108667863B (en) | WEB service adaptation system and method based on local agent |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Siming District of Xiamen City, Fujian province 361000 lianqianxi No. 287-309 P District 145 Room 201 unit Applicant after: Vatican (Xiamen) Mdt InfoTech Ltd Address before: Siming District of Xiamen City, Fujian province 361000 lianqianxi No. 287-309 P District 145 Room 201 unit Applicant before: FANFEI (XIAMEN) CULTURE COMMUNICATION CO., LTD. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |