Data retrieval method and data retrieval device

By launching the target application in the background or accessing the data platform to query data, the problem of complex operation in the existing technology is solved, and unified retrieval and simplified operation of data from multiple applications are realized.

CN121808151APending Publication Date: 2026-04-07VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-13
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, when accessing user data from different third-party applications, users need to open the application data retrieval page of the corresponding application, which is a complicated process.

Method used

The process is simplified by launching the target application in the background and retrieving data within the target application's search page based on accessibility technology, or by accessing the data platform through the data software development kit (SDK) to query relevant data.

Benefits of technology

It enables unified retrieval of data from multiple applications within a single search interface, simplifying the operation process and improving the convenience and efficiency of data retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121808151A_ABST
    Figure CN121808151A_ABST
Patent Text Reader

Abstract

The invention discloses a data retrieval method and a data retrieval device, and belongs to the technical field of information retrieval. The data retrieval method comprises the steps of obtaining retrieval information input in a retrieval interface; under the condition that the retrieval information is used for retrieving data of a target application program, executing a first retrieval operation according to the retrieval information, and displaying a retrieval result in the retrieval interface; wherein the first retrieval operation comprises at least one of the following items: starting the target application program in a background, and retrieving data related to the retrieval information in a retrieval page of the target application program based on a barrier-free technology; data related to the retrieval information is inquired in a data medium table accessed by the target application program, the target application program is accessed to the data medium table through a data software development kit SDK, and the target application program provides data for the data medium table through the data SDK.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of information retrieval technology, specifically relating to a data retrieval method and a data retrieval device. Background Technology

[0002] In related technologies, electronic devices have become indispensable productivity tools in people's lives. Taking mobile phones as an example, mobile phone applications are becoming more and more feature-rich and powerful, generating more and more user data. In this context, user data, as an important data asset for users, will bring significant convenience to users' lives, work, study, entertainment and other scenarios through efficient querying of user data.

[0003] In related technologies, when accessing user data from third-party applications (excluding system applications), users need to open the corresponding application, access its data retrieval page, enter their search query in the search box, and then view the user data within the application's search page. When accessing user data from different third-party applications, users must open the respective application's data retrieval page and perform the query separately.

[0004] This shows that data retrieval methods in related technologies suffer from the drawback of complex operation processes. Summary of the Invention

[0005] The purpose of this application is to provide a data retrieval method and a data retrieval device that can solve the problem of complex operation processes in related technologies.

[0006] In a first aspect, embodiments of this application provide a data retrieval method, the method comprising: Retrieve the search information entered in the search interface; When the search information is used to retrieve data from a target application, a first search operation is performed based on the search information, and the search results are displayed in the search interface. The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK) and provides data to the data platform through the data SDK.

[0007] Secondly, embodiments of this application provide a data retrieval method apparatus, the apparatus comprising: The first acquisition module is used to acquire the search information entered in the search interface; The retrieval module is used to perform a first retrieval operation based on the retrieval information when the retrieval information is used to retrieve data of the target application, and to display the retrieval results in the retrieval interface; The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK) and provides data to the data platform through the data SDK.

[0008] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0012] In this embodiment, search information input into the search interface is obtained; when the search information is used to search for data of a target application, a first search operation is performed based on the search information, and the search results are displayed in the search interface; wherein, the first search operation includes at least one of the following: launching the target application in the background, and searching for data related to the search information on the search page of the target application based on accessibility technology; querying data related to the search information in a data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK), and the target application provides data to the data platform through the data SDK. In this way, a unified search operation can be used, eliminating the need to enter the search interface of the application to be searched, to achieve data retrieval for one or at least two target applications, and the search results are aggregated and displayed in the search interface, simplifying the data retrieval process for the target applications. Attached Figure Description

[0013] Figure 1 This is a flowchart of a data retrieval method provided in an embodiment of this application; Figure 2a This is a screenshot of the desktop. Figure 2b This is one of the schematic diagrams of the first control; Figure 2c This is the second illustration of the first control; Figure 2d This is a diagram of the settings interface; Figure 2e This is a schematic diagram of the search interface; Figure 2f This is a diagram of the search page of the target application; Figure 2g This is a diagram illustrating how search results are displayed within the search interface. Figure 3 This is a technical architecture diagram of the data retrieval method according to Embodiment 1 of this application; Figure 4 This is a flowchart of the data retrieval method according to Embodiment 1 of this application; Figure 5 This is a technical architecture diagram of the data retrieval method according to Embodiment 2 of this application; Figure 6 This is a flowchart of the data retrieval method according to Embodiment 2 of this application; Figure 7 This is a schematic diagram of the structure of a data retrieval device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 9 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0014] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0015] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0016] The data retrieval method, data retrieval device, electronic device, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0017] See Figure 1 The data retrieval method provided in this application includes the following steps: Step 101: Obtain the search information entered in the search interface.

[0018] In some embodiments, the data retrieval method for performing the embodiments of this application can be an electronic device, which can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit the scope of the electronic device.

