CN102196010A - System and method for implementing application open interface at terminal side - Google Patents

System and method for implementing application open interface at terminal side Download PDF

Info

Publication number
CN102196010A
CN102196010A CN201010133027XA CN201010133027A CN102196010A CN 102196010 A CN102196010 A CN 102196010A CN 201010133027X A CN201010133027X A CN 201010133027XA CN 201010133027 A CN201010133027 A CN 201010133027A CN 102196010 A CN102196010 A CN 102196010A
Authority
CN
China
Prior art keywords
service application
widget engine
interface
party
calling
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
Application number
CN201010133027XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010133027XA priority Critical patent/CN102196010A/en
Publication of CN102196010A publication Critical patent/CN102196010A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a system and method for implementing an application open interface at a terminal side. The method comprises the following steps: a third-party application sends a calling request through an external open interface of a Widget engine; and after the calling request is received, the Widget engine calls corresponding service application through an interface between the engine and the service application, and returns the calling result to the third-party application. By adopting the technical scheme, the third-party application can conveniently access and operate the service application on a terminal.

Description

A kind of end side is used the realization system and method for open interface
Technical field
The present invention relates to the telecommunication service field, be specifically related to the realization system and method that a kind of end side is used open interface.
Background technology
Development along with communication, terminal universal day by day, and the lifting on the termination function, the status of terminal in whole industry more and more promotes, Apple realizes negotiating with benefits of operators by iPhone, now each operator energetically with the manufacturer terminal cooperation, as: China Mobile subsidizes terminal on a large scale, the importance of visible terminal in the whole service operation.
On professional development trend, business development on the portable terminal is that manufacturer terminal and operator are pursued energetically with enriching, 100,000 application programs are arranged on the AppStore of apple, and this also is an i Phone major reason salable, how could be there there a large amount of and abundant business?
The another one problem is, mobile phone model is numerous now, and operating system is numerous, difference between each terminal is huge, make that the exploitation of application software can only be at special mobile phone model, the develop and field of cross-terminal is difficult unusually, makes that exploitation, deployment and the cost of safeguarding are all very high.
How to solve this difficult problem?
A thinking of industry is by little on portable terminal (Widget) engine now, by the Widget engine, shielded the difference of different terminals on the one hand, encapsulate on the one hand the ability of local ability, access internet service and content of portable terminal and user's interactive function, and function is played up in support, by such Widget engine and aid, common developer can various easily application, and can realize primary development, can be in the terminal deploy of various support Widget engines, accomplish that primary development makes the overall arrangement for.
Now, the Widget engine can't provide the unified interface of other application on the portable terminal.
Summary of the invention
The technical problem to be solved in the present invention provides the realization system and method that a kind of end side is used open interface, can make that the third party visits easily, the service application on the operating terminal.
In order to address the above problem, the invention provides the implementation method that a kind of end side is used open interface, comprising:
The opening interface that the third party uses by the Widget engine sends call request, described Widget engine receive after the described call request by and service application between the interface interchange corresponding business use, and will call the result and be back to described third party and use.
Further, interface between Widget engine and service application and described Widget engine and the third party outside open interface between using is set.
Further, the interface between described Widget engine and service application refers to call method of calling and the form information that described service application adopts;
Method of calling and form information that outside open interface between described Widget engine and third party use adopts when referring to third party's application call service application.
Further, the mode of the interface between the described Widget of setting engine and service application is, service application sends register requirement to described Widget engine, the Widget engine returns the registration response to described service application after receiving register requirement, and requiring service application to report the format information and the method for calling of its support to it, described service application receives that registration response back reports the format information and the method for calling of its support to the Widget engine.
Further, described Widget engine receives that the third party uses after the call request sent of opening interface, be sent to corresponding service application after call request is converted to the method for calling of service application support and form, described service application carry out call and will call the result by and the Widget engine between interface be back to described Widget engine, the Widget engine will call the result and be back to described third party by described opening interface use after format conversion.
Further, the outside open interface between described Widget engine and third party use is provided with by the Widget engine.
The realization system that the present invention also provides a kind of end side to use open interface comprises that the third party uses, Widget engine and service application;
Described third party uses, and is used for sending call request from the opening interface of Widget engine to it;
Described Widget engine, be used to receive after the described call request by and service application between the interface interchange service application, and will call the result and be back to described third party by described opening interface and use.
Further, the interface between described Widget engine and service application refers to call method of calling and the form information that described service application adopts;
Method of calling and form information that outside open interface between described Widget engine and third party use adopts when referring to third party's application call service application.
Further, described Widget engine comprises Registering modules;
Described service application also is used for sending register requirement to described Widget engine, and receives that registration response back reports the format information and the method for calling of its support to the Widget engine;
Described Registering modules returns the registration response to described service application after being used to receive register requirement, and requires service application to report the format information and the method for calling of its support to it in the registration response.
Further, described Widget engine comprises package module, is used to be provided with itself and the third party outside open interface between using.
Further, described Widget engine comprises package module;
Described third party uses by the opening interface and is meant to Widget engine transmission call request, and the third party uses form and the method for calling supported according to described opening interface and sends call request to the Widget engine;
Described Widget engine receive after the call request by and service application between the interface interchange service application, and will call the result and be back to described third party by described opening interface and use and be meant, described package module with described call request be encapsulated as with corresponding service application between the form of interface support and method of calling after be sent to described service application, and calling of will receiving is back to described third party behind the form that the result is adapted for the support of described opening interface and uses.
In sum, the invention provides a kind of end side and use the realization system and method for open interface, various service applications on the terminal can be registered to the Widget engine, and to Widget engine open interface, the Widget engine will further provide the interface of these service application of visit to the third party.And utilize these application, as provide content download, broadcasting, Push Service etc., can obtain content easily, by the Widget engine, the ability of these application mode by unified interface is provided away, will be to whole service abundant, to the utilization widely of telecommunications service, promote its further prosperity that significance is arranged.
Description of drawings
Fig. 1 is the general frame figure of system of the present invention;
Use flow chart on Fig. 2 terminal to Widget engine registration open interface;
Fig. 3 third party uses the overview flow chart of using open interface by the Widget engine calling.
Embodiment
In order to solve the above-mentioned problems in the prior art, the invention provides the realization system and method that a kind of end side is used open interface;
The realization system that present embodiment provides a kind of end side to use open interface as shown in Figure 1, comprises that service application, Widget engine and third party use; Wherein, service application and third party application is one or more;
Service application in the present embodiment can but be not limited to comprise following application: DCD (dynamic content download), PUSH (Push Service), BCAST (broadcast service) etc.
The third party uses, and is used for sending call request from the opening interface of Widget engine to it;
The Widget engine, be used to receive after the call request by and service application between the interface interchange service application, and will call the result and be back to the third party by the opening interface and use.
The Widget engine comprises package module, opening interface, the interface that links to each other with service application, other API and running environment; The Widget engine can also comprise Registering modules;
Running environment mainly is the shielding that realizes mobile terminal operating system, for high-level interface provides unified running environment with using.
Other API, realization is to the various resources on the portable terminal and the abstraction function of ability, can provide as: local retrieval capabilities such as the address list of terminal document operating system, terminal, calendar, notepad, Http access ability, basic ability to communicate, as note, multimedia message etc.
Interface between Widget engine and service application refers to call method of calling and the form information that service application adopts;
Method of calling and form information that outside open interface between Widget engine and third party use adopts when referring to third party's application call service application.
Service application also is used for sending register requirement to the Widget engine, can carry service attribute in this register requirement, as: Business Name, major function information etc.; Can also be used to receive that registration response back reports information such as its method of calling supported and concrete form to the Widget engine; Service application is used to also receive that registration response back reports the format information and the method for calling of its support to the Widget engine;
Registering modules can be used to receive the register requirement of service application, and returns the registration response to this service application, and requires service application to report the format information and the method for calling of its support to it in the registration response.
The third party uses by the opening interface and is meant to Widget engine transmission call request, and the third party uses form and the method for calling supported according to described opening interface and sends call request to the Widget engine;
The Widget engine receive after the call request by and service application between the interface interchange service application, and will call the result and be back to the third party by described opening interface and use and to be meant, package module with call request be encapsulated as with corresponding service application between the form of interface support and method of calling after be sent to corresponding service application, and calling of will receiving is back to the third party behind the form that the result is adapted for the support of opening interface and uses.
Package module can also be used to the opening interface is set, and comprises the method for calling of third party's application call service application and form information etc., method of calling can but be not limited to be meant and adopt which kind of function call and required parameter.
Present embodiment provides a kind of end side to use the implementation method of open interface, the opening interface that the third party uses by the Widget engine sends call request, the Widget engine receive after the call request by and service application between the interface interchange corresponding business use, and will call the result and be back to the third party and use.
The flow chart of using on the terminal to Widget engine registration open interface is described below in conjunction with Fig. 2.
Step 201: the service application on the terminal by and the Widget engine between interface, send register requirement to the Widget engine;
Step 202:Widget engine returns registration response to service application, requires service application on the terminal to report the format information and the method for calling of its support in this response;
Step 203: service application reports information such as the method for calling of its support and concrete form to the Widget engine;
Step 204:Widget engine may be tested and verifies the interface (method of calling) that service application provides, and is effective really to confirm these interfaces;
Opening interface between step 205:Widget engine is provided with and uses with the third party promptly is provided with the method for calling of third party's application call service application and form information etc., method of calling can but be not limited to be meant which kind of function call of employing and required parameter.
Afterwards, the third party uses and can develop and call service application according to the mode that is provided with.
Need to prove, this procedure declaration be a kind of very intelligentized, automatically open the mode of the service application interface on the terminal by the Widget engine, in the time of more, for simplifying and debugging reason easily, the interface between Widget engine and the application service can be that as offered is good, and the external interface of Widget engine also is just to determine well in advance, just when operation, carry out registration, and may carry out testing procedure.
Illustrate that below in conjunction with Fig. 3 the third party uses the overview flow chart of using open interface by the Widget engine calling.
Step 301: the third party uses (being new application) and passes through the opening interface of Widget engine to Widget engine transmission call request;
Step 302:Widget engine is received call request, judgement need be called which or which service application, and carry out adaptive work, call request is encapsulated as method of calling and the form that Widget engine and the interface between corresponding invoked service application are supported;
Step 303:Widget engine is to the call request of corresponding service application transmission after format conversion;
Step 304: the service application on the terminal is carried out this call request;
Step 305: service application will be called the result and be back to the Widget engine;
This echo plex mode that calls the result can have multiple, as being synchronous mode, also can be asynchronous mode; The result who returns also can be multiple, as: can only return and call success or failure, also can directly return its content of operation, as the service application of calling is when being PUSH, calling the result is the content of PUSH, and according to different modes of operation, its return results can be different.
Step 306:Widget engine will receive calls that the result is adapted for and form that the opening interface of third party between using is supported;
Step 307:Widget engine is back to third party's application with the result that calls after format conversion.
In the present embodiment, the Widget engine can be stored method of calling and the form information that each service application should adopt of calling, the third party use can by inquiry or with Widget engine alternant way know call service application the method for calling and the form that should adopt.

