+

CN101964742B - Method, system and device for using network open ability - Google Patents

Method, system and device for using network open ability Download PDF

Info

Publication number
CN101964742B
CN101964742B CN2009101615074A CN200910161507A CN101964742B CN 101964742 B CN101964742 B CN 101964742B CN 2009101615074 A CN2009101615074 A CN 2009101615074A CN 200910161507 A CN200910161507 A CN 200910161507A CN 101964742 B CN101964742 B CN 101964742B
Authority
CN
China
Prior art keywords
widget
open
open capability
provider
data information
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
Application number
CN2009101615074A
Other languages
Chinese (zh)
Other versions
CN101964742A (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.)
Changshu Intellectual Property Operation Center Co ltd
Guangdong Gaohang Intellectual Property Operation Co ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009101615074A priority Critical patent/CN101964742B/en
Publication of CN101964742A publication Critical patent/CN101964742A/en
Application granted granted Critical
Publication of CN101964742B publication Critical patent/CN101964742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method, a system and a device for using network open ability. The method comprises the following steps of: packaging and developing the open ability of an open ability provider to generate a Widget file which comprises a specific identifier, and downloading the generated Widget file by a Widget client; then receiving a call request for the open ability of the open ability provider which is sent by the Widget client, wherein the call request is generated by the Widget client which analyzes the construction of the Widget file; and the call request carries the specific identifier; acquiring corresponding data information or services from the open ability provider according to the call request which carries the specific identifier; and performing adaptor conversion on the received data information or services, and returning the converted data information or services to the Widget client. In the embodiment of the invention, Widget users can use a plurality of open abilities without knowing the service logic of the open ability provider.

Description

一种网络开放能力使用方法、系统和装置Method, system and device for using network open capability

技术领域 technical field

本发明涉及网络技术领域,更具体地说,涉及一种网络开放能力使用方法、系统和装置。The present invention relates to the field of network technologies, and more specifically, to a method, system and device for using network open capabilities.

背景技术 Background technique

Widget是一种很小的应用程序,主要作为Web 2.0服务或互联网内容的前端,可以称为微件或微技。由于它可以显示并更新本地或远程数据,Web设计人员与开发者可以使用Widget来创造最受欢迎的互联网体验,用户只需在S60的桌面或应用菜单中单击即可访问。通常情况下,在Widget的使用过程中,客户端设备将已打包好的Widget文件下载安装就可使用。Widget is a small application program, mainly used as the front end of Web 2.0 service or Internet content, which can be called widget or widget. Because it can display and update local or remote data, Web designers and developers can use Widgets to create the most popular Internet experiences that users can access with a single click from the S60's desktop or application menu. Usually, during the use of the Widget, the client device downloads and installs the Widget file that has been packaged before it can be used.

由于Widget是一种Web程序,因此,Widget涉及到的技术基本上都是Web领域的相关技术,如:HTML(Hypertext Markup Language,超文本标记语言)、CSS(Cascading Style Sheets,层叠样式表)、JavaScript、XML(Extensible Markup Language,可扩展标记语言)等,其中,HTML用于页面布局,CSS用于控制页面样式风格,JavaScript用于为网页提供动态行为等。因此,在进行Widget的开发时,通常需要创建以下几个文件:HTML文件、CSS文件、JavaScript文件、XML配置文件、图片资源文件等,在上述文件全部创建好以后打包成一个压缩文件,例如ZIP格式的压缩文件,之后,将该压缩文件改为Widget可以识别的特定的文件类型,例如*.wgt、*.widget格式的文件,并最终发布以供用户下载使用。Since Widget is a kind of Web program, the technologies involved in Widget are basically related technologies in the Web field, such as: HTML (Hypertext Markup Language, Hypertext Markup Language), CSS (Cascading Style Sheets, Cascading Style Sheets), JavaScript, XML (Extensible Markup Language, Extensible Markup Language), etc. Among them, HTML is used for page layout, CSS is used to control the page style, JavaScript is used to provide dynamic behavior for web pages, etc. Therefore, when developing a Widget, it is usually necessary to create the following files: HTML file, CSS file, JavaScript file, XML configuration file, image resource file, etc. After all the above files are created, they are packaged into a compressed file, such as ZIP format, and then change the compressed file into a specific file type recognized by the Widget, such as *.wgt, *.widget format files, and finally publish it for users to download and use.

在现有的Widget架构中,一般是Widget客户端运行Widget引擎,负责Widget应用文件的解析执行,而Widget服务器代理客户端向开放能力提供方资源处获取数据信息或服务。此处的开放能力提供方,包括互联网络的开放能力,比如google、Yahoo!提供的地图、搜索等服务能力;电信网络的开放能力,比如中国移动、沃达丰提供的短信、呼叫、位置等服务;家庭网络的开放能力,比如家庭中的摄像头、烟雾探测器提供的监控、监测等能力;行业网络的开放能力,比如银行系统的计费结算能力、教育系统的电子教学能力;以及现有开放能力提供方平台集成的能力,比如Mashup平台和电信增值业务平台等。In the existing Widget architecture, the Widget client generally runs the Widget engine and is responsible for parsing and executing Widget application files, and the Widget server acts on behalf of the client to obtain data information or services from the resources of the open capability provider. The open capability provider here includes the open capability of the Internet, such as Google, Yahoo! Provide map, search and other service capabilities; open capabilities of telecommunication networks, such as SMS, calling, location and other services provided by China Mobile and Vodafone; open capabilities of home networks, such as monitoring and monitoring provided by cameras and smoke detectors in the home and other capabilities; the open capabilities of industry networks, such as the billing and settlement capabilities of the banking system and the e-learning capabilities of the education system; and the platform integration capabilities of existing open capability providers, such as Mashup platforms and telecom value-added service platforms.