[0019] In some implementations, data retrieval in this application embodiment is based on a global search function. Of course, data retrieval in this application embodiment can also be based on any other function capable of performing data retrieval on at least two applications. For ease of explanation, this application embodiment uses a global search function as an example, which does not constitute a specific limitation.

[0020] In some implementations, the search interface in this application embodiment can be the interface where the global search input box is located. The expansion method of the search interface in this application embodiment is the same as the expansion method of the global search interface in related technologies, and will not be described again here. However, the global search in this application embodiment is not functionally the same as the global search in related technologies. The global search in related technologies can only be used for user data retrieval of system applications, while the global search in this application embodiment can be used for user data retrieval of third-party application data in addition to user data retrieval of system applications. Moreover, different target applications can use a unified search method to retrieve user data.

[0021] In some implementations, the search interface can be quickly opened via a global search icon on the desktop. For example: Figure 2a As shown, the desktop displays an application icon 21 and a global search identifier 22. The user can long-press the global search identifier 22 to trigger the global search service, and after identifying the target application, the following will be displayed: Figure 2e The search interface shown includes a search information input box 23.

[0022] In some implementations, the search information can be search information entered by the user in the search information input box of the search interface, such as search keywords like flight tickets and schedules.

[0023] In other implementations, the user may enter a statement with a data retrieval intent in the search information input box of the search interface. In this case, a search intent analysis model can be used to analyze the intent of the statement and obtain the search information.

[0024] Optionally, the search intent analysis model can be deployed in an electronic device that executes the data retrieval method provided in the embodiments of this application. In this case, the search information can be obtained by directly calling the intent analysis model on the electronic device side to perform intent analysis on the data retrieval intent discourse.

[0025] Optionally, the search intent analysis model can be deployed on a cloud device. In this case, the electronic device executing the data retrieval method provided in the embodiments of this application sends the data retrieval intent statement to the cloud device. The cloud device uses the intent analysis model to perform intent analysis on the data retrieval intent statement to obtain retrieval information, and then feeds the retrieval information back to the electronic device.

[0026] Step 102: If the search information is used to retrieve data of the target application, perform a first search operation based on the search information and display the search results in the search interface.

[0027] The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK), and the target application provides data to the data platform through the data SDK.

[0028] In some implementations, the target application in this application embodiment may be a third-party application provided by a third-party operator other than the manufacturer of the electronic device executing the data retrieval method of this application embodiment.

[0029] In other implementations, the target application may include either a third-party application or a system application.

[0030] For ease of explanation, the embodiments of this application typically use a third-party application as an example for illustration, which does not constitute a specific limitation.

[0031] In some implementations, the number of target applications can be one or at least two.

[0032] Optionally, if there are at least two target applications, the first search operation will be performed on each of the at least two target applications, and the search results of the at least two target applications will be summarized and displayed in the search interface.

[0033] In some implementations, the target application containing data related to the search information can be determined based on the association between the search information and the target application.

[0034] For example, when the search information indicates a search for flight information, the flight data search is performed in the target application that includes flight services.

[0035] In other implementations, the target application containing the data related to the retrieved information can be determined based on the user's selection of the target application.

[0036] As an optional implementation, before performing the first search operation based on the search information, the method further includes: Upon receiving the first input, a first control is displayed, wherein the first control includes at least two first options, and each first option corresponds to a first application. Upon receiving a second input, the first application corresponding to the target first option is identified as the target application, and the search interface is displayed. The second input is used to move the target first option to the focus area of ​​the first control. The at least two first options include the target first option. The search interface includes a search information input box. The process of obtaining the search information entered in the search interface includes: Retrieve the search information entered in the search information input box.

[0037] In some implementations, such as Figure 2a As shown, the first input can be at least one of the touch operations such as long press or double tap on the global search identifier 22 on the desktop, and the first input can trigger the display of the first control.

[0038] In some implementations, such as Figure 2b and Figure 2c As shown, the first control can be a roulette control 24, which includes multiple first options 25. By switching the first option 25 in the focus area, the target application to be searched can be manually selected.

[0039] For example: Figure 2band Figure 2c As shown, after the user long-presses the wheel control 24 to trigger the display of multiple first options 25, the user can drag their finger to switch the focus area sequentially across the multiple first options 25 along the direction of the finger drag. When the focus area switches to the target first option corresponding to the application for which the user wants to retrieve data, Figure 2c When the first option 25 corresponding to application 3 is within the focus area, the user can release their finger to trigger the selection of the application corresponding to the first option as the target application to be searched. In this example, the second input includes a finger drag operation on the wheel control 24.

[0040] Of course, in addition to the roulette wheel control, the first control can also be any other control capable of selecting a target application, and the second input used to move the target first option to the focus area of ​​the first control can also be adapted to the challenge. There are no specific limitations on the first control, the first input and the second input.

[0041] In this embodiment, users can select the target application through the first control, thereby improving the targeting and controllability of the data retrieval service.

