WO2019205716A1 - Method and device for searching for information in application program - Google Patents

Method and device for searching for information in application program Download PDF

Info

Publication number
WO2019205716A1
WO2019205716A1 PCT/CN2018/125602 CN2018125602W WO2019205716A1 WO 2019205716 A1 WO2019205716 A1 WO 2019205716A1 CN 2018125602 W CN2018125602 W CN 2018125602W WO 2019205716 A1 WO2019205716 A1 WO 2019205716A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
application
search
content information
target
Prior art date
Application number
PCT/CN2018/125602
Other languages
French (fr)
Chinese (zh)
Inventor
苏勇
王飞
Original Assignee
上海掌门科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海掌门科技有限公司 filed Critical 上海掌门科技有限公司
Publication of WO2019205716A1 publication Critical patent/WO2019205716A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types

Definitions

  • the present application relates to the field of computers, and in particular, to a method and device for searching information in an application.
  • search engines have provided search services for Internet users.
  • PC personal computer
  • Web search web pages
  • Web content to provide search services.
  • mobile Internet the main content of the mobile application (APP) is searched, and the APPs are isolated from each other, forming an information island, which makes the traditional crawler search technology unusable.
  • An object of the present application is to provide a method and device for searching information in an application, which solves the problem of information isolation between applications in the prior art and the inability to provide users with page content information of multiple applications.
  • a method of searching for information within an application comprising:
  • establishing a page content information database according to the plurality of fields consisting of the keyword and the page path including:
  • the page content information database is established according to the plurality of fields consisting of the keyword, the source application of the page, the summary information corresponding to the search keyword, and any combination of the page paths.
  • search results including:
  • the method before acquiring the page content information of the at least one application of the added page description field, the method includes:
  • At least one application of the added page description field is determined from an application installation list of the user device.
  • the page content information of the at least one application that has added the page description field includes:
  • the page content information of the at least one application that has added the page description field further includes:
  • the added page description field includes a field composed of one or more keywords corresponding to the page content information, wherein the keyword corresponding to the page content information is a desired search keyword.
  • the search keyword of the user is obtained, and the search result corresponding to the search keyword is matched in the page content information database according to the search keyword, and the search result is obtained, including:
  • search results are sorted according to a preset rule, including:
  • Sorting the search results according to historical parameter information corresponding to the target page where the historical parameter information includes an installation time of a source application of the target page, a number of times the user clicks on the target page, and a user is The duration of the target page.
  • sorting the search results based on historical parameter information corresponding to the target page includes:
  • the search results are sorted according to the weight value of each target page.
  • sorting the search results based on historical parameter information corresponding to the target page includes:
  • a weight value of each target page is determined based on historical parameter information corresponding to the target page.
  • determining, according to the historical parameter information corresponding to the target page, a weight value of each target page including:
  • the method includes:
  • the method includes:
  • the method includes:
  • a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the aforementioned method of searching for information within an application.
  • an apparatus for searching for information in an application comprising:
  • One or more processors are One or more processors;
  • a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the aforementioned methods.
  • the present application obtains page content information of at least one application that has added a page description field, where the page description field includes keywords corresponding to the page content information; according to the keyword pair
  • the page content information is classified, and the page content information database is established according to the plurality of fields composed of the keyword and the page path; the search keyword of the user is obtained, and the page content information database is matched according to the search keyword.
  • Find a target page corresponding to the search keyword and obtain a search result. Therefore, it is possible to summarize the page content information of different applications, provide users with richer and more comprehensive search results, break the information isolation between applications, and avoid the need for users to repeatedly search for different applications for the same search request.
  • FIG. 1 is a flow chart showing a method for searching for information in an application according to an aspect of the present application
  • FIG. 2 is a schematic diagram showing an interface display of search results in an embodiment of the present application.
  • the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage,
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • FIG. 1 is a schematic flowchart of a method for searching information in an application according to an aspect of the present application.
  • the method includes: Step S11 to Step S13, wherein in step S11, at least one of the added page description fields is acquired.
  • a page content information of the application wherein the page description field includes a keyword corresponding to the page content information
  • the page content information is classified according to the keyword, according to the keyword And a plurality of fields composed of the page path to establish a page content information database
  • step S13 acquiring a search keyword of the user, and searching for the target corresponding to the search keyword in the page content information database according to the search keyword Page, get search results. Therefore, it is possible to summarize the page content information of different applications, provide users with richer and more comprehensive search results, break the information isolation between applications, and avoid the need for users to repeatedly search for different applications for the same search request.
  • step S11 the page content information of the at least one application that has added the page description field is acquired, where the page description field includes a keyword corresponding to the page content information; here, for example, in an Android system.
  • Each application (APP) has a description file used to define the page inside the app, called AndroidManifest.xml, each page can be called Activity.
  • APP has a description file used to define the page inside the app, called AndroidManifest.xml
  • each page can be called Activity.
  • a description field such as android: description
  • the number of keywords added in the description field is not limited. Spaces can be used to distinguish different keywords. When there are multiple page activities, the desired keywords are added.
  • step S12 the page content information is classified according to the keyword, and a page content information database is established according to the plurality of fields composed of the keyword and the page path; here, the description is added in the search determination After one or more APPs of the field, the corresponding description field is read, and the obtained page content information is classified according to the keywords in the description field to perform word segmentation processing, so that the page content information database can be established.
  • the database includes a plurality of fields consisting of a keyword and a page path to implement the establishment of the index database, and the matching query is quickly performed to the information associated with the keyword according to the query request of the keyword.
  • step S13 the search keyword of the user is obtained, and the target page corresponding to the search keyword is matched in the page content information database according to the search keyword, and the search result is obtained.
  • the search keyword is a keyword input by the user.
  • the matching query from the established page content information database to the corresponding information is fed back to the user, and the user can select a certain one.
  • the search result then enters the corresponding page content information or jumps to the corresponding application interface.
  • step S12 a plurality of fields composed of any combination of the keyword, the source application of the page, the summary information corresponding to the search keyword, and the page path are established.
  • Page content information database may be established according to the keyword, the information of the source application, the summary information associated with the keyword and the target page content, and the multi-field composed of the path of the target page, wherein the path of the target page is the entry into the page. Links, so that users can understand the source of the search results, briefly understand the summary information of the page, and select operations based on the source and summary information, and select the corresponding search results.
  • the database may also be established according to the fields composed of the summary information, the keywords, and the page path, and the keywords may appear in the index form in the subsequent matching search results.
  • the database can also be established according to the keyword, the page path and the source application of the page, so as to conveniently provide the user with the source application information of each search result page, for example, as shown in FIG. 2, when searching for “cake”
  • the search results from the three applications are displayed in the search result list, and the corresponding source application information is displayed for the user to select.
  • the user can provide a display interface with various search results to meet the user's search requirements.
  • the search results may be sorted according to a preset rule, and the search keywords, the source application information, and the search keyword corresponding to each target page in the search result are sequentially displayed. Summary information and any combination of the page paths of the target page. Further, according to the user's selection operation, the user may jump to the detailed page content corresponding to the summary information, or jump to the source application corresponding to the target page according to the page path, to display the target page in the source application. Page content information. In an embodiment of the present application, the source application corresponding to the target page may be jumped according to the user's selection operation and the page path to display the page content information of the target page in the source application.
  • the search results may be sorted according to preset rules, and the search keywords and source application information corresponding to each page are sequentially displayed, for example, the search result for the search keyword is “cake”, and the order is followed by APP 1 .
  • APP 2 APP 3 related to the cake page, according to the user's selection operation of a certain search result and the corresponding page path jump to the corresponding APP interface, for example, the user clicks on the search result from APP 1, can jump to In the application interface of APP 1, it is convenient for the user to directly perform operations such as placing an order and making an appointment in the APP 1.
  • the search results may be sorted based on historical parameter information corresponding to the target page, where the historical parameter information includes a source application of the target page.
  • the search results are comprehensively sorted, which is closer to the user's selection tendency and improves the user experience.
  • the weighting value of each target page may be determined based on the historical parameter information corresponding to the target page and the weight information corresponding to each parameter in the historical parameter information; and the searching is performed according to the weight value of each target page.
  • the results are sorted.
  • the weights of the parameters are set, for example, the parameter setting weight of the user clicks is large, and the weight corresponding to the installation time is small, the parameters are quantized, and then each weight is calculated according to the set weight.
  • the weight value of each page, and the search results are sorted according to the size of the weight value.
  • the installation time of the source application, the number of times the user clicks on the target page, and the duration of the user's stay on the target page are taken as calculation parameters, and the installation time weight is recorded as 0.2, and the weight of the user clicking the page is recorded as 0.5.
  • the duration of the page stay is recorded as 0.3, and the value quantized by each parameter is multiplied by the corresponding weight, and then accumulated, and the weight value of the target page corresponding to each search result is calculated.
  • the weight value of each target page may also be determined based on the historical parameter information corresponding to the target page. That is, the page weight value is calculated for each parameter information, specifically:
  • the target page is sorted according to the installation time of the source application of the target page, and the sorting information is obtained; according to the preset unit time and the installation time, the The target page is grouped, and the weight value of each target page is updated according to the number of groups and the sorting information.
  • the page installation time is sorted from low to high, and grouped according to the installation date, for example, according to days and weeks.
  • the month is grouped, and the page is +5, +1, +2, +3...+n from low to high, where n is the number of packets.
  • the installation date is grouped into 4 groups, and the weight of the page is added to 4 (ie, +0, +1, +2, +3, +4) from low to high.
  • the weight value of the target page is updated according to the number of times the user clicks on the target page.
  • the weight value of the corresponding target page is incremented by one.
  • the weight value of the target page may be set according to the preset duration and the duration of the user staying at the target page. Counts the length of time the user stays on the target page. For example, in seconds, the weight value of the page is increased by 1 for every 10 seconds.
  • the target application that needs to search for the added page description field may be determined from the application installation list of the user equipment.
  • the query is performed according to the application installation list in the user equipment system, and at least one application that has added the page description field is searched therefrom, and at this time, the server does not need to be involved, and the user equipment can complete the acquisition, and obtain the qualified condition in the current device.
  • the application when searching, the search result is the page content of the currently installed qualified application, for example, a user device installation application A, application B, and application C are added page description fields, then proceed When searching, directly matching the application A, the application B, and the application C from the installation list, the acquired application content information will no longer be the page content in other applications.
  • the application list of the added page description field may also be obtained from the network device side; selecting from the application list One or more target applications of the same type as the application in the installation list of the user device; obtaining page content information of the one or more target applications and the application in the installation list to which the description field has been added.
  • information about other APPs of the same type as the currently installed application can be obtained from the network device. For example, APP 1 and APP 2 are installed on the user device, but APP3 of the same type is not installed, if the description file of APP3 is performed.
  • the content of the APP3 can be obtained from the network device, and the page information from the APP 3 can be displayed in the search result list, which can stimulate the user to install the APP 3 behavior, and can also browse in the current search engine. Some information about the page from APP 3 does not have to jump to the application interface of APP3 to provide users with a more comprehensive search service.
  • the page content information of the application that has added the page description field is acquired, and the history installation application list of the user equipment is also obtained; and the application that has added the page description field is determined from the history installation application list; The page content information of the application that has added the page description field.
  • the APP that collects the content of the page to be collected is selected for the installation record by collecting the installation record of the history APP of the user device. For example, the user device history has been installed with the APP 4, and although it is deleted later, if the description file of the APP 4 is added
  • the page description field can also be used as the target application for obtaining the page content, and after the user inputs the keyword, the search result from the APP 4 can be displayed.
  • the keyword corresponding to the page content information is a desired search keyword.
  • the search keyword is a word that the developer or the developer of the application desires to be searched for, a superordinate word of the keyword that can be input by the user, a subordinate word, or an associated word, such as a desired key.
  • the word "photography” is associated with the keyword "wedding photo”.
  • the search keyword of the user may be acquired, the relevance information of the search keyword and the desired search keyword may be determined, and the search site may be matched in the page content information database according to the association information.
  • the target page corresponding to the search keyword is obtained, and the search result is obtained.
  • the search keyword input by the user is “a wedding photo”
  • the desired keyword associated with the “wedding photo”, such as “photography”, “dress”, etc. is determined, and the search keyword is determined.
  • the degree of association between keywords is expected to be quickly matched in the database, and the user is fed back the search keyword and the content information of the page corresponding to the desired keyword, so that the user can quickly and efficiently obtain the required content, accurately meet the user's needs, and improve the search.
  • the degree of association between keywords is expected to be quickly matched in the database, and the user is fed back the search keyword and the content information of the page corresponding to the desired keyword, so that the user can quickly and efficiently obtain the required content, accurately meet the user's needs, and improve the search.
  • an embodiment of the present application further provides a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the foregoing method for searching information within an application.
  • an apparatus for searching for information in an application comprising:
  • One or more processors are One or more processors;
  • a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the aforementioned methods.
  • the computer readable instructions when executed, cause the one or more processors to:
  • the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present application can be executed by a processor to implement the steps or functions described above.
  • the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
  • a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application.
  • the program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run.
  • an embodiment in accordance with the present application includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering
  • the apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and device for searching for information in an application program. The method comprises: acquiring page content information of at least one application program to which a page description field has been added, wherein the page description field comprises a key word corresponding to the page content information (S11); classifying the page content information according to the key word, and establishing a page content information database according to multiple fields composed by the key word and a page path (S12); and acquiring a search key word of a user, and matching and searching for a target page corresponding to the search key word in the page content information database according to the search key word, to obtain a search result (S13). Page content information of different application programs is summarized to provide more rich and more comprehensive search results for a user, breaking information isolation between application programs and preventing a user from needing to repeatedly conduct a search operation in different application programs for the same search request.