随着互联网以及电信网的开放程度越来越高,OpenAPI(OpenApplication Interface,开放应用编程接口)的数量及种类也越来越多,这就需要Widget系统能够对种类繁多、数量庞大的开放能力提供方开放业务有较强的组合能力,便于解决数据源的动态切换以及保证业务的可用性。现有的Widget系统对开放能力提供方的封装比如Mashup系统,对网络开放能力进行了一定的封装,但发明人在实现本发明的过程中,发现现有技术至少存在以下缺点:对于Widget使用者来说,在大多数情况下仍需要对开放能力提供方的业务逻辑有所了解才能较好地使用开放能力提供方所提供的各项业务,从而在一定程度上限制了对各项开放能力的有效使用。With the increasing openness of the Internet and telecommunication networks, the number and types of OpenAPI (OpenApplication Interface, open application programming interface) are also increasing, which requires the Widget system to provide a wide variety of open capabilities for a large number The open business on the other side has a strong ability to combine, which is convenient to solve the dynamic switching of data sources and ensure the availability of services. The existing Widget system encapsulates the provider of the open capability, such as the Mashup system, which encapsulates the open capability of the network to a certain extent. However, during the process of implementing the present invention, the inventor found that the existing technology has at least the following disadvantages: for Widget users In most cases, it is still necessary to understand the business logic of the open capability provider in order to better use the various services provided by the open capability provider, which limits the use of various open capabilities to a certain extent. Use effectively.

发明内容 Contents of the invention

有鉴于此,本发明实施例提供一种网络开放能力使用方法、系统和装置,以实现Widget使用者无需了解开放能力提供方的业务逻辑就可实现对众多开放能力的使用。In view of this, the embodiments of the present invention provide a method, system and device for using network open capabilities, so that Widget users can use many open capabilities without knowing the business logic of the open capability provider.

本发明实施例是这样实现的:The embodiment of the present invention is realized like this:

本发明实施例提供了一种网络开放能力使用方法,包括:An embodiment of the present invention provides a method for using a network open capability, including:

接收Widget客户端发送的对开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对下载的对所述开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件进行解析构造生成,所述调用请求中携带所述特定标识;Receive the invocation request for the open capability of the open capability provider sent by the Widget client, and the invocation request encapsulates the downloaded open capability of the open capability provider by the Widget client and develops and generates a Widget including a specific identifier The file is generated by parsing and constructing, and the calling request carries the specific identifier;

根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;Obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier;

将接收到的所述数据信息或服务进行适配转换并返回至所述Widget客户端。Adapting and transforming the received data information or service and returning it to the Widget client.

将所述接收到的所述数据信息或服务进行协议转换和/或数据转换。Perform protocol conversion and/or data conversion on the received data information or service.

本发明实施例提供了一种网络开放能力使用系统,包括:Widget服务器、Widget客户端和开放能力提供方,其中,An embodiment of the present invention provides a system for using network open capabilities, including: a Widget server, a Widget client, and an open capability provider, wherein,

所述Widget服务器,用于对开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件,供Widget客户端进行下载;其具体包括:The Widget server is used to encapsulate the open capabilities of the open capability provider and develop and generate a Widget file including a specific identification for the Widget client to download; it specifically includes:

接收单元,用于接收所述Widget客户端发送的对所述开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对所述Widget文件解析构造生成,所述调用请求中携带所述特定标识;A receiving unit, configured to receive an invocation request for the open capability of the open capability provider sent by the Widget client, the invocation request is generated by the Widget client by analyzing and constructing the Widget file, and in the invocation request carry said specific identification;

获取单元,用于根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;An obtaining unit, configured to obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier;

适配转换单元,用于将所述数据信息或服务进行适配转换;an adaptation conversion unit, configured to perform adaptation conversion on the data information or service;

发送单元,用于将进行适配转换后的数据信息或服务发送至所述Widget客户端;a sending unit, configured to send the data information or service after adaptation and conversion to the Widget client;

所述Widget客户端,用于下载所述包括特定标识的Widget文件,对所述Widget文件解析构造生成对所述开放能力提供方开放能力的调用请求,所述调用请求中携带所述特定标识。The Widget client is configured to download the Widget file including the specific identifier, parse and construct the Widget file to generate an invocation request for the open capability of the open capability provider, and the invocation request carries the specific identifier.

本发明实施例还提供了一种Widget服务器,所述Widget服务器对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,供Widget客户端进行下载,包括:The embodiment of the present invention also provides a Widget server. The Widget server encapsulates and develops the open capability of the open capability provider to generate a Widget file including a specific identifier for the Widget client to download, including:

接收单元,用于接收所述Widget客户端发送的对所述开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对所述Widget文件解析构造生成,所述调用请求中携带所述特定标识;A receiving unit, configured to receive an invocation request for the open capability of the open capability provider sent by the Widget client, the invocation request is generated by the Widget client by analyzing and constructing the Widget file, and in the invocation request carry said specific identification;

获取单元,用于根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;An obtaining unit, configured to obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier;

适配转换单元,用于将所述数据信息或服务进行适配转换;an adaptation conversion unit, configured to perform adaptation conversion on the data information or service;

发送单元,用于将进行适配转换后的数据信息或服务发送至所述Widget客户端。A sending unit, configured to send the data information or service after adaptation and conversion to the Widget client.

本发明实施例通过Widget服务器对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,在Widget客户端将该文件下载后使用时,Widget客户端只需对Widget文件进行解析,并通过向Widget服务器发送包括该特定标识的调用请求,使Widget服务器可以根据该所述特定标识的调用请求为Widget客户端向开放能力提供方请求相应数据或服务。本发明实施例所提供的技术方案由于对开放能力提供方的开放能力进行了封装化处理,使得Widget使用者无需了解开放能力提供方的业务逻辑就可实现对众多开放能力的使用。In the embodiment of the present invention, the Widget server encapsulates and develops the open capability of the open capability provider to generate a Widget file including a specific identifier. When the Widget client downloads the file and uses it, the Widget client only needs to parse the Widget file, and By sending the invocation request including the specific identifier to the Widget server, the Widget server can request corresponding data or services from the open capability provider for the Widget client according to the invocation request with the specific identifier. The technical solution provided by the embodiment of the present invention encapsulates the open capabilities of the open capability provider, so that Widget users can use many open capabilities without knowing the business logic of the open capability provider.

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1为本发明实施例所涉及的一种网络开放能力使用方法流程图;FIG. 1 is a flowchart of a method for using a network openness capability according to an embodiment of the present invention;

图2为本发明实施例所涉及的另一种网络开放能力使用方法流程图;FIG. 2 is a flow chart of another method for using a network openness capability involved in an embodiment of the present invention;

图3为本发明实施例所涉及的一种网络开放能力使用系统结构示意图;FIG. 3 is a schematic structural diagram of a system for using a network open capability according to an embodiment of the present invention;