[0042] In some implementations, the first option in the first control can be a default setting or a setting pre-defined by the user.

[0043] As an optional implementation, before displaying the first control upon receiving the first input to the search interface, the method further includes: The display settings interface includes a second option that corresponds one-to-one with the second application, and the second application includes an application that supports data retrieval. Upon receiving a third input regarding the target second option, the second application corresponding to the target second option is identified as the first application; Generate the first option corresponding to the first application in the first control.

[0044] In some implementations, the settings interface can be opened through the system settings interface, which can display the second options corresponding to all data retrieval-enabled applications on the electronic device executing the data retrieval method of this application embodiment.

[0045] For example: Figure 2d As shown, there are second options 26 corresponding to each of the eight second applications, and a selection box 27 for each second option. At this time, the third input can be a check operation on the selection box 27 of the target second option.

[0046] Of course, the second option can be displayed and selected in other ways, and no specific restrictions are made on the display and selection methods of the second option here.

[0047] In this embodiment, the candidate target applications for data retrieval triggered by the first control can be flexibly configured and simplified, improving the user's convenience in operating the first control.

[0048] It is worth noting that the first retrieval operation in this application embodiment includes the following two implementation methods: Implementation Method 1: Launch the target application in the background and retrieve data related to the search information on the search page of the target application based on accessibility technology.

[0049] In this embodiment, the data retrieval process performed within the target application is not displayed in the foreground. In this way, in scenarios where data retrieval of at least two target applications is triggered based on the same retrieval information, or in scenarios where user data retrieval of the system application and data retrieval of the target application are triggered based on the same retrieval information, data retrieval can be performed in parallel in the background. This simplifies the data retrieval operation of the target application and makes the foreground display interface more intuitive and smooth.

[0050] In some implementations, such as Figure 2f As shown, a virtual screen can be launched in the background based on virtual screen technology to open the search page of the target application, and the search information can be entered into the input box 28 in the search page in the virtual screen. In this way, the operation of launching the target application, opening the search page of the target application, and entering the search information into the input box 28 in the search page can be simulated by using the virtual screen.

[0051] As an optional implementation, launching the target application in the background and retrieving data related to the search information within the target application's search page based on accessibility technology includes: The target application is controlled in the background to open the search page based on virtual screen technology. Based on accessibility technology, the search information is entered into the input box in the search page, and data retrieval is performed within the target application; The search results are extracted from the search page based on the accessibility technology, and / or the search results are extracted from the search page using AI screen recognition technology.

[0052] In some implementations, accessibility technology can be used to capture information such as the location of input boxes and input links on the search page, thereby enabling the input of search information into the input boxes on the search page and triggering data retrieval within the target application.

[0053] In some implementations, when data retrieval within the target application is completed, the search page displayed on the virtual screen contains the retrieved data content. At this time, search results can be extracted from the retrieved data content on the search page based on accessibility technology, or the search results can be extracted from the retrieved data content on the search page using AI screen recognition technology.

[0054] In some implementations, search results can be extracted from the data content retrieved on the search page based on accessibility technology. If extraction fails, the search results can then be extracted from the data content retrieved on the search page using AI screen recognition technology.

[0055] In this embodiment, virtual screen technology and accessibility technology can be used to simulate the user's actions of launching the target application, opening the target application's search page, and inputting search information into the input box of the search page in the background virtual screen, thereby triggering data retrieval within the target application through simple operations.

[0056] It is worth noting that the search information may be used to retrieve data from at least two target applications. In this case, at least two virtual screens can be enabled to retrieve data from at least two target applications in parallel. Alternatively, a single virtual screen can be enabled to retrieve data from at least two target applications sequentially. Finally, the search results for at least two target applications can be aggregated and displayed within the search interface.

[0057] In some implementations, the search results may include keywords or metadata of the retrieved user data. For example, if the retrieved user data is flight ticket data, the search results may include key information such as the flight number, flight departure date, and departure time from the flight ticket data; or, for example: Figure 2g As shown, when searching for "homework" related data globally, four pieces of data related to homework can be found from the class group chat in the chat application. The search results "4 pieces of related data from Class 1, No. 1 Middle School" will then be displayed on the search interface.

[0058] Optionally, when a user needs to view the details or raw data of the retrieved user data, they can click on the corresponding search result. This will trigger the display of the user data details page or the retrieval of the raw data on the front end. For example: Figure 2g As shown, below the search results for "4 relevant data from Class 1, No. 1 Middle School", a prompt message "View Matching Information" can be displayed to indicate that users can click on the search results to view the retrieved data content.

[0059] As an optional implementation, after displaying the search results in the search interface, the method further includes: When the search interface receives a fourth input regarding the search result, the target application is controlled in the background to open the details page of the search result based on virtual screen technology; Move the details page of the search results from the virtual screen to the front end for display.