Description

一种搜索应用程序内信息的方法及设备Method and device for searching information in application 技术领域Technical field
本申请涉及计算机领域,尤其涉及一种搜索应用程序内信息的方法及设备。The present application relates to the field of computers, and in particular, to a method and device for searching information in an application.
背景技术Background technique
随着人类在互联网上的活动日益增多,互联网技术的蓬勃发展,出现一些搜索引擎为网民提供搜索服务,在个人计算机(PC)互联网时代,主要是搜索网页(Web),通过网页爬虫技术抓取网页内容,从而提供搜索服务。而在移动互联网时代,主要是搜索移动应用程序(APP)的页面内容,而各APP之间相互隔离的,形成了信息孤岛,导致传统的爬虫搜索技术无法使用。With the increasing activities of human beings on the Internet and the rapid development of Internet technologies, some search engines have provided search services for Internet users. In the era of personal computer (PC) Internet, mainly search web pages (Web), crawling through web crawling technology. Web content to provide search services. In the era of mobile Internet, the main content of the mobile application (APP) is searched, and the APPs are isolated from each other, forming an information island, which makes the traditional crawler search technology unusable.
发明内容Summary of the invention
本申请的一个目的是提供一种搜索应用程序内信息的方法及设备,解决现有技术中应用程序之间信息相互隔离,以及无法为用户提供多应用程序的页面内容信息的问题。An object of the present application is to provide a method and device for searching information in an application, which solves the problem of information isolation between applications in the prior art and the inability to provide users with page content information of multiple applications.
根据本申请的一个方面,提供了一种搜索应用程序内信息的方法,该方法包括:According to one aspect of the present application, a method of searching for information within an application is provided, the method comprising:
获取已添加页面描述字段的至少一个应用程序的页面内容信息,其中,所述页面描述字段包括所述页面内容信息对应的关键词;Obtaining page content information of at least one application of the added page description field, where the page description field includes a keyword corresponding to the page content information;
根据所述关键词对所述页面内容信息进行归类,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库;And categorizing the page content information according to the keyword, and establishing a page content information database according to the plurality of fields composed of the keyword and the page path;
获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。Obtaining a search keyword of the user, and searching for a target page corresponding to the search keyword in the page content information database according to the search keyword, to obtain a search result.
进一步地,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库,包括:Further, establishing a page content information database according to the plurality of fields consisting of the keyword and the page path, including:
根据所述关键词、所述页面的来源应用程序、所述搜索关键词对应的摘要信息及页面路径中的任几种组合组成的多个字段建立页面内容信息数据库。The page content information database is established according to the plurality of fields consisting of the keyword, the source application of the page, the summary information corresponding to the search keyword, and any combination of the page paths.
进一步地,得到搜索结果之后,包括:Further, after obtaining the search results, including:
将所述搜索结果按预设规则进行排序,依次显示所述搜索结果中每一目标页面对应的搜索关键词、来源应用程序信息、所述搜索关键词对应的摘要信息及所述目标页面的页面路径中的任几种组合。Sorting the search results according to a preset rule, and sequentially displaying search keywords corresponding to each target page in the search result, source application information, summary information corresponding to the search keyword, and a page of the target page. Any combination of paths.
进一步地,获取已添加页面描述字段的至少一个应用程序的页面内容信息之前,包括:Further, before acquiring the page content information of the at least one application of the added page description field, the method includes:
从用户设备的应用程序安装列表中确定所述已添加页面描述字段的至少一个应用程序。At least one application of the added page description field is determined from an application installation list of the user device.
进一步地,获取已添加页面描述字段的至少一个应用程序的页面内容信息,包括:Further, the page content information of the at least one application that has added the page description field includes:
从网络设备端获取已添加页面描述字段的应用程序列表;Obtain a list of applications that have added a page description field from the network device side;
从所述应用程序列表中选取与用户设备的安装列表中应用程序同类型的一个或多个目标应用程序;Selecting one or more target applications of the same type as the application in the installation list of the user device from the application list;
获取所述一个或多个目标应用程序及所述安装列表中已添加描述字段的应用程序的页面内容信息。Obtaining page content information of the one or more target applications and applications in the installation list to which the description field has been added.
进一步地,获取已添加页面描述字段的至少一个应用程序的页面内容信息,还包括:Further, the page content information of the at least one application that has added the page description field further includes:
获取用户设备的历史安装应用程序列表;Obtain a list of historical installation applications of user devices;
从所述历史安装应用程序列表中确定已添加页面描述字段的应用程序;Determining an application to which a page description field has been added from the list of historical installation applications;
获取所述已添加页面描述字段的应用程序的页面内容信息。Get the page content information of the application of the added page description field.
进一步地,所述已添加页面描述字段包括由一个或多个所述页面内容信息对应的关键词组成的字段,其中,所述页面内容信息对应的关键词为期望 搜索关键词。Further, the added page description field includes a field composed of one or more keywords corresponding to the page content information, wherein the keyword corresponding to the page content information is a desired search keyword.
进一步地,获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果,包括:Further, the search keyword of the user is obtained, and the search result corresponding to the search keyword is matched in the page content information database according to the search keyword, and the search result is obtained, including:
获取用户的搜索关键词,确定所述搜索关键词与所述期望搜索关键词的关联度信息,根据所述关联度信息在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。Obtaining a search keyword of the user, determining relevance information of the search keyword and the desired search keyword, and matching, in the page content information database, the target page corresponding to the search keyword according to the relevance information. , get search results.
进一步地,将所述搜索结果按预设规则进行排序,包括:Further, the search results are sorted according to a preset rule, including:
基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,其中,所述历史参数信息包括所述目标页面的来源应用程序的安装时间、用户点击所述目标页面的次数信息及用户在目标页面停留时长。Sorting the search results according to historical parameter information corresponding to the target page, where the historical parameter information includes an installation time of a source application of the target page, a number of times the user clicks on the target page, and a user is The duration of the target page.
进一步地,基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,包括:Further, sorting the search results based on historical parameter information corresponding to the target page includes:
基于所述目标页面对应的历史参数信息,以及所述历史参数信息中各参数对应的权重信息确定每个目标页面的权重值;Determining a weight value of each target page based on historical parameter information corresponding to the target page and weight information corresponding to each parameter in the historical parameter information;
按照每个目标页面的权重值对所述搜索结果进行排序。The search results are sorted according to the weight value of each target page.
进一步地,基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,包括:Further, sorting the search results based on historical parameter information corresponding to the target page includes:
基于所述目标页面对应的历史参数信息确定每个目标页面的权重值。A weight value of each target page is determined based on historical parameter information corresponding to the target page.
进一步地,基于所述目标页面对应的历史参数信息确定每个目标页面的权重值,包括:Further, determining, according to the historical parameter information corresponding to the target page, a weight value of each target page, including:
根据所述目标页面的来源应用程序的安装时间对所述目标页面进行排序,得到排序信息;Sorting the target page according to the installation time of the source application of the target page to obtain sorting information;
根据预设单位时间及所述安装时间将所述目标页面分组,根据分组数目及所述排序信息,更新所述每个目标页面的权重值。And grouping the target pages according to the preset unit time and the installation time, and updating the weight value of each target page according to the number of groups and the sorting information.
进一步地,所述方法包括:Further, the method includes:
根据所述用户点击所述目标页面的次数信息更新所述目标页面的权重值。Updating the weight value of the target page according to the number of times the user clicks on the target page.
进一步地,所述方法包括:Further, the method includes:
根据预设时长及所述用户在目标页面停留时长更新所述目标页面的权重值。Updating the weight value of the target page according to the preset duration and the duration of the user staying at the target page.
进一步地,依次显示所述搜索结果中每一目标页面对应的搜索关键词及来源应用程序信息之后,包括:Further, after sequentially displaying the search keyword and the source application information corresponding to each target page in the search result, the method includes:
根据用户的选取操作及所述页面路径跳转至所述目标页面对应的来源应用程序,以在所述来源应用程序中显示所述目标页面的页面内容信息。And jumping to the source application corresponding to the target page according to the user's selection operation and the page path to display the page content information of the target page in the source application.
根据本申请另一个方面,还提供了一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现前述一种搜索应用程序内信息的方法。According to another aspect of the present application, there is also provided a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the aforementioned method of searching for information within an application.
根据本申请再一个方面,还提供了一种搜索应用程序内信息的设备,其中,所述设备包括:According to still another aspect of the present application, there is also provided an apparatus for searching for information in an application, wherein the apparatus comprises:
一个或多个处理器;以及One or more processors;
存储有计算机可读指令的存储器,所述计算机可读指令在被执行时使所述处理器执行前述的方法的操作。A memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the aforementioned methods.
与现有技术相比,本申请通过获取已添加页面描述字段的至少一个应用程序的页面内容信息,其中,所述页面描述字段包括所述页面内容信息对应的关键词;根据所述关键词对所述页面内容信息进行归类,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库;获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。从而可以汇总不同应用程序的页面内容信息,为用户提供更丰富全面的搜索结果,打破各应用程序之间的信息隔离的情况,避免用户针对同样搜索请求需要重复去不同应用程序进行搜索操作。Compared with the prior art, the present application obtains page content information of at least one application that has added a page description field, where the page description field includes keywords corresponding to the page content information; according to the keyword pair The page content information is classified, and the page content information database is established according to the plurality of fields composed of the keyword and the page path; the search keyword of the user is obtained, and the page content information database is matched according to the search keyword. Find a target page corresponding to the search keyword, and obtain a search result. Therefore, it is possible to summarize the page content information of different applications, provide users with richer and more comprehensive search results, break the information isolation between applications, and avoid the need for users to repeatedly search for different applications for the same search request.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1示出根据本申请的一个方面提供的一种搜索应用程序内信息的方法流程示意图;1 is a flow chart showing a method for searching for information in an application according to an aspect of the present application;
图2示出本申请一实施例中搜索结果的界面显示示意图。FIG. 2 is a schematic diagram showing an interface display of search results in an embodiment of the present application.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
具体实施方式detailed description
下面结合附图对本申请作进一步详细描述。The present application is further described in detail below with reference to the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, A magnetic tape cartridge, magnetic tape storage or other magnetic storage device or any other non-transportable medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
图1示出根据本申请的一个方面提供的一种搜索应用程序内信息的方法流程示意图,该方法包括:步骤S11~步骤S13,其中,在步骤S11中,获取已添加页面描述字段的至少一个应用程序的页面内容信息,其中,所述页面描述字段包括所述页面内容信息对应的关键词;在步骤S12中,根据所述关键词对所述页面内容信息进行归类,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库;在步骤S13中,获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。从而可以汇总不同应用程序的页面内容信息,为用户提供更丰富全面的搜索结果,打破各应用程序之间的信息隔离的情况,避免用户针对同样搜索请求需要重复去不同应用程序进行搜索操作。FIG. 1 is a schematic flowchart of a method for searching information in an application according to an aspect of the present application. The method includes: Step S11 to Step S13, wherein in step S11, at least one of the added page description fields is acquired. a page content information of the application, wherein the page description field includes a keyword corresponding to the page content information; in step S12, the page content information is classified according to the keyword, according to the keyword And a plurality of fields composed of the page path to establish a page content information database; in step S13, acquiring a search keyword of the user, and searching for the target corresponding to the search keyword in the page content information database according to the search keyword Page, get search results. Therefore, it is possible to summarize the page content information of different applications, provide users with richer and more comprehensive search results, break the information isolation between applications, and avoid the need for users to repeatedly search for different applications for the same search request.
具体地,在步骤S11中,获取已添加页面描述字段的至少一个应用程序的页面内容信息,其中,所述页面描述字段包括所述页面内容信息对应的关键词;在此,比如在安卓系统中,每个应用程序(APP)有一个描述文件用来定义APP里面的页面,称之为AndroidManifest.xml,每个页面可以称为Activity。通过对安卓系统接口queryIntentActivities获取系统里面所有应用的所有对外暴露的Activity。因此,当APP在自己对外暴露的Activity的描述文件里面添加描述字段(比如android:description)时,可以支持搜索引擎搜索该APP的页面内容。在终端的系统中通过搜索查询已添加描述字段的APP,确定这些APP后,可以搜索它们的页面内容,从而打破各APP之间的信息隔离。需要说明的是,描述字段中包括APP的页面内容对应的关键词,比如某一APP,在自己的店铺Activity里面添加描述字段android:description=“店铺1店铺2店铺3”,则可以搜索到该APP的有关店铺1店铺2店铺3对应的页面内容信息。在描述字段中添加的关键词个数不限,可以用空格来区分不同的关键词,当有多个页面Activity时,同样进行添加期望的关键词。Specifically, in step S11, the page content information of the at least one application that has added the page description field is acquired, where the page description field includes a keyword corresponding to the page content information; here, for example, in an Android system. Each application (APP) has a description file used to define the page inside the app, called AndroidManifest.xml, each page can be called Activity. Obtain all externally exposed activities of all applications in the system by querying the Android system interface queryIntentActivities. Therefore, when the APP adds a description field (such as android: description) in the description file of the activity that is exposed to the outside, the search engine can be searched for the content of the page of the APP. In the system of the terminal, by searching for the APP that has added the description field, after determining these APPs, they can search their page contents, thereby breaking the information isolation between the APPs. It should be noted that the description field includes keywords corresponding to the page content of the APP, such as an APP, and the description field android: description=“store 1 shop 2 shop 3” is added in the store activity, and the search can be found. The page content information corresponding to the store 1 store 2 store 3 of the APP. The number of keywords added in the description field is not limited. Spaces can be used to distinguish different keywords. When there are multiple page activities, the desired keywords are added.
接着,在步骤S12中,根据所述关键词对所述页面内容信息进行归类,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库;在此, 在搜索确定已添加描述字段的一个或多个APP后,读取相应的描述字段,根据描述字段中的关键词对获取到的页面内容信息进行归类,以进行关键词的分词处理,从而可以建立页面内容信息数据库,其中,数据库包括关键词及页面路径组成的多个字段,以实现索引数据库的建立,根据关键词的查询请求快速进行匹配查询到与关键词相关联的信息。随后,在步骤S13中,获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。在此,搜索关键词为用户输入的关键词,当用户在搜索框内输入关键词时,从已建立的页面内容信息数据库内匹配查询到相应信息,反馈给用户,可供用户去选择某一搜索结果进而进入对应的页面内容信息或跳转到对应的应用程序界面。Next, in step S12, the page content information is classified according to the keyword, and a page content information database is established according to the plurality of fields composed of the keyword and the page path; here, the description is added in the search determination After one or more APPs of the field, the corresponding description field is read, and the obtained page content information is classified according to the keywords in the description field to perform word segmentation processing, so that the page content information database can be established. The database includes a plurality of fields consisting of a keyword and a page path to implement the establishment of the index database, and the matching query is quickly performed to the information associated with the keyword according to the query request of the keyword. Then, in step S13, the search keyword of the user is obtained, and the target page corresponding to the search keyword is matched in the page content information database according to the search keyword, and the search result is obtained. Here, the search keyword is a keyword input by the user. When the user inputs a keyword in the search box, the matching query from the established page content information database to the corresponding information is fed back to the user, and the user can select a certain one. The search result then enters the corresponding page content information or jumps to the corresponding application interface.
在本申请一实施例中,在步骤S12中,根据所述关键词、所述页面的来源应用程序、所述搜索关键词对应的摘要信息及页面路径中任几种组合组成的多个字段建立页面内容信息数据库。在此,可以根据关键词、来源应用程序的信息、与关键词及目标页面内容相关联的摘要信息,以及目标页面的路径组成的多字段建立数据库,其中,目标页面的路径为进入该页面的链接,方便用户了解搜索结果的来源、简要了解页面的摘要信息,以及根据来源及摘要信息进行选择操作,选取对应的搜索结果。还可以根据摘要信息、关键词以及页面路径组成的字段建立数据库,在后续匹配的搜索结果中关键词可以以标引形式出现。建立数据库时还可以根据关键词、页面路径以及所述页面的来源应用程序进行建立数据库,以方便为用户提供各搜索结果页面的来源应用程序信息,比如如图2所示,搜索“蛋糕”时,在搜索结果列表中显示来自三个应用程序的搜索结果,以及对应的来源应用程序信息,方便用户进行选择。通过对数据库中字段内容的多样化,可以为用户提供多样的搜索结果的显示界面,满足用户搜索需求。In an embodiment of the present application, in step S12, a plurality of fields composed of any combination of the keyword, the source application of the page, the summary information corresponding to the search keyword, and the page path are established. Page content information database. Here, the database may be established according to the keyword, the information of the source application, the summary information associated with the keyword and the target page content, and the multi-field composed of the path of the target page, wherein the path of the target page is the entry into the page. Links, so that users can understand the source of the search results, briefly understand the summary information of the page, and select operations based on the source and summary information, and select the corresponding search results. The database may also be established according to the fields composed of the summary information, the keywords, and the page path, and the keywords may appear in the index form in the subsequent matching search results. When the database is established, the database can also be established according to the keyword, the page path and the source application of the page, so as to conveniently provide the user with the source application information of each search result page, for example, as shown in FIG. 2, when searching for “cake” The search results from the three applications are displayed in the search result list, and the corresponding source application information is displayed for the user to select. By diversifying the content of the fields in the database, the user can provide a display interface with various search results to meet the user's search requirements.
在本申请一实施例中,还可以将所述搜索结果按预设规则进行排序,依次显示所述搜索结果中每一目标页面对应的搜索关键词、来源应用程序信息、 所述搜索关键词对应的摘要信息及所述目标页面的页面路径中的任几种组合。进而可以根据用户的选取操作跳转至摘要信息对应的详细页面内容,或根据所述页面路径跳转至所述目标页面对应的来源应用程序,以在所述来源应用程序中显示所述目标页面的页面内容信息。在本申请一实施例中,可以根据用户的选取操作及所述页面路径跳转至所述目标页面对应的来源应用程序,以在所述来源应用程序中显示所述目标页面的页面内容信息。在此,可以对搜索结果按照预设规则进行排序,依次显示每一页面对应的搜索关键词及来源应用程序信息,比如针对搜索关键词为“蛋糕”的搜索结果,排序后依次是来自APP 1、APP 2、APP 3的有关蛋糕的页面,则根据用户对某一搜索结果的选取操作及对应的页面路径跳转到相应的APP界面,比如用户点击来自APP 1的搜索结果,可以跳转到APP 1的应用界面中,方便用户直接在APP 1中进行比如下单、预约等操作。In an embodiment of the present application, the search results may be sorted according to a preset rule, and the search keywords, the source application information, and the search keyword corresponding to each target page in the search result are sequentially displayed. Summary information and any combination of the page paths of the target page. Further, according to the user's selection operation, the user may jump to the detailed page content corresponding to the summary information, or jump to the source application corresponding to the target page according to the page path, to display the target page in the source application. Page content information. In an embodiment of the present application, the source application corresponding to the target page may be jumped according to the user's selection operation and the page path to display the page content information of the target page in the source application. Here, the search results may be sorted according to preset rules, and the search keywords and source application information corresponding to each page are sequentially displayed, for example, the search result for the search keyword is “cake”, and the order is followed by APP 1 . , APP 2, APP 3 related to the cake page, according to the user's selection operation of a certain search result and the corresponding page path jump to the corresponding APP interface, for example, the user clicks on the search result from APP 1, can jump to In the application interface of APP 1, it is convenient for the user to directly perform operations such as placing an order and making an appointment in the APP 1.
优选地,将所述搜索结果按预设规则进行排序时,可以基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,其中,所述历史参数信息包括所述目标页面的来源应用程序的安装时间、用户点击所述目标页面的次数信息及用户在目标页面停留时长。在此,基于应用安装时间、用户点击的次数及搜索结果页面停留时长进行综合排序搜索结果,更接近用户的选择倾向,提高用户体验。具体地,可以是基于所述目标页面对应的历史参数信息,以及所述历史参数信息中各参数对应的权重信息确定每个目标页面的权重值;按照每个目标页面的权重值对所述搜索结果进行排序。在此,对各参数进行设定所占的权重,比如将用户点击次数这一参数设置权重较大,而安装时间对应的权重较少,将各参数进行量化,再根据设定的权重计算每个页面的权重值,根据权重值的大小进行搜索结果的排序。例如,选取其中的来源应用程序的安装时间、用户点击所述目标页面的次数信息及用户在目标页面停留时长作为计算参数,将安装时间权重记作0.2,用户点击页面的次数权重记为0.5,页面停留时长记作0.3,将各参数进行量化的值与对应的权重进行相乘 后累加,计算得到各个搜索结果对应的目标页面的权重值。Preferably, when the search results are sorted according to a preset rule, the search results may be sorted based on historical parameter information corresponding to the target page, where the historical parameter information includes a source application of the target page. The installation time of the program, the number of times the user clicks on the target page, and the length of time the user stays on the target page. Here, based on the application installation time, the number of user clicks, and the duration of the search result page, the search results are comprehensively sorted, which is closer to the user's selection tendency and improves the user experience. Specifically, the weighting value of each target page may be determined based on the historical parameter information corresponding to the target page and the weight information corresponding to each parameter in the historical parameter information; and the searching is performed according to the weight value of each target page. The results are sorted. Here, the weights of the parameters are set, for example, the parameter setting weight of the user clicks is large, and the weight corresponding to the installation time is small, the parameters are quantized, and then each weight is calculated according to the set weight. The weight value of each page, and the search results are sorted according to the size of the weight value. For example, the installation time of the source application, the number of times the user clicks on the target page, and the duration of the user's stay on the target page are taken as calculation parameters, and the installation time weight is recorded as 0.2, and the weight of the user clicking the page is recorded as 0.5. The duration of the page stay is recorded as 0.3, and the value quantized by each parameter is multiplied by the corresponding weight, and then accumulated, and the weight value of the target page corresponding to each search result is calculated.
对搜索结果进行排序时,还可以基于所述目标页面对应的历史参数信息确定每个目标页面的权重值。即针对每一参数信息进行计算页面权重值,具体地:When sorting the search results, the weight value of each target page may also be determined based on the historical parameter information corresponding to the target page. That is, the page weight value is calculated for each parameter information, specifically:
当历史参数信息包括来源应用程序的安装时间时,根据所述目标页面的来源应用程序的安装时间对所述目标页面进行排序,得到排序信息;根据预设单位时间及所述安装时间将所述目标页面分组,根据分组数目及所述排序信息,更新所述每个目标页面的权重值。在此,比如将初始时,每个关键词对应的页面(Activity)的权重(weight)=1,从低到高把页面的安装时间进行排序,并按照安装日期进行分组,比如按照天、周、月进行分组,从低到高依次将页面+0,+1,+2,+3……+n,其中,n为分组的数目。比如按照周将安装日期分组为4组,则从低到高依次将页面的权重加到4(即+0,+1,+2,+3,+4)。When the historical parameter information includes the installation time of the source application, the target page is sorted according to the installation time of the source application of the target page, and the sorting information is obtained; according to the preset unit time and the installation time, the The target page is grouped, and the weight value of each target page is updated according to the number of groups and the sorting information. Here, for example, initially, the weight of the page corresponding to each keyword is weight=1, the page installation time is sorted from low to high, and grouped according to the installation date, for example, according to days and weeks. The month is grouped, and the page is +5, +1, +2, +3...+n from low to high, where n is the number of packets. For example, according to the week, the installation date is grouped into 4 groups, and the weight of the page is added to 4 (ie, +0, +1, +2, +3, +4) from low to high.
当历史参数信息包括用户点击目标页面的次数信息时,根据所述用户点击所述目标页面的次数信息更新所述目标页面的权重值。在此,每次用户点击某个搜索结果,则对应的目标页面的权重(weight)值加1。同样,当历史参数信息包括页面停留时长时,可以设置根据预设时长及所述用户在目标页面停留时长更新所述目标页面的权重值。统计用户在该目标页面停留时长,比如按秒计算,每停留10秒时,页面的weight值加1。通过对应用安装时间、用户点击的次数及页面停留时长计算每一个搜索结果页面的权重值,综合进行排序,当权重值越高时,排名也越靠前,越接近用户的选择倾向。When the historical parameter information includes the number of times the user clicks on the target page, the weight value of the target page is updated according to the number of times the user clicks on the target page. Here, each time the user clicks on a certain search result, the weight value of the corresponding target page is incremented by one. Similarly, when the historical parameter information includes the page duration, the weight value of the target page may be set according to the preset duration and the duration of the user staying at the target page. Counts the length of time the user stays on the target page. For example, in seconds, the weight value of the page is increased by 1 for every 10 seconds. By calculating the weight value of each search result page for the application installation time, the number of user clicks, and the duration of the page stay, the ranking is comprehensively performed. When the weight value is higher, the ranking is also higher, and the closer to the user's selection tendency.
在本申请一实施例中,获取已添加页面描述字段的至少一个应用程序的页面内容信息之前,需要搜索查询到已添加页面描述字段的目标应用程序,可以从用户设备的应用程序安装列表中确定所述已添加页面描述字段的至少一个应用程序。在此,根据用户设备系统中应用程序安装列表进行查询,从中查找已添加页面描述字段的至少一个应用程序,此时,不必涉及服务器, 在用户设备中就可以完成,获取当前设备中符合条件的应用程序,进行搜索时,搜索结果为当前已安装的符合条件的应用程序的页面内容,比如某用户设备安装应用程序A、应用程序B和应用程序C是已添加页面描述字段的,则在进行搜索时,直接从安装列表中匹配到应用程序A、应用程序B和应用程序C,获取的应用内容信息不会再是其他应用程序内的页面内容。In an embodiment of the present application, before acquiring the page content information of the at least one application that has added the page description field, the target application that needs to search for the added page description field may be determined from the application installation list of the user equipment. The at least one application to which the page description field has been added. Here, the query is performed according to the application installation list in the user equipment system, and at least one application that has added the page description field is searched therefrom, and at this time, the server does not need to be involved, and the user equipment can complete the acquisition, and obtain the qualified condition in the current device. The application, when searching, the search result is the page content of the currently installed qualified application, for example, a user device installation application A, application B, and application C are added page description fields, then proceed When searching, directly matching the application A, the application B, and the application C from the installation list, the acquired application content information will no longer be the page content in other applications.
当然,除了已安装的应用程序,获取已添加页面描述字段的应用程序的页面内容信息时,还可以从网络设备端获取已添加页面描述字段的应用程序列表;从所述应用程序列表中选取与用户设备的安装列表中应用程序同类型的一个或多个目标应用程序;获取所述一个或多个目标应用程序及所述安装列表中已添加描述字段的应用程序的页面内容信息。在此,可以从网络设备中获取与当前安装的应用程序同类型的其他APP的信息,例如,用户设备上安装了APP 1、APP2,但没安装同类型的APP3,若APP3的描述文件中进行添加了页面描述字段,则可以从网络设备中获取有关APP3的内容,进而在搜索结果列表中显示来自APP 3的页面信息,可以刺激用户安装APP 3的行为,以及还可以在当前搜索引擎中浏览有关来自APP 3的页面的一些信息,不必再跳转到APP3的应用界面中,为用户提供更全面的搜索服务。Of course, in addition to the installed application, when obtaining the page content information of the application to which the page description field has been added, the application list of the added page description field may also be obtained from the network device side; selecting from the application list One or more target applications of the same type as the application in the installation list of the user device; obtaining page content information of the one or more target applications and the application in the installation list to which the description field has been added. Here, information about other APPs of the same type as the currently installed application can be obtained from the network device. For example, APP 1 and APP 2 are installed on the user device, but APP3 of the same type is not installed, if the description file of APP3 is performed. By adding the page description field, the content of the APP3 can be obtained from the network device, and the page information from the APP 3 can be displayed in the search result list, which can stimulate the user to install the APP 3 behavior, and can also browse in the current search engine. Some information about the page from APP 3 does not have to jump to the application interface of APP3 to provide users with a more comprehensive search service.
进一步地,获取已添加页面描述字段的应用程序的页面内容信息,还可以获取用户设备的历史安装应用程序列表;从所述历史安装应用程序列表中确定已添加页面描述字段的应用程序;获取所述已添加页面描述字段的应用程序的页面内容信息。在此,通过收集用户设备的历史APP的安装记录,针对安装记录选取待采集页面内容的APP,例如,用户设备历史安装过APP 4,虽后续进行了删除,若APP 4的描述文件中添加了页面描述字段,则同样可以将APP 4作为用于获取页面内容的目标应用程序,在用户输入关键词后,可以显示来自APP 4的搜索结果。Further, the page content information of the application that has added the page description field is acquired, and the history installation application list of the user equipment is also obtained; and the application that has added the page description field is determined from the history installation application list; The page content information of the application that has added the page description field. Here, the APP that collects the content of the page to be collected is selected for the installation record by collecting the installation record of the history APP of the user device. For example, the user device history has been installed with the APP 4, and although it is deleted later, if the description file of the APP 4 is added The page description field can also be used as the target application for obtaining the page content, and after the user inputs the keyword, the search result from the APP 4 can be displayed.
在本申请一实施例中,在已添加页面描述字段中添加关键词时,所述页面内容信息对应的关键词为期望搜索关键词。在此,期望搜索关键词是商户 或者应用程序的开发商期望被搜索到的词,可以为用户输入的关键词的上位词,也可以是下位词,还可以是相关联的词,比如期望关键词“摄影”与关键词“婚纱照”进行关联。In an embodiment of the present application, when a keyword is added in the added page description field, the keyword corresponding to the page content information is a desired search keyword. Here, it is desirable that the search keyword is a word that the developer or the developer of the application desires to be searched for, a superordinate word of the keyword that can be input by the user, a subordinate word, or an associated word, such as a desired key. The word "photography" is associated with the keyword "wedding photo".
进而,可以在步骤S13中,获取用户的搜索关键词,确定所述搜索关键词与所述期望搜索关键词的关联度信息,根据所述关联度信息在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。在本申请一实施例中,获取用户输入的搜索关键词为“婚纱照”,则确定与“婚纱照”相关联的期望关键词,比如“摄影”、“礼服”等,确定搜索关键词与期望关键词之间的关联度,以在数据库中进行快速匹配,给用户反馈搜索关键词以及期望关键词对应的页面的内容信息,从而使用户快速高效获取需求内容,准确满足用户需求,提高搜索体验。Further, in step S13, the search keyword of the user may be acquired, the relevance information of the search keyword and the desired search keyword may be determined, and the search site may be matched in the page content information database according to the association information. The target page corresponding to the search keyword is obtained, and the search result is obtained. In an embodiment of the present application, when the search keyword input by the user is “a wedding photo”, the desired keyword associated with the “wedding photo”, such as “photography”, “dress”, etc., is determined, and the search keyword is determined. The degree of association between keywords is expected to be quickly matched in the database, and the user is fed back the search keyword and the content information of the page corresponding to the desired keyword, so that the user can quickly and efficiently obtain the required content, accurately meet the user's needs, and improve the search. Experience.
此外,本申请实施例还提供了一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现前述一种搜索应用程序内信息的方法。In addition, an embodiment of the present application further provides a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the foregoing method for searching information within an application.
根据本申请再一个方面,还提供了一种搜索应用程序内信息的设备,其中,所述设备包括:According to still another aspect of the present application, there is also provided an apparatus for searching for information in an application, wherein the apparatus comprises:
一个或多个处理器;以及One or more processors;
存储有计算机可读指令的存储器,所述计算机可读指令在被执行时使所述处理器执行前述的方法的操作。A memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the aforementioned methods.
例如,计算机可读指令在被执行时使所述一个或多个处理器:For example, the computer readable instructions, when executed, cause the one or more processors to:
获取已添加页面描述字段的至少一个应用程序的页面内容信息,其中,所述页面描述字段包括所述页面内容信息对应的关键词;Obtaining page content information of at least one application of the added page description field, where the page description field includes a keyword corresponding to the page content information;
根据所述关键词对所述页面内容信息进行归类,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库;And categorizing the page content information according to the keyword, and establishing a page content information database according to the plurality of fields composed of the keyword and the page path;
获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。Obtaining a search keyword of the user, and searching for a target page corresponding to the search keyword in the page content information database according to the search keyword, to obtain a search result.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。In addition, a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application. The program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run. Herein, an embodiment in accordance with the present application includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering The apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present application.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要 求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in this application. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of units or devices recited in the device claims may also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (17)

  1. 一种搜索应用程序内信息的方法,其中,所述方法包括:A method of searching for information within an application, wherein the method comprises:
    获取已添加页面描述字段的至少一个应用程序的页面内容信息,其中,所述页面描述字段包括所述页面内容信息对应的关键词;Obtaining page content information of at least one application of the added page description field, where the page description field includes a keyword corresponding to the page content information;
    根据所述关键词对所述页面内容信息进行归类,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库;And categorizing the page content information according to the keyword, and establishing a page content information database according to the plurality of fields composed of the keyword and the page path;
    获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。Obtaining a search keyword of the user, and searching for a target page corresponding to the search keyword in the page content information database according to the search keyword, to obtain a search result.
  2. 根据权利要求1所述的方法,其中,根据所述关键词及页面路径组成的多个字段建立页面内容信息数据库,包括:The method according to claim 1, wherein the establishing a page content information database according to the plurality of fields consisting of the keyword and the page path comprises:
    根据所述关键词、所述页面的来源应用程序、所述搜索关键词对应的摘要信息及页面路径中的任几种组合组成的多个字段建立页面内容信息数据库。The page content information database is established according to the plurality of fields consisting of the keyword, the source application of the page, the summary information corresponding to the search keyword, and any combination of the page paths.
  3. 根据权利要求2所述的方法,其中,得到搜索结果之后,包括:The method of claim 2, wherein after obtaining the search result, the method comprises:
    将所述搜索结果按预设规则进行排序,依次显示所述搜索结果中每一目标页面对应的搜索关键词、来源应用程序信息、所述搜索关键词对应的摘要信息及所述目标页面的页面路径中的任几种组合。Sorting the search results according to a preset rule, and sequentially displaying search keywords corresponding to each target page in the search result, source application information, summary information corresponding to the search keyword, and a page of the target page. Any combination of paths.
  4. 根据权利要求1所述的方法,其中,获取已添加页面描述字段的至少一个应用程序的页面内容信息之前,包括:The method of claim 1, wherein before obtaining the page content information of the at least one application to which the page description field has been added, the method comprises:
    从用户设备的应用程序安装列表中确定所述已添加页面描述字段的至少一个应用程序。At least one application of the added page description field is determined from an application installation list of the user device.
  5. 根据权利要求1所述的方法,其中,获取已添加页面描述字段的至少一个应用程序的页面内容信息,包括:The method of claim 1, wherein the obtaining the page content information of the at least one application of the added page description field comprises:
    从网络设备端获取已添加页面描述字段的应用程序列表;Obtain a list of applications that have added a page description field from the network device side;
    从所述应用程序列表中选取与用户设备的应用程序安装列表中应用程序同类型的一个或多个目标应用程序;Selecting one or more target applications of the same type as the application in the application installation list of the user device from the application list;
    获取所述一个或多个目标应用程序及所述应用程序安装列表中已添加描述字段的应用程序的页面内容信息。Obtaining page content information of the one or more target applications and applications in the application installation list to which the description field has been added.
  6. 根据权利要求1所述的方法,其中,获取已添加页面描述字段的至少一个应用程序的页面内容信息,还包括:The method of claim 1, wherein the obtaining the page content information of the at least one application of the added page description field further comprises:
    获取用户设备的历史安装应用程序列表;Obtain a list of historical installation applications of user devices;
    从所述历史安装应用程序列表中确定已添加页面描述字段的应用程序;Determining an application to which a page description field has been added from the list of historical installation applications;
    获取所述已添加页面描述字段的应用程序的页面内容信息。Get the page content information of the application of the added page description field.
  7. 根据权利要求1至6中任一项所述的方法,其中,所述已添加页面描述字段包括由一个或多个所述页面内容信息对应的关键词组成的字段,其中,所述页面内容信息对应的关键词为期望搜索关键词。The method according to any one of claims 1 to 6, wherein the added page description field comprises a field consisting of one or more keywords corresponding to the page content information, wherein the page content information The corresponding keywords are expected search keywords.
  8. 根据权利要求7所述的方法,其中,获取用户的搜索关键词,根据所述搜索关键词在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果,包括:The method of claim 7, wherein the search keyword of the user is obtained, and the search result corresponding to the search keyword is matched in the page content information database according to the search keyword, and the search result is obtained, including:
    获取用户的搜索关键词,确定所述搜索关键词与所述期望搜索关键词的关联度信息,根据所述关联度信息在所述页面内容信息数据库中匹配查找所述搜索关键词对应的目标页面,得到搜索结果。Obtaining a search keyword of the user, determining relevance information of the search keyword and the desired search keyword, and matching, in the page content information database, the target page corresponding to the search keyword according to the relevance information. , get search results.
  9. 根据权利要求3所述的方法,其中,将所述搜索结果按预设规则进行排序,包括:The method of claim 3, wherein the sorting the search results according to a preset rule comprises:
    基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,其中,所述历史参数信息包括所述目标页面的来源应用程序的安装时间、用户点击 所述目标页面的次数信息及用户在目标页面停留时长。Sorting the search results according to historical parameter information corresponding to the target page, where the historical parameter information includes an installation time of a source application of the target page, a number of times the user clicks on the target page, and a user is The duration of the target page.
  10. 根据权利要求9所述的方法,其中,基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,包括:The method according to claim 9, wherein the sorting the search results based on historical parameter information corresponding to the target page comprises:
    基于所述目标页面对应的历史参数信息,以及所述历史参数信息中各参数对应的权重信息确定每个目标页面的权重值;Determining a weight value of each target page based on historical parameter information corresponding to the target page and weight information corresponding to each parameter in the historical parameter information;
    按照每个目标页面的权重值对所述搜索结果进行排序。The search results are sorted according to the weight value of each target page.
  11. 根据权利要求9所述的方法,其中,基于所述目标页面对应的历史参数信息对所述搜索结果进行排序,包括:The method according to claim 9, wherein the sorting the search results based on historical parameter information corresponding to the target page comprises:
    基于所述目标页面对应的历史参数信息确定每个目标页面的权重值。A weight value of each target page is determined based on historical parameter information corresponding to the target page.
  12. 根据权利要求9或11所述的方法,其中,基于所述目标页面对应的历史参数信息确定每个目标页面的权重值,包括:The method according to claim 9 or 11, wherein determining the weight value of each target page based on the historical parameter information corresponding to the target page comprises:
    根据所述目标页面的来源应用程序的安装时间对所述目标页面进行排序,得到排序信息;Sorting the target page according to the installation time of the source application of the target page to obtain sorting information;
    根据预设单位时间及所述安装时间将所述目标页面分组,根据分组数目及所述排序信息,更新所述每个目标页面的权重值。And grouping the target pages according to the preset unit time and the installation time, and updating the weight value of each target page according to the number of groups and the sorting information.
  13. 根据权利要求9或11所述的方法,其中,所述方法包括:The method of claim 9 or 11, wherein the method comprises:
    根据所述用户点击所述目标页面的次数信息更新所述目标页面的权重值。Updating the weight value of the target page according to the number of times the user clicks on the target page.
  14. 根据权利要求9或11所述的方法,其中,所述方法包括:The method of claim 9 or 11, wherein the method comprises:
    根据预设时长及所述用户在目标页面停留时长更新所述目标页面的权重值。Updating the weight value of the target page according to the preset duration and the duration of the user staying at the target page.
  15. 根据权利要求3所述的方法,其中,依次显示所述搜索结果中每一目标页面对应的搜索关键词及来源应用程序信息之后,包括:The method according to claim 3, wherein, after sequentially displaying the search keyword and the source application information corresponding to each target page in the search result, the method comprises:
    根据用户的选取操作及所述页面路径跳转至所述目标页面对应的来源应用程序,以在所述来源应用程序中显示所述目标页面的页面内容信息。And jumping to the source application corresponding to the target page according to the user's selection operation and the page path to display the page content information of the target page in the source application.
  16. 一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现如权利要求1至15中任一项所述的方法。A computer readable medium having stored thereon computer readable instructions executable by a processor to implement the method of any one of claims 1 to 15.
  17. 一种搜索应用程序内信息的设备,其中,所述设备包括:A device for searching information within an application, wherein the device comprises:
    一个或多个处理器;以及One or more processors;
    存储有计算机可读指令的存储器,所述计算机可读指令在被执行时使所述处理器执行如权利要求1至15中任一项所述方法的操作。A memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any one of claims 1 to 15.
PCT/CN2018/125602 2018-04-26 2018-12-29 Method and device for searching for information in application program WO2019205716A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810382721.1 2018-04-26
CN201810382721.1A CN108595642A (en) 2018-04-26 2018-04-26 The method and apparatus of information in a kind of search for application

Publications (1)

Publication Number Publication Date
WO2019205716A1 true WO2019205716A1 (en) 2019-10-31

Family

ID=63609345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125602 WO2019205716A1 (en) 2018-04-26 2018-12-29 Method and device for searching for information in application program

Country Status (2)

Country Link
CN (1) CN108595642A (en)
WO (1) WO2019205716A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595642A (en) * 2018-04-26 2018-09-28 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
CN109359237B (en) * 2018-09-30 2021-05-14 上海掌门科技有限公司 Method and equipment for searching hosted program
CN109408696B (en) * 2018-09-30 2021-05-18 上海掌门科技有限公司 Method and equipment for searching hosted program
CN109710832B (en) * 2018-12-29 2021-09-24 上海掌门科技有限公司 Method and equipment for searching hosted program
CN111598595B (en) * 2019-02-21 2024-03-29 阿里巴巴集团控股有限公司 Information stream data display method and device and terminal equipment
CN109960752B (en) * 2019-04-12 2021-08-13 上海智臻智能网络科技股份有限公司 Query method and device in application program, computer equipment and storage medium
CN110209450A (en) * 2019-05-22 2019-09-06 腾讯科技(深圳)有限公司 Page generation method, device, storage medium and server
CN110334267B (en) * 2019-06-28 2024-02-02 创新先进技术有限公司 Content searching method and device based on blockchain and electronic equipment
CN112445960A (en) * 2019-09-02 2021-03-05 珠海市魅族科技有限公司 Method for searching correlation in application program framework and electronic equipment
CN110597962B (en) * 2019-09-23 2023-10-27 腾讯科技(深圳)有限公司 Search result display method and device, medium and electronic equipment
CN110990679A (en) * 2019-11-27 2020-04-10 维沃移动通信有限公司 Information searching method and electronic equipment
CN112165641A (en) * 2020-09-22 2021-01-01 Vidaa美国公司 Display device
CN112597106A (en) * 2020-12-29 2021-04-02 北京明略软件系统有限公司 Document page skipping method and system
CN112818262B (en) * 2021-01-28 2023-07-21 上海博泰悦臻网络技术服务有限公司 Map POI searching method, system, equipment and medium based on user data
CN113672154B (en) * 2021-10-21 2022-09-13 杭州网易云音乐科技有限公司 Page interaction method, medium, device and computing equipment
CN114675762A (en) * 2022-03-30 2022-06-28 青岛海信移动通信技术股份有限公司 Terminal device, function searching method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365880A (en) * 2012-03-29 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal application program search method, mobile terminal application program search system and mobile terminal
CN105760522A (en) * 2016-02-29 2016-07-13 网易(杭州)网络有限公司 Information search method and device based on application program
CN107330019A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 Searching method and device
CN107766524A (en) * 2017-10-25 2018-03-06 珠海格力电器股份有限公司 A kind of searching method of application program, device and intelligent terminal
CN108595642A (en) * 2018-04-26 2018-09-28 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8738653B2 (en) * 2010-07-12 2014-05-27 Brand Affinity Technologies, Inc. Apparatus, system and method for disambiguating a request for a media enhancement
CN103488759A (en) * 2013-09-25 2014-01-01 深圳好视网络科技有限公司 Method and device for searching application programs according to key words
CN103488780B (en) * 2013-09-27 2016-08-24 中国联合网络通信集团有限公司 application program searching method and device
CN105930477A (en) * 2016-04-28 2016-09-07 北京小米移动软件有限公司 Information search method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365880A (en) * 2012-03-29 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal application program search method, mobile terminal application program search system and mobile terminal
CN105760522A (en) * 2016-02-29 2016-07-13 网易(杭州)网络有限公司 Information search method and device based on application program
CN107330019A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 Searching method and device
CN107766524A (en) * 2017-10-25 2018-03-06 珠海格力电器股份有限公司 A kind of searching method of application program, device and intelligent terminal
CN108595642A (en) * 2018-04-26 2018-09-28 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application