图4为本发明实施例所涉及的一种Widget服务器结构示意图;FIG. 4 is a schematic structural diagram of a Widget server involved in an embodiment of the present invention;

图5为本发明实施例所涉及的一种Widget客户端结构示意图。FIG. 5 is a schematic structural diagram of a Widget client involved in an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供了一种网络开放能力使用方法,该方法包括:在对开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件,并由Widget客户端进行下载后,具体使用方法如图1所示,包括:An embodiment of the present invention provides a method for using a network open capability. The method includes: after encapsulating the open capability provider's open capability and developing and generating a Widget file including a specific identifier, and after the Widget client downloads it, specifically use The method is shown in Figure 1, including:

S101:接收所述Widget客户端发送的对开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对下载的对开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件进行解析构造生成,所述调用请求中携带所述特定标识;S101: Receive the invocation request for the open capability of the open capability provider sent by the Widget client, the invocation request is packaged by the Widget client for the open capability of the open capability provider downloaded and developed to include a specific identifier The Widget file is parsed and constructed, and the call request carries the specific identifier;

S102:解析所述调用请求获取包括所述特定标识的调用参数;S102: Parsing the call request to obtain call parameters including the specific identifier;

S103:根据所述调用参数从对应开放能力提供方获取对应的数据信息或服务;在本实施例中,该步骤可以理解为:根据所述调用参数向对应开放能力提供方发送数据信息或服务请求消息;接收所述对应开放能力提供方发送的数据信息或服务。S103: Obtain corresponding data information or services from the corresponding open capability provider according to the invocation parameters; in this embodiment, this step can be understood as: sending data information or service requests to the corresponding open capability provider according to the invocation parameters Message: receiving the data information or service sent by the corresponding open capability provider.

S104:将接收到的所述数据信息或服务进行适配转换并返回至所述Widget客户端。S104: Perform adaptation transformation on the received data information or service and return to the Widget client.

本发明实施例所提供的一种网络开放能力使用方法,通过Widget服务器对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,在Widget客户端将该文件下载后使用时,Widget客户端只需对Widget文件进行解析,并通过向Widget服务器发送包括该特定标识的调用请求,使Widget服务器可以根据该调用请求为Widget客户端向开放能力提供方请求相应数据或服务。本发明实施例所提供的技术方案由于对开放能力提供方的开放能力进行了封装化处理,使得Widget使用者无需了解开放能力提供方的业务逻辑就可实现对众多开放能力的使用。In the method for using the network open capability provided by the embodiment of the present invention, the Widget server encapsulates and develops the open capability of the open capability provider to generate a Widget file including a specific identifier. When the Widget client downloads the file and uses it, the Widget The client only needs to parse the Widget file, and send a call request including the specific identifier to the Widget server, so that the Widget server can request corresponding data or services from the open capability provider for the Widget client according to the call request. The technical solution provided by the embodiment of the present invention encapsulates the open capabilities of the open capability provider, so that Widget users can use many open capabilities without knowing the business logic of the open capability provider.

本发明实施例提供了另一种网络开放能力使用方法,在进行开放能力的使用之前,Widget服务器首先要对开放能力提供方的开放能力进行封装,并对封装后的开放能力提供方开发生成包括特定标识的Widget文件,以用于向Widget客户端进行发布。The embodiment of the present invention provides another method for using the network open capability. Before using the open capability, the Widget server first encapsulates the open capability of the open capability provider, and develops and generates the encapsulated open capability provider, including A Widget file with a specific logo is used for publishing to the Widget client.

需要说明的是,在Widget服务器将开放能力提供方的开放能力进行封装前,首先需要获取这些开放能力信息,这里可以通过两种方式进行获取:第一种,Widget服务器通过主动到网络上进行抓取的方式获取;第二种,开放能力提供方主动在Widget服务器上进行注册。而在后续的操作过程中,可以对两种方式获取的开放能力采用相同的封装开发方法。It should be noted that before the Widget server encapsulates the open capabilities of the open capability provider, it first needs to obtain the open capability information, which can be obtained in two ways: first, the Widget server actively captures In the second way, the open capability provider actively registers on the Widget server. In the subsequent operation process, the same packaging development method can be used for the open capabilities obtained in the two ways.

例如,可采用以下方法对开放能力提供方的开放能力进行封装开发:For example, the following methods can be used to package and develop the open capabilities of the open capability provider:

URL/接入码方式的封装,该方式主要应用于Mashup、电信增值业务等开放能力提供方。例如:在某次选秀类比赛期间,服务提供商在现有的移动增值业务平台上开发了一个短消息的增值业务,用于电视观众发送手机短信支持自己喜欢的比赛选手。而如果此时服务提供商将自己的这个业务能力开放出来,允许Widget开发者在此基础上进行二次开发,使该增值业务对外提供唯一的接入码,并将该接入码提供给Widget客户端,从而在运行该项业务时,电信增值业务平台可以通过该接入码来标识相应的业务逻辑。经过上述封装开发过程,描述该投票业务的Widget文件包括如下代码:Encapsulation of the URL/access code method, which is mainly used in open capability providers such as Mashup and telecom value-added services. For example: during a draft competition, the service provider has developed a short message value-added service on the existing mobile value-added service platform, which is used by TV viewers to send mobile phone text messages to support their favorite contestants. And if the service provider opens up this business capability at this time, allowing Widget developers to carry out secondary development on this basis, so that the value-added service can provide a unique access code to the outside world, and provide the access code to the Widget client, so that when running this service, the telecom value-added service platform can identify the corresponding service logic through the access code. After the above package development process, the Widget file describing the voting business includes the following code:

Figure GDA0000134367460000061
Figure GDA0000134367460000061

标签方式的封装,该方式主要应用于Widget服务器主动在网络上抓取到得开放能力或者主动注册到Widget服务器上的开放能力提供方。采用该方式对开放能力提供方的业务进行封装开发,通常是在进行封装后,Widget服务器向开发者提供一些扩展的HTML标签,开发者可以根据这些HTML标签进行HTML页面的开发。Encapsulation in the form of tags, which is mainly applied to the open capability provider that the Widget server actively captures on the network or actively registers to the Widget server. This method is used to package and develop the services of the open capability provider. Usually, after packaging, the Widget server provides some extended HTML tags to the developer, and the developer can develop HTML pages based on these HTML tags.