[0060] In some implementations, the fourth input may include at least one of the touch operations such as clicking, long-pressing, or double-clicking on the search result. Alternatively, the fourth input may include hardware operations on the electronic device performing the data retrieval method of this application embodiment, such as shaking the screen or clicking the volume keys. No specific limitation is made to the fourth input here.

[0061] In this embodiment, by inputting a fourth message into the search interface displayed on the front end, the details page of the search results of the target application can be opened in the background virtual screen, and the details page of the search results in the virtual screen can be moved to the front end for display. This allows users to view the original data or original files of the search results in the target application, and the operation process is simple.

[0062] It should be noted that the search information may be used to retrieve data from a target application or to retrieve user data from a system application. The first and second embodiments described above represent the first search operation process when the search information is used to retrieve data from a target application. When the search information is used to retrieve user data from a system application, a second search operation can be performed. This second search operation can follow the same process as the global search in related technologies to retrieve user data from the system application, and is not specifically limited here.

[0063] In some implementations, the retrieval information may be used to retrieve both data from the target application and user data from the system application. In this case, a first retrieval operation and a second retrieval operation for retrieving user data from the system application can be performed based on the retrieval information.

[0064] Implementation Method 2: Query data related to the search information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK), and the target application provides data to the data platform through the data SDK.

[0065] It's worth noting that the target application provides data to the data platform in advance via a data SDK. For example, when the target application registers or updates for the first time, a data SDK is established with the data platform located on the same electronic device. Subsequently, the target application can provide data to the data platform periodically, whenever its user data changes, or triggered by user actions. Following this, global retrieval can directly query the target application's data from the data platform to achieve the desired search results.

[0066] As an optional implementation, the method further includes: When the target application provides donation data to the data platform through the data SDK, the donation data is processed to divide the donation data into at least one data category and determine the query index for each data category. The step of querying data related to the retrieved information in the data platform accessed by the target application includes: Based on the retrieval information and the query index of the at least one data category, the target data category is determined in the data category library of the data platform, wherein the data category library stores the association relationship between the at least one data category and the query index; Based on the target data classification, data related to the search information is queried from the data platform or the target application corresponding to the target data classification.

[0067] In some implementations, the data processing of the aforementioned donated data may include data grouping, data cleaning, determining data categories, and establishing query indexes corresponding to data categories, and storing each data category and its query index together in a data category library.

[0068] In some implementations, data parsing, cleaning, and query index creation can be based on a full-text search engine. For example, in Lucene, data processing mainly includes the following two aspects: 1. Document parsing: Converting raw data (such as text files, HTML files, etc.) into a format that Lucene can process. This typically includes steps such as tokenization, stop word removal, stemming, or lemmatization.

[0069] 2. Create a query index. Use the core classes provided by Lucene to create a query index, convert the data into a format used internally by Lucene, and store it on disk. This process can be broken down into the following steps: Data segmentation: dividing text data into words or phrases.

[0070] Field mapping: Mapping text in the data to fields in Lucene, such as title and content.

[0071] Query index storage: Store the segmented data and its query index in Lucene's data classification library.

[0072] 3. After creating a query index, you can use the query content to query the index.

[0073] Of course, in addition to Lucene, other search engines can also be used to process donated data, and no specific restrictions are placed on the method of data processing here.

[0074] It should be noted that the global search function can also be accessed through the data SDK to connect to the data platform. In this way, when using the global search function, the search information entered through the search interface can be transmitted to the data platform through the data SDK. By converting the search information into query content for querying in the data platform, the target query index of the data to be searched can be determined based on the query content. Based on the target query index, the search results can be determined. The query results of the data platform can also be fed back to the global search function through the data SDK and displayed on the search interface.

[0075] In some implementations, similar to the first implementation described above, after receiving the retrieval information transmitted by the global retrieval function, if the retrieval information is an intent statement, the data platform can call the search intent analysis model to perform intent analysis on the statement and obtain the query content as the retrieval information for retrieval in the data platform.

[0076] In some implementations, the data platform can store the original data matched by the search results. In this case, based on the target data classification, data related to the search information is queried from the data platform, and search results are generated based on the queried data.

[0077] In other implementations, the data platform may not store the original data matched by the search results. For example, after a target application donates a file to the data platform, the data platform will parse, group, clean, and perform other processing on the file during data processing, and store the processed data. In this case, if it is necessary to obtain the original file related to the search information, the target data category will be queried in the data platform. After determining the target data category, the corresponding target application will be determined based on the target data category. Based on at least one of the search information and the target data category, the original file related to the search information will be queried from the target application. The original file will be sent to the data platform again through the data SDK and provided to the global search function through the data SDK between the data platform and the global search function. The original file will then be displayed to the user through the global search function.

[0078] In this embodiment, the target application and system application can uniformly provide user data to the data platform through the data SDK. The data platform performs unified grouping and query indexing of this user data. In this way, when the user enables the global search function, the user data of the target application and system application can be queried from the data platform. The operation process is simple.

[0079] As an optional implementation, the method further includes: When the data of the target application changes, the target application provides the changed donation data to the data platform through the data SDK; The data platform updates the data categories and the query index based on the changed donation data.

[0080] In this embodiment, when the data of the target application changes, the data SDK can promptly provide the changed donation data to the data platform. In this way, the data platform can update the data classification and query index in a timely manner, making the data and query index in the data platform more accurate.

[0081] It is worth noting that in some implementations, the first search operation may retrieve at least two user data entries, and in this case, the search results may also include at least two entries.

[0082] In some implementations, when the global search function and the target application are respectively connected to the data platform through the data SDK, the search information entered in the search interface can simultaneously trigger the search for user data of the system application and the search for data of the target application. That is, for a single search message, a first search operation and a second search operation can be triggered. In this case, the search results can also include the search results for user data of the system application and the search results for data of the target application.

[0083] This application provides two methods to simplify the data retrieval process of a target application. In the first method, the target application is launched in the background, and data related to the search information is retrieved within the target application's search page based on accessibility technology. The search results are then displayed on the search interface. This allows the global search function to retrieve data from the target application, simplifying the user operation and eliminating the need to navigate to other applications in the foreground, thus streamlining the foreground display. In the second method, the target application provides data to a data platform via a data SDK. After the data platform organizes the target application's data, the global search function can directly retrieve the data from the data platform and display the results on the search interface. This allows for the same search operation to be used for different target applications, simplifying the retrieval process.

[0084] To facilitate the explanation of the data retrieval method in the embodiments of this application, the following two embodiments are provided as examples: In Example 1, in a scenario where data retrieval for a third-party application is performed using the method described in Embodiment 1 above, the electronic device executing the data retrieval method of this application embodiment can employ, as follows: Figure 3 The technical architecture shown is as follows: Figure 3 As shown, the system architecture of this electronic device includes a business layer, a logic layer, and a capability layer. The overall architecture adopts a layered structure, with each layer isolated through interfaces to ensure low coupling. The business layer is mainly used to select third-party applications for retrieval based on user actions and to perform data searches. The logic layer can be further divided into a gesture management module and a virtual screen application management module. The gesture management module is responsible for detecting user gestures and determining the third-party applications to be searched based on them. The virtual screen application management module is responsible for building new IPs, managing application openings, injecting search conditions into the input boxes of the application's search page, conducting data communication related to data retrieval, moving the application interface from the virtual screen to the foreground when the user views the details of the search results, and extracting search results from the application's search page based on accessibility technology or AI recognition technology. The capability layer provides system gesture services, system accessibility technology services, virtual screen services, application launch services, and AI screen recognition services.

[0085] Taking a mobile phone with the above system architecture as an example, such as Figure 4 As shown, the data retrieval method performed by this mobile phone may include the following steps: Step 401: Enter the settings interface. The settings interface displays third-party applications with quick search functions on the phone. The user sets the third-party applications selected for quick search based on third-party input in the settings interface.

[0086] Step 402: Click the global search icon on the desktop to enter the global search interface; after long-pressing the global search icon, the first control will be displayed. The focus area is on the first "full search" by default. That is, if you release the button directly, you will directly enter the global search for system data. If you drag your finger along the first control, you can switch the focus area to the various first options in the first control along the direction of rotation.

[0087] Step 403: Drag your finger to switch the focus area to the first option of the third-party application you want to search, so as to select the third-party application as the application for which you want to search for data.

[0088] Step 404: After selecting the third-party application based on step 403, release the button to enter the global search page.

[0089] Step 405: The user enters the content to be searched in the input box of the global search page. After obtaining the search information based on the user's input, the corresponding virtual screen is built in the background based on the system's virtual screen service. The selected third-party application for data retrieval is launched on the virtual screen, and the search page of the third-party application is entered. First, the search information is entered into the input box of the search page through accessibility technology to perform content retrieval. Then, the search results are retrieved from the search page through accessibility technology. If the results cannot be retrieved, the search results of the page are obtained through AI screen recognition technology. The retrieved search results are sent back to the global search service and displayed in the global search interface.

[0090] Step 406: After the user clicks on a search result in the global search interface, the corresponding search result is simultaneously clicked on the virtual screen to enter the data details page of the third-party application. After entering the data details page, the interface of the third-party application in the virtual screen is moved to the foreground of the main screen for display. In this way, the user can view the detailed content of the data in the third-party application that matches the search information.

[0091] In this embodiment, the ease of operation of the flywheel allows for the rapid selection of third-party applications, enabling unified access to the global search service for user data queries. Combined with accessibility counting and virtual screen technology, the searched data of third-party applications is quickly obtained, and the search results are displayed on the global search interface. Furthermore, accessibility technology allows for quick access to the search page of the third-party applications to view the detailed content of the searched data, ensuring the consistency, integrity, and convenience of accessing user data from the system applications and data from third-party applications.

