CN103200266B - To method, network applications manager and system that network application manages - Google Patents
To method, network applications manager and system that network application manages Download PDFInfo
- Publication number
- CN103200266B CN103200266B CN201310121509.7A CN201310121509A CN103200266B CN 103200266 B CN103200266 B CN 103200266B CN 201310121509 A CN201310121509 A CN 201310121509A CN 103200266 B CN103200266 B CN 103200266B
- Authority
- CN
- China
- Prior art keywords
- network application
- network
- configuration information
- application
- manager
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,具体涉及一种对网络应用进行管理的方法、网络应用管理器及系统。The invention relates to the communication field, in particular to a method for managing network applications, a network application manager and a system.
背景技术Background technique
随着互联网的高速发展,出现了整合各种网络应用的大型网站,这些大型网站通常会在网页的某些位置呈现工具条(Toolbar),在该工具条上可以装载各种网络应用(Web App)。其中,上述呈现工具条的页面为了实现对工具条的呈现效果,首先需要将该工具条嵌入到该页面上,要嵌入工具条的页面习惯上称为宿主页面。With the rapid development of the Internet, there have been large-scale websites that integrate various network applications. These large-scale websites usually display toolbars (Toolbar) at certain positions on the webpage, and various network applications (Web Apps) can be loaded on the toolbar. ). Wherein, in order to achieve the effect of presenting the tool bar, the above-mentioned page presenting the tool bar first needs to embed the tool bar on the page, and the page to embed the tool bar is conventionally called a host page.
目前,为了将工具条嵌入到客户端的宿主页面上,并实现对宿主页面的工具条上的各个网络应用的管理,最常见的技术方案是:预先将各个网络应用的JS代码(即javascript代码)集中在一起,形成一个JS库。当工具条要嵌入到某个宿主页面时,首先会将上述的JS库下载到该宿主页面,同时该宿主页面还会向要嵌入的工具条提供该宿主页面的宿主信息,然后,由该工具条根据宿主信息来确定上述的JS库中的各段JS代码是否需要显示或隐藏,从而达到根据宿主页面的要求在工具条上显示相应的网络应用的目的。At present, in order to embed the tool bar on the host page of the client and realize the management of each network application on the tool bar of the host page, the most common technical solution is: pre-install the JS code (ie javascript code) of each network application Collected together to form a JS library. When the tool bar is to be embedded into a host page, the above-mentioned JS library will be downloaded to the host page first, and the host page will also provide the host page’s host information to the tool bar to be embedded, and then the tool will The bar determines whether each piece of JS code in the above JS library needs to be displayed or hidden according to the host information, so as to achieve the purpose of displaying the corresponding network application on the tool bar according to the requirements of the host page.
在上述方式中,主要存在着以下缺陷:由于每一网络应用的相关信息都是以硬编码的方式直接通过JS代码写在JS库中的,当需要添加或删除某一网络应用时,必须对JS代码进行修改并重新发布,而这一过程必须要中断工具条的运行才能完成。因此,该方式无法在宿主页面的运行过程中动态管理(例如添加或删除)工具条上的网络应用,给网络应用的管理带来了不便。In the above method, there are mainly the following defects: since the relevant information of each network application is written in the JS library directly through the JS code in a hard-coded manner, when it is necessary to add or delete a certain network application, it must be The JS code is modified and republished, and this process must be interrupted to complete the operation of the toolbar. Therefore, this method cannot dynamically manage (for example, add or delete) the network application on the toolbar during the running of the host page, which brings inconvenience to the management of the network application.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的对网络应用进行管理的方法、网络应用管理器及系统。In view of the above problems, the present invention is proposed to provide a method for managing network applications, a network application manager and a system that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种在网络应用平台客户端上对网络应用进行管理的方法,该网络应用平台包括一个或者多个网络应用,该网络应用平台客户端适于呈现网页以及相关联的脚本,该方法包括:在网络应用平台客户端处加载网络应用管理器;由网络应用管理器获取该网络应用平台中的各网络应用的配置信息,网络应用配置信息包括:网络应用的显示状态以及该网络应用的路径信息,其中显示状态包括展现和隐藏;对于显示状态为展现的网络应用,从该网络应用对应的路径信息处获取该网络应用;以及由网络应用管理器加载所获取的网络应用。According to one aspect of the present invention, a method for managing network applications on a network application platform client is provided, the network application platform includes one or more network applications, and the network application platform client is suitable for presenting web pages and related A linked script, the method includes: loading a network application manager at a network application platform client; obtaining configuration information of each network application in the network application platform by the network application manager, and the network application configuration information includes: displaying of the network application State and path information of the network application, wherein the display state includes display and hide; for a network application whose display state is display, obtain the network application from the path information corresponding to the network application; and load the obtained network application by the network application manager Internet application.
可选地,根据本发明的方法还包括步骤:网络应用管理器每隔预设的时间间隔获取各网络应用的配置信息,当所获取到的网络应用的配置信息发生改变时,根据改变后的网络应用配置信息改变所加载的网络应用。Optionally, the method according to the present invention further includes a step: the network application manager acquires the configuration information of each network application at a preset time interval, and when the acquired configuration information of the network application changes, according to the changed network The application configuration information changes the loaded web application.
可选地,根据改变后的网络应用配置信息改变所加载的网络应用的步骤包括:确定显示状态发生改变的网络应用;卸载显示状态从展现变为隐藏的网络应用,以及加载显示状态从隐藏变为展现的网络应用。Optionally, the step of changing the loaded network application according to the changed network application configuration information includes: determining the network application whose display state has changed; unloading the network application whose display state changes from displayed to hidden, and loading the displayed state from hidden to hidden. Web application for presentation.
可选地,其中网络应用定义了加载网络应用的加载接口和卸载网络应用的卸载接口,而且网络应用管理器通过调用加载接口来加载网络应用,并且通过调用卸载接口来卸载网络应用。Optionally, the network application defines a loading interface for loading the network application and an unloading interface for unloading the network application, and the network application manager loads the network application by calling the loading interface, and unloads the network application by calling the unloading interface.
可选地,网络应用配置信息还包括:每个网络应用的图标对应的图片地址、每个网络应用对应的网络链接地址、以及每个网络应用在网络应用平台客户端上的呈现位置。Optionally, the network application configuration information further includes: the picture address corresponding to the icon of each network application, the network link address corresponding to each network application, and the presentation position of each network application on the network application platform client.
可选地,其中网络应用平台客户端包括呈现在网页上的工具条,每个网络应用都具有在工具条上的呈现位置。Optionally, the network application platform client includes a tool bar presented on the webpage, and each network application has a presentation position on the tool bar.
依据本发明的另一方面,提供了一种在网络应用平台客户端上对网络应用进行管理的网络应用管理器,其中,该网络应用管理器加载到网络应用平台客户端处,该网络应用平台包括一个或者多个网络应用,该网络应用平台客户端适于呈现网页以及相关联的脚本,该网络应用管理器包括:配置信息获取模块,适于获取该网络应用平台中的各网络应用的配置信息,网络应用配置信息包括:网络应用的显示状态以及该网络应用的路径信息,其中显示状态包括展现和隐藏;网络应用获取模块,适于从网络应用对应的路径信息处获取显示状态为展现的网络应用;网络应用加载模块,适于加载网络应用获取模块所获取的网络应用。According to another aspect of the present invention, a network application manager for managing network applications on a network application platform client is provided, wherein the network application manager is loaded to the network application platform client, and the network application platform Including one or more network applications, the network application platform client is suitable for presenting web pages and associated scripts, the network application manager includes: a configuration information acquisition module, adapted to obtain the configuration of each network application in the network application platform information, the network application configuration information includes: the display state of the network application and the path information of the network application, wherein the display state includes showing and hiding; the network application acquisition module is adapted to obtain the display state from the path information corresponding to the network application. A network application; a network application loading module, suitable for loading the network application obtained by the network application obtaining module.
可选地,配置信息获取模块每隔预设的时间间隔获取各网络应用的配置信息,当所获取到的网络应用的配置信息发生改变时,通知网络应用加载模块根据改变后的网络应用配置信息改变所加载的网络应用。Optionally, the configuration information acquisition module acquires the configuration information of each network application at preset time intervals, and when the acquired configuration information of the network application changes, notify the network application loading module to change according to the changed network application configuration information The loaded web application.
可选地,网络应用加载模块进一步适于:确定显示状态发生改变的网络应用;卸载显示状态从展现变为隐藏的网络应用,以及加载显示状态从隐藏变为展现的网络应用。Optionally, the web application loading module is further adapted to: determine the web application whose display state has changed; unload the web application whose display state changes from displayed to hidden, and load the web application whose display state changes from hidden to displayed.
可选地,其中网络应用定义了加载网络应用的加载接口和卸载网络应用的卸载接口,而且网络应用加载模块通过调用加载接口来加载网络应用,并且通过调用卸载接口来卸载网络应用。Optionally, the network application defines a loading interface for loading the network application and an unloading interface for unloading the network application, and the network application loading module loads the network application by calling the loading interface, and unloads the network application by calling the unloading interface.
可选地,网络应用配置信息还包括:每个网络应用的图标对应的图片地址、每个网络应用对应的网络链接地址、以及每个网络应用在网络应用平台客户端上的呈现位置。Optionally, the network application configuration information further includes: the picture address corresponding to the icon of each network application, the network link address corresponding to each network application, and the presentation position of each network application on the network application platform client.
依据本发明的另一方面,提供了一种网络应用平台系统,包括:一个或者多个提供网络应用的服务器;多个网络应用平台客户端,适于呈现网页以及相关联的脚本,并与一个或者多个服务器进行交互来运行网络应用;以及根据本发明的网络应用管理器,当网络应用管理器加载到网络应用平台客户端上时,对网络应用进行管理。According to another aspect of the present invention, a network application platform system is provided, including: one or more servers providing network applications; multiple network application platform clients, suitable for presenting web pages and associated scripts, and communicating with a Or multiple servers interact to run the network application; and according to the network application manager of the present invention, when the network application manager is loaded on the network application platform client, it manages the network application.
可选地,其中网络应用平台客户端包括呈现在网页上的工具条,每个网络应用具有在工具条上的呈现位置。Optionally, the network application platform client includes a tool bar presented on the webpage, and each network application has a presentation position on the tool bar.
根据本发明的对网络应用进行管理的方法、网络应用管理器及系统,由网络应用管理器来实现对网络应用的管理,具体地,网络应用管理器获取各网络应用的配置信息,并根据配置信息确定要展现的网络应用,并从要展现的网络应用所对应的路径信息处获取并加载该网络应用。在本实施例中,除了在网络应用对应的路径信息处存储网络应用之外,还单独存储了网络应用的配置信息,从而可以根据配置信息来实现对网络应用的管理。由此解决了现有技术中存在的问题,取得了能够对网络应用进行动态管理的有益效果。According to the method for managing network applications, the network application manager and the system of the present invention, the management of network applications is implemented by the network application manager, specifically, the network application manager obtains the configuration information of each network application, and according to the configuration The information determines the network application to be displayed, and acquires and loads the network application from path information corresponding to the network application to be displayed. In this embodiment, in addition to storing the network application at the path information corresponding to the network application, the configuration information of the network application is also separately stored, so that the network application can be managed according to the configuration information. Therefore, the problems existing in the prior art are solved, and the beneficial effect of being able to dynamically manage network applications is achieved.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了本发明实施例提供的在网络应用平台客户端上对网络应用进行管理的方法流程图;以及FIG. 1 shows a flowchart of a method for managing network applications on a network application platform client provided by an embodiment of the present invention; and
图2示出了本发明实施例提供的网络应用平台系统的结构示意图。Fig. 2 shows a schematic structural diagram of a network application platform system provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
本发明实施例提供了一种在网络应用平台客户端上对网络应用进行管理的方法,该网络应用平台包括一个或者多个网络应用,该网络应用平台客户端适于呈现网页以及相关联的脚本,通过本发明实施例中的方法,能够灵活地对网络应用进行管理。An embodiment of the present invention provides a method for managing network applications on a network application platform client, the network application platform includes one or more network applications, and the network application platform client is suitable for presenting web pages and associated scripts , through the method in the embodiment of the present invention, the network application can be flexibly managed.
图1示出了本发明实施例提供的在网络应用平台客户端上对网络应用进行管理的方法流程图。可选地,在本实施例中,为了便于实现对各个网络应用的集中呈现及管理,该网络应用平台客户端包括呈现在网页(该网页主要是指背景技术部分提到的宿主页面)上的工具条,每个网络应用都具有在该工具条上的呈现位置。通过这种方式,可以将所有的网络应用都呈现在一个工具条上,从而实现了网络应用的集中呈现和管理,不仅管理方便,也便于用户使用这些网络应用。Fig. 1 shows a flowchart of a method for managing network applications on a network application platform client provided by an embodiment of the present invention. Optionally, in this embodiment, in order to facilitate the centralized presentation and management of various network applications, the network application platform client includes an The toolbar on which each web application has a rendering position. In this way, all network applications can be presented on one tool bar, thereby realizing centralized presentation and management of network applications, which is not only convenient for management, but also convenient for users to use these network applications.
该方法始于步骤S110,在步骤S110中,在网络应用平台客户端处加载网络应用管理器。The method starts with step S110, and in step S110, a network application manager is loaded on the network application platform client side.
该网络应用管理器可以通过代码嵌入到客户端的宿主页面上,当嵌入该网络应用管理器之后,客户端的宿主页面上将展现出一个工具条框架,该工具条框架可以根据需要展现在宿主页面的任意位置上,例如上方、下方等。The web application manager can be embedded into the host page of the client through code. After the web application manager is embedded, a tool bar frame will be displayed on the host page of the client, and the tool bar frame can be displayed on the host page as required. Any position, such as above, below, etc.
具体实现时,可通过如下代码来加载该网络应用管理器:In specific implementation, the network application manager can be loaded by the following code:
通过上述的JS代码,就可以将“彩票”的工具条框架嵌入到宿主页面中,以实现加载网络应用管理器的目的。Through the above JS code, the toolbar frame of the "lottery ticket" can be embedded into the host page, so as to realize the purpose of loading the web application manager.
通过步骤S110加载完上述的网络应用管理器之后,在步骤S120中,由该网络应用管理器获取该网络应用平台中预先存储的各网络应用的配置信息。该网络应用配置信息包括:每一网络应用的显示状态以及该网络应用的路径信息。其中,网络应用的路径信息是指该网络应用的资源文件所存储的路径,通过该路径信息可以获取该网络应用的资源文件。网络应用的资源文件是指具体实现该网络应用功能的JS代码。网络应用的显示状态包括展现和隐藏,通过网络应用的显示状态可以确定出需要加载哪些网络应用。After the above-mentioned network application manager is loaded in step S110, in step S120, the network application manager obtains the configuration information of each network application pre-stored in the network application platform. The network application configuration information includes: display status of each network application and path information of the network application. Wherein, the path information of the network application refers to the path stored in the resource file of the network application, and the resource file of the network application can be obtained through the path information. The resource file of the network application refers to the JS code that specifically realizes the function of the network application. The display state of the network application includes showing and hiding, and which network applications need to be loaded can be determined through the display state of the network application.
可选地,为了方便识别各个网络应用,网络应用配置信息中还可以进一步包括网络应用的标识信息(例如ID或标题)。为了以更吸引用户的方式呈现网络应用,网络应用配置信息还可以包括每个网络应用的图标对应的图片地址以及每个网络应用在网络应用平台客户端上的呈现位置,以便于显示网络应用对应的图标以及确定该网络应用的位置信息等。另外,网络应用配置信息还可以包括每个网络应用对应的网络链接地址,这样可以方便网络应用管理器根据该网络链接地址,从客户端获取该网络应用的更多功能。Optionally, in order to identify each network application conveniently, the network application configuration information may further include identification information (such as ID or title) of the network application. In order to present network applications in a more attractive way, the network application configuration information may also include the image address corresponding to the icon of each network application and the presentation position of each network application on the network application platform client, so as to display the corresponding icon and determine the location information of the network application, etc. In addition, the network application configuration information may also include the network link address corresponding to each network application, which can facilitate the network application manager to obtain more functions of the network application from the client according to the network link address.
上面描述的网络应用配置信息可以通过如下代码来定义并存储:The network application configuration information described above can be defined and stored by the following code:
在上述代码中,通过JSON格式分别定义了“logo”和“bbs”这两个网络应用的配置信息,这两个网络应用通过各自的ID号加以区分。以“logo”网络应用为例来说,通过"url":"//p0.qhimg.com/d/wan/u8/logo_qipai.png"定义了该网络应用的图标对应的图片地址,通过"link":"//qipai.360.cn"定义了该网络应用对应的网络链接地址,通过"app_active"定义了该网络应用的显示状态,通过"position"定义了该网络应用的呈现位置,通过"resource"定义了该网络应用的路径信息。In the above code, the configuration information of the two web applications "logo" and "bbs" are respectively defined in JSON format, and the two web applications are distinguished by their respective ID numbers. Taking the "logo" network application as an example, "url":"//p0.qhimg.com/d/wan/u8/logo_qipai.png" defines the image address corresponding to the icon of the network application, and through "link ":"//qipai.360.cn" defines the network link address corresponding to the network application, defines the display state of the network application through "app_active", defines the presentation position of the network application through "position", and defines the display position of the network application through " resource" defines the path information of the web application.
上述的网络应用配置信息可以存储在第一存储模块上,该第一存储模块可以设置在为该客户端提供服务的服务器上。因此,网络应用管理器通过访问该第一存储模块即可获取到其上存储的网络应用配置信息。The above-mentioned network application configuration information may be stored in the first storage module, and the first storage module may be set on the server providing services for the client. Therefore, the network application manager can acquire the network application configuration information stored therein by accessing the first storage module.
具体地,网络应用管理器在获取上述的网络应用配置信息时,可以使用AJAX技术来获取,例如,可以通过如下代码来完成获取过程:Specifically, when the network application manager obtains the above-mentioned network application configuration information, it may use AJAX technology to obtain it. For example, the following code may be used to complete the obtaining process:
通过上述代码,就完成了获取配置信息的操作。随后,在步骤S130中,对于显示状态为展现的网络应用,从该网络应用对应的路径信息处获取该网络应用。Through the above code, the operation of obtaining configuration information is completed. Subsequently, in step S130, for a network application whose display status is present, the network application is obtained from the path information corresponding to the network application.
具体地,在步骤S130中,首先需要分析步骤S120中获取的各网络应用的配置信息,从中确定出显示状态为展现的网络应用(即上述代码中"app_active"的取值为1的网络应用);然后进一步确定出显示状态为展现的网络应用的路径信息(即上述代码中的"resource"的取值),根据路径信息获取到这些显示状态为展现的网络应用。Specifically, in step S130, it is first necessary to analyze the configuration information of each network application acquired in step S120, and determine the network application whose display status is displayed (that is, the network application whose value of "app_active" in the above code is 1) ; Then further determine the path information of the network applications whose display status is displayed (that is, the value of "resource" in the above code), and obtain these network applications whose display status is displayed according to the path information.
上面已经介绍过,网络应用的路径信息是指该网络应用的资源文件所存储的路径,网络应用的资源文件是指具体实现该网络应用功能的JS代码。在本实施例中,各个网络应用的JS代码组成一个JS库,该JS库可以存储在第二存储模块上,该第二存储模块也可以设置在为该客户端提供服务的服务器上。可选择地,该JS库甚至也可以存储在上述的第一存储模块上。网络应用管理器通过访问该JS库来获取显示状态为展现的网络应用。除了上面描述的通过JS代码来实现网络应用功能的方式之外,本领域技术人员也可以采用其它的编程语言(例如PHP等)来实现网络应用的功能,相应地,当采用其它语言时,上述的JS库也相应地替换为其他的代码库(例如PHP库)。As mentioned above, the path information of the network application refers to the path stored in the resource file of the network application, and the resource file of the network application refers to the JS code that specifically realizes the function of the network application. In this embodiment, the JS codes of each network application form a JS library, which can be stored in the second storage module, and the second storage module can also be set on the server that provides services for the client. Optionally, the JS library can even be stored in the above-mentioned first storage module. The network application manager obtains the network application whose display status is displayed by accessing the JS library. In addition to the method of implementing network application functions through JS code described above, those skilled in the art can also use other programming languages (such as PHP) to implement network application functions. Correspondingly, when using other languages, the above The JS library is also replaced with other code libraries (such as PHP libraries) accordingly.
另外,由于在配置信息中,针对每个网络应用都提供了相关联的路径信息,所以,实现各个网络应用功能的JS代码也可以分别存储在不同的服务器上。In addition, since the associated path information is provided for each network application in the configuration information, the JS codes implementing the functions of each network application may also be stored on different servers.
接下来,在步骤S140中,由网络应用管理器加载所获取的网络应用。Next, in step S140, the acquired network application is loaded by the network application manager.
上述JS库由多个JS文件组成,每个JS文件中可以存储一个或多个网络应用的JS代码,或者存储一个网络应用的部分JS代码。多个JS文件之间采用松散的管理结构组合。可选地,在网络应用的JS文件中定义了加载网络应用的加载接口和卸载网络应用的卸载接口。网络应用管理器通过调用该加载接口来加载网络应用,通过调用该卸载接口来卸载网络应用(关于卸载网络应用的时机和方式将在后面进行介绍)。The above-mentioned JS library is composed of multiple JS files, and each JS file can store JS codes of one or more network applications, or store part of JS codes of a network application. A loose management structure combination is adopted between multiple JS files. Optionally, a loading interface for loading the web application and an unloading interface for unloading the web application are defined in the JS file of the web application. The network application manager loads the network application by calling the loading interface, and unloads the network application by calling the unloading interface (the timing and method of unloading the network application will be described later).
关于网络应用的加载接口和卸载接口可通过如下代码来定义:The loading interface and unloading interface of web applications can be defined by the following code:
通过上面的代码,为每个网络应用都定义了用于加载该网络应用的init接口函数,以及用于卸载该网络应用的destroy接口函数。因此,当网络应用管理器需要加载或卸载某一网络应用时,只需调用该网络应用的init接口函数或destroy接口函数即可。通过这样的方式,网络应用管理器可以一次只加载或卸载一个网络应用,而无需对整个JS库进行改动,也不会影响到其他的网络应用。Through the above code, an init interface function for loading the network application and a destroy interface function for unloading the network application are defined for each network application. Therefore, when the network application manager needs to load or unload a certain network application, it only needs to call the init interface function or the destroy interface function of the network application. In this way, the web application manager can only load or unload one web application at a time without changing the entire JS library or affecting other web applications.
具体地,网络应用管理器在加载网络应用时可通过如下代码实现:Specifically, the network application manager can implement the following code when loading the network application:
在上述代码中,通过init接口函数来实现对网络应用的加载。In the above code, the loading of the network application is implemented through the init interface function.
通过上面介绍的方式,就实现了本发明实施例提供的对网络应用进行管理的方法。在上述的管理方法中,主要实现了对网络应用的初始加载过程,以便于将需要显示的网络应用显示在客户端宿主页面的工具条上。Through the manner described above, the method for managing network applications provided by the embodiment of the present invention is realized. In the above management method, the initial loading process of the network application is mainly implemented, so that the network application to be displayed can be displayed on the tool bar of the client host page.
而且,在上面介绍的方式中,可以在网络应用的配置信息中通过position参数定义网络应用在工具条上的呈现位置,从而可以灵活地确定各个网络应用在工具条上的位置。Moreover, in the manner described above, the presentation position of the web application on the toolbar can be defined through the position parameter in the configuration information of the web application, so that the position of each web application on the toolbar can be flexibly determined.
另外,由于在客户端宿主页面的显示过程中,还可能需要对工具条上显示的网络应用进行进一步地管理,例如,根据用户的需要,或者,根据服务器的运行情况,可能需要对一些原本隐藏的网络应用进行展现,对一些原本展现的网络应用进行隐藏,对此,就可能需要对相应的网络应用进行动态加载或卸载的操作。In addition, during the display process of the client host page, it may be necessary to further manage the network applications displayed on the tool bar. The network application is displayed, and some originally displayed network applications are hidden. For this, it may be necessary to perform a dynamic loading or unloading operation on the corresponding network application.
可选地,为了实现对网络应用的动态管理,服务器会根据实际需求修改网络应用的配置信息,相应地,网络应用管理器每隔预设的时间间隔从服务器获取各网络应用的配置信息,当所获取到的网络应用的配置信息发生改变时,根据改变后的网络应用配置信息改变所加载的网络应用。具体地,网络应用管理器可以通过轮询技术与服务器上存储网络应用配置信息的模块保持连接,例如,可以每隔五分钟向存储网络应用配置信息的模块发起一个http请求,获取当前的网络应用配置信息,并在当前的网络应用配置信息与上一次获取到的网络应用配置信息相比发生改变时,根据改变情况来动态管理网络应用。或者,也可以由存储网络应用配置信息的模块在网络应用配置信息发生改变时主动地将改变后的网络应用配置信息发送给网络应用管理器。Optionally, in order to implement dynamic management of network applications, the server will modify the configuration information of the network applications according to actual needs. Correspondingly, the network application manager obtains the configuration information of each network application from the server at preset time intervals. When the acquired configuration information of the network application changes, the loaded network application is changed according to the changed network application configuration information. Specifically, the network application manager can maintain a connection with the module storing network application configuration information on the server through polling technology. For example, it can initiate an http request to the module storing network application configuration information every five minutes to obtain the current network application configuration information. configuration information, and when the current network application configuration information changes compared with the network application configuration information acquired last time, the network application is dynamically managed according to the change situation. Alternatively, the module storing the network application configuration information may also actively send the changed network application configuration information to the network application manager when the network application configuration information changes.
具体地,当网络应用管理器发现网络应用配置信息发生改变时,确定显示状态发生改变的网络应用;卸载显示状态从展现变为隐藏的网络应用,以及加载显示状态从隐藏变为展现的网络应用。Specifically, when the network application manager finds that the configuration information of the network application has changed, determine the network application whose display state has changed; unload the network application whose display state changes from display to hidden, and load the network application whose display state changes from hidden to display .
其中,加载显示状态从隐藏变为展现的网络应用的具体过程可参照步骤S140中的加载方式执行。卸载显示状态从展现变为隐藏的网络应用的具体过程可通过调用destroy接口函数实现,根据本发明的一个实施例,实现卸载的具体代码如下:Wherein, the specific process of loading the network application whose display status changes from hidden to displayed can be executed with reference to the loading method in step S140. The specific process of uninstalling the network application whose display state changes from displayed to hidden can be realized by calling the destroy interface function. According to an embodiment of the present invention, the specific code for realizing uninstallation is as follows:
由于本发明实施例中,对每个网络应用都定义了统一的加载接口和卸载接口,因此,在加载网络应用时,可以通过模块化的方式有选择地加载或卸载某一网络应用,而不影响其余网络应用的正常运行,使得加载或卸载网络应用的操作过程灵活且方便。而且,当需要添加或删除某一网络应用时,无需对JS代码进行修改并重新发布,因此也不需要中断工具条的运行。Since in the embodiment of the present invention, a unified loading interface and an unloading interface are defined for each network application, therefore, when loading a network application, a certain network application can be selectively loaded or unloaded in a modular manner without It affects the normal operation of other network applications, making the operation process of loading or unloading network applications flexible and convenient. Moreover, when a certain network application needs to be added or deleted, there is no need to modify and republish the JS code, so there is no need to interrupt the operation of the toolbar.
本发明实施例还提供了一种在网络应用平台客户端上对网络应用进行管理的网络应用管理器。图2示出了包含该网络应用管理器的网络应用平台系统的结构示意图。其中,网络应用平台包括一个或多个网络应用。网络应用平台系统包括服务器400以及网络应用平台客户端200(以下简称客户端200)。其中,服务器400用于为客户端200提供各类服务,服务器400的数量可以为一个或多个。客户端200的数量通常为多个,其中每个客户端例如可以是各种PC机或各类移动设备(例如手机、掌上电脑)等。上述的客户端200适于呈现网页以及相关联的脚本。The embodiment of the present invention also provides a network application manager for managing network applications on a network application platform client. Fig. 2 shows a schematic structural diagram of a network application platform system including the network application manager. Wherein, the network application platform includes one or more network applications. The network application platform system includes a server 400 and a network application platform client 200 (hereinafter referred to as the client 200 ). Wherein, the server 400 is used to provide various services for the client 200, and the number of the server 400 may be one or more. There are usually multiple clients 200, each of which may be, for example, various PCs or various mobile devices (eg, mobile phones, palmtop computers) and the like. The client 200 described above is adapted to render web pages and associated scripts.
如图2所示,为了在客户端200所呈现的网页以及相关联的脚本上进一步呈现网络应用平台上所包含的网络应用,首先需要将本发明实施例提供的网络应用管理器300从例如服务器400处加载到客户端200处。具体加载时,可以通过代码将该网络应用管理器300嵌入到客户端200的宿主页面上,当嵌入该网络应用管理器之后,客户端200的宿主页面上将展现出一个工具条框架,该工具条框架可以根据需要展现在宿主页面的任意位置上,例如上方、下方等。具体地,可通过如下代码来加载该网络应用管理器:As shown in FIG. 2 , in order to further present the web applications included in the web application platform on the web pages and associated scripts presented by the client 200, it is first necessary to transfer the web application manager 300 provided by the embodiment of the present invention from, for example, the server 400 is loaded to client 200. When specifically loading, the network application manager 300 can be embedded on the host page of the client 200 through codes. After the network application manager is embedded, a tool bar frame will be displayed on the host page of the client 200. The tool The bar frame can be displayed anywhere on the host page as required, such as above or below. Specifically, the network application manager can be loaded by the following code:
通过上述的JS代码,就可以将“彩票”的工具条框架嵌入到宿主页面中,以实现加载网络应用管理器的目的。Through the above JS code, the toolbar frame of the "lottery ticket" can be embedded into the host page, so as to realize the purpose of loading the web application manager.
将本发明实施例提供的网络应用管理器300加载到客户端200上之后,就可以通过该网络应用管理器300对客户端200上呈现的网络应用进行管理。After the network application manager 300 provided by the embodiment of the present invention is loaded on the client 200 , the network applications presented on the client 200 can be managed through the network application manager 300 .
具体地,本发明实施例提供的网络应用管理器300包括配置信息获取模块310、网络应用获取模块320以及网络应用加载模块330。下面详细介绍一下网络应用管理器300中的各个模块的工作原理。Specifically, the network application manager 300 provided by the embodiment of the present invention includes a configuration information acquisition module 310 , a network application acquisition module 320 and a network application loading module 330 . The working principle of each module in the network application manager 300 will be introduced in detail below.
配置信息获取模块310获取该网络应用平台中预先存储的各网络应用的配置信息,该网络应用的配置信息包括:每一网络应用的显示状态以及该网络应用的路径信息。其中,网络应用的路径信息是指该网络应用的资源文件所存储的路径,通过该路径信息可以获取到该网络应用的资源文件。网络应用的资源文件是指具体实现该网络应用功能的JS代码。网络应用的显示状态包括展现和隐藏,通过网络应用的显示状态可以确定出需要加载哪些网络应用。The configuration information obtaining module 310 obtains the configuration information of each network application pre-stored in the network application platform, and the configuration information of the network application includes: the display state of each network application and the path information of the network application. Wherein, the path information of the network application refers to the path stored in the resource file of the network application, and the resource file of the network application can be obtained through the path information. The resource file of the network application refers to the JS code that specifically realizes the function of the network application. The display state of the network application includes showing and hiding, and which network applications need to be loaded can be determined through the display state of the network application.
可选地,为了方便识别各个网络应用,网络应用配置信息中还可以进一步包括网络应用的标识信息(例如ID或标题)。为了以更吸引用户的方式呈现网络应用,网络应用配置信息还可以包括每个网络应用的图标对应的图片地址以及每个网络应用在网络应用平台客户端上的呈现位置,以便于显示网络应用对应的图标以及确定该网络应用的位置信息等。另外,网络应用配置信息还可以包括每个网络应用对应的网络链接地址,这样可以方便地根据该网络链接地址来获取该网络应用的更多功能。上述的网络应用配置信息可以存储在第一存储模块上,该第一存储模块可以设置在为该客户端200提供服务的服务器400上。关于网络应用配置信息的具体存储方式可参照方法实施例中相应部分的描述,此处不再赘述。Optionally, in order to identify each network application conveniently, the network application configuration information may further include identification information (such as ID or title) of the network application. In order to present network applications in a more attractive way, the network application configuration information may also include the image address corresponding to the icon of each network application and the presentation position of each network application on the network application platform client, so as to display the corresponding icon and determine the location information of the network application, etc. In addition, the network application configuration information may also include the network link address corresponding to each network application, so that more functions of the network application can be obtained conveniently according to the network link address. The above-mentioned network application configuration information may be stored in the first storage module, and the first storage module may be set on the server 400 that provides services for the client 200 . Regarding the specific storage manner of the network application configuration information, reference may be made to the descriptions of corresponding parts in the method embodiments, and details are not repeated here.
网络应用获取模块320从网络应用对应的路径信息处获取显示状态为展现的网络应用。具体地,网络应用获取模块320首先需要分析配置信息获取模块310获取的各网络应用的配置信息,从中确定出显示状态为展现的网络应用;然后进一步确定出显示状态为展现的网络应用的路径信息,根据路径信息获取到这些显示状态为展现的网络应用。上面已经介绍过,网络应用的路径信息是指该网络应用的资源文件所存储的路径,网络应用的资源文件是指具体实现该网络应用功能的JS代码。在本实施例中,各个网络应用的JS代码组成一个JS库,该JS库可以存储在第二存储模块上,该第二存储模块也可以设置在为该客户端200提供服务的服务器400上;可选地,该JS库甚至也可以存储在上述的第一存储模块上。网络应用管理器通过访问该JS库来获取显示状态为展现的网络应用。除了上面描述的通过JS代码来实现网络应用功能的方式之外,本领域技术人员也可以采用其它的编程语言(例如PHP等)来实现网络应用的功能,相应地,当采用其它语言时,上述的JS库也相应地替换为其他的代码库(例如PHP库)。The network application obtaining module 320 obtains the network application whose display status is displayed from the path information corresponding to the network application. Specifically, the network application acquisition module 320 first needs to analyze the configuration information of each network application acquired by the configuration information acquisition module 310, and determine the network application whose display status is displayed; then further determine the path information of the network application whose display status is displayed , according to the path information, obtain these network applications whose display state is display. As mentioned above, the path information of the network application refers to the path stored in the resource file of the network application, and the resource file of the network application refers to the JS code that specifically realizes the function of the network application. In this embodiment, the JS codes of each network application form a JS library, which can be stored in the second storage module, and the second storage module can also be set on the server 400 that provides services for the client 200; Optionally, the JS library can even be stored in the above-mentioned first storage module. The network application manager obtains the network application whose display status is displayed by accessing the JS library. In addition to the method of implementing network application functions through JS code described above, those skilled in the art can also use other programming languages (such as PHP) to implement network application functions. Correspondingly, when using other languages, the above The JS library is also replaced with other code libraries (such as PHP libraries) accordingly.
另外,由于在配置信息中,针对每个网络应用都提供了相关联的路径信息,所以,实现各个网络应用功能的JS代码也可以分别存储在不同的服务器上。In addition, since the associated path information is provided for each network application in the configuration information, the JS codes implementing the functions of each network application may also be stored on different servers.
网络应用加载模块330加载网络应用获取模块320所获取的网络应用。上述的JS库由多个JS文件组成,每个JS文件中存储一个或多个网络应用的JS代码,多个JS文件之间采用松散的管理结构组合。可选地,在网络应用的JS文件中定义了加载网络应用的加载接口和卸载网络应用的卸载接口。网络应用加载模块330通过调用该加载接口来加载网络应用,通过调用该卸载接口来卸载网络应用。The web application loading module 330 loads the web application acquired by the web application acquiring module 320 . The above-mentioned JS library is composed of multiple JS files, and each JS file stores JS codes of one or more network applications, and a loose management structure is adopted among multiple JS files. Optionally, a loading interface for loading the web application and an unloading interface for unloading the web application are defined in the JS file of the web application. The network application loading module 330 loads the network application by calling the loading interface, and unloads the network application by calling the unloading interface.
通过上面介绍的方式,本发明实施例提供的网络应用管理器300就可以实现对网络应用的管理。在上述的过程中,网络应用管理器300主要实现了对网络应用的初始加载过程,以便于将需要显示的网络应用显示在客户端宿主页面的工具条上。Through the method described above, the network application manager 300 provided by the embodiment of the present invention can manage network applications. In the above process, the network application manager 300 mainly realizes the initial loading process of the network application, so as to display the network application to be displayed on the tool bar of the client host page.
另外,由于在客户端宿主页面的显示过程中,还可能需要对工具条上显示的网络应用进行进一步地管理,例如,根据用户的需要,或者,根据服务器的运行情况,可能需要对一些原本隐藏的网络应用进行展现,对一些原本展现的网络应用进行隐藏,对此,就可能需要对相应的网络应用进行动态加载或卸载的操作。In addition, during the display process of the client host page, it may be necessary to further manage the network applications displayed on the tool bar. The network application is displayed, and some originally displayed network applications are hidden. For this, it may be necessary to perform a dynamic loading or unloading operation on the corresponding network application.
可选地,为了实现动态加载或卸载的操作,服务器会根据实际需求修改网络应用的配置信息,相应地,配置信息获取模块310每隔预设的时间间隔获取各网络应用的配置信息,当所获取到的网络应用的配置信息发生改变时,通知网络应用加载模块330根据改变后的网络应用配置信息改变所加载的网络应用。具体地,配置信息获取模块310可以通过轮询技术与服务器上存储网络应用配置信息的模块保持连接,例如,可以每隔五分钟向存储网络应用配置信息的模块发起一个http请求,获取当前的网络应用配置信息,并在当前的网络应用配置信息与上一次获取到的网络应用配置信息相比发生改变时,根据改变情况来动态管理网络应用。或者,也可以由存储网络应用配置信息的模块在网络应用配置信息发生改变时主动地将改变后的网络应用配置信息发送给配置信息获取模块310。Optionally, in order to realize the operation of dynamic loading or unloading, the server will modify the configuration information of the network application according to actual needs. When the configuration information of the received network application changes, the network application loading module 330 is notified to change the loaded network application according to the changed network application configuration information. Specifically, the configuration information acquisition module 310 can maintain a connection with the module storing network application configuration information on the server through polling technology, for example, it can initiate an http request to the module storing network application configuration information every five minutes to obtain the current network Application configuration information, and when the current network application configuration information changes compared with the network application configuration information acquired last time, dynamically manage the network application according to the change situation. Alternatively, the module storing the network application configuration information may also actively send the changed network application configuration information to the configuration information obtaining module 310 when the network application configuration information changes.
相应地,当配置信息获取模块310发现网络应用配置信息发生改变时,网络应用加载模块330进一步适于:确定显示状态发生改变的网络应用;卸载显示状态从展现变为隐藏的网络应用,以及加载显示状态从隐藏变为展现的网络应用。其中网络应用定义了加载网络应用的加载接口和卸载网络应用的卸载接口,而且网络应用加载模块330通过调用加载接口来加载网络应用,并且通过调用卸载接口来卸载网络应用。Correspondingly, when the configuration information obtaining module 310 finds that the configuration information of the network application has changed, the network application loading module 330 is further adapted to: determine the network application whose display state has changed; unload the network application whose display state changes from displayed to hidden, and load Displays the web application whose state has changed from hidden to presented. The network application defines a loading interface for loading the network application and an unloading interface for unloading the network application, and the network application loading module 330 loads the network application by calling the loading interface, and unloads the network application by calling the unloading interface.
由于本发明实施例中,对每个网络应用都定义了统一的加载接口和卸载接口,因此,在加载网络应用时,可以通过模块化的方式有选择地加载或卸载某一网络应用,而不影响其余网络应用的正常运行,使得加载或卸载网络应用的操作过程灵活且方便。Since in the embodiment of the present invention, a unified loading interface and an unloading interface are defined for each network application, therefore, when loading a network application, a certain network application can be selectively loaded or unloaded in a modular manner without It affects the normal operation of other network applications, making the operation process of loading or unloading network applications flexible and convenient.
本发明实施例还提供了一种网络应用平台系统,如图2所示,该网络应用平台系统包括:一个或者多个提供网络应用的服务器400;多个网络应用平台客户端200,适于呈现网页以及相关联的脚本,并与一个或者多个服务器400进行交互来运行上述的网络应用;以及网络应用管理器300,当网络应用管理器300加载到网络应用平台客户端200上时,对网络应用进行管理。The embodiment of the present invention also provides a network application platform system. As shown in FIG. 2 , the network application platform system includes: one or more servers 400 providing network applications; Web pages and associated scripts, and interact with one or more servers 400 to run the above-mentioned network applications; application to manage.
其中,网络应用平台客户端200包括呈现在网页上的工具条,每个网络应用具有在该工具条上的呈现位置。Wherein, the network application platform client 200 includes a tool bar presented on the web page, and each network application has a presentation position on the tool bar.
上述网络应用平台系统中的网络应用管理器300进一步包括配置信息获取模块310、网络应用获取模块320以及网络应用加载模块330,关于其中各个模块的具体功能和工作原理可参照上一实施例中相应部分的描述,此处不再赘述。The network application manager 300 in the above-mentioned network application platform system further includes a configuration information acquisition module 310, a network application acquisition module 320, and a network application loading module 330. For the specific functions and working principles of each module, please refer to the corresponding Part of the description will not be repeated here.
根据本发明的对网络应用进行管理的方法、网络应用管理器及系统,由网络应用管理器来实现对网络应用的管理,具体地,网络应用管理器获取各网络应用的配置信息,并根据配置信息确定要展现的网络应用,并从要展现的网络应用所对应的路径信息处获取并加载该网络应用。在本实施例中,除了在网络应用对应的路径信息处存储网络应用之外,还单独存储了网络应用的配置信息,从而可以根据配置信息来实现对网络应用的管理。由此解决了现有技术中存在的问题,取得了能够对网络应用进行动态管理的有益效果。According to the method for managing network applications, the network application manager and the system of the present invention, the management of network applications is implemented by the network application manager, specifically, the network application manager obtains the configuration information of each network application, and according to the configuration The information determines the network application to be displayed, and acquires and loads the network application from path information corresponding to the network application to be displayed. In this embodiment, in addition to storing the network application at the path information corresponding to the network application, the configuration information of the network application is also separately stored, so that the network application can be managed according to the configuration information. Therefore, the problems existing in the prior art are solved, and the beneficial effect of being able to dynamically manage network applications is achieved.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings), as well as any method or method so disclosed, may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的服务器中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the server according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
在本发明的方法中,网络应用配置信息还可以包括:每个网络应用的图标对应的图片地址、每个网络应用对应的网络链接地址、以及每个网络应用在网络应用平台客户端上的呈现位置。In the method of the present invention, the network application configuration information may also include: the picture address corresponding to the icon of each network application, the network link address corresponding to each network application, and the presentation of each network application on the network application platform client Location.
在本发明的方法中,网络应用平台客户端可以包括呈现在网页上的工具条,每个网络应用都具有在所述工具条上的呈现位置。In the method of the present invention, the network application platform client may include a tool bar presented on the webpage, and each network application has a presentation position on the tool bar.
在本发明的网络应用管理器中,网络应用配置信息还包括:每个网络应用的图标对应的图片地址、每个网络应用对应的网络链接地址、以及每个网络应用在网络应用平台客户端上的呈现位置。In the network application manager of the present invention, the network application configuration information also includes: the picture address corresponding to the icon of each network application, the network link address corresponding to each network application, and each network application on the network application platform client The rendering position of the .
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310121509.7A CN103200266B (en) | 2013-04-09 | 2013-04-09 | To method, network applications manager and system that network application manages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310121509.7A CN103200266B (en) | 2013-04-09 | 2013-04-09 | To method, network applications manager and system that network application manages |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103200266A CN103200266A (en) | 2013-07-10 |
CN103200266B true CN103200266B (en) | 2015-10-07 |
Family
ID=48722621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310121509.7A Expired - Fee Related CN103200266B (en) | 2013-04-09 | 2013-04-09 | To method, network applications manager and system that network application manages |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103200266B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150088957A1 (en) * | 2013-09-25 | 2015-03-26 | Sony Corporation | System and methods for managing applications in multiple devices |
CN105447377B (en) * | 2014-08-22 | 2018-07-27 | 中国移动通信集团公司 | A kind of method and device of dynamic adjustment terminal enterprise domain application program |
CN105516295A (en) * | 2015-12-03 | 2016-04-20 | 腾讯科技(深圳)有限公司 | Network request processing method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970348A (en) * | 2012-11-02 | 2013-03-13 | 北京奇虎科技有限公司 | Method and system for network application propelling and network application server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008114491A1 (en) * | 2007-03-20 | 2008-09-25 | Access Co., Ltd. | Terminal having application update managing function, and application update managing program and system |
-
2013
- 2013-04-09 CN CN201310121509.7A patent/CN103200266B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970348A (en) * | 2012-11-02 | 2013-03-13 | 北京奇虎科技有限公司 | Method and system for network application propelling and network application server |
Also Published As
Publication number | Publication date |
---|---|
CN103200266A (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107390994B (en) | Interface presentation method and device | |
CN103563296B (en) | Contact center co-browsing for mobile devices | |
US9389745B1 (en) | Providing content via multiple display devices | |
CN109992406B (en) | Picture request method, picture request response method and client | |
CN110888696A (en) | Page display method and system, computer system and computer readable medium | |
JP2015167014A (en) | Method, apparatus, sever and system for implementing web application | |
CN104469528B (en) | A kind of method, apparatus and browser client for carrying out video data loading | |
CN110619096B (en) | Method and apparatus for synchronizing data | |
CN103793224A (en) | Window display method and device | |
CN105516333B (en) | A kind of web-based exchange method and system | |
CN104462283A (en) | Method, device and client for requesting webpage elements in mobile terminal | |
CN103200266B (en) | To method, network applications manager and system that network application manages | |
CN103544271B (en) | Load Image in a kind of browser the method and apparatus for processing window | |
CN103975301A (en) | Event service for local client applications through local server | |
US10291743B2 (en) | Configuring service endpoints in native client applications | |
KR101226991B1 (en) | Advertising system using push notification, advertising method performed on advertising system and computing device for advertisement using push notification | |
CN107688572B (en) | Page display method and terminal | |
CN111782188B (en) | Method and device for integrating cross-platform mobile application development framework | |
CN111930761B (en) | Information interaction method and device and model-view-renderer architecture | |
CN111767486B (en) | Method, apparatus, electronic device and computer readable medium for displaying pages | |
CN104735130B (en) | A kind of method and apparatus that multimedia file is downloaded | |
CN103218424A (en) | Webpage displaying method and webpage displaying device | |
CN110020320A (en) | The method and apparatus for caching page pictures | |
CN109614564B (en) | Method and device for improving real-time interaction between WebView and H5 | |
CN111984278A (en) | Method and device for acquiring animation image |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220725 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151007 |