JavaScript对象方式,该方式的应用范围同标签方式的应用范围基本相同,也是应用于Widget服务器主动在网络上抓取到得开放能力或者主动注册到Widget服务器上的开放能力提供方。采用该方式对开放能力提供方的业务进行封装开发,通常是在进行封装后,Widget服务器向开发者提供一些扩展的JavaScript对象,开发者可以根据这些JavaScript进行开发。The JavaScript object method, the application scope of this method is basically the same as that of the label method, and it is also applied to the open capability provider that the Widget server actively captures the open capability on the network or actively registers to the Widget server. This method is used to encapsulate and develop the services of the open capability provider. Usually, after the encapsulation, the Widget server provides some extended JavaScript objects to the developer, and the developer can develop based on these JavaScript objects.

需要说明的是,本发明实施例所提供的一种网络开放能力使用方法,在对开放能力提供方的开放能力进行封装时,可以并不考虑这些开放能力提供方是否处于同一网络中。例如:电信网络下不同运营商提供的消息业务能力所涉及的接口、逻辑及数据格式可能会有不同,但在对这些开放能力提供方的开放能力进行封装时,只要为不同的开放能力提供方提供不同的特定标识,而对外做统一的简化封装和统一的适配管理。现对上述情况举例如下:假设对电信运营商1、电信运营商2、互联网业务提供商和家庭网络下数据电视的开放能力进行了统一封装,那么在封装过程中,需要为每个开放能力提供方设定一个特定标识,此处,采用JavaScript对象方式对其进行封装,可表示为:Message(Tosomebody,content)。封装之后的业务逻辑可进行如下表示:It should be noted that, the method for using network open capabilities provided by the embodiments of the present invention may not consider whether these open capability providers are in the same network when encapsulating the open capabilities of open capability providers. For example: the interfaces, logic and data formats involved in the message service capabilities provided by different operators under the telecommunication network may be different, but when encapsulating the open capabilities of these open capability providers, as long as different open capability providers Different specific identifications are provided, while unified simplified encapsulation and unified adaptation management are performed externally. An example of the above situation is as follows: Assuming that the open capabilities of telecom operator 1, telecom operator 2, Internet service provider, and data TV under the home network are uniformly encapsulated, then during the encapsulation process, it is necessary to provide The party sets a specific logo, and here, it is encapsulated in the form of a JavaScript object, which can be expressed as: Message(Tosomebody, content). The business logic after encapsulation can be expressed as follows:

if(Tosomebody.mobilePhone1=online)if(Tosomebody.mobilePhone1=online)

电信运营商1的消息类业务逻辑Message business logic of telecom operator 1

elseif(Tosomebody.mobilePhone2=online)elseif(Tosomebody.mobilePhone2=online)

电信运营商2的消息类业务逻辑Message business logic of telecom operator 2

elseif(Tosomebody.IM=online)elseif(Tosomebody.IM=online)

互联网业务提供商的消息类业务逻辑Internet service provider's message business logic

elseif(Tosomebody.TV=online)elseif(Tosomebody.TV=online)

家庭网络下数字电视的消息类业务逻辑Message business logic of digital TV under home network

经过上述封装、开发后,将相关文件打包为一个压缩文件,之后,再将该压缩文件改为Widget可以识别的特定的文件类型,例如*.wgt、*.widget格式的文件,并最终发布以供用户下载使用。After the above packaging and development, the relevant files are packaged into a compressed file, and then the compressed file is changed to a specific file type that Widget can recognize, such as *.wgt, *.widget format files, and finally released with For users to download and use.

在进行完对开放能力提供方的开放能力的封装并生成包括特定标识的Widget文件之后,执行如图2所示步骤:After encapsulating the open capability of the open capability provider and generating a Widget file including a specific identifier, perform the steps shown in Figure 2:

步骤201:Widget客户端将经过封装开发的Widget文件下载至本地,以进行Widget相关业务。Step 201: the Widget client downloads the packaged and developed Widget file to the local to perform Widget-related business.

在步骤201中,客户端从网络上下载经过封装开发的Widget文件,并运行该文件,并进入步骤202。In step 201, the client downloads the packaged and developed Widget file from the network, runs the file, and enters step 202.

步骤202:Widget客户端对下载的Widget文件进行解析构造生成对开放能力提供方开放能力的调用请求。Step 202: The Widget client parses and constructs the downloaded Widget file to generate an invocation request for the open capability of the open capability provider.

在步骤202中,根据前面所提到的三种封装开发方法,Widget客户端在对Widget文件进行解析的时,也会相应遇到不同的情况:In step 202, according to the above-mentioned three packaging development methods, the Widget client will also encounter different situations when parsing the Widget file:

如果在封装开发阶段,采用的是URL/接入码方式,则该Widget文件在Widget客户端进行解析时,客户端在解析过程中会遇到在封装开发过程中所涉及到的URL/接入码,此时,Widget客户端需要将该URL/接入码加入所要构造的对开放能力提供方开放能力的调用请求中,用于指示用户需要调用何种开放能力。同时,构造的开放能力的调用请求中还要包括Widget业务的标识信息等相关参数,用于表明用户需要从开放能力提供方获得何种数据或业务。进一步详细,开放能力的调用请求中所包括的具体参数可参照表1。If the URL/access code method is used in the packaging development stage, when the Widget file is parsed by the Widget client, the client will encounter the URL/access code involved in the packaging development process during the parsing process. At this time, the Widget client needs to add the URL/access code to the invocation request for the open capability of the open capability provider to be constructed, so as to indicate which open capability the user needs to invoke. At the same time, the constructed call request for the open capability also includes relevant parameters such as identification information of the Widget service, which are used to indicate what kind of data or service the user needs to obtain from the open capability provider. For further details, refer to Table 1 for specific parameters included in the invocation request of the open capability.

表1Table 1

除此以外,需要说明的是,通常情况下,该开放能力调用请求为统一能力封装接口的调用请求,且该请求一般基于HTTP。In addition, it should be noted that, usually, the open capability invocation request is an invocation request of the unified capability encapsulation interface, and the request is generally based on HTTP.

步骤203:Widget客户端将对开放能力的调用请求发送至Widget服务器。Step 203: the Widget client sends an invocation request for the open capability to the Widget server.

步骤204:Widget服务器对开放能力的调用请求进行解析并获取其中的调用参数。Step 204: The Widget server parses the invocation request of the open capability and obtains invocation parameters therein.

在步骤204中,Widget服务器在接收到Widget客户端发送的开放能力调用请求后,对该请求进行解析,获得该请求中所包括的相关参数,例如表1中所示的各项参数。In step 204, after receiving the open capability invocation request sent by the Widget client, the Widget server parses the request to obtain relevant parameters included in the request, such as various parameters shown in Table 1.

步骤205:Widget服务器根据获取的调用参数向对应开放能力提供方发送数据或服务请求消息。Step 205: The Widget server sends a data or service request message to the corresponding open capability provider according to the obtained calling parameters.

在步骤205中,Widget服务器在获取调用参数之后,可根据调用参数中包括参数内容,确定Widget客户端需要调用何种开放能力,并为Widget客户端选择合适的开放能力提供方。关于这点,可进一步具体为:In step 205, after acquiring the call parameters, the Widget server may determine which open capability the Widget client needs to call according to the parameter content contained in the call parameters, and select an appropriate open capability provider for the Widget client. This can be further specified as follows:

由于Widget服务器上可能注册了众多的开放能力提供方,Widget服务器可以根据调用参数中所包括的内容,获知Widget客户端需要调用何种开放能力,从而Widget服务器可以从众多的开放能力提供方中选择满足开放能力调用要求的开放能力提供方。Since there may be many open capability providers registered on the Widget server, the Widget server can know which open capability the Widget client needs to call according to the content included in the call parameter, so that the Widget server can choose from many open capability providers An open capability provider that meets the requirements for open capability invocation.

优选情况下,Widget服务器还可对注册于其上的开放能力提供方进行实时监控,以获得各个开放能力提供方的运行状态,并从运行状态良好的开放能力提供方中为Widget客户端选择合适的开放能力提供方。如前面所举例子,如果在电信运营商1、电信运营商2、互联网业务提供商和家庭网络中,如果监控结果表明电信运营商1运行状态良好,则选取电信运营商1进行数据或服务的获取。Preferably, the Widget server can also monitor the open capability providers registered on it in real time, so as to obtain the running status of each open capability provider, and select a suitable open capability provider. As in the previous example, if in telecom operator 1, telecom operator 2, Internet service provider and home network, if the monitoring results show that telecom operator 1 is in good condition, then select telecom operator 1 for data or service Obtain.

之后,Widget服务器根据调用参数中所包括的Widget业务标识信息,确定Widget客户端希望获取什么样的数据或服务,则Widget服务器需要将包括该消息的特定请求消息发送给所选择的开放能力提供方。Afterwards, the Widget server determines what kind of data or service the Widget client wants to obtain according to the Widget service identification information included in the call parameter, and the Widget server needs to send a specific request message including the message to the selected open capability provider .

步骤206:开放能力提供方根据Widget服务器发送的请求消息向Widget服务器提供对应的数据或服务。Step 206: The open capability provider provides corresponding data or services to the Widget server according to the request message sent by the Widget server.

步骤207:Widget服务器接收开放能力提供方提供的数据或服务,并将该数据进行适配转换。Step 207: The Widget server receives the data or service provided by the open capability provider, and adapts and transforms the data.

在步骤207中,由于Widget客户端和开放能力提供方所采用的通信协议、数据帧格式等都可能不同,因此,从开放能力提供方所获取的数据或服务有可能并不能被Widget所直接使用,还需要Widget服务器对这些数据或服务进行相应转换,以能够被Widget客户端正常接收及显示。In step 207, since the communication protocols and data frame formats adopted by the Widget client and the open capability provider may be different, the data or services obtained from the open capability provider may not be directly used by the Widget , and the Widget server needs to convert these data or services accordingly so that they can be normally received and displayed by the Widget client.

另外,如果Widget客户端还在调用参数中指定了期望返回的结果格式,则Widget服务器也需要按照事先指定的格式对接收到的数据或服务进行相应转换。In addition, if the Widget client also specifies the expected return result format in the call parameter, the Widget server also needs to convert the received data or service according to the format specified in advance.

步骤208:Widget服务器将进行适配转换的数据或服务发送至Widget终端。Step 208: the Widget server sends the data or service to be adapted and transformed to the Widget terminal.

由于Widget服务器向Widget终端发送的数据经过了适配转换,已符合Widget客户端的各项标准,因此Widget客户端在接收到该数据或服务后可以直接使用并显示结果。Since the data sent by the Widget server to the Widget terminal has been adapted and transformed, and has met the standards of the Widget client, the Widget client can directly use and display the result after receiving the data or service.

本发明实施例所提供的一种网络开放能力使用方法,通过Widget服务器对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,在Widget客户端将该文件下载后使用时,Widget客户端只需解析出其中包括的特定标识,并通过向Widget服务器发送包括该特定标识的调用请求,使Widget服务器可以根据该调用请求为Widget客户端向开放能力提供方请求相应数据或服务。本发明实施例所提供的技术方案由于对开放能力提供方的开放能力进行了封装化处理,使得Widget使用者无需了解开放能力提供方的业务逻辑就可实现对众多开放能力的使用。In the method for using the network open capability provided by the embodiment of the present invention, the Widget server encapsulates and develops the open capability of the open capability provider to generate a Widget file including a specific identifier. When the Widget client downloads the file and uses it, the Widget The client only needs to parse out the specific identifier contained therein, and send a calling request including the specific identifier to the Widget server, so that the Widget server can request corresponding data or services from the open capability provider for the Widget client according to the calling request. The technical solution provided by the embodiment of the present invention encapsulates the open capabilities of the open capability provider, so that Widget users can use many open capabilities without knowing the business logic of the open capability provider.

相应地,本发明实施例还提供了一种网络开放能力使用系统,该系统结构如图3所示,包括:Widget服务器301、Widget客户端302和开放能力提供方303,其中,Correspondingly, the embodiment of the present invention also provides a network open capability utilization system, the system structure is shown in Figure 3, including: Widget server 301, Widget client 302 and open capability provider 303, wherein,

Widget服务器301,用于对开放能力提供方303的开放能力进行封装并开发生成包括特定标识的Widget文件。The Widget server 301 is configured to package the open capabilities of the open capability provider 303 and develop and generate a Widget file including a specific identifier.

Widget客户端302,用于从Widget服务器301下载所述包括特定标识的Widget文件;对所述Widget文件解析构造生成对所述开放能力提供方303开放能力的调用请求,所述调用请求中携带所述特定标识,并将所述调用请求发送至Widget服务器301。The Widget client 302 is configured to download the Widget file including a specific identifier from the Widget server 301; analyze and construct the Widget file to generate a call request for the open capability of the open capability provider 303, and the call request carries the the specific identifier, and send the calling request to the Widget server 301.

在本实施例中,Widget服务器301还用于接收Widget客户端302发送的对所述开放能力提供方303开放能力的调用请求。In this embodiment, the Widget server 301 is further configured to receive an invocation request sent by the Widget client 302 to the open capability provider 303 to open the capability.

在本实施例中,Widget服务器301还用于解析所述调用请求以获取包括所述特定标识的调用参数,并根据所述调用参数从对应开放能力提供方303获取对应的数据信息或服务;In this embodiment, the Widget server 301 is further configured to parse the invocation request to obtain invocation parameters including the specific identifier, and obtain corresponding data information or services from the corresponding open capability provider 303 according to the invocation parameters;

在本实施例中,Widget服务器301还用于将接收到的所述数据信息或服务进行适配转换并返回至所述Widget客户端302。In this embodiment, the Widget server 301 is further configured to adapt and transform the received data information or service and return it to the Widget client 302 .

本发明实施例所提供的一种网络开放能力使用系统,通过Widget服务器对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,在Widget客户端将该文件下载后使用时,Widget客户端只需对Widget文件进行解析,并通过向Widget服务器发送包括该特定标识的调用请求,使Widget服务器可以根据该调用请求为Widget客户端向开放能力提供方请求相应数据或服务。本发明实施例所提供的技术方案由于对开放能力提供方的开放能力进行了封装化处理,使得Widget使用者无需了解开放能力提供方的业务逻辑就可实现对众多开放能力的使用。In the system for using the network open capability provided by the embodiment of the present invention, the Widget server encapsulates and develops the open capability of the open capability provider to generate a Widget file including a specific identifier. When the Widget client downloads the file and uses it, the Widget The client only needs to parse the Widget file, and send a call request including the specific identifier to the Widget server, so that the Widget server can request corresponding data or services from the open capability provider for the Widget client according to the call request. The technical solution provided by the embodiment of the present invention encapsulates the open capabilities of the open capability provider, so that Widget users can use many open capabilities without knowing the business logic of the open capability provider.

更进一步,本发明实施例还提供了一种Widget服务器,该服务器具体结构如图4所示,主要包括:Furthermore, the embodiment of the present invention also provides a Widget server, the specific structure of which is shown in Figure 4, mainly including:

封装开发单元401,用于对开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件;An encapsulation development unit 401, configured to encapsulate the open capabilities of the open capability provider and develop and generate a Widget file including a specific identifier;

接收单元402,用于接收Widget客户端发送的对所述开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对所述Widget文件解析构造生成,所述调用请求中携带所述特定标识;The receiving unit 402 is configured to receive an invocation request for the open capability of the open capability provider sent by the Widget client, the invocation request is generated by the Widget client by parsing and constructing the Widget file, and the invocation request carries said specific identification;

获取单元403,用于根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;An obtaining unit 403, configured to obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier;

适配转换单元404,用于将获取单元403接收到的所述数据信息或服务进行适配转换;an adaptation conversion unit 404, configured to perform adaptation conversion on the data information or service received by the acquisition unit 403;

发送单元405,用于将进行适配转换后的数据信息或服务发送至所述Widget客户端。The sending unit 405 is configured to send the data information or service after adaptation and conversion to the Widget client.

其中,对于获取单元403还用于解析所述调用请求获取包括所述特定标识的调用参数,根据所述包括所述特定标识的调用参数从所述开放能力提供方获取对应的数据信息或服务,还可进一步包括如图5所示结构:Wherein, the obtaining unit 403 is further configured to parse the call request to obtain the call parameter including the specific identifier, and obtain corresponding data information or services from the open capability provider according to the call parameter including the specific identifier, Also can further comprise structure as shown in Figure 5:

解析子单元501,用于解析所述调用请求获取包括所述特定标识的调用参数;A parsing subunit 501, configured to parse the call request to obtain call parameters including the specific identifier;

发送子单元502,用于根据所述包括所述特定标识的调用参数向对应开放能力提供方发送数据信息或服务请求消息;A sending subunit 502, configured to send data information or a service request message to a corresponding open capability provider according to the invocation parameter including the specific identifier;

接收子单元503,用于接收所述对应开放能力提供方发送的数据信息或服务。The receiving subunit 503 is configured to receive data information or services sent by the corresponding open capability provider.