Claims (11)

1. an end side is used the implementation method of open interface, comprising:
The opening interface that the third party uses by the Widget engine sends call request, described Widget engine receive after the described call request by and service application between the interface interchange corresponding business use, and will call the result and be back to described third party and use.
2. the method for claim 1 is characterized in that, described method also comprises:
Interface between Widget engine and service application and described Widget engine and the third party outside open interface between using is set.
3. method as claimed in claim 1 or 2 is characterized in that:
Interface between described Widget engine and service application refers to call method of calling and the form information that described service application adopts;
Method of calling and form information that outside open interface between described Widget engine and third party use adopts when referring to third party's application call service application.
4. method as claimed in claim 2 is characterized in that:
The mode of the interface between the described Widget of setting engine and service application is, service application sends register requirement to described Widget engine, the Widget engine returns the registration response to described service application after receiving register requirement, and requiring service application to report the format information and the method for calling of its support to it, described service application receives that registration response back reports the format information and the method for calling of its support to the Widget engine.
5. method as claimed in claim 3 is characterized in that:
Described Widget engine receives that the third party uses after the call request sent of opening interface, be sent to corresponding service application after call request is encapsulated as the method for calling of service application support and form, described service application carry out call and will call the result by and the Widget engine between interface be back to described Widget engine, the Widget engine will call and be back to described third party behind the form that the result is adapted for the support of described opening interface and use.
6. method as claimed in claim 2 is characterized in that:
Outside open interface between described Widget engine and third party use is provided with by the Widget engine.
7. an end side is used the realization system of open interface, comprises that the third party uses, Widget engine and service application; It is characterized in that:
Described third party uses, and is used for sending call request from the opening interface of Widget engine to it;
Described Widget engine, be used to receive after the described call request by and service application between the interface interchange service application, and will call the result and be back to described third party by described opening interface and use.
8. system as claimed in claim 7 is characterized in that:
Interface between described Widget engine and service application refers to call method of calling and the form information that described service application adopts;
Method of calling and form information that outside open interface between described Widget engine and third party use adopts when referring to third party's application call service application.
9. system as claimed in claim 7 is characterized in that:
Described Widget engine comprises Registering modules;
Described service application also is used for sending register requirement to described Widget engine, and receives that registration response back reports the format information and the method for calling of its support to the Widget engine;
Described Registering modules returns the registration response to described service application after being used to receive register requirement, and requires service application to report the format information and the method for calling of its support to it in the registration response.
10. as claim 7 or 8 described systems, it is characterized in that:
Described Widget engine comprises package module, is used to be provided with itself and the third party outside open interface between using.
11. system as claimed in claim 8 is characterized in that:
Described Widget engine comprises package module;
Described third party uses by the opening interface and is meant to Widget engine transmission call request, and the third party uses form and the method for calling supported according to described opening interface and sends call request to the Widget engine;
Described Widget engine receive after the call request by and service application between the interface interchange service application, and will call the result and be back to described third party by described opening interface and use and be meant, described package module with described call request be encapsulated as with corresponding service application between the form of interface support and method of calling after be sent to described service application, and calling of will receiving is back to described third party behind the form that the result is adapted for the support of described opening interface and uses.
CN201010133027XA 2010-03-12 2010-03-12 System and method for implementing application open interface at terminal side Pending CN102196010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010133027XA CN102196010A (en) 2010-03-12 2010-03-12 System and method for implementing application open interface at terminal side

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010133027XA CN102196010A (en) 2010-03-12 2010-03-12 System and method for implementing application open interface at terminal side