Also Published As

Publication number Publication date
CN108595642A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
WO2019205716A1 (en) Method and device for searching for information in application program
US11636397B1 (en) Graphical user interface for concurrent forecasting of multiple time series
WO2019205717A1 (en) Method and device for searching for information in application program
US20210342337A1 (en) Dynamically monitoring an information technology networked entity
US11106442B1 (en) Information technology networked entity monitoring with metric selection prior to deployment
US10289700B2 (en) Method for dynamically matching images with content items based on keywords in response to search queries
US20190095478A1 (en) Information technology networked entity monitoring with automatic reliability scoring
US10296538B2 (en) Method for matching images with content based on representations of keywords associated with the content in response to a search query
US7949672B2 (en) Identifying regional sensitive queries in web search
US20170220672A1 (en) Enhancing time series prediction
JP5856139B2 (en) Indexing and searching using virtual documents
US11500709B1 (en) Mobile application crash monitoring user interface
US20200320145A1 (en) Facilitating metric forecasting via a graphical user interface
CN110362727A (en) Third party for search system searches for application
US20140101134A1 (en) System and method for iterative analysis of information content
JP2011520193A (en) Search results with the next object clicked most
US20160125083A1 (en) Information sensors for sensing web dynamics
US10275472B2 (en) Method for categorizing images to be associated with content items based on keywords of search queries
US10235387B2 (en) Method for selecting images for matching with content based on metadata of images and content in real-time in response to search queries
JP6728178B2 (en) Method and apparatus for processing search data
US20200081930A1 (en) Entity-based search system using user engagement
US20160055203A1 (en) Method for record selection to avoid negatively impacting latency
US20220108359A1 (en) System and method for continuous automated universal rating aggregation and generation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18915830

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18915830

Country of ref document: EP

Kind code of ref document: A1