CN109918153B - Page opening method and device and page content retrieval method and device - Google Patents
Page opening method and device and page content retrieval method and device Download PDFInfo
- Publication number
- CN109918153B CN109918153B CN201910204663.8A CN201910204663A CN109918153B CN 109918153 B CN109918153 B CN 109918153B CN 201910204663 A CN201910204663 A CN 201910204663A CN 109918153 B CN109918153 B CN 109918153B
- Authority
- CN
- China
- Prior art keywords
- application
- page link
- preset
- link
- library
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000005516 engineering process Methods 0.000 claims abstract description 49
- 238000009434 installation Methods 0.000 claims description 32
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 2
- 238000010276 construction Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000011068 loading method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及终端领域,并具体涉及一种应用页面打开方法、装置和设备,以及一种应用页面内容检索方法、装置和服务器。The present invention relates to the field of terminals, and in particular to a method, device and device for opening an application page, and a method, device and server for retrieving content of an application page.
背景技术Background technique
随着技术的发展,互联网技术在生活各个方面都得到了广泛的应用,人们利用移动终端通过互联网来方便生活,由此开发出各种应用。With the development of technology, Internet technology has been widely used in all aspects of life. People use mobile terminals to facilitate their lives through the Internet, and various applications are developed accordingly.
在终端设备(例如台式电脑、笔记本电脑、智能手机、平板电脑等)的操作系统中,常见的有windows、IOS和安卓系统。如今,随着应用程序开发的广泛应用,在各应用市场上的应用数量与日俱增。人们往往在终端设备上安装多个应用来使用。Among the operating systems of terminal devices (such as desktop computers, notebook computers, smart phones, tablet computers, etc.), windows, IOS and Android systems are commonly used. Today, with the widespread application of application development, the number of applications in various application markets is increasing day by day. People often install multiple applications on terminal devices for use.
但是,如今在应用使用的管理时,需要先安装应用才能查看或使用应用的内容。在移动终端中,诸如微信小程序等功能可用于直接打开应用内容而不用安装应用,但是无法使用应用的全部功能,与直接使用应用的体验不同。However, nowadays, when managing application usage, you need to install the application before viewing or using the content of the application. In a mobile terminal, functions such as WeChat applet can be used to directly open the application content without installing the application, but cannot use all the functions of the application, which is different from the experience of using the application directly.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种应用页面打开方法、装置和设备,以及一种应用页面内容检索方法、装置和服务器,以至少解决现有技术中的一个或更多个技术问题,至少提供一种有益的选择。Embodiments of the present invention provide a method, device and device for opening an application page, and a method, device and server for retrieving application page content, so as to at least solve one or more technical problems in the prior art, and at least provide a beneficial s Choice.
第一方面,本发明实施例提供了一种应用页面打开方法,应用终端设备,包括:In a first aspect, an embodiment of the present invention provides a method for opening an application page, and an application terminal device, including:
获取第一应用页面链接,其中,所述第一应用页面链接包含第一应用的标识;obtaining a first application page link, wherein the first application page link includes an identifier of the first application;
根据所述第一应用页面链接,确定预设应用库中是否包含所述第一应用,其中,所述预设应用库包含一个或更多个应用;以及determining, according to the first application page link, whether the first application is included in a preset application library, wherein the preset application library includes one or more applications; and
在确定所述预设应用库中包含所述第一应用时,利用应用程序免安装技术运行所述第一应用,以打开所述第一应用页面链接。When it is determined that the first application is included in the preset application library, the first application is run by using an application-free installation technology to open the first application page link.
结合第一方面,本发明在第一方面的第一种实施方式中,所述在确定所述预设应用库中包含所述第一应用时,利用应用程序免安装技术运行所述第一应用,以打开所述第一应用页面链接,包括:With reference to the first aspect, in a first implementation manner of the first aspect of the present invention, when it is determined that the first application is included in the preset application library, the first application is run by using an application-free installation technology , to open the first application page link, including:
在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。When it is determined that the first application is included in the preset application library, the first application page link is opened by using the first application running in the form of a plug-in.
结合第一方面,本发明在第一方面的第二种实施方式中,所述终端设备为配备安卓系统的移动终端。With reference to the first aspect, in a second implementation manner of the first aspect of the present invention, the terminal device is a mobile terminal equipped with an Android system.
结合第一方面的第二种是实施方式,所述在确定所述预设应用库中包含所述第一应用时,利用应用程序免安装技术运行所述第一应用,以打开所述第一应用页面链接,包括:In combination with the first aspect, the second is an implementation manner. When it is determined that the first application is included in the preset application library, the first application is run by using an application-free installation technology to open the first application. Links to application pages, including:
在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。When it is determined that the first application is included in the preset application library, the first application page link is opened by using the first application running in the form of a plug-in.
结合第一方面,本发明在第一方面的第三种实施方式中,所述方法还包括:In conjunction with the first aspect, in a third implementation manner of the first aspect of the present invention, the method further includes:
在确定所述预设应用库中不包含所述第一应用时,下载所述第一应用;When it is determined that the first application is not included in the preset application library, downloading the first application;
利用应用程序免安装技术运行的第一应用打开所述第一应用页面链接;以及The first application running with the application instant technology opens the first application page link; and
将所述第一应用添加至所述预设应用库。The first application is added to the preset application library.
结合第一方面,本发明在第一方面的第四种实施方式中,所述方法还包括:In conjunction with the first aspect, in a fourth implementation manner of the first aspect of the present invention, the method further includes:
检测所述终端设备中是否已安装有所述第一应用;以及detecting whether the first application has been installed in the terminal device; and
在所述终端设备中安装了所述第一应用时,利用安装的所述第一应用打开所述第一应用页面链接。When the first application is installed in the terminal device, the first application page link is opened by using the installed first application.
结合第一方面,本发明在第一方面的第五种实施方式中,所述方法还包括:In conjunction with the first aspect, in a fifth implementation manner of the first aspect of the present invention, the method further includes:
接收检索请求,并将所述检索请求发送至服务器;以及receiving a retrieval request and sending the retrieval request to a server; and
从所述服务器接收检索结果,其中,所述检索结果包括至少一个应用页面链接,并且所述至少一个应用页面链接来自至少一个应用。A retrieval result is received from the server, wherein the retrieval result includes at least one application page link, and the at least one application page link is from at least one application.
结合第一方面的第五种实施方式,在一种实现中,所述方法还包括:In conjunction with the fifth implementation manner of the first aspect, in an implementation, the method further includes:
针对所述至少一个应用页面链接中每个应用页面链接,检测所述预设应用库中是否包含该应用页面链接对应的应用;For each application page link in the at least one application page link, detecting whether the preset application library contains an application corresponding to the application page link;
在确定所述预设应用库中包含该应用页面链接对应的应用时,利用应用程序免安装技术运行所述应用,以打开该应用页面链接;以及When it is determined that the application corresponding to the application page link is contained in the preset application library, the application is run by using the application-free installation technology to open the application page link; and
在确定所述预设应用库中不包含该应用页面链接对应的应用时,下载所述应用,并且利用应用程序免安装技术运行所述应用以打开该应用页面链接,以及将所述应用添加至所述预设应用库。When it is determined that the application corresponding to the application page link is not contained in the preset application library, the application is downloaded, and the application is run by using the application-free installation technology to open the application page link, and the application is added to the preset application library.
结合第一方面,本发明在第一方面的第六种实施方式中,所述方法还包括:In conjunction with the first aspect, in the sixth embodiment of the present invention, the method further includes:
接收链接发送请求,其中所述链接发送请求中包含待分享应用页面链接和分享应用的标识,并且分享应用为用户选择的用于分享所述待分享应用页面链接的应用,以及receiving a link sending request, wherein the link sending request includes a page link of the application to be shared and an identifier of the sharing application, and the sharing application is an application selected by the user for sharing the page link of the application to be shared, and
根据所述链接发送请求发送所述待分享应用页面链接。The link of the application page to be shared is sent according to the link sending request.
第二方面,本发明实施例提供了一种应用页面内容检索方法,应用于服务器,包括:In a second aspect, an embodiment of the present invention provides a method for retrieving application page content, applied to a server, including:
接收终端设备发送的检索请求;Receive the retrieval request sent by the terminal device;
根据所述检索请求,确定预设索引中是否包含所述检索请求对应的至少一个应用页面链接,其中,所述预设索引包含多个应用的多个应用页面链接,并且所述应用页面链接包含所对应的应用的标识;According to the retrieval request, determine whether the preset index includes at least one application page link corresponding to the retrieval request, wherein the preset index includes multiple application page links of multiple applications, and the application page link includes The identifier of the corresponding application;
在确定所述预设索引中包含所述至少一个应用页面链接时,生成包含所述至少一个应用页面链接的检索结果;以及When it is determined that the at least one application page link is included in the preset index, a retrieval result including the at least one application page link is generated; and
将所述检索结果发送至所述终端设备。The retrieval result is sent to the terminal device.
在第二方面的第一种实施方式中,所述预设索引利用如下方式构建:In a first implementation manner of the second aspect, the preset index is constructed in the following manner:
构建自定义安卓环境,并且在所述自定义安卓环境中安装多个安卓应用的安卓安装包;Build a custom Android environment, and install the Android installation packages of multiple Android applications in the custom Android environment;
在所述自定义安卓环境中,分别打开所述多个安卓应用,并获取每个安卓应用中的应用页面内容对应的应用页面链接,其中所述应用页面链接包含对应的安卓应用的标识;以及In the custom Android environment, the multiple Android applications are opened respectively, and the application page link corresponding to the application page content in each Android application is obtained, wherein the application page link contains the identifier of the corresponding Android application; and
利用预设搜索引擎技术和所获取的应用页面链接,构建所述预设索引。The preset index is constructed by using the preset search engine technology and the obtained application page links.
在第二方面的第二种实施方式中,所述服务器安装有包含多个应用的云端应用库,以及,所述方法还包括:In a second implementation manner of the second aspect, the server is installed with a cloud application library including multiple applications, and the method further includes:
以预定时间间隔对多个应用市场进行监测;以及monitor multiple application marketplaces at predetermined intervals; and
当监测到所述多个应用市场中任一个出现新的应用时,下载所述新的应用至所述云端应用库。When a new application is detected in any one of the multiple application markets, the new application is downloaded to the cloud application library.
在第二方面的第三种实施方式中,所述方法还包括:In a third embodiment of the second aspect, the method further includes:
与所述终端设备通信,并且监测所述终端设备的运行;以及communicating with the terminal device and monitoring the operation of the terminal device; and
当监测到所述终端设备中打开的应用页面链接不包含在所述预设索引中时,获取该应用页面链接,并且将该应用页面链接添加至所述预设索引。When it is detected that the application page link opened in the terminal device is not included in the preset index, the application page link is acquired, and the application page link is added to the preset index.
第三方面,本发明实施例提供了一种应用页面打开装置,应用于终端设备,包括:In a third aspect, an embodiment of the present invention provides an apparatus for opening an application page, which is applied to a terminal device, including:
获取模块,用于获取第一应用页面链接,其中,所述第一应用页面链接包含第一应用的标识;an obtaining module, configured to obtain a first application page link, wherein the first application page link includes an identifier of the first application;
确定模块,用于根据所述第一应用页面链接,确定预设应用库中是否包含所述第一应用,其中,所述预设应用库包含一个或更多个应用;以及a determining module, configured to determine whether the first application is included in a preset application library according to the first application page link, wherein the preset application library includes one or more applications; and
第一打开模块,用于在确定所述预设应用库中包含所述第一应用时,利用应用程序免安装技术运行所述第一应用,以打开所述第一应用页面链接。The first opening module is configured to run the first application by using the application-free installation technology to open the page link of the first application when it is determined that the first application is included in the preset application library.
结合第三方面,在第三方面的第一种实施方式中,所述第一打开模块进一步用于:在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。With reference to the third aspect, in a first implementation manner of the third aspect, the first opening module is further configured to: when it is determined that the first application is included in the preset application library, use the The first application opens the first application page link.
结合第三方面,在第三方面的第二种实施方式中,所述终端设备为配备安卓系统的移动终端。With reference to the third aspect, in a second implementation manner of the third aspect, the terminal device is a mobile terminal equipped with an Android system.
结合第三方面的第二种实施方式,所述第一打开模块进一步用于:在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。With reference to the second implementation manner of the third aspect, the first opening module is further configured to: when it is determined that the preset application library contains the first application, use the first application running in the form of a plug-in to open the first application First application page link.
结合第三方面,在第三方面的第三种实施方式中,所述第一打开模块进一步用于:In conjunction with the third aspect, in a third implementation manner of the third aspect, the first opening module is further configured to:
在确定所述预设应用库中不包含所述第一应用时,下载所述第一应用;When it is determined that the first application is not included in the preset application library, downloading the first application;
利用应用程序免安装技术运行的第一应用打开所述第一应用页面链接;以及The first application running with the application instant technology opens the first application page link; and
将所述第一应用添加至所述预设应用库。The first application is added to the preset application library.
结合第三方面,在第三方面的第四种实施方式中,所述装置还包括:With reference to the third aspect, in a fourth implementation manner of the third aspect, the device further includes:
检测模块,用于检测所述终端设备中是否已安装有所述第一应用;a detection module, configured to detect whether the first application has been installed in the terminal device;
第二打开模块,用于在所述终端设备中安装了所述第一应用时,利用安装的所述第一应用打开所述第一应用页面链接。A second opening module, configured to use the installed first application to open the first application page link when the first application is installed in the terminal device.
结合第三方面,在第三方面的第五种实施方式中,所述装置还包括:With reference to the third aspect, in a fifth implementation manner of the third aspect, the device further includes:
请求接收模块,用于接收检索请求,并将所述检索请求发送至服务器;以及a request receiving module for receiving a retrieval request and sending the retrieval request to a server; and
结果接收模块,用于从所述服务器接收检索结果,其中,所述检索结果包括至少一个应用页面链接,并且所述至少一个应用页面链接来自至少一个应用。A result receiving module, configured to receive a retrieval result from the server, wherein the retrieval result includes at least one application page link, and the at least one application page link is from at least one application.
在结合第三方面的第五实施方式的一种实现中,In an implementation of the fifth embodiment in conjunction with the third aspect,
所述确定模块进一步用于:针对所述至少一个应用页面链接中每个应用页面链接,检测所述预设应用库中是否包含该应用页面链接对应的应用;以及The determining module is further configured to: for each application page link in the at least one application page link, detect whether the preset application library contains an application corresponding to the application page link; and
所述第一打开模块进一步用于:在确定所述预设应用库中包含该应用页面链接对应的应用时,利用应用程序免安装技术运行所述应用,以打开该应用页面链接;以及在确定所述预设应用库中不包含该应用页面链接对应的应用时,下载所述应用,并且利用应用程序免安装技术运行所述应用以打开该应用页面链接,以及将所述应用添加至所述预设应用库。The first opening module is further configured to: when it is determined that the application corresponding to the application page link is included in the preset application library, use the application-free installation technology to run the application to open the application page link; and when determining When the application corresponding to the application page link is not included in the preset application library, the application is downloaded, and the application is run using the application-free installation technology to open the application page link, and the application is added to the application page link. Preset application library.
结合第三方面,在第三方面的第六种实施方式中,所述装置还包括:In conjunction with the third aspect, in a sixth implementation manner of the third aspect, the device further includes:
链接发送模块,用于接收链接发送请求,其中所述链接发送请求中包含待分享应用页面链接和分享应用的标识,以及根据所述链接发送请求发送所述待分享应用页面链接,其中所述分享应用为用户选择的用于分享所述待分享应用页面链接的应用。A link sending module, configured to receive a link sending request, wherein the link sending request includes a page link of the application to be shared and an identifier of the sharing application, and send the link of the application page to be shared according to the link sending request, wherein the sharing The application is an application selected by the user for sharing the page link of the application to be shared.
根据第四方面,本发明实施例提供了一种应用页面内容检索装置,应用于服务器,包括:According to a fourth aspect, an embodiment of the present invention provides an apparatus for retrieving application page content, applied to a server, including:
检索接收模块,用于接收终端设备发送的检索请求;a retrieval receiving module, used for receiving a retrieval request sent by the terminal device;
链接确定模块,用于根据所述检索请求,确定预设索引中是否包含所述检索请求对应的至少一个应用页面链接,其中,所述预设索引包含多个应用的多个应用页面链接,并且所述应用页面链接包含所对应的应用的标识;a link determination module, configured to determine, according to the retrieval request, whether the preset index includes at least one application page link corresponding to the retrieval request, wherein the preset index includes multiple application page links of multiple applications, and The application page link contains the identifier of the corresponding application;
结果生成模块,用于在确定所述预设索引中包含所述至少一个应用页面链接时,生成包含所述至少一个应用页面链接的检索结果;以及a result generating module, configured to generate a retrieval result including the at least one application page link when it is determined that the preset index includes the at least one application page link; and
结果发送模块,用于将所述检索结果发送至所述终端设备。A result sending module, configured to send the retrieval result to the terminal device.
结合第四方面,在第四方面的第一实施方式中,所述预设索引利用如下方式构建:With reference to the fourth aspect, in the first implementation manner of the fourth aspect, the preset index is constructed in the following manner:
构建自定义安卓环境,并且在所述自定义安卓环境中安装多个安卓应用的安卓安装包;Build a custom Android environment, and install the Android installation packages of multiple Android applications in the custom Android environment;
在所述自定义安卓环境中,分别打开所述多个安卓应用,并获取每个安卓应用中的应用页面内容对应的应用页面链接,其中所述应用页面链接包含对应的安卓应用的标识;以及In the custom Android environment, the multiple Android applications are opened respectively, and the application page link corresponding to the application page content in each Android application is obtained, wherein the application page link contains the identifier of the corresponding Android application; and
利用预设搜索引擎技术和所获取的应用页面链接,构建所述预设索引。The preset index is constructed by using the preset search engine technology and the obtained application page links.
结合第四方面,在第四方面的第二实施方式中,所述服务器安装有包含多个应用的云端应用库,以及,所述装置还包括:With reference to the fourth aspect, in a second implementation manner of the fourth aspect, the server is installed with a cloud application library including multiple applications, and the device further includes:
更新模块,用于以预定时间间隔对多个应用市场进行监测;以及当监测到所述多个应用市场中任一个出现新的应用时,下载所述新的应用至所述云端应用库。an update module, configured to monitor multiple application markets at predetermined time intervals; and when a new application is detected in any one of the multiple application markets, downloading the new application to the cloud application library.
结合第四方面,在第四方面的第三实施方式中,所述装置还包括:With reference to the fourth aspect, in a third implementation manner of the fourth aspect, the device further includes:
索引更新模块,用于与所述终端设备通信,并且监测所述终端设备的运行;以及当监测到所述终端设备中打开的应用页面链接不包含在所述预设索引中时,获取该应用页面链接,并且将该应用页面链接添加至所述预设索引。an index update module, configured to communicate with the terminal device and monitor the operation of the terminal device; and obtain the application when monitoring that the application page link opened in the terminal device is not included in the preset index page link, and add the application page link to the preset index.
第五方面,本发明实施例提供了一种设备,所述设备包括:In a fifth aspect, an embodiment of the present invention provides a device, where the device includes:
一个或多个处理器;one or more processors;
存储装置,配置为存储一个或多个程序;a storage device configured to store one or more programs;
通信接口,配置为使所述处理器和所述存储装置与外部设备进行通信;a communication interface configured to enable the processor and the storage device to communicate with external devices;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现以上第一方面所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of the first aspect above.
第六方面,本发明实施例提供了一种服务器,所述服务器包括:In a sixth aspect, an embodiment of the present invention provides a server, where the server includes:
一个或多个处理器;one or more processors;
存储装置,配置为存储一个或多个程序;a storage device configured to store one or more programs;
通信接口,配置为使所述处理器和存储装置与外部设备进行通信;a communication interface configured to enable the processor and storage to communicate with external devices;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述第二方面中的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of the second aspect above.
第七方面,本发明实施例提供了一种计算机可读存储介质,用于存储所述应用页面打开装置所用的计算机软件指令,其包括用于执行上述第一方面中的应用页面打开方法为所述应用页面打开装置所涉及的程序。In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions used by the device for opening an application page, including a method for executing the application page opening method in the first aspect as described above. The application page to open the program involved in the device.
第八方面,本发明实施例提供了一种计算机可读存储介质,用于存储所述应用页面内容检索装置所用的计算机软件指令,其包括用于执行上述第二方面中的应用页面内容检索方法为所述应用页面内容检索装置所涉及的程序。In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions used by the device for retrieving application page content, including a method for executing the application page content retrieval method in the second aspect above The program involved in the device for retrieving the content of the application page.
上述技术方案中的另一个技术方案具有如下优点或有益效果:通过利用应用程序免安装技术来运行应用,在接收到应用页面链接时可以自动以原生应用打开应用页面链接。尤其在移动终端领域,可以直接根据应用页面链接中包含的应用标识以对应的应用打开应用页面链接,使用方便并且可以直接使用原生应用的功能。此外,利用本申请提供的应用页面内容检索方法,可以同时获取来自多个应用的检索结果。Another technical solution in the above technical solutions has the following advantages or beneficial effects: by using the application-free installation technology to run the application, the application page link can be automatically opened as a native application when the application page link is received. Especially in the field of mobile terminals, the application page link can be opened with the corresponding application directly according to the application identifier contained in the application page link, which is convenient to use and can directly use the functions of the native application. In addition, by using the application page content retrieval method provided by the present application, retrieval results from multiple applications can be obtained simultaneously.
上述概述仅仅是为了说明书的目的,并不意图以任何方式进行限制。除上述描述的示意性的方面、实施方式和特征之外,通过参考附图和以下的详细描述,本发明进一步的方面、实施方式和特征将会是容易明白的。The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will become apparent by reference to the accompanying drawings and the following detailed description.
附图说明Description of drawings
在附图中,除非另外规定,否则贯穿多个附图相同的附图标记表示相同或相似的部件或元素。这些附图不一定是按照比例绘制的。应该理解,这些附图仅描绘了根据本发明公开的一些实施方式,而不应将其视为是对本发明范围的限制。In the drawings, unless specified otherwise, the same reference numbers refer to the same or like parts or elements throughout the several figures. The drawings are not necessarily to scale. It should be understood that these drawings depict only some embodiments according to the disclosure and should not be considered as limiting the scope of the invention.
图1为根据本发明一个实施例的应用页面打开方法的流程图;1 is a flowchart of a method for opening an application page according to an embodiment of the present invention;
图2为根据本发明另一实施例的应用页面打开方法的流程图;2 is a flowchart of a method for opening an application page according to another embodiment of the present invention;
图3为根据本发明另一实施例的应用页面打开方法的流程图;3 is a flowchart of a method for opening an application page according to another embodiment of the present invention;
图4为根据本发明另一实施例的应用页面内容检索方法的流程图;4 is a flowchart of a method for retrieving application page content according to another embodiment of the present invention;
图5为根据本发明一个实施例的预设索引构建方法的流程图;5 is a flowchart of a method for constructing a preset index according to an embodiment of the present invention;
图6为根据本发明另一实施例的应用页面内容检索方法的流程图;6 is a flowchart of a method for retrieving application page content according to another embodiment of the present invention;
图7为根据本发明另一实施例的应用页面内容检索方法的流程图;7 is a flowchart of a method for retrieving application page content according to another embodiment of the present invention;
图8为根据本发明一个实施例的应用页面打开装置的结构示意图;8 is a schematic structural diagram of an apparatus for opening an application page according to an embodiment of the present invention;
图9为根据本发明一个实施例的应用页面内容检索装置的结构示意图;9 is a schematic structural diagram of an apparatus for retrieving content of an application page according to an embodiment of the present invention;
图10为根据本发明另一实施例的设备的结构示意图。FIG. 10 is a schematic structural diagram of a device according to another embodiment of the present invention.
具体实施方式Detailed ways
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本发明的精神或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。In the following, only certain exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature and not restrictive.
图1示出了根据本发明一个实施例的应用页面打开方法100的流程图,该方法可应用于终端设备,例如台式电脑、笔记本电脑、智能手机、和平板电脑等。需要指出的是,方法100可以在一个平台应用中运行,但并不限于此。特别地,终端设备可以是配备有安卓系统的移动终端,但不限于此。以下对方法100进行详细描述。FIG. 1 shows a flowchart of a method 100 for opening an application page according to an embodiment of the present invention. The method can be applied to terminal devices, such as desktop computers, notebook computers, smart phones, and tablet computers. It should be noted that the method 100 can be executed in a platform application, but is not limited to this. In particular, the terminal device may be a mobile terminal equipped with an Android system, but is not limited thereto. The method 100 is described in detail below.
如图1所示,方法100可以包括S110-S130。As shown in FIG. 1, the method 100 may include S110-S130.
S110:获取第一应用页面链接。S110: Obtain the link of the first application page.
在如今的终端设备、尤其是移动终端中,社交应用的使用非常频繁,通过社交应用来交流信息也是常见操作。在社交应用(例如微信或微博等)的使用中,用户经常将感兴趣的应用页面链接分享给熟悉的人。In today's terminal devices, especially mobile terminals, social applications are used very frequently, and it is also a common operation to exchange information through social applications. In the use of social applications (such as WeChat or Weibo, etc.), users often share links to application pages of interest to familiar people.
除非另外指明,本文中的“应用页面”或“应用页面链接”,包括应用程序中打开的各个应用页面,并且不限于此。能够在应用程序的界面上显示,并且包含文字、图片、超链接或多媒体等内容的,均可以称为“应用页面”,对应的链接可以称为“应用页面链接”。Unless otherwise specified, "application pages" or "application page links" herein include, and are not limited to, individual application pages opened in an application. Anything that can be displayed on the interface of an application program and contains text, pictures, hyperlinks, or multimedia content may be referred to as "application pages", and the corresponding links may be referred to as "application page links".
通常,此处的第一应用页面链接包含第一应用的标识,指明第一应用页面链接对应的第一应用。常见的标识可以是应用的域名。例如,在移动终端中,示例性标识可以为dianping.com,此处不做具体限制。Generally, the first application page link here includes an identifier of the first application, indicating the first application corresponding to the first application page link. A common identifier can be the domain name of the application. For example, in a mobile terminal, an exemplary identifier may be dianping.com, which is not specifically limited here.
第一应用页面链接可以是通过社交应用从另外的用户处接收,也可以是来自其他应用,例如浏览器应用。浏览器应用页面中通常包含应用页面链接,通过点击便可以获取。此外,还可以通过应用程序的预设功能来生成应用页面链接。The first application page link may be received from another user through a social application, or may be from another application, such as a browser application. Browser application pages usually contain application page links, which can be obtained by clicking. In addition, the application page link can also be generated through the application's preset function.
S120:根据所述第一应用页面链接,确定预设应用库中是否包含所述第一应用。S120: Determine whether the preset application library includes the first application according to the first application page link.
本发明实施例中,预设应用库通常包含一个或更多个应用。可以理解的是,预设应用库可以存储于终端设备本地,也可以存储于云端。特别地,可以根据用户的个人需要设置预设应用库,也可以在互联网上查找现有的应用库,在此不做限制。可以理解的是,如果预设应用库存储于云端,可以通过终端设备和云端的的交互来执行本发明提供的方法,这样占用终端设备的容量较少,可以节省终端设备的存储空间,减少终端设备的电量消耗。In this embodiment of the present invention, the preset application library generally includes one or more applications. It can be understood that the preset application library can be stored locally on the terminal device or stored in the cloud. In particular, a preset application library may be set according to the user's personal needs, or an existing application library may be searched on the Internet, which is not limited herein. It can be understood that if the preset application library is stored in the cloud, the method provided by the present invention can be executed through the interaction between the terminal device and the cloud, so that the capacity of the terminal device is less, the storage space of the terminal device can be saved, and the number of terminals can be reduced. The power consumption of the device.
优选地,预设应用库如果在本地,可以包含数量较少的应用,这取决于终端设备的容量和用户的需求。用户可以根据需要对预设应用库中的数量进行增减,以对预设应用库所占用的手机容量进行调整。Preferably, if the preset application library is local, it may contain a small number of applications, which depends on the capacity of the terminal device and the needs of the user. The user can increase or decrease the number in the preset application library as required, so as to adjust the capacity of the mobile phone occupied by the preset application library.
S130:在确定所述预设应用库中包含所述第一应用时,利用应用程序免安装技术运行所述第一应用,以打开所述第一应用页面链接。S130: When it is determined that the first application is included in the preset application library, use the application-free installation technology to run the first application to open the first application page link.
应用程序免安装技术可用于精简应用程序的安装和运行,例如Windows系统中常见的绿色软件,无需安装,只需要将必要的文件解压至一个文件夹内,即可运行应用程序。The application-free installation technology can be used to simplify the installation and operation of applications, such as green software commonly found in Windows systems. No installation is required. You only need to extract the necessary files to a folder to run the application.
对于移动终端而言,第一应用页面链接可以为www.dianping.com/**/&%,此处确定预设应用库中包含大众点评应用时,可以以插件形式运行预设应用库中的大众点评应用,以打开第一应用页面链接。For a mobile terminal, the link to the first application page can be www.dianping.com/**/&%. When it is determined that the Dianping application is included in the preset application library, the application in the preset application library can be run in the form of a plug-in. Dianping application to open the first application page link.
在另一实施例中,如果应用库中不包含第一应用,则可以从云端的服务器下载第一应用,以打开第一应用页面链接。这个过程可以根据设置自动完成,不需要用户从应用市场上下载安装包进行安装。In another embodiment, if the first application is not included in the application library, the first application may be downloaded from a server in the cloud to open a link to the first application page. This process can be completed automatically according to the settings, and users do not need to download the installation package from the application market for installation.
对于移动终端,如果接收到的第一应用页面链接为“JD.com/**/&%”,而预设应用库中没有京东应用时,可以从服务器或任意应用市场(例如软件管家等应用程序)下载京东应用,并以插件形式运行京东应用,以打开第一应用页面链接。For the mobile terminal, if the received first application page link is "JD.com/**/&%", and there is no JD application in the preset application library, you can download the application from the server or any application market (such as software housekeeper and other applications) program) download the Jingdong application, and run the Jingdong application in the form of a plug-in to open the first application page link.
预设应用库可以在前述平台应用中运行。这样,通过一个平台应用,可以以对应的应用打开应用页面链接,无需用户进行选择或设置默认打开程序。A library of preset applications can run in the aforementioned platform applications. In this way, through a platform application, the application page link can be opened with the corresponding application, without the need for the user to select or set a default opening program.
此时,在确定所述预设应用库中不包含所述第一应用时,可以下载所述第一应用,并且利用应用程序免安装技术运行的第一应用打开所述第一应用页面链接;接着可以将所述第一应用添加至所述预设应用库,以丰富预设应用库中的内容。At this time, when it is determined that the first application is not included in the preset application library, the first application may be downloaded, and the first application running by using the application-free installation technology is used to open the first application page link; Then, the first application can be added to the preset application library to enrich the content in the preset application library.
特别地,应用程序免安装技术可以是插件技术,此时,S130可以为:在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。Particularly, the application-free installation technology may be a plug-in technology. In this case, S130 may be: when it is determined that the first application is included in the preset application library, use the first application running in the form of a plug-in to open the first application An application page link.
插件是一种遵循一定规范的应用程序接口编写出来的程序。其只能运行在程序规定的系统平台下(可能同时支持多个平台),而不能脱离指定的平台单独运行。应用软件提供使插件能够应用的各项服务,其中包括提供加载方式,使插件可以加载到应用程序和网络传输协议中,从而和插件进行数据交换。A plug-in is a program written in accordance with a certain standard application program interface. It can only run under the system platform specified by the program (may support multiple platforms at the same time), and cannot run independently from the specified platform. The application software provides various services that enable the plug-in to be applied, including providing a loading method, so that the plug-in can be loaded into the application program and the network transmission protocol, so as to exchange data with the plug-in.
在本发明一个特定实施例中,终端设备可以是配备安卓系统的移动终端。并且,如果应用程序免安装技术为插件技术,S130可以为:确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。In a specific embodiment of the present invention, the terminal device may be a mobile terminal equipped with an Android system. Furthermore, if the application-free installation technology is a plug-in technology, S130 may be: when it is determined that the preset application library contains the first application, use the first application running in the form of a plug-in to open the first application page link.
优选地,可以从安装有包含多个应用的云端应用库的服务器中下载第一应用。Preferably, the first application can be downloaded from a server on which a cloud application library including multiple applications is installed.
在本发明另一实施例中,如图2所示,方法100还可以包括:In another embodiment of the present invention, as shown in FIG. 2 , the method 100 may further include:
S140:检测所述终端设备中是否已安装有所述第一应用;以及S140: Detect whether the first application has been installed in the terminal device; and
S150:在所述终端设备中安装了所述第一应用时,利用安装的所述第一应用打开所述第一应用页面链接。S150: When the first application is installed in the terminal device, use the installed first application to open the first application page link.
应理解的是,S140和S150与S120-S130的执行顺序不是固定的,在此不做限制。It should be understood that the execution order of S140 and S150 and S120-S130 is not fixed, and is not limited herein.
在另一实施例中,如图3所示,方法100还可以包括:In another embodiment, as shown in FIG. 3 , the method 100 may further include:
S160:接收检索请求,并将所述检索请求发送至服务器;S160: Receive a retrieval request, and send the retrieval request to a server;
本申请中,可以根据用户的检索请求进行检索。具体地,运行方法100的平台应用可以设置有检索功能,例如设置检索输入框,通过检索输入框接收用户的检索请求,检索请求可以被发送至服务器。In this application, retrieval can be performed according to the user's retrieval request. Specifically, the platform application running the method 100 may be provided with a retrieval function, for example, a retrieval input box may be provided, and a retrieval request from a user may be received through the retrieval input box, and the retrieval request may be sent to the server.
S170:从所述服务器接收检索结果;S170: Receive a retrieval result from the server;
从服务接收的检索结果可以包括至少一个应用页面链接,此处的至少一个应用页面链接可以来自不同的应用。例如,如果检索请求为“长款风衣”,则从服务器返回的至少一个链接不仅可以包括来自淘宝的应用页面链接,还可以包括来自京东、唯品会等应用的应用页面链接。The retrieval results received from the service may include at least one application page link, where the at least one application page link may be from a different application. For example, if the retrieval request is "long windbreaker", at least one link returned from the server may include not only the application page link from Taobao, but also the application page link from applications such as JD.com and Vipshop.
在本实施例中,对于接收到的检索结果,针对所述至少一个应用页面链接中每个应用页面链接,可以检测所述预设应用库中是否包含该应用页面链接对应的应用;在确定所述预设应用库中包含该应用页面链接对应的应用时,可以利用应用程序免安装技术运行所述应用,以打开该应用页面链接;以及在确定所述预设应用库中不包含该应用页面链接对应的应用时,可以下载所述应用,并且利用应用程序免安装技术运行所述应用以打开该应用页面链接,以及将所述应用添加至所述预设应用库。In this embodiment, for the received retrieval result, for each application page link in the at least one application page link, it may be detected whether the preset application library contains an application corresponding to the application page link; When the preset application library contains the application corresponding to the application page link, the application can be run using the application-free installation technology to open the application page link; and it is determined that the preset application library does not contain the application page. When linking the corresponding application, the application can be downloaded, and the application can be run by using the application-free installation technology to open the application page link, and the application can be added to the preset application library.
目前,特别在移动终端中,对于上述示例、即检索条件“长款风衣”,用户通常需要打开具体的应用,例如淘宝、京东等,并且检索结果也是在特定应用中显示,且只能得到当前打开的应用中的检索结果。本实施例中,可以同时获取来自多个应用的检索结果。At present, especially in mobile terminals, for the above example, that is, the retrieval condition "long windbreaker", the user usually needs to open a specific application, such as Taobao, Jingdong, etc., and the retrieval result is also displayed in the specific application, and only the current Search results in an open app. In this embodiment, retrieval results from multiple applications can be acquired at the same time.
优选地,方法100可以同时包含S140-S170,或其组合。并且,S160和S170可以在S110前进行,在此不限制其执行顺序。Preferably, the method 100 may simultaneously include S140-S170, or a combination thereof. Moreover, S160 and S170 may be performed before S110, and the execution order thereof is not limited here.
在另一实施方式中,可以预先设定预设应用库中包含的应用的数量。例如,可以预先设定阈值,当预设应用库中的应用的数量超过所设定的阈值时,则提醒用户删除不常用应用,此处优选地可以向用户展示不常用应用列表以供用户进行选择。特别地,可以预先进行设置,以使得当预设应用库中的应用的数量超过所设定的阈值时,如果第一应用页面链接对应的第一应用没有包含在预设应用库中,则可以自动删除最不常用的应用,并下载第一应用页面链接对应的第一应用以打开第一应用页面链接。In another embodiment, the number of applications included in the preset application library may be preset. For example, a threshold can be preset, and when the number of applications in the preset application library exceeds the set threshold, the user is reminded to delete infrequently used applications, and a list of infrequently used applications can preferably be displayed to the user for the user to perform choose. In particular, it can be set in advance so that when the number of applications in the preset application library exceeds the set threshold, if the first application corresponding to the first application page link is not included in the preset application library, the preset application library can be The least frequently used application is automatically deleted, and the first application corresponding to the first application page link is downloaded to open the first application page link.
在另一实施例中,如果终端设备的用户希望对应用页面链接进行分享,则方法200还可以包括:In another embodiment, if the user of the terminal device wishes to share the application page link, the method 200 may further include:
接收来自所述终端设备的链接发送请求,其中所述链接发送请求中包含待分享应用页面链接和分享应用的标识,并且所述分享应用为用户选择的用于分享所述待分享应用页面链接的应用,以及Receive a link sending request from the terminal device, wherein the link sending request includes a page link of the application to be shared and an identifier of the sharing application, and the sharing application is a user-selected link for sharing the page link of the application to be shared. application, and
根据所述链接发送请求发送所述待分享应用页面链接。The link of the application page to be shared is sent according to the link sending request.
通常,本发明中的分享应用可以为社交应用,例如微信、微博、支付宝等。通过上述技术方案,可以根据用户的请求来对用户希望分享的应用页面链接进行分享,进一步优化了用户体验。Generally, the sharing application in the present invention may be a social application, such as WeChat, Weibo, Alipay, and the like. Through the above technical solution, the application page link that the user wishes to share can be shared according to the user's request, which further optimizes the user experience.
现在参照图4,本发明还提供了一种应用页面内容检索方法200,方法200可以应用于服务器。如图4所示,方法200可以包括:Referring now to FIG. 4 , the present invention also provides a method 200 for retrieving content of an application page, and the method 200 can be applied to a server. As shown in FIG. 4, method 200 may include:
S210:接收终端设备发送的检索请求;S210: Receive a retrieval request sent by the terminal device;
S220:根据所述检索请求,确定预设索引中是否包含所述检索请求对应的至少一个应用页面链接;S220: According to the retrieval request, determine whether the preset index contains at least one application page link corresponding to the retrieval request;
此处的预设索引可以包含多个应用的多个应用页面链接,并且所述应用页面链接包含所对应的应用的标识。在一个优选实施例中,如图5所示,可以利用如下方式构建预设索引:The preset index here may include multiple application page links of multiple applications, and the application page links include the identifiers of the corresponding applications. In a preferred embodiment, as shown in Figure 5, the preset index can be constructed in the following manner:
S221:构建自定义安卓环境,并且在所述自定义安卓环境中安装多个安卓应用的安卓安装包;S221: Build a custom Android environment, and install Android installation packages of multiple Android applications in the custom Android environment;
安卓是开源的操作系统,为了便于开发,在使用时可以根据需要自定义安卓环境。通过修改安卓系统的源代码,即可构造自定义安卓环境。本实施例中,可以在自定义安卓环境中安装多个安卓应用的安装包。Android is an open source operating system. In order to facilitate development, you can customize the Android environment according to your needs. By modifying the source code of the Android system, you can construct a custom Android environment. In this embodiment, the installation packages of multiple Android applications can be installed in the custom Android environment.
S222:在所述自定义安卓环境中,分别打开所述多个安卓应用,并获取每个安卓应用中的应用页面内容对应的应用页面链接,其中所述应用页面链接包含对应的安卓应用的标识;S222: In the custom Android environment, open the multiple Android applications respectively, and obtain the application page link corresponding to the application page content in each Android application, wherein the application page link includes the identifier of the corresponding Android application ;
此处,可以构建一个自动点击程序来自动打开自定义安卓环境中的安卓应用,以及自动点击安卓应用中的各个链接,由此来获取每个安卓应用的应用页面内容对应的应用页面链接。Here, an automatic click program can be constructed to automatically open the Android application in the custom Android environment, and automatically click each link in the Android application, thereby obtaining the application page link corresponding to the application page content of each Android application.
S223:利用预设搜索引擎技术和所获取的应用页面链接,构建所述预设索引。S223: Construct the preset index by using the preset search engine technology and the obtained application page link.
搜索引擎的架构一般包括很多模块,例如网络爬虫、网页去重、构建索引等,并且还要对索引进行处理,例如根据内容相关性或链接分析等技术进行处理,对网页进行排序等。可以根据需要选取相关的技术构建搜索引擎,本发明中对此不做限制。The architecture of a search engine generally includes many modules, such as web crawler, web page deduplication, index building, etc., and the index is also processed, such as processing based on content relevancy or link analysis, and sorting web pages. The search engine can be constructed by selecting relevant technologies as required, which is not limited in the present invention.
现有的搜索引擎中,构建索引是很重要的一环。本发明中,由于所获取的应用页面链接中包含相应安卓应用的标识,可以使用任一种现有搜索引擎技术并基于所获取的应用页面链接来构建预设索引。In existing search engines, building an index is an important part. In the present invention, since the obtained application page link contains the identifier of the corresponding Android application, any existing search engine technology can be used to build a preset index based on the obtained application page link.
特别地,S221-S223也可以用于其他系统中,只需要首先构建该系统需要的环境即可。In particular, S221-S223 can also be used in other systems, as long as the environment required by the system needs to be constructed first.
S230:在确定所述预设索引中包含所述至少一个应用页面链接时,生成包含所述至少一个应用页面链接的检索结果;S230: When it is determined that the preset index includes the at least one application page link, generate a retrieval result including the at least one application page link;
S240:将所述检索结果发送至所述终端设备。S240: Send the retrieval result to the terminal device.
在另一实施例中,服务器安装有包含多个应用的云端应用库,在这种情况下,如图6所示,方法200还可以包括:In another embodiment, a cloud application library including multiple applications is installed on the server. In this case, as shown in FIG. 6 , the method 200 may further include:
S250:以预定时间间隔对多个应用市场进行监测;以及S250: monitor multiple application markets at predetermined time intervals; and
S260:当监测到所述多个应用市场中任一个出现新的应用时,下载所述新的应用至所述云端应用库。S260: When a new application is detected in any one of the multiple application markets, download the new application to the cloud application library.
可以理解的是,云端应用库包含有大量应用,以供使用。定期对云端应用库进行更新,能够充实云端应用库,优化用户体验。Understandably, the cloud application library contains a large number of applications for use. Regularly updating the cloud application library can enrich the cloud application library and optimize the user experience.
在另一实施例中,如图7所示,方法200还可以包括:In another embodiment, as shown in FIG. 7 , the method 200 may further include:
S270:与所述终端设备通信,并且监测所述终端设备的运行;以及S270: Communicate with the terminal device and monitor the operation of the terminal device; and
S280:当监测到所述终端设备中打开的应用页面链接不包含在所述预设索引中时,获取该应用页面链接,并且将该应用页面链接添加至所述预设索引。S280: When monitoring that the application page link opened in the terminal device is not included in the preset index, acquire the application page link, and add the application page link to the preset index.
利用上述技术方案,可以通过与终端设备的通信,来获取终端设备中预设索引中不包括的应用页面链接,充实预设索引。Using the above technical solution, the application page links not included in the preset index in the terminal device can be obtained through communication with the terminal device, and the preset index can be enriched.
需要说明的是,S250-S260与S270-S280可以同时包含于一个实施例中,也可以包含于不同的实施例中,并且其执行顺序在此不做具体限制,可以在S210-S240之前,也可以是其他执行顺序。It should be noted that, S250-S260 and S270-S280 may be included in one embodiment at the same time, and may also be included in different embodiments, and the execution order thereof is not specifically limited here. Other execution orders are possible.
如图8所示,本发明提供了一种应用页面打开装置300。装置的描述可以参照对方法100的描述。装置300可以应用于终端设备,并且可以包括:As shown in FIG. 8 , the present invention provides an application page opening apparatus 300 . The description of the apparatus may refer to the description of the method 100 . The apparatus 300 can be applied to terminal equipment, and can include:
获取模块310,用于获取第一应用页面链接,其中,所述第一应用页面链接包含第一应用的标识;an obtaining
确定模块320,用于根据所述第一应用页面链接,确定预设应用库中是否包含所述第一应用,其中,所述预设应用库包含一个或更多个应用;以及a determining
第一打开模块330,用于在确定所述预设应用库中包含所述第一应用时,利用应用程序免安装技术运行所述第一应用,以打开所述第一应用页面链接。The
特别地,应用程序免安装技术可以是插件技术,第一打开模块可以进一步用于:在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。In particular, the application-free installation technology may be a plug-in technology, and the first opening module may be further configured to: when it is determined that the first application is included in the preset application library, use the first application running in the form of a plug-in to open all the Link to the first application page described above.
优选地,终端设备可以为配备安卓系统的移动终端。Preferably, the terminal device may be a mobile terminal equipped with an Android system.
此时,在应用程序免安装技术为插件技术的情况下,第一打开模块进一步用于:在确定所述预设应用库中包含所述第一应用时,利用以插件形式运行的第一应用打开所述第一应用页面链接。At this time, when the application-free installation technology is a plug-in technology, the first opening module is further configured to: when it is determined that the first application is included in the preset application library, use the first application running in the form of a plug-in Open the first application page link.
在一个优选实施例中,第一打开模块可以进一步用于:In a preferred embodiment, the first opening module can be further used to:
在确定所述预设应用库中不包含所述第一应用时,下载所述第一应用;When it is determined that the first application is not included in the preset application library, downloading the first application;
利用应用程序免安装技术运行的第一应用打开所述第一应用页面链接;以及The first application running with the application instant technology opens the first application page link; and
将所述第一应用添加至所述预设应用库。The first application is added to the preset application library.
优选地,装置300还可以包括:Preferably, the apparatus 300 may further include:
检测模块,用于检测所述终端设备中是否已安装有所述第一应用;a detection module, configured to detect whether the first application has been installed in the terminal device;
第二打开模块,用于在所述终端设备中安装了所述第一应用时,利用安装的所述第一应用打开所述第一应用页面链接。A second opening module, configured to use the installed first application to open the first application page link when the first application is installed in the terminal device.
在另一优选实施例中,装置300还可以包括:In another preferred embodiment, the apparatus 300 may further include:
请求接收模块,用于接收检索请求,并将所述检索请求发送至服务器;以及a request receiving module for receiving a retrieval request and sending the retrieval request to a server; and
结果接收模块,用于从所述服务器接收检索结果,其中,所述检索结果包括至少一个应用页面链接,并且所述至少一个应用页面链接来自至少一个应用。A result receiving module, configured to receive a retrieval result from the server, wherein the retrieval result includes at least one application page link, and the at least one application page link is from at least one application.
根据另一优选实施例,所述确定模块可以进一步用于:针对所述至少一个应用页面链接中每个应用页面链接,检测所述预设应用库中是否包含该应用页面链接对应的应用;以及According to another preferred embodiment, the determining module may be further configured to: for each application page link in the at least one application page link, detect whether the preset application library contains an application corresponding to the application page link; and
所述第一打开模块可以进一步用于:在确定所述预设应用库中包含该应用页面链接对应的应用时,利用应用程序免安装技术运行所述应用,以打开该应用页面链接;以及在确定所述预设应用库中不包含该应用页面链接对应的应用时,下载所述应用,并且利用应用程序免安装技术运行所述应用以打开该应用页面链接,以及将所述应用添加至所述预设应用库。The first opening module may be further configured to: when it is determined that the application corresponding to the application page link is contained in the preset application library, run the application using the application-free installation technology to open the application page link; and When it is determined that the application corresponding to the application page link is not included in the preset application library, the application is downloaded, and the application is run using the application-free installation technology to open the application page link, and the application is added to all the preset application library.
优选地,装置300还可以包括:Preferably, the apparatus 300 may further include:
链接发送模块,用于接收链接发送请求,其中所述链接发送请求中包含待分享应用页面链接和分享应用的标识,以及根据所述链接发送请求发送所述待分享应用页面链接,其中所述分享应用为用户选择的用于分享所述待分享应用页面链接的应用。A link sending module, configured to receive a link sending request, wherein the link sending request includes a page link of the application to be shared and an identifier of the sharing application, and sending the link of the application page to be shared according to the link sending request, wherein the sharing The application is an application selected by the user for sharing the page link of the application to be shared.
如图9所示,本发明还提供了一种应用页面内容检索装置400,应用于服务器。装置400的描述可以参照方法200的描述。该装置可以包括:As shown in FIG. 9 , the present invention also provides an apparatus 400 for retrieving application page content, which is applied to a server. The description of the apparatus 400 may refer to the description of the method 200 . The apparatus may include:
检索接收模块410,用于接收终端设备发送的检索请求;a
链接确定模块420,用于根据所述检索请求,确定预设索引中是否包含所述检索请求对应的至少一个应用页面链接,其中,所述预设索引包含多个应用的多个应用页面链接,并且所述应用页面链接包含所对应的应用的标识;The
结果生成模块430,用于在确定所述预设索引中包含所述至少一个应用页面链接时,生成包含所述至少一个应用页面链接的检索结果;以及a result generating module 430, configured to generate a retrieval result including the at least one application page link when it is determined that the preset index includes the at least one application page link; and
结果发送模块440,用于将所述检索结果发送至所述终端设备。The
特别地,所述预设索引可以利用如下方式构建:In particular, the preset index can be constructed in the following manner:
构建自定义安卓环境,并且在所述自定义安卓环境中安装多个安卓应用的安卓安装包;Build a custom Android environment, and install the Android installation packages of multiple Android applications in the custom Android environment;
在所述自定义安卓环境中,分别打开所述多个安卓应用,并获取每个安卓应用中的应用页面内容对应的应用页面链接,其中所述应用页面链接包含对应的安卓应用的标识;以及In the custom Android environment, the multiple Android applications are opened respectively, and the application page link corresponding to the application page content in each Android application is obtained, wherein the application page link contains the identifier of the corresponding Android application; and
利用预设搜索引擎技术和所获取的应用页面链接,构建所述预设索引。The preset index is constructed by using the preset search engine technology and the obtained application page links.
在另一优选实施例中,装置400还可以包括:更新模块,用于以预定时间间隔对多个应用市场进行监测;以及当监测到所述多个应用市场中任一个出现新的应用时,下载所述新的应用至所述云端应用库。In another preferred embodiment, the apparatus 400 may further include: an update module configured to monitor multiple application markets at predetermined time intervals; and when a new application is detected in any one of the multiple application markets, Download the new application to the cloud application library.
根据另一优选实施例,装置400还可以包括:索引更新模块,用于与所述终端设备通信,并且监测所述终端设备的运行;以及当监测到所述终端设备中打开的应用页面链接不包含在所述预设索引中时,获取该应用页面链接,并且将该应用页面链接添加至所述预设索引。According to another preferred embodiment, the apparatus 400 may further include: an index updating module, configured to communicate with the terminal device and monitor the operation of the terminal device; When included in the preset index, the application page link is acquired, and the application page link is added to the preset index.
图10示出了根据本发明另一实施例的设备500的结构示意图。如图10所示,该设备包括:FIG. 10 shows a schematic structural diagram of a device 500 according to another embodiment of the present invention. As shown in Figure 10, the device includes:
一个或多个处理器510;one or
存储装置520,配置为存储一个或多个程序;
通信接口530,配置为使所述处理器510和存储装置520与外部设备进行通信;a
当所述一个或多个程序被所述一个或多个处理器510执行时,使得所述一个或多个处理器510实现前述任一种应用页面打开方法或应用页面内容检索方法。When the one or more programs are executed by the one or
根据本发明另一实施例,提供了一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现前述任一种应用页面打开方法或应用页面内容检索方法。According to another embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program, and when the program is executed by a processor, implements any of the foregoing application page opening methods or application page content retrieval methods.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序检索结果,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性检索结果)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。Logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered to be the results of a sequential search of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium , for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device), or in conjunction with these instruction execution systems, device or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples of computer readable media (non-exhaustive search results) include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM) , Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, followed by editing, interpretation, or other suitable medium as necessary process to obtain the program electronically and then store it in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program is stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。所述存储介质可以是只读存储器,磁盘或光盘等。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art who is familiar with the technical field disclosed in the present invention can easily think of various changes or Replacement, these should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (26)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910204663.8A CN109918153B (en) | 2019-03-18 | 2019-03-18 | Page opening method and device and page content retrieval method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910204663.8A CN109918153B (en) | 2019-03-18 | 2019-03-18 | Page opening method and device and page content retrieval method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109918153A CN109918153A (en) | 2019-06-21 |
| CN109918153B true CN109918153B (en) | 2022-05-27 |
Family
ID=66965357
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910204663.8A Active CN109918153B (en) | 2019-03-18 | 2019-03-18 | Page opening method and device and page content retrieval method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109918153B (en) |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014032579A1 (en) * | 2012-08-30 | 2014-03-06 | Tencent Technology (Shenzhen) Company Limited | A method and apparatus for displaying information |
| CN104601672A (en) * | 2014-12-26 | 2015-05-06 | 北京奇虎科技有限公司 | Method and device for sharing network resources based on different application clients |
| CN105574170A (en) * | 2015-12-16 | 2016-05-11 | 深圳市金立通信设备有限公司 | Web page link opening method and terminal |
| CN106663108A (en) * | 2014-06-25 | 2017-05-10 | 谷歌公司 | Deep links for native applications |
| CN106682226A (en) * | 2017-01-05 | 2017-05-17 | 珠海市魅族科技有限公司 | Method, system and terminal for opening share link |
| CN106933623A (en) * | 2017-02-22 | 2017-07-07 | 广州大学 | Exempt from that operation method, the apparatus and system applied are installed |
| CN107656768A (en) * | 2017-09-13 | 2018-02-02 | 北京京东尚科信息技术有限公司 | Control the method and its system of page jump |
| CN107844324A (en) * | 2017-10-23 | 2018-03-27 | 北京京东尚科信息技术有限公司 | Customer terminal webpage redirects treating method and apparatus |
| CN108363792A (en) * | 2018-02-13 | 2018-08-03 | 广东欧珀移动通信有限公司 | Link generation method, device, storage medium and the electronic equipment of five application page |
| CN108391009A (en) * | 2018-02-13 | 2018-08-10 | 广东欧珀移动通信有限公司 | Application page display method, device, storage medium and electronic device |
| CN109241380A (en) * | 2018-08-24 | 2019-01-18 | 北京信息科技大学 | A kind of acquisition method of the microblog data combined based on web crawlers and Sina API |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103678508A (en) * | 2013-11-21 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for opening a webpage |
| CN106775793A (en) * | 2015-11-23 | 2017-05-31 | 卓望数码技术(深圳)有限公司 | A kind of Android application exempts to install method, device and the terminal for starting |
| TW201814554A (en) * | 2016-10-12 | 2018-04-16 | 香港商阿里巴巴集團服務有限公司 | Searching index information for application data |
| CN106708580A (en) * | 2016-12-27 | 2017-05-24 | 北京奇虎科技有限公司 | Free-installation application program operating method, system and intelligent terminal |
| CN107315833A (en) * | 2017-07-12 | 2017-11-03 | 北京多点在线科技有限公司 | Method and apparatus of the retrieval with downloading based on application program |
| CN108712478B (en) * | 2018-04-28 | 2019-10-22 | 上海掌门科技有限公司 | A method and device for sharing a homestay application |
-
2019
- 2019-03-18 CN CN201910204663.8A patent/CN109918153B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014032579A1 (en) * | 2012-08-30 | 2014-03-06 | Tencent Technology (Shenzhen) Company Limited | A method and apparatus for displaying information |
| CN106663108A (en) * | 2014-06-25 | 2017-05-10 | 谷歌公司 | Deep links for native applications |
| CN104601672A (en) * | 2014-12-26 | 2015-05-06 | 北京奇虎科技有限公司 | Method and device for sharing network resources based on different application clients |
| CN105574170A (en) * | 2015-12-16 | 2016-05-11 | 深圳市金立通信设备有限公司 | Web page link opening method and terminal |
| CN106682226A (en) * | 2017-01-05 | 2017-05-17 | 珠海市魅族科技有限公司 | Method, system and terminal for opening share link |
| CN106933623A (en) * | 2017-02-22 | 2017-07-07 | 广州大学 | Exempt from that operation method, the apparatus and system applied are installed |
| CN107656768A (en) * | 2017-09-13 | 2018-02-02 | 北京京东尚科信息技术有限公司 | Control the method and its system of page jump |
| CN107844324A (en) * | 2017-10-23 | 2018-03-27 | 北京京东尚科信息技术有限公司 | Customer terminal webpage redirects treating method and apparatus |
| CN108363792A (en) * | 2018-02-13 | 2018-08-03 | 广东欧珀移动通信有限公司 | Link generation method, device, storage medium and the electronic equipment of five application page |
| CN108391009A (en) * | 2018-02-13 | 2018-08-10 | 广东欧珀移动通信有限公司 | Application page display method, device, storage medium and electronic device |
| CN109241380A (en) * | 2018-08-24 | 2019-01-18 | 北京信息科技大学 | A kind of acquisition method of the microblog data combined based on web crawlers and Sina API |
Non-Patent Citations (3)
| Title |
|---|
| 北京大学》.2018, * |
| 张仰森 ; 亓文法 ; 段瑞雪 ; 张良.智能化中文文本校对技术及在内容审核中的应用.《北京信息科技大学 * |
| 拓尔思信息技术股份有限公司 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109918153A (en) | 2019-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9954964B2 (en) | Content suggestion for posting on communication network | |
| RU2608668C2 (en) | System and method for control and organisation of web-browser cache for offline browsing | |
| CN105190597B (en) | Social based information recommendation system | |
| EP3005084B1 (en) | Driver installation for targeted and not-connected devices | |
| CN107888703B (en) | Information push method, device, server and readable storage medium | |
| CN107872534B (en) | Information push method, device, server and readable storage medium | |
| US10191838B2 (en) | Method and device for checking influence of deleting cache file, and mobile terminal | |
| CN107251012A (en) | The word recommendations that topic knows | |
| CN110362968B (en) | Information detection method, device and server | |
| KR20100139012A (en) | Inserting multimedia files through web-based desktop productivity applications | |
| US10375149B2 (en) | Application registration and interaction | |
| CN111695004B (en) | Application information processing method, device, computer equipment and storage medium | |
| CN101388891A (en) | Apparatus and method for managing presence information of a presentity | |
| US8126859B2 (en) | Updating a local version of a file based on a rule | |
| CN112559913B (en) | Data processing method, device, computing equipment and readable storage medium | |
| US20160232240A1 (en) | Browser new tab page generation for enterprise environments | |
| US20110055295A1 (en) | Systems and methods for context aware file searching | |
| CN118733303B (en) | APP memory data classified storage method, classified storage system and server | |
| CN109918153B (en) | Page opening method and device and page content retrieval method and device | |
| US9661491B1 (en) | Communicating information about an update of an application | |
| CN110647331A (en) | Method and device for acquiring development tool, storage medium, and electronic device | |
| US12032641B2 (en) | Index storage across heterogenous storage devices | |
| CN116017074B (en) | Method, device and computer-readable storage medium for recommending live data | |
| CN112947846B (en) | Batch processing task execution method and device of object storage system and electronic equipment | |
| CN115904762A (en) | Method and device for determining attribute information in real time, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20210416 Address after: 100089 Beijing city Haidian District Qinghe small Camp Road No. 12 Applicant after: BEIJING INFORMATION SCIENCE AND TECHNOLOGY University Address before: 100083 Beijing Haidian District Wudaokou Huaqing Jiayuan 9 Building 904 Applicant before: Huo Fang |
|
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20231025 Address after: Room 8048, Room 806, 7th Floor, Building 1, No. 82 East Fourth Ring Middle Road, Chaoyang District, Beijing, 100124 Patentee after: Beijing Fengming Science and Trade Co.,Ltd. Address before: No.12, East Xiaoying Road, Qinghe, Haidian District, Beijing 100089 Patentee before: BEIJING INFORMATION SCIENCE AND TECHNOLOGY University |
|
| TR01 | Transfer of patent right |