Publications (1)

Publication Number Publication Date
CN102196010A true CN102196010A (en) 2011-09-21

Family

ID=44603396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010133027XA Pending CN102196010A (en) 2010-03-12 2010-03-12 System and method for implementing application open interface at terminal side

Country Status (1)

Country Link
CN (1) CN102196010A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188204A (en) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 Service control method and system in open platform
CN105657035A (en) * 2016-02-02 2016-06-08 四川长虹电器股份有限公司 Multi-mode access method of mobile application
CN103647795B (en) * 2014-01-02 2016-08-17 浙江大学城市学院 The adjustment method that a kind of widget of realization remote service is called
CN108632325A (en) * 2017-03-24 2018-10-09 中国移动通信集团浙江有限公司 A kind of call method and device of application

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163120A (en) * 2006-10-13 2008-04-16 华为技术有限公司 Method and system of cooperating services provided by different service providers
CN101400109A (en) * 2007-09-30 2009-04-01 华为技术有限公司 General service opening interface system and general service opening method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163120A (en) * 2006-10-13 2008-04-16 华为技术有限公司 Method and system of cooperating services provided by different service providers
CN101400109A (en) * 2007-09-30 2009-04-01 华为技术有限公司 General service opening interface system and general service opening method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
中国电信集团公司: "中国电信通用Widget开放系统技术规范终端引擎及应用开发分册", 《中国电信集团公司技术标准 Q/CT 2187.3-2009》 *
倪敢峰等: "Mobile Widget在移动增值业务中的应用研究", 《电信科学》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188204A (en) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 Service control method and system in open platform
CN103188204B (en) * 2011-12-27 2018-07-20 腾讯科技(深圳)有限公司 Service control method in open platform and system
CN103647795B (en) * 2014-01-02 2016-08-17 浙江大学城市学院 The adjustment method that a kind of widget of realization remote service is called
CN105657035A (en) * 2016-02-02 2016-06-08 四川长虹电器股份有限公司 Multi-mode access method of mobile application
CN108632325A (en) * 2017-03-24 2018-10-09 中国移动通信集团浙江有限公司 A kind of call method and device of application