[0092] Example 2: In a scenario where data retrieval for a third-party application is performed using the method described in Example 2 above, the electronic device executing the data retrieval method of this application embodiment can employ, as follows: Figure 5 The technical architecture shown is as follows: Figure 5 As shown, the system architecture of this electronic device includes: a business layer, an interface layer, a data platform, and a source data layer. The overall architecture adopts a layered structure, with each layer isolated through interfaces to ensure low coupling. The business layer mainly includes business modules that utilize data search capabilities, including global retrieval, and manages the retrieved data files. The interface layer provides a unified data SDK, offering unified interfaces for querying, monitoring, donating, and updating. For example, taking the Android system as an example, the interface layer can use the Android Interface Definition Language (Android Interface Definition Language). The data platform accesses data via AIDL (AI Language). It comprises a service layer and an index layer. The service layer is further subdivided into a data management interface layer and a data operation management layer. Data operation management specifically includes: the business layer accessing data services through a data SDK; the data services obtaining actual operation targets through routing configuration to perform data queries, donations, monitoring, and other operations; the service layer also authenticates access operations and provides search service capabilities compatible with both client and cloud platforms. Furthermore, upon receiving donation data from applications, it performs entity parsing, tag acquisition, summary content acquisition, and semantic vector data generation. Finally, leveraging the capabilities of search intent analysis models (including large models on both the cloud and client sides), it enables the extraction of key information from search content, content understanding, and the generation of query content. The index layer primarily provides Lucene data storage, vector data storage, and a global tag database for each data category. The source data layer includes third-party applications and system applications that serve as retrieval targets. These third-party applications and system applications provide data to the data platform through the data SDK.

[0093] Taking a mobile phone with the above system architecture as an example, such as Figure 6 As shown, the data retrieval method performed by this mobile phone may include the following steps: Step 601: Connect the third-party application or system application to the unified data SDK. After the application is connected to the SDK, it will start the third-party application through the data SDK to donate data to the data platform on the first boot. The data platform will access the system capabilities such as data parsing and data cleaning to generate the corresponding query index according to the data type.

[0094] Step 602: When the data platform receives donation data from the application, it first identifies whether the application has permission to access the data platform. If it has the corresponding permission, it accepts the donation data.

[0095] Step 603: The data platform classifies, cleans, and establishes corresponding query indexes for the donated data.

[0096] Step 604: If the data in the third-party application changes, the application will access the data platform again and transmit the changed data to the data platform. The data platform will then classify the data and update the query index based on the received new data.

[0097] Step 605: The user opens the global search interface. This global search function is integrated with the data SDK. The global search accesses the data platform based on the search information or query content to query the data.

[0098] Step 606: When the data platform receives the search information transmitted from the global search, if the search information is an intent statement, it will access the search intent service to convert the search information into query content, and access the query index library of the data platform based on the query content to find the target data category. Then, it will access the third-party application corresponding to the target data category to obtain the corresponding search results and display them in the global search interface.

[0099] In this embodiment, a unified data SDK is provided to build a unified data platform. After the data SDK is accessed, the data from system applications and third-party applications are all sent to the data platform for unified processing. When the system accesses user data, such as through the global search function, it can directly access the data platform. The data platform then performs unified data management and distribution, enabling user data, including that from system applications and third-party applications, to be accessed and queried in a unified manner, thus improving the completeness and convenience of data retrieval based on the global search function.

[0100] It should be noted that the data retrieval method of this application embodiment can be used for application data retrieval in the Android system. Of course, the data retrieval method of this application embodiment can also be used for application data retrieval in other operating systems such as iOS. For ease of explanation, the Android system is usually used as an example in this application embodiment, which does not constitute a specific limitation.

[0101] The data retrieval method provided in this application can be executed by a data retrieval device. This application uses an example of a data retrieval device executing the data retrieval method to illustrate the data retrieval device provided in this application.

[0102] See Figure 7 The data retrieval device 700 of this application embodiment includes the following modules: The first acquisition module 701 is used to acquire the search information entered in the search interface; The retrieval module 702 is used to perform a first retrieval operation based on the retrieval information when the retrieval information is used to retrieve data of the target application, and to display the retrieval results in the retrieval interface; The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK) and provides data to the data platform through the data SDK.

[0103] In some embodiments, the data retrieval device 700 in this application can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application does not specifically limit the specific implementation.

[0104] The data retrieval device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0105] In some embodiments, the data retrieval device 700 further includes: A first response module is used to display a first control upon receiving a first input, wherein the first control includes at least two first options, and each first option corresponds to a first application. The second response module is used to determine the first application corresponding to the target first option as the target application when a second input is received, and to display the search interface. The second input is used to move the target first option to the focus area of ​​the first control. The at least two first options include the target first option. The search interface includes a search information input box. The first acquisition module 701 is used to acquire the search information entered in the search information input box.

[0106] In some embodiments, the data retrieval device 700 further includes: The first display module is used to display a settings interface, the settings interface including a second option corresponding to a second application, the second application including an application that supports data retrieval; The third response module is used to determine the second application corresponding to the target second option as the first application when a third input for the target second option is received. The generation module is used to generate the first option corresponding to the first application in the first control.

