CN103746990A - Data interaction system and data interaction method for browser and client in mobile terminal - Google Patents

Data interaction system and data interaction method for browser and client in mobile terminal Download PDF

Info

Publication number
CN103746990A
CN103746990A CN201310755202.2A CN201310755202A CN103746990A CN 103746990 A CN103746990 A CN 103746990A CN 201310755202 A CN201310755202 A CN 201310755202A CN 103746990 A CN103746990 A CN 103746990A
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.)
Granted
Application number
CN201310755202.2A
Other languages
Chinese (zh)
Other versions
CN103746990B (en
Inventor
庄学伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FANFEI (XIAMEN) CULTURE COMMUNICATION Co Ltd
Original Assignee
FANFEI (XIAMEN) CULTURE COMMUNICATION Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by FANFEI (XIAMEN) CULTURE COMMUNICATION Co Ltd filed Critical FANFEI (XIAMEN) CULTURE COMMUNICATION Co Ltd
Priority to CN201310755202.2A priority Critical patent/CN103746990B/en
Publication of CN103746990A publication Critical patent/CN103746990A/en
Application granted granted Critical
Publication of CN103746990B publication Critical patent/CN103746990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data interaction system for a browser and a client in a mobile terminal. The data interaction system is characterized by comprising a protocol pre-configuration module, a certificate authority module, a data interaction module, a strategy adaption module, an interaction interface standardization module and a terminal adaption module. The invention further discloses a data interaction method for the browser and the client in the mobile terminal. The data interaction system for the browser and the client in the mobile terminal has the beneficial effects of effectively realizing the data interaction between the browser and the client, keeping consistent operability and capacity expansion with the client, simplifying user operations, reducing the popularization difficulty, and finally achieving the purposes of fusing the service capacities of the browser and the client, optimizing customer experience and optimizing development resources.

Description

The data interaction system of browser and client and method in a kind of mobile terminal
Technical field
The present invention relates to the communications field, particularly data interaction system and the method for browser and client in a kind of mobile terminal.
Background technology
Mobile terminal, as the universal and portability of mobile phone, becomes the main terminal equipment of people's acquisition of information, user's service, application use, and increasing enterprise, product carry out information service, mobile marketing by this carrier.At present, cell-phone customer terminal is the software that can move on mobile phone, in conjunction with embedded browser, provides service of goods, and its advantage is to provide that personalized user is experienced, cost is low, be conducive to promote consumer loyalty degree, and maximum feature is exactly intuitively convenient.Browser is one of most important entrance of user's contact network, while carrying out service of goods, mode by wap webpage is carried out the data interaction between content displaying, interaction and user and server, is characterized in easy propagation, but cannot and be limited to browser fulfillment capability by resident entrance terminal.With upper type, cause client and the browser service ability conjugation on mobile terminal lower, the advantage that cannot merge both is experienced preferably to user, and development ability cannot reach the effect of getting twice the result with half the effort simultaneously.
In prior art, the data interaction of client and browser mainly contains the following two kinds of modes that adopt
Mode one: based on the built-in browser of WAP, generally, built-in browser is supported HTTP, WAP host-host protocol, can in embedded device, move host-host protocol, and has markup language function and can process various situations according to user's demand.Its shortcoming having is: (1) needs mutual both sides to arrange host-host protocol; (2) each function can not reuse, and need to develop separately according to user's demand.
Mode two: the WebView that Android system default provides is a browser control part, at the embedded webpage of application, makes it have the function of browser.WebView provides flexibly configuration allow User Defined correlation function.Its shortcoming having is: on most mobile phone, display interface has some to postpone, and simultaneously at android2.2 and following, the WebView in SDK does not also support HTML5 completely.
Summary of the invention
Cannot calling mobile phone communication capacity for the browser of mobile terminal, obtain mobile phone essential information (as address list, IMSI), the problem of the experience lf being influenceds such as hardware capabilities, and the embedded browser of client call cannot carry out the problems such as the integration of user's system and application message transmission, the present invention proposes interactive system and the exchange method of browser and client in a kind of mobile terminal, realize browser and call mobile terminal basis ability, obtain mobile terminal essential information, keep operability and the Capacity extension consistent with client, simplify user's operation, reduce and promote difficulty, finally reach the service ability that merges browser and client, optimize the object of customer experience and Optimal Development resource.
For achieving the above object, technical scheme proposed by the invention is: the data interaction system of browser and client in a kind of mobile terminal, is characterized in that: comprising:
One agreement preset module: for browser and the mutual proprietary protocol of client initialize data;
One Certificate Authority module: for the service of oauth Certificate Authority and certification page are provided;
One data interaction module: for carrying out data interaction between browser and client;
One tactful adaptation module: for the strategy that represents of the data selection optimum of identifying different mobile terminal device informations and obtain according to data interaction;
One terminal adaptation module: for according to terminal adaptation rule, be user's the adaptive corresponding interactive interface of operations.
Preferably, also comprise an interactive interface standardized module: for providing client realization method and terminal adaptive interactive interface, in order to respond browser capabilities, call required user data interactive service.
Preferably, described proprietary protocol is comprised of proprietary protocol standard, protocol heart-beat module, protocol process module.
Preferably, described proprietary protocol standard is comprised of protocol header, module, method, required parameter, loopback address.
Further, described protocol process module is provided by card format by the application of WAP page place, is the prefabricated processing module of embedded WAP, and each class function package is a plug-in unit.
The present invention also comprises the data interactive method of browser and client in a kind of mobile terminal, it is characterized in that: comprise the steps:
Step 1: browser and client be the mutual proprietary protocol of initialize data in agreement preset module;
Step 2: when browse request data interaction, the oauth authentication interface of invokes authentication authorization module authenticates, if authentication is passed through, enters step 3, if authentication is not passed through, returns to browser;
Step 3: the address change of client control data interaction proprietary protocol, when receiving after the data interaction request of browser, client call data interaction module is carried out data interaction, simultaneously regulative strategy adaptation module;
Step 4: tactful adaptation module, when receiving the request of data of client, is carried out adaptation to the residing terminal equipment of client, selects the different strategies that represents according to terminal attribute, and calls terminal adaptation module;
Step 5: terminal adaptation module selects the interactive interface that is applicable to current mobile terminal to carry out data exhibiting in tactful adaptation module.
Preferably, also comprise by interactive interface standardized module a set of client realization method and the adaptive interactive interface of terminal are provided, in order to respond browser capabilities, call the step of required user profile interactive service.
Preferably, in step 1, adopt protocol responses that the interface that provides browser to call client to carry out bidirectional information service with script information callback method is provided.
Preferably, in step 2, the process of authentication is: user starts client, uses the Oauth certification page of embedded browser, authenticates, and in the time of embedded browser access authentication, client also obtains authentication.
Further, described protocol heart-beat module keeps other palmic rate of Millisecond in internal system, and the mutual jump procedure of monitoring browser, if intercept proprietary protocol head, hands to protocol process module by agreement request.
Adopt technique scheme, the data interaction system of browser and client in mobile terminal of the present invention, the beneficial effect having is: the present invention has effectively solved the data interaction that realizes browser and client, keep operability and the Capacity extension consistent with client, simplify user's operation, reduce and promote difficulty, finally reach the target of the service ability, optimization customer experience and the Optimal Development resource that merge browser and client.
Accompanying drawing explanation
Fig. 1 is the data interaction system schematic diagram of browser and 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
Below in conjunction with the drawings and specific embodiments, the present invention will be further described.
As shown in Figure 1, the data interaction system of browser and client in a kind of mobile terminal, comprising: an agreement preset module: for browser and the mutual proprietary protocol of client initialize data; One Certificate Authority module: for the service of oauth Certificate Authority and certification page are provided; One data interaction module: for carrying out data interaction between browser and client; One tactful adaptation module: for the strategy that represents of the data selection optimum of identifying different mobile terminal device informations and obtain according to data interaction; One interactive interface standardized module: for providing client realization method and terminal adaptive interactive interface, call required user data interactive service in order to respond browser capabilities; One terminal adaptation module: for according to terminal adaptation rule, be user's the adaptive corresponding interactive interface of operations; In addition, described proprietary protocol is comprised of proprietary protocol standard, protocol heart-beat module, protocol process module; Proprietary protocol standard is comprised of protocol header, module, method, required parameter, loopback address; Protocol process module is provided by card format by the application of WAP page place, is the prefabricated processing module of embedded WAP, and each class function package is a plug-in unit.
Embodiment
The present embodiment mobile terminal is user mobile phone, the data that need information interaction are subscriber phone number, proprietary protocol standard is comprised of keywords such as " protocol header, module, method, required parameter, loopback address ", these keywords and parameter name are definite according to actual conditions by the application of WAP page place, and sensitive parameter is encrypted transmission by reversible algorithms such as 3DES.As want the address list module of request call operating system, and the agreement of opening friend's packet interface can be " AndroidAPI: //getAddressbook@system groupid=friend & callBackUrl=http: //a.com/wap.php ".
As shown in Figure 2, comprise the steps:
Step 1: user's open any browser, browse wap page, need to show active user's number;
Step 2: embedded wap page calls oauth authentication interface and authenticates, authentication is not passed through, and does not have authority to return to browser, and authentication is by by browser and the preset data interaction proprietary protocol requesting client data of client;
Step 3: browser sends the proprietary protocol address pre-establishing to client, active user's number is returned in request; The address change of client control proprietary protocol, receives after the demand of browse request number, and client is called local api by information interaction module and obtained number, and regulative strategy adaptation module is carried out data exhibiting strategy;
Step 4: tactful adaptation module is carried out adaptation to the residing terminal equipment of client, selects the different strategies that represents according to terminal attribute;
Step 5: terminal adaptation module: according to different terminals, select the mutual of adaptive current terminal in user interactions standard module, return to number to data to browser through, wap webpage represents number data.
Concrete, protocol heart-beat module is in inner other palmic rate of Millisecond that keeps of application, and the mutual jump procedure of monitoring browser, if intercept proprietary protocol head, hands to protocol process module by agreement request.After user selects address list to operate, the wap page of specifying is adjusted back in application by embedded browser, and result is gone over by REQUEST object transfer, and subsequent action is processed by WAP page.Whole reciprocal process has just completed.
In the above-described embodiments, only the present invention has been carried out to exemplary description, but those skilled in the art are reading after present patent application and can to the present invention, carry out various modifications without departing from the spirit and scope of the present invention.

Claims (10)

1. a data interaction system for browser and client in mobile terminal, is characterized in that:
Comprise:
One agreement preset module: for browser and the mutual proprietary protocol of client initialize data;
One Certificate Authority module: for the service of oauth Certificate Authority and certification page are provided;
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 data
The data selection optimum of obtaining in mutual represent strategy;
One terminal adaptation module: for according to terminal adaptation rule, be user's the adaptive corresponding interactive interface of operations.
2. the data interaction system of browser and client in a kind of mobile terminal according to claim 1, it is characterized in that: also comprise an interactive interface standardized module: for providing client realization method and terminal adaptive interactive interface, in order to respond browser capabilities, call required user data interactive service.
3. the data interaction system of browser and client in a kind of mobile terminal according to claim 2, is characterized in that: described proprietary protocol is comprised of proprietary protocol standard, protocol heart-beat module, protocol process module.
4. the data interaction system of browser and client in a kind of mobile terminal according to claim 3, is characterized in that: described proprietary protocol standard is comprised of protocol header, module, method, required parameter, loopback address.
5. the data interaction system of browser and client in a kind of mobile terminal according to claim 3, it is characterized in that: described protocol process module is provided by card format by the application of WAP page place, for the prefabricated processing module of embedded WAP, each class function package is a plug-in unit.
6. a data interactive method for browser and client in mobile terminal, is characterized in that: the data interaction system of browser and client in the mobile terminal described in the arbitrary claim of employing claim 3-4, also comprises the steps:
Step 1: browser and client be the mutual proprietary protocol of initialize data in agreement preset module;
Step 2: when browse request data interaction, the oauth authentication interface of invokes authentication authorization module authenticates, if authentication is passed through, enters step 3, if authentication is not passed through, returns to browser;
Step 3: the address change of client control data interaction proprietary protocol, when receiving after the data interaction request of browser, client call data interaction module is carried out data interaction, simultaneously regulative strategy adaptation module;
Step 4: tactful adaptation module, when receiving the request of data of client, is carried out adaptation to the residing terminal equipment of client, selects the different strategies that represents according to terminal attribute, and calls terminal adaptation module;
Step 5: terminal adaptation module selects the interactive interface that is applicable to current mobile terminal to carry out data exhibiting in tactful adaptation module.
7. the data interactive method of browser and client in a kind of mobile terminal according to claim 6, it is characterized in that: also comprise by interactive interface standardized module a set of client realization method and the adaptive interactive interface of terminal are provided, in order to respond browser capabilities, call the step of required user profile interactive service.
8. the data interactive method of browser and client in a kind of mobile terminal according to claim 6, is characterized in that: in step 1, adopt protocol responses that the interface that provides browser to call client to carry out bidirectional information service with script information callback method is provided.
9. the data interactive method of browser and client in a kind of mobile terminal according to claim 6, it is characterized in that: in step 2, the process of authentication is: user starts client, use the Oauth certification page of embedded browser, authenticate, in the time of embedded browser access authentication, client also obtains authentication.
10. the data interactive method of browser and client in a kind of mobile terminal according to claim 6, it is characterized in that: described protocol heart-beat module keeps other palmic rate of Millisecond in internal system, the mutual jump procedure of monitoring browser, if intercept proprietary protocol head, agreement request handed to protocol process module.
CN201310755202.2A 2013-12-31 2013-12-31 Browser and the data interaction system and method for client in a kind of mobile terminal Active CN103746990B (en)

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 true CN103746990A (en) 2014-04-23
CN103746990B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338055A (en) * 2015-09-23 2016-02-17 百度在线网络技术(北京)有限公司 Information interaction method, server, and information interaction system
CN105763583A (en) * 2014-12-16 2016-07-13 博雅网络游戏开发(深圳)有限公司 Method and system for communication with PHP process
CN106411907A (en) * 2016-10-13 2017-02-15 广西咪付网络技术有限公司 Data transmission method and system
CN107623704A (en) * 2016-07-14 2018-01-23 腾讯科技(北京)有限公司 Data interactive method, client and browser in terminal device
CN108279971A (en) * 2018-01-26 2018-07-13 中国银行股份有限公司 A kind of timing executes the method and device of task
CN108282511A (en) * 2017-09-15 2018-07-13 广州市动景计算机科技有限公司 Network data access method, device, system, storage medium and user terminal
CN110955540A (en) * 2019-11-28 2020-04-03 上海携程商务有限公司 Plug-in interaction method
CN111611052A (en) * 2020-05-02 2020-09-01 山东同智伟业软件股份有限公司 Method for interacting with desktop application in webpage

Citations (5)

* Cited by examiner, † Cited by third party
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
KR101216699B1 (en) * 2012-08-17 2012-12-31 (주) 데키스트 Sensing data reporting apparatus and reporting message transmitting method thereof
CN103378969A (en) * 2012-04-12 2013-10-30 腾讯科技(北京)有限公司 Authorization method, system and third party application system

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
KR101216699B1 (en) * 2012-08-17 2012-12-31 (주) 데키스트 Sensing data reporting apparatus and reporting message transmitting method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
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
CN107623704A (en) * 2016-07-14 2018-01-23 腾讯科技(北京)有限公司 Data interactive method, client and browser in terminal device
CN106411907A (en) * 2016-10-13 2017-02-15 广西咪付网络技术有限公司 Data transmission method and system
CN108282511A (en) * 2017-09-15 2018-07-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
CN110955540A (en) * 2019-11-28 2020-04-03 上海携程商务有限公司 Plug-in interaction method
CN110955540B (en) * 2019-11-28 2024-03-22 上海携程商务有限公司 Plug-in interaction method
CN111611052A (en) * 2020-05-02 2020-09-01 山东同智伟业软件股份有限公司 Method for interacting with desktop application in webpage
CN111611052B (en) * 2020-05-02 2023-03-21 同智伟业软件股份有限公司 Method for interacting with desktop application in webpage

Also Published As

Publication number Publication date
CN103746990B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN103746990A (en) Data interaction system and data interaction method for browser and client in mobile terminal
KR101036656B1 (en) Method for controlling devices using near field communication, and system using the same
US11729594B2 (en) Network access method, device, and system
CN109152095B (en) Wireless network connection method for terminal
US10516990B2 (en) Apparatuses, methods and systems for implementing a trusted subscription management platform
US20200169495A1 (en) Specifying link layer information in a url
KR101573766B1 (en) Simplification device of connecting wireless communication and sharing data, and the method thereof
KR102377724B1 (en) Device network configuration method and apparatus, and medium
CN109246741B (en) Wireless network connection method for terminal
US11627205B2 (en) Information processing method and apparatus, communication device and storage medium
CN109152094B (en) Wireless network connection method for terminal
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN102821150B (en) Based on application management method and the Cloud Server of cloud service
US20140108618A1 (en) Media share control apparatus, media reproducing apparatus, and method of providing user interface for media sharing thereof
CN112399130B (en) Processing method and device of cloud video conference information, storage medium and communication equipment
CN105101147B (en) A kind of method and system of orientation flow that realizing mobile app
CN110505629A (en) A kind of networking method and system of household electrical appliances
CN108833585A (en) Information interacting method, device and storage medium
US20170104808A1 (en) Network appliance, feature phone, network appliance, system and control method of network appliance
WO2016065977A1 (en) Call processing method and device, communication terminal and server
US8897447B1 (en) Burst tethering for mobile communication devices
CN104244171A (en) Data transmission system and method on basis of NFC (near field communication) connection
US11809683B2 (en) Display method, display device and storage medium
CN107534860A (en) Wi-Fi hotspot portal authentication method and device
CN113132997A (en) Communication method, device and system of intelligent household equipment

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant