WO2018121266A1 - Method and device for obtaining application and terminal device - Google Patents

Method and device for obtaining application and terminal device Download PDF

Info

Publication number
WO2018121266A1
WO2018121266A1 PCT/CN2017/115997 CN2017115997W WO2018121266A1 WO 2018121266 A1 WO2018121266 A1 WO 2018121266A1 CN 2017115997 W CN2017115997 W CN 2017115997W WO 2018121266 A1 WO2018121266 A1 WO 2018121266A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
information
display information
platform client
search
Prior art date
Application number
PCT/CN2017/115997
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 WO2018121266A1 publication Critical patent/WO2018121266A1/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
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Definitions

  • the present invention relates to the field of Internet communication technologies, and in particular, to an application acquisition method and apparatus, and a terminal device.
  • the end user generally directly searches the search server for returning the search result list by inputting the search keyword directly on the application platform of the application platform client, such as the mobile assistant platform, and then selects the application required by the user to download the button. installation.
  • the application platform of the application platform client such as the mobile assistant platform
  • the ranking rules are also different.
  • the ordering of clients on different platforms may also be very different.
  • the server operators will consider their actual operational requirements, and will set some applications that the platform pushes, or perform hot recommendations on the application according to the size of the download, or display the results.
  • the information about the application provider is directly displayed, so that the user can learn more about the program.
  • an object of embodiments of the present invention is to provide an application acquisition method and apparatus and a terminal apparatus that can overcome the above problems or at least partially solve the above problems.
  • an application acquiring party is provided in an embodiment of the present invention.
  • the method includes: sending, by the first platform client, a first search request to the first application search server according to the preset first search keyword; intercepting the first application search server to the first platform client Returning the first application list display information in the first application search result; searching, in the first application list display information, the first target keyword matching information according to the preset first target keyword The first target application.
  • the embodiment of the present invention further provides an application obtaining apparatus, including: a search request sending module, configured to send, by using a first platform client, a first application to a first application search server according to a preset first search keyword.
  • a search request intercepting module configured to intercept first application list display information in the first application search result returned by the first application search server to the first platform client; a target program search module, And searching, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
  • the embodiment of the present invention further provides a terminal device, comprising the acquiring device according to any one of the preceding claims, wherein the first platform client is installed on the terminal device.
  • Also provided in an embodiment of the present invention is a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the application acquisition as described in any one of the above method.
  • Also provided in an embodiment of the invention is a computer readable medium storing a computer program as described above.
  • the utility model has the beneficial effects that the application acquiring method and device and the terminal device provided in the embodiment of the present invention can automatically implement the application list in the search result corresponding to the preset search keyword returned by the search server of the platform client.
  • the acquisition of the information is displayed, so that the target application matching the target keyword can be found, and the automatic acquisition of the required application is realized.
  • the implementation of the scheme is simple and fast, and provides an automatic implementation scheme for selecting an application that meets the requirements according to the set criteria, and provides a data foundation for the subsequent evaluation and processing of the application according to the acquisition result.
  • FIG. 1 is a schematic flowchart diagram of an application acquiring method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart diagram of a method for obtaining an presentation information parsing function of a first platform client according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart diagram of an application acquiring method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an application acquiring apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a display information intercepting module according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a display information intercepting module according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an analytic function acquisition submodule in an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an activity acquiring unit according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an application acquiring apparatus according to an embodiment of the present invention.
  • Figure 10 is a schematic block diagram of a computing device for performing an application acquisition method in accordance with the present invention.
  • Fig. 11 schematically shows a storage unit for holding or carrying program code implementing the application acquisition method according to the present invention.
  • FIG. 1 is a schematic flowchart of an application acquisition method in an embodiment of the present invention. As can be seen from the figure, the acquisition method may mainly include the following steps:
  • Step S100 Send a first search request to the first application search server by using the first platform client according to the preset first search keyword;
  • Step S200 intercepting the first application list display information in the first application search result returned by the first application search server to the first platform client;
  • Step S300 Search, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
  • the first search keyword needs to be determined, and according to the first search keyword, the first platform client corresponding to the server is searched by the first application to the first Application search server sends first search request, first After receiving the search request, the application search server returns a first application search result to the first platform client, and the first platform client parses the received search result, and then parses the result in the search result.
  • An application list shows information to the user. Therefore, the first application list display information in the first application search result returned by the first application search server to the first platform client may be intercepted, and then intercepted according to the first target keyword. A first target application matching the first target keyword is found in the first application list presentation information.
  • the first application list display information refers to related information of the first application displayed on the first platform client, that is, search result information presented to the user, where the related information includes the following information. At least one of: the application name, the application label label, the application icon icon, and the description information of the application.
  • the first target keyword may be determined according to the target application that needs to be obtained.
  • the first target keyword may be related information including a hot, promotion, application provider, or an application. a specific word or the like, at this time, by the obtaining method, the target keyword matching the target keyword in the application corresponding to the first search keyword returned by the first application search server may be acquired.
  • An application such as an application provided by an application provider.
  • the first target application is generally a popular application in the current actual application, that is, an application that the end user may be more concerned with. Due to the wide variety of applications, in order to quickly access different types of popular applications, you can preset a search keyword library to store the keywords of the preset popular applications, and then run the script automatically.
  • the first search request is sent to the first application search server through the first platform client to automatically send the search request of different search keywords.
  • step S200 the intercepting the first application list display information in the first application search result returned by the first application search server to the first platform client Specific implementations can include:
  • the display information parsing function is configured to parse the first application search result returned by the first application search server into a first platform client capable of recognizing Data, data that the first platform client can recognize includes The first application list presents information;
  • the first application search result returned by the first application search server to the first platform client is processed, and the process may be encrypted or may be searched by the first application.
  • the other processing method agreed between the server and the first platform client after the first application search server returns the processed application search result to the first platform client, the display information parsing function of the first application platform first
  • the processed application search results are parsed into data that the first platform client can recognize. Therefore, if the search result returned by the first application search server is directly intercepted, the intercepted data may not be used, so the data that has been parsed by the presentation information parsing function needs to be intercepted.
  • a hook that is, a hook
  • a hook is actually a program segment that processes a message. It is hooked into the system through a system call.
  • the hook program first captures the message, that is, the hook, before it reaches the destination window.
  • the function gets control first. Therefore, the hooking function of the display information analytic function may be performed by the hook function, and the parsing result of the display information analytic function may be intercepted by the hook hook operation before the display information parsing function sends the parsing result to the first platform client.
  • the first application list display information parsed by the analytic function is directly obtained.
  • the permissions of the hook hook operation are preferably set to root privileges.
  • the operation By setting the permission of the hook function hook operation to the root privilege, the operation has the highest privilege of the system, thereby ensuring that the hook function hook operation can be performed smoothly.
  • the specific manner of obtaining the presentation information parsing function of the first platform client is as shown in FIG. 2, and the manner may mainly include the following steps:
  • Step S210 Send a second search request to the first application search server by using the first platform client according to the second search keyword;
  • Step S220 The first platform client receives the second application search result returned by the first application search server, and parses the second application search result by using the display information analysis function to obtain the second application list display information, and displays the information;
  • Step S230 Acquire the second application search node of the first platform client. Activity activity
  • Step S240 Obtain association information of the second application displayed in the second application display list according to the activity acitvity
  • Step S250 Acquire a dex file of the second application
  • Step S260 Find the display information parsing function of the first platform client in the dex file according to the association information of the second application.
  • APK is the abbreviation of AndroidPackage, which is Android installation package (apk), classes.dex is APK Dalvik bytecode file, for Android application, all bytecode data of the program (including various kinds of parsing required to run APK).
  • the information of the function such as the information parsing function, so that the first platform client's display can be found in association with the second application's dex file according to the association information of the second application returned by the first application search server.
  • Information parsing function because the presentation information parsing function is used to parse the application's presentation data. Therefore, the parsing function's parameters will definitely include the application's associated information, so it can be based on known applications.
  • the dex file is analyzed to find the presentation information parsing function.
  • the association information of the second application includes at least one of the following information: an application name, an application tag, an application icon, and a storage path of a jar package of the application.
  • the association activity information of the second application displayed in the second application display list is obtained by acquiring the activity activity of the first platform client that implements the second application search result display.
  • the association activity information of the second application displayed in the second application display list can be obtained by acquiring the activity activity of the second application search result presentation on the first platform client.
  • the activity activity of the first platform client that implements the second application search result display is obtained, including:
  • the log print tool logcat is a command line tool in the Android system, which can be used to obtain the log information of the program. Therefore, the log file of the first platform client can be obtained through the logcat, and the activity activity for displaying the search result is obtained. .
  • the method may further include:
  • Step S400 the presentation information parsing function sends the parsing result to the first platform client
  • Step S500 The first platform client receives the parsing result and displays the first application list display information.
  • step S300 the step of searching for the first target application according to the first target keyword and the step S400 are not distinct, and the first application list display information is completed in step S200.
  • the display information parsing function can be controlled to send the parsing result to the first platform client, so that the first platform client displays the first application list display information, that is, the application search result that is usually presented to the user. List information.
  • the application obtaining method intercepts the application display information in the application search result returned by the server end to the platform client, and then displays the information in the intercepted application according to the target keyword of interest. Get the target application you need.
  • an application in the application displayed by the platform client conforming to certain specific features such as corresponding application provider information/product information including feature words, etc.
  • the acquisition method described in this embodiment can obtain the stand-alone game application returned by the 360 search server.
  • the application of the target keyword is included in the client's display list result.
  • the qualified APP can be obtained according to the set criteria.
  • the server operator can perform subsequent processing on the obtained target application APP according to the preset rule, for example, according to a preset rule. Relevant assessment of the target application app's ranking/score/level/security level on the platform client And adjustments.
  • FIG. 4 is a schematic structural diagram of an application acquiring apparatus according to an embodiment of the present invention.
  • the application obtaining apparatus 1 may mainly include a search request sending module 100 and a display information intercepting module. 200 and target program lookup module 300. among them:
  • the search request sending module 100 is configured to send, by using the first platform client, the first search request to the first application search server according to the preset first search keyword;
  • the display information intercepting module 200 is configured to intercept the first application list display information in the first application search result returned by the first application search server to the first platform client;
  • the target program search module 300 is configured to search, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
  • the first application list display information refers to related information of the first application displayed on the first platform client; the related information may include at least one of the following information: an application name, an application Program label label, application icon icon, and description information of the application.
  • the application obtaining means searches for the first target application required to match the target keyword by intercepting the application list display information in the application search result returned by the first application search server.
  • the first search keyword and the first target keyword may be set according to an actual application scenario.
  • the first target keywords include, but are not limited to, popularity, provider information of the promotion application, specific feature words included in the application, and the like.
  • the presentation information intercepting module 200 includes an analytic function obtaining sub-module 210 and an analytic function intercepting sub-module 220. among them:
  • the analytic function obtaining sub-module 210 is configured to obtain the display information analytic function of the first platform client; the display information analytic function is configured to parse the first application search result returned by the first application search server into a
  • the data that the first platform client can identify, the data that the first platform client can identify includes the first application list display information;
  • An analysis function intercepting sub-module 220 configured to perform hook hook on the display information parsing function In operation, the parsing result of the display information parsing function is intercepted by the hook hook operation, and the first application list display information is obtained.
  • the analysis function intercepting sub-module 220 preferably includes a hook authority setting unit 221, as shown in FIG.
  • the hook permission setting unit 211 is configured to set the permission of the hook hook operation to the root authority.
  • the account of the operation has the highest privilege of the system, and all the addition, deletion, modification, and checking operations can be performed on any file (including the system file) in the system, thereby ensuring the operation.
  • the hook function hook operation can be performed smoothly.
  • the analytic function acquisition sub-module 210 may include a search request sending unit 211, a search result display unit 212, an activity obtaining unit 213, a program-related information acquiring unit 214, and a dex.
  • the search request sending unit 211 is configured to send, by using the first platform client, a second search request to the first application search server according to the second search keyword;
  • the search result display unit 212 is configured to receive, by the first platform client, the second application search result returned by the first application search server, and parse the second application search result by using the display information analysis function to obtain the second application list display information, And displaying, wherein the association information of the second application includes at least one of the following information: an application name, an application tag, an application icon, a storage path of an application jar package, and the like.
  • An activity obtaining unit 213, configured to acquire an activity activity of the first platform client that implements the second application search result display;
  • the program association information obtaining unit 214 is configured to obtain association information of the second application displayed in the second application display list according to the activity acitvity;
  • a dex file obtaining unit 215, configured to acquire a dex file of the second application
  • the analytic function obtaining sub-unit 216 is configured to find the display information parsing function of the first platform client in the dex file according to the association information of the second application.
  • the analytic function obtaining sub-module 210 obtains the second activity displayed in the second application display list by acquiring the activity activity of the first platform client that implements the second application search result display.
  • the associated information of the application in accordance with the second application
  • the joint information can be associated with the display information parsing function of the first platform client in the dex file of the second application, so as to further capture the display information of the application list that needs to be obtained by hooking the display information parsing function.
  • the activity acquisition unit 213 may include a log print subunit 2131 and an activity acquisition subunit 2132, as shown in FIG. among them:
  • a log printing subunit 2131 configured to print log information of the first platform client by using a log printing tool logcat of the operating system
  • the activity acquisition sub-unit 2132 is configured to obtain, according to the log information, an activity activity of the first platform client that implements the second application search result display.
  • the application obtaining apparatus 1 may further include a presentation information transmitting module 400 and a client presentation module 500. among them:
  • the display information sending module 400 is configured to intercept the parsing result of the display information analytic function by the hook hook operation, and obtain the first application program list display information, and then send the parsing result to the display information analytic function to The first platform client;
  • the client display module 500 is configured to receive the parsing result on the first platform client, and display the first application list display information.
  • the first application list in the result displays information, which is information displayed to the user on the display screen after the first flat client sends the search request.
  • a terminal device is further provided, where the terminal device includes the application acquiring device 1 in any one of the foregoing embodiments, where the first platform is installed on the terminal device. Client.
  • the terminal device includes, but is not limited to, a smart phone, a PC, and the like.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some of the application acquisition devices and some or all of the components of a terminal device in accordance with embodiments of the present invention. All features.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 10 illustrates a computing device that can implement an application acquisition method in accordance with the present invention.
  • the computing device conventionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020.
  • the memory 1020 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 1020 has a storage space 1030 that stores program code 1031 for performing any of the method steps described above.
  • the storage space 1030 storing program code may store respective program codes 1031 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 1020 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit stores computer readable code 1031' for performing the method steps of the present invention, ie, code that can be read by a processor, such as 1010, when the code is run by a computing device, causing the computing device Perform the various steps in the method described above.

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)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method and a device for obtaining an application and a terminal device in the technical field of internet communication. The method comprises: a first platform client transmitting, according to a preset first search keyword, a first search request to a first application search server (S100); extracting first application list display information in a first application search result returned by the first application search server to the first platform client (S200); and searching, in the first application list display information, and according to the preset first target keyword, for a first target application matching the first target keyword (S300). The method and the device realize automatic acquisition for a required target application and resolve the issue of low efficiency and incomplete search caused by existing solutions in which only manual search can be performed, and the implementation of the solution is easy and fast, providing data support for subsequent assessment analysis processing of the application in accordance with the acquisition result.