[0107] In some implementations, the retrieval module 702 includes: The control unit is used to control the target application to open the search page in the background based on virtual screen technology; An execution unit is used to input the search information into the input box in the search page based on accessibility technology, and to perform data retrieval within the target application; An information extraction unit is used to extract the search results from the search page based on the accessibility technology, and / or to extract the search results from the search page using AI screen recognition technology.

[0108] In some embodiments, the data retrieval device 700 further includes: The fourth response module is used to control the target application to open the details page of the search result in the background based on virtual screen technology when the search interface receives a fourth input on the search result; The second display module is used to migrate the details page of the search results in the virtual screen to the front end for display.

[0109] In some embodiments, the data retrieval device 700 further includes: The data processing module is used to process the donation data when the target application provides donation data to the data platform through the data SDK, divide the donation data into at least one data category, and determine the query index for each data category. The retrieval module 702 includes: The first determining unit is used to determine the target data category in the data category library of the data platform based on the retrieval information and the query index of the at least one data category; The data query unit is used to query data related to the search information from the data platform or the target application corresponding to the target data category, based on the target data category.

[0110] In some embodiments, the data retrieval device 700 further includes: The data transmission module is used to provide the changed donation data to the data platform through the data SDK when the data of the target application changes. The data update module is used by the data platform to update the data category and the query index based on the changed donation data.

[0111] The data retrieval device provided in this application embodiment can achieve... Figure 1 , Figure 4 or Figure 6 The various processes implemented in the method embodiments shown are all capable of achieving the same beneficial effects, and will not be described again here to avoid repetition.

[0112] Optionally, such as Figure 8 As shown, this application embodiment also provides an electronic device 800, including a processor 801 and a memory 802. The memory 802 stores a program or instructions that can run on the processor 801. When the program or instructions are executed by the processor 801, they implement the various steps of the above-described data retrieval method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0113] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0114] Figure 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0115] The electronic device 900 includes, but is not limited to, components such as: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.

[0116] Those skilled in the art will understand that the electronic device 900 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 910 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0117] The processor 910 is used to obtain the search information entered in the search interface; The processor 910 is also configured to, when the search information is used to retrieve data of the target application, perform a first search operation based on the search information, and control the display unit 906 to display the search results in the search interface; The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK) and provides data to the data platform through the data SDK.

[0118] In some embodiments, before performing the first retrieval operation based on the retrieval information, the processor 910 is further configured to: When the first input is received through the user input unit 907, the control display unit 906 displays the first control, wherein the first control includes at least two first options, and the first options correspond one-to-one with the first application. When a second input is received through the user input unit 907, the first application corresponding to the target first option is determined as the target application, and the display unit 906 is controlled to display the search interface. The second input is used to move the target first option to the focus area of ​​the first control. The at least two first options include the target first option. The search interface includes a search information input box. The process of obtaining the search information input in the search interface, executed by processor 910, includes: Retrieve the search information entered in the search information input box.

[0119] In some embodiments, before executing the command to control the display unit 906 to display the first control upon receiving the first input to the search interface via the user input unit 907, the processor 910 is further configured to: The control display unit 906 displays a settings interface, which includes second options corresponding to the second application, and the second application includes an application that supports data retrieval. Upon receiving a third input for the target second option through the user input unit 907, the second application corresponding to the target second option is determined as the first application; Generate the first option corresponding to the first application in the first control.

[0120] In some implementations, the processor 910 performs the following steps: launching the target application in the background and retrieving data related to the search information within the target application's search page based on accessibility technology, including: The target application is controlled in the background to open the search page based on virtual screen technology. Based on accessibility technology, the search information is entered into the input box in the search page, and data retrieval is performed within the target application; The search results are extracted from the search page based on the accessibility technology, and / or the search results are extracted from the search page using AI screen recognition technology.

[0121] In some embodiments, after the processor 910 executes the control display unit 906 to display the search results in the search interface, it is further configured to: Upon detecting that the search interface has received a fourth input regarding the search result, the target application is controlled in the background to open the details page of the search result based on virtual screen technology; Move the details page of the search results from the virtual screen to the front end for display.

[0122] In some implementations, the processor 910 is also used for: When the target application provides donation data to the data platform through the data SDK, the donation data is processed to divide the donation data into at least one data category and determine the query index for each data category. The processor 910 executes the query for data related to the retrieved information on the data platform accessed by the target application, including: Based on the retrieval information and the query index of the at least one data category, the target data category is determined in the data category library of the data platform; Based on the target data classification, data related to the search information is queried from the data platform or the target application corresponding to the target data classification.

[0123] In some implementations, the processor 910 is also used for: When the data of the target application changes, the target application is controlled to provide the changed donation data to the data platform through the data SDK; The control system updates the data category and the query index based on the changed donation data.