本发明实施例所提供的一种Widget服务器,该Widget服务器将开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件,由Widget客户端将该文件下载后使用时,该Widget服务器通过接收Widget客户端发送的包括所述特定标识的调用请求,并根据该调用请求为Widget客户端向开放能力提供方请求相应的数据信息或服务。本发明实施例所提供的技术方案由于对开放能力提供方的开放能力进行了封装化处理,使得Widget使用者无需了解开放能力提供方的业务逻辑就可实现对众多开放能力的使用。In the Widget server provided by the embodiment of the present invention, the Widget server encapsulates the open capability of the open capability provider and develops and generates a Widget file including a specific identifier. When the Widget client downloads the file and uses it, the Widget server By receiving the invocation request sent by the Widget client and including the specific identifier, and requesting corresponding data information or services from the open capability provider for the Widget client according to the invocation request. The technical solution provided by the embodiment of the present invention encapsulates the open capabilities of the open capability provider, so that Widget users can use many open capabilities without knowing the business logic of the open capability provider.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM(Read-Only Memory,只读存储记忆体)、RAM(RandomAccess Memory,随机存储记忆体)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the foregoing method embodiments; and the aforementioned storage medium includes: ROM (Read-Only Memory, read-only storage memory), RAM (Random Access Memory, random storage memory), magnetic disk or optical disc, etc. various programs that can be stored The medium of the code.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1.一种网络开放能力使用方法,其特征在于,包括:1. A method for using a network open capability, comprising: 接收Widget客户端发送的对开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对下载的对所述开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件进行解析构造生成,所述调用请求中携带所述特定标识;Receive the invocation request for the open capability of the open capability provider sent by the Widget client, and the invocation request encapsulates the downloaded open capability of the open capability provider by the Widget client and develops and generates a Widget including a specific identifier The file is generated by parsing and constructing, and the calling request carries the specific identifier; 根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;Obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier; 将接收到的所述数据信息或服务进行适配转换并返回至所述Widget客户端。Adapting and transforming the received data information or service and returning it to the Widget client. 2.根据权利要求1所述的方法,其特征在于,所述对开放能力提供方的开放能力进行封装包括:对处于同一网络的开放能力提供方的开放能力进行同一网络能力封装;或者,对处于异构网络的开放能力提供方的开放能力进行跨网络能力封装。2. The method according to claim 1, wherein said encapsulating the open capability of the open capability provider comprises: encapsulating the same network capability for the open capability of the open capability provider in the same network; The open capabilities of the open capability provider in the heterogeneous network perform cross-network capability encapsulation. 3.根据权利要求1所述的方法,其特征在于,所述对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,包括:3. The method according to claim 1, wherein said packaging and developing the open capability of the open capability provider generates a Widget file including a specific identifier, including: 将所述开放能力提供方的开放能力进行封装开发生成包括特定统一资源定位符或者特定接入码的Widget文件;或者,Encapsulate and develop the open capability of the open capability provider to generate a Widget file including a specific uniform resource locator or a specific access code; or, 将所述开放能力提供方的开放能力进行封装开发生成包括特定扩展HTML标签的Widget文件;或者,Encapsulate and develop the open capabilities of the open capability provider to generate a Widget file including specific extended HTML tags; or, 将所述开放能力提供方的开放能力进行封装开发生成包括特定JavaScript对象的Widget文件。Encapsulate and develop the open capabilities of the open capability provider to generate a Widget file including a specific JavaScript object. 4.根据权利要求1所述的方法,其特征在于,所述接收所述Widget客户端发送的对所述开放能力提供方开放能力的调用请求,包括:4. The method according to claim 1, wherein the receiving the call request sent by the Widget client to the open capability of the open capability provider comprises: 接收所述Widget客户端发送的对所述开放能力提供方开放能力的统一能力封装接口的调用请求。receiving a call request sent by the Widget client for the unified capability encapsulation interface of the open capability of the open capability provider. 5.根据权利要求1所述的方法,其特征在于,所述根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务的步骤包括;5. The method according to claim 1, wherein the step of obtaining corresponding data information or services from the open capability provider according to the call request carrying the specific identifier comprises; 解析所述调用请求获取包括所述特定标识的调用参数;Analyzing the call request to obtain call parameters including the specific identifier; 根据所述包括所述特定标识的调用参数从所述开放能力提供方获取对应的数据信息或服务。Obtain corresponding data information or services from the open capability provider according to the invocation parameter including the specific identifier. 6.根据权利要求5所述的方法,其特征在于,所述根据所述包括所述特定标识的调用参数从所述开放能力提供方获取对应的数据信息或服务,包括:6. The method according to claim 5, wherein the obtaining corresponding data information or services from the open capability provider according to the invocation parameters including the specific identification includes: 根据所述包括所述特定标识的调用参数向所述开放能力提供方发送数据信息或服务请求消息;Sending data information or a service request message to the open capability provider according to the call parameter including the specific identifier; 接收所述对应开放能力提供方发送的数据信息或服务。Receive data information or services sent by the corresponding open capability provider. 7.根据权利要求5所述的方法,其特征在于,所述根据所述调用参数向所述开放能力提供方发送数据或服务请求消息,包括:7. The method according to claim 5, wherein the sending a data or service request message to the open capability provider according to the call parameter comprises: 根据所述调用参数包括的所述特定标识对所述开放能力提供方进行选择,向选择得到的开放能力提供方发送数据或服务请求消息。Select the open capability provider according to the specific identifier included in the call parameter, and send a data or service request message to the selected open capability provider. 8.根据权利要求1所述的方法,其特征在于,所述将接收到的所述数据信息或服务进行适配转换,包括:8. The method according to claim 1, wherein said performing adaptation conversion on the received data information or service comprises: 将所述接收到的所述数据信息或服务进行协议转换和/或数据转换。Perform protocol conversion and/or data conversion on the received data information or service. 9.一种网络开放能力使用系统,其特征在于,包括:Widget服务器、Widget客户端和开放能力提供方,其中,9. A system for using network open capabilities, comprising: a Widget server, a Widget client, and an open capability provider, wherein, 所述Widget服务器,用于对开放能力提供方的开放能力进行封装并开发生成包括特定标识的Widget文件,供Widget客户端进行下载;其具体包括:The Widget server is used to encapsulate the open capabilities of the open capability provider and develop and generate a Widget file including a specific identification for the Widget client to download; it specifically includes: 接收单元,用于接收所述Widget客户端发送的对所述开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对所述Widget文件解析构造生成,所述调用请求中携带所述特定标识;A receiving unit, configured to receive an invocation request for the open capability of the open capability provider sent by the Widget client, the invocation request is generated by the Widget client by analyzing and constructing the Widget file, and in the invocation request carry said specific identification; 获取单元,用于根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;An obtaining unit, configured to obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier; 适配转换单元,用于将所述数据信息或服务进行适配转换;an adaptation conversion unit, configured to perform adaptation conversion on the data information or service; 发送单元,用于将进行适配转换后的数据信息或服务发送至所述Widget客户端;a sending unit, configured to send the data information or service after adaptation and conversion to the Widget client; 所述Widget客户端,用于下载所述包括特定标识的Widget文件,对所述Widget文件解析构造生成对所述开放能力提供方开放能力的调用请求,所述调用请求中携带所述特定标识。The Widget client is configured to download the Widget file including the specific identifier, parse and construct the Widget file to generate an invocation request for the open capability of the open capability provider, and the invocation request carries the specific identifier. 10.根据权利要求9所述的网络开放能力使用系统,其特征在于,所述Widget服务器还用于解析所述调用请求获取包括所述特定标识的调用参数,根据所述包括所述特定标识的调用参数从所述开放能力提供方获取对应的数据信息或服务。10. The system for using the network openness capability according to claim 9, wherein the Widget server is further configured to parse the call request to obtain a call parameter including the specific identifier, and according to the call parameter including the specific identifier The calling parameter obtains the corresponding data information or service from the open capability provider. 11.一种Widget服务器,其特征在于,所述Widget服务器对开放能力提供方的开放能力进行封装开发生成包括特定标识的Widget文件,供Widget客户端进行下载,包括:11. A Widget server, characterized in that, the Widget server encapsulates and develops the open capability of the open capability provider to generate a Widget file including a specific identification, for the Widget client to download, including: 接收单元,用于接收所述Widget客户端发送的对所述开放能力提供方开放能力的调用请求,所述调用请求由所述Widget客户端对所述Widget文件解析构造生成,所述调用请求中携带所述特定标识;A receiving unit, configured to receive an invocation request for the open capability of the open capability provider sent by the Widget client, the invocation request is generated by the Widget client by analyzing and constructing the Widget file, and in the invocation request carry said specific identification; 获取单元,用于根据携带所述特定标识的调用请求从所述开放能力提供方获取对应的数据信息或服务;An obtaining unit, configured to obtain corresponding data information or services from the open capability provider according to the call request carrying the specific identifier; 适配转换单元,用于将所述数据信息或服务进行适配转换;an adaptation conversion unit, configured to perform adaptation conversion on the data information or service; 发送单元,用于将进行适配转换后的数据信息或服务发送至所述Widget客户端。A sending unit, configured to send the data information or service after adaptation and conversion to the Widget client. 12.根据权利要求11所述的Widget服务器,其特征在于,所述获取单元包括:12. The Widget server according to claim 11, wherein the acquiring unit comprises: 解析子单元,用于解析所述调用请求获取包括所述特定标识的调用参数;A parsing subunit, configured to parse the call request to obtain call parameters including the specific identifier; 发送子单元,用于根据所述包括所述特定标识的调用参数向对应开放能力提供方发送数据信息或服务请求消息;A sending subunit, configured to send data information or a service request message to a corresponding open capability provider according to the invocation parameter including the specific identifier; 接收子单元,用于接收所述对应开放能力提供方发送的数据信息或服务。The receiving subunit is configured to receive data information or services sent by the corresponding open capability provider.
CN2009101615074A 2009-07-24 2009-07-24 Method, system and device for using network open ability Active CN101964742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101615074A CN101964742B (en) 2009-07-24 2009-07-24 Method, system and device for using network open ability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101615074A CN101964742B (en) 2009-07-24 2009-07-24 Method, system and device for using network open ability