Description

一种应用程序获取方法和装置以及一种终端设备Application acquisition method and device and terminal device 技术领域Technical field
本发明涉及互联网通信技术领域,具体涉及一种应用程序获取方法和装置以及一种终端设备。The present invention relates to the field of Internet communication technologies, and in particular, to an application acquisition method and apparatus, and a terminal device.
背景技术Background technique
随着互联网通信技术的快速发展,各种移动终端设备已经成为人们生活必不可少的工具,具有各种各样功能的终端应用程序APP也层出不穷,为用户带来了更加便捷的体验,各种应用程序安装、现在平台客户端也越来越多。With the rapid development of Internet communication technology, various mobile terminal devices have become an indispensable tool for people's lives, and terminal application programs with various functions are also emerging one after another, bringing users a more convenient experience, various Application installations, and now more and more platform clients.
目前,终端用户一般都是直接在应用平台客户端,如手机助手平台等应用下载平台上通过输入搜索关键词来得到搜索服务器端返回搜索结果列表,再从中选择自己所需要的应用程序进行下载按安装。但是,应用平台客户端上所呈现给用户的应用程序列表中,可选的应用程序是大量的,而应用程序的排名都是按照预设的排序规则来确定的。而对于不同的平台客户端,排名规则也都各不相同,对于同一个应用程序,在不同平台客户端的排序也可能会存在很大差异。在一般的排序规则中,服务器的运营者都会考虑到各自的实际运营需求,会设置一些平台主推的应用程序,或者是根据下载量的大小对应用程序进行热门推荐等操作、或者会在显示结果中直接显示出应用程序提供者的相关信息,以使用户能够更多的了解到程序的相关信息。At present, the end user generally directly searches the search server for returning the search result list by inputting the search keyword directly on the application platform of the application platform client, such as the mobile assistant platform, and then selects the application required by the user to download the button. installation. However, in the list of applications presented to the user on the application platform client, the number of optional applications is large, and the ranking of the applications is determined according to a preset collation. For different platform clients, the ranking rules are also different. For the same application, the ordering of clients on different platforms may also be very different. In the general sorting rules, the server operators will consider their actual operational requirements, and will set some applications that the platform pushes, or perform hot recommendations on the application according to the size of the download, or display the results. The information about the application provider is directly displayed, so that the user can learn more about the program.
但是,目前,如果想要知道某一平台客户端上所显示的大量应该程序列表中的哪些是符合某一特定标准的应用程序,例如,哪些是重点推广的,或者为热门的、再或者是由特定提供者提供的应用程序,只能通过人工查看的方式,该方式不仅效率很低,而且人为统计的方式很容易出现遗漏。However, at present, if you want to know which of the large list of programs that are displayed on a platform client are those that meet a certain standard, for example, which ones are promoted, or are popular, or Applications provided by a particular provider can only be viewed manually, which is not only inefficient, but also artificially missing.
发明内容Summary of the invention
针对现有技术中存在的缺陷,本发明实施例的目的在于提供一种能够克服上述问题或者至少能够部分地解决上述问题的应用程序获取方法和装置以及一种终端设备。In view of the deficiencies in the prior art, an object of embodiments of the present invention is to provide an application acquisition method and apparatus and a terminal apparatus that can overcome the above problems or at least partially solve the above problems.
为实现上述目的,本发明的一个实施例中提供了一种应用程序获取方 法,包括:根据预设的第一搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求;截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息;根据预设的第一目标关键词,在所述第一应用程序列表展示信息中查找与所述第一目标关键词匹配的第一目标应用程序。In order to achieve the above object, an application acquiring party is provided in an embodiment of the present invention. The method includes: sending, by the first platform client, a first search request to the first application search server according to the preset first search keyword; intercepting the first application search server to the first platform client Returning the first application list display information in the first application search result; searching, in the first application list display information, the first target keyword matching information according to the preset first target keyword The first target application.
本发明实施例中还提供了一种应用程序获取装置,包括:搜索请求发送模块,用于根据预设的第一搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求;展示信息截获模块,用于截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息;目标程序查找模块,用于根据预设的第一目标关键词,在所述第一应用程序列表展示信息中查找与所述第一目标关键词匹配的第一目标应用程序。The embodiment of the present invention further provides an application obtaining apparatus, including: a search request sending module, configured to send, by using a first platform client, a first application to a first application search server according to a preset first search keyword. a search request intercepting module, configured to intercept first application list display information in the first application search result returned by the first application search server to the first platform client; a target program search module, And searching, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
本发明实施例中还提供了一种终端设备,包括如上任一项所述的获取装置,所述终端设备上安装有所述第一平台客户端。The embodiment of the present invention further provides a terminal device, comprising the acquiring device according to any one of the preceding claims, wherein the first platform client is installed on the terminal device.
本发明实施例中还提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如上任一项所述的应用程序获取方法。Also provided in an embodiment of the present invention is a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the application acquisition as described in any one of the above method.
本发明实施例中还提供了一种计算机可读介质,其中存储了如上文所述的计算机程序。Also provided in an embodiment of the invention is a computer readable medium storing a computer program as described above.
本发明的有益效果在于:本发明实施例中所提供的应用程序获取方法和装置及终端设备,能够自动实现对平台客户端的搜索服务器返回的预设搜索关键词对应的搜索结果中的应用程序列表展示信息的获取,从而能够从中查找到与目标关键词匹配的目标应用程序,实现了对所需的应用程序的自动获取。该方案实施简单、快捷,为按照设定的标准选择符合条件的应用程序提供了自动实现方案,为根据获取结果对应用程序的后续评定分析处理提供了数据基础。The utility model has the beneficial effects that the application acquiring method and device and the terminal device provided in the embodiment of the present invention can automatically implement the application list in the search result corresponding to the preset search keyword returned by the search server of the platform client. The acquisition of the information is displayed, so that the target application matching the target keyword can be found, and the automatic acquisition of the required application is realized. The implementation of the scheme is simple and fast, and provides an automatic implementation scheme for selecting an application that meets the requirements according to the set criteria, and provides a data foundation for the subsequent evaluation and processing of the application according to the acquisition result.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本 领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will be apparent to the present disclosure by reading the following detailed description of the preferred embodiments. Those of ordinary skill in the art will become apparent. The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1为本发明的一个实施例中的一种应用程序获取方法的流程示意图;FIG. 1 is a schematic flowchart diagram of an application acquiring method according to an embodiment of the present invention;
图2为本发明的一个实施例中的获取第一平台客户端的展示信息解析函数的方法的流程示意图;FIG. 2 is a schematic flowchart diagram of a method for obtaining an presentation information parsing function of a first platform client according to an embodiment of the present invention;
图3为本发明的一个实施例中的一种应用程序获取方法的流程示意图;FIG. 3 is a schematic flowchart diagram of an application acquiring method according to an embodiment of the present invention; FIG.
图4为本发明的一个实施例中的一种应用程序获取装置的结构示意图;4 is a schematic structural diagram of an application acquiring apparatus according to an embodiment of the present invention;
图5为本发明的一个实施例中的展示信息截获模块的结构示意图;FIG. 5 is a schematic structural diagram of a display information intercepting module according to an embodiment of the present invention; FIG.
图6为本发明的一个实施例中的展示信息截获模块的结构示意图;FIG. 6 is a schematic structural diagram of a display information intercepting module according to an embodiment of the present invention; FIG.
图7为本发明的一个实施例中的解析函数获取子模块的结构示意图;FIG. 7 is a schematic structural diagram of an analytic function acquisition submodule in an embodiment of the present invention; FIG.
图8为本发明的一个实施例中的活动获取单元的结构示意图;FIG. 8 is a schematic structural diagram of an activity acquiring unit according to an embodiment of the present invention; FIG.
图9为本发明的一个实施例中的一种应用程序获取装置的结构示意图;FIG. 9 is a schematic structural diagram of an application acquiring apparatus according to an embodiment of the present invention; FIG.
图10示意性地示出了用于执行根据本发明的应用程序获取方法的计算设备的框图;以及Figure 10 is a schematic block diagram of a computing device for performing an application acquisition method in accordance with the present invention;
图11示意性地示出了用于保持或者携带实现根据本发明的应用程序获取方法的程序代码的存储单元。Fig. 11 schematically shows a storage unit for holding or carrying program code implementing the application acquisition method according to the present invention.
具体实施方式detailed description
下面结合附图和具体的实施方式对本发明作进一步的描述。The invention is further described below in conjunction with the drawings and specific embodiments.
图1示出了本发明的一个实施例中的一种应用程序获取方法的流程示意图,由图中可以看出,该获取方法主要可以包括以下步骤:FIG. 1 is a schematic flowchart of an application acquisition method in an embodiment of the present invention. As can be seen from the figure, the acquisition method may mainly include the following steps:
步骤S100:根据预设的第一搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求;Step S100: Send a first search request to the first application search server by using the first platform client according to the preset first search keyword;
步骤S200:截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息;Step S200: intercepting the first application list display information in the first application search result returned by the first application search server to the first platform client;
步骤S300:根据预设的第一目标关键词,在所述第一应用程序列表展示信息中查找与所述第一目标关键词匹配的第一目标应用程序。Step S300: Search, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
为了获取第一应用程序搜索服务器返回的搜索结果,首先需要确定第一搜索关键词,根据所述第一搜索关键词,通过第一应用程序搜索服务器对应的第一平台客户端向所述第一应用程序搜索服务器发送第一搜索请求,第一 应用程序搜索服务器接收到该搜索请求后,会向所述第一平台客户端返回第一应用程序搜索结果,第一平台客户端通过对接收到的搜索结果进行解析后,将解析结果中的第一应用程序列表展示信息展示给用户。因此,可以通过截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息,再根据第一目标关键词,在截获的第一应用程序列表展示信息中查找到与第一目标关键词匹配的第一目标应用程序。In order to obtain the search result returned by the first application search server, firstly, the first search keyword needs to be determined, and according to the first search keyword, the first platform client corresponding to the server is searched by the first application to the first Application search server sends first search request, first After receiving the search request, the application search server returns a first application search result to the first platform client, and the first platform client parses the received search result, and then parses the result in the search result. An application list shows information to the user. Therefore, the first application list display information in the first application search result returned by the first application search server to the first platform client may be intercepted, and then intercepted according to the first target keyword. A first target application matching the first target keyword is found in the first application list presentation information.
其中,所述第一应用程序列表展示信息是指在所述第一平台客户端上显示的第一应用程序的相关信息,即呈现给用户的搜索结果信息,其中,所述相关信息包括如下信息中的至少一个:应用程序名称、应用程序标签label、应用程序图标icon和应用程序的描述信息等。The first application list display information refers to related information of the first application displayed on the first platform client, that is, search result information presented to the user, where the related information includes the following information. At least one of: the application name, the application label label, the application icon icon, and the description information of the application.
其中,第一目标关键词均可以是根据所需获取的目标应用程序进行确定的,例如,所述第一目标关键词可以为包括热门、推广、应用程序提供者的相关信息或者应用程序中包含的特定词语等,此时,可以通过所述获取方法获取到第一应用程序搜索服务器所返回的与所述第一搜索关键词的对应的应用程序中的与目标关键词所述目标关键词匹配的应用程序,如某一应用程序提供者提供的应用程序。The first target keyword may be determined according to the target application that needs to be obtained. For example, the first target keyword may be related information including a hot, promotion, application provider, or an application. a specific word or the like, at this time, by the obtaining method, the target keyword matching the target keyword in the application corresponding to the first search keyword returned by the first application search server may be acquired. An application, such as an application provided by an application provider.
在实际应用中,所述第一目标应用程序一般为当前实际应用中比较热门的应用程序,即终端用户可能比较关注的应用程序。由于应用程序的种类繁多,为了能够快速的获取到不同种类的热门应用程序,可以通过预置一搜索关键词库,用于存储预设的热门应用程序的关键词,再通过脚本自动化运行的方式,依次调用搜索关键词中的关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求,实现不同搜索关键词的搜索请求的自动发送。In a practical application, the first target application is generally a popular application in the current actual application, that is, an application that the end user may be more concerned with. Due to the wide variety of applications, in order to quickly access different types of popular applications, you can preset a search keyword library to store the keywords of the preset popular applications, and then run the script automatically. The first search request is sent to the first application search server through the first platform client to automatically send the search request of different search keywords.
在本发明的一个实施例中,步骤S200中,所述截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息的具体实现方式可以包括:In an embodiment of the present invention, in step S200, the intercepting the first application list display information in the first application search result returned by the first application search server to the first platform client Specific implementations can include:
获取所述第一平台客户端的展示信息解析函数;所述展示信息解析函数用于将第一应用程序搜索服务器返回的所述第一应用程序搜索结果解析成所述第一平台客户端能够识别的数据,第一平台客户端能够识别的数据包括 所述第一应用程序列表展示信息;Obtaining a display information parsing function of the first platform client; the display information parsing function is configured to parse the first application search result returned by the first application search server into a first platform client capable of recognizing Data, data that the first platform client can recognize includes The first application list presents information;
对所述展示信息解析函数进行钩子hook操作,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息。Performing a hook operation on the display information parsing function, and intercepting the parsing result of the display information parsing function by the hook hook operation to obtain the first application list display information.
一般的,第一应用程序搜索服务器向其所述第一平台客户端返回的第一应用程序搜索结果是经过处理的,这种处理可能是经过加密的,也可能是采用了第一应用程序搜索服务器与第一平台客户端两者之间约定的其他处理方式,第一应用程序搜索服务器向第一平台客户端返回处理后的应用程序搜索结果后,第一应用程序平台的展示信息解析函数首先会将经过处理的应用程序搜索结果解析成第一平台客户端能够识别的数据。因此,如果直接对第一应用程序搜索服务器返回的搜索结果进行截取,所截取的数据可能无法使用,所以,需要对已经经过展示信息解析函数解析的数据进行截取。Generally, the first application search result returned by the first application search server to the first platform client is processed, and the process may be encrypted or may be searched by the first application. The other processing method agreed between the server and the first platform client, after the first application search server returns the processed application search result to the first platform client, the display information parsing function of the first application platform first The processed application search results are parsed into data that the first platform client can recognize. Therefore, if the search result returned by the first application search server is directly intercepted, the intercepted data may not be used, so the data that has been parsed by the presentation information parsing function needs to be intercepted.
hook,即钩子,实际上是一个处理消息的程序段,通过系统调用,把它挂入系统,每当特定的消息发出,在没有到达目的窗口前,钩子程序就先捕获该消息,亦即钩子函数先得到控制权。因此,可以通过对所述展示信息解析函数进行钩子hook操作,在展示信息解析函数将解析结果发送到第一平台客户端之前,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,直接得到解析函数解析出的所述第一应用程序列表展示信息。A hook, that is, a hook, is actually a program segment that processes a message. It is hooked into the system through a system call. When a specific message is sent, the hook program first captures the message, that is, the hook, before it reaches the destination window. The function gets control first. Therefore, the hooking function of the display information analytic function may be performed by the hook function, and the parsing result of the display information analytic function may be intercepted by the hook hook operation before the display information parsing function sends the parsing result to the first platform client. The first application list display information parsed by the analytic function is directly obtained.
在本发明的一个实施例中,优选将所述钩子hook操作的权限设置为root权限。In one embodiment of the invention, the permissions of the hook hook operation are preferably set to root privileges.
通过将钩子函数hook操作的权限设置为root权限,使该操作具有系统最高权限,从而保证了钩子函数hook操作能够顺利执行。By setting the permission of the hook function hook operation to the root privilege, the operation has the highest privilege of the system, thereby ensuring that the hook function hook operation can be performed smoothly.
在本发明的一个实施例中,获取所述第一平台客户端的展示信息解析函数的具体方式如图2所示,该方式主要可以包括以下步骤:In an embodiment of the present invention, the specific manner of obtaining the presentation information parsing function of the first platform client is as shown in FIG. 2, and the manner may mainly include the following steps:
步骤S210:根据第二搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第二搜索请求;Step S210: Send a second search request to the first application search server by using the first platform client according to the second search keyword;
步骤S220:第一平台客户端接收第一应用程序搜索服务器返回的第二应用程序搜索结果,通过展示信息解析函数解析第二应用程序搜索结果得到第二应用程序列表展示信息,并展示;Step S220: The first platform client receives the second application search result returned by the first application search server, and parses the second application search result by using the display information analysis function to obtain the second application list display information, and displays the information;
步骤S230:获取所述第一平台客户端的实现所述第二应用程序搜索结 果展示的活动activity;Step S230: Acquire the second application search node of the first platform client. Activity activity
步骤S240:根据所述活动acitvity得到所述第二应用程序展示列表中显示的第二应用程序的关联信息;Step S240: Obtain association information of the second application displayed in the second application display list according to the activity acitvity;
步骤S250:获取所述第二应用程序的dex文件;Step S250: Acquire a dex file of the second application;
步骤S260:根据所述第二应用程序的关联信息在所述dex文件中查找到第一平台客户端的展示信息解析函数。Step S260: Find the display information parsing function of the first platform client in the dex file according to the association information of the second application.
APK是AndroidPackage的缩写,即Android安装包(apk),classes.dex为APK的Dalvik字节码文件,对于安卓应用程序来说,程序的所有字节码数据(包括解析运行APK所需要的各种函数的信息,如展示信息解析函数),因此,可以根据第一应用程序搜索服务器返回的第二应用程序的关联信息在第二应用程序的dex文件中关联查找到所述第一平台客户端的展示信息解析函数,这是因为展示信息解析函数即是用于解析应用程序的展示数据的,因此,该解析函数的参数会一定会包括应用程序的关联信息,因此,可以根据已知的应用程序的关联信息,在dex文件中分析查找到该展示信息解析函数。APK is the abbreviation of AndroidPackage, which is Android installation package (apk), classes.dex is APK Dalvik bytecode file, for Android application, all bytecode data of the program (including various kinds of parsing required to run APK The information of the function, such as the information parsing function, so that the first platform client's display can be found in association with the second application's dex file according to the association information of the second application returned by the first application search server. Information parsing function, because the presentation information parsing function is used to parse the application's presentation data. Therefore, the parsing function's parameters will definitely include the application's associated information, so it can be based on known applications. Associated with the information, the dex file is analyzed to find the presentation information parsing function.
其中,所述第二应用程序的关联信息包括以下信息中的至少一个:应用程序名称、应用程序标签、应用程序图标和应用程序的jar包的存储路径等。The association information of the second application includes at least one of the following information: an application name, an application tag, an application icon, and a storage path of a jar package of the application.
本实施例中,通过获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity,来得到所述第二应用程序展示列表中显示的第二应用程序的关联信息。In this embodiment, the association activity information of the second application displayed in the second application display list is obtained by acquiring the activity activity of the first platform client that implements the second application search result display.
Activity是Android组件中最基本也是最为常见用的四大组件(Activity,Service服务,Content Provider内容提供,BroadcastReceiver广播接收器)之一,Activity中所有操作都与用户密切相关,是一个负责与用户交互的组件。因此,可以通过获取所述第一平台客户端上实现第二应用程序搜索结果展示的活动activity,得到所述第二应用程序展示列表中显示的第二应用程序的关联信息。Activity is one of the most basic and most commonly used components of the Android component (Activity, Service, Content Provider, BroadcastReceiver). All operations in the Activity are closely related to the user. It is responsible for interacting with the user. s component. Therefore, the association activity information of the second application displayed in the second application display list can be obtained by acquiring the activity activity of the second application search result presentation on the first platform client.
在本发明的一个实施例中,获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity,包括:In an embodiment of the present invention, the activity activity of the first platform client that implements the second application search result display is obtained, including:
通过操作系统的日志打印工具logcat打印所述第一平台客户端的日志信息;Printing log information of the first platform client by using a log print tool logcat of the operating system;
根据所述日志信息获取第一平台客户端的实现第二应用程序搜索结果 展示的活动activity。Obtaining a second application search result of the first platform client according to the log information The activity activity shown.
日志打印工具logcat是Android系统中一个命令行工具,可以用于得到程序的log信息,因此,可以通过logcat获取所述第一平台客户端的日志文件,得到用于实现搜索结果展示的所述活动activity。The log print tool logcat is a command line tool in the Android system, which can be used to obtain the log information of the program. Therefore, the log file of the first platform client can be obtained through the logcat, and the activity activity for displaying the search result is obtained. .
在本发明的一个实施例中,如图3所示,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息后,还可以包括:In an embodiment of the present invention, as shown in FIG. 3, the interception result of the display information analytic function is intercepted by the hook hook operation, and after the first application list display information is obtained, the method may further include:
步骤S400:所述展示信息解析函数将其解析结果发送到所述第一平台客户端;Step S400: the presentation information parsing function sends the parsing result to the first platform client;
步骤S500:第一平台客户端接收所述解析结果,并展示所述第一应用程序列表展示信息。Step S500: The first platform client receives the parsing result and displays the first application list display information.
需要说明的是,所述步骤S300中根据第一目标关键词查找第一目标应用程序的步骤和该步骤S400是没有明显的先后顺序之分的,在完成步骤S200中第一应用程序列表展示信息的截获后,即可控制展示信息解析函数将其解析结果发送到第一平台客户端,以供第一平台客户端显示所述第一应用程序列表展示信息,即通常呈现给用户的应用搜索结果列表信息。It should be noted that, in the step S300, the step of searching for the first target application according to the first target keyword and the step S400 are not distinct, and the first application list display information is completed in step S200. After the interception, the display information parsing function can be controlled to send the parsing result to the first platform client, so that the first platform client displays the first application list display information, that is, the application search result that is usually presented to the user. List information.
本发明实施例中所提供的应用程序获取方法,通过截获服务器端返回到平台客户端的应用程序搜索结果中的应用程序展示信息,再根据所关注的目标关键词,在截取到的应用程序展示信息中获取到所需要的目标应用程序。通过该方法,能够方便的获取到平台客户端展示的应用程序中的符合某些具体特征(如对应的应用程序提供者信息/产品信息包含特征词语等)的应用程序。The application obtaining method provided in the embodiment of the present invention intercepts the application display information in the application search result returned by the server end to the platform client, and then displays the information in the intercepted application according to the target keyword of interest. Get the target application you need. Through this method, an application in the application displayed by the platform client conforming to certain specific features (such as corresponding application provider information/product information including feature words, etc.) can be conveniently obtained.
例如,对于360手机助手平台客户端,假设第一搜索关键词为单机游戏,目标关键词为热门,那么通过本实施例所述的获取方法,即可获取到360搜索服务器返回的单机游戏应用程序搜索结果中在客户端的展示列表结果中包含有热门这一目标关键词的应用程序。通过该方案,可以依据设定的标准获取符合条件的APP,在此基础上,服务器运营者可以对根据预设的规则对获取到的目标应用程序APP进行后续处理,例如,可以按照预设规则对目标应用程序APP在平台客户端的排名/评分/等级/安全等级等进行相关评定 和调整。For example, for the 360 mobile assistant platform client, if the first search keyword is a stand-alone game and the target keyword is hot, then the acquisition method described in this embodiment can obtain the stand-alone game application returned by the 360 search server. In the search results, the application of the target keyword is included in the client's display list result. Through the solution, the qualified APP can be obtained according to the set criteria. On this basis, the server operator can perform subsequent processing on the obtained target application APP according to the preset rule, for example, according to a preset rule. Relevant assessment of the target application app's ranking/score/level/security level on the platform client And adjustments.
图4示出了本发明的一个实施例中的一种应用程序获取装置的结构示意图,由图中可以看出,所述应用程序获取装置1主要可以包括搜索请求发送模块100、展示信息截获模块200和目标程序查找模块300。其中:FIG. 4 is a schematic structural diagram of an application acquiring apparatus according to an embodiment of the present invention. As can be seen from the figure, the application obtaining apparatus 1 may mainly include a search request sending module 100 and a display information intercepting module. 200 and target program lookup module 300. among them:
搜索请求发送模块100,用于根据预设的第一搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求;The search request sending module 100 is configured to send, by using the first platform client, the first search request to the first application search server according to the preset first search keyword;
展示信息截获模块200,用于截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息;The display information intercepting module 200 is configured to intercept the first application list display information in the first application search result returned by the first application search server to the first platform client;
目标程序查找模块300,用于根据预设的第一目标关键词,在所述第一应用程序列表展示信息中查找与所述第一目标关键词匹配的第一目标应用程序。The target program search module 300 is configured to search, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
其中,所述第一应用程序列表展示信息是指在所述第一平台客户端上显示的第一应用程序的相关信息;所述相关信息可以包括如下信息中的至少一个:应用程序名称、应用程序标签label、应用程序图标icon和应用程序的描述信息等。The first application list display information refers to related information of the first application displayed on the first platform client; the related information may include at least one of the following information: an application name, an application Program label label, application icon icon, and description information of the application.
该应用程序获取装置,通过截获第一应用程序搜索服务器返回的应用程序搜索结果中的应用程序列表展示信息,来从中查找到所需要的与目标关键词相匹配的第一目标应用程序。The application obtaining means searches for the first target application required to match the target keyword by intercepting the application list display information in the application search result returned by the first application search server.
其中,所述第一搜索关键词和第一目标关键词均可以根据实际应用场景进行设置。所述第一目标关键词包括但不限于热门、推广应用程序的提供者信息、应用程序包含的特定特征词语等。The first search keyword and the first target keyword may be set according to an actual application scenario. The first target keywords include, but are not limited to, popularity, provider information of the promotion application, specific feature words included in the application, and the like.
在本发明的一个实施例中,如图5所示,所述展示信息截获模块200包括解析函数获取子模块210和分析函数截取子模块220。其中:In an embodiment of the present invention, as shown in FIG. 5, the presentation information intercepting module 200 includes an analytic function obtaining sub-module 210 and an analytic function intercepting sub-module 220. among them:
解析函数获取子模块210,用于获取所述第一平台客户端的展示信息解析函数;所述展示信息解析函数用于将第一应用程序搜索服务器返回的所述第一应用程序搜索结果解析成所述第一平台客户端能够识别的数据,第一平台客户端能够识别的数据包括所述第一应用程序列表展示信息;The analytic function obtaining sub-module 210 is configured to obtain the display information analytic function of the first platform client; the display information analytic function is configured to parse the first application search result returned by the first application search server into a The data that the first platform client can identify, the data that the first platform client can identify includes the first application list display information;
分析函数截取子模块220,用于对所述展示信息解析函数进行钩子hook 操作,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息。An analysis function intercepting sub-module 220, configured to perform hook hook on the display information parsing function In operation, the parsing result of the display information parsing function is intercepted by the hook hook operation, and the first application list display information is obtained.
在本发明的一个实施例中,所述分析函数截取子模块220优选包括钩子权限设置单元221,如图6中所示。In one embodiment of the invention, the analysis function intercepting sub-module 220 preferably includes a hook authority setting unit 221, as shown in FIG.
钩子权限设置单元211,用于将所述钩子hook操作的权限设置为root权限。The hook permission setting unit 211 is configured to set the permission of the hook hook operation to the root authority.
通过将钩子函数hook操作的权限设置为root权限,使该操作的帐户具有系统最高权限,可以对系统中的任何文件(包括系统文件)执行所有增、删、改、查的操作,从而保证了钩子函数hook操作能够顺利执行。By setting the permission of the hook function hook operation to the root privilege, the account of the operation has the highest privilege of the system, and all the addition, deletion, modification, and checking operations can be performed on any file (including the system file) in the system, thereby ensuring the operation. The hook function hook operation can be performed smoothly.
在本发明的一个实施例中,如图7所示,所述解析函数获取子模块210可以包括搜索请求发送单元211、搜索结果展示单元212、活动获取单元213、程序关联信息获取单元214、dex文件获取单元215和解析函数获取子单元216。In an embodiment of the present invention, as shown in FIG. 7, the analytic function acquisition sub-module 210 may include a search request sending unit 211, a search result display unit 212, an activity obtaining unit 213, a program-related information acquiring unit 214, and a dex. The file acquisition unit 215 and the analytic function acquisition sub-unit 216.
所述搜索请求发送单元211,用于根据第二搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第二搜索请求;The search request sending unit 211 is configured to send, by using the first platform client, a second search request to the first application search server according to the second search keyword;
搜索结果展示单元212,用于第一平台客户端接收第一应用程序搜索服务器返回的第二应用程序搜索结果,通过展示信息解析函数解析第二应用程序搜索结果得到第二应用程序列表展示信息,并展示;其中,所述第二应用程序的关联信息包括以下信息中的至少一个:应用程序名称、应用程序标签、应用程序图标和应用程序的jar包的存储路径等。The search result display unit 212 is configured to receive, by the first platform client, the second application search result returned by the first application search server, and parse the second application search result by using the display information analysis function to obtain the second application list display information, And displaying, wherein the association information of the second application includes at least one of the following information: an application name, an application tag, an application icon, a storage path of an application jar package, and the like.
活动获取单元213,用于获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity;An activity obtaining unit 213, configured to acquire an activity activity of the first platform client that implements the second application search result display;
程序关联信息获取单元214,用于根据所述活动acitvity,得到所述第二应用程序展示列表中显示的第二应用程序的关联信息;The program association information obtaining unit 214 is configured to obtain association information of the second application displayed in the second application display list according to the activity acitvity;
dex文件获取单元215,用于获取所述第二应用程序的dex文件;a dex file obtaining unit 215, configured to acquire a dex file of the second application;
解析函数获取子单元216,用于根据所述第二应用程序的关联信息在所述dex文件中查找到第一平台客户端的展示信息解析函数。The analytic function obtaining sub-unit 216 is configured to find the display information parsing function of the first platform client in the dex file according to the association information of the second application.
本实施例中,所述解析函数获取子模块210通过获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity,来获取到第二应用程序展示列表中显示的第二应用程序的关联信息,在根据第二应用程序的关 联信息在第二应用程序的dex文件中即可关联查找到所述第一平台客户端的展示信息解析函数,从而进一步通过hook该展示信息解析函数,截获到所需要获取的应用程序列表展示信息。In this embodiment, the analytic function obtaining sub-module 210 obtains the second activity displayed in the second application display list by acquiring the activity activity of the first platform client that implements the second application search result display. The associated information of the application, in accordance with the second application The joint information can be associated with the display information parsing function of the first platform client in the dex file of the second application, so as to further capture the display information of the application list that needs to be obtained by hooking the display information parsing function.
在本发明的一个实施例中,所述活动获取单元213可以包括日志打印子单元2131和活动获取子单元2132,如图8所示。其中:In one embodiment of the present invention, the activity acquisition unit 213 may include a log print subunit 2131 and an activity acquisition subunit 2132, as shown in FIG. among them:
日志打印子单元2131,用于通过操作系统的日志打印工具logcat打印所述第一平台客户端的日志信息;a log printing subunit 2131, configured to print log information of the first platform client by using a log printing tool logcat of the operating system;
活动获取子单元2132,用于根据所述日志信息获取第一平台客户端的实现第二应用程序搜索结果展示的活动activity。The activity acquisition sub-unit 2132 is configured to obtain, according to the log information, an activity activity of the first platform client that implements the second application search result display.
在本发明的一个实施例中,如图9中所示,所说应用程序获取装置1还可以包括展示信息发送模块400和客户端展示模块500。其中:In an embodiment of the present invention, as shown in FIG. 9, the application obtaining apparatus 1 may further include a presentation information transmitting module 400 and a client presentation module 500. among them:
展示信息发送模块400,用于通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息后,由所述展示信息解析函数将其解析结果发送到所述第一平台客户端;The display information sending module 400 is configured to intercept the parsing result of the display information analytic function by the hook hook operation, and obtain the first application program list display information, and then send the parsing result to the display information analytic function to The first platform client;
客户端展示模块500,用于在第一平台客户端接收所述解析结果,并展示所述第一应用程序列表展示信息。The client display module 500 is configured to receive the parsing result on the first platform client, and display the first application list display information.
完成所述展示信息解析函数的解析结果截获,得到第一应用程序列表展示信息,再由展示信息解析函数将其解析结果发送到所述第一平台客户端,第一平台客户端展示所述解析结果中的第一应用程序列表展示信息,展示的数据即在第一平客户端发送搜索请求后,在显示屏上显示给用户的信息。Completing the parsing result of the display information parsing function, obtaining the first application list display information, and then sending the parsing result to the first platform client by the display information parsing function, and the first platform client displays the parsing The first application list in the result displays information, which is information displayed to the user on the display screen after the first flat client sends the search request.
在本发明的一个实施例中,还提供了一种终端设备,所述终端设备包括上述的任一实施例中的所述应用程序获取装置1,所述终端设备上安装有所述第一平台客户端。In an embodiment of the present invention, a terminal device is further provided, where the terminal device includes the application acquiring device 1 in any one of the foregoing embodiments, where the first platform is installed on the terminal device. Client.
其中,所述终端设备包括但不限于智能手机、PC机等设备。The terminal device includes, but is not limited to, a smart phone, a PC, and the like.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。 In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present invention. Different embodiments are formed and formed. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的应用程序获取装置以及一种终端设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。 The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some of the application acquisition devices and some or all of the components of a terminal device in accordance with embodiments of the present invention. All features. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图10示出了可以实现根据本发明的应用程序获取方法的计算设备。该计算设备传统上包括处理器1010和以存储器1020形式的计算机程序产品或者计算机可读介质。存储器1020可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1020具有存储用于执行上述方法中的任何方法步骤的程序代码1031的存储空间1030。例如,存储程序代码的存储空间1030可以存储分别用于实现上面的方法中的各种步骤的各个程序代码1031。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图11所示的便携式或者固定存储单元。该存储单元可以具有与图10的计算设备中的存储器1020类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储用于执行本发明的方法步骤的计算机可读代码1031’,即可以由例如1010之类的处理器读取的代码,当这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, Figure 10 illustrates a computing device that can implement an application acquisition method in accordance with the present invention. The computing device conventionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020. The memory 1020 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Memory 1020 has a storage space 1030 that stores program code 1031 for performing any of the method steps described above. For example, the storage space 1030 storing program code may store respective program codes 1031 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG. The storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 1020 in the computing device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit stores computer readable code 1031' for performing the method steps of the present invention, ie, code that can be read by a processor, such as 1010, when the code is run by a computing device, causing the computing device Perform the various steps in the method described above.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术 人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, it is common to the prior art without departing from the scope and spirit of the appended claims. Many modifications and changes are obvious to the personnel. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (19)

  1. 一种应用程序获取方法,包括:An application acquisition method includes:
    根据预设的第一搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求;Sending, by the first platform client, the first search request to the first application search server according to the preset first search keyword;
    截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息;Intercepting first application list display information in the first application search result returned by the first application search server to the first platform client;
    根据预设的第一目标关键词,在所述第一应用程序列表展示信息中查找与所述第一目标关键词匹配的第一目标应用程序。And searching, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
  2. 根据权利要求1所述的获取方法,所述第一应用程序列表展示信息是指在所述第一平台客户端上显示的第一应用程序的相关信息;所述相关信息包括如下至少一个:应用程序名称、应用程序标签label、应用程序图标icon和应用程序的描述信息。The obtaining method according to claim 1, wherein the first application list display information refers to related information of the first application displayed on the first platform client; the related information includes at least one of the following: an application Program name, application label label, application icon icon, and description information for the application.
  3. 根据权利要求1所述的获取方法,截取所述第一应用程序列表展示信息,包括:The acquiring method of claim 1, the intercepting the first application list display information, comprising:
    获取所述第一平台客户端的展示信息解析函数;所述展示信息解析函数用于将第一应用程序搜索服务器返回的所述第一应用程序搜索结果解析成所述第一平台客户端能够识别的数据,第一平台客户端能够识别的数据包括所述第一应用程序列表展示信息;Obtaining a display information parsing function of the first platform client; the display information parsing function is configured to parse the first application search result returned by the first application search server into a first platform client capable of recognizing Data, the data that the first platform client can identify includes the first application list display information;
    对所述展示信息解析函数进行钩子hook操作,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息。Performing a hook operation on the display information parsing function, and intercepting the parsing result of the display information parsing function by the hook hook operation to obtain the first application list display information.
  4. 根据权利要求3所述的获取方法,所述获取所述第一平台客户端的展示信息解析函数,包括:The method for obtaining the display information of the first platform client, comprising: obtaining:
    根据第二搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第二搜索请求;Transmitting, by the first platform client, a second search request to the first application search server according to the second search keyword;
    第一平台客户端接收第一应用程序搜索服务器返回的第二应用程序搜索结果,通过展示信息解析函数解析第二应用程序搜索结果得到第二应用程序列表展示信息,并展示;The first platform client receives the second application search result returned by the first application search server, parses the second application search result by displaying the information analysis function, and obtains the second application list display information, and displays the information;
    获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity; Obtaining an activity activity of the first platform client that implements the second application search result display;
    根据所述活动acitvity得到所述第二应用程序展示列表中显示的第二应用程序的关联信息;Obtaining association information of the second application displayed in the second application display list according to the activity acitvity;
    获取所述第二应用程序的dex文件;Obtaining a dex file of the second application;
    根据所述第二应用程序的关联信息在所述dex文件中查找到第一平台客户端的展示信息解析函数。And displaying the display information parsing function of the first platform client in the dex file according to the association information of the second application.
  5. 根据权利要求4所述的获取方法,所述第二应用程序的关联信息包括如下至少一个:应用程序名称、应用程序标签、应用程序图标和应用程序的jar包的存储路径。The obtaining method according to claim 4, wherein the association information of the second application comprises at least one of: an application name, an application tag, an application icon, and a storage path of a jar package of the application.
  6. 根据权利要求4所述的获取方法,获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity,包括:The acquiring method of claim 4, the activity activity of the first platform client that implements the second application search result display is obtained, including:
    通过操作系统的日志打印工具logcat打印所述第一平台客户端的日志信息;Printing log information of the first platform client by using a log print tool logcat of the operating system;
    根据所述日志信息获取第一平台客户端的实现第二应用程序搜索结果展示的活动activity。Obtaining, according to the log information, an activity activity of the first platform client that implements the second application search result display.
  7. 根据权利要求3所述的获取方法,该方法还包括:将所述钩子hook操作的权限设置为root权限。The obtaining method according to claim 3, further comprising: setting a permission of the hook hook operation as a root authority.
  8. 根据权利要求3所述的获取方法,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息后,还包括:The obtaining method according to claim 3, after the intercepting result of the display information analytic function is intercepted by the hook hook operation, and after the first application list display information is obtained, the method further includes:
    所述展示信息解析函数将其解析结果发送到所述第一平台客户端;The display information parsing function sends the parsing result to the first platform client;
    第一平台客户端接收所述解析结果,并展示所述第一应用程序列表展示信息。The first platform client receives the parsing result and displays the first application list listing information.
  9. 一种应用程序获取装置,包括:An application acquisition device comprising:
    搜索请求发送模块,用于根据预设的第一搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第一搜索请求;a search request sending module, configured to send, by using the first platform client, the first search request to the first application search server according to the preset first search keyword;
    展示信息截获模块,用于截取所述第一应用程序搜索服务器向所述第一平台客户端返回的第一应用程序搜索结果中的第一应用程序列表展示信息;a display information intercepting module, configured to intercept first application list display information in the first application search result returned by the first application search server to the first platform client;
    目标程序查找模块,用于根据预设的第一目标关键词,在所述第一应用程序列表展示信息中查找与所述第一目标关键词匹配的第一目标应用程序。And a target program search module, configured to search, in the first application list display information, a first target application that matches the first target keyword according to the preset first target keyword.
  10. 根据权利要求9所述的获取装置,所述第一应用程序列表展示信息是指在所述第一平台客户端上显示的第一应用程序的相关信息;所述相关信 息包括如下至少一个:应用程序名称、应用程序标签label、应用程序图标icon和应用程序的描述信息。The obtaining device according to claim 9, wherein the first application list display information refers to information related to the first application displayed on the first platform client; the related information The information includes at least one of the following: an application name, an application label label, an application icon icon, and an application description information.
  11. 根据权利要求9所述的获取装置,所述展示信息截获模块,包括:The acquiring device according to claim 9, wherein the display information intercepting module comprises:
    解析函数获取子模块,用于获取所述第一平台客户端的展示信息解析函数;所述展示信息解析函数用于将第一应用程序搜索服务器返回的所述第一应用程序搜索结果解析成所述第一平台客户端能够识别的数据,第一平台客户端能够识别的数据包括所述第一应用程序列表展示信息;An analytic function obtaining submodule, configured to obtain an impression information parsing function of the first platform client; the presentation information parsing function is configured to parse the first application search result returned by the first application search server into the The data that the first platform client can identify, the data that the first platform client can identify includes the first application list display information;
    分析函数截取子模块,用于对所述展示信息解析函数进行钩子hook操作,通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息。The analytic function interception sub-module is configured to perform a hook operation on the display information analytic function, and intercept the parsing result of the display information analytic function by the hook hook operation to obtain the first application list display information.
  12. 根据权利要求11所述的获取装置,所述解析函数获取子模块,包括:The obtaining device according to claim 11, wherein the analytic function acquisition submodule comprises:
    搜索请求发送单元,用于根据第二搜索关键词,通过第一平台客户端向第一应用程序搜索服务器发送第二搜索请求;a search request sending unit, configured to send, by the first platform client, a second search request to the first application search server according to the second search keyword;
    搜索结果展示单元,用于第一平台客户端接收第一应用程序搜索服务器返回的第二应用程序搜索结果,通过展示信息解析函数解析第二应用程序搜索结果得到第二应用程序列表展示信息,并展示;a search result display unit, configured to receive, by the first platform client, the second application search result returned by the first application search server, and parse the second application search result by using the display information parsing function to obtain the second application list display information, and Display
    活动获取单元,用于获取所述第一平台客户端的实现所述第二应用程序搜索结果展示的活动activity;An activity obtaining unit, configured to acquire an activity activity of the first platform client that implements the second application search result display;
    程序关联信息获取单元,用于根据所述活动acitvity,得到所述第二应用程序展示列表中显示的第二应用程序的关联信息;a program association information obtaining unit, configured to obtain association information of the second application displayed in the second application display list according to the activity acitvity;
    dex文件获取单元,用于获取所述第二应用程序的dex文件;a dex file obtaining unit, configured to acquire a dex file of the second application;
    解析函数获取子单元,用于根据所述第二应用程序的关联信息在所述dex文件中查找到第一平台客户端的展示信息解析函数。The analytic function obtaining subunit is configured to find the display information analytic function of the first platform client in the dex file according to the association information of the second application.
  13. 根据权利要求12所述的获取装置,所述第二应用程序的关联信息包括如下至少一个:应用程序名称、应用程序标签、应用程序图标和应用程序的jar包的存储路径。The obtaining device according to claim 12, wherein the association information of the second application comprises at least one of: an application name, an application tag, an application icon, and a storage path of a jar package of the application.
  14. 根据权利要求12所述的获取装置,所述活动获取单元,包括:The acquiring device according to claim 12, wherein the activity obtaining unit comprises:
    日志打印子单元,用于通过操作系统的日志打印工具logcat打印所述第一平台客户端的日志信息;a log printing subunit, configured to print log information of the first platform client by using a log print tool logcat of the operating system;
    活动获取子单元,用于根据所述日志信息获取第一平台客户端的实现第 二应用程序搜索结果展示的活动activity。An activity obtaining subunit, configured to obtain, according to the log information, an implementation of the first platform client The activity activity of the second application search result is displayed.
  15. 根据权利要求11所述的获取装置,所述分析函数截取子模块,包括:The obtaining device according to claim 11, wherein the analysis function intercepts the sub-module, comprising:
    钩子权限设置单元,用于将所述钩子hook操作的权限设置为root权限。The hook permission setting unit is configured to set the permission of the hook hook operation to the root authority.
  16. 根据权利要求11所述的获取装置,该获取装置还包括:The obtaining device according to claim 11, further comprising:
    展示信息发送模块,用于通过所述钩子hook操作截获所述展示信息解析函数的解析结果,得到所述第一应用程序列表展示信息后,由所述展示信息解析函数将其解析结果发送到所述第一平台客户端;a display information sending module, configured to intercept the parsing result of the display information parsing function by the hook hook operation, and obtain the first application program list display information, and send the parsing result to the display information by the display information parsing function Said first platform client;
    客户端展示模块,用于在第一平台客户端接收所述解析结果,并展示所述第一应用程序列表展示信息。The client display module is configured to receive the parsing result on the first platform client, and display the first application list display information.
  17. 一种终端设备,包括权利要求9-16中任一项所述的获取装置,所述终端设备上安装有所述第一平台客户端。A terminal device comprising the obtaining device according to any one of claims 9-16, wherein the first platform client is installed on the terminal device.
  18. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-8中任一项所述的应用程序获取方法。A computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the application acquisition method of any of claims 1-8.
  19. 一种计算机可读介质,其中存储了如权利要求18所述的计算机程序。 A computer readable medium storing the computer program of claim 18.
PCT/CN2017/115997 2016-12-29 2017-12-13 Method and device for obtaining application and terminal device WO2018121266A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611250149.0 2016-12-29
CN201611250149.0A CN106844532B (en) 2016-12-29 2016-12-29 Application program acquisition method and device and terminal equipment

Publications (1)

Publication Number Publication Date
WO2018121266A1 true WO2018121266A1 (en) 2018-07-05

Family

ID=59114701

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/115997 WO2018121266A1 (en) 2016-12-29 2017-12-13 Method and device for obtaining application and terminal device

Country Status (2)

Country Link
CN (1) CN106844532B (en)
WO (1) WO2018121266A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112529392A (en) * 2020-12-04 2021-03-19 国网山东省电力公司昌乐县供电公司 Key power data analysis and display system and method in power transmission and distribution system and power transmission and distribution monitoring server
CN112540929A (en) * 2020-12-25 2021-03-23 北京百度网讯科技有限公司 Detection method, device, equipment and storage medium
CN112740203A (en) * 2018-11-07 2021-04-30 深圳市欢太科技有限公司 Data processing method, device, server and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844532B (en) * 2016-12-29 2020-12-11 北京奇虎科技有限公司 Application program acquisition method and device and terminal equipment
CN109325348B (en) * 2018-09-13 2021-06-15 江苏通付盾信息安全技术有限公司 Application security analysis method and device, computing equipment and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495903A (en) * 2011-12-18 2012-06-13 上海量明科技发展有限公司 Method and system for searching and downloading software by input method
CN103226617A (en) * 2013-05-17 2013-07-31 蒋锋 Cloud computing goods information searching system and method
CN103488766A (en) * 2013-09-27 2014-01-01 中国联合网络通信集团有限公司 Application program searching method and device
US20140040231A1 (en) * 2012-08-06 2014-02-06 Hsiu-Ping Lin Methods and systems for searching software applications
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN105095407A (en) * 2015-07-09 2015-11-25 中山大学 Method and system for real-time search of application program content
CN106844532A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of application program acquisition methods and device and a kind of terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041729B2 (en) * 2009-02-20 2011-10-18 Yahoo! Inc. Categorizing queries and expanding keywords with a coreference graph
CN103186572A (en) * 2011-12-29 2013-07-03 腾讯科技(深圳)有限公司 Application program search method, mobile application platform and system
CN102984204B (en) * 2012-10-31 2015-09-09 广东欧珀移动通信有限公司 A kind of method and mobile intelligent terminal obtaining application program
CN105574411B (en) * 2015-12-25 2018-12-28 北京奇虎科技有限公司 A kind of dynamic hulling method, device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495903A (en) * 2011-12-18 2012-06-13 上海量明科技发展有限公司 Method and system for searching and downloading software by input method
US20140040231A1 (en) * 2012-08-06 2014-02-06 Hsiu-Ping Lin Methods and systems for searching software applications
CN103226617A (en) * 2013-05-17 2013-07-31 蒋锋 Cloud computing goods information searching system and method
CN103488766A (en) * 2013-09-27 2014-01-01 中国联合网络通信集团有限公司 Application program searching method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN105095407A (en) * 2015-07-09 2015-11-25 中山大学 Method and system for real-time search of application program content
CN106844532A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of application program acquisition methods and device and a kind of terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112740203A (en) * 2018-11-07 2021-04-30 深圳市欢太科技有限公司 Data processing method, device, server and storage medium
CN112740203B (en) * 2018-11-07 2024-03-26 深圳市欢太科技有限公司 Data processing method, device, server and storage medium
CN112529392A (en) * 2020-12-04 2021-03-19 国网山东省电力公司昌乐县供电公司 Key power data analysis and display system and method in power transmission and distribution system and power transmission and distribution monitoring server
CN112540929A (en) * 2020-12-25 2021-03-23 北京百度网讯科技有限公司 Detection method, device, equipment and storage medium
CN112540929B (en) * 2020-12-25 2024-03-12 北京百度网讯科技有限公司 Detection method, detection device, detection equipment and storage medium

Also Published As

Publication number Publication date
CN106844532A (en) 2017-06-13
CN106844532B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
WO2018121266A1 (en) Method and device for obtaining application and terminal device
CN103632096B (en) A kind of method and apparatus that safety detection is carried out to equipment
JP6609047B2 (en) Method and device for application information risk management
US20160241589A1 (en) Method and apparatus for identifying malicious website
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
US20180248898A1 (en) Method and apparatus for identifying malicious website, and computer storage medium
CN109829287A (en) Api interface permission access method, equipment, storage medium and device
WO2016000507A1 (en) Traffic-saving mode search service method, server, client and system
US20210042150A1 (en) Method-call-chain tracking method, electronic device, and computer readable storage medium
WO2017107679A1 (en) Historical information display method and apparatus
CN109241722A (en) For obtaining method, electronic equipment and the computer-readable medium of information
CN115150261B (en) Alarm analysis method, device, electronic equipment and storage medium
CN107748772B (en) Trademark identification method and device
CN110674023B (en) Interface testing method and device
CN106612283B (en) Method and device for identifying source of downloaded file
CN112433936A (en) Test method, test device and storage medium
WO2016091074A1 (en) Method, device and system for identifying harassment communications via mobile communication terminal
CN108021464B (en) Bottom-pocketing processing method and device for application response data
WO2016107275A1 (en) Contact-list information loading method and device
CN114531340B (en) Log acquisition method and device, electronic equipment, chip and storage medium
US20220335078A1 (en) Methods and apparatus to detect unconfined view media
CN108009785B (en) Attendance checking method and device
CN115544558A (en) Sensitive information detection method and device, computer equipment and storage medium
US20220084048A1 (en) Server apparatus, method of controlling server apparatus, computer-readable medium, genuine product determining system, and method of controlling genuine product determining system
CN115061785A (en) Information issuing method and device, storage medium and server

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: 17886047

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: 17886047

Country of ref document: EP

Kind code of ref document: A1