[0124] The electronic device 900 provided in this application embodiment is capable of performing the following... Figure 8 The electronic device shown illustrates the functions of each module and its ability to obtain data. Figure 8 The same beneficial effects of the electronic devices shown will not be repeated here to avoid repetition.

[0125] It should be understood that, in this embodiment, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042. The GPU 9041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 906 may include a display panel 9061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0126] The memory 909 can be used to store software programs and various data. The memory 909 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 909 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 909 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0127] Processor 910 may include one or more processing units; optionally, processor 910 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 910.

[0128] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described data retrieval method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0129] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0130] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above data retrieval method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0131] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0132] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the data retrieval method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0133] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0134] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0135] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A data retrieval method, characterized in that, The method includes: Retrieve the search information entered in the search interface; When the search information is used to retrieve data from a target application, a first search operation is performed based on the search information, and the search results are displayed in the search interface. The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK) and provides data to the data platform through the data SDK.

2. The method according to claim 1, characterized in that, Before performing the first search operation based on the search information, the method further includes: Upon receiving the first input, a first control is displayed, wherein the first control includes at least two first options, and each first option corresponds to a first application. Upon receiving a second input, the first application corresponding to the target first option is identified as the target application, and the search interface is displayed. The second input is used to move the target first option to the focus area of ​​the first control. The at least two first options include the target first option. The search interface includes a search information input box. The process of obtaining the search information entered in the search interface includes: Retrieve the search information entered in the search information input box.

3. The method according to claim 2, characterized in that, Before displaying the first control upon receiving the first input to the search interface, the method further includes: The display settings interface includes a second option that corresponds one-to-one with the second application, and the second application includes an application that supports data retrieval. Upon receiving a third input regarding the target second option, the second application corresponding to the target second option is identified as the first application; Generate the first option corresponding to the first application in the first control.

4. The method according to any one of claims 1 to 3, characterized in that, The step of launching the target application in the background and retrieving data related to the search information within the search page of the target application based on accessibility technology includes: The target application is controlled in the background to open the search page based on virtual screen technology. Based on accessibility technology, the search information is entered into the input box in the search page, and data retrieval is performed within the target application; The search results are extracted from the search page based on the accessibility technology, and / or the search results are extracted from the search page using AI screen recognition technology.

5. The method according to claim 1, characterized in that, The method further includes: When the target application provides donation data to the data platform through the data software development kit (SDK), the donation data is processed to divide the donation data into at least one data category and determine the query index for each data category. The step of querying data related to the retrieved information in the data platform accessed by the target application includes: Based on the retrieval information and the query index of the at least one data category, the target data category is determined in the data category library of the data platform; Based on the target data classification, data related to the search information is queried from the data platform or the target application corresponding to the target data classification.

6. A data retrieval device, characterized in that, The device includes: The first acquisition module is used to acquire the search information entered in the search interface; The retrieval module is used to perform a first retrieval operation based on the retrieval information when the retrieval information is used to retrieve data of the target application, and to display the retrieval results in the retrieval interface; The first retrieval operation includes at least one of the following: The target application is launched in the background, and data related to the search information is retrieved within the search page of the target application based on accessibility technology; The target application queries data related to the retrieved information in the data platform accessed by the target application, wherein the target application accesses the data platform through a data software development kit (SDK) and provides data to the data platform through the data SDK.

7. The apparatus according to claim 6, characterized in that, The device further includes: A first response module is used to display a first control upon receiving a first input, wherein the first control includes at least two first options, and each first option corresponds to a first application. The second response module is used to determine the first application corresponding to the target first option as the target application when a second input is received, and to display the search interface. The second input is used to move the target first option to the focus area of ​​the first control. The at least two first options include the target first option. The search interface includes a search information input box. The first acquisition module is used to acquire the search information entered in the search information input box.

8. The apparatus according to claim 7, characterized in that, The device also includes: The first display module is used to display a settings interface, the settings interface including a second option corresponding to a second application, the second application including an application that supports data retrieval; The third response module is used to determine the second application corresponding to the target second option as the first application when a third input for the target second option is received. The generation module is used to generate the first option corresponding to the first application in the first control.

9. The apparatus according to any one of claims 6 to 8, characterized in that, The retrieval module includes: The control unit is used to control the target application to open the search page in the background based on virtual screen technology; An execution unit is used to input the search information into the input box in the search page based on accessibility technology, and to perform data retrieval within the target application; An information extraction unit is used to extract the search results from the search page based on the accessibility technology, and / or to extract the search results from the search page using AI screen recognition technology.

10. The apparatus according to claim 6, characterized in that, The device further includes: The data processing module is used to process the donation data when the target application provides donation data to the data platform through the data SDK, divide the donation data into at least one data category, and determine the query index for each data category. The retrieval module includes: The first determining unit is used to determine the target data category in the data category library of the data platform based on the retrieval information and the query index of the at least one data category; The data query unit is used to query data related to the search information from the data platform or the target application corresponding to the target data category, based on the target data category.