Publications (2)

Publication Number Publication Date
CN101964742A CN101964742A (en) 2011-02-02
CN101964742B true CN101964742B (en) 2012-05-23

Family

ID=43517484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101615074A Active CN101964742B (en) 2009-07-24 2009-07-24 Method, system and device for using network open ability

Country Status (1)

Country Link
CN (1) CN101964742B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8862655B2 (en) * 2009-12-30 2014-10-14 Zte Corporation Services cloud system and service realization method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594859B (en) * 2011-12-06 2018-09-11 中兴通讯股份有限公司 A kind of rendering method of business datum, terminal, server and system
CN107612722A (en) * 2017-08-31 2018-01-19 江苏省公用信息有限公司 Open platform and its implementation based on 4GQoS networks
CN110784543B (en) * 2019-10-31 2022-07-01 武汉天喻教育科技有限公司 Application widget module and access and push method thereof
CN111124610B (en) * 2019-12-19 2024-01-23 北京炎黄盈动科技发展有限责任公司 Application program calling method, device and storage medium in application container

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1241593A2 (en) * 2001-03-16 2002-09-18 Microsoft Corporation Method and system for interacting with devices having different capabilities
US7263551B2 (en) * 2000-06-22 2007-08-28 Microsoft Corporation Distributed computing services platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263551B2 (en) * 2000-06-22 2007-08-28 Microsoft Corporation Distributed computing services platform
EP1241593A2 (en) * 2001-03-16 2002-09-18 Microsoft Corporation Method and system for interacting with devices having different capabilities

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8862655B2 (en) * 2009-12-30 2014-10-14 Zte Corporation Services cloud system and service realization method

Also Published As

Publication number Publication date
CN101964742A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
CN109857515B (en) Bridge communication method, device, device and computer-readable storage medium
CN101854371B (en) The method called and process of JavaScript object, device
US7894431B2 (en) System and method for communicating asynchronously with web services using message set definitions
CN101939964B (en) Adaptive Streaming for On-Demand Wireless Services
US8219970B2 (en) XML push and remote execution of a wireless applications
CN102184266B (en) Method for automatically generating dynamic wireless application protocol (WAP) website for separation of page from data
CN100479564C (en) Method and system for realizing separation of service platform and gate
US7920852B2 (en) Compression of data transmitted between server and mobile device
US20120017222A1 (en) Interface For Telecommunication Services Using Uniform Resource Identifiers
EP2418825A1 (en) Method and system for generating open telecommunication service based on internet
CN106302103B (en) Information processing method and system and application server
CN101695032A (en) Unified web client, service configuration method and system thereof
WO2010072159A1 (en) Method and system for acquiring interface data and digital television receiving terminal
WO2011038564A1 (en) Adaptive method and system for screen display of mobile terminal in network application
WO2012155678A1 (en) Method and terminal for developing mobile phone application interface based on browser parsing manner
CN101964742B (en) Method, system and device for using network open ability
CN102799477A (en) Resource access method and apparatus
WO2013174080A1 (en) Interface display method and system of home gateway applicable to multiple display types
CN102203734B (en) Conditional processing method and apparatus
CN103596135A (en) Method of realizing message pushing and general message platform
CN106933623B (en) Operation method, device and system of installation-free application
CN113918245A (en) A data calling method, apparatus, device and computer-readable storage medium
CN103917951A (en) Application invocation method, operating system and browser
CN103702221B (en) The content issue presentation system and issue rendering method of Online Video
KR100670605B1 (en) Multimedia contents service system and method and recording medium thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201106

Address after: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20201106

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
CP02 Change in the address of a patent holder

Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.

CP02 Change in the address of a patent holder
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载