



技术领域technical field
本发明涉及计算机技术,尤其涉及一种创建轻应用的方法及客户端。The invention relates to computer technology, in particular to a method for creating a light application and a client.
背景技术Background technique
轻应用是具有可被检索与智能分发、无需下载、即搜即用的全功能应用,其既有媲美甚至超越本地化应用(Native App)的用户体验,又具备Web应用的可被检索与智能分发的特性,可以有效解决优质应用和服务与移动用户需求对接的问题。因此,目前轻应用受到了越来越多的关注,并且得到了越来越广泛的应用。A light application is a full-featured application that can be retrieved and intelligently distributed, without downloading, and can be used immediately after searching. It not only has a user experience that is comparable to or even surpasses that of a localized application (Native App), but also has the retrieval and intelligence of a Web application. The characteristics of distribution can effectively solve the problem of connecting high-quality applications and services with the needs of mobile users. Therefore, light applications have received more and more attention at present, and have been more and more widely used.
在一种应用场景下,用户在个人计算机(PC,Personal Computer)上搜索到某一喜好的轻应用,并且很想将该轻应用也在自己的手机端使用。此时,该用户通常需要通过手机端向服务器请求搜索该轻应用,进而才可在手机端创建该轻应用。In an application scenario, a user searches for a favorite light application on a personal computer (PC, Personal Computer), and wants to use the light application on his mobile phone. At this time, the user usually needs to request the server to search for the light application through the mobile phone terminal, and then the light application can be created on the mobile phone terminal.
由此可见,在现有方案中,需要通过客户端本身向服务器请求搜索,才能实现轻应用在该客户端上的创建。显然,现有方案中的轻应用使用方式不够灵活,在一些情况下会造成用户使用不便,降低用户体验。It can be seen that, in the existing solution, the creation of the light application on the client needs to be made by the client itself to request a search from the server. Obviously, the use of light applications in the existing solution is not flexible enough, which may cause inconvenience to users and reduce user experience in some cases.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的创建轻应用的技术,以便更灵活地在客户端上创建轻应用,从而方便用户的使用,减少冗余操作,提高用户体验。In view of the above problems, the present invention is proposed to provide a technology for creating light applications that overcomes the above problems or at least partially solves the above problems, so as to create light applications on the client more flexibly, thereby facilitating the use of users and reducing redundancy operations to improve user experience.
根据本发明的一个方面,提供一种创建轻应用的方法,包括:第一客户端响应于用户的含有关键词的搜索请求,在预设的轻应用列表中查找出与关键词相对应的轻应用;以及响应于用户的轻应用创建请求,第一客户端将轻应用的轻应用数据发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。According to one aspect of the present invention, a method for creating a web application is provided, including: the first client responds to a user's search request containing a keyword, and searches out the web application corresponding to the keyword in the preset web application list. application; and in response to the user's web application creation request, the first client sends the web application data of the web application to the second client, so as to create the web application on the second client according to the web application data.
可选地,第一客户端针对搜索请求,从Web服务器获取相应的搜索结果;以及将搜索结果显示给用户。Optionally, for the search request, the first client acquires corresponding search results from the Web server; and displays the search results to the user.
可选地,第一客户端将所确定出的轻应用结果放在搜索结果中的显著位置显示给用户。Optionally, the first client displays the determined light application result in a prominent position in the search result to the user.
可选地,响应于所述用户的轻应用创建请求,第一客户端确认是否已与第二客户端建立长连接;以及当已建立长连接时,通过长连接服务器将轻应用数据发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。Optionally, in response to the user's light application creation request, the first client confirms whether a persistent connection has been established with the second client; and when the persistent connection has been established, the light application data is sent to the second client through the persistent connection server The second client is used to create the web application according to the web application data on the second client.
可选地,当未建立长连接时,第一客户端通过红外连接、蓝牙连接、有线连接中的至少一种连接方式将轻应用的轻应用数据发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。Optionally, when the long connection is not established, the first client sends the light application data of the light application to the second client through at least one of infrared connection, bluetooth connection and wired connection, so that the second client Light applications are created on the end based on light application data.
根据本发明的另一方面,提供一种创建轻应用的方法,包括:第二客户端接收来自第一客户端的轻应用数据,轻应用数据是由第一客户端根据用户搜索请求中含有的关键词从预设的轻应用列表中确定出的;以及根据接收到的轻应用数据,在第二客户端上创建轻应用。According to another aspect of the present invention, there is provided a method for creating a light application, including: the second client receives the light application data from the first client, and the light application data is the key contained in the user search request by the first client The word is determined from the preset web application list; and according to the received web application data, the web application is created on the second client.
可选地,第二客户端经由长连接服务器接收来自第一客户端的轻应用数据。Optionally, the second client receives the light application data from the first client via the persistent connection server.
可选地,第二客户端经由红外连接、蓝牙连接、有线连接中的至少一种连接方式接收来自第一客户端的轻应用数据。Optionally, the second client receives the light application data from the first client via at least one of infrared connection, bluetooth connection and wired connection.
根据本发明的另一方面,提供一种客户端,包括:第一获取模块,用于响应于用户的含有关键词的搜索请求,在预设的轻应用列表中查找出与关键词相对应的轻应用;确定模块,用于根据关键词,从轻应用列表中确定出关键词所对应的轻应用数据;以及发送模块,用于响应于用户的轻应用创建请求,将轻应用数据发送到另一客户端,以根据轻应用数据创建轻应用。According to another aspect of the present invention, a client is provided, including: a first obtaining module, configured to, in response to a user's search request containing a keyword, search out a preset light application list corresponding to the keyword The light application; the determination module is used to determine the light application data corresponding to the keyword from the light application list according to the keyword; and the sending module is used to respond to the user's light application creation request and send the light application data to another A client to create web applications based on web application data.
可选地,还包括:第二获取模块,用于针对搜索请求,从Web服务器获取相应的搜索结果;以及显示模块,用于将搜索结果显示给用户。Optionally, it further includes: a second obtaining module, configured to obtain corresponding search results from the web server for the search request; and a display module, configured to display the search results to the user.
可选地,显示模块还用于将所确定出的轻应用结果放在搜索结果中的显著位置显示给用户。Optionally, the display module is further configured to place the determined light application result in a prominent position in the search result and display it to the user.
可选地,发送模块,还包括:判断子模块,用于响应于用户的轻应用创建请求,确认是否已与另一客户端建立长连接;以及第一连接子模块,用于当已建立长连接时,通过长连接服务器将轻应用数据发送到另一客户端,以在另一客户端上根据轻应用数据创建轻应用。Optionally, the sending module further includes: a judging submodule, configured to confirm whether a persistent connection has been established with another client in response to the user's light application creation request; and a first connection submodule, configured to When connecting, send the light application data to another client through the long connection server, so as to create a light application based on the light application data on the other client.
可选地,发送模块,还包括:第二连接子模块,用于当未建立长连接时,通过红外连接、蓝牙连接、有线连接中的至少一种连接方式将所述轻应用数据发送到另一客户端,以在另一客户端上根据轻应用数据创建轻应用。Optionally, the sending module further includes: a second connection submodule, configured to send the light application data to another user through at least one of infrared connection, bluetooth connection and wired connection when a long connection is not established. One client to create web applications based on web application data on another client.
根据本发明的另一方面,提供一种客户端,包括:接收模块,用于接收来自另一客户端的轻应用数据,轻应用数据是由另一客户端根据用户搜索请求中含有的关键词从预设的轻应用列表中确定出的;以及创建模块,用于根据接收到的轻应用数据,创建轻应用。According to another aspect of the present invention, a client is provided, including: a receiving module, configured to receive light application data from another client, the light application data is obtained from another client according to keywords contained in the user search request determined in the preset light application list; and a creating module, configured to create the light application according to the received light application data.
可选地,接收模块经由长连接服务器接收来自另一客户端的轻应用数据。Optionally, the receiving module receives light application data from another client via the persistent connection server.
可选地,接收模块经由红外连接、蓝牙连接、有线连接中的至少一种连接方式接收来自另一客户端的轻应用数据。Optionally, the receiving module receives the light application data from another client via at least one of infrared connection, bluetooth connection and wired connection.
根据本发明的创建轻应用的方案,可以实现基于在第一客户端上的搜索来在第二客户端上创建轻应用,从而增强了创建轻应用的灵活性,方便了用户使用,减少了冗余操作,提高了用户体验。According to the scheme for creating light applications of the present invention, it is possible to create light applications on the second client based on the search on the first client, thereby enhancing the flexibility of creating light applications, making it convenient for users to use, and reducing redundancy. Additional operations improve user experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。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 creating a light application according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的创建轻应用的方法的流程图;FIG. 2 shows a flowchart of a method for creating a light application according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的创建轻应用的方法的流程图;FIG. 3 shows a flowchart of a method for creating a light application according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的创建轻应用的客户端的结构框图;以及FIG. 4 shows a structural block diagram of a client for creating a light application according to an embodiment of the present invention; and
图5示出了根据本发明一个实施例的创建轻应用的客户端的结构框图。Fig. 5 shows a structural block diagram of a client for creating a light application according to 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.
为便于对本发明方案的理解,以下在实施例中可以假设第一客户端可以位于PC端,第二客户端可以位于手机端,但本发明实际并不限于此。第一客户端和第二客户端只是指代两个客户端,其中第一客户端是轻应用搜索端,第二客户端是轻应用创建端。In order to facilitate the understanding of the solution of the present invention, it may be assumed in the following embodiments that the first client may be located at the PC end, and the second client may be located at the mobile phone end, but the present invention is not limited thereto. The first client and the second client just refer to two clients, wherein the first client is a light application search end, and the second client is a light application creation end.
参考图1,图1示出根据本发明一个实施例的创建轻应用的方法的流程图。其中描述的是轻应用搜索端的处理过程。Referring to FIG. 1 , FIG. 1 shows a flowchart of a method for creating a light application according to an embodiment of the present invention. It describes the processing process of the light application search end.
如图1所示,在步骤S110中,第一客户端响应于用户的含有关键词的搜索请求,在预设的轻应用列表中查找出与关键词相对应的轻应用。As shown in FIG. 1 , in step S110 , in response to a user's search request containing a keyword, the first client searches for a web application corresponding to the keyword in a preset web application list.
具体而言,该轻应用列表中可以存储有各轻应用的轻应用数据以及轻应用关键词。Specifically, the web application data and web application keywords of each web application may be stored in the web application list.
根据本发明的一个实施例,轻应用列表可以是在第一客户端(PC端)预设建立的。此时,轻应用列表中可以包含第一客户端本地所存在的各轻应用的轻应用数据和轻应用关键词。According to an embodiment of the present invention, the light application list may be preset and established on the first client (PC). At this time, the web application list may include web application data and web application keywords of each web application existing locally on the first client.
根据本发明的另一实施例,轻应用列表可以是预先从服务器下载到第一客户端的。更具体而言,第一客户端可以响应于用户的含有关键词的搜索请求,来从服务器侧请求获取轻应用列表。此时,轻应用列表中可以包含服务器侧所存在的各轻应用的轻应用数据和轻应用关键词。According to another embodiment of the present invention, the light application list may be downloaded from the server to the first client in advance. More specifically, the first client may request to acquire the light application list from the server side in response to the user's search request containing keywords. At this time, the web application list may include web application data and web application keywords of each web application existing on the server side.
进一步而言,当第一客户端(PC端)接收到用户的含有关键词的搜索请求时,第一客户端(PC端)首先判断该关键词是否可以与预设的轻应用列表中的轻应用对应。具体而言,第一客户端可以将搜索请求的关键词与轻应用列表中的轻应用关键词进行匹配,如果能够找到匹配的轻应用关键词,则可以确定出与搜索请求对应的轻应用。Further, when the first client (PC) receives a user's search request containing a keyword, the first client (PC) first judges whether the keyword can be matched with the preset mobile app list. Application correspondence. Specifically, the first client may match the keywords of the search request with the web application keywords in the web application list, and if a matching web application keyword can be found, the web application corresponding to the search request may be determined.
根据本发明的实施例,在查找到与搜索请求的关键词对应的轻应用之后,可以将轻应用显示给用户,例如可以将轻应用图标展现给用户。According to the embodiment of the present invention, after the light application corresponding to the keyword of the search request is found, the light application may be displayed to the user, for example, a light application icon may be presented to the user.
根据本发明的实施例,第一客户端响应于用户的含有关键词的搜索请求而在预设的轻应用列表中查找出与关键词相对应的轻应用的同时,还可以向Web服务器请求获取与搜索请求相关的搜索结果。根据本发明的实施例,可以将确定出的轻应用与搜索结果一起显示给用户。如果从轻应用列表中无法找到匹配的轻应用关键词,则将从Web服务器获取到的搜索结果展示给用户,以供用户从搜索结果中选择所需要的应用程序。According to the embodiment of the present invention, the first client may also request the Web server to obtain the web application corresponding to the keyword while finding the web application corresponding to the keyword in the preset web application list in response to the user's search request containing the keyword. Search results related to the search request. According to the embodiment of the present invention, the determined light application can be displayed to the user together with the search results. If no matching keyword of the light application can be found in the light application list, the search result obtained from the web server is displayed to the user, so that the user can select the required application program from the search result.
在一个示例中,例如服务器端维护轻应用列表如下:In an example, for example, the server maintains a list of light applications as follows:
假设在PC客户端搜索“豆果美食”,则PC客户端可以从服务器端获取该轻应用列表,并将其解析。然后用“豆果美食”去轻应用列表中查询是否存在”name”为“豆果美食”的轻应用。当发现列表中存在该轻应用时,PC客户端可以在搜索结果的第一条插入该轻应用,并把对应desc为“一个在线的厨艺交流平台”作为说明,说明下面加一个“打开”按钮。Assuming that the PC client searches for "douguo delicacy", the PC client can obtain the light application list from the server and parse it. Then use "Dou Guo Delicious" to check whether there is a light application whose "name" is "Dou Guo Delicious" in the light application list. When the light application is found in the list, the PC client can insert the light application in the first item of the search results, and use the corresponding desc as "an online cooking communication platform" as a description, and add an "open" below the description button.
接下来,在步骤S120中,响应于用户的轻应用创建请求,第一客户端将轻应用数据发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。Next, in step S120, in response to the user's web application creation request, the first client sends the web application data to the second client, so as to create the web application on the second client according to the web application data.
具体而言,针对在步骤S110中第一客户端(PC端)已经确定出轻应用并显示给用户之后,用户可以根据所显示的轻应用向第一客户端(PC端)发出轻应用创建请求。本文中的轻应用创建请求是指在另一客户端上创建轻应用的请求。Specifically, after the first client (PC) has determined the light application and displayed it to the user in step S110, the user can send a light application creation request to the first client (PC) according to the displayed light application . A web application creation request herein refers to a request to create a web application on another client.
在一个具体实施例中,第一客户端在将轻应用显示给用户的同时,可以将轻应用创建提示一并显示给用户。例如,可以在轻应用图标旁边显示“+”,该“+”即为轻应用创建提示。当用户触发或点击所显示的轻应用创建提示时,即,用户向第一客户端发出了轻应用创建请求,以在第二客户端上创建轻应用。稍后结合图2将对此进行更详细描述。In a specific embodiment, while displaying the web application to the user, the first client may also display the web application creation prompt to the user. For example, a "+" may be displayed next to the app icon, and the "+" is a prompt for creating the app. When the user triggers or clicks the displayed web application creation prompt, that is, the user sends a web application creation request to the first client to create a web application on the second client. This will be described in more detail later in conjunction with FIG. 2 .
根据本发明的一个实施例,第一客户端响应于用户的轻应用创建请求可以将轻应用数据通过无线连接的方式发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。无线连接方式例如可以包括红外、蓝牙、长连接等数据传输方式。According to an embodiment of the present invention, in response to the user's web application creation request, the first client can send the web application data to the second client through a wireless connection, so that the web application data can be created on the second client. application. For example, wireless connection methods may include data transmission methods such as infrared, bluetooth, and persistent connection.
在一个具体实施例中,第一客户端响应于用户的轻应用创建请求可以通过长连接服务器将轻应用数据发送到第二客户端。更具体而言,第一客户端(位于PC端)和第二客户端(位于手机端)可以通过相互注册或某一指定IP协议等方式与长连接服务器建立长连接关系,并且可以实现在一个连接上连续发送多个数据包。稍后将在图2中对此进行更详细描述。In a specific embodiment, the first client may send the light application data to the second client through the persistent connection server in response to the user's request for creating the light application. More specifically, the first client (located on the PC side) and the second client (located on the mobile phone side) can establish a persistent connection relationship with the persistent connection server through mutual registration or a specified IP protocol, and can be implemented in one Multiple packets are sent consecutively on the connection. This will be described in more detail later in FIG. 2 .
根据本发明的另一实施例,第一客户端响应于用户的轻应用创建请求可以将轻应用数据通过有线连接的方式发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。有线连接可以包括USB(Universal Serial Bus,通用串行总线)数据线连接或中间连接路由器等数据传输方式。According to another embodiment of the present invention, the first client can send the light application data to the second client through a wired connection in response to the user's light application creation request, so that the light application data can be created on the second client. Apply lightly. The wired connection may include a USB (Universal Serial Bus, Universal Serial Bus) data line connection or an intermediate connection router and other data transmission methods.
仍以上述搜索“豆果美食”的示例来进行说明,当用户点击“打开”按钮时,PC客户端可以把该轻应用的数据以json的形式{"name":"豆果美食","url":"http://m.douguo.com/","desc":"一个在线的厨艺交流平台","img":"http://p0.qhimg.com/d/_reader/t01393aa896594f04bc.png"}并加上注册信息加密后发送给PC服务器。PC服务器根据其注册信息找到对应的长连接服务器,并把内容发送给长连接服务器。长连接服务器接收到数据后把数据下发给手机客户端。手机客户端接收到数据后,可以解析其数据,打开“http://m.douguo.com/”的轻应用链接,并为该轻应用创建快捷方式。Still using the above example of searching for "Douguo Delicacy" for illustration, when the user clicks the "Open" button, the PC client can send the data of the light application in the form of json {"name":"Douguo Delicacy"," url":"http://m.douguo.com/","desc":"An online cooking communication platform","img":"http://p0.qhimg.com/d/_reader/t01393aa896594f04bc .png"} and encrypt the registration information and send it to the PC server. The PC server finds the corresponding persistent connection server according to its registration information, and sends the content to the persistent connection server. After receiving the data, the persistent connection server sends the data to the mobile client. After receiving the data, the mobile client can analyze the data, open the light application link of "http://m.douguo.com/", and create a shortcut for the light application.
至此描述了根据本发明一个实施例的创建轻应用的方法,其中基于第一客户端的关键词搜索,可以创建轻应用到第二客户端上。而无需第二客户端再向服务器进行搜索请求来创建。因此,能够极大地方便用户的使用,提高用户使用体验。So far the method for creating a light application according to an embodiment of the present invention has been described, wherein based on the keyword search of the first client, the light application can be created on the second client. There is no need for the second client to make a search request to the server to create. Therefore, the use of the user can be greatly facilitated and the user experience can be improved.
下面参照图2描述根据本发明另一实施例的创建轻应用的方法。在本实施例中更具体地描述由第一客户端向第二客户端创建轻应用的过程。其中描述的也是轻应用搜索端的处理过程。A method for creating a light application according to another embodiment of the present invention will be described below with reference to FIG. 2 . In this embodiment, the process of creating a light application from the first client to the second client is described more specifically. It also describes the processing process of the light application search end.
如图2所示,在步骤S210中,第一客户端接收用户的含有关键词的搜索请求。As shown in FIG. 2 , in step S210 , the first client receives a user's search request containing keywords.
具体而言,第一客户端可以接收用户在搜索输入框中输入的任意搜索关键词。例如,当第一客户端接收到用户所输入“mp3”关键词时,便接收到了针对“mp3”的搜索请求。Specifically, the first client may receive any search keyword input by the user in the search input box. For example, when the first client receives the keyword "mp3" input by the user, it receives a search request for "mp3".
接下来,在步骤S220中,在预设的轻应用列表中查找出与关键词相对应的轻应用,与此同时,还从Web服务器获取相应的搜索结果。Next, in step S220, the web application corresponding to the keyword is found in the preset web application list, and at the same time, the corresponding search result is obtained from the web server.
具体而言,第一客户端可以响应于用户的关键词搜索请求,在预设的轻应用列表中查找是否存在与关键词对应的轻应用。同时,第一客户端还可以响应于用户的该关键词搜索请求,向Web服务器请求获取与该搜索请求对应的搜索结果。Specifically, in response to a user's keyword search request, the first client may search a preset web application list for whether there is a web application corresponding to the keyword. At the same time, in response to the keyword search request of the user, the first client may request the Web server to obtain a search result corresponding to the search request.
如前面提及的,轻应用列表中可以存储有各轻应用的轻应用数据以及轻应用关键词。As mentioned above, the web application data and web application keywords of each web application may be stored in the web application list.
根据本发明的一个实施例,轻应用列表可以是在第一客户端(PC端)预设建立的。此时,轻应用列表中可以包含第一客户端本地所存在的各轻应用的轻应用数据和轻应用关键词。According to an embodiment of the present invention, the light application list may be preset and established on the first client (PC). At this time, the web application list may include web application data and web application keywords of each web application existing locally on the first client.
根据本发明的另一实施例,轻应用列表可以是预先从服务器下载到第一客户端的。更具体而言,第一客户端可以响应于用户的含有关键词的搜索请求,来从服务器侧请求获取轻应用列表。此时,轻应用列表中可以包含服务器侧所存在的各轻应用的轻应用数据和轻应用关键词。According to another embodiment of the present invention, the light application list may be downloaded from the server to the first client in advance. More specifically, the first client may request to acquire the light application list from the server side in response to the user's search request containing keywords. At this time, the web application list may include web application data and web application keywords of each web application existing on the server side.
进一步而言,当第一客户端接收到用户的含有关键词的搜索请求时,第一客户端首先判断该关键词是否可以与预设的轻应用列表中的轻应用对应。具体而言,第一客户端可以将搜索请求的关键词与轻应用列表中的轻应用关键词进行匹配,如果能够找到匹配的轻应用关键词,则可以确定出与搜索请求对应的轻应用。如果从轻应用列表中无法找到匹配的轻应用关键词,则可以确定不存在与搜索请求对应的轻应用。Further, when the first client receives a user's search request containing a keyword, the first client first determines whether the keyword can correspond to a web application in a preset web application list. Specifically, the first client may match the keywords of the search request with the web application keywords in the web application list, and if a matching web application keyword can be found, the web application corresponding to the search request may be determined. If no matching web application keyword can be found from the web application list, it can be determined that there is no web application corresponding to the search request.
接下来,在步骤S230中,第一客户端将所确定出的轻应用结果放在搜索结果中的显著位置显示给用户。Next, in step S230, the first client displays the determined light application result in a prominent position in the search result to the user.
根据本发明的一个实施例,第一客户端(PC端)可以将确定出的轻应用排列到Web服务器反馈的搜索结果的最前面,由此提示用户。根据本发明的另一实施例,还可以通过将轻应用放到第一页搜索结果中并将轻应用图标或显示字体打亮,来将轻应用明显提示给用户。应理解到,本发明并不限于这些轻应用显示方式,而是可以以任意合适方式来将轻应用以显著方式显示给用户。According to an embodiment of the present invention, the first client (PC terminal) may arrange the determined light application at the top of the search results fed back by the Web server, thereby prompting the user. According to another embodiment of the present invention, the light application can also be clearly prompted to the user by placing the light application in the search results on the first page and highlighting the light application icon or display font. It should be understood that the present invention is not limited to these light application display manners, but may display the light application to the user in any suitable manner in a prominent manner.
在步骤S240中,判断是否接收到用户的轻应用创建请求。In step S240, it is determined whether a user's light application creation request is received.
根据本发明的一个实施例,如果第一客户端(PC端)没有接收到用户的轻应用创建请求,则结束,也就说明,当前用户并不想安装该轻应用。如果接收到用户的轻应用创建请求,则执行步骤S250。According to an embodiment of the present invention, if the first client (PC) does not receive the user's light application creation request, it ends, which means that the current user does not want to install the light application. If a user's light application creation request is received, step S250 is performed.
在一个具体实施例中,第一客户端在将轻应用显示给用户的同时,可以将轻应用创建提示一并显示给用户。例如,可以在轻应用图标旁边显示“+”,该“+”即为轻应用创建提示。当用户看到第一客户端(PC端)上所显示出的轻应用及相关Web服务器反馈的搜索结果时,如果用户点击该轻应用创建提示“+”,则第一客户端此时就接收到用户请求在第二客户端上创建此轻应用的请求。反之,如果没有点击该轻应用创建指示“+”,那么此时第一客户端就视为没有接收到用户的轻应用创建请求。In a specific embodiment, while displaying the web application to the user, the first client may also display the web application creation prompt to the user. For example, a "+" may be displayed next to the app icon, and the "+" is a prompt for creating the app. When the user sees the light application displayed on the first client (PC) and the search results fed back by the relevant web server, if the user clicks the prompt "+" to create the light application, the first client receives the A request to the user to create the light application on the second client. On the contrary, if the light application creation indication "+" is not clicked, then at this moment, the first client considers that the user's light application creation request has not been received.
在步骤S250中,第一客户端判断是否与第二客户端建立长连接。In step S250, the first client determines whether to establish a persistent connection with the second client.
根据本发明一实施例,当第一客户端(PC端)接收到用户需要在第二客户端创建该轻应用的请求时,第一客户端可以首先判断是否与第二客户端(手机端)建立长连接。According to an embodiment of the present invention, when the first client (PC) receives a request from the user to create the light application on the second client, the first client can first determine whether to communicate with the second client (mobile phone) Establish a long connection.
具体而言,第一客户端(PC端)可以通过与第二客户端(手机端)预先建立的注册信息或指定IP协议判断是否与第二客户端(手机端)建立长连接关系。Specifically, the first client (PC) can determine whether to establish a long-term connection relationship with the second client (mobile) through pre-established registration information with the second client (mobile) or a specified IP protocol.
进一步而言,第一客户端(PC端)可以根据所共有用户名称、终端属性信息,与手机端发出创建轻应用请求时所携带的用户名称、终端属性等信息匹配,如果匹配,则PC端和手机端已建立长连接。否则,未建立长连接。Furthermore, the first client (PC) can match the user name, terminal attributes and other information carried when the mobile phone sends a request to create a light application according to the shared user name and terminal attribute information. A persistent connection has been established with the mobile terminal. Otherwise, no persistent connection is established.
当在步骤S250中判断第一客户端与第二客户端已建立长连接时,则执行步骤S260,通过长连接服务器将轻应用的轻应用数据发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。When it is judged in step S250 that the first client has established a long connection with the second client, step S260 is executed to send the light application data of the light application to the second client through the long connection server, so that Create light applications based on light application data.
具体而言,在上述发送过程中,第一客户端可以直接将轻应用数据以数据包的形式发送给长连接服务器,然后由长连接服务器将数据包发送给第二客户端。Specifically, in the above sending process, the first client may directly send the light application data to the persistent connection server in the form of a data packet, and then the persistent connection server sends the data packet to the second client.
根据本发明的实施例,通过长连接发送方式实现第一客户端(PC端)向第二客户端(手机端)发送轻应用数据,可以使两端资源信息的同步共享,从而使操作更加灵活简便,提高用户操作效率。According to the embodiment of the present invention, the light application data can be sent from the first client (PC) to the second client (mobile phone) through the long connection sending method, which can enable the synchronization and sharing of resource information at both ends, thereby making the operation more flexible Simple, improve user operation efficiency.
当在步骤S250中判定第一客户端未与第二客户端建立长连接时,则执行步骤S270,第一客户端通过红外连接、蓝牙连接、有线连接中的至少一种连接方式将轻应用数据发送到第二客户端,以在第二客户端上根据轻应用数据创建轻应用。When it is determined in step S250 that the first client has not established a long connection with the second client, step S270 is executed, and the first client transfers the light application data to Send to the second client, so that the web application can be created on the second client according to the web application data.
如前面提及的,有线连接可以包括USB(Universal Serial Bus,通用串行总线)数据线连接或中间连接路由器等有线传输方式。As mentioned above, the wired connection may include a USB (Universal Serial Bus, universal serial bus) data line connection or a wired transmission method such as an intermediate connection router.
具体而言,在上述发送过程中,第一客户端可以直接将轻应用数据以数据包的形式通过有线传输方式发送给第二客户端。Specifically, in the above sending process, the first client may directly send the light application data in the form of data packets to the second client through wired transmission.
至此结合图1和图2描述了根据本发明一个实施例的创建轻应用的方法,其中基于在第一客户端上的搜索来在第二客户端上创建轻应用,从而增强了创建轻应用的灵活性,方便了用户使用,提高了用户体验。So far, a method for creating a light application according to an embodiment of the present invention has been described with reference to FIGS. Flexibility facilitates user use and improves user experience.
下面参照图3描述根据本发明另一实施例的创建轻应用的方法。其中描述的是轻应用创建端的处理过程。在本实施例中更具体地描述由第二客户端接收第一客户端所发送的轻应用数据之后如何将轻应用创建到第二客户端上。A method for creating a light application according to another embodiment of the present invention will be described below with reference to FIG. 3 . It describes the process of light application creation end. In this embodiment, it is more specifically described how to create the light application on the second client after the second client receives the light application data sent by the first client.
如图3所示,在步骤S310中,第二客户端接收来自第一客户端的轻应用数据。As shown in FIG. 3, in step S310, the second client receives light application data from the first client.
根据本发明的一个实施例,轻应用数据是由第一客户端(PC端)根据用户搜索请求中含有的关键词从预设的轻应用列表中确定出的。According to an embodiment of the present invention, the light application data is determined from a preset light application list by the first client (PC) according to keywords contained in the user's search request.
具体而言,第一客户端(PC端)将用户所需要的轻应用显示给用户之后,用户可以根据该显示结果选择安装在第二客户端(手机端)上。当用户选择将该轻应用安装在第二客户端(手机端)上时,第二客户端(手机端)就会接收到来自第一客户端(PC端)的该轻应用的轻应用数据。Specifically, after the first client (PC terminal) displays the light application required by the user to the user, the user can choose to install it on the second client (mobile phone terminal) according to the display result. When the user chooses to install the light application on the second client (mobile phone), the second client (mobile) will receive the light application data of the light application from the first client (PC).
根据本发明的一个实施例,第二客户端(手机端)接收来自第一客户端(PC端)的轻应用数据,可以是经由无线连接方式接收。在一个优选实施例中,如图1中的步骤S120中提到的,第一客户端通过长连接服务器向第二客户端发送轻应用数据时,第二客户端就可以从长连接服务器接收来自第一客户端的轻应用数据。具体地,第一客户端和第二客户端可以是预先通过长连接服务器连通的,其中通过长连接服务器在第一客户端和第二客户端之间可以连续传输多个数据包。无线的连接方式还包括并不限于蓝牙连接、红外连接等。According to an embodiment of the present invention, the second client (mobile phone) receives light application data from the first client (PC), which may be received via a wireless connection. In a preferred embodiment, as mentioned in step S120 in Figure 1, when the first client sends light application data to the second client through the persistent connection server, the second client can receive the data from the persistent connection server Light application data of the first client. Specifically, the first client and the second client may be connected through a persistent connection server in advance, wherein a plurality of data packets may be continuously transmitted between the first client and the second client through the persistent connection server. Wireless connection methods also include but are not limited to Bluetooth connections, infrared connections, and the like.
根据本发明的另一具体实施例,PC客户端(第一客户端)可以把轻应用数据发送到PC助手,PC助手通过手机助手的无线连接把轻应用数据写入手机(第二客户端)存储卡的特定位置。According to another specific embodiment of the present invention, the PC client (the first client) can send the light application data to the PC assistant, and the PC assistant writes the light application data into the mobile phone (the second client) through the wireless connection of the mobile assistant A specific location on the memory card.
根据本发明的另一实施例,第二客户端(手机端)接收来自第一客户端(PC端)的轻应用数据,可以是经由有线连接方式接收。如图1中的步骤S120中提到的,第一客户端以有线连接方式发送轻应用数据时,第二客户端同样可以通过同样的有线连接方式来接收。According to another embodiment of the present invention, the second client (mobile phone) receives the light application data from the first client (PC), which may be received via a wired connection. As mentioned in step S120 in FIG. 1 , when the first client sends light application data through a wired connection, the second client can also receive it through the same wired connection.
具体地,第二客户端可以接收来自第一客户端的数据包形式的轻应用数据。Specifically, the second client may receive light application data in the form of data packets from the first client.
在步骤S320中,根据接收到的轻应用数据,在第二客户端上创建轻应用。In step S320, create a web application on the second client according to the received web application data.
具体而言,当第二客户端接收到数据包形式的轻应用数据时,可以解析该数据包,以获得轻应用链接,进而在第二客户端上打开该轻应用。在一种优选实施例中,在根据其轻应用链接打开轻应用的同时,可以针对该轻应用创建快捷方式至第二客户端上。Specifically, when the second client receives the light application data in the form of a data packet, it can parse the data packet to obtain the light application link, and then open the light application on the second client. In a preferred embodiment, when the web application is opened according to its web application link, a shortcut can be created for the web application on the second client.
根据本发明的一个具体实施例,第二客户端接收到数据包后,可以解析该数据包,生成对应的WebappInfo对象,通过调用startApp()即可打开对应的轻应用。例如执行代码如下:According to a specific embodiment of the present invention, after receiving the data packet, the second client can parse the data packet, generate a corresponding WebappInfo object, and open the corresponding light application by calling startApp(). For example, the execution code is as follows:
根据本发明的另一具体实施例,当PC客户端(第一客户端)把轻应用数据发送到PC助手,PC助手通过手机助手的无线连接把轻应用数据写入手机(第二客户端)存储卡的特定位置时,可以同时发送相应命令打开手机客户端,手机客户端启动后,读取存储卡特定位置的信息,并将其解析生成WebappInfo对象,通过startApp()打开该轻应用,并创建相应的快捷方式。According to another specific embodiment of the present invention, when the PC client (the first client) sends the light application data to the PC assistant, the PC assistant writes the light application data into the mobile phone (the second client) through the wireless connection of the mobile assistant When the memory card is at a specific location, you can send the corresponding command to open the mobile client at the same time. After the mobile client is started, it will read the information at the specific location of the memory card and parse it to generate a WebappInfo object. Open the light application through startApp(), and Create corresponding shortcuts.
至此描述了根据本发明另一个实施例的创建轻应用的方法,其中基于第一客户端发送的轻应用数据,第二客户端可以在本地创建轻应用。而无需使第二客户端再重新连接服务器来搜索和创建轻应用,从而实现了更灵活地创建轻应用,方便了用户的使用,并且提高了用户体验。So far the method for creating a web application according to another embodiment of the present invention has been described, wherein based on the web application data sent by the first client, the second client can locally create the web application. There is no need for the second client to reconnect to the server to search and create the light application, so that the light application can be created more flexibly, the use of the user is facilitated, and the user experience is improved.
与上述创建轻应用的方法类似,根据本发明实施例还提供一种创建轻应用的客户端。Similar to the above method for creating a light application, an embodiment of the present invention also provides a client for creating a light application.
参考图4,图4是根据本发明一个实施例的客户端400的结构框图。其中描述的是轻应用搜索端。Referring to FIG. 4 , FIG. 4 is a structural block diagram of a
如图4所示,客户端400可以包括第一获取模块410、确定模块420和发送模块430。As shown in FIG. 4 , the
具体而言,第一获取模块410可以用于响应于用户的含有关键词的搜索请求,在预设的轻应用列表中查找出与关键词相对应的轻应用。Specifically, the first obtaining
确定模块420可以用于根据关键词,从轻应用列表中确定出关键词所对应的轻应用数据。The determining
发送模块430可以用于响应于用户的轻应用创建请求,将轻应用数据发送到另一客户端,以根据轻应用数据创建轻应用。The sending
根据本发明的一个实施例,发送模块430还可以包括:判断子模块,可以用于响应于用户的轻应用创建请求,确认是否已与另一客户端建立长连接;以及第一连接子模块,可以用于当已建立长连接时,通过长连接服务器将轻应用数据发送到另一客户端,以在另一客户端上根据轻应用数据创建轻应用。第二连接子模块,可以用于当未建立长连接时,通过红外连接、蓝牙连接、有线连接中的至少一种连接方式将轻应用数据发送到另一客户端,以在另一客户端上根据轻应用数据创建轻应用。According to an embodiment of the present invention, the sending
根据本发明的一个实施例,客户端400还可以包括:第二获取模块,可以用于针对搜索请求,从Web服务器获取相应的搜索结果;以及显示模块,可以用于将搜索结果显示给用户。According to an embodiment of the present invention, the
在一个优选实施例中,显示模块还可以用于将所确定出的轻应用结果放在搜索结果中的显著位置显示给用户。In a preferred embodiment, the display module can also be used to display the determined light application results to the user at a prominent position in the search results.
至此描述了根据本发明一个实施例的创建轻应用的客户端。与上述图1中所描述方法类似,根据该客户端,同样可以实现灵活创建轻应用,从而方便用户的使用,提高用户体验。So far, the client for creating light applications according to one embodiment of the present invention has been described. Similar to the method described in FIG. 1 above, according to the client, it is also possible to create light applications flexibly, so as to facilitate the use of users and improve user experience.
参考图5,图5是根据本发明另一实施例的客户端500的结构框图。其中描述的是轻应用创建端。Referring to FIG. 5 , FIG. 5 is a structural block diagram of a
如图5所示,客户端500可以包括接收模块510和创建模块520。As shown in FIG. 5 , the
具体而言,接收模块510可以用于接收来自另一客户端的轻应用数据,轻应用数据是由另一客户端根据用户搜索请求中含有的关键词从预设的轻应用列表中确定出的。创建模块520可以用于根据接收到的轻应用数据,创建轻应用。Specifically, the receiving
根据本发明的一个实施例,接收模块510可以经由长连接服务器接收来自另一客户端的轻应用数据。According to an embodiment of the present invention, the receiving
根据本发明的另一实施例,接收模块510可以经由红外连接、蓝牙连接、有线连接中的至少一种连接方式接收来自另一客户端的轻应用数据。According to another embodiment of the present invention, the receiving
至此描述了根据本发明另一实施例的创建轻应用的客户端。与上述图3中所描述方法类似,根据该客户端,同样可以灵活创建轻应用,从而方便用户的使用,提高用户体验。So far, the client for creating light applications according to another embodiment of the present invention has been described. Similar to the method described in FIG. 3 above, according to the client, light applications can also be created flexibly, so as to facilitate the use of users and improve user experience.
由于上述创建轻应用的客户端的处理与上述结合图1至图3描述的创建轻应用的方法的处理是对应的,因此关于其具体细节,可以参考之前描述的创建轻应用的方法,这里不再赘述。Since the above-mentioned process of creating a client of a light application corresponds to the process of the above-mentioned method of creating a light application described in conjunction with FIGS. repeat.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。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) can be used in practice to implement some or all of the components in the device for intercepting embedded information in an application program according to an embodiment of the present invention Or full functionality. 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.
本申请可以应用于计算机系统/服务器,其可与众多其它通用或专用计算系统环境或配置一起操作。适于与计算机系统/服务器一起使用的众所周知的计算系统、环境和/或配置的例子包括但不限于:个人计算机系统、服务器计算机系统、瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统﹑大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。The application may be applied to computer systems/servers that are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments and/or configurations suitable for use with computer systems/servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, Microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the above, etc.
计算机系统/服务器可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Computer systems/servers may be described in the general context of computer system-executable instructions, such as program modules, being executed by the computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server can be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including storage devices.
本发明还公开B1、一种客户端,包括:The present invention also discloses B1, a client, comprising:
第一获取模块,用于响应于用户的含有关键词的搜索请求,在预设的轻应用列表中查找出与所述关键词相对应的轻应用;The first acquisition module is configured to, in response to a user's search request containing a keyword, find out a light application corresponding to the keyword in a preset light application list;
确定模块,用于根据所述关键词,从所述轻应用列表中确定出所述关键词所对应的轻应用数据;以及A determining module, configured to determine the light application data corresponding to the keyword from the light application list according to the keyword; and
发送模块,用于响应于用户的轻应用创建请求,将所述轻应用数据发送到另一客户端,以根据所述轻应用数据创建轻应用。A sending module, configured to send the web application data to another client in response to a user's web application creation request, so as to create a web application according to the web application data.
B2、如B1所述的客户端,还包括:B2. The client as described in B1, further comprising:
第二获取模块,用于针对所述搜索请求,从Web服务器获取相应的搜索结果;以及The second obtaining module is used to obtain corresponding search results from the web server for the search request; and
显示模块,用于将所述搜索结果显示给所述用户。A display module, configured to display the search results to the user.
B3、如B1所述的客户端,所述显示模块还用于将所确定出的轻应用结果放在所述搜索结果中的显著位置显示给所述用户。B3. In the client as described in B1, the display module is further configured to place the determined light application result in a prominent position in the search result and display it to the user.
B4、如B1-B3任一项所述的客户端,所述发送模块,还包括:B4. The client as described in any one of B1-B3, the sending module also includes:
判断子模块,用于响应于所述用户的轻应用创建请求,确认是否已与另一客户端建立长连接;以及A judging submodule, configured to confirm whether a persistent connection has been established with another client in response to the user's light application creation request; and
第一连接子模块,用于当已建立长连接时,通过所述长连接服务器将所述轻应用数据发送到所述另一客户端,以在另一客户端上根据所述轻应用数据创建所述轻应用。The first connection submodule is configured to send the light application data to the other client through the persistent connection server when the long connection has been established, so as to create an application based on the light application data on the other client. The light application.
B5、如B4所述的客户端,所述发送模块,还包括:B5. The client as described in B4, the sending module also includes:
第二连接子模块,用于当未建立长连接时,通过以下至少一种连接方式将所述轻应用数据发送到所述另一客户端,以在另一客户端上根据所述轻应用数据创建所述轻应用,所述连接方式包括:红外连接、蓝牙连接、有线连接。The second connection submodule is used to send the light application data to the other client through at least one of the following connection methods when the long connection is not established, so that the light application data can be used on the other client according to the The light application is created, and the connection mode includes: infrared connection, bluetooth connection, and wired connection.
本发明还公开C6、一种客户端,包括:The present invention also discloses C6, a client, including:
接收模块,用于接收来自另一客户端的轻应用数据,所述轻应用数据是由另一客户端根据用户搜索请求中含有的关键词从预设的轻应用列表中确定出的;以及a receiving module, configured to receive light application data from another client, the light application data is determined by another client from a preset light application list according to keywords contained in the user's search request; and
创建模块,用于根据接收到的所述轻应用数据,创建所述轻应用。A creating module, configured to create the light application according to the received light application data.
C7、如C6所述的客户端,所述接收模块经由长连接服务器接收来自另一客户端的轻应用数据。C7. The client as described in C6, the receiving module receives the light application data from another client via the persistent connection server.
C8、如C6所述的客户端,所述接收模块经由以下至少一种连接方式接收来自另一客户端的轻应用数据,所述连接方式包括:红外连接、蓝牙连接、有线连接。C8. The client as described in C6, the receiving module receives light application data from another client through at least one of the following connection methods, the connection methods include: infrared connection, bluetooth connection, and wired connection.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310594409.6ACN103617218A (en) | 2013-11-21 | 2013-11-21 | Light application creating method and clients |
| PCT/CN2014/087331WO2015074459A1 (en) | 2013-11-21 | 2014-09-24 | Method and apparatus for opening webpage, invoking client, and creating light app |
| US15/038,339US10402464B2 (en) | 2013-11-21 | 2014-09-24 | Methods and apparatuses for opening a webpage, invoking a client, and creating a light application |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310594409.6ACN103617218A (en) | 2013-11-21 | 2013-11-21 | Light application creating method and clients |
| Publication Number | Publication Date |
|---|---|
| CN103617218Atrue CN103617218A (en) | 2014-03-05 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310594409.6APendingCN103617218A (en) | 2013-11-21 | 2013-11-21 | Light application creating method and clients |
| Country | Link |
|---|---|
| CN (1) | CN103617218A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104111989A (en)* | 2014-07-02 | 2014-10-22 | 百度在线网络技术(北京)有限公司 | Providing method and device of search results |
| WO2015074459A1 (en)* | 2013-11-21 | 2015-05-28 | 北京奇虎科技有限公司 | Method and apparatus for opening webpage, invoking client, and creating light app |
| CN105743859A (en)* | 2014-12-10 | 2016-07-06 | 深圳云之家网络有限公司 | Method, device and system for authenticating light application |
| CN105786567A (en)* | 2016-02-25 | 2016-07-20 | 四川长虹电器股份有限公司 | Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method |
| CN108984646A (en)* | 2018-06-25 | 2018-12-11 | 涂正富 | A kind of application tool professional search engine |
| CN109995877A (en)* | 2019-04-12 | 2019-07-09 | 上海连尚网络科技有限公司 | Information-pushing method and device |
| CN110113407A (en)* | 2019-04-30 | 2019-08-09 | 上海连尚网络科技有限公司 | Small routine state synchronization method, equipment and computer storage medium |
| CN114221970A (en)* | 2021-12-10 | 2022-03-22 | 北京思必拓科技有限责任公司 | Application data synchronization method and device in public environment |
| CN115248732A (en)* | 2021-04-28 | 2022-10-28 | 逸驾智能科技有限公司 | Equipment control method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103108032A (en)* | 2012-12-31 | 2013-05-15 | 王玉娇 | Method for multi-device cooperative downloading and management of application programs and associated equipment |
| CN103207794A (en)* | 2012-12-04 | 2013-07-17 | 东蓝数码股份有限公司 | Method for sharing application program between mobile terminals in local area network |
| CN103368897A (en)* | 2012-03-26 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Method, device and system for transmitting application program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103368897A (en)* | 2012-03-26 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Method, device and system for transmitting application program |
| CN103207794A (en)* | 2012-12-04 | 2013-07-17 | 东蓝数码股份有限公司 | Method for sharing application program between mobile terminals in local area network |
| CN103108032A (en)* | 2012-12-31 | 2013-05-15 | 王玉娇 | Method for multi-device cooperative downloading and management of application programs and associated equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015074459A1 (en)* | 2013-11-21 | 2015-05-28 | 北京奇虎科技有限公司 | Method and apparatus for opening webpage, invoking client, and creating light app |
| US10402464B2 (en) | 2013-11-21 | 2019-09-03 | Beijing Qihoo Technology Company Limited | Methods and apparatuses for opening a webpage, invoking a client, and creating a light application |
| CN104111989A (en)* | 2014-07-02 | 2014-10-22 | 百度在线网络技术(北京)有限公司 | Providing method and device of search results |
| CN105743859B (en)* | 2014-12-10 | 2019-03-01 | 深圳云之家网络有限公司 | A kind of method, apparatus and system of light application certification |
| CN105743859A (en)* | 2014-12-10 | 2016-07-06 | 深圳云之家网络有限公司 | Method, device and system for authenticating light application |
| CN105786567B (en)* | 2016-02-25 | 2019-01-11 | 四川长虹电器股份有限公司 | IOS application submodule dynamic update method and its intermediate system |
| CN105786567A (en)* | 2016-02-25 | 2016-07-20 | 四川长虹电器股份有限公司 | Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method |
| CN108984646A (en)* | 2018-06-25 | 2018-12-11 | 涂正富 | A kind of application tool professional search engine |
| CN109995877A (en)* | 2019-04-12 | 2019-07-09 | 上海连尚网络科技有限公司 | Information-pushing method and device |
| CN110113407A (en)* | 2019-04-30 | 2019-08-09 | 上海连尚网络科技有限公司 | Small routine state synchronization method, equipment and computer storage medium |
| CN110113407B (en)* | 2019-04-30 | 2021-08-17 | 上海连尚网络科技有限公司 | Applet state synchronization method, device and computer storage medium |
| CN115248732A (en)* | 2021-04-28 | 2022-10-28 | 逸驾智能科技有限公司 | Equipment control method and system |
| CN114221970A (en)* | 2021-12-10 | 2022-03-22 | 北京思必拓科技有限责任公司 | Application data synchronization method and device in public environment |
| CN114221970B (en)* | 2021-12-10 | 2024-02-02 | 北京思必拓科技有限责任公司 | Application data synchronization method and device in public environment |
| Publication | Publication Date | Title |
|---|---|---|
| CN103617218A (en) | Light application creating method and clients | |
| TWI670611B (en) | Web file sending method, webpage rendering method and device, webpage rendering system | |
| CN103678508A (en) | Method and device for opening a webpage | |
| WO2015074459A1 (en) | Method and apparatus for opening webpage, invoking client, and creating light app | |
| CN104077162A (en) | Mobile terminal application template updating and issuing method and device | |
| CN103634389A (en) | File transfer method, device and system between calculation device and mobile device | |
| WO2015007245A1 (en) | Cross-terminal downloading method, system, cloud server and terminal | |
| US20120203859A1 (en) | System and method for interaction between e-mail/web browser and communication devices | |
| CN103023907B (en) | The method for obtaining site information, equipment and system | |
| CN103269396A (en) | A method and system for managing mobile terminals | |
| KR20180022867A (en) | How to install and version the application over local communication | |
| CN104657201A (en) | Application push method, device, equipment and system | |
| CN103139761B (en) | The method and communication terminal of a kind of information real-time show | |
| CN103152392A (en) | Providing method, acquisition method, equipment and system of installation package | |
| CN103618710A (en) | Individual processing method and device of file between mobile device and computing device | |
| CN104580267A (en) | A resource downloading method, device, server and corresponding system | |
| TW201310947A (en) | File download system | |
| CN104361004A (en) | Browser favorite data processing method and browser | |
| CN104978358A (en) | Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying | |
| CN111479250A (en) | File sharing method, device and system and terminal equipment | |
| CN104506616B (en) | Browser client sends the method, apparatus and system of information | |
| CN104361007B (en) | The processing method of browser and its collection | |
| CN103634675A (en) | System updating method and device in intelligent television | |
| CN103685498A (en) | Wallpaper loading method and browser device | |
| CN104023073A (en) | Resource pushing method, system and device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20140305 |