Similar Documents

Publication Publication Date Title
KR101882426B1 (en) Software updating method, system, and device
CN101695032B (en) Unified web client, service configuration method and system thereof
CN100531090C (en) Method for implementing universal message bus based universal service system structure
CN103294455A (en) Software service implementation method and system, as well as Java platform
EP2418825A1 (en) Method and system for generating open telecommunication service based on internet
CN102866925B (en) Communication method and system for middleware and user interface
CN111343020A (en) Unified management method and device for multi-protocol Internet of things equipment
CN101827085B (en) Method for converting IT application system on PC into system accessible by mobile phone terminal
CN103338267B (en) The intelligent movable community value-added service platform that a kind of SIP and Web service are merged
CN104239114A (en) Application compiling method and device
CN104572054A (en) Capability calling method and capability calling equipment
CN102196010A (en) System and method for implementing application open interface at terminal side
CN101155174B (en) Remote subscriber interface service implementing method based on common protocol
Pan et al. Component-based mobile web application of cross-platform
CN101339508A (en) Java2 miniature edition application operation method and device
CN103731444A (en) Method for starting boundless communication, sharing and notification through mobile terminal browser
CN112511417B (en) Cross-platform intelligent gateway system
CN108009084B (en) Testing method, device and system for hybrid mobile application
CN202143098U (en) Intelligent mobile phone open cross-platform system based on cloud computing
CN111736887B (en) Access system, method and device for utilizing old equipment and storage medium
CN105320499A (en) Adaptive method and related device of application program
CN101626431A (en) Processing method and processing system capable of adapting to communication mode
CN114416314A (en) Service arrangement method based on API gateway
CN101399867B (en) Desktop system for mobile phone
US20130122896A1 (en) Method and device for providing communication to user 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110921