WO2023109113A1 - Application program query method and apparatus, device and storage medium - Google Patents

Application program query method and apparatus, device and storage medium Download PDF

Info

Publication number
WO2023109113A1
WO2023109113A1 PCT/CN2022/106186 CN2022106186W WO2023109113A1 WO 2023109113 A1 WO2023109113 A1 WO 2023109113A1 CN 2022106186 W CN2022106186 W CN 2022106186W WO 2023109113 A1 WO2023109113 A1 WO 2023109113A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating system
app
query
target
component
Prior art date
Application number
PCT/CN2022/106186
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 WO2023109113A1 publication Critical patent/WO2023109113A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Definitions

  • the present disclosure relates to the technical field of computers, for example, to an application query method, device, device and storage medium.
  • the application program APP running the Android system can be supported on the Linux system.
  • the present disclosure provides an application program query method, device, device and storage medium, which are used to solve the defect that the Android APP used to open a specified file in the Android system cannot be queried under the system architecture of the Linux system compatible with Android in the related art, and realizes Under this system architecture, it is possible to query not only the Linux application program that can open the specified file, but also the Android APP used to open the specified file in the Android system.
  • the present disclosure provides an application query method, which is applied to an electronic device, and the electronic device includes: a first operating system and a second operating system, the second operating system includes a second APP, and the method includes:
  • the first operating system acquires a processing request of the user, and the processing request is used to process the target object;
  • the first operating system acquires the Multipurpose Internet Mail Extensions MIME type corresponding to the target object according to the processing request;
  • the first operating system sends a query request to the second operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system;
  • the first operating system obtains the query result sent by the second operating system; the query result includes information of the second APP.
  • the present disclosure also provides an application query device, which is applied to an electronic device, and the electronic device includes: a first operating system and a second operating system, the second operating system includes a second APP, and the device includes:
  • An acquisition module configured to acquire a user's processing request through the first operating system, and the processing request is used to process the target object;
  • the obtaining module is also configured to obtain the MIME type corresponding to the target object according to the processing request through the first operating system;
  • the sending module is configured to send a query request to the second operating system through the first operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system;
  • the obtaining module is further configured to obtain the query result sent by the second operating system through the first operating system; the query result includes the information of the second APP.
  • the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the program, it implements any of the application program queries described above. method.
  • the present disclosure also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned application program query methods is implemented.
  • the present disclosure also provides a computer program product, including a computer program.
  • a computer program product including a computer program.
  • the computer program is executed by a processor, any one of the above-mentioned application program query methods is implemented.
  • FIG. 1 is one of the schematic flow charts of the application query method provided by the present disclosure
  • Fig. 2 is one of the interactive flow diagrams of the application query method provided by the present disclosure
  • Fig. 3 is the second schematic diagram of the interaction process of the application query method provided by the present disclosure.
  • Fig. 4 is the third schematic diagram of the interaction process of the application query method provided by the present disclosure.
  • FIG. 5 is a schematic structural diagram of an application query device provided by the present disclosure.
  • Fig. 6 is a schematic structural diagram of an electronic device provided by the present disclosure.
  • the method of the embodiment of the present disclosure can be applied to an electronic device.
  • the electronic device is provided with at least two systems, such as a first operating system and a second operating system, and the second operating system can run in a containerized manner.
  • the first operating system or two operating systems deployed in parallel.
  • containerization is LXC implemented on the basis of Linux kernel features, which makes full use of cgroups and Namespace features, isolates processes and resources, and enables efficient and lightweight implementation of the second operating system.
  • the first operating system and the second operating system may be the same, for example, both the first operating system and the second operating system are Linux or both are Android; the first operating system It can also be different from the second operating system, for example, one of the first operating system and the second operating system is Linux, and the other is Android.
  • an application program generally refers to an application having at least one function in an operating system, such as a file manager, a picture viewer, a music player, a video player, a reader, and the like.
  • Target objects include, for example: files, images, videos, music, or texts. Processing the target object refers to operations such as opening, editing, and playing.
  • the method provided by the embodiments of the present disclosure may be implemented by an electronic device such as a processor executing corresponding software codes, or may be implemented by the electronic device executing data interaction with a server while executing corresponding software codes.
  • Fig. 1 is a schematic flowchart of an embodiment of an application query method provided by an embodiment of the present disclosure. As shown in FIG. 1, the method provided in this embodiment is applied to an electronic device, and the electronic device runs a first operating system and a second operating system, and the second operating system includes a second application program APP. The method includes:
  • Step 101 the first operating system acquires a user's processing request, and the processing request is used to process a target object.
  • the target object includes, for example, files, images, videos, music or texts, Uniform Resource Identifier (UniformResourceIdentifier, URI) resources, and the like.
  • UniformResourceIdentifier UniformResourceIdentifier
  • the user initiates a processing request to the first target APP.
  • the first target APP is, for example, a file manager, a browser, and other APPs, and the processing request is, for example, a request to open a file.
  • URI resources refer to resources available on the network, including, for example, HyperText Markup Language (HyperTextMarkupLanguage, HTML) documents, images, video clips, programs, and the like.
  • HyperText Markup Language HyperTextMarkupLanguage, HTML
  • Step 102 the first operating system obtains the MIME type corresponding to the target object according to the processing request.
  • a Multipurpose Internet Mail Extensions (Multipurpose Internet Mail Extensions, MIME) type is an expression method used to describe a type of a file, and it divides files into multiple types to facilitate unified management thereof.
  • the MIME type specifies the type name, description, icon information, etc. of the file, and at the same time specifies the opening method of the file by integrating with the .desktop application description file.
  • the Linux APP can register the MIME types that the APP can handle with the Linux system through the MIMETYPE keyword in the .desktop file.
  • the APP can register with the system the MIME types that the Activity can handle through the ⁇ intent-filter> of the Manifest.xml file.
  • the corresponding MIME type can be determined through the information of the target object, and then the corresponding APP can be determined according to the MIME type, and the APP can process the target object of the MIME type.
  • Processing the target object may be, for example, opening the target object.
  • the APP can open the relevant file or URI through the command line, where the command line can be represented by the value of the Exec keyword.
  • Step 103 the first operating system sends a query request to the second operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system.
  • the first operating system sends a query request to the second operating system, which is used to query the second APP used to process the target object of the MIME type in the second operating system, and the second operating system queries the A second APP that handles the target object of the MIME type.
  • the second operating system needs to create a communication component (Intent component), and call the package manager (Package Manager) through the Intent component to query the APP that can handle the MIME type in the Android system.
  • Intent component a communication component
  • Package Manager a package manager
  • the second operating system directly uses the MIME type as a parameter to query the APP in the Linux system that can handle the MIME type.
  • Step 104 the first operating system obtains the query result sent by the second operating system, and the query result includes the information of the second APP.
  • the first operating system obtains the query result sent by the second operating system, and the query result includes: information of a second APP in the second operating system that can process the target object of the MIME type.
  • the first operating system also includes a first APP
  • the method also includes:
  • a first APP used to process the target object of the MIME type in the first operating system is queried.
  • the first operating system sends a query request to the second operating system, and the first operating system queries the first APP in the first operating system that processes the target object of the MIME type.
  • One is performed before the other, or at the same time, which is not limited in this embodiment of the present disclosure.
  • the first operating system obtains the MIME type corresponding to the target object according to the user's processing request; the first operating system sends a query request to the second operating system for querying the MIME type used in the second operating system The second APP of the target object; the first operating system obtains the query result sent by the second operating system, and the query result includes the information of the second APP.
  • the second The query of the application program supporting the MIME type in the operating system expands the number of application programs processing the target object compared with the APP in the first operating system that can only obtain the processing target object in the related art.
  • the first operating system includes: a first target APP, a MIME type mapping component and a first target component
  • the second operating system includes: a proxy component and a second target component
  • the first target APP of the first operating system obtains the processing request of the user.
  • Step 102 can be realized in the following manner:
  • the first target APP of the first operating system acquires the MIME type corresponding to the target object through the MIME type mapping component.
  • Step 103 can be realized in the following manner:
  • the first target APP of the first operating system invokes the first target component of the first operating system to send the query request to the proxy component of the second operating system according to the MIME type corresponding to the target object.
  • the method also includes:
  • the proxy component invokes the second target component to query the second APP for processing the target object of the MIME type, and obtains a query result;
  • the query result includes: the second APP for processing the target object of the MIME type 2.
  • the second target component sends the query result to the proxy component
  • the proxy component sends the query result to the first target component of the first operating system.
  • Step 104 may be implemented in the following manner: the first target component of the first operating system obtains the query result sent by the proxy component, and sends the query result to the first target APP;
  • the first target component of the first operating system queries the first APP in the first operating system that processes the target object of the MIME type.
  • the user initiates a processing request to a first target APP.
  • the first target APP is, for example, a file manager, a browser, and other APPs
  • the processing request is, for example, a request to open a file.
  • the first target APP uses the identity of the target object as a parameter to query the MIME type mapping component to obtain the MIME type corresponding to the target object.
  • the MIME type mapping component can be a database that stores the corresponding relationship between the target object and the MIME type.
  • the target object can be passed The identification representation of the target object, for example including: file name, storage address, etc.
  • the first target APP takes the MIME type as a parameter, and queries the first target component for the APP that can process the target object of the MIME type, including the first APP in the first operating system that processes the target object of the MIME type and the second operating system.
  • a second APP that handles the target object of the MIME type.
  • the first target component sends the query request to the proxy component of the second operating system; for example, through a network socket (UnixDomainSocket, UDS ) interface is forwarded to the proxy component; the proxy component calls the second target component, queries the second APP for processing the target object of the MIME type, and obtains the query result; the query result includes: the target for processing the MIME type Information about the second APP of the object; the second target component sends the query result to the proxy component; the proxy component obtains the query result of the second target component, and sends the query result to The first target component of the first operating system, the query result includes the information of the second APP that processes the target object of the MIME type; the first target component of the first operating system obtains the query result sent by the proxy component , and send the query result to the first target APP.
  • UDS NetworkDomainSocket
  • the second operating system is an Android operating system
  • the proxy component calls the second target component, queries the second APP for processing the target object of the MIME type, and obtains the query result, which can be achieved in the following manner:
  • the proxy component creates the communication component
  • the communication component is used to call the second target component, and the second APP for processing the target object of the MIME type is queried to obtain a query result.
  • the proxy component in the Android system builds a communication component (Intent component) according to the MIME type.
  • the second target component is the package manager (Package Manager), and query the Activities in the Android APP that can handle the target object of this MIME type, so as to query the corresponding Android APP.
  • the package manager Package Manager
  • both the Linux APP that can open the specified file can be queried, and the Android APP that is used to open the specified file in the Android system can also be queried.
  • step 102 may be implemented in the following manner:
  • the first target APP obtains the MIME type corresponding to the target object through the MIME type mapping component according to the processing request;
  • the step "the first target APP of the first operating system invokes the first target component of the first operating system to send a query request to the proxy component of the second operating system according to the MIME type corresponding to the target object" can be implemented in the following manner:
  • the first target APP creates a communication component according to the MIME type
  • the communication component is used to call the first target component, and a query request is sent to the agent component of the second operating system.
  • the first target APP in the Android system builds a communication component (Intent component) according to the MIME type. Use the constructed Intent component to call the first target component.
  • the first standard component is a package manager (Package Manager), and sends a query request to the proxy component of the second operating system.
  • both the Linux APP that can open the specified file can be queried, and the Android APP that is used to open the specified file in the Android system can also be queried.
  • the first operating system is a Linux system
  • the second operating system is an Android system
  • the method can be implemented as follows:
  • S11 The user initiates a processing request to the file manager to open the URI resource.
  • the file manager queries the MIME database by using the URI as a parameter to obtain the MIME type corresponding to the URI.
  • MimeTypeTrader forwards the query request to the proxy component (proxy component) in the Android system through the UDS interface.
  • S15 The proxy component in the Android system builds a communication component (Intent component) according to the MIME type.
  • the proxy component returns the activities that process the MIME type to the MimeTypeTrader component through the UDS interface.
  • the MimeTypeTrader component returns Linux APPs and Android APPs that support this MIME type to the file manager.
  • the first operating system is an Android system
  • the second operating system is a Linux system
  • the method can be implemented as follows:
  • S21 The user initiates a processing request for opening the URI resource to the Android file manager.
  • S25 the PackageManager forwards the query request to the proxy component in the Linux system through the UDS interface.
  • the proxy component in the Linux system invokes the query method of the MimeTypeTrader component with the MIME type as a parameter to query services and LinuxAPPs that can process the URI resource of the MIME type.
  • the proxy component returns the APPs that process the URI resource of this MIME type to the PackageManager through the UDS interface.
  • the PackageManager uses the Intent as a parameter to call the native queryIntentActivities method to query android for Activities that can handle the URI resource of this MIME type, and the corresponding Android APP.
  • the method also includes:
  • the target query result includes: information of the first APP and the second APP that process the target object of the MIME type;
  • the user input is used to select a second target APP to be started;
  • a second target APP is launched.
  • the target query result is displayed to the user, the user selects a second target APP to be started, receives user input, and starts the second target APP.
  • the system judges that if it is an APP of the Linux system, it will forward it to the Linux system and execute the startup process; if it is an APP of the Android system, it will forward it to the Android system and execute the startup process.
  • the queried first APP and the second APP are displayed to the user for the user to choose, and the user can select a suitable APP to process the target object, which is more flexible and improves the user experience.
  • the following describes the device for querying applications provided by the present disclosure.
  • the device for querying applications described below and the method for querying applications described above may refer to each other correspondingly.
  • Fig. 5 is a schematic structural diagram of an application query device provided by the present disclosure.
  • the application query device provided in this embodiment is applied to electronic equipment, and the electronic equipment runs a first operating system and a second operating system, and the second operating system includes a second APP.
  • the application query devices including:
  • the obtaining module 110 is configured to obtain a user's processing request through the first operating system, and the processing request is used to process the target object;
  • the obtaining module 110 is also configured to obtain the MIME type corresponding to the target object through the first operating system according to the processing request;
  • the sending module 120 is configured to send a query request to a second operating system through the first operating system, where the query request is used to query a second APP for processing the target object of the MIME type in the second operating system;
  • the acquiring module 110 is further configured to acquire the query result sent by the second operating system through the first operating system; the query result includes information of the second APP.
  • the first operating system includes a first application program APP
  • the device further includes: a processing module configured to query the first APP in the first operating system that processes the target object of the MIME type through the first operating system .
  • the first operating system also includes: a first target APP and a MIME type mapping component;
  • the acquisition module 110 is set to:
  • the first target APP of the first operating system acquires the MIME type corresponding to the target object through the MIME type mapping component.
  • the first operating system includes: a first target APP, a MIME type mapping component, and a first target component
  • the second operating system includes: a proxy component and a second target component
  • the sending module 120 is set to:
  • the first target APP of the first operating system invokes the first target component of the first operating system to send the query request to the proxy component of the second operating system according to the MIME type corresponding to the target object.
  • processing module is also set to:
  • the query result includes: for processing the target object of the MIME type Information about the second APP;
  • the sending module 120 is set to:
  • the processing module 130 is set to:
  • the communication component is used to call the second target component to query the second APP for processing the target object of the MIME type, and obtain the query result.
  • the acquisition module 110 is set to:
  • the sending module 120 is set to:
  • the communication component is used to call the first target component, and the query request is sent to the proxy component of the second operating system.
  • the device also includes:
  • the display module is configured to display the target query result;
  • the target query result includes: processing the information of the first APP and the second APP of the target object of the MIME type;
  • the acquisition module 110 is further configured to: receive user input for the target query result; the user input is used to select a second target APP to be started;
  • the processing module is further configured to: start the second target APP in response to the user input.
  • the device of the embodiment of the present disclosure is used to execute the method in any of the foregoing method embodiments, and its implementation principle is similar, so it will not be repeated this time.
  • FIG. 6 illustrates a schematic diagram of the physical structure of an electronic device.
  • the electronic device may include: a processor (processor) 810, a communication interface (CommunicationsInterface) 820, a memory (memory) 830, and a communication bus 840, wherein , the processor 810 , the communication interface 820 , and the memory 830 communicate with each other through the communication bus 840 .
  • processor processor
  • Communication interface Communication interface
  • memory memory
  • the processor 810 may call the logic instructions in the memory 830 to execute the application program query method provided by the above methods, the method includes: the first operating system obtains the user's processing request, and the processing request is used to process the target object; The first operating system obtains the Multipurpose Internet Mail Extensions MIME type corresponding to the target object according to the processing request; the first operating system sends a query request to the second operating system, and the query request is used to query the A second APP for processing the target object of the MIME type in the second operating system; the first operating system obtains a query result sent by the second operating system, and the query result includes information of the second APP .
  • the above logic instructions in the memory 830 may be implemented in the form of software functional units and when sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium, including several
  • the instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
  • the present disclosure also provides a computer program product
  • the computer program product includes a computer program
  • the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can Executing the application program query method provided by the above methods, the method includes: the first operating system obtains the processing request of the user, and the processing request is used to process the target object; the first operating system obtains the processing request according to the processing request.
  • Multipurpose Internet Mail Extensions MIME type corresponding to the target object the first operating system sends a query request to the second operating system, and the query request is used to query the MIME type used for processing the MIME type in the second operating system A second APP of the target object; the first operating system acquires a query result sent by the second operating system, and the query result includes information of the second APP.
  • the present disclosure also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the application program query method provided by the above-mentioned methods is implemented, the method includes : the first operating system obtains a processing request from the user, and the processing request is used to process the target object; the first operating system obtains the MIME type corresponding to the target object according to the processing request; the The first operating system sends a query request to the second operating system, and the query request is used to query the second APP in the second operating system for processing the target object of the MIME type; the first operating system obtains the A query result sent by the second operating system, where the query result includes information about the second APP.
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
  • each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware.
  • the essence of the above technical solutions or the part that contributes to related technologies can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, disk , CD, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

An application program query method and apparatus, a device and a storage medium. The method is applied to an electronic device, and the electronic device comprises a first operating system and a second operating system. The method comprises: the first operating system obtains a processing request of a user, the processing request being used for processing a target object; the first operating system obtains the MIME type corresponding to the target object according to the processing request; the first operating system sends a query request to the second operating system, the query request being used for querying a second APP used for processing the target object of the MIME type in the second operating system; and the first operating system obtains a query result sent by the second operating system, the query result comprising information of the second APP.

Description

应用程序查询方法、装置、设备和存储介质Application query method, device, equipment and storage medium
本公开要求在2021年12月15日提交中国专利局、申请号为202111527837.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。This disclosure claims priority to a Chinese patent application with application number 202111527837.8 filed with the China Patent Office on December 15, 2021, the entire contents of which are incorporated by reference in this disclosure.
技术领域technical field
本公开涉及计算机技术领域,例如涉及一种应用程序查询方法、装置、设备和存储介质。The present disclosure relates to the technical field of computers, for example, to an application query method, device, device and storage medium.
背景技术Background technique
随着计算机技术的发展,为了扩展Linux系统下的应用程序(Aplication,简称APP),丰富应用环境,Linux系统上可支持运行安卓Android系统的应用程序APP。With the development of computer technology, in order to expand the application program (Aplication, APP for short) under the Linux system and enrich the application environment, the application program APP running the Android system can be supported on the Linux system.
Linux系统兼容Android技术中,一般只能在Linux系统中查找可以打开指定文件的Linux应用程序,但是无法查询安卓系统中用于打开指定文件的安卓APP。In the Linux system compatible with Android technology, generally only the Linux application program that can open the specified file can be found in the Linux system, but the Android APP used to open the specified file in the Android system cannot be queried.
发明内容Contents of the invention
本公开提供一种应用程序查询方法、装置、设备和存储介质,用以解决相关技术中Linux系统兼容Android的系统架构下,无法查询安卓系统中用于打开指定文件的安卓APP的缺陷,实现了在该系统架构下既能查询可以打开指定文件的Linux应用程序,也能查询安卓系统中用于打开指定文件的安卓APP。The present disclosure provides an application program query method, device, device and storage medium, which are used to solve the defect that the Android APP used to open a specified file in the Android system cannot be queried under the system architecture of the Linux system compatible with Android in the related art, and realizes Under this system architecture, it is possible to query not only the Linux application program that can open the specified file, but also the Android APP used to open the specified file in the Android system.
本公开提供一种应用程序查询方法,应用于电子设备,所述电子设备包括:第一操作系统和第二操作系统,第二操作系统包括第二APP,所述方法包括:The present disclosure provides an application query method, which is applied to an electronic device, and the electronic device includes: a first operating system and a second operating system, the second operating system includes a second APP, and the method includes:
第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;The first operating system acquires a processing request of the user, and the processing request is used to process the target object;
所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;The first operating system acquires the Multipurpose Internet Mail Extensions MIME type corresponding to the target object according to the processing request;
所述第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询 所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;The first operating system sends a query request to the second operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system;
所述第一操作系统获取所述第二操作系统发送的查询结果;所述查询结果包括所述第二APP的信息。The first operating system obtains the query result sent by the second operating system; the query result includes information of the second APP.
本公开还提供一种应用程序查询装置,应用于电子设备,所述电子设备包括:第一操作系统和第二操作系统,第二操作系统包括第二APP,所述装置包括:The present disclosure also provides an application query device, which is applied to an electronic device, and the electronic device includes: a first operating system and a second operating system, the second operating system includes a second APP, and the device includes:
获取模块,设置为通过第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;An acquisition module, configured to acquire a user's processing request through the first operating system, and the processing request is used to process the target object;
所述获取模块,还设置为通过第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;The obtaining module is also configured to obtain the MIME type corresponding to the target object according to the processing request through the first operating system;
发送模块,设置为通过第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;The sending module is configured to send a query request to the second operating system through the first operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system;
所述获取模块,还设置为通过第一操作系统获取所述第二操作系统发送的查询结果;所述查询结果包括所述第二APP的信息。The obtaining module is further configured to obtain the query result sent by the second operating system through the first operating system; the query result includes the information of the second APP.
本公开还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述应用程序查询方法。The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it implements any of the application program queries described above. method.
本公开还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述应用程序查询方法。The present disclosure also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned application program query methods is implemented.
本公开还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述应用程序查询方法。The present disclosure also provides a computer program product, including a computer program. When the computer program is executed by a processor, any one of the above-mentioned application program query methods is implemented.
附图说明Description of drawings
图1是本公开提供的应用程序查询方法的流程示意图之一;FIG. 1 is one of the schematic flow charts of the application query method provided by the present disclosure;
图2是本公开提供的应用程序查询方法的交互流程示意图之一;Fig. 2 is one of the interactive flow diagrams of the application query method provided by the present disclosure;
图3是本公开提供的应用程序查询方法的交互流程示意图之二;Fig. 3 is the second schematic diagram of the interaction process of the application query method provided by the present disclosure;
图4是本公开提供的应用程序查询方法的交互流程示意图之三;Fig. 4 is the third schematic diagram of the interaction process of the application query method provided by the present disclosure;
图5是本公开提供的应用程序查询装置的结构示意图;FIG. 5 is a schematic structural diagram of an application query device provided by the present disclosure;
图6是本公开提供的电子设备的结构示意图。Fig. 6 is a schematic structural diagram of an electronic device provided by the present disclosure.
具体实施方式Detailed ways
下面将结合本公开中的附图,对本公开中的技术方案进行清楚、完整地描述。The technical solutions in the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the present disclosure.
首先,对本公开实施例涉及的应用场景进行介绍。First, the application scenarios involved in the embodiments of the present disclosure are introduced.
本公开实施例的方法可以应用于电子设备,在一实施例中该电子设备中设置有至少两个系统,例如第一操作系统和第二操作系统,第二操作系统可以以容器化的方式运行在第一操作系统中,或者为平行部署的两个操作系统。如本领域技术人员所知,容器化即以Linux内核特性为基础实现的LXC,其充分利用了cgroups和Namespace特性,隔离进程和资源,使得第二操作系统高效、轻量的实现。The method of the embodiment of the present disclosure can be applied to an electronic device. In one embodiment, the electronic device is provided with at least two systems, such as a first operating system and a second operating system, and the second operating system can run in a containerized manner. In the first operating system, or two operating systems deployed in parallel. As known to those skilled in the art, containerization is LXC implemented on the basis of Linux kernel features, which makes full use of cgroups and Namespace features, isolates processes and resources, and enables efficient and lightweight implementation of the second operating system.
在本公开的实施例中,尽管没有明确描述的,第一操作系统和第二操作系统可以是相同的,例如第一操作系统和第二操作系统均为Linux或均为Android;第一操作系统和第二操作系统也可以是不同的,例如第一操作系统和第二操作系统中一者为Linux,一者为Android。In the embodiments of the present disclosure, although not explicitly described, the first operating system and the second operating system may be the same, for example, both the first operating system and the second operating system are Linux or both are Android; the first operating system It can also be different from the second operating system, for example, one of the first operating system and the second operating system is Linux, and the other is Android.
在本公开的实施例中,应用程序(Application,APP)泛指在操作系统中具有至少一个功能的应用,例如文件管理器、图片查看器、音乐播放器、视频播放器、阅读器等。In the embodiments of the present disclosure, an application program (Application, APP) generally refers to an application having at least one function in an operating system, such as a file manager, a picture viewer, a music player, a video player, a reader, and the like.
目标对象例如包括:文件、图像、视频、音乐或文本等。处理目标对象,指的是打开、编辑、播放等操作。Target objects include, for example: files, images, videos, music, or texts. Processing the target object refers to operations such as opening, editing, and playing.
本公开实施例提供的方法可由电子设备如处理器执行相应的软件代码实现,也可由电子设备在执行相应的软件代码的同时,通过和服务器进行数据交互来实现。The method provided by the embodiments of the present disclosure may be implemented by an electronic device such as a processor executing corresponding software codes, or may be implemented by the electronic device executing data interaction with a server while executing corresponding software codes.
下面结合图1-图4以具体的实施例对本公开实施例的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the embodiments of the present disclosure will be described in detail below with specific embodiments in conjunction with FIGS. 1-4 . The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图1是本公开实施例提供的应用程序查询方法一实施例的流程示意图。如图1所示,本实施例提供的方法,应用于电子设备,电子设备中运行有第一操作系统和第二操作系统,第二操作系统包括第二应用程序APP,所述方法包括:Fig. 1 is a schematic flowchart of an embodiment of an application query method provided by an embodiment of the present disclosure. As shown in FIG. 1, the method provided in this embodiment is applied to an electronic device, and the electronic device runs a first operating system and a second operating system, and the second operating system includes a second application program APP. The method includes:
步骤101、第一操作系统获取用户的处理请求,处理请求用于处理目标对象。 Step 101, the first operating system acquires a user's processing request, and the processing request is used to process a target object.
其中,目标对象例如包括:文件、图像、视频、音乐或文本、统一资源标志符(UniformResourceIdentifier,URI)资源等。Wherein, the target object includes, for example, files, images, videos, music or texts, Uniform Resource Identifier (UniformResourceIdentifier, URI) resources, and the like.
示例性地,用户向第一目标APP发起处理请求,第一目标APP例如文件管理器,浏览器等APP,处理请求例如用于请求打开文件。Exemplarily, the user initiates a processing request to the first target APP. The first target APP is, for example, a file manager, a browser, and other APPs, and the processing request is, for example, a request to open a file.
URI资源是指网络上可用的资源,例如包括:超文本标记语言(HyperTextMarkupLanguage,HTML)文档、图像、视频片段、程序等。URI resources refer to resources available on the network, including, for example, HyperText Markup Language (HyperTextMarkupLanguage, HTML) documents, images, video clips, programs, and the like.
步骤102、第一操作系统根据处理请求,获取目标对象对应的多用途互联网邮件扩展MIME类型。 Step 102, the first operating system obtains the MIME type corresponding to the target object according to the processing request.
多用途互联网邮件扩展(MultipurposeInternetMailExtensions,MIME)类型是用于描述文件的类型的一种表述方法,其将文件划分为多种类型,方便对其进行统一的管理。A Multipurpose Internet Mail Extensions (Multipurpose Internet Mail Extensions, MIME) type is an expression method used to describe a type of a file, and it divides files into multiple types to facilitate unified management thereof.
MIME类型指定了文件的类型名称、描述、图标信息等,同时通过与.desktop应用程序描述文件整合,指定了文件的打开方式。The MIME type specifies the type name, description, icon information, etc. of the file, and at the same time specifies the opening method of the file by integrating with the .desktop application description file.
可选地,Linux的APP可以通过.desktop文件中MIMETYPE关键字向Linux系统注册APP可以处理的MIME类型。Optionally, the Linux APP can register the MIME types that the APP can handle with the Linux system through the MIMETYPE keyword in the .desktop file.
在安卓系统中,APP可以通过Manifest.xml文件的<intent-filter>向系统注册Activity可以处理的MIME类型。In the Android system, the APP can register with the system the MIME types that the Activity can handle through the <intent-filter> of the Manifest.xml file.
示例性地,可以通过目标对象的信息确定对应的MIME类型,进而可以根据MIME类型确定出对应的APP,该APP可以处理该MIME类型的目标对象。Exemplarily, the corresponding MIME type can be determined through the information of the target object, and then the corresponding APP can be determined according to the MIME type, and the APP can process the target object of the MIME type.
处理该目标对象,例如可以是打开该目标对象。可选地,APP可以通过命令行打开相关文件或URI,其中,命令行可以是Exec关键字的值表示的。Processing the target object may be, for example, opening the target object. Optionally, the APP can open the relevant file or URI through the command line, where the command line can be represented by the value of the Exec keyword.
步骤103、第一操作系统向第二操作系统发送查询请求,查询请求用于查询第二操作系统中用于处理MIME类型的目标对象的第二APP。 Step 103, the first operating system sends a query request to the second operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system.
示例性地,第一操作系统向第二操作系统发送查询请求,用于查询第二操作系统中用于处理MIME类型的目标对象的第二APP,第二操作系统查询该第二操作系统中可以处理该MIME类型的目标对象的第二APP。Exemplarily, the first operating system sends a query request to the second operating system, which is used to query the second APP used to process the target object of the MIME type in the second operating system, and the second operating system queries the A second APP that handles the target object of the MIME type.
假设第二操作系统为安卓系统,则第二操作系统需要创建通信组件(Intent组件),通过Intent组件调用包管理器(Package Manager)查询安卓系统中可以处理该MIME类型的APP。Assuming that the second operating system is an Android system, the second operating system needs to create a communication component (Intent component), and call the package manager (Package Manager) through the Intent component to query the APP that can handle the MIME type in the Android system.
假设第二操作系统为Linux系统,则第二操作系统直接通过该MIME类型作为参数,查询Linux系统中可以处理该MIME类型的APP。Assuming that the second operating system is a Linux system, the second operating system directly uses the MIME type as a parameter to query the APP in the Linux system that can handle the MIME type.
步骤104、第一操作系统获取第二操作系统发送的查询结果,查询结果包括所述第二APP的信息。 Step 104, the first operating system obtains the query result sent by the second operating system, and the query result includes the information of the second APP.
示例性地,第一操作系统获取第二操作系统发送的查询结果,查询结果包括:第二操作系统中可以处理该MIME类型的目标对象的第二APP的信息。Exemplarily, the first operating system obtains the query result sent by the second operating system, and the query result includes: information of a second APP in the second operating system that can process the target object of the MIME type.
可选地,第一操作系统还包括第一APP,该方法还包括:Optionally, the first operating system also includes a first APP, and the method also includes:
查询第一操作系统中用于处理MIME类型的目标对象的第一APP。A first APP used to process the target object of the MIME type in the first operating system is queried.
需要说明的是,第一操作系统向第二操作系统发送查询请求,与第一操作系统查询该第一操作系统中处理该MIME类型的目标对象的第一APP,两者不分先后顺序,可以一个在前一个在后,或者同时进行,本公开实施例对此并不限定。It should be noted that, the first operating system sends a query request to the second operating system, and the first operating system queries the first APP in the first operating system that processes the target object of the MIME type. One is performed before the other, or at the same time, which is not limited in this embodiment of the present disclosure.
本实施例的方法,第一操作系统根据用户的处理请求,获取目标对象对应的MIME类型;第一操作系统向第二操作系统发送查询请求,用于查询第二操作系统中用于处理MIME类型的目标对象的第二APP;第一操作系统获取第二操作系统发送的查询结果,查询结果包括第二APP的信息,在第一操作系统兼 容第二操作系统的场景下,实现了对第二操作系统中支持MIME类型的应用程序的查询,相比相关技术中只能获取到处理目标对象的第一操作系统的APP,拓展了处理目标对象的应用程序数量。In the method of this embodiment, the first operating system obtains the MIME type corresponding to the target object according to the user's processing request; the first operating system sends a query request to the second operating system for querying the MIME type used in the second operating system The second APP of the target object; the first operating system obtains the query result sent by the second operating system, and the query result includes the information of the second APP. In the scenario where the first operating system is compatible with the second operating system, the second The query of the application program supporting the MIME type in the operating system expands the number of application programs processing the target object compared with the APP in the first operating system that can only obtain the processing target object in the related art.
在一实施例中,第一操作系统包括:第一目标APP、MIME类型映射组件和第一目标组件,第二操作系统包括:代理组件和第二目标组件,步骤101可以通过如下方式实现:In one embodiment, the first operating system includes: a first target APP, a MIME type mapping component and a first target component, and the second operating system includes: a proxy component and a second target component, and step 101 can be implemented in the following manner:
第一操作系统的第一目标APP获取用户的处理请求。The first target APP of the first operating system obtains the processing request of the user.
步骤102可以通过如下方式实现:Step 102 can be realized in the following manner:
所述第一操作系统的第一目标APP通过MIME类型映射组件,获取目标对象对应的MIME类型。The first target APP of the first operating system acquires the MIME type corresponding to the target object through the MIME type mapping component.
步骤103可以通过如下方式实现:Step 103 can be realized in the following manner:
第一操作系统的第一目标APP根据所述目标对象对应的MIME类型,调用所述第一操作系统的第一目标组件向所述第二操作系统的代理组件发送所述查询请求。The first target APP of the first operating system invokes the first target component of the first operating system to send the query request to the proxy component of the second operating system according to the MIME type corresponding to the target object.
该方法还包括:The method also includes:
所述代理组件调用所述第二目标组件,查询用于处理所述MIME类型的目标对象的第二APP,得到查询结果;所述查询结果包括:用于处理所述MIME类型的目标对象的第二APP的信息;The proxy component invokes the second target component to query the second APP for processing the target object of the MIME type, and obtains a query result; the query result includes: the second APP for processing the target object of the MIME type 2. APP information;
所述第二目标组件将所述查询结果,发送给所述代理组件;The second target component sends the query result to the proxy component;
所述代理组件将所述查询结果发送给所述第一操作系统的第一目标组件。The proxy component sends the query result to the first target component of the first operating system.
步骤104可以通过如下方式实现::第一操作系统的第一目标组件获取所述代理组件发送的查询结果,并将所述查询结果发送给所述第一目标APP;Step 104 may be implemented in the following manner: the first target component of the first operating system obtains the query result sent by the proxy component, and sends the query result to the first target APP;
第一操作系统的第一目标组件查询第一操作系统中处理该MIME类型的目标对象的第一APP。The first target component of the first operating system queries the first APP in the first operating system that processes the target object of the MIME type.
如图2所示,用户向第一目标APP发起处理请求,第一目标APP例如文件管理器,浏览器等APP,处理请求例如用于请求打开文件。As shown in FIG. 2 , the user initiates a processing request to a first target APP. The first target APP is, for example, a file manager, a browser, and other APPs, and the processing request is, for example, a request to open a file.
第一目标APP以该目标对象的标识为参数查询MIME类型映射组件,获取该目标对象对应的MIME类型,该MIME类型映射组件可以为数据库,存储目标对象以及MIME类型的对应关系,目标对象可以通过目标对象的标识表示,例如包括:文件名称、存储地址等。The first target APP uses the identity of the target object as a parameter to query the MIME type mapping component to obtain the MIME type corresponding to the target object. The MIME type mapping component can be a database that stores the corresponding relationship between the target object and the MIME type. The target object can be passed The identification representation of the target object, for example including: file name, storage address, etc.
第一目标APP以MIME类型为参数,向第一目标组件查询可以处理该MIME类型的目标对象的APP,包括第一操作系统中处理该MIME类型的目标对象的第一APP以及第二操作系统中处理该MIME类型的目标对象的第二APP。The first target APP takes the MIME type as a parameter, and queries the first target component for the APP that can process the target object of the MIME type, including the first APP in the first operating system that processes the target object of the MIME type and the second operating system. A second APP that handles the target object of the MIME type.
对于查询第二操作系统中的处理该MIME类型的目标对象的第二APP来说,第一目标组件向第二操作系统的代理组件发送该查询请求;例如,通过网络套接字(UnixDomainSocket,UDS)接口转发到代理组件;该代理组件调用第二目标组件,查询用于处理该MIME类型的目标对象的第二APP,得到查询结果;所述查询结果包括:用于处理所述MIME类型的目标对象的第二APP的信息;所述第二目标组件将所述查询结果,发送给所述代理组件;所述代理组件获取所述第二目标组件的查询结果,并将所述查询结果发送给所述第一操作系统的第一目标组件,所述查询结果包括处理所述MIME类型的目标对象的第二APP的信息;第一操作系统的第一目标组件获取所述代理组件发送的查询结果,并将所述查询结果发送给所述第一目标APP。For the second APP that queries the target object of the MIME type in the second operating system, the first target component sends the query request to the proxy component of the second operating system; for example, through a network socket (UnixDomainSocket, UDS ) interface is forwarded to the proxy component; the proxy component calls the second target component, queries the second APP for processing the target object of the MIME type, and obtains the query result; the query result includes: the target for processing the MIME type Information about the second APP of the object; the second target component sends the query result to the proxy component; the proxy component obtains the query result of the second target component, and sends the query result to The first target component of the first operating system, the query result includes the information of the second APP that processes the target object of the MIME type; the first target component of the first operating system obtains the query result sent by the proxy component , and send the query result to the first target APP.
上述实施方式中,通过第一操作系统以及第二操作系统中多个组件的交互,实现了在该系统架构下既能查询可以打开指定文件的第一操作系统的APP,也能查询第二操作系统中用于打开指定文件的APP。In the above embodiment, through the interaction of multiple components in the first operating system and the second operating system, it is possible to query the APP of the first operating system that can open the specified file under the system architecture, and also query the second operating system. The APP used to open the specified file in the system.
可选地,第二操作系统为安卓操作系统,则代理组件调用第二目标组件,查询用于处理MIME类型的目标对象的第二APP,得到查询结果,可以通过如下方式实现:Optionally, the second operating system is an Android operating system, then the proxy component calls the second target component, queries the second APP for processing the target object of the MIME type, and obtains the query result, which can be achieved in the following manner:
代理组件创建通信组件;The proxy component creates the communication component;
利用通信组件调用第二目标组件,查询用于处理MIME类型的目标对象的第二APP,得到查询结果。The communication component is used to call the second target component, and the second APP for processing the target object of the MIME type is queried to obtain a query result.
示例性的,安卓系统中的代理组件根据MIME类型构建通信组件(Intent组件)。Exemplarily, the proxy component in the Android system builds a communication component (Intent component) according to the MIME type.
使用构建的Intent组件调用第二目标组件,此时第二目标组件为包管理器(Package Manager),查询安卓APP中可以处理此MIME类型的目标对象的Activities,从而查询到对应的安卓APP。Use the built Intent component to call the second target component. At this time, the second target component is the package manager (Package Manager), and query the Activities in the Android APP that can handle the target object of this MIME type, so as to query the corresponding Android APP.
上述实施方式中,在该系统架构下既能查询可以打开指定文件的Linux APP,也能查询安卓系统中用于打开指定文件的安卓APP。In the above embodiment, under the system architecture, both the Linux APP that can open the specified file can be queried, and the Android APP that is used to open the specified file in the Android system can also be queried.
可选地,若第一操作系统为安卓操作系统,步骤102可以通过如下方式实现:Optionally, if the first operating system is an Android operating system, step 102 may be implemented in the following manner:
所述第一目标APP根据所述处理请求,通过MIME类型映射组件获取所述目标对象对应的MIME类型;The first target APP obtains the MIME type corresponding to the target object through the MIME type mapping component according to the processing request;
步骤“第一操作系统的第一目标APP根据目标对象对应的MIME类型,调用第一操作系统的第一目标组件向第二操作系统的代理组件发送查询请求”,可以通过如下方式实现:The step "the first target APP of the first operating system invokes the first target component of the first operating system to send a query request to the proxy component of the second operating system according to the MIME type corresponding to the target object" can be implemented in the following manner:
第一目标APP根据MIME类型创建通信组件;The first target APP creates a communication component according to the MIME type;
利用通信组件调用第一目标组件,向第二操作系统的代理组件发送查询请求。The communication component is used to call the first target component, and a query request is sent to the agent component of the second operating system.
示例性的,安卓系统中的第一目标APP根据MIME类型构建通信组件(Intent组件)。使用构建的Intent组件调用第一目标组件,此时第一标组件为包管理器(Package Manager),向第二操作系统的代理组件发送查询请求。Exemplarily, the first target APP in the Android system builds a communication component (Intent component) according to the MIME type. Use the constructed Intent component to call the first target component. At this time, the first standard component is a package manager (Package Manager), and sends a query request to the proxy component of the second operating system.
上述实施方式中,在该系统架构下既能查询可以打开指定文件的Linux APP,也能查询安卓系统中用于打开指定文件的安卓APP。In the above embodiment, under the system architecture, both the Linux APP that can open the specified file can be queried, and the Android APP that is used to open the specified file in the Android system can also be queried.
在一实施例中,如图3所示,第一操作系统为Linux系统,第二操作系统为安卓系统,该方法可以通过如下方式实现:In one embodiment, as shown in Figure 3, the first operating system is a Linux system, and the second operating system is an Android system, and the method can be implemented as follows:
S11:用户向文件管理器发起打开URI资源的处理请求。S11: The user initiates a processing request to the file manager to open the URI resource.
S12:文件管理器以URI为参数查询MIME数据库,获取URI对应的MIME 类型。S12: The file manager queries the MIME database by using the URI as a parameter to obtain the MIME type corresponding to the URI.
S13:以MIME类型为参数,向MIME类型交易组件(MIMETypeTrader组件)发送查找请求,以查询可以处理该MIME类型的APP。S13: Using the MIME type as a parameter, send a search request to the MIME type trade component (MIMETypeTrader component), so as to query the APP that can process the MIME type.
S14:MimeTypeTrader将查询请求通过UDS接口转发到安卓系统中的代理组件(proxy组件)。S14: MimeTypeTrader forwards the query request to the proxy component (proxy component) in the Android system through the UDS interface.
S15:安卓系统中的代理组件根据MIME类型构建通信组件(Intent组件)。S15: The proxy component in the Android system builds a communication component (Intent component) according to the MIME type.
S16:使用构建的Intent组件调用包管理器(PackageManager)的queryIntentActivities方法查询安卓APP中可以处理此MIME类型的URI资源的Activities以及对应的安卓APP。S16: Use the built Intent component to call the queryIntentActivities method of the package manager (PackageManager) to query the Activities in the Android APP that can handle the URI resource of this MIME type and the corresponding Android APP.
S17:代理组件将处理此MIME类型的Activities通过UDS接口返回给MimeTypeTrader组件。S17: The proxy component returns the activities that process the MIME type to the MimeTypeTrader component through the UDS interface.
S18:MimeTypeTrader组件查询注册了支持此MIME类型的LinuxAPPs。S18: The MimeTypeTrader component queries registered Linux APPs that support this MIME type.
S19:MimeTypeTrader组件将支持此MIME类型的LinuxAPPs和安卓APPs返回给文件管理器。S19: The MimeTypeTrader component returns Linux APPs and Android APPs that support this MIME type to the file manager.
在一实施例中,如图4所示,第一操作系统为安卓系统,第二操作系统为Linux系统,该方法可以通过如下方式实现:In one embodiment, as shown in Figure 4, the first operating system is an Android system, and the second operating system is a Linux system, and the method can be implemented as follows:
S21:用户向安卓的文件管理器发起打开URI资源的处理请求。S21: The user initiates a processing request for opening the URI resource to the Android file manager.
S22:文件管理器以URI为参数向MIME数据库查询MIME类型。S22: The file manager queries the MIME database for the MIME type by using the URI as a parameter.
S23:以MIME类型为参数,创建通信组件(Intent组件)。S23: Create a communication component (Intent component) with the MIME type as a parameter.
S24:使用构建的Intent组件调用包管理器(PackageManager)查询可以处理此MIME类型的URI资源的APP,例如使用包管理器的queryIntentActivities方法进行查询。S24: Use the built Intent component to call the package manager (PackageManager) to query the APP that can process the URI resource of this MIME type, for example, use the queryIntentActivities method of the package manager to query.
S25:PackageManager将查询请求通过UDS接口转发到Linux系统中的代理组件。S25: the PackageManager forwards the query request to the proxy component in the Linux system through the UDS interface.
S26:Linux系统中的代理组件以MIME类型为参数调用MimeTypeTrader组件的query方法,查询可以处理此MIME类型的URI资源的服务及LinuxAPP。S26: The proxy component in the Linux system invokes the query method of the MimeTypeTrader component with the MIME type as a parameter to query services and LinuxAPPs that can process the URI resource of the MIME type.
S27:代理组件将处理此MIME类型的URI资源的APPs通过UDS接口返回给PackageManager。S27: The proxy component returns the APPs that process the URI resource of this MIME type to the PackageManager through the UDS interface.
S28:PackageManager使用Intent作为参数调用原生的queryIntentActivities方法查询android可以处理此MIME类型的URI资源的Activities,以及对应的安卓APP。S28: The PackageManager uses the Intent as a parameter to call the native queryIntentActivities method to query android for Activities that can handle the URI resource of this MIME type, and the corresponding Android APP.
S29:PackageManger将支持此MIME类型的LinuxAPPs和安卓APPs合并返回给文件管理器。S29: PackageManger merges Linux APPs and Android APPs that support this MIME type and returns to the file manager.
在一实施例中,该方法还包括:In one embodiment, the method also includes:
显示目标查询结果;目标查询结果包括:处理所述MIME类型的目标对象的第一APP和第二APP的信息;Displaying the target query result; the target query result includes: information of the first APP and the second APP that process the target object of the MIME type;
接收针对目标查询结果的用户输入;所述用户输入用于选择待启动的第二目标APP;receiving user input for the target query result; the user input is used to select a second target APP to be started;
响应于所述用户输入,启动第二目标APP。In response to the user input, a second target APP is launched.
示例性地,向用户显示目标查询结果,用户选择待启动的第二目标APP,接收用户输入,并启动该第二目标APP。Exemplarily, the target query result is displayed to the user, the user selects a second target APP to be started, receives user input, and starts the second target APP.
将查询到的第一操作系统中的第一APP以及第二操作系统中的第二APP的信息,呈现给用户选择。用户选择某APP后,系统判断如果是Linux系统的APP,则转发到Linux系统,执行启动流程;如果是安卓系统的APP,则转发到安卓系统,执行启动流程。Presenting the queried information of the first APP in the first operating system and the second APP in the second operating system to the user for selection. After the user selects an APP, the system judges that if it is an APP of the Linux system, it will forward it to the Linux system and execute the startup process; if it is an APP of the Android system, it will forward it to the Android system and execute the startup process.
上述实施方式中,将查询到的第一APP以及第二APP向用户展示,供用户选择,用户可以选择合适的APP对目标对象进行处理,灵活性较大,提升了用户体验。In the above embodiment, the queried first APP and the second APP are displayed to the user for the user to choose, and the user can select a suitable APP to process the target object, which is more flexible and improves the user experience.
下面对本公开提供的应用程序查询装置进行描述,下文描述的应用程序查询装置与上文描述的应用程序查询方法可相互对应参照。The following describes the device for querying applications provided by the present disclosure. The device for querying applications described below and the method for querying applications described above may refer to each other correspondingly.
图5是本公开提供的应用程序查询装置的结构示意图。本实施例提供的应用程序查询装置,应用于电子设备,所述电子设备运行第一操作系统和第二操 作系统,第二操作系统包括第二APP,如图5所示,所述应用程序查询装置,包括:Fig. 5 is a schematic structural diagram of an application query device provided by the present disclosure. The application query device provided in this embodiment is applied to electronic equipment, and the electronic equipment runs a first operating system and a second operating system, and the second operating system includes a second APP. As shown in FIG. 5, the application query devices, including:
获取模块110,设置为通过第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;The obtaining module 110 is configured to obtain a user's processing request through the first operating system, and the processing request is used to process the target object;
所述获取模块110,还设置为通过第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;The obtaining module 110 is also configured to obtain the MIME type corresponding to the target object through the first operating system according to the processing request;
发送模块120,设置为通过第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;The sending module 120 is configured to send a query request to a second operating system through the first operating system, where the query request is used to query a second APP for processing the target object of the MIME type in the second operating system;
所述获取模块110,还设置为通过第一操作系统获取所述第二操作系统发送的查询结果;查询结果包括第二APP的信息。The acquiring module 110 is further configured to acquire the query result sent by the second operating system through the first operating system; the query result includes information of the second APP.
可选地,第一操作系统包括第一应用程序APP,该装置还包括:处理模块,设置为通过第一操作系统查询所述第一操作系统中处理所述MIME类型的目标对象的第一APP。Optionally, the first operating system includes a first application program APP, and the device further includes: a processing module configured to query the first APP in the first operating system that processes the target object of the MIME type through the first operating system .
可选地,所述第一操作系统还包括:第一目标APP和MIME类型映射组件;Optionally, the first operating system also includes: a first target APP and a MIME type mapping component;
所述获取模块110,设置为:The acquisition module 110 is set to:
通过第一操作系统的第一目标APP获取用户的处理请求;Obtaining the user's processing request through the first target APP of the first operating system;
所述第一操作系统的第一目标APP通过MIME类型映射组件,获取目标对象对应的MIME类型。The first target APP of the first operating system acquires the MIME type corresponding to the target object through the MIME type mapping component.
可选地,所述第一操作系统包括:第一目标APP、MIME类型映射组件和第一目标组件,第二操作系统包括:代理组件和第二目标组件;Optionally, the first operating system includes: a first target APP, a MIME type mapping component, and a first target component, and the second operating system includes: a proxy component and a second target component;
所述发送模块120,设置为:The sending module 120 is set to:
通过所述第一操作系统的第一目标APP根据所述目标对象对应的MIME类型,调用所述第一操作系统的第一目标组件向所述第二操作系统的代理组件发送所述查询请求。The first target APP of the first operating system invokes the first target component of the first operating system to send the query request to the proxy component of the second operating system according to the MIME type corresponding to the target object.
可选地,所述处理模块还设置为:Optionally, the processing module is also set to:
通过所述代理组件调用所述第二目标组件,查询用于处理所述MIME类型的目标对象的第二APP,得到查询结果;所述查询结果包括:用于处理所述MIME类型的目标对象的第二APP的信息;Call the second target component through the proxy component, query the second APP for processing the target object of the MIME type, and obtain the query result; the query result includes: for processing the target object of the MIME type Information about the second APP;
所述发送模块120,设置为:The sending module 120 is set to:
通过所述第二目标组件将所述查询结果,发送给所述代理组件;sending the query result to the proxy component through the second target component;
通过所述代理组件将所述查询结果发送给所述第一操作系统的第一目标组件。Sending the query result to the first target component of the first operating system through the proxy component.
可选地,若所述第二操作系统为安卓操作系统,则所述处理模块130设置为:Optionally, if the second operating system is an Android operating system, the processing module 130 is set to:
通过所述代理组件创建通信组件;creating a communication component through said proxy component;
利用所述通信组件调用第二目标组件,查询用于处理所述MIME类型的目标对象的第二APP,得到所述查询结果。The communication component is used to call the second target component to query the second APP for processing the target object of the MIME type, and obtain the query result.
可选地,若所述第一操作系统为安卓操作系统,所述获取模块110,设置为:Optionally, if the first operating system is an Android operating system, the acquisition module 110 is set to:
通过所述第一目标APP根据所述处理请求,通过MIME类型映射组件获取所述目标对象对应的MIME类型;Obtain the MIME type corresponding to the target object through the MIME type mapping component according to the processing request through the first target APP;
所述发送模块120,设置为:The sending module 120 is set to:
通过所述第一目标APP创建通信组件;Create a communication component through the first target APP;
利用所述通信组件调用第一目标组件,向所述第二操作系统的代理组件发送所述查询请求。The communication component is used to call the first target component, and the query request is sent to the proxy component of the second operating system.
可选地,所述装置还包括:Optionally, the device also includes:
显示模块,设置为显示目标查询结果;所述目标查询结果包括:处理所述MIME类型的目标对象的第一APP和第二APP的信息;The display module is configured to display the target query result; the target query result includes: processing the information of the first APP and the second APP of the target object of the MIME type;
所述获取模块110还设置为:接收针对所述目标查询结果的用户输入;所述用户输入用于选择待启动的第二目标APP;The acquisition module 110 is further configured to: receive user input for the target query result; the user input is used to select a second target APP to be started;
处理模块还设置为:响应于所述用户输入,启动所述第二目标APP。The processing module is further configured to: start the second target APP in response to the user input.
本公开实施例的装置,其用于执行前述任一方法实施例中的方法,其实现 原理类似,此次不再赘述。The device of the embodiment of the present disclosure is used to execute the method in any of the foregoing method embodiments, and its implementation principle is similar, so it will not be repeated this time.
图6示例了一种电子设备的实体结构示意图,如图6所示,该电子设备可以包括:处理器(processor)810、通信接口(CommunicationsInterface)820、存储器(memory)830和通信总线840,其中,处理器810,通信接口820,存储器830通过通信总线840完成相互间的通信。处理器810可以调用存储器830中的逻辑指令,以执行上述各方法所提供的应用程序查询方法,该方法包括:第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;所述第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;所述第一操作系统获取所述第二操作系统发送的查询结果,所述查询结果包括所述第二APP的信息。FIG. 6 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 6, the electronic device may include: a processor (processor) 810, a communication interface (CommunicationsInterface) 820, a memory (memory) 830, and a communication bus 840, wherein , the processor 810 , the communication interface 820 , and the memory 830 communicate with each other through the communication bus 840 . The processor 810 may call the logic instructions in the memory 830 to execute the application program query method provided by the above methods, the method includes: the first operating system obtains the user's processing request, and the processing request is used to process the target object; The first operating system obtains the Multipurpose Internet Mail Extensions MIME type corresponding to the target object according to the processing request; the first operating system sends a query request to the second operating system, and the query request is used to query the A second APP for processing the target object of the MIME type in the second operating system; the first operating system obtains a query result sent by the second operating system, and the query result includes information of the second APP .
此外,上述的存储器830中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 830 may be implemented in the form of software functional units and when sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present disclosure or the part that contributes to the related technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several The instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
另一方面,本公开还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的应用程序查询方法,该方法包括:第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途 互联网邮件扩展MIME类型;所述第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;所述第一操作系统获取所述第二操作系统发送的查询结果,所述查询结果包括所述第二APP的信息。On the other hand, the present disclosure also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can Executing the application program query method provided by the above methods, the method includes: the first operating system obtains the processing request of the user, and the processing request is used to process the target object; the first operating system obtains the processing request according to the processing request. Multipurpose Internet Mail Extensions MIME type corresponding to the target object; the first operating system sends a query request to the second operating system, and the query request is used to query the MIME type used for processing the MIME type in the second operating system A second APP of the target object; the first operating system acquires a query result sent by the second operating system, and the query result includes information of the second APP.
又一方面,本公开还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的应用程序查询方法,该方法包括:第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;所述第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;所述第一操作系统获取所述第二操作系统发送的查询结果,所述查询结果包括所述第二APP的信息。In yet another aspect, the present disclosure also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the application program query method provided by the above-mentioned methods is implemented, the method includes : the first operating system obtains a processing request from the user, and the processing request is used to process the target object; the first operating system obtains the MIME type corresponding to the target object according to the processing request; the The first operating system sends a query request to the second operating system, and the query request is used to query the second APP in the second operating system for processing the target object of the MIME type; the first operating system obtains the A query result sent by the second operating system, where the query result includes information about the second APP.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solutions or the part that contributes to related technologies can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, disk , CD, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

Claims (11)

  1. 一种应用程序查询方法,应用于电子设备,所述电子设备包括:第一操作系统和第二操作系统,第二操作系统包括第二应用程序APP,所述方法包括:An application query method, applied to an electronic device, the electronic device includes: a first operating system and a second operating system, the second operating system includes a second application program APP, and the method includes:
    第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;The first operating system acquires a processing request of the user, and the processing request is used to process the target object;
    所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;The first operating system acquires the Multipurpose Internet Mail Extensions MIME type corresponding to the target object according to the processing request;
    所述第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;The first operating system sends a query request to the second operating system, and the query request is used to query a second APP in the second operating system for processing the target object of the MIME type;
    所述第一操作系统获取所述第二操作系统发送的查询结果;所述查询结果包括所述第二APP的信息。The first operating system obtains the query result sent by the second operating system; the query result includes information of the second APP.
  2. 根据权利要求1所述的应用程序查询方法,其中,所述第一操作系统包括:第一目标APP和MIME类型映射组件;The application query method according to claim 1, wherein the first operating system comprises: a first target APP and a MIME type mapping component;
    第一操作系统获取用户的处理请求,包括:The first operating system obtains the user's processing request, including:
    所述第一操作系统的第一目标APP获取用户的处理请求;The first target APP of the first operating system obtains the user's processing request;
    所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型,包括:The first operating system acquires the MIME type corresponding to the target object according to the processing request, including:
    所述第一操作系统的第一目标APP通过MIME类型映射组件,获取目标对象对应的MIME类型。The first target APP of the first operating system acquires the MIME type corresponding to the target object through the MIME type mapping component.
  3. 根据权利要求1或2所述的应用程序查询方法,其中,所述第一操作系统包括:第一目标APP、MIME类型映射组件和第一目标组件,第二操作系统包括:代理组件和第二目标组件;The application query method according to claim 1 or 2, wherein the first operating system comprises: a first target APP, a MIME type mapping component and a first target component, and the second operating system comprises: a proxy component and a second target component;
    所述第一操作系统向第二操作系统发送查询请求,包括:The first operating system sends a query request to the second operating system, including:
    所述第一操作系统的第一目标APP根据所述目标对象对应的MIME类型,调用所述第一操作系统的第一目标组件向所述第二操作系统的代理组件发送所述查询请求。The first target APP of the first operating system invokes the first target component of the first operating system to send the query request to the proxy component of the second operating system according to the MIME type corresponding to the target object.
  4. 根据权利要求3所述的应用程序查询方法,还包括:The application query method according to claim 3, further comprising:
    所述代理组件调用所述第二目标组件,查询用于处理所述MIME类型的目 标对象的第二APP,得到查询结果;所述查询结果包括:用于处理所述MIME类型的目标对象的第二APP的信息;The proxy component invokes the second target component to query the second APP for processing the target object of the MIME type, and obtains a query result; the query result includes: the second APP for processing the target object of the MIME type 2. APP information;
    所述第二目标组件将所述查询结果,发送给所述代理组件;The second target component sends the query result to the proxy component;
    所述代理组件将所述查询结果发送给所述第一操作系统的第一目标组件。The proxy component sends the query result to the first target component of the first operating system.
  5. 根据权利要求4所述的应用程序查询方法,其中,若所述第二操作系统为安卓操作系统,则所述代理组件调用所述第二目标组件,查询用于处理所述MIME类型的目标对象的第二APP,得到查询结果,包括:The application query method according to claim 4, wherein, if the second operating system is an Android operating system, the proxy component invokes the second target component to query the target object for processing the MIME type The second APP, get query results, including:
    所述代理组件创建通信组件;said proxy component creates a communication component;
    利用所述通信组件调用第二目标组件,查询用于处理所述MIME类型的目标对象的第二APP,得到所述查询结果。The communication component is used to call the second target component to query the second APP for processing the target object of the MIME type, and obtain the query result.
  6. 根据权利要求3所述的应用程序查询方法,其中,若所述第一操作系统为安卓操作系统,所述第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型,包括:The application program query method according to claim 3, wherein, if the first operating system is an Android operating system, the first operating system obtains the multipurpose Internet mail extension corresponding to the target object according to the processing request MIME types, including:
    所述第一目标APP根据所述处理请求,通过MIME类型映射组件获取所述目标对象对应的MIME类型;The first target APP obtains the MIME type corresponding to the target object through the MIME type mapping component according to the processing request;
    所述第一操作系统的第一目标APP根据所述目标对象对应的MIME类型,调用所述第一操作系统的第一目标组件向所述第二操作系统的代理组件发送所述查询请求,包括:The first target APP of the first operating system invokes the first target component of the first operating system to send the query request to the proxy component of the second operating system according to the MIME type corresponding to the target object, including :
    所述第一目标APP创建通信组件;The first target APP creates a communication component;
    利用所述通信组件调用第一目标组件,向所述第二操作系统的代理组件发送所述查询请求。The communication component is used to call the first target component, and the query request is sent to the proxy component of the second operating system.
  7. 根据权利要求1或2所述的应用程序查询方法,其中,所述第一操作系统还包括:第一APP,所述方法还包括:The application query method according to claim 1 or 2, wherein the first operating system further comprises: a first APP, and the method further comprises:
    查询所述第一操作系统中用于处理所述MIME类型的目标对象的第一APP。Querying the first APP in the first operating system for processing the target object of the MIME type.
  8. 根据权利要求7所述的应用程序查询方法,还包括:The application query method according to claim 7, further comprising:
    显示目标查询结果;所述目标查询结果包括:处理所述MIME类型的目标 对象的第一APP和第二APP的信息;Displaying the target query result; the target query result includes: processing the information of the first APP and the second APP of the target object of the MIME type;
    接收针对所述目标查询结果的用户输入;所述用户输入用于选择待启动的第二目标APP;receiving user input for the target query result; the user input is used to select a second target APP to be started;
    响应于所述用户输入,启动所述第二目标APP。In response to the user input, the second target APP is launched.
  9. 一种应用程序查询装置,应用于电子设备,所述电子设备包括:第一操作系统和第二操作系统,第二操作系统包括第二应用程序APP,所述装置包括:An application program query device, applied to electronic equipment, the electronic equipment includes: a first operating system and a second operating system, the second operating system includes a second application program APP, and the device includes:
    获取模块,设置为通过第一操作系统获取用户的处理请求,所述处理请求用于处理目标对象;An acquisition module, configured to acquire a user's processing request through the first operating system, and the processing request is used to process the target object;
    所述获取模块,还设置为通过第一操作系统根据所述处理请求,获取所述目标对象对应的多用途互联网邮件扩展MIME类型;The obtaining module is also configured to obtain the MIME type corresponding to the target object according to the processing request through the first operating system;
    发送模块,设置为通过第一操作系统向第二操作系统发送查询请求,所述查询请求用于查询所述第二操作系统中用于处理所述MIME类型的目标对象的第二APP;The sending module is configured to send a query request to the second operating system through the first operating system, and the query request is used to query the second APP for processing the target object of the MIME type in the second operating system;
    所述获取模块,还设置为通过第一操作系统获取所述第二操作系统发送的查询结果;所述查询结果包括所述第二APP的信息。The obtaining module is further configured to obtain the query result sent by the second operating system through the first operating system; the query result includes the information of the second APP.
  10. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至8任一项所述应用程序查询方法。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, any one of claims 1 to 8 is realized The application query method.
  11. 一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述应用程序查询方法。A non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the application program according to any one of claims 1 to 8 is realized Query method.
PCT/CN2022/106186 2021-12-15 2022-07-18 Application program query method and apparatus, device and storage medium WO2023109113A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111527837.8A CN113934559B (en) 2021-12-15 2021-12-15 Application program query method, device, equipment and storage medium
CN202111527837.8 2021-12-15

Publications (1)

Publication Number Publication Date
WO2023109113A1 true WO2023109113A1 (en) 2023-06-22

Family

ID=79288853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106186 WO2023109113A1 (en) 2021-12-15 2022-07-18 Application program query method and apparatus, device and storage medium

Country Status (2)

Country Link
CN (1) CN113934559B (en)
WO (1) WO2023109113A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934559B (en) * 2021-12-15 2022-06-03 北京鲸鲮信息系统技术有限公司 Application program query method, device, equipment and storage medium
CN114579237A (en) * 2022-02-28 2022-06-03 联想(北京)有限公司 Resource object processing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663067A (en) * 2012-03-31 2012-09-12 中标软件有限公司 File opening method based on Linux operating system terminal
US20130282752A1 (en) * 2012-04-23 2013-10-24 Google Inc. Application-Specific File Type Generation and Use
CN103488466A (en) * 2012-06-11 2014-01-01 联想(北京)有限公司 Method and device for executing application program
CN103677956A (en) * 2013-12-06 2014-03-26 北京奇虎科技有限公司 Method and device for simulating application operation of mobile equipment on calculating equipment
CN105897830A (en) * 2015-12-01 2016-08-24 乐视网信息技术(北京)股份有限公司 File opening tool recommending client, server, system and method
CN113672290A (en) * 2021-07-23 2021-11-19 荣耀终端有限公司 File opening method and equipment
CN113934559A (en) * 2021-12-15 2022-01-14 北京鲸鲮信息系统技术有限公司 Application program query method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393456B1 (en) * 1998-11-30 2002-05-21 Microsoft Corporation System, method, and computer program product for workflow processing using internet interoperable electronic messaging with mime multiple content type
CN112286667A (en) * 2020-11-18 2021-01-29 安徽鸿程光电有限公司 Application program control method and device, electronic equipment and medium
CN113407086B (en) * 2021-08-20 2021-11-30 北京鲸鲮信息系统技术有限公司 Object dragging method, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663067A (en) * 2012-03-31 2012-09-12 中标软件有限公司 File opening method based on Linux operating system terminal
US20130282752A1 (en) * 2012-04-23 2013-10-24 Google Inc. Application-Specific File Type Generation and Use
CN103488466A (en) * 2012-06-11 2014-01-01 联想(北京)有限公司 Method and device for executing application program
CN103677956A (en) * 2013-12-06 2014-03-26 北京奇虎科技有限公司 Method and device for simulating application operation of mobile equipment on calculating equipment
CN105897830A (en) * 2015-12-01 2016-08-24 乐视网信息技术(北京)股份有限公司 File opening tool recommending client, server, system and method
CN113672290A (en) * 2021-07-23 2021-11-19 荣耀终端有限公司 File opening method and equipment
CN113934559A (en) * 2021-12-15 2022-01-14 北京鲸鲮信息系统技术有限公司 Application program query method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113934559A (en) 2022-01-14
CN113934559B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
WO2023109113A1 (en) Application program query method and apparatus, device and storage medium
US10956652B2 (en) Support for non-native file types in web application environment
JP5129858B2 (en) Web media resource identification system and method
US8489708B2 (en) Virtual application extension points
CN108153551B (en) Method and device for displaying business process page
US8438251B2 (en) Methods and systems for implementing a virtual storage network
US8543972B2 (en) Gateway data distribution engine
US20030119386A1 (en) Method and system for installing server-specific plug-ins
KR20150004877A (en) Associating a file type with an application in a network storage service
JP2010536191A5 (en)
CN101005501A (en) Method and apparatus for storing and restoring state information of remote user interface
US10506400B2 (en) Data download method and apparatus
US20050198336A1 (en) Methods and apparatuses for automatic adaptation of different protocols
RU2759330C2 (en) Postponing call requests for remote objects
JP2002063090A (en) Device and method for processing bookmark event relative to web page
CN111679828B (en) Data processing method and device, electronic equipment and storage medium
US9037542B2 (en) Reducing programming complexity in client applications when interfacing with database servers operating with different programming interfaces
CN103917951B (en) Application invocation method, operating system and browser
US20090234913A1 (en) Data structure for initiating multiple web sites
CN106452855B (en) Article label adding method and device
KR102636992B1 (en) Method and apparatus for cloud service
CN115686663A (en) Online file preview method and device and computer equipment
WO2016155525A1 (en) Page module loading method and device
JP2003256213A (en) Application starting method and system, application starting program, and storage medium stored with application starting program
US20170034266A1 (en) System and Method for the Departmentalization of Structured Content on a Website (URL) through a Secure Content Management System

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

Country of ref document: EP

Kind code of ref document: A1