Search result display method and electronic device
By setting up mapping relationships and control functions in the smart search application of smart electronic devices, the display method of search results can be adjusted according to the application package name and environmental conditions, thus solving the problem of leakage of user privacy information in public places and improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/099407
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-07
- Filing Date
- 2025-06-05
- Publication Date
- 2025-12-11
AI Technical Summary
When using the search function of smart electronic devices in public places, users' private information is easily seen by others, and the lack of convenient privacy protection methods affects the user experience.
By setting up mapping relationships in the smart search application, the display method of search results is determined based on the application package name. It provides options for fuzzy display or normal display and controls the switching of display methods through controls. It supports whitelist configuration and automatic adjustment of display methods triggered by conditions such as geographical location and WIFI environment.
It achieves both protection of user privacy and improvement of the search experience, allowing users to flexibly control how search results are displayed according to the situation, thus avoiding the leakage of privacy information.
Smart Images

Figure CN2025099407_11122025_PF_FP_ABST
Abstract
Description
Method and electronic device for displaying search results TECHNICAL FIELD
[0001] The present application relates to the terminal field, and in particular to a search display method and an electronic device. BACKGROUND
[0002] Intelligent search (or referred to as "global search") in a smart electronic device (such as a smart phone, a smart tablet, a smart television) can quickly search for content in the electronic device itself or connected to the network. For example, when a user slides a finger downward in any area of the main interface of the phone, the user can enter a search state and search for content including pictures, memos, local files, contacts, settings, online information, and the like, which is convenient and fast.
[0003] However, as users pay more and more attention to privacy, when the user uses the search function in a public place, the user does not want others to see the search content. There is a lack of a convenient method to protect the private information involved when the user uses the search function, which cannot meet the user's privacy security and personalized needs, and affects the user experience. SUMMARY
[0004] Embodiments of the present application provide a search display method and an electronic device, which can display the search results of an application specified by a user in different display modes, can meet the user's privacy security and personalized needs, and improve the user experience.
[0005] In a first aspect, embodiments of the present application provide a search display method, including: in response to a search operation, obtaining search results of one or more applications; obtaining a first identifier according to a first application package name and a preset mapping relationship, wherein the preset mapping relationship is a mapping relationship between the first application package name and the first identifier, and the one or more applications include the first application; determining a first display mode of the search results of the first application according to the first identifier; and displaying the search results of the first application in a first display interface according to the first display mode.
[0006] Based on the method provided in the embodiments of the present application, the electronic device obtains the search results related to a search keyword in one or more applications in an intelligent search application interface, obtains a search result fuzzy display identifier from a preset mapping relationship between an application package name and the search result fuzzy display identifier according to the package name of the one or more applications, confirms a display mode according to the search result fuzzy display identifier, and displays the search results of the one or more applications in a search result interface of the intelligent search application according to the obtained display mode.
[0007] Specifically, the user configures the search result blur display function of the gallery application in the search result hiding configuration interface of the smart search application, the smart search application sets the search result blur display identifier of the gallery application to true, and saves the package name of the gallery application in association with the identifier. The user inputs a search keyword in the smart search application and triggers a search operation, in response to the search operation, the smart search application searches the content of the gallery application, the memo application and other applications in the background, and obtains the search results related to the search keyword in each application. After obtaining the search results of the gallery application, the value of the search result blur display identifier is obtained according to the mapping relationship between the gallery package name and the search result blur display identifier. Since the search result blur display identifier corresponding to the gallery application is true, the smart search application determines the search results of the gallery application to be displayed in a blur processing manner according to the value of the identifier, and finally displays the search results of the gallery application in the search result interface in a blur processing manner. It can be understood that the display in a blur processing manner means that the content of the search result is processed (such as processed by a mask, mosaic and the like), and the content is not directly displayed. For convenience of description, the description of the "blur processing display manner" will be described as "blur display manner" below. Through the above manner, the user can very conveniently control the content display manner of each application in the search results. For the search results involving privacy, the content thereof can be displayed in a blur display manner through configuration, thereby protecting the privacy of the user and improving the user experience.
[0008] In a possible implementation, the method further includes: displaying a first control in the first display interface, the first control being used to control the display manner of the search results of the first application.
[0009] Based on the method provided in the embodiments of the present application, the electronic device displays the search results of the gallery application in the first display interface of the search result interface of the smart search application in a first display manner, and further displays a first control in the first interface, which is used to control the display manner of the search results of the gallery application in the first display interface.
[0010] Specifically, the electronic device can display the first control in the search result interface of the smart search application in different manners. For example, the first control is displayed in the search result area of the gallery application in the first display interface of the smart search application, and the control is associated with the gallery application, and the first control can only control the display manner of the search result of the gallery application. For another example, the first control is displayed in the upper area of the search result of all applications in the first display interface of the smart search application, and the control is not associated with a certain application in the search result interface, and the first control can control the display manner of all applications in the search result interface. Through the above manners, the electronic device provides a method for the user to control the display manner of each application in the search result interface, and improves the operation experience of the user.
[0011] In a possible implementation, the method further includes: detecting a second operation acting on the first control, obtaining a second display manner of the first application; and displaying the search result of the first application according to the second display manner in the first display interface in response to the second operation, wherein the second display manner is different from the first display manner.
[0012] Based on the method provided in the embodiments of the present application, the electronic device detects that the user clicks the first control in the smart search interface, obtains the second display manner of the search result of the gallery application, for example, the first display manner is the blurred display manner, and the second display manner can be the normal display manner, that is, the second display manner is different from the first display manner; in response to the click operation of the user, the search result of the gallery application originally displayed in the blurred display manner in the search result interface of the smart search application is displayed in the second display manner, that is, the normal display manner, and the user can view the search result of the gallery application in this display manner.
[0013] In the implementation, the first control can be a control of different types, such as a switch control. For example, when the switch control is in a gray state, it indicates that the search result is displayed in the blurred display manner; for another example, when the switch control is in a bright state, it indicates that the search result is displayed in the normal display manner. Through the above manners, the user can quickly and conveniently operate the display manner in the search result, protect the privacy of the user, provide an effective viewing manner, and improve the search experience of the user.
[0014] In a possible implementation, the search result of one or more applications other than the first application is further displayed on the first display interface.
[0015] Based on the method provided in the embodiments of the present application, in the search result interface of the smart search application, not only the applications such as the gallery application configured with the search result fuzzy display identifier are displayed, but also the search results of other applications not configured are displayed. For example, although the local file application does not configure the corresponding configuration item, the search result of the local file application is still displayed in the search result interface. In this way, the user can view the search results of all applications, and the search results of the applications that do not need to be displayed in the fuzzy display mode are displayed in the normal mode, so that the user privacy is protected, the user can view the non-private content without being affected, and the search experience of the user is improved.
[0016] In a possible implementation, determining the first display mode of the search result of the first application includes: determining the first display mode of the search result of the first application according to the first application package name and a preset second mapping relationship, where the preset second mapping relationship is a mapping relationship between the first application package name and the first preset scene.
[0017] Based on the method provided in the embodiments of the present application, the electronic device further determines the first display mode of the search result of the application according to the mapping relationship between the application package name and the first preset scene.
[0018] Specifically, the user can enter the whitelist configuration interface corresponding to each application in the search result hiding configuration interface. In the whitelist configuration interface, the user can configure the mapping relationship between the application package name and the preset scene for different scenes. When the search result of the application exists in the search result of the smart search, the current scene of the mobile phone can be determined according to the relationship between the application package name and the preset scene, whether the preset scene is met, and the display mode of the search result of the application is obtained according to the met condition. In this way, the user can specify the whitelist scene, and the search result is displayed in the normal display mode in the specific scene, so that the user can avoid frequently searching in a non-public scene and constantly controlling the display result through the search result switch control, and the user experience is improved.
[0019] In a possible implementation, determining the first display mode of the search result of the first application according to the first application package name and a preset second mapping relationship includes: obtaining the first preset scene corresponding to the first application package name, the first preset scene including a preset geographical location; obtaining the geographical location of the first electronic device; determining whether the distance between the geographical location of the first electronic device and the preset geographical location is less than or equal to a first distance, and determining the first display mode of the search result of the first application.
[0020] Based on the method provided in the embodiments of the present application, the electronic device can obtain a preset geographical position corresponding to the application package name according to the application package name, the geographical position can be a POI (Point of Interest), in a geographic information system, a POI can be a house, a shop, a mailbox, a bus stop, etc.), and obtain the current address position of the electronic device. It is determined whether the distance between the current geographical position of the electronic device and the preset geographical position is less than or equal to the first distance, and the first display mode of the search result of the first application is determined.
[0021] Specifically, the user can add a geographical position strategy in the gallery application whitelist scene configuration, for example, the configured geographical position is a certain community, which can be a community for living, and the positions within 1 kilometer from the community are configured to be within the whitelist scene. When the position of the user's mobile phone is within 1 kilometer from the community POI, the user will obtain the search result of the corresponding gallery application in the intelligent search application according to the search keyword, and the search result will be displayed in a normal display mode; when the position of the user's mobile phone is outside 1 kilometer from the community POI, the user will obtain the search result of the corresponding gallery application in the intelligent search application according to the search keyword, and the search result will be displayed in a blurred display mode. Through the above mode, the user can set a specific geographical position, such as a non-public place, that is, the search result can be normally displayed, which facilitates the operation of the user.
[0022] In a possible implementation, according to the first application package name and the preset second mapping relationship, the first display mode of the search result of the first application further includes: obtaining a first preset scene corresponding to the first application package name, the first preset scene including a preset WIFI name; obtaining a WIFI name connected by the first electronic device; determining whether the WIFI name connected by the first electronic device is consistent with the preset WIFI name, and determining the first display mode of the search result of the first application.
[0023] Based on the method provided in the embodiments of the present application, the electronic device can obtain a preset WIFI name corresponding to the application package name according to the application package name, and obtain the current WIFI name connected by the electronic device. It is determined whether the WIFI name connected by the electronic device and the preset WIFI name are consistent, and the first display mode of the search result of the first application is determined.
[0024] Specifically, the user can add a WIFI name strategy in a gallery application whitelist scene configuration, for example, a configured WIFI is WIFI_HOME. When the user's mobile phone is connected to WIFI_HOME, the user obtains the search result of the corresponding gallery application according to a search keyword in the smart search application, and the search result is displayed in a normal display mode. When the user's mobile phone is connected to a WIFI that is not WIFI_HOME, it is indicated that the WIFI is not in a private environment, and the user obtains the search result of the corresponding gallery application according to a search keyword in the smart search application, and the search result is displayed in a blurred display mode. In this way, the user can set a specific WIFI name, and the search result can be normally displayed in a specified non-public place, which facilitates the operation of the user.
[0025] In a possible implementation, the determining the first display mode of the search result of the first application further includes: determining the first display mode of the search result of the first application according to a third preset mapping relationship between the first application package name and the first preset content, where the third preset mapping relationship is a mapping relationship between the first application package name and the first preset content.
[0026] Based on the method provided in the embodiments of the present application, the electronic device further determines the first display mode of the search result of the application according to the mapping relationship between the application package name and the first preset content.
[0027] Specifically, the user can enter the whitelist configuration interface of each application in the search result hiding configuration interface. In the whitelist configuration interface, the user can configure the mapping relationship between the application package name and the preset content. When the search result of the application exists in the search result of the smart search, whether the content in the current search result matches the preset content can be determined according to the relationship between the application package name and the preset content, and the display mode of the search result of the application is obtained according to the matching condition. In this way, the user can specify the whitelist content, and the specific content in the search result is displayed in a normal display mode, which improves the personalized search experience of the user while ensuring the privacy and security of the user.
[0028] In a possible implementation, the determining the first display mode of the search result of the first application according to the third preset mapping relationship between the first application package name and the first preset content includes: obtaining a first content of the search result of the first application; obtaining a first preset content corresponding to the first application package name; and determining a first display mode of the first content according to the relevance between the first content and the first preset content.
[0029] Based on the method provided in the embodiments of the present application, the electronic device can obtain the first content in the search result of the application, obtain the preset content corresponding to the application package name according to the application package name, and determine the first display mode of the first application according to the relevance between the first content and the preset content.
[0030] Specifically, the user can add a whitelist content policy of "picture category" being "landscape" in the gallery application whitelist content configuration, such as uploading a landscape photo or a video of pure landscape content. After the addition is completed, the system identifies the whitelist category, such as text, picture, video, and the like, calls a multi-modal model according to the configured whitelist content, and generates a content vector corresponding to the whitelist content. If the user uploads a photo, the content of the photo is generated into a vector corresponding to the photo through the multi-modal model; if the user configures text, a corresponding text vector is generated. The generated vector information is associated with the application and saved in a whitelist content policy table. In the search box of the smart search application, a search keyword is input to initiate a search operation, and a search result corresponding to the picture application containing the search keyword is searched. Pictures in the picture search result are sequentially traversed, and vector information corresponding to the gallery application in the whitelist content policy table is found for matching. If similar vectors are matched, the picture is displayed in a normal display mode. Through the above method, the user can specify the whitelist content. The content related to the whitelist content is considered to be non-private content and can be normally displayed, which facilitates the user to obtain non-private information.
[0031] In a possible implementation, the first application is an application added by the user on the first configuration interface.
[0032] Based on the method provided in the embodiments of the present application, the user can add a custom application in the search result application configuration interface of the smart search application. The user can not only search for pre-installed applications, but also add custom applications, so as to configure the display mode of the search result of the custom application, expand the search range, and also ensure the privacy security of the private application in the search scenario, thereby improving the user experience.
[0033] In a possible implementation, the first application is an application installed on a second electronic device connected to the first electronic device.
[0034] Based on the method provided in the embodiments of the present application, the user can display the search result of the other electronic device connected to the electronic device on the electronic device, confirm the first display mode according to the application associated with the search result and the package name of the application, and display the search result of the other device on the first display interface according to the first display mode.
[0035] Specifically, the user can connect other devices to the electronic device in a manner such as a distributed system. In the search result display interface of the smart search of the electronic device, a search tab page of other devices is displayed. When the search tab page of other devices is clicked, the search result of the other devices is displayed. For example, when the search tab page of other devices is selected in the search result interface of the smart search application, the search result interface displays the search result of the other devices including the email application, the gallery application and the local file application. Since the gallery application is configured with the search result fuzzy display function, the search result of the gallery application is displayed in the fuzzy display manner. It can be understood that the search result fuzzy display function configured in the gallery application of the other devices can be configured on the other devices or on the electronic device. If the search result fuzzy display function is configured on the other devices, the search result fuzzy display identifier can be sent to the electronic device. In the above manner, the electronic device can not only display the search result of the local device in the fuzzy display manner, but also display the search result of the other devices connected to the local device in the fuzzy display manner, thereby protecting the privacy of the other devices and further improving the search experience of the user.
[0036] In a possible implementation, the method further includes: connecting a third electronic device; and sending a first message to the third electronic device, the first message including the search result of the first application, the search result of the first application being used by the third electronic device to display on a second display interface according to a first display manner, wherein the second display interface is a specified area on a screen of the third electronic device.
[0037] Based on the method provided in the embodiments of the present application, the electronic device projects the search result to a third electronic device connected to the electronic device. When the third electronic device is connected to the electronic device, the electronic device sends a first message to the third electronic device, wherein the first message includes the search result of the first application. The third electronic device displays the search result of the first application on a specified area on the third electronic screen on the second display interface of the third electronic device according to the received search result of the first application. In the above manner, in the projection occasion, the user can use the smart search to only publicly display the content of the local file, and the content such as the picture application and the memo application related to the privacy of the user will not be seen by others, thereby effectively protecting the privacy of the user and improving the experience of the user.
[0038] In a possible implementation, the method further includes: displaying the search result of the first application on the first display interface according to a second display manner, wherein the second display manner is different from the first display manner.
[0039] Based on the method provided in the embodiments of the present application, when the electronic device is performing screen projection, the electronic device is actually in a relatively private environment, and therefore the search result of the gallery application is displayed in a blurred display manner on the device performing screen projection, and the search result of the gallery application is displayed in a normal manner on the screen of the electronic device. In this way, the user can normally use the search result on the electronic device, and the search result is displayed in a blurred display manner on the device performing screen projection, which facilitates the user to operate the electronic device and improves the user experience.
[0040] In a possible implementation, the first message includes a first display manner, where the first display manner is determined by the first electronic device according to the device type of the third electronic device.
[0041] Based on the method provided in the embodiments of the present application, when the screen of the electronic device is projected to another device, the first message sent to the other device includes a first display manner, where the first display manner is determined by the electronic device according to the device type of the connected device.
[0042] Specifically, in the search result interface of the electronic device, the gallery application displays the search result in a blurred display manner, and the electronic device is projected to a tablet device and a television device respectively. The electronic device obtains the display manner of the connected device type according to the relationship between the connected device type and the first display manner. For the tablet device, the search result of the gallery application is displayed in a normal manner; and for the television device, the search result of the gallery application is displayed in a blurred display manner. Optionally, the user can configure the relationship between the display manner and the device type to achieve the above message. It can be understood that the mobile phone can be projected to different devices, and the type of the device performing screen projection is not limited in the present application. In this way, the user can set different display manners for the screen projection of different electronic devices, for example, in a scenario where there is a large-screen display device in a conference room, the search result is displayed in a blurred display manner, which improves the user experience.
[0043] In a second aspect, the embodiments of the present application provide an electronic device having the functions of implementing the method of the first aspect and any possible implementation thereof. The functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0044] In a third aspect, the present application provides a computer readable storage medium including computer instructions. When the computer instructions run on an electronic device, the electronic device executes the method as described in the first aspect and any possible implementation thereof.
[0045] In a fourth aspect, the present application provides a computer program product, which, when executed on a computer, causes the computer to perform the method according to the first aspect and any possible implementation thereof.
[0046] In a fifth aspect, the present application provides a chip system, which comprises one or more interface circuits and one or more processors. The interface circuits and the processors are interconnected by wires. The chip system can be applied to an electronic device comprising a communication module and a memory. The interface circuit is configured to receive a signal from the memory of the electronic device and send the received signal to the processor, the signal comprising computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device can perform the method according to the first aspect and any possible implementation thereof. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0048] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application.
[0049] FIG. 2 is a software structure block diagram of an electronic device according to an embodiment of the present application.
[0050] FIG. 3 is a display schematic diagram according to an embodiment of the present application.
[0051] FIG. 4 is another display schematic diagram according to an embodiment of the present application.
[0052] FIG. 5 is another display schematic diagram according to an embodiment of the present application.
[0053] FIG. 6 is another display schematic diagram according to an embodiment of the present application.
[0054] FIG. 7 is another display schematic diagram according to an embodiment of the present application.
[0055] FIG. 8 is another display schematic diagram according to an embodiment of the present application.
[0056] FIG. 9 is a system module diagram according to an embodiment of the present application.
[0057] FIG. 10 is a method flow diagram according to an embodiment of the present application.
[0058] FIGS. 11A-D are a set of method flow diagrams according to an embodiment of the present application.
[0059] FIG. 12A-H are a set of display diagrams in a multi-device projection scenario, according to embodiments of the present disclosure.
[0060] FIG. 13 is a display diagram in a distributed scenario, according to embodiments of the present disclosure.
[0061] FIG. 14 is another method flow diagram, according to embodiments of the present disclosure.
[0062] FIG. 15 is a diagram of a device apparatus, according to embodiments of the present disclosure. DETAILED DESCRIPTION
[0063] The technical solutions in the embodiments of the present disclosure will be described below with reference to the drawings in the embodiments of the present disclosure. The terms used in the following embodiments are only for the purpose of describing the specific embodiments and are not intended to be limiting of the present disclosure. As used in the specification and the appended claims of the present disclosure, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “at least one of’ or “one or more of’ when used in the following embodiments refers to one, two, or more than two. The term “and / or” is used to describe an association between associated objects, which means that there can be three kinds of relationships; for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character “ / ” generally represents an “or” relationship between the associated objects.
[0064] In this specification, the phrase “one embodiment” or “some embodiments” etc. means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases “in one embodiment”, “in some embodiments”, “in other some embodiments”, “in yet other embodiments”, etc. in various places in the specification are not necessarily all referring to the same embodiment, unless otherwise specifically noted. The terms “comprise”, “include”, “have” and their conjugates, mean “including but not limited to”, unless otherwise specifically noted.
[0065] Embodiments of electronic devices, user interfaces for such electronic devices, and associated processes for using such electronic devices are described below. In some embodiments, an electronic device can be a portable electronic device, such as a mobile phone, a tablet computer, a wearable electronic device (e.g., a smart watch) with wireless communication capabilities, etc. that also contains other functionality such as personal digital assistant and / or music player functionality. Exemplary embodiments of portable electronic devices include, but are not limited to, mobile phones manufactured by Apple Inc. under the trademark iPhone®, tablets manufactured by Apple Inc. under the trademark iPad®, and wearable electronic devices manufactured by Apple Inc. under the trademark Apple Watch®. or other operating systems. The portable electronic device can also be other portable electronic devices, such as a laptop, etc. It should also be understood that in some other embodiments, the electronic device can also not be a portable electronic device, but a desktop computer.
[0066] For example, FIG. 1 shows a structural schematic diagram of an electronic device 100. The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0067] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In some other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0068] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent components or integrated in one or more processors. In some embodiments, the electronic device 101 can also include one or more processors 110. Among them, the controller can generate operation control signals according to instruction operation codes and timing signals, complete the control of fetching instructions and executing instructions. In other embodiments, a memory can also be provided in the processor 110, used to store instructions and data. Exemplarily, the memory in the processor 110 can be a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. In this way, repeated access is avoided, the waiting time of the processor 110 is reduced, and thus the efficiency of the electronic device 101 in processing data or executing instructions is improved.
[0069] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. The USB interface 130 is an interface conforming to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transmit data between the electronic device 101 and a peripheral device. The USB interface 130 can also be used to connect a headset to play audio through the headset.
[0070] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 can also use different interface connection methods or a combination of multiple interface connection methods.
[0071] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 while also supplying power to the electronic device through the power management module 141.
[0072] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.
[0073] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive an electromagnetic wave by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic wave, and transfer the processed electromagnetic wave to the modem processor to be demodulated. The mobile communication module 150 can also amplify a signal modulated by the modem processor, and radiate the amplified signal as an electromagnetic wave through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.
[0074] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the received signal, and radiate the processed signal as an electromagnetic wave through the antenna 2.
[0075] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.
[0076] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device 100 can include 1 or more display screens 194.
[0077] The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
[0078] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing to convert it into an image visible to the naked eye. The camera 193 is used to capture still images or videos. The digital signal processor is used to process digital signals, which can not only process digital image signals but also process other digital signals. The video codec is used to compress or decompress digital videos. The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to realize the expansion of the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, music, video, etc. files are saved in the external memory card.
[0079] The internal memory 121 can be used to store one or more computer programs including instructions. The processor 110 can cause the electronic device 101 to perform the methods provided by some embodiments of the present application, as well as various applications and data processing, etc., by running the above-mentioned instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, and can also store one or more applications (such as a gallery, contacts, etc.) and the like. The data storage area can store data created during use of the electronic device 101 (such as photos, contacts, etc.) and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, the processor 110 can cause the electronic device 101 to perform the methods provided by embodiments of the present application, as well as other applications and data processing, by running instructions stored in the internal memory 121 and / or instructions stored in a memory disposed in the processor 110. The electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, an application processor, etc. For example, music playback, recording, etc.
[0080] The sensor module 180 can include a pressure sensor 180A, a gyro sensor 180B, a barometric sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0081] FIG. 2 is a software structure block diagram of the electronic device 100 according to an embodiment of the present application. A layered architecture divides software into several layers, each of which has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, application layer, application framework layer, Android runtime and system library, and kernel layer. The application layer can include a series of application packages.
[0082] As shown in FIG. 2, the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0083] The application framework layer provides an application programming interface (API) and a programming framework for the applications APP of the application layer. The application framework layer includes some predefined functions.
[0084] As shown in FIG. 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0085] The window manager is used to manage window programs. The window manager can acquire the size of a display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
[0086] The content provider is used to store and acquire data, and make the data accessible to applications. The data can include videos, images, audios, dialed and received calls, browsing history and bookmarks, phone books, etc.
[0087] The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, etc. The view system can be used to build an application. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0088] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of a call state (including call connection, call hang-up, etc.).
[0089] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0090] The notification manager enables an application to display notification information in a status bar. The notification manager can be used to convey a message of the notification type, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the completion of a download, a message reminder, etc. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the top status bar of the system, such as a notification of an application running in the background, or a notification in the form of a dialogue window appearing on the screen. For example, a text information is prompted in the status bar, a prompt sound is emitted, the electronic device is vibrated, an indicator light flashes, etc.
[0091] The system library can include a plurality of functional modules. For example: a surface manager, media libraries, a three-dimensional graphics processing library (for example: OpenGL ES), a 2D graphics engine (for example: SGL), etc.
[0092] The surface manager is used to manage the display subsystem and provides 2D and 3D layer fusion for multiple applications.
[0093] The media library supports playback and recording of multiple commonly used audio, video formats and static image files, etc. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG and PNG, etc.
[0094] The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis and layer processing, etc.
[0095] The 2D graphics engine is a drawing engine for 2D drawing.
[0096] The kernel layer is a layer between hardware and software. The kernel layer at least includes display drivers, camera drivers, audio drivers, sensor drivers.
[0097] FIG. 3 is a schematic diagram of an application scenario of using a smart search APP (or called "global search") in a current mobile phone. As shown in FIG. 3, a user can slide down with a finger in any area of the main interface of the mobile phone to enter the smart search interface 331. In the smart search interface 331, a search input box control 332 and a search control 334 can be included. The user inputs a search keyword 2023 in the search input box control 332 and clicks the search control 334 to perform a search operation. In response to the user clicking the search control 334, the search result 333 is displayed in the smart search interface S331. The search result includes the search result of the keyword 2023 in the photo gallery APP, the memo APP and the local file APP. For example, the 2023 landscape picture and the 2023 receipt picture searched in the photo gallery APP. Of course, the search result can also include the search result of the APP set in the search range interface 321, but does not include the search result of the APP not set.
[0098] The above process shows the search process of using the smart search APP in the mobile phone. As shown, the user can quickly find the content of the current mobile phone (including the photo gallery APP, the memo APP, the local file APP, etc.), but at the same time of facilitating the user to use, it also causes the risk of privacy leakage, such as the receipt picture 1 of 2023 in the photo gallery search result in the search result 333. Especially in the conference projection or in the subway and other public places, it is easy to leak the information that the user does not want to show to other users.
[0099] Based on the above problem, the embodiment of the present application provides a search display method. In order to facilitate understanding, taking the electronic device as a mobile phone as an example, the search display method provided by the embodiment of the present application is specifically introduced in combination with the drawings.
[0100] As shown in (a) of FIG. 4, in the main interface 400 of the mobile phone, in response to the user clicking the area corresponding to the setting APP 401, the user can enter the setting interface to set the system of the mobile phone, as shown in (b) of FIG. 4. In the setting interface 410, the intelligent search configuration item 411 is included, in response to the user clicking the area corresponding to the intelligent search configuration item 411, the user can enter the setting interface of the intelligent search to set the intelligent search, as shown in (c) of FIG. 4. In the intelligent search interface 420, in addition to including the existing commonly used setting item, the real-time hot spot setting item, the search history setting item, and the search range setting item, the search result hiding setting item (also referred to as the search result fuzzy display setting item) 421 is also included, and the user can configure the APPs that need to hide the search results through the search result hiding setting item 421. In response to the user clicking the area 421 corresponding to the search result hiding setting item, as shown in (d) of FIG. 4, the mobile phone can display the search result hiding setting interface 430. In the search result hiding setting interface 430, a plurality of search result hiding setting controls (also referred to as search result fuzzy display setting controls) corresponding to APPs can be included, such as the search result hiding setting control 431 corresponding to the gallery APP. Among them, when the search result hiding setting control 431 is in a gray state, it indicates that the APP corresponding to the search result hiding setting control 431 does not open the search result hiding function, that is, the gallery APP searches for the results corresponding to the keywords under the intelligent search function, which will be displayed in the search display interface of the intelligent search; when the search result hiding setting control 431 is in a bright color state, it indicates that the APP corresponding to the search result hiding setting control 431 opens the search result hiding function, that is, the gallery APP searches for the results corresponding to the keywords under the intelligent search function, which will be displayed in the search display interface of the intelligent search in a fuzzy processing display manner, prompting the user that the content related to the search keywords is searched in the gallery APP, but the user cannot view the search results of the gallery APP. It can be understood that the fuzzy processing display manner is similar to the technical implementation of the mask layer processing display manner, in order to facilitate description and understanding, the following description of the "fuzzy processing display manner" can be described in the form of fuzzy or mask layer display, it can be understood that in the present application, the fuzzy display and the mask layer display can be replaced. In response to the user clicking the area corresponding to the search result hiding setting control 431, the search result hiding setting control 431 changes from the gray state to the bright color state, as shown in (e) of FIG. 4. In the search result hiding setting interface 440, with the opening of the search result hiding function corresponding to the gallery APP, the white list configuration control 441 will be displayed in the area corresponding to the gallery APP, and the white list information of the corresponding APP can be set through the white list configuration, that is, the content that does not need to be hidden is set, and for example, the search results within the range of the set white list configuration information are displayed in a normal manner.It can be understood that the user can set different APPs under the interface 440 according to the search demand of the user, and the application does not make any limitation. For example, in the interface 440, the control 461 corresponding to the email APP is set to be highlighted, which indicates that the search result hiding function of the email APP is also opened.
[0101] In response to the user clicking the whitelist control 441, the whitelist configuration interface of the search result hiding setting of the gallery APP is displayed, as shown in (f) of FIG. 4. In the whitelist configuration interface 450 of the gallery APP, the whitelist scene configuration control 451 and the whitelist content configuration control 452 are included. Among them, the whitelist scene control 451 includes the settings of the connected WIFI and the geographical position, such as setting the connected WIFI as the whitelist scene, and the WIFI name is WIFI_HOME. It indicates that the search result hiding function of the gallery will be shielded when the mobile phone is connected to the WIFI with the WIFI name WIFI_HOME, which facilitates the user to view the search result in the home or other WIFI connected scene, and improves the user experience; the whitelist content control 452 includes the settings of the picture category and the picture name. The user can set the picture category of the landscape or set the picture name (such as desert landscape). When the picture in the search result of the gallery is the sea landscape or the name of the picture includes the desert landscape, these pictures will be directly displayed, and the pictures set in the whitelist will be displayed in a blurred manner. Of course, the whitelist setting also supports the configuration of other content forms, including the configuration of text, picture, video and other file formats, which are not limited by the application. The display process of the specific whitelist configuration will be described in detail in the following in combination with the related search scene, and will not be repeated here.
[0102] Optionally, the whitelist content configuration also supports configuration through uploading files. For example, the user can upload pictures, and the uploaded pictures will be vector analyzed to obtain vector results. The pictures in the search result are matched with the vector results, and if the pictures in the search result are successfully matched with the analyzed vector of the uploaded file, the pictures in the search result can be displayed. Of course, multiple file formats can be supported, in addition to pictures, text or video formats are also supported, and the application does not make any limitation on the file format.
[0103] After the user sets the search result hiding setting item, as shown in (a) of FIG. 4, the user can return to the home interface 400 of the mobile phone, and in response to the user sliding the finger downward in any area of the home interface of the mobile phone, enter the smart search interface 460, as shown in (g) of FIG. 4. In the smart search interface 460, there are an input box control 461, a search control 462, a search history control 463, and a "guess you want to search" control 464. Among them, the "search history" control displays the user's historical search keywords; the "guess you want to search" control displays the search keywords recommended by the smart search to the user, which can be the search keywords that the user is interested in according to the user's historical search. The user can click the keywords in the search history control 463 and the "guess you want to search" control 464 to perform a quick search. For example, the user can click "historical keyword 1", and "historical keyword 1" will be displayed in the input box control 461 and automatically trigger a search operation. The user can also input the search keyword "2023" in the input box control 461 and click the search control 462 to perform a search operation. It can be understood that the present application does not limit the way the user inputs the keyword.
[0104] In response to the user clicking the search control 462, the smart search APP searches for the keyword "2023", and displays the search results in the smart search result interface, as shown in (h) of FIG. 4. In the smart search result interface 470, the results matching the search keyword "2023" in the gallery APP, the memo APP, and the local file APP in the local machine are displayed. Since the gallery APP is configured to be hidden in the search result hiding configuration interface, the search results of the picture APP are displayed with a mask layer, as shown in the mask layer in the interface 470. The 2023 landscape pictures and 2023 receipt pictures searched in the picture APP are covered by the mask layer control 472 and the search content cannot be seen. Of course, it can be understood that when the mask layer is displayed, the mask layer style can be displayed in different ways, such as a gray mask layer or a mosaic mask layer, and the present application does not limit the mask layer style. Through the above operation, the user can set the search result protection when performing smart search (or global search) in a public place, especially in a meeting or in a place where the mobile device screen is easily seen by others. Unlike the operation of directly hiding the search results, through the above operation, the user can be effectively informed that there are search results corresponding to the keyword in a certain APP, and the user can view the search results involving personal privacy through other ways.
[0105] It can be understood that the user can operate the search result hiding setting controls of multiple APPs in the search result hiding setting interface to open the search result hiding functions corresponding to the multiple APPs. As shown in (e) of FIG. 4, the user opens the search result hiding functions corresponding to the gallery APP and the email APP in the search result hiding setting interface 440. In this configuration, the user performs a search for the keyword "2023", and the search result related to the search keyword "2023" is searched in both the gallery APP and the email APP, and then the search result of the gallery APP and the search result of the email APP are respectively subjected to the lamination display processing in the smart search result interface 470. In this way, the user can flexibly configure the APPs that need to be lamination displayed, different users can configure different APPs, and the search experience of the user is improved.
[0106] In addition, in order to facilitate the user to view the content displayed by the mask, the search result interface of the smart search APP also provides a method of removing the mask by clicking the switch control to display the search results hidden by the mask, as shown in (I) of FIG. 4. In the smart search result interface 480, the switch control 481 corresponding to the gallery APP is included, and the switch control 481 is used to control whether the mask of the gallery APP is displayed. When the switch control 481 is in a gray state, it means that the search results of the APP corresponding to the switch control are displayed in the form of a mask, providing privacy protection for the user; when the switch control 481 is in a bright state, it means that the search results of the APP corresponding to the switch control are displayed in a normal manner, and the user can view the search results of the corresponding APP in a private scenario (such as when no one around can see the screen, or in a private space). In response to the user clicking the switch control 481 corresponding to the gallery APP, the mask of the gallery APP is removed, and at this time in the smart search result interface 480, the search results of the gallery APP corresponding to the search keyword "2023" are displayed: 2023 landscape 1 and 2023 mobile phone picture 1. It can be understood that the user can continue to operate the mask control 481, and in response to the user continuing to click the switch control 481 corresponding to the gallery APP, the control 481 switches from the bright state to the gray state, at this time in the smart search result interface 480, the smart search APP will display the gallery APP in the form of a mask, and the user can continue to display the mobile phone screen in a public place, without the risk of privacy leakage. Of course, the switch control is not only in the picture APP, as shown in (e) of FIG. 4, the user opens the search result hiding function corresponding to the gallery APP and the email APP in the search result hiding setting interface 440, and the search keyword related content is searched in the gallery APP and the email APP. APP, then in the smart search result interface, the switch control corresponding to the gallery APP and the email APP will be displayed respectively. The user can also operate the switch control for different APPs, such as viewing the search results of the gallery APP, but the search results of the email APP are still displayed in the form of a mask. Through the above operation, the user can quickly and conveniently display and remove the mask in the search results, protect the user's privacy, provide an effective viewing method, and improve the user's search experience.
[0107] Optionally, in order to facilitate the operation of the user, the switch control also provides another operation mode. As shown in (a) of FIG. 5, the intelligent search result interface 500 includes a switch control 501, which is used to control the display mode of all APP overlays in the search interface. When the switch control 501 is in the gray state, it indicates that the search results corresponding to the search result hiding function APP in the intelligent search result interface 500 are displayed in the form of an overlay. For example, in the intelligent search result interface 500, the gallery APP and the memo APP open the search result hiding function, and the search results of the gallery APP and the memo APP are displayed in the form of an overlay. Here, the local file APP does not open the search result hiding function, so the APP is not controlled by the control 501. When the switch control 501 is in the bright state, it indicates that the search results corresponding to the search result hiding function APP in the intelligent search result interface 500 are displayed in the normal mode. In response to clicking the control 501, the control 501 is in the bright state, and the search results of the gallery APP and the memo APP in the intelligent search result interface are displayed in the normal mode, as shown in (b) of FIG. 5. In the intelligent search result interface 510, the switch control 501 is switched from the gray state to the bright state, and the intelligent search APP removes the overlay on the search results of the gallery APP and the memo APP. The user can view the search results of multiple APPs through one operation. It can be understood that the user can continue to click the control 501, and the control 501 is switched from the bright state to the gray state, as shown in (c) of FIG. 5. In the intelligent search result interface 520, the intelligent search APP performs overlay display processing on the gallery APP and the memo APP. The user can continue to display the mobile phone screen in a public place, without the risk of privacy leakage. Through this method, the user does not need to operate a certain APP separately, and can easily complete the display of the search results through one operation. When the user moves from a public place to a private place, this method provides an efficient and fast operation for the user to view the search content, and improves the user experience.
[0108] In a possible design, the user can configure the overlay display of the APP that has opened the search result hiding function. For example, as shown in (a) of FIG. 6, in the search result hiding setting interface 600, the search result hiding setting control 601 corresponding to the gallery APP is in the bright state, and the white list configuration control 602 is displayed in the corresponding area. The white list configuration can be used to configure the overlay display of the gallery APP. In response to clicking the white list configuration control 602, the white list setting interface of the gallery APP is displayed, as shown in (b) of FIG. 6. In the white list setting interface 610 of the gallery APP, the white list scene setting control 611 and the white list content setting control 612 are included,
[0109] In the whitelist scene control 611, a whitelist scene display control 613 and a whitelist scene adding control 614 are included. In the whitelist scene display control 613, the configured whitelist scene content is displayed, including a connected WIFI setting scene and a geographic location scene. For example, if the connected WIFI is set as the whitelist scene and the WIFI name is WIFI_HOME, it indicates that the search result hiding function of the gallery is shielded when the phone is connected to the WIFI with the name WIFI_HOME, facilitating the user to view the search result in the home or other connected WIFI scene. If the geographic location scene is set, it is determined whether the geographic location of the phone is within the preset range of the whitelist set geographic location. If it is within the preset range, the search result hiding of the gallery is shielded, facilitating the user to view the search result in a specified place. It can be understood that the user can edit the whitelist scene. For example, the user can click the whitelist scene adding control 614. In response to the user clicking the control 614, the user can select different scenes (such as WIFI, geographic location, etc.) to add corresponding scene information. It can be understood that different APPs can be set with APP corresponding whitelist scenes, to facilitate the user to set different whitelist scene rules for different APP devices. Through the whitelist scene control, the user can conveniently customize the display of the search result for different scenes, improving the user experience. Of course, the scene setting also supports other scene configurations, which are not limited in the present application.
[0110] In the whitelist content control 612, a whitelist scene display control 615 and a whitelist scene adding control 616 are included. In the whitelist scene display control 615, the configured whitelist content information is displayed, such as including the picture category and the picture name. Taking the picture category as an example, the "landscape" is currently configured. If the picture searched in the picture APP is a picture of the landscape category, it is considered that the category picture does not need to be displayed with a mask, and the picture will be directly displayed on the search result interface of the smart search, and the user can directly see the content of the picture. Taking the picture name as an example, the "sea landscape" and "sports" are currently configured. If the picture name searched in the picture APP includes "sea landscape" or "sports", it is considered that the category picture does not need to be displayed with a mask, and the picture will be directly displayed on the search result interface of the smart search, and the user can directly see the content of the picture. It can be understood that the user can edit the whitelist content, such as the user can click the whitelist content adding control 616, and in response to the user clicking the control 616, the user can select different content (such as picture category, picture name, etc.) to add corresponding content information. It can be understood that different APPs can be set with APP corresponding whitelist content to facilitate the user to set different whitelist content rules for different APP devices. Through the whitelist content control, the user can conveniently customize the display of the search result for different content, and the user experience is improved. Of course, the content setting also supports other content configuration, which is not limited in the present application.
[0111] After the user sets the search result hiding setting item, the user can return to the home interface 400 of the mobile phone, as shown in (a) of FIG. 4, and in response to the user, can slide the finger downward in any area of the home interface of the mobile phone to enter the smart search interface, as shown in (g) of FIG. 4. The search keyword "2023" is input in the input box control, and the search control is clicked to perform a search operation, and in response to the user clicking the search control, the smart search APP searches the keyword "2023", and the search result is displayed in the smart search result interface, as shown in (c) of FIG. 6. In the smart search result interface 620, the searched scenery 1 picture 621 can be directly displayed because its picture type can match the "scenery" category under the picture type in the gallery whitelist type, and the picture 622 that cannot match the whitelist rule is still displayed in a manner of a mask. It can be understood that in the case of setting the whitelist configuration, the user can still click the switch control 623 to remove or display the mask, and in response to clicking the switch control 623 corresponding to the gallery APP, the control 623 is switched from the gray state to the bright state, and the smart search APP will display the picture 622 displayed in a manner of a mask in the search result of the gallery APP, as shown in (d) of FIG. 6. In the smart search interface 630, the smart search APP displays the income picture 631 in the gallery APP. Of course, the user can continue to click the switch control to continue to display the income picture 631 in a manner of a mask, as shown in (e) of FIG. 6. Through the above manner, the user can very conveniently control the content display in the APP, and for the search result involving privacy, it can be displayed in a manner of blur processing through configuration, thereby improving the user experience.
[0112] In a possible design, the user can display more search results through a pull-down control in the search result display interface. For example, if there are search results that do not match the whitelist scenario or content in the more search results, the search results that do not match the whitelist scenario or content are displayed in a latticed manner while being displayed in the pull-down. As shown in (a) of FIG. 7, the intelligent search result interface 700 includes a pull-down control 701 in the gallery APP display area, and the pull-down control 701 is used to display more search results in the gallery APP. In response to the user clicking the pull-down control 701, more search results are displayed in the gallery APP display area, as shown in (b) of FIG. 7. In the intelligent search result interface 710, in addition to the existing landscape 1 picture and the picture 713 displayed in a latticed manner, the picture 711 and the landscape 2 picture 714 are also displayed. Since the landscape 2 picture meets the configured whitelist content rule, it is normally displayed. The picture 713 does not meet the whitelist content rule and involves the user's private content, and therefore is displayed in a latticed manner. Of course, the user can also click the control 712 to hide more search results. It can be understood that the pull-down operation is only one method of displaying more search results. The user can also view more content through a sliding control, and the display manner is consistent with the effect of the pull-down manner, which will not be described herein. Through the above method, even if there are multiple search results in the APP, the user's privacy security can still be protected when the user's privacy is involved, and the user experience is improved.
[0113] In a possible design, the user can also add a custom APP to the search range of the smart search in the search result privacy setting interface. For example, the application 1 is added, and the smart search searches the content of the application 1 for the protected keyword, and displays the search result of the application 1 in the search result interface. As shown in (a) of FIG. 8, the search result privacy setting interface 800 includes a configuration control 801, which is used for the user to configure the custom APP. In response to clicking the control 801, the search result application configuration interface is entered, as shown in (b) of FIG. 8. In the search result application configuration interface 810, the Huawei Mall APP, the Huawei Music APP, the Huawei Video APP, and the applications 1-4 are included. The area where each application is located corresponds to an application configuration control. For example, the Huawei Music APP corresponds to the application configuration control 811, which is in a gray state, indicating that the application corresponding to the control will not appear in the search result privacy setting interface. The control 811 is in a bright state, indicating that the application corresponding to the control is displayed in the search result privacy setting interface, and the user can configure the search result fuzzy display of the application. In response to the user clicking the application configuration control 811, the Huawei Music APP is displayed in the search result privacy setting interface, as shown in (c) of FIG. 8. In the search result privacy setting interface 820, the name of the Huawei Music APP and the search result privacy setting control 821 corresponding to the Huawei Music APP are included, and the user can operate the control 821 to control the display of the search result of the Huawei Music APP in the smart search APP. Of course, the user can perform the same operation on other APPs, such as the name of the application 1 and the search result privacy setting control corresponding thereto in the interface 820. Through the above method, the user can conveniently add the required APP, and perform privacy protection on the search result content of the APP, while performing flexible search, the user's privacy is still protected, and the user experience is improved.
[0114] Optionally, the custom APP added by the user needs to provide an interface for the smart search APP to access, so that the smart search APP can search the content in the custom APP through the interface, and process the search content. The specific process of processing the search content can be referred to the related description in the foregoing description, and details are not described herein. It can be understood that the smart search APP can access the content of the custom APP in different ways. The interface access is only one of the access ways, and the access can also be performed through a bus or a message mechanism, which is not limited in the present application.
[0115] The specific implementation of the search display method provided by the embodiment of the present application is described below. In order to more specifically describe the specific implementation of the present application, first, a brief introduction of related technical modules is given:
[0116] As shown in (a) of FIG. 9, implementing the smart search APP in the embodiment of the present application involves four modules, including a user configuration module, a configuration processing module, a search module (including a search result hiding decision sub-module), and a rendering module. The smart search APP refers to an application installed in a mobile phone and having a search function. The smart search APP can search for content on the mobile device (such as local files, messages, and contacts), search for content of various applications installed on the mobile phone (such as an email APP, a memo APP, a Huawei Store APP, and a Huawei Music APP), search for network content (such as connecting to the Internet to search for content provided by various network service providers), and connect to other mobile phones (such as through a distributed system or a short-range communication system) to query content of the other mobile phones. The user configuration module is configured to provide a configuration management interface, such as a "search result hiding setting" interface, for the user to set a hiding range and customize a hiding scheme. The configuration processing module is configured to process the hiding scheme configuration information customized by the user. The search module is configured to perform local search and cloud search on a search term input by the user through a search engine, and determine, according to a result searched by the search engine and a hiding scheme configured by the user, which content needs to be displayed in a blurred manner. The rendering module is configured to perform blurred rendering on the search result that needs to be displayed in a blurred manner.
[0117] The four modules will be described below. As shown in (b) of FIG. 9:
[0118] The user configuration module is configured to provide a flexible sensitive information hiding scheme configuration interface, such as a search result hiding configuration interface for the user. The user can customize a display scheme of each APP, configure a hiding range for different APPs in the search result hiding configuration interface, such as a gallery APP, a message APP, a local file APP, a memo APP, a calendar APP, and a contact APP, and add other custom APPs in the configuration interface to facilitate the user to set a search range and blurred display of the smart search APP. In addition, the search result hiding configuration interface supports white list configuration, including white list scene configuration and white list content configuration. The white list configuration is described above and will not be repeated here.
[0119] I. The configuration processing module is configured to structure or quantify the scheme information configured by the user in the user configuration module, and store the structured or quantified result, such as in a local database of the mobile phone.
[0120] Specifically, the configuration processing module includes the following processing steps:
[0121] 1. The configuration processing module is configured to structure the scheme information saved by the user configuration module, and quantify pictures and videos in the custom strategy in the scheme information.
[0122] Specifically, the configuration processing module processes the information of the search result fuzzy display configured by the user in the user configuration module according to the set rules and formats. For example, the user configures the gallery APP to open the search result hiding setting in the search result hiding configuration interface, and the configuration processing module will structure the application name, package name, and search result fuzzy display identifier corresponding to the gallery APP for more effective subsequent processing or analysis. As shown in the following table, the configuration processing module converts the data into the form of a table.
[0123] Of course, the configuration processing module can also be converted into a list, tree structure, etc. during the structural processing, and the application does not limit the structural conversion form.
[0124] 2. Update the database configuration and the memory configuration;
[0125] Specifically, after the configuration processing module completes the structural processing of the scheme information saved by the user configuration module, the obtained structured data is updated to the corresponding database configuration and memory configuration. The update to the database configuration is the persistent storage of the structured data to avoid the loss of structured data after the phone or APP restarts; the update to the memory configuration is to avoid frequent database IO reading to improve the running speed of the APP. If only saved to the memory configuration, the original structured data will be lost after the phone or APP restarts; if only saved to the database configuration, the running speed of the APP will be affected, and the user experience will also be affected.
[0126] The above configuration includes:
[0127] Configuration basic strategy: structure and save "search result hiding" according to package name, that is, the relationship between package name and search result fuzzy display identifier;
[0128] User-defined strategy: update the custom hiding index by identifying similar content through a multi-modal model.
[0129] II. Search module: determine which search results need to be displayed fuzzily in combination with the search results and the user-configured hiding scheme. Determine the search results that need to be displayed in the form of a mask, that is, the search module determines the search results that need to be displayed in the form of a mask in combination with the search results and the search result fuzzy display identifier configured by the user.
[0130] Specifically, the search module performs the following steps:
[0131] 1. Search according to the user input search term;
[0132] The user inputs a search keyword in an input box control of a smart interface, a search module searches content in APPs configured in a search range setting item according to the search keyword, obtains search content corresponding to each APP configured in the search range setting item, and binds the search result corresponding to each APP with an APP package name to obtain a search result.
[0133] 2. Read the structured data saved by the configuration processing module to obtain the correspondence between the package name and the search result fuzzy display identifier, and determine the value of the search result fuzzy display identifier corresponding to the package name in the search result obtained in step 1.
[0134] 3. Determine the display strategy according to the value of the search result fuzzy display identifier. If the value of the search result fuzzy display identifier corresponding to the APP is true, notify the layer rendering module to display the search content of the APP in a layer mode; if the value of the search result fuzzy display identifier corresponding to the APP is false or the APP does not configure the search result fuzzy display identifier, notify the layer rendering module to display the search content of the APP in a normal display mode.
[0135] 4. Determine whether fuzzy display is needed according to the white list strategy, wherein the white list strategy is associated with the basic strategy and the user-defined strategy in the configuration processing module.
[0136] 5. If fuzzy display is needed, determine the content that needs to be fuzzy displayed.
[0137] Three, layer rendering module: render the results that need to be fuzzy displayed with a layer, and finally realize fuzzy display.
[0138] Based on the above modules, as shown in FIG. 10, the specific implementation process of each module in the embodiment of the present application is as follows:
[0139] S100: The user enters the setting interface of the smart search and confirms the search result hiding setting configuration item.
[0140] Specifically, the user enters the setting interface of the intelligent search through the setting function of the mobile phone, as shown in (a) of FIG. 4. After the mobile phone detects that the user clicks the setting application 401 on the main interface 400 of the mobile phone A, the mobile phone can display the setting interface 410 as shown in (b) of FIG. 4. In the setting interface 410, a plurality of setting options can be included, for example, a personal account setting item (for example, account nickname 1), a WLAN setting item, a Bluetooth setting item, a mobile network setting item, a more connection setting item, an intelligent search setting item, and the like. In response to the user clicking the area 411 corresponding to the intelligent search setting item, the mobile phone can display the intelligent search interface 420 as shown in (c) of FIG. 4. In the intelligent search interface 420, a plurality of configuration items can be included, for example, a frequently used configuration item, a real-time hot spot configuration item, a search history configuration item, a search range configuration item, a search result hiding setting configuration item 421, an advanced function configuration item, and the like. The user can confirm the search result hiding setting configuration item 421 in the intelligent search interface 420.
[0141] S110: Clicking the search result hiding setting configuration item to enter the setting interface.
[0142] Specifically, in response to the user clicking the search result hiding setting configuration item 421, the mobile phone can display the search result hiding setting interface 430 as shown in (d) of FIG. 4. In the search result hiding setting interface 430, a plurality of APP search result hiding setting controls can be included, such as the memo APP, the gallery APP, the file management APP, the email APP, and the like in the interface 430.
[0143] The interface 430 can default to support the configuration of the gallery APP, the information APP, the file management APP, the memo APP, the calendar APP, and the contact APP. Alternatively, the interface 430 can also display a plurality of APPs and the APP corresponding search result hiding setting controls based on the user's habit of using the mobile phone.
[0144] Further, the user can also add a custom application by clicking the adding control 432 according to the user's own needs, as shown in FIG. 8. The corresponding adding process has been described above, and will not be described here again.
[0145] S120: The user opens the search result fuzzy display setting in the interface 430 by clicking the search result hiding setting switch corresponding to each application according to the user's own needs. In the interface 430, the user can click the switch control 431 corresponding to the gallery APP. In response to the user clicking the switch control 431, the switch control 431 changes from the gray state to the bright state, indicating that the search result hiding function of the gallery APP is opened, as shown in (e) of FIG. 4. When the user completes the search result hiding setting of the gallery APP, the user configuration module generates a configuration change message and sends the configuration change message to the configuration processing module.
[0146] Of course, the user configuration module can send the configuration change message to the configuration processing module when the user opens the switch control of a certain APP (such as the gallery APP), or can send the configuration change message to the configuration processing module when the user opens the switch space of multiple APPs (such as the gallery APP, the memo APP, and the file management APP) and then exits the interface of the search result hiding setting, and the application does not limit the way in which the user configuration module sends the configuration change message to the configuration processing module.
[0147] Further, the user configuration change message generated by the user configuration module includes the package name of the APP, the search result fuzzy display identifier of the APP, and the correspondence between the package name of the APP and the search result fuzzy display identifier of the corresponding APP. For example, if the user configures the search result fuzzy display function of the gallery APP, and the package name of the gallery APP is photo.app, then the content included in the user configuration message sent is {“photo.app”:“fuzzDisplay:true”}; if the user turns off the search result fuzzy display function of the gallery APP, then the content included in the user configuration message sent is {“photo.app”:“fuzzDisplay:false”}. The correspondence between the package name of the APP and the search result fuzzy display identifier of the corresponding APP in the user configuration change message can use any format, which is not limited by the application.
[0148] S200: The configuration processing module receives the user configuration change message and obtains the latest configuration content.
[0149] Specifically, the configuration processing module receives the user configuration change message sent by the user configuration module, parses the user configuration change message, and obtains the search result hiding setting content configured by the user.
[0150] S210: The configuration processing module performs structured processing on the obtained configuration content and saves it.
[0151] Specifically, the APP package name in the obtained configuration content is taken as the key, and the search result fuzzy display identifier of the APP is taken as the value, and the key-value mode is used for processing, so as to obtain the correspondence between the APP package name and the search result fuzzy display identifier of the APP.
[0152] S220: The configuration content processed in step S210 is saved to the mobile phone database.
[0153] S300: The user initiates a search operation using the intelligent search.
[0154] Specifically, after setting the search result hiding setting item, the user can return to the home interface of the mobile phone or return to the home interface of the mobile phone through the home key, slide the finger downward in any area of the home interface, enter the smart search interface, as shown in (g) of FIG. 4, the smart search interface 460 includes an input box control 461, a search control 462, a search history control 463 and a guess you want to search control 464. The user inputs the search keyword "2023" in the input box control 461 in the smart search interface 460, and clicks the search control 462 to perform a search operation.
[0155] S310: The search application performs a search according to the search word, and obtains a search result.
[0156] In response to the user clicking the search control 462, the smart search APP performs a search operation, the search range includes the selected APP in the smart search APP, the content related to "2023" in the selected APP is searched out, and the relationship between each search result and the corresponding APP is recorded. That is, the search result includes the relationship between the package name of the APP and the APP search result, such as the local file related to "2023" is associated with the file management APP, the picture category related to "2023" is associated with the gallery APP, and the memo content related to "2023" is associated with the memo APP.
[0157] Further, in response to the user clicking the search control 462 to perform a search operation, the local or other connected mobile phone, network content can be searched.
[0158] S320: Confirm whether the APP in the search result opens the search result fuzzy display function.
[0159] After obtaining the search result in step S310, the package name of the application where the search result is located is used as a key to query the switch value of the "search result hiding setting" in the database of the configuration processing module. If the APP with the APP package name cannot be found in the database, the default switch is closed; if there is an APP with the switch opened in the search result, it is decided that the result content corresponding to the APP needs to be hidden when displaying the search result.
[0160] Specifically, after obtaining the search result, the mobile phone search module queries the search result fuzzy display configuration saved in the mobile phone database according to the APP package name in the search result, to obtain whether the APP corresponding to the APP package name opens the search result hiding function. As described in step S120, the user sets the search result fuzzy display function of the gallery APP in the search result hiding configuration interface, at this time the search result fuzzy display identifier of the gallery APP in the mobile phone data is true, therefore the search result related to "2023" in the gallery APP is displayed in a layer mode when the search result interface is displayed.
[0161] S330: display the search result.
[0162] The search result is displayed according to the search result confirmed in S320. For example, the gallery APP is configured to hide the search result in the search result hiding configuration interface, and thus the search result of the gallery is displayed in a blurred manner. As shown in interface 470 in (h) in FIG. 4, the search result of the gallery APP, the memo APP and the local file APP about the search keyword "2023" is displayed. The search result of the gallery APP is displayed in a blurred manner because the search result blur display function is turned on, and the search result is hidden by a mask to achieve the blurred display effect. At this time, the user knows that there is a search result about the search keyword "2023" in the gallery, but does not want to display the search result in the smart search scenario, and can view the related content by opening the gallery APP.
[0163] Further, to facilitate the user to control the display of the search result, when the search result is displayed in a blurred manner, the mask rendering module further provides a switch control to facilitate the user to quickly display the search result. As shown in (h) in FIG. 4, the search result interface further includes a switch control 473. In response to the user clicking the switch control 473, the mask rendering module eliminates the mask of the gallery APP and directly displays the search result of the gallery APP, as shown in (I) in FIG. 4. The search result includes a picture of scenery 1 and a picture of scenery 2. Of course, the user can click the switch control again, and the mask rendering module will display the search result in a blurred manner again. In response to the user clicking the search switch control 481, the search result of the gallery APP is displayed in a blurred manner in the search display interface 480.
[0164] In a possible design, the switch control can control the mask display in the entire search result interface. As shown in (a) in FIG. 5, the user turns on the configuration of the gallery APP and the memo APP in the search result hiding configuration interface, and the search result of the gallery APP and the memo APP is displayed in a blurred manner in the current interface. The search display interface 500 includes a switch control 501. In response to the user clicking the control 501, the mask of the gallery APP and the memo APP is eliminated in the search display interface 510, as shown in (b) in FIG. 5. The user can view the search result of all APPs at the same time, which facilitates the user to view. Of course, the user can click the switch control again, and the mask rendering module will display the search result to be displayed in a blurred manner again. In response to the user clicking the switch control 511, the search result of the gallery APP and the memo is displayed in a blurred manner in the search display interface 520, as shown in (c) in FIG. 5.
[0165] In this way, the user can conveniently control the content display in the search result interface, ensure that the search result is not disclosed in a public place or when others can see the mobile phone screen, and after obtaining the search result, quickly remove the mask to view the result in a non-public place, thus facilitating the use of the user and improving the user experience while protecting the privacy.
[0166] S340: The user autonomously determines whether the sensitive content can be expanded currently, and if the sensitive content needs to be viewed, clicks the "expand" button to view the related content. The button can be repeatedly opened and closed.
[0167] S350: The display mode of the search result is adjusted.
[0168] S400: A mask rendering is added to the content that needs to be blurred.
[0169] The above embodiment introduces the basic flow of the application. As an example, as shown in (a) of FIG. 11A, an implementation flow diagram of a search display method is shown according to an embodiment of the application. This embodiment introduces the implementation flow of the white list scene strategy. Specifically, the implementation flow can include the following steps. Among them, with respect to the basic flow shown in FIG. 10, the following steps S121 to S123, steps S211 to S221, steps S321 to S322 are new steps, and the specific execution process of the remaining steps can refer to the related description of steps 100 to 400 in the above FIG. 10, and will not be repeated here.
[0170] S100: The user enters the setting interface of the intelligent search and confirms the search result hiding setting configuration item.
[0171] S110: Click the search result hiding setting configuration item to enter the setting interface.
[0172] S120: The user opens the search result blur display setting according to the needs of the user in the interface 430 by clicking the search result hiding setting switch corresponding to each application.
[0173] S121: Confirm the white list configuration.
[0174] After the search result hiding function corresponding to the gallery APP is opened, the white list configuration control will be displayed in the area corresponding to the gallery APP, as shown in (e) of FIG. 4. The white list information of the corresponding APP can be set through the white list configuration, that is, the content that does not need to be hidden is set. If the search result is within the range of the set white list configuration information, the search result is displayed in a normal way.
[0175] S122: Enter the white list scene configuration interface.
[0176] In response to the user clicking the whitelist configuration control corresponding to the gallery APP, a whitelist configuration interface corresponding to the search result hiding setting of the gallery APP is displayed, as shown in (f) of FIG. 4.
[0177] S123: Adding a whitelist scenario.
[0178] As shown in (f) of FIG. 4, in the scenario configuration control 451 of the whitelist configuration interface of the gallery APP, the adding whitelist scenario control 453 is clicked to add a whitelist scenario. For example, the "location" is "certain community", the "WIFI" is "WIFI_HOME", and the "terminal state" is "shared", and the like, which are scenario information that can be recognized by the terminal.
[0179] S200: The configuration processing module receives a user configuration change message and obtains the latest configuration content.
[0180] S210: The configuration processing module performs structured processing on the obtained configuration content and saves it.
[0181] S211: Parsing the whitelist scenario configuration information
[0182] S212: Reading the parsed whitelist scenario configuration information, and configuring each rule one by one to convert it into a key-value pair of {“scenario”: “value”}.
[0183] S220: Saving the configuration content processed in step S210 to the mobile phone database.
[0184] S221: Storing the converted key-value pair in the whitelist scenario strategy table with the package name as the primary key. As shown in the following table
[0185] S300: The user initiates a search operation using the intelligent search.
[0186] S310: The search application searches according to the search term and obtains the search result.
[0187] S320: Confirming whether the APP in the search result opens the search result fuzzy display function.
[0188] S321: Confirming that the "search result hiding setting" is opened.
[0189] Each APP corresponding to the search result is judged one by one to determine whether the search result hiding setting is opened. If the search result hiding setting corresponding to the APP is closed, it is directly determined that the fuzzy display mode does not need to be displayed; otherwise, step S322 is entered.
[0190] S322: Reading the configuration information of the whitelist scenario.
[0191] Read the whitelist scene strategy corresponding to the APP from the whitelist scene strategy table.
[0192] S323: Obtain the whitelist configuration and the judgment condition of the corresponding scene, and judge whether the current scene matches the whitelist scene.
[0193] The read whitelist scene strategy configuration is obtained one by one, and the scene where the mobile phone is located is judged. If the "location" rule is configured, the geographic location of the current user is obtained; if the "WIFI" rule is configured, the WIFI information connected by the user is obtained. If the scene where the mobile phone is located matches the configured whitelist scene, it is determined that the search result does not need to be displayed in the form of a mask, that is, the search result corresponding to the APP is displayed in a normal manner. It can be understood that the user can display the search result in the form of a mask by clicking the switch control corresponding to the APP.
[0194] S330: Display the search result.
[0195] S340: The user judges whether the sensitive content can be expanded or not, and if the sensitive content needs to be viewed, the "expand" button is clicked to view the related content. The button can be repeatedly opened and closed.
[0196] S350: Adjust the display mode of the search result.
[0197] S400: Add a mask rendering to the content that needs to be blurred.
[0198] The configuration of the whitelist scene will be further described below by taking "WIFI" as the whitelist scene. As shown in FIG. 11B:
[0199] S1: Enter the "search result hiding setting" interface, as shown in (a) of FIG. 11B, open the search result hiding setting switch of the gallery APP, and display the whitelist configuration control in the area corresponding to the gallery APP. In response to clicking the whitelist configuration control, enter the whitelist configuration interface.
[0200] S2: Select the "whitelist scene" option, click the add content control 501 to add the whitelist scene strategy, and add the scene strategy of WIFI in the "whitelist scene", as shown in the area 500 in (b) of FIG. 11B. After the configuration is completed, the following configuration information will exist in the whitelist scene strategy table after the above S212 and S213 steps: {“photo.app”:{“WIFI”:“WIFI_HOME”}}.
[0201] S3: The user inputs the search keyword "2023" in the smart search APP. In response to clicking the search control, the smart search APP performs a search operation and searches for pictures, files, and memos related to "2023". The package name of the gallery APP, the local file APP, and the memo APP are used as keys to query the "search result hidden result" switch table. The switch value obtained by the query can determine that only the gallery APP needs to continue to be judged whether it needs to be displayed in a blurred manner, and the other two APPs are displayed in a normal display mode. The package name of the gallery APP is used as a key to query the white list scene strategy table to obtain the white list scene information of "WIFI". The smart search APP obtains the WIFI information of the currently connected mobile phone, and the currently connected WIFI is "WIFI_HOME", which is consistent with the "WIFI" name configured in the white list scene. Therefore, it is determined that the content of the gallery APP can be normally displayed in the current scene, that is, the search result of the gallery APP is displayed in a normal manner, as shown in (c) of FIG. 11B.
[0202] S4: Repeat the process of S3. If the WIFI currently connected by the user is not "WIFI_HOME", the white list scene is not met, and the search result of the gallery APP needs to be displayed in a blurred manner, as shown in (d) of FIG. 11B.
[0203] As an example, FIG. 11C shows an implementation flow diagram of a search display method according to an embodiment of the present application. This embodiment introduces the implementation flow of the white list content strategy. Specifically, the implementation flow can include the following steps. With respect to the basic flow shown in FIG. 10, the following steps S124 to S126, steps S213 to S223, steps S324 to S325 are new steps, and the specific execution process of the remaining steps can be referred to the related description of steps 100 to 400 in FIG. 10 above, which will not be repeated here.
[0204] S100: The user enters the setting interface of the smart search and confirms the search result hidden setting configuration item.
[0205] S110: Click the search result hidden setting configuration item to enter the setting interface.
[0206] S120: The user opens the search result blurred display setting according to his own needs by clicking the search result hidden setting switch of each application in the interface 430.
[0207] S124: Confirm the white list configuration.
[0208] This step can refer to the related description of step 121 above, which will not be repeated here.
[0209] S125: Enter the whitelist content configuration interface.
[0210] In response to the user clicking the whitelist configuration control corresponding to the gallery APP, the whitelist configuration interface of the search result hiding setting corresponding to the gallery APP is displayed, as shown in (f) of FIG. 4.
[0211] S126: Add whitelist content.
[0212] As shown in (f) of FIG. 4, in the content configuration control 452 of the whitelist configuration interface of the gallery APP, the whitelist content is added by clicking the whitelist content adding control 454. The whitelist content supports files in formats such as text, pictures, and videos, and of course, the present application does not limit other formats. Taking the SMS APP as an example, most SMS contents contain sensitive information, but the SMS containing the "verification code" information is publicly available, and the user hopes that the SMS content related to the "verification code" can be conveniently searched and displayed. Therefore, the strategy of containing the "verification code" can be configured in the whitelist content configuration interface of the SMS APP, as shown in (b) of FIG. 11D. Taking the gallery APP as another example, most pictures are personal photos (such as selfies, ID photos, etc.), but for pure scenery pictures, the user hopes that they can be directly displayed through search and shared with friends or colleagues. Therefore, the strategy of the picture category "scenery photo" can be configured, and scenery photos or videos related to scenic spots can be uploaded as supplementary strategies, as shown in (c) of FIG. 11D.
[0213] S200: The configuration processing module receives the user configuration change message and obtains the latest configuration content.
[0214] S210: The configuration processing module performs structured processing on the obtained configuration content and saves it.
[0215] S213: Obtain whitelist content configuration information.
[0216] Obtain the whitelist content configuration information saved in the user configuration module from the memory.
[0217] S214: Analyze the obtained whitelist content configuration information.
[0218] The obtained whitelist content configuration information is analyzed to identify the configuration category, such as text, picture, video, etc. According to the configured whitelist content, a multi-modal model is called to generate a content vector corresponding to the whitelist content. For example, if the user uploads a personal photo, the content of the personal photo is processed through the multi-modal model to generate a vector corresponding to the photo.
[0219] S220: Save the configuration content after the structured processing in step S210 to the mobile phone database.
[0220] S222: Content vector storage.
[0221] The obtained vector of parsing the whitelist content is stored in the whitelist content policy table in the format of {package name: whitelist content vector}. It can be understood that the whitelist content policy table can be saved in the memory or in the mobile phone database. The following table shows:
[0222] S223: Based on the whitelist content policy table, the whitelist vector content library of each APP is constructed.
[0223] The whitelist vector content library corresponding to the APP is updated in real time. It can be understood that the APP configured with the whitelist content has its corresponding whitelist content library. Taking the gallery APP as an example, the gallery APP reads the pictures under its management one by one, quantifies the read pictures one by one by calling the multi-modal model, and forms the content vector corresponding to the pictures. After obtaining the content vector of each picture, the similarity between the content vector of each picture and the whitelist content vector corresponding to the gallery APP in the whitelist policy table is calculated, and the picture highly similar to the whitelist content is added to the whitelist content library of the gallery APP, or the picture highly similar to the whitelist content is marked with a normal display identifier. In this way, in the search result of the gallery APP, once the picture in the search result is in the whitelist content library of the gallery APP, or the picture in the search result has a normal display identifier, the picture will be displayed normally. It can be understood that this step is to improve the speed of search display, and to save the whitelist content of each APP in the whitelist content library corresponding to each APP, so that the search result does not need to be compared with the whitelist content policy table during search, thereby improving the speed of search display. Of course, this step is an optional step, and the step can also be skipped.
[0224] S300: The user initiates a search operation using the intelligent search.
[0225] S310: The search application searches according to the search term and obtains the search result.
[0226] S320: Confirm whether the APP in the search result opens the fuzzy display function of the search result.
[0227] S324: Confirm that the whitelist scene matching corresponding to the APP is not effective.
[0228] The white list scene judgment result of each APP is obtained, if the current search result does not need to be displayed in a fuzzy manner according to the white list scene of the APP, it is directly decided that all the contents in the APP are normally displayed; otherwise, step 325 is continuously executed. Taking the gallery APP as an example, in step S323, the gallery APP is configured with a "WIFI" rule, and the name of the WIFI connected by the mobile phone is consistent with the name of the "WIFI" rule configured, which indicates that the search contents under the gallery APP are displayed in a normal manner, and the white list contents do not need to be judged again.
[0229] S325: white list content rule judgment corresponding to the APP.
[0230] The contents searched out by the current APP are compared with the white list content library of the APP one by one, if the content exists in the white list content library, the part of the content is normally displayed, and the rest of the content is displayed in a mask manner.
[0231] S330: display the search result.
[0232] S340: the user judges whether the sensitive content can be expanded or not, if the sensitive content needs to be viewed, the "expand" button is clicked, and the related content can be viewed, the button can be repeatedly opened and closed.
[0233] S350: adjust the display mode of the search result.
[0234] S400: add a mask rendering to the content that needs to be displayed in a fuzzy manner.
[0235] The configuration of the white list content is further described below, taking the SMS configured with "verification code" and the gallery configured with "scenery photo" as the white list content, as shown in FIG. 11D:
[0236] Step S1: enter the "search result hiding setting" interface, as shown in (a) of FIG. 11D, the search result hiding setting switch of the information APP is opened, the white list configuration control is displayed in the area corresponding to the information APP, the white list configuration interface is entered in response to the click of the white list configuration control, the "white list content" option is selected, the white list content strategy is added by clicking the adding content control 512, and the strategy of adding the "white list content" containing the "verification code" content is added, as shown in the area 510 in (b) of FIG. 11D.
[0237] Step S2: after the white list content configuration of the information APP is completed, the configuration processing module is notified in real time, the configuration processing module constructs the white list content library containing the "verification code" in the information content according to the steps S213, S214, S222 and S223, and the information containing the "verification code" is added to the white list content library.
[0238] Step S3: Configure the whitelist content policy of the gallery APP, add a whitelist content policy of "picture category" is "landscape", and upload a landscape photo and a pure landscape content video as policy supplement content.
[0239] Step S4: After completing the configuration of the whitelist content policy of the gallery APP, the real-time notification configuration processing module is notified, and the configuration processing module constructs the "landscape" category photo whitelist content library of the gallery according to steps 213, 214, 222, and 223, and adds pure landscape photos in the gallery to the whitelist content library.
[0240] Step S5: In the search box of the smart search APP, input the search keyword "shopping mall" to initiate a search operation, and search for pictures, messages, and other content containing "shopping mall".
[0241] Step S6: The gallery APP opens the search result hiding setting and configures the whitelist content, and needs to determine whether each picture can be displayed. As shown in (c) of FIG. 11D, the pictures numbered 1, 2, 3, 4, and 5 match the whitelist content library of the gallery, because the pictures numbered 1, 2, 3, 4, and 5 are all shopping mall pictures and are not landscape photos, so they do not match the content of the whitelist content library. Therefore, the pictures searched out this time are all displayed in the first display mode, that is, the layer display mode.
[0242] Step S7: The information APP also configures the whitelist content, so the information contents numbered 6, 7, and 8 searched out this time will be matched with the whitelist content library of the information APP respectively. The information content numbered 8 contains the "verification code" text, and "verification code" is in the whitelist content library of the information APP, so the information content numbered 8 can be normally displayed, and the information numbered 6 and 7 is displayed in the layer display mode.
[0243] Step S8: Input the search keyword "2023" in the search box of the smart search APP to initiate a new search operation, and the smart search APP searches for pictures, files, and memo information related to "2023".
[0244] Step S9: The gallery APP configures the whitelist content, and needs to determine whether each picture can be displayed. As shown in (d) of FIG. 11D, the pictures numbered 9, 10, 11, 12, and 13 match the whitelist content library of the gallery APP, because the pictures numbered 9, 10, and 12 are landscape photos, and match the whitelist content library of the gallery. Therefore, the pictures numbered 9, 10, and 12 searched out this time can be normally displayed, and the pictures numbered 11 and 13 are displayed in the layer display mode.
[0245] In some embodiments, when a user screens or shares a mobile phone screen to a tablet or a large screen (such as a conference room screen, a smart screen, etc.), the above method can be displayed by a mask layer when using the smart search APP to protect personal privacy information. However, in the scenario of mobile phone screen projection or sharing, a better implementation can be provided to better meet the personalized needs of users. The following describes different situations of mobile phone screen projection to a tablet device.
[0246] As shown in FIG. 12A (a), the user opens the search result hiding function of the gallery APP and the memo APP in the search result hiding setting interface 1200. Then the user projects the mobile phone screen to the tablet screen through the mobile phone projection function, as shown in FIG. 12A (b). The mobile phone interface 1201 displays the search interface 1201 of the smart search APP, which includes an input box control, a search control, a search history control and a guess you want to search control. The user inputs the search keyword "2023" in the input box control. The tablet interface 1203 includes a mobile phone screen display area 1204, and the content displayed in the area 1204 is the content of the mobile phone screen, which synchronously displays the content on the mobile phone screen. At this time, in the area 1204, the search interface of the smart search APP on the mobile phone screen is displayed, which also includes an input box control, a search control, a search history control and a guess you want to search control, and the search keyword "2023" input by the user in the input box control. In response to the user clicking the search control on the mobile phone screen, the smart search APP searches the search keyword "2023", and normally displays the search result in the smart search result interface on the mobile phone screen. On the tablet screen, the search result in the smart search result interface that meets the mask display condition is displayed in a mask manner in the mobile phone screen display area, as shown in FIG. 12A (c). The mobile phone interface 1205 includes the search result interface 1206. Although the gallery APP and the memo APP open the search result hiding function, the smart search APP recognizes that the mobile phone is currently in the projection state, and it can be understood that the mobile phone is in a relatively private state at this time, and it is not necessary to display the search result in a mask manner on the mobile phone screen. Therefore, the search result of the gallery APP and the memo APP is normally displayed on the mobile phone screen. In the tablet interface 1207, the mobile phone display area 1211 displayed through the mobile phone projection includes the search result interface 1208, which includes the search result of the gallery APP, the memo APP and the local file APP. Because the gallery APP and the memo APP open the search result hiding function, the search result of the gallery APP and the memo APP is displayed in a mask manner in the mobile phone screen display area 1211 on the tablet screen. Through the above method, the user can use the smart search to only publicly display the content of the local file in the projection occasion, and the content related to the user's privacy such as the picture and the memo will not be seen by others, effectively protecting the user's privacy and improving the user's experience.
[0247] In a possible design, when the screen of the mobile phone is projected to the tablet, the screen of the mobile phone can also display the search result in a manner of a mask when displaying the search result interface, as shown in FIG. 12B. In response to a user clicking the search control on the screen of the mobile phone, the smart search APP searches the search keyword "2023", and displays the smart search result interface 1211 on the screen 1211 of the mobile phone, the interface 1211 includes the search result of the gallery APP, as shown in (a) of FIG. 12A, and the gallery APP and the memo APP both open the search result hiding function, and therefore the gallery APP and the memo APP are displayed in a manner of a mask in the interface 1211. In the tablet interface 1207, the search result interface 1215 is still displayed in a manner of a mask, and the display manner can refer to the description above, which is not described herein again.
[0248] It can be understood that, when the screen of the mobile phone is projected to the tablet, the operation of clicking the switch control on the screen of the mobile phone is synchronized to the screen of the tablet, as shown in FIG. 12C. In the search result interface 1221 of the screen of the mobile phone, in response to a user clicking the switch control 1229, the control 1229 changes from the gray state to the bright state, and the search result of the gallery APP is normally displayed in the interface 1221. At this time, the search result interface 1225 is included in the screen 1224 of the tablet, and the gallery APP in the search result interface 1225 also synchronously normally displays the search result of the gallery APP on the screen of the tablet, and the switch control 1228 on the screen of the tablet also changes from the gray state to the bright state. Of course, the user can continue to click the control 1229 on the side of the mobile phone, to change the control 1229 from the bright state to the gray state, to display the search result of the gallery APP in a manner of a mask, and the same display is synchronized to the screen of the tablet. Through the above method, the user can conveniently synchronize the operation on the side of the mobile phone to the side of the tablet, and can more conveniently determine whether to display the search result on the projected device, thereby improving the experience of the user.
[0249] In a possible design, when the screen of the mobile phone is projected to the tablet, the user can operate the switch control on the tablet, as shown in (a) of FIG. 12D. In response to a user clicking the switch control 1224, the control 1224 changes from the bright state to the gray state, and the search result of the gallery APP is displayed in a manner of a mask on the tablet, as shown in (b) of FIG. 12D. In the interface 1235 of the tablet, the switch control 1233 changes to the gray state, and the corresponding gallery APP is displayed in a manner of a mask. It can be understood that the operation on the tablet does not affect the display of the screen of the mobile phone. Through the above method, the user can operate the display manner of the search result on the tablet, for example, when explaining on the side of the projected device, it is found that the search result is inconvenient to display, and the display manner of the search result can be quickly set, thereby facilitating the use of the user.
[0250] Alternatively, the user can also operate the switch control on the tablet to remove the search content displayed in the manner of a mask, as shown in (a) of FIG. 12E. In response to the user clicking the switch control 1242, the control 1242 changes from the gray state to the bright state, and the search results of the gallery APP are displayed in the normal manner on the tablet, as shown in (b) of FIG. 12E. In the tablet interface 1244, the switch control 1245 changes to the bright state, and the corresponding gallery APP is displayed in the normal manner. It can be understood that the operation on the tablet does not affect the screen display of the mobile phone. Through the above method, the user can operate the display manner of the search results on the tablet, such as when explaining on the side of the projection device, finding that the search results need to be displayed, and quickly setting the display manner of the search results, improving the user experience.
[0251] In a possible design, when the mobile phone screen is projected to the tablet, the search result display interface of the mobile phone screen displays more search results through a pull-down control, and the operation and effect are synchronized to the tablet screen, as shown in FIG. 12F. In response to the user clicking the pull-down control 1257, the gallery APP in the search result interface 1252 in the mobile phone interface 1251 displays multiple search results. Correspondingly, in the tablet interface 1254, the control 1258 included in the mobile phone screen display area 1255 is also in the pull-down state, and more search result content of the gallery APP is displayed in the manner of a mask. Through the above method, the privacy of the user is further protected.
[0252] In a possible design, when the screen of the mobile phone is projected to the tablet device, whether the projected device displays the search result interface in the form of a mask can be determined according to a specified scenario. As shown in FIG. 12G, in the mobile phone interface 1261, the gallery APP and the memo APP display the search results in the form of a mask respectively. The mobile phone is projected to the tablet device 1 or the tablet device 2 respectively, where the tablet device 1 is in a home scenario mode and the tablet device 2 is in a meeting scenario mode. For the tablet device 1, when the smart search APP displays the search results, it is determined that the tablet device 1 is in the home scenario mode, and therefore the search results do not need to be displayed in the form of a mask, as shown in the display area 1266 of the gallery APP. For the tablet device 2, when the smart search APP displays the search results, it is determined that the tablet device 2 is in the meeting scenario mode, and therefore the search results need to be displayed in the form of a mask, as shown in the display area 1268 of the gallery APP. Further, the user can also specify APPs, and different APPs can have different display modes. For example, in the search result interface 1265 of the tablet device 1, the search results of the local file APP can be displayed in the form of a mask, and the search results of the gallery APP are displayed normally. Alternatively, the user can also determine whether the projected device displays the search result interface in the form of a mask according to specified content. For example, the tablet device 1 can be specified to display the search results of the gallery APP normally, and the tablet device 2 can be specified to display the search results of the gallery APP in the form of a mask. Through the above method, the user can specify the projection scenario or the content to flexibly set the display mode of the search results on the projected device, and set different display modes of the search results in different scenarios or for different content.
[0253] In a possible design, when the screen of the mobile phone is projected to the tablet device, whether the projected device displays the search result interface in the form of a mask can be determined according to the type of the projected device. As shown in FIG. 12H, in the mobile phone interface 1271, the gallery APP and the memo APP display the search results in the form of a mask respectively, and the mobile phone is projected to the tablet device or the television device. For the tablet device, the search results of the gallery APP are displayed normally, and for the television device, the search results of the gallery APP are displayed in the form of a mask. Alternatively, the user can configure the relationship between the display mode and the type of the device to achieve the above message. It can be understood that the mobile phone can be projected to different devices, and the type of the projected device is not limited in the application.
[0254] In some embodiments, the user can search the content of other devices in a distributed system, for example, and display the searched content in the local device, as shown in (a) of FIG. 13. The search result interface 1300 of the mobile phone includes search result tabs, such as tabs for local, device 1, integrated, web, application, shopping, and the like. The user can click on different tabs to display different search results. It can be understood that the search results are displayed by default as local search results, as shown in the interface 1300. When the tab "local" is selected, an identifier control 1302 is displayed under the tab to indicate that the tab is selected. Under the tab "local", the search results of the gallery APP are displayed in a semi-transparent manner. In response to the user clicking on the tab "device 1", the search result interface switches to the search results of device 1, as shown in (b) of FIG. 13. In the search result interface 1310, an identifier control 1311 is displayed under the search tab "device 1" to indicate that the tab "device 1" is selected. The search result interface displays the search results of device 1. The search results of device 1 include the search results of the email APP, the gallery APP, and the local file APP. Since the search result blur display function is enabled for the gallery APP and the email APP, the search results of the gallery APP and the email APP associated with the search keyword "2023" found on device 1 are displayed in a semi-transparent manner.
[0255] It can be understood that the search results displayed by the tab "device 1" are displayed in the same manner as the local search results. For example, the search results to be displayed can be flexibly displayed by configuring a whitelist, including configuring the whitelist scenario and the whitelist content. The semi-transparent display can also be removed by a switch control to display in a normal manner. In the search results displayed by device 1, more search results can be displayed by a pull-down control, which are still displayed in a semi-transparent manner. The above operations and actual processes can be referred to the related description above, and will not be described here.
[0256] In combination with the above embodiments and related drawings, the embodiments of the present application provide a communication method, which can be implemented in the electronic device as shown in FIG. 1 and FIG. 2. FIG. 14 is a schematic flowchart of a search display method according to an embodiment of the present application. As shown in FIG. 14, the method can include the following steps:
[0257] In step S1401, in response to a search operation, search results of one or more applications are obtained.
[0258] In step S1402, a first identifier is obtained according to a first application package name and a preset mapping relationship. The preset mapping relationship is a mapping relationship between the first application package name and the first identifier. The one or more applications include the first application.
[0259] In step S1403, the first display manner of the search result of the first application is determined according to the first identifier.
[0260] In step S1404, the search result of the first application is displayed on the first display interface according to the first display manner.
[0261] The specific implementation process in FIG. 14 can refer to the content described in the foregoing embodiments, and will not be described here.
[0262] In addition, the present embodiment further provides a structural schematic diagram of a device, as shown in FIG. 15, which is applied to a first electronic device. The device provided by the present embodiment includes:
[0263] a processing unit 1510 and a display unit 1520. Wherein:
[0264] The processing unit acquires the search result of one or more applications in response to a search operation.
[0265] The processing unit acquires the first identifier according to the first application package name and a preset mapping relationship, wherein the preset mapping relationship is the mapping relationship between the first application package name and the first identifier, and the one or more applications include the first application.
[0266] The processing unit determines the first display manner of the search result of the first application according to the first identifier.
[0267] The display unit displays the search result of the first application on the first display interface according to the first display manner.
[0268] Based on the above embodiments, the present application further provides an electronic device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to realize the functions performed by the electronic device in the methods described in the embodiments of the present application. The plurality of functional modules can be realized based on software, hardware or the combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementation.
[0269] Based on the above embodiments, the present application further provides a computer program product, which includes a computer program (also referred to as code or instructions), when the computer program is executed, the computer program causes a computer to execute the methods described in the embodiments of the present application.
[0270] Based on the above embodiments, the present application further provides a computer readable storage medium, which stores a computer program, when the computer program is executed by a computer, the computer program causes the computer to execute the methods described in the embodiments of the present application.
[0271] Based on the above embodiments, the present application further provides a chip for reading a computer program stored in a memory, and implementing the methods described in the embodiments of the present application.
[0272] Based on the above embodiments, the present application provides a chip system including a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In a possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system can be composed of a chip, or can include a chip and other discrete devices. Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage media, etc.) containing computer-usable program code.
[0273] The apparatus provided by the embodiments of the present application can execute the above-mentioned method embodiments, and the implementation principles and technical effects are similar, which will not be repeated here.
[0274] The embodiments of the present application further provide an electronic device, including a display screen, a processor, a memory, one or more sensors, a power key, an application program, and a computer program. The above-mentioned devices can be connected through one or more communication buses. The one or more computer programs are stored in the above-mentioned memory and configured to be executed by the one or more processors, and the one or more computer programs include instructions that can be used to make the electronic device execute the steps of the interface display method in the above-mentioned embodiments. For example, the processor can be the processor 110 shown in FIG. 1, the memory can be the internal memory 121 shown in FIG. 1 and / or an external memory connected with the electronic device, the display screen can be the display screen 194 shown in FIG. 1, the sensor can be one or more sensors in the sensor module 180 shown in FIG. 1, and the power key can be the power key 141 shown in FIG. 1. The embodiments of the present application do not make any limitation in this regard.
[0275] In addition, the embodiments of the present application further provide a graphical user interface (GUI) on an electronic device, which specifically includes the graphical user interface displayed by the electronic device when executing the above-mentioned method embodiments.
[0276] In the above embodiments, the term "when" or "after" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting" according to the context. Similarly, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)" according to the context.
[0277] In the above embodiments, the implementation can be wholly or partially realized by software, hardware, firmware or any combination thereof. When realized by software, the implementation can be realized wholly or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed by a computer, the computer instructions cause the computer to realize all or part of the procedures or functions described in the embodiments of the present application. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available medium can be a magnetic medium (for example, floppy disk, hard disk, magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, Solid State Disk (SSD)) and the like. In the case of no conflict, the schemes of the above embodiments can be combined.
Claims
1. A method for searching and displaying information, applied to a first electronic device, characterized in that, The method comprises: in response to a search operation, obtaining search results of one or more applications; obtaining a first identifier according to a first application package name and a preset mapping relationship, wherein the preset mapping relationship is a mapping relationship between the first application package name and the first identifier, and the one or more applications include the first application; determining a first display mode of the search results of the first application according to the first identifier; displaying the search results of the first application according to the first display mode on a first display interface.
2. The method of claim 1, wherein, The method further comprises: displaying a first control on the first display interface, the first control being used to control the display mode of the search results of the first application.
3. The method according to claim 1 or 2, characterized in that, The method further comprises: detecting a second operation acting on the first control, obtaining a second display mode of the search results of the first application; in response to the second operation, displaying the search results of the first application according to the second display mode on the first display interface, wherein the second display mode is different from the first display mode.
4. The method according to any one of claims 1 to 3, characterized in that, On the first display interface, the search results of the one or more applications other than the first application are also displayed.
5. The method according to any one of claims 1 to 4, characterized in that, The determination of the first display mode of the search results of the first application comprises: determining the first display mode of the search results of the first application according to the first application package name and a preset second mapping relationship, wherein the preset second mapping relationship is a mapping relationship between the first application package name and a first preset scene.
6. The method of claim 5, wherein, The determination of the first display mode of the search results of the first application according to the first application package name and the preset second mapping relationship comprises: obtaining a first preset scene corresponding to the first application package name, wherein the first preset scene includes a preset geographical location; obtaining a geographical location of the first electronic device; determining the first display mode of the search results of the first application when the distance between the geographical location of the first electronic device and the preset geographical location is less than or equal to a first distance.
7. The method of claim 5, wherein, The determination of the first display mode of the search results of the first application according to the first application package name and the preset second mapping relationship further comprises: obtaining a first preset scene corresponding to the first application package name, wherein the first preset scene includes a preset WIFI name; obtaining a WIFI name connected by the first electronic device; determining the first display mode of the search results of the first application when the WIFI name connected by the first electronic device is consistent with the preset WIFI name.
8. The method according to any one of claims 1 to 4, characterized in that, The determination of the first display mode of the search results of the first application further comprises: determining the first display mode of the search results of the first application according to the first application package name and a preset third mapping relationship, wherein the preset third mapping relationship is a mapping relationship between the first application package name and a first preset content.
9. The method of claim 8, wherein, The determination of the first display mode of the search results of the first application according to the first application package name and the preset third mapping relationship comprises: obtaining a first content of the search results of the first application; obtaining a first preset content corresponding to the first application package name; determine a first display mode of the first content according to the relevance of the first content to the first preset content.
10. The method according to any one of claims 1-9, characterized in that, The first application is an application added by a user on a first configuration interface.
11. The method according to any one of claims 1-10, characterized in that, The first application is an application installed on a second electronic device connected with the first electronic device.
12. The method according to any one of claims 1-10, characterized in that, The method further comprises: connecting a third electronic device; sending a first message to the third electronic device, the first message comprising a search result of the first application, the search result of the first application being used by the third electronic device to display on a second display interface according to the first display mode, wherein the second display interface is a specified area on a screen of the third electronic device.
13. The method of claim 12, wherein, The method further comprises: displaying the search result of the first application on the first display interface according to a second display mode, wherein the second display mode is different from the first display mode.
14. The method of claim 11 or 12, wherein, The first message comprises the first display mode, wherein the first display mode is determined by the first electronic device according to a device type of the third electronic device.
15. An electronic device, comprising: The computer readable storage medium stores instructions, when executed on a computer, to cause the computer to perform the method of any one of claims 1 to 14.
16. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, when executed on a computer, to cause the computer to perform the method of any one of claims 1 to 14.
17. A computer program product comprising instructions, characterized in that, The computer program product, when executed on a computer, causes the computer to perform the method of any one of claims 1 to 14.
Citation Information
Patent Citations
Cross-device information search method and terminal device
CN111221845A
Application display method and device, electronic equipment and storage medium
CN112700512A
Terminal equipment, search content display method and storage medium
CN115168689A
Screen rendering method and device, electronic equipment, storage medium and chip
CN115712430A
Search processing method and device, electronic equipment and storage medium
CN115729391A