WO2022143083A1 - 应用程序搜索方法、设备及介质 - Google Patents

应用程序搜索方法、设备及介质 Download PDF

Info

Publication number
WO2022143083A1
WO2022143083A1 PCT/CN2021/136807 CN2021136807W WO2022143083A1 WO 2022143083 A1 WO2022143083 A1 WO 2022143083A1 CN 2021136807 W CN2021136807 W CN 2021136807W WO 2022143083 A1 WO2022143083 A1 WO 2022143083A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
searched
program
candidate
elements
Prior art date
Application number
PCT/CN2021/136807
Other languages
English (en)
French (fr)
Inventor
钟伟才
王昱璇
田新
周一辰
池育浩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022143083A1 publication Critical patent/WO2022143083A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • G06F16/152File search processing using file content signatures, e.g. hash values
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces

Definitions

  • the present application relates to the technical field of image processing, and more particularly, to an application search method, an electronic device, and a computer-readable storage medium.
  • the existing APP search method is mainly implemented based on keyword search, that is, the user inputs a search keyword, and outputs a list of APP search results according to the APP name or label according to the relevance.
  • keyword search that is, the user inputs a search keyword, and outputs a list of APP search results according to the APP name or label according to the relevance.
  • users cannot perform text search such as the following scenarios: (1) The user has difficulty in reading and writing and cannot input search keywords; (2) The user cannot input the local language during cross-border travel but needs to download the local language APP; (3) The user wants to quickly search the APP and thinks it is inconvenient to manually input the search keywords. Therefore, there is a need to provide an efficient and accurate APP search method that does not require input of search keywords.
  • the present application provides an application search method, an electronic device, and a computer-readable storage medium, which can efficiently and accurately search for an APP without entering a search keyword.
  • an embodiment of the present application provides an application search method, which is characterized by comprising: acquiring an image of an application to be searched, where the image includes an icon of the application to be searched; extracting the application to be searched
  • the program index library contains the constituent elements of images of a plurality of applications.
  • the application program since the application program is searched by means of image processing, the application program can be efficiently searched without entering search keywords; A variety of constituent elements are searched to improve the accuracy of application search results.
  • the constituent elements further include text elements
  • the text elements include text elements in the icon and/or text elements below the icon.
  • the searching the application program corresponding to the application program to be searched from the application program index library based on the component elements includes: determining that each component element of the application program to be searched is related to the application program to be searched.
  • the element similarity between the corresponding constituent elements of each application in the application index library, the element similarity includes one or more of graphic similarity, color similarity and text similarity; based on the similarity of the elements Determine the application program corresponding to the application program to be searched.
  • the determining the application program corresponding to the application program to be searched based on the element similarity includes: determining a plurality of application programs corresponding to the application program to be searched based on the element similarity an application set, where each application in the application set is at least one application whose element similarity is greater than a predetermined threshold; determining the union of each of the application sets to obtain a plurality of candidate applications; based on the The element similarity determines the program confidence of each candidate application, and the program confidence represents the probability that the candidate application is similar to the application to be searched; Program corresponding application.
  • the application index library further includes: weights of corresponding elements of the candidate applications, and determining the relationship between each candidate application and the application to be searched based on the element similarity
  • the program confidence level of the The weight of the corresponding element of the application and the corresponding similarity of the element, determine the element confidence of the corresponding element of the candidate application, and the element confidence indicates that the corresponding element belongs to the application to be searched.
  • the probability of an element; based on the element confidence, the program confidence of each candidate application is determined.
  • the accuracy of the application search can be improved, so that the application can be accurately identified when the design deformation occurs in the application.
  • the determining the element confidence level of the corresponding element of the candidate application program includes: combining the weight of the component elements of the application program to be searched, the weight of the candidate application program The weight of the corresponding constituent element and the corresponding similarity of the element are input into the element scoring model, and the element scoring model is a neural network model; through the element scoring model, the element confidence of the corresponding element of the candidate application is determined. Spend.
  • the determining the program confidence level of each candidate application program based on the element confidence level includes: element confidence level of each component element under various types of component elements of the candidate application program Perform a weighted sum operation to determine the category element confidence of the candidate application, the category element confidence representing the probability that a category of constituent elements of the candidate application all belong to the application to be searched; based on the category element confidence degree to determine the program confidence of the candidate application.
  • the determining the category element confidence level of the candidate application program based on the category element confidence level includes: inputting the category element confidence level of various types of constituent elements into a category scoring model , the category scoring model is a neural network model; through the category scoring model, the program confidence level of each candidate application program is determined.
  • the extracting the constituent elements of the image of the application to be searched includes: extracting the graphic elements of the image of the application to be searched by using a semantic segmentation model; extracting the image of the application to be searched by using a color quantization model Search for the color element of the application's image.
  • the constituent elements include text elements
  • the extracting constituent elements of the image of the application to be searched further includes: extracting text elements of the image of the application to be searched by using a character recognition model .
  • the application index library further includes: element feature indexes and element features corresponding to various types of constituent elements of the application.
  • an electronic device comprising: an image acquisition unit for acquiring an image of an application to be searched, the image including an icon of the application to be searched; a processing unit for extracting an image of an application to be searched
  • the constituent elements of the image of the application to be searched, the constituent elements include graphic elements and color elements of the icon; based on the constituent elements, an application corresponding to the application to be searched is searched from the application index library , wherein the application index library contains the constituent elements of images of a plurality of applications.
  • the constituent elements further include text elements
  • the text elements include text elements in the icon and/or text elements below the icon.
  • the processing unit is configured to: determine the element similarity between each component element of the application to be searched and the corresponding component element of each application in the application index library, where The element similarity includes one or more of graphic similarity, color similarity, and text similarity; and an application corresponding to the application to be searched is determined based on the element similarity.
  • the processing unit is configured to include: determining a plurality of application program sets corresponding to the application to be searched based on the element similarity, and each application program in the application program set is: at least one application whose element similarity is greater than a predetermined threshold; determining the union of each of the application sets to obtain multiple candidate applications; determining the program confidence of each candidate application based on the element similarity, the The program confidence indicates the probability that the candidate application is similar to the application to be searched; the application corresponding to the application to be searched is determined based on the program confidence.
  • the application index library further includes: the weight of the corresponding element of the candidate application, and the processing unit is configured to: determine the weight of each component element of the application to be searched and the weight of the element to be searched.
  • the weight of the corresponding element of the candidate application; the candidate application is determined based on the weight of each constituent element of the application to be searched, the weight of the corresponding element of the candidate application, and the corresponding element similarity
  • the element confidence of the corresponding element represents the probability that the corresponding element belongs to the element of the application to be searched; based on the element confidence, the program confidence of each candidate application is determined.
  • the processing unit is configured to: combine the weight of the constituent elements of the application to be searched, the weight of the corresponding constituent elements of the candidate application, and the corresponding similarity of the elements Input to an element scoring model, where the element scoring model is a neural network model; through the element scoring model, the element confidence level of the corresponding element of the candidate application is determined.
  • the processing unit is configured to: perform a weighted sum operation on the element confidence of each component element under various types of component elements of the candidate application program , determine the category element confidence of the candidate application, the category element confidence represents the probability that a category of constituent elements of the candidate application belong to the application to be searched; based on the category element confidence, determine the The program confidence of the candidate application.
  • the processing unit is configured to: input the category element confidences of various types of constituent elements into a category scoring model, where the category scoring model is a neural network model; through the category scoring model , to determine the program confidence of each candidate application.
  • the processing unit is configured to: extract the graphic elements of the image of the application to be searched through a semantic segmentation model; and extract the color elements of the image of the application to be searched through a color quantization model.
  • the constituent elements include text elements
  • the processing unit is configured to: extract the text elements of the image of the application to be searched through a character recognition model.
  • the application index library further includes: element feature indexes and element features corresponding to various types of constituent elements of the application.
  • embodiments of the present application further provide a computer-readable storage medium for storing a computer program, where the computer program includes instructions for implementing the method in the first aspect or any possible implementation manner thereof.
  • the embodiments of the present application further provide a computer program product, the computer program product includes instructions, when the instructions are executed on a computer, the computer can implement the first aspect or any possible implementation manner thereof. Methods.
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • FIG. 2 is a block diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of an application search method provided by some embodiments of the present application.
  • FIG. 4 is a schematic diagram of a display interface including an icon of an application provided by some embodiments of the present application.
  • FIG. 5 is a schematic flowchart of an application search method provided by other embodiments of the present application.
  • FIG. 6 is a schematic diagram of an image including an icon of an application provided by some embodiments of the present application.
  • FIG. 7 is a schematic diagram of the image cropped in FIG. 6 provided by some embodiments of the present application.
  • FIG. 8a and 8b are schematic diagrams of graphical elements of the image of the application in FIG. 7 provided by some embodiments of the present application;
  • FIG. 9 is a schematic diagram of detecting text elements in the image of the application program in FIG. 7 provided by some embodiments of the present application.
  • FIG. 10 is a schematic diagram of color elements of the image of the application program in FIG. 7 provided by some embodiments of the present application.
  • FIG. 11 is a schematic diagram of an image of a candidate application provided by some embodiments of the present application.
  • FIG. 12 is a schematic diagram of an initial BP neural network model structure provided by some embodiments of the present application.
  • FIG. 13 is a schematic diagram of an application index library provided by some embodiments of the present application.
  • FIG. 14 is a schematic diagram of an electronic device provided by some embodiments of the present application.
  • Component elements The elements contained in the image representing the application, including graphic elements, text elements, and color elements.
  • Element similarity It indicates the degree of similarity between the components of the image of the application.
  • the similarity of graphic elements can be expressed by the cosine value of the angle between the feature vectors of two graphic elements.
  • Element Confidence Indicates the probability that the constituent elements of the application in the application index library belong to the elements of the application to be searched.
  • Category Element Confidence Indicates the probability that a category of constituent elements of a candidate application belong to the elements of the application to be searched.
  • Program Confidence Indicates the probability that a candidate application is similar to the application to be searched.
  • Weight of a component element Indicates the importance of the component element in the icon of the application.
  • the weight of an element can be the proportion of the element in the image of the application.
  • the weight of a graphic element can be the weight of the graphic element.
  • a feature vector corresponding to the APP icon is determined, and the feature vector database is searched for application program information corresponding to the feature vector.
  • the recognition accuracy of this technical solution is low, and it is difficult to meet the application requirements.
  • an embodiment of the present application provides a method for searching for an application program, and the method can be applied to an electronic device having an image processing apparatus, such as a smart phone, a tablet computer, a wearable electronic device, and the like.
  • an image processing apparatus such as a smart phone, a tablet computer, a wearable electronic device, and the like.
  • the electronic device can accurately search for an APP in a relatively complex scene without inputting a search keyword.
  • the electronic device may be a portable electronic device that also includes other functions such as personal digital assistant and/or music player functions, such as a cell phone, a tablet computer, a wearable electronic device with wireless communication capabilities (eg, a smart watch) Wait.
  • portable electronic devices include, but are not limited to, portable electronic devices that carry other operating systems.
  • the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) or the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent components, or may be integrated in one or more processors.
  • the electronic device 101 may also include one or more processors 110 .
  • the controller can generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in the processor 110 may be a cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. In this way, repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the electronic device 101 in processing data or executing instructions.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal) asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface, and/or USB interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • 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 peripheral devices.
  • the USB interface 130 can also be used to connect an earphone, and play audio through the earphone.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • Wi-Fi wireless fidelity
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation
  • FM near field communication technology
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module, wherein one communication processing module may correspond to a network interface, and the network interface may be set in different service function modes, set in the Network interfaces in different modes can establish network connections corresponding to that mode. .
  • a network connection supporting the P2P function can be established through the network interface in the P2P function mode
  • a network connection supporting the STA function can be established through the network interface in the STA function mode
  • a network supporting the AP function can be established through the network interface in the AP mode. connect.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • 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.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed
  • quantum dot light-emitting diode quantum dot light emitting diodes, QLED
  • electronic device 100 may include one or more display screens 194 .
  • the display screen 194 in FIG. 1 when the display panel adopts materials such as OLED, AMOLED, FLED, etc., the display screen 194 in FIG. 1 can be bent.
  • the above-mentioned display screen 194 can be bent means that the display screen can be bent to any angle at any position, and can be maintained at this angle, for example, the display screen 194 can be folded from the middle to left and right. It can also be folded up and down from the middle.
  • a display screen that can be bent is called a foldable display screen.
  • the touch display screen may be one screen, or may be a display screen formed by piecing together multiple screens, which is not limited herein.
  • the display screen 194 of the electronic device 100 may be a flexible screen.
  • the flexible screen has attracted much attention due to its unique characteristics and great potential.
  • flexible screens have the characteristics of strong flexibility and bendability, which can provide users with new interactive methods based on the bendable characteristics, and can meet more needs of users for electronic devices.
  • the foldable display screen on the electronic device can be switched between a small screen in a folded state and a large screen in an unfolded state at any time. Therefore, users are using the split-screen function more and more frequently on electronic devices equipped with foldable displays.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or more cameras 193 .
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NPU neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand 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 to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store one or more computer programs including instructions.
  • the processor 110 may execute the above-mentioned instructions stored in the internal memory 121, thereby causing the electronic device 101 to execute the method for off-screen display, various applications and data processing provided in some embodiments of the present application.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the stored program area may store the operating system; the stored program area may also store one or more applications (such as gallery, contacts, etc.) and the like.
  • the storage data area may store data (such as photos, contacts, etc.) created during the use of the electronic device 101 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal flash storage (UFS), and the like.
  • the processor 110 may cause the electronic device 101 to execute the instructions provided in the embodiments of the present application by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor 110 .
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure 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, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, X, Y, and Z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the Android operating system is used as an example for introduction, and the electronic device 100 may also be equipped with other operating systems, such as: operating system, operating system, The operating system, etc., is not limited in this embodiment of the present application.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • FIG. 3 is a schematic flowchart of an application search method provided by some embodiments of the present application. The method may be applied to the electronic device 100 shown in FIG. 1 , and the method may include steps S310 to S330 , and the method will be described in detail below with reference to the accompanying drawings.
  • step S310 an image of the application to be searched is acquired, and the image includes an icon of the application to be searched.
  • the image of the application to be searched may include the icon part of the application to be searched and the text part under the icon of the application, and the image of the application to be searched may be acquired through the camera 193 of the electronic device 100 .
  • the image of the application to be searched may be acquired through the camera 193 of the electronic device 100 .
  • user A wants to install an application on mobile phone A of user B's mobile phone B, for example, APP1 in Figure 4, then user A can obtain the image of the application APP1 through the camera of mobile phone A, and the The image of the application APP1 may include an icon portion of the application APP1 and a text portion APP1 below the icon of the application APP1.
  • step S320 the constituent elements of the image of the application to be searched are extracted, and the constituent elements include graphic elements and color elements.
  • the graphical element of the icon of the application to be searched is extracted by a semantic segmentation model.
  • the image semantic segmentation model DeepLabV2 can be used to extract the graphic elements in the icons of the applications to be searched, and the depthwise separable convolution model can also be used to extract the graphic elements in the icons of the applications to be searched.
  • the graphic elements can include the icons to be searched.
  • Graphic element feature vectors of the application such as feature vectors of contour information of graphic elements and high-level semantic feature vectors. It should be noted that the graphic element in the icon of the application program to be searched may also be extracted through other appropriate models, which is not particularly limited in this embodiment of the present application.
  • the color element of the icon of the application program to be searched can be extracted through a color quantization model.
  • the color quantization model octree quantization method can be used to extract the main colors in the icon of the application to be searched, for example, the background color of the icon and the color of the graphics or text in the icon.
  • the color quantization model is used for description, those skilled in the art should understand that the color elements of the icon of the application to be searched can also be extracted in other appropriate ways, for example, the color histogram of the icon can be extracted through OPENCV Figure, which is also within the protection scope of the embodiments of the present application.
  • step S330 an application program corresponding to the application to be searched is searched from the application program index library based on the component elements, wherein the application program index library includes the component elements of images of a plurality of application programs.
  • the element similarity between the feature vector of each component element of the application to be searched and the feature vector of the corresponding component element of each application in the application index library is determined, according to each component element of the application to be searched
  • the element similarity with the corresponding constituent elements of each application program determines the target application program corresponding to the application program to be searched.
  • the graphic similarity between the feature vector of the graphic element of the application to be searched and the feature vector of the graphic element of each application in the application index library can be determined;
  • the color similarity between the feature vector and the feature vector of the color elements of each application in the application index library; the icon corresponding to the application to be searched is determined based on the graphic similarity and the color similarity.
  • the constituent elements further include text elements
  • the text elements include text elements in the icons of the application to be searched and/or text elements below the icons. Therefore, the text similarity between the feature vector of the text element of the application program to be searched and the feature vector of the text element of each application program in the application program index library can be determined.
  • the constituent elements of the image of the application to be searched are extracted, the constituent elements include graphic elements and color elements, and the target corresponding to the application to be searched is searched from the application index library based on the constituent elements Application, on the one hand, because the application is searched by image processing, it is possible to efficiently search for the application without entering search keywords; This can improve the accuracy of application search results.
  • FIG. 5 is a schematic flowchart of an application search method provided by other embodiments of the present application.
  • the application search method can be applied to the electronic device 100 in FIG. 1 , and the application search method will be described in detail below with reference to the accompanying drawings.
  • step S510 an image containing an icon of an application to be searched is acquired.
  • the image containing the icon of the application to be searched is acquired through the camera of the electronic device 100 .
  • the graph includes icons of 3 application programs, wherein APP1 is the application program to be searched.
  • step S520 the icon of the application to be searched is detected, and the clipping process is performed.
  • the icon of the application to be searched is detected by the target detection model, for example, the icon of the application to be searched is detected by using the target detection model based on the candidate region to obtain the image of the application to be searched.
  • the target detection model based on the candidate area is used to detect the area where the APP icon and the text below the icon are located, and output the detection result list [“box1”: “[14, 1000, 142, 175]”, “box2 ": “[360, 1250, 137, 171]”, “box3”: "[554, 1007, 136, 178]”].
  • the first icon of the APP to be searched on the left is selected and cropped to obtain the image of the APP to be searched as shown in FIG. 7 .
  • the target detection model may be an R-CNN model, or may be other appropriate target detection models, such as a YOLO model or an SSD model, which is not particularly limited in this embodiment of the present application.
  • step S530 the constituent elements of the image of the application program are extracted, and the constituent elements include: graphic elements, text elements and color elements.
  • Step S530 includes step S532, step S534 and step S536, and step S530 will be described in detail below.
  • step S532 the graphic element in the icon of the application to be searched is detected, and the feature vector of the graphic element is extracted.
  • the graphical element of the icon of the application to be searched is extracted by a semantic segmentation model.
  • the graphic elements in the icons of the applications to be searched can be extracted by the image semantic segmentation model DeepLabV2
  • the graphic elements in the icons of the applications to be searched can also be extracted by using a depthwise separable convolution model, and the graphic elements may include the icons to be searched.
  • Graphic element feature vectors of the application such as feature vectors of contour information of graphic elements and high-level semantic feature vectors. It should be noted that the graphic elements in the icon of the application to be searched may also be extracted through other appropriate models, which are not particularly limited in this embodiment of the present application.
  • the outline of the graphic element of the APP icon to be searched is extracted by the semantic segmentation model, that is, FIGS. 8 a and 8 b , the image feature vector of the outline of the graphic element is generated, and the generated image feature vector is compressed into a 512-dimensional image feature vector. .
  • step S534 the text element in the icon of the application to be searched is detected.
  • OCR is used to identify text elements in the icon of the application to be searched and/or text elements below the icon, and the text elements may include one or more of words, letters and numbers.
  • OCR recognition technology can be used to identify the text elements in the icon of the APP to be searched and the text elements below the icon.
  • the following text elements are extracted from the icon of the APP to be searched by OCR recognition technology: [ ⁇ "word “: “618”, “bbox”: [62, 1018, 46, 21] ⁇ , ⁇ "word”: “XXX”, "bbox”: [44, 1097, 82, 22] ⁇ ], from the APP to be searched
  • the APP name [ ⁇ "word”: "APP1”, “bbox”: [35,1135,101,30] ⁇ ] is extracted from the icon.
  • step S536 the color element in the icon of the application to be searched is detected.
  • the color element of the icon of the application to be searched is extracted by a color quantization model.
  • the color quantization model octree quantization method can be used to extract the main colors in the icon of the application to be searched, for example, the background color of the icon and the color of the graphics or text in the icon.
  • the color element of the icon of the application to be searched is extracted by the octree quantization method, and the result of extracting the color element is: [["rgb”:[220,51,69],”percent” : 0.41], ["rgb”: [220, 51, 69], "percent”: 0.14]], and convert to the Lab color space [["lab”: [49.512, 64.633, 31.214], “percent”: 0.41],["lab”:[97.876,-0.345,0.946],”percent”:0.14]].
  • color quantization model is used for the description, it should be understood by those skilled in the art that the color elements of the icon of the application to be searched can also be extracted in other appropriate ways, for example, the color histogram of the icon can be extracted through OPENCV Figure, which is also within the protection scope of the embodiments of the present application.
  • step S540 the corresponding application program is searched from the application program index library according to the constituent elements of the image of the application program to be searched.
  • Step S540 includes step S542, step S544 and step S546, and step S540 will be described in detail below.
  • step S542 an application program whose graphic similarity with the graphic elements of the application to be searched is greater than a predetermined threshold is searched from the application program index library.
  • the graphic similarity between the feature vector of the graphic element of the application to be searched and the feature vector of the graphic element of the application in the application index library may be determined, and the graphic similarity of the application whose graphic similarity is greater than a predetermined threshold may be determined.
  • the similarity between A and B can be measured by cosine similarity.
  • the similarity can be expressed by the following formula (1):
  • Ai and Bi represent the components of vector A and vector B, respectively.
  • an application program whose graphic similarity is greater than a predetermined threshold is obtained. For example, 79562 APPs are searched according to the graphic elements in Fig. 8a, and 13 APPs are searched according to the graphic elements in Fig. 8b.
  • step S544 an application program whose text similarity with the text element of the application program to be searched is greater than a predetermined threshold is searched from the application program index library.
  • the text similarity between the character string of the text element of the application to be searched and the character string of the text element of the application in the application index library may be determined, and the application program whose text similarity is greater than a predetermined threshold may be determined.
  • the text similarity between a and b can be measured by the Levenshtein distance, For example, it can be expressed as lev a,b (
  • represent the lengths of the two strings a and b.
  • ) satisfies the constraints of the following formula (2).
  • Represents an indicator function whose value is 0 when a i b i , and 1 when a i ⁇ bi .
  • lev a,b (i,j) represents the distance between the first i characters of a and the first j characters of b (both i and j are 1-based subscripts).
  • the above formula (2) is used to determine the text similarity between a and b, and to determine the application program whose text similarity is greater than a predetermined threshold. For example, 35895 APPs are searched according to the text element "618”, 8 APPs are searched according to the text element "XXX”, and 22 APPs are searched according to the APP name "APP1".
  • step S546 an application program whose color similarity with the color element of the application program to be searched is greater than a predetermined threshold is searched from the application program index library.
  • the color similarity between the color element of the application to be searched and the color element of the application in the application index library may be determined, and the application whose color similarity is greater than a predetermined threshold may be determined.
  • step S550 the search results corresponding to the respective constituent elements searched in step S540 are sorted.
  • the search results are sorted in descending order of element similarity, a predetermined number of applications are selected from the sorted results to form a plurality of application sets, and a union of the plurality of application sets is obtained, Generate a candidate application set.
  • the search results of each component element are sorted according to the similarity of the elements, and after taking the top 80% of the applications, multiple application sets are obtained, and the union of multiple application sets is obtained to obtain candidate applications. Collection of 2,127,138 APPs.
  • the element similarity of each component element of the candidate application program in the candidate application program set can be weighted to obtain the program similarity between the candidate application program and the application program to be searched, according to the program similarity. Similarity ranks candidate applications.
  • step S560 the APP search result is output.
  • the APP search result is output on the user interface of the electronic device 100 after the ranking result of each candidate application program in the candidate application program set is obtained. For example, the top 10% APPs in the candidate application program set are output on the interface of the application store of the electronic device 100 .
  • the application program since the application program is searched by means of image processing, the application program can be efficiently searched without entering search keywords; The various components of the image are searched to improve the accuracy of the application's search results.
  • the program confidence of each candidate application is determined based on the element similarity, and the program confidence represents the probability that the candidate application is similar to the application to be searched; Program corresponding application.
  • the application index library further includes: weights of corresponding elements of the candidate applications, and determining the program confidence between each candidate application and the application to be searched based on the element similarity, including: determining each element of the application to be searched.
  • the weight of the constituent element and the weight of the corresponding element of the candidate application based on the weight of each constituent element of the application to be searched, the weight of the corresponding element of the candidate application and the corresponding element similarity, determine the element of the corresponding element of the candidate application Confidence, the element confidence indicates the probability that the corresponding element belongs to the element of the application to be searched; based on the element confidence, the program confidence of each candidate application is determined.
  • q represent the application to be searched
  • c represent an application in the candidate application list
  • I q represent the weight of the component i in the icon of the application to be searched
  • I c represent the components in the icon of the candidate application.
  • the weight of element i, S represents the similarity between the constituent element i in the q icon and the constituent element i in the c icon
  • the element confidence of the constituent element i in the candidate application icon can be calculated by the element scoring BP neural network model
  • element The confidence level f i can be specifically expressed by the following formula (4):
  • Element scoring BP neural network model construction Referring to Figure 12, construct the initial BP neural network model, input the three parameters I q , I c , S to the input layer in the initial BP neural network model, and combine the composition of the candidate application Whether element i belongs to the element of the application to be searched is used as the output of the BP neural network model. For example, whether the component element i of the candidate application belongs to the element result of the application to be searched can be one-hot encoded as the output of the BP neural network model. output.
  • the initial BP neural network model can be trained through the application program in the application index library, and the trained BP neural network model can be obtained as the element-scoring BP neural network model in practical applications.
  • the program confidence of the candidate application can be obtained through the category scoring BP neural network model, and the program confidence G can be expressed by the following formula (5):
  • H represents the confidence of each constituent element, and H can be represented by the following formula (6):
  • w is the empirical value
  • I can be determined by the following formula (7):
  • the construction method of the BP neural network model for category scoring As shown in Figure 12, the confidence levels of the graphic element class, the text element class and the color element class are input into the input layer in the initial BP neural network model, and whether the candidate application is a The application to be searched is one-hot encoded as the output of the initial BP neural network model.
  • the initial BP neural network model can be trained according to the application program in the application program index library, and the trained BP neural network model can be obtained as the category scoring neural network model in practical use.
  • the confidence level of graphic element a is 0.004, the confidence level of graphic element b is 0.784; the text element "618"
  • the confidence level is 0.000
  • the confidence level of the text element "HUAWEI” is 0.689
  • the confidence level of the APP name "XXX” is "0.301”
  • the confidence level of the color element a is 0.002
  • the confidence level of the color element b is 0.776.
  • the confidence level of the category element of the candidate APP can be calculated. Specifically, the confidence level of the graphic type element is 0.784, the confidence level of the text type element is 0.689, and the confidence level of the color type element is 0.012.
  • program confidence level of the candidate APP calculated by the category scoring BP neural network model is 0.988.
  • the accuracy of the application search can be improved, so that the APP can be accurately identified when the APP is deformed in its design;
  • using the neural network model to determine the program confidence of the candidate APP can further efficiently and accurately carry out the application search.
  • FIG. 13 is a schematic diagram of an application index library provided by some embodiments of the present application.
  • the application index library may be pre-built.
  • each application in the application index library corresponds to three types of elements: graphic element class, text element class, and color element class, and each type of constituent element includes element feature index, element feature (graphic feature vector, text strings, color values) and weights.
  • the weight represents the importance of the element in the icon of the application.
  • the weight can be the proportion of the element in the image of the application.
  • the weight of the graphic element can be the area occupied by the graphic element and the application.
  • the ratio of the area of the icon, the weight of the text element can be the ratio of the area occupied by the text element to the area of the icon of the application
  • the weight of the color element can be the area occupied by the color element and the area of the icon of the application ratio.
  • the element weight may also be other appropriate values, for example, the element weight may be the frequency of the element appearing in the application's interface, posters, advertisements and other public visual materials, which is also described in the present application. within the scope of protection.
  • the accuracy of the application search can be improved, so that the APP can be accurately identified when the APP is deformed in its design.
  • FIG. 14 is a schematic diagram of an electronic device provided by some embodiments of the present application.
  • the electronic device 1400 includes: an image acquisition unit 1410 for acquiring an image of an application to be searched, the image including the icon of the application to be searched; a processing unit 1420 for extracting the The constituent elements of the image of the application program to be searched, the constituent elements include the graphic elements and color elements of the icon; based on the constituent elements, the application program corresponding to the application program to be searched is searched from the application index library, wherein , the application index library contains the constituent elements of images of a plurality of application programs.
  • the application program since the application program is searched by means of image processing, the application program can be efficiently searched without entering search keywords; A variety of constituent elements are searched to improve the accuracy of application search results.
  • the constituent elements further include text elements
  • the text elements include text elements in the icon and/or text elements below the icon.
  • the processing unit 1420 is configured to: determine the element similarity between each component element of the application to be searched and the corresponding component element of each application in the application index library,
  • the element similarity includes one or more of graphic similarity, color similarity, and text similarity; an application corresponding to the application to be searched is determined based on the element similarity.
  • the processing unit 1420 is configured to include: determining, based on the element similarity, multiple application sets corresponding to the application to be searched, and each application in the application set is at least one application whose element similarity is greater than a predetermined threshold; the union of each of the application sets is determined to obtain a plurality of candidate applications; the program confidence of each candidate application is determined based on the element similarity, and the The program confidence indicates the probability that the candidate application is similar to the application to be searched; an application corresponding to the application to be searched is determined based on the program confidence.
  • the application index library further includes: the weight of the corresponding elements of the candidate application
  • the processing unit 1420 is configured to: determine the weight of each component element of the application to be searched The weight of the corresponding element of the candidate application; based on the weight of each constituent element of the application to be searched, the weight of the corresponding element of the candidate application and the corresponding similarity of the element, determine the candidate application
  • the element confidence of the corresponding element of the program where the element confidence represents the probability that the corresponding element belongs to the element of the application to be searched; based on the element confidence, the program confidence of each candidate application is determined.
  • the processing unit 1420 is configured to: compare the weights of the constituent elements of the application to be searched, the weights of the corresponding constituent elements of the candidate application, and the corresponding elements as similar
  • the element scoring model is input to the element scoring model, and the element scoring model is a neural network model; through the element scoring model, the element confidence level of the corresponding element of the candidate application program is determined.
  • the processing unit 1420 is configured to: perform a weighted summation of the element confidence of each component under various types of component elements of the candidate application operation to determine the category element confidence of the candidate application, the category element confidence represents the probability that a category of constituent elements of the candidate application belong to the application to be searched; based on the category element confidence, determine the The program confidence of the candidate application.
  • the processing unit 1420 is configured to: input the category element confidences of various types of constituent elements into a category scoring model, where the category scoring model is a neural network model; A model that determines the program confidence for each candidate application.
  • the processing unit 1420 is configured to: extract the graphic elements of the image of the application to be searched by using a semantic segmentation model; extract the color elements of the image of the application to be searched by using a color quantization model .
  • the constituent elements include text elements
  • the processing unit 1420 is configured to: extract the text elements of the image of the application to be searched by using a character recognition model.
  • the application index library further includes: element feature indexes and element features corresponding to various types of constituent elements of the application.
  • the electronic device 1400 provided in this embodiment is used to execute the above application program search method, so the same effect as the above implementation method can be achieved.
  • the electronic device includes corresponding hardware and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
  • This embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on the electronic device, the electronic device executes the above-mentioned relevant method steps to realize the application program search method in the above-mentioned embodiment. .
  • This embodiment also provides a computer program product, which when the computer program product runs on the computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the application program searching method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device, the device may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the device is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes the application program search method in the above method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
  • the disclosed apparatuses, devices and methods may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium.
  • a readable storage medium including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Library & Information Science (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种应用程序搜索方法、设备及介质,能够在不需要输入搜索关键词的情况下高效准确地搜索APP。该方法包括:获取待搜索应用程序的图像,该图像包括待搜索应用程序的图标(S310);提取待搜索应用程序的图像的组成元素,组成元素包括该图标的图形元素和颜色元素(S320);基于组成元素从应用程序索引库中搜索与待搜索应用程序对应的应用程序,其中,应用程序索引库包含多个应用程序的图像的组成元素(S330)。

Description

应用程序搜索方法、设备及介质
本申请要求于2020年12月29日提交中国专利局、申请号为202011599809.2、发明名称为“应用程序搜索方法、设备及介质”的专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及图像处理技术领域,并且更具体地,涉及一种应用程序搜索方法、电子设备及计算机可读存储介质。
背景技术
随着智能手机的普及和移动互联网的日益成熟,大量的手机应用程序(application,APP)使我们日常生活更加便利,如地图类APP,购物类APP,美食评分类APP等。
现有的APP搜索方式主要是基于关键词搜索实现的,即用户输入搜索关键词,根据APP名称或标签按照相关度输出APP搜索结果列表。但是,在实际应用中存在用户无法进行文本搜索的场景,例如以下场景:(1)用户存在读写能力障碍无法输入搜索关键词;(2)用户在跨国旅行途中无法输入当地语言但是需要下载本地APP;(3)用户想要快速搜索APP认为手动输入搜索关键词不方便。因此,需要提供一种不需要输入搜索关键词的高效准确的APP搜索方法。
发明内容
本申请提供一种应用程序搜索方法、电子设备及计算机可读存储介质,能够在不需要输入搜索关键词的情况下高效准确地搜索APP。
第一方面,本申请实施例提供一种应用程序搜索方法,其特征在于,包括:获取待搜索应用程序的图像,所述图像包括所述待搜索应用程序的图标;提取所述待搜索应用程序的图像的组成元素,所述组成元素包括所述图标的图形元素和颜色元素;基于所述组成元素从应用程序索引库中搜索与所述待搜索应用程序对应的应用程序,其中,所述应用程序索引库包含多个应用程序的图像的所述组成元素。
根据本申请实施例中的技术方案,一方面,由于通过图像处理的方式搜索应用程序,不需要输入搜索关键词就能够高效地搜索应用程序;另一方面,由于结合待搜索应用程序的图像的多种组成元素进行搜索,从而能够提高应用程序搜索结果的准确性。
在一种可能的实现方式中,所述组成元素还包括文字元素,所述文字元素包括所述图标中的文字元素和/或所述图标下方的文字元素。
通过提取待搜索应用程序的图像的文字元素,结合文字元素搜索应用程序,能够进一步提高应用程序搜索结果的准确性。
在一种可能的实现方式中,所述基于所述组成元素从应用程序索引库中搜索与所述待 搜索应用程序对应的应用程序,包括:确定所述待搜索应用程序的各个组成元素与所述应用程序索引库中各个应用程序的对应组成元素之间的元素相似度,所述元素相似度包括图形相似度、颜色相似度以及文本相似度中的一种或多种;基于所述元素相似度确定与所述待搜索应用程序对应的应用程序。
在一种可能的实现方式中,所述基于所述元素相似度确定与所述待搜索应用程序对应的应用程序,包括:基于所述元素相似度确定与所述待搜索应用程序对应的多个应用程序集合,所述应用程序集合中的各个应用程序为至少一个所述元素相似度大于预定阈值的应用程序;确定各个所述应用程序集合的并集,得到多个候选应用程序;基于所述元素相似度确定各个候选应用程序的程序置信度,所述程序置信度表示所述候选应用程序与所述待搜索应用程序相似的概率;基于所述程序置信度的大小确定与所述待搜索应用程序对应的应用程序。
在一种可能的实现方式中,所述应用程序索引库还包括:所述候选应用程序的对应元素的权重,所述基于所述元素相似度确定各个候选应用程序与所述待搜索应用程序之间的程序置信度,包括:确定所述待搜索应用程序的各个组成元素的权重与所述候选应用程序的对应元素的权重;基于所述待搜索应用程序的各个组成元素的权重、所述候选应用程序的对应元素的权重以及对应的所述元素相似度,确定所述候选应用程序的所述对应元素的元素置信度,所述元素置信度表示所述对应元素属于所述待搜索应用程序的元素的概率;基于所述元素置信度,确定各个候选应用程序的程序置信度。
通过在应用程序索引库中设置组成元素的权重,能够提高应用程序搜索的准确性,从而能够在应用程序产生设计变形时准确地识别该应用程序。
在一种可能的实现方式中,所述确定所述候选应用程序的所述对应元素的元素置信度,包括:将所述待搜索应用程序的所述组成元素的权重、所述候选应用程序的对应组成元素的权重以及对应的所述元素相似度输入到元素评分模型,所述元素评分模型为神经网络模型;通过所述元素评分模型,确定所述候选应用程序的所述对应元素的元素置信度。
在一种可能的实现方式中,所述基于所述元素置信度,确定各个候选应用程序的程序置信度,包括:对所述候选应用程序的各类组成元素下的各个组成元素的元素置信度进行加权求和运算,确定所述候选应用程序的类别元素置信度,所述类别元素置信度表示候选应用程序的一类组成元素均属于所述待搜索应用程序的概率;基于所述类别元素置信度,确定所述候选应用程序的程序置信度。
在一种可能的实现方式中,所述基于所述类别元素置信度,确定所述候选应用程序的类别元素置信度,包括:将各类组成元素的所述类别元素置信度输入到类别评分模型,所述类别评分模型为神经网络模型;通过所述类别评分模型,确定各个候选应用程序的程序置信度。
在一种可能的实现方式中,所述提取所述待搜索应用程序的图像的组成元素包括:通过语义分割模型提取所述待搜索应用程序的图像的图形元素;通过颜色量化模型提取所述待搜索应用程序的图像的颜色元素。
在一种可能的实现方式中,所述组成元素包括文字元素,所述提取所述待搜索应用程序的图像的组成元素还包括:通过字符识别模型提取所述待搜索应用程序的图像的文字元素。
在一种可能的实现方式中,所述应用程序索引库还包括:与所述应用程序的各类组成元素对应的元素特征索引以及元素特征。
第二方面,提供了一种电子设备,所述电子设备包括:图像获取单元,用于获取待搜索应用程序的图像,所述图像包括所述待搜索应用程序的图标;处理单元,用于提取所述待搜索应用程序的图像的组成元素,所述组成元素包括所述图标的图形元素和颜色元素;基于所述组成元素从应用程序索引库中搜索与所述待搜索应用程序对应的应用程序,其中,所述应用程序索引库包含多个应用程序的图像的所述组成元素。
在一种可能的实现方式中,所述组成元素还包括文字元素,所述文字元素包括所述图标中的文字元素和/或所述图标下方的文字元素。
在一种可能的实现方式中,所述处理单元用于:确定所述待搜索应用程序的各个组成元素与所述应用程序索引库中各个应用程序的对应组成元素之间的元素相似度,所述元素相似度包括图形相似度、颜色相似度以及文本相似度中的一种或多种;基于所述元素相似度确定与所述待搜索应用程序对应的应用程序。
在一种可能的实现方式中,所述处理单元用于包括:基于所述元素相似度确定与所述待搜索应用程序对应的多个应用程序集合,所述应用程序集合中的各个应用程序为至少一个所述元素相似度大于预定阈值的应用程序;确定各个所述应用程序集合的并集,得到多个候选应用程序;基于所述元素相似度确定各个候选应用程序的程序置信度,所述程序置信度表示所述候选应用程序与所述待搜索应用程序相似的概率;基于所述程序置信度的大小确定与所述待搜索应用程序对应的应用程序。
在一种可能的实现方式中,所述应用程序索引库还包括:所述候选应用程序的对应元素的权重,所述处理单元用于:确定所述待搜索应用程序的各个组成元素的权重与所述候选应用程序的对应元素的权重;基于所述待搜索应用程序的各个组成元素的权重、所述候选应用程序的对应元素的权重以及对应的所述元素相似度,确定所述候选应用程序的所述对应元素的元素置信度,所述元素置信度表示所述对应元素属于所述待搜索应用程序的元素的概率;基于所述元素置信度,确定各个候选应用程序的程序置信度。
在一种可能的实现方式中,所述处理单元用于:将所述待搜索应用程序的所述组成元素的权重、所述候选应用程序的对应组成元素的权重以及对应的所述元素相似度输入到元素评分模型,所述元素评分模型为神经网络模型;通过所述元素评分模型,确定所述候选应用程序的所述对应元素的元素置信度。
在一种可能的实现方式中,所述基于所述元素置信度,所述处理单元用于:对所述候选应用程序的各类组成元素下的各个组成元素的元素置信度进行加权求和运算,确定所述候选应用程序的类别元素置信度,所述类别元素置信度表示候选应用程序的一类组成元素均属于所述待搜索应用程序的概率;基于所述类别元素置信度,确定所述候选应用程序的程序置信度。
在一种可能的实现方式中,所述处理单元用于:将各类组成元素的所述类别元素置信度输入到类别评分模型,所述类别评分模型为神经网络模型;通过所述类别评分模型,确定各个候选应用程序的程序置信度。
在一种可能的实现方式中,所述处理单元用于:通过语义分割模型提取所述待搜索应用程序的图像的图形元素;通过颜色量化模型提取所述待搜索应用程序的图像的颜色元 素。
在一种可能的实现方式中,所述组成元素包括文字元素,所述处理单元用于:通过字符识别模型提取所述待搜索应用程序的图像的文字元素。
在一种可能的实现方式中,所述应用程序索引库还包括:与所述应用程序的各类组成元素对应的元素特征索引以及元素特征。
第三方面,本申请实施例还提供一种计算机可读存储介质,用于存储计算机程序,所述计算机程序包括用于实现上述第一方面或其任意可能的实现方式中的方法的指令。
第四方面,本申请实施例还提供一种计算机程序产品,所述计算机程序产品中包含指令,当所述指令在计算机上运行时,使得计算机实现上述第一方面或其任意可能的实现方式中的方法。
附图说明
图1是本申请实施例提供的电子设备100的结构示意图;
图2是本申请实施例提供的电子设备的软件结构框图;
图3是本申请的一些实施例提供的应用程序搜索方法的流程示意图;
图4是本申请的一些实施例提供的包含应用程序的图标的显示界面的示意图;
图5是本申请的另一些实施例提供的应用程序搜索方法的流程示意图;
图6是本申请的一些实施例提供的包含应用程序的图标的图像的示意图;
图7是本申请的一些实施例提供的对图6进行剪裁处理的图像的示意图;
图8a和图8b是本申请的一些实施例提供的图7中的应用程序的图像的图形元素的示意图;
图9是本申请的一些实施例提供的检测图7中的应用程序的图像中的文字元素的示意图;
图10是本申请的一些实施例提供的图7中的应用程序的图像的颜色元素的示意图;
图11是本申请的一些实施例提供的候选应用程序的图像的示意图;
图12是本申请的一些实施例提供的初始BP神经网络模型结构的示意图;
图13是本申请的一些实施例提供的应用程序索引库的示意图;
图14是本申请的一些实施例提供的电子设备的示意图。
具体实施方式
在介绍本申请的方法实施例之前,先对本申请实施例中涉及到的技术做如下说明:
组成元素:表示应用程序的图像中包含的元素,包括图形元素、文字元素以及颜色元素。
元素相似度:表示应用程序的图像的组成元素之间相似的程度,例如图形元素的相似度可以用两个图形元素的特征向量的夹角的余弦值表示。
元素置信度:表示应用程序索引库中应用程序的组成元素属于待搜索应用程序的元素的概率。
类别元素置信度:表示候选应用程序的一类组成元素均属于待搜索应用程序的元素的概率。
程序置信度:表示候选应用程序与待搜索应用程序相似的概率。
组成元素的权重:表示该组成元素在应用程序的图标中的重要程度,例如元素权重可以为该元素在应用程序的图像中所占的比例,例如,图形元素的权重可以为该图形元素所占的面积与应用程序的图标的面积的比值,文字元素的权重可以为该文字元素所占的面积与应用程序的图标的面积的比值,颜色元素的权重可以为该颜色元素所占的面积与应用程序的图标的面积的比值。
在一种技术方案中,确定APP图标对应的特征向量,在特征向量数据库中搜索与该特征向量对应的应用程序信息。然而,在APP的图标比较复杂的情况下,这种技术方案识别的准确率较低,难以满足应用需求。
基于上述内容,本申请实施例提供一种应用程序搜索方法,该方法可以应用于具有图像处理装置的电子设备,例如智能手机、平板电脑、可穿戴电子设备等。通过该应用程序搜索方法,该电子设备能够在不需要输入搜索关键词的情况下,在较复杂场景下准确地搜索APP。
下面将结合附图对本申请实施例的实施方式进行详细描述。
首先,先介绍具备具有图像处理装置的电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地, 处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口,集成电路间音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,SIM卡接口,和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与外围设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同 一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。
可选地,无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件,其中,一个通信处理模块可以对应于一个网络接口,该网络接口可以设置在不同的业务功能模式,设置在不同模式下的网络接口可以建立与该模式对应的网络连接。。
例如:通过P2P功能模式下的网络接口可以建立支持P2P功能的网络连接,通过STA功能模式下的网络接口可以建立支持STA功能的网络连接,通过AP模式下的网络接口可以建立支持AP功能的网络连接。
无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。
在本申请的一些实施例中,当显示面板采用OLED、AMOLED、FLED等材料时,上述图1中的显示屏194可以被弯折。这里,上述显示屏194可以被弯折是指显示屏可以在任意部位被弯折到任意角度,并可以在该角度保持,例如,显示屏194可以从中部左右对折。也可以从中部上下对折。本申请中,将可以被弯折的显示屏称为可折叠显示屏。其中,该触摸显示屏可以是一块屏幕,也可以是多块屏幕拼凑在一起组合成的显示屏,在此不做限定。
电子设备100的显示屏194可以是一种柔性屏,目前,柔性屏以其独特的特性和巨大的潜力而备受关注。柔性屏相对于传统屏幕而言,具有柔韧性强和可弯曲的特点,可以给用户提供基于可弯折特性的新交互方式,可以满足用户对于电子设备的更多需求。对于配置有可折叠显示屏的电子设备而言,电子设备上的可折叠显示屏可以随时在折叠形态下的小屏和展开形态下大屏之间切换。因此,用户在配置有可折叠显示屏的电子设备上使用分屏功能,也越来越频繁。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或多个摄像头193。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递业务功能,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请一些实施例中所提供的灭屏显示的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的灭屏显示的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M 等。
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,X,Y和Z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。
需要说明的是,本申请实施例中仅以电子设备100上搭载Android操作系统为例进行介绍,该电子设备100上还可以搭载其它操作系统,例如:
Figure PCTCN2021136807-appb-000001
操作系统、
Figure PCTCN2021136807-appb-000002
操作系统、
Figure PCTCN2021136807-appb-000003
操作系统等,本申请实施例对此不作限定。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media  libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
图3是本申请的一些实施例提供的应用程序搜索方法的流程示意图。该方法可以应用于图1所示的电子设备100,该方法可以包括步骤S310至步骤S330,下面结合附图对该方法进行详细的说明。
在步骤S310中,获取待搜索应用程序的图像,该图像包括待搜索应用程序的图标。
在示例实施例中,待搜索应用程序的图像可以包括待搜索应用程序的图标部分以及应用程序的图标下方的文字部分,可以通过电子设备100的摄像头193获取待搜索应用程序的图像。举例而言,假设用户A希望在手机A上安装用户B的手机B上的一个应用程序,例如,图4中的APP1,那么用户A可以通过手机A的摄像头获取该应用程序APP1的图像,该应用程序APP1的图像可以包括该应用程序APP1的图标部分以及应用程序APP1的图标下方的文字部分APP1。
在步骤S320中,提取待搜索应用程序的图像的组成元素,组成元素包括图形元素和颜色元素。
在示例实施例中,通过语义分割模型提取待搜索应用程序的图标的图形元素。具体而言,可以通过图像语义分割模型DeepLabV2提取待搜索应用程序的图标中的图形元素,也可以利用深度可分离卷积模型提取待搜索应用程序的图标中的图形元素,图形元素可以包括待搜索应用程序的图形元素特征向量,例如图形元素的轮廓信息的特征向量以及高层语义特征向量。需要说明的是,也可以通过其他适当的模型来提取待搜索应用程序的图标中的图形元素,本申请实施例对此不进行特殊限定。
进一步地,可以通过颜色量化模型提取待搜索应用程序的图标的颜色元素。举例而言,可以通过颜色量化模型八叉树量化方法,提取待搜索应用程序的图标中的主要颜色,例如,图标的背景颜色以及图标中的图形或文字的颜色等。需要说明的是,虽然以颜色量化模型进行说明,但是本领域技术人员应该理解的是,也可以通过其他适当的方式提取待搜索应用程序的图标的颜色元素,例如可以通过OPENCV提取图标的颜色直方图,这同样在本申请实施例的保护范围内。
在步骤S330中,基于组成元素从应用程序索引库中搜索与待搜索应用程序对应的应用程序,其中,应用程序索引库中包含多个应用程序的图像的组成元素。
在示例实施例中,确定待搜索应用程序的各个组成元素的特征向量与应用程序索引库中各个应用程序的对应组成元素的特征向量之间的元素相似度,根据待搜索应用程序的各个组成元素与各个应用程序的对应组成元素之间的元素相似度,确定与待搜索应用程序对应的目标应用程序。具体而言,可以确定待搜索应用程序的图形元素的特征向量与应用程 序索引库中的各个应用程序的图形元素的特征向量之间的图形相似度;确定所述待搜索应用程序的颜色元素的特征向量与所述应用程序索引库中的各个应用程序的颜色元素的特征向量之间的颜色相似度;基于图形相似度以及颜色相似度确定与待搜索应用程序对应的图标。
进一步地,在示例实施例中,组成元素还包括文字元素,文字元素包括待搜索应用程序的图标中的文字元素和/或图标下方的文字元素。因此,可以确定所述待搜索应用程序的文本元素的特征向量与所述应用程序索引库中的各个应用程序的文本元素的特征向量之间的文本相似度。
根据图3的示例实施例中的技术方案,提取待搜索应用程序的图像的组成元素,组成元素包括图形元素和颜色元素,基于组成元素从应用程序索引库中搜索与待搜索应用程序对应的目标应用程序,一方面,由于通过图像处理的方式搜索应用程序,不需要输入搜索关键词就能够高效地搜索应用程序;另一方面,由于结合待搜索应用程序的图像的多种组成元素进行搜索,从而能够提高应用程序搜索结果的准确性。
图5是本申请的另一些实施例提供的应用程序搜索方法的流程示意图。该应用程序搜索方法可以应用于图1的电子设备100,下面结合附图对该应用程序搜索方法进行详细的说明。
参照图5所示,在步骤S510中,获取包含待搜索应用程序的图标的图像。
在示例实施例中,通过电子设备100的摄像头获取包含待搜索应用程序的图标的图像。参照图6所示,该图形中包含3个应用程序的图标,其中,APP1为待搜索应用程序。
在步骤S520中,检测待搜索应用程序的图标,进行剪裁处理。
在示例实施例中,利用目标检测模型检测待搜索应用程序的图标,例如,利用基于候选区域的目标检测模型对待搜索应用程序的图标进行检测处理,得到待搜索应用程序的图像。
举例而言,参照图6所示,利用基于候选区域的目标检测模型检测APP图标及图标下方文字所在的区域,输出检测结果列表[“box1”:“[14,1000,142,175]”,“box2”:“[360,1250,137,171]”,“box3”:“[554,1007,136,178]”]。选取左侧第一个待搜索APP图标并剪裁,得到图7所示的待搜索APP图像。
需要说明的是,目标检测模型可以为R-CNN模型,也可以为其他适当的目标检测模型例如YOLO模型或SSD模型,本申请实施例对此不进行特殊限定。
在步骤S530中,提取应用程序的图像的组成元素,组成元素包括:图形元素、文本元素以及颜色元素。步骤S530包括步骤S532、步骤S534以及步骤S536,下面对步骤S530进行详细的说明。
在步骤S532中,检测待搜索应用程序的图标中的图形元素,提取图形元素的特征向量。
在示例实施例中,通过语义分割模型提取待搜索应用程序的图标的图形元素。具体而言,可以通过图像语义分割模型DeepLabV2提取待搜索应用程序的图标中的图形元素,也可以利用深度可分离卷积模型提取待搜索应用程序的图标中的图形元素,图形元素可以包括待搜索应用程序的图形元素特征向量,例如图形元素的轮廓信息的特征向量以及高层语义特征向量。需要说明的是,也可以通过其他适当的模型来提取待搜索应用程序的图标 中的图形元素,本申请实施例对此不进行特殊限定。
举例而言,参照图7所示,通过语义分割模型提取待搜索APP图标的图形元素轮廓即图8a和图8b,生成图形元素轮廓的图像特征向量,并将生成的图像特征向量压缩为512维。
在步骤S534中,检测待搜索应用程序的图标中的文本元素。
在示例实施例中,利用OCR识别待搜索应用程序的图标中的文本元素和/或图标下方的文本元素,文本元素可以包括文字、字母和数字中的一种或多种。
举例而言,可以通过OCR识别技术识别待搜索APP的图标中以及图标下方的文本元素,参照图9所示,通过OCR识别技术从待搜索APP图标中提取到下述文本元素:[{"word":"618","bbox":[62,1018,46,21]},{"word":"XXX","bbox":[44,1097,82,22]}],从待搜索APP图标下提取到APP名称[{"word":"APP1","bbox":[35,1135,101,30]}]。
在步骤S536中,检测待搜索应用程序的图标中的颜色元素。
在示例实施例中,通过颜色量化模型提取待搜索应用程序的图标的颜色元素。举例而言,可以通过颜色量化模型八叉树量化方法,提取待搜索应用程序的图标中的主要颜色,例如,图标的背景颜色以及图标中的图形或文字的颜色等。
举例而言,参照图10所示,通过八叉树量化方法提取待搜索应用程序的图标的颜色元素,提取颜色元素结果为:[[“rgb”:[220,51,69],“percent”:0.41],[“rgb”:[220,51,69],“percent”:0.14]],并转化到Lab颜色空间下[[“lab”:[49.512,64.633,31.214],“percent”:0.41],[“lab”:[97.876,-0.345,0.946],“percent”:0.14]]。
需要说明的是,虽然以颜色量化模型进行说明,但是本领域技术人员应该理解的是,也可以通过其他适当的方式提取待搜索应用程序的图标的颜色元素,例如可以通过OPENCV提取图标的颜色直方图,这同样在本申请实施例的保护范围内。
接下来,在步骤S540中,根据待搜索应用程序的图像的组成元素从应用程序索引库中搜索对应的应用程序。步骤S540包括步骤S542、步骤S544以及步骤S546,下面对步骤S540进行详细的说明。
在步骤S542中,从应用程序索引库中搜索与待搜索应用程序的图形元素之间的图形相似度大于预定阈值的应用程序。
在示例实施例中,可以确定待搜索应用程序的图形元素的特征向量与应用程序索引库中的应用程序的图形元素的特征向量之间的图形相似度,确定图形相似度大于预定阈值的应用程序。
举例而言,设待搜索应用程序的图形元素的特征向量为A,应用程序索引库中的应用程序的图形元素的特征向量为B,则A与B的相似度可以用余弦相似性衡量,图形相似度可以用下式(1)表示:
Figure PCTCN2021136807-appb-000004
其中,Ai和Bi分别表示向量A和向量B的各个分量。
采用上述(1)确定A与B之间的图像相似度,得到图形相似度大于预定阈值的应用程序。例如,根据图8a中的图形元素搜索到79562个APP,根据图8b中的图形元素搜索到13个APP。
在步骤S544中,从应用程序索引库中搜索与待搜索应用程序的文本元素之间的文本相似度大于预定阈值的应用程序。
在示例实施例中,可以确定待搜索应用程序的文本元素的字符串与应用程序索引库中的应用程序的文本元素的字符串之间的文本相似度,确定文本相似度大于预定阈值的应用程序。
举例而言,设待搜索应用程序的名称或图标中提取的文本元素为a,应用程序索引库中的应用程序的文本元素记为b,则a与b的文本相似度可以用Levenshtein距离衡量,例如可以表示为lev a,b(|a|,|b|)。其中,|a|,|b|表示a,b两个字符串的长度。文本相似度lev a,b(|a|,|b|)符合下式(2)的约束条件。
Figure PCTCN2021136807-appb-000005
其中,
Figure PCTCN2021136807-appb-000006
表示一个指示函数,当a i=b i时,其值为0,当a i≠b i时,其值为1。lev a,b(i,j)表示a的前i个字符与b的前j个字符之间的距离(i和j都是从1开始的下标)。
采用上式(2)确定a与b之间的文本相似度,确定文本相似度大于预定阈值的应用程序。例如,根据文本元素“618”搜索到35895个APP,根据文本元素“XXX”搜索到8个APP,根据APP名称“APP1”搜到22个APP。
在步骤S546中,从应用程序索引库中搜索与待搜索应用程序的颜色元素之间的颜色相似度大于预定阈值的应用程序。
在示例实施例中,可以确定待搜索应用程序的颜色元素与应用程序索引库中的应用程序的颜色元素之间的颜色相似度,确定颜色相似度大于预定阈值的应用程序。
举例而言,设待搜索应用程序的颜色元素在Lab颜色空间中记为
Figure PCTCN2021136807-appb-000007
在应用程序索引库中搜索到的应用程序的颜色元素在该Lab颜色空间中记为
Figure PCTCN2021136807-appb-000008
Figure PCTCN2021136807-appb-000009
Figure PCTCN2021136807-appb-000010
的相似度可以用国际照明委员会度量标准
Figure PCTCN2021136807-appb-000011
衡量,可以通过下式(3)表示:
Figure PCTCN2021136807-appb-000012
采用上式(3)确定
Figure PCTCN2021136807-appb-000013
Figure PCTCN2021136807-appb-000014
之间的相似度,得到颜色相似度大于 预定阈值的应用程序。例如,根据颜色元素a搜索到1589532个APP,根据颜色元素b搜到2658923个APP。
接下来,在步骤S550中,对步骤S540中搜索各个组成元素对应的搜索结果进行排序。
在示例实施例中,按照元素相似度从大到小的顺序对搜索结果进行排序,从排序结果中选取预定数量的应用程序,形成多个应用程序集合,对多个应用程序集合取并集,生成候选应用程序集。
举例而言,对每个组成元素的搜索结果依据元素相似度的大小进行排序,取前80%的应用程序后得到多个应用程序集合,取多个应用程序集合的并集,得到候选应用程序集2127138个APP。
进一步地,在示例实施例中,可以对候选应用程序集中的候选应用程序的各个组成元素的元素相似度进行加权运算,得到候选应用程序与待搜索应用程序之间的程序相似度,根据程序相似度对候选应用程序进行排序。
在步骤S560中,输出APP搜索结果。
在示例实施例中,在得到候选应用程序集中的各个候选应用程序的排序结果之后,在电子设备100的用户界面上输出APP搜索结果。例如,在电子设备100的应用商店的界面上输出候选应用程序集中前10%的APP。
根据图5的示例实施例中的技术方案,一方面,由于通过图像处理的方式搜索应用程序,不需要输入搜索关键词就能够高效地搜索应用程序;另一方面,由于结合待搜索应用程序的图像的多种组成元素进行搜索,从而能够提高应用程序搜索结果的准确性。
进一步地,在示例实施例中,基于元素相似度确定各个候选应用程序的程序置信度,程序置信度表示候选应用程序与待搜索应用程序相似的概率;基于程序置信度的大小确定与待搜索应用程序对应的应用程序。具体而言,应用程序索引库还包括:候选应用程序的对应元素的权重,基于元素相似度确定各个候选应用程序与待搜索应用程序之间的程序置信度,包括:确定待搜索应用程序的各个组成元素的权重与候选应用程序的对应元素的权重;基于待搜索应用程序的各个组成元素的权重、候选应用程序的对应元素的权重以及对应的元素相似度,确定候选应用程序的对应元素的元素置信度,元素置信度表示对应元素属于待搜索应用程序的元素的概率;基于元素置信度,确定各个候选应用程序的程序置信度。
举例而言,设q表示待搜索应用程序,c表示候选应用程序列表中的一个应用程序,I q表示待搜索应用程序的图标中组成元素i的权重,I c表示候选应用程序的图标中组成元素i的权重,S表示q图标中组成元素i与c图标中组成元素i的相似度,则候选应用程序图标中的组成元素i的元素置信度可以通过元素评分BP神经网络模型计算得到,元素置信度f i具体可通过下式(4)表示:
f i(I q,I c,S)           (4)
元素评分BP神经网络模型构建:参照图12所示,构建初始BP神经网络模型,将I q、I c、S三个参数输入至初始BP神经网络模型中的输入层,将候选应用程序的组成元素i是否属于待搜索应用程序的元素作为该BP神经网络模型的输出,例如可以将候选应用程序的组成元素i是否属于待搜索应用程序的元素结果进行独热编码后作为该BP神经网络模型的输出。此外,可以通过应用程序索引库中的应用程序对初始BP神经网络模型进行训 练,得到训练后的BP神经网络模型,作为实际应用中的元素评分BP神经网络模型。
进一步地,设a表示图形元素、b表示文本元素、c表示颜色元素,则候选应用程序的程序置信度可以通过类别评分BP神经网络模型得到,程序置信度G可以通过下式(5)表示:
G(H a,H b,H c)                  (5)
其中,H表示各个组成元素的置信度,H可以用下式(6)表示:
Figure PCTCN2021136807-appb-000015
其中,w为经验值,I可以通过下式(7)确定:
Figure PCTCN2021136807-appb-000016
类别评分BP神经网络模型的构建方法:如图12所示,将图形元素类、文本元素类以及颜色元素类的置信度输入至初始BP神经网络模型中的输入层,并将候选应用程序是否为待搜索应用程序进行独热编码后作为初始BP神经网络模型的输出。此外,可以根据应用程序索引库中的应用程序对初始BP神经网络模型进行训练,得到训练后的BP神经网络模型,作为实际使用中的类别评分神经网络模型。
举例而言,针对如图11所示的候选APP,通过元素评分BP神经网络模型计算得到下述结果:图形元素a的置信度为0.004,图形元素b的置信度为0.784;文本元素“618”的置信度为0.000,文本元素“HUAWEI”的置信度为0.689,APP名称“XXX”的置信度为“0.301”;颜色元素a的置信度为0.002,颜色元素b的置信度为0.776。
进一步地,可以计算得到该候选APP的类别元素置信度,具体而言,图形类元素置信度为0.784,文本类元素置信度为0.689,颜色类元素置信度为0.012。
进一步地,通过类别评分BP神经网络模型计算得到候选APP的程序置信度为0.988。
接下来,根据候选APP集内每个候选APP的程序置信度的大小进行排序,并输出排序后的排序结果。
根据本申请示例实施例中的技术方案,一方面,通过在应用程序索引库中设置组成元素的权重,能够提高应用程序搜索的准确性,从而能够在APP产生设计变形时准确地识别该APP;另一方面,采用神经网络模型确定候选APP的程序置信度,能够进一步高效准确地进行应用程序搜索。
图13是本申请的一些实施例提供的应用程序索引库的示意图。
在示例实施例中,可以预先构建应用程序索引库。参照图13所示,应用程序索引库中的每个应用程序对应图形元素类、文本元素类、颜色元素类三类组成元素,每类组成元素包括元素特征索引、元素特征(图形特征向量、文本字符串、颜色值)和权重。其中,权重表示该元素在应用程序的图标中的重要程度,例如权重可以为该元素在应用程序的图像中所占的比例,例如图形元素的权重可以为该图形元素所占的面积与应用程序的图标的面积的比值,文字元素的权重可以为该文字元素所占的面积与应用程序的图标的面积的比值,颜色元素的权重可以为该颜色元素所占的面积与应用程序的图标的面积的比值。此外,在一些示例实施例中,元素权重也可以为其他适当的值,例如元素权重可以为该元素在应用程序的界面、海报、广告等公开视觉资料中出现的频率,这同样在本申请的保护范围内。
通过在应用程序索引库中设置组成元素的权重,能够提高应用程序搜索的准确性,从而能够在APP产生设计变形时准确地识别该APP。
图14是本申请的一些实施例提供的电子设备的示意图。
参照图14所示,所述电子设备1400包括:图像获取单元1410,用于获取待搜索应用程序的图像,所述图像包括所述待搜索应用程序的图标;处理单元1420,用于提取所述待搜索应用程序的图像的组成元素,所述组成元素包括所述图标的图形元素和颜色元素;基于所述组成元素从应用程序索引库中搜索与所述待搜索应用程序对应的应用程序,其中,所述应用程序索引库包含多个应用程序的图像的所述组成元素。
根据本申请实施例中的技术方案,一方面,由于通过图像处理的方式搜索应用程序,不需要输入搜索关键词就能够高效地搜索应用程序;另一方面,由于结合待搜索应用程序的图像的多种组成元素进行搜索,从而能够提高应用程序搜索结果的准确性。
在一种可能的实现方式中,所述组成元素还包括文字元素,所述文字元素包括所述图标中的文字元素和/或所述图标下方的文字元素。
在一种可能的实现方式中,所述处理单元1420用于:确定所述待搜索应用程序的各个组成元素与所述应用程序索引库中各个应用程序的对应组成元素之间的元素相似度,所述元素相似度包括图形相似度、颜色相似度以及文本相似度中的一种或多种;基于所述元素相似度确定与所述待搜索应用程序对应的应用程序。
在一种可能的实现方式中,所述处理单元1420用于包括:基于所述元素相似度确定与所述待搜索应用程序对应的多个应用程序集合,所述应用程序集合中的各个应用程序为至少一个所述元素相似度大于预定阈值的应用程序;确定各个所述应用程序集合的并集,得到多个候选应用程序;基于所述元素相似度确定各个候选应用程序的程序置信度,所述程序置信度表示所述候选应用程序与所述待搜索应用程序相似的概率;基于所述程序置信度的大小确定与所述待搜索应用程序对应的应用程序。
在一种可能的实现方式中,所述应用程序索引库还包括:所述候选应用程序的对应元素的权重,所述处理单元1420用于:确定所述待搜索应用程序的各个组成元素的权重与所述候选应用程序的对应元素的权重;基于所述待搜索应用程序的各个组成元素的权重、所述候选应用程序的对应元素的权重以及对应的所述元素相似度,确定所述候选应用程序的所述对应元素的元素置信度,所述元素置信度表示所述对应元素属于所述待搜索应用程序的元素的概率;基于所述元素置信度,确定各个候选应用程序的程序置信度。
在一种可能的实现方式中,所述处理单元1420用于:将所述待搜索应用程序的所述组成元素的权重、所述候选应用程序的对应组成元素的权重以及对应的所述元素相似度输入到元素评分模型,所述元素评分模型为神经网络模型;通过所述元素评分模型,确定所述候选应用程序的所述对应元素的元素置信度。
在一种可能的实现方式中,所述基于所述元素置信度,所述处理单元1420用于:对所述候选应用程序的各类组成元素下的各个组成元素的元素置信度进行加权求和运算,确定所述候选应用程序的类别元素置信度,所述类别元素置信度表示候选应用程序的一类组成元素均属于所述待搜索应用程序的概率;基于所述类别元素置信度,确定所述候选应用程序的程序置信度。
在一种可能的实现方式中,所述处理单元1420用于:将各类组成元素的所述类别元 素置信度输入到类别评分模型,所述类别评分模型为神经网络模型;通过所述类别评分模型,确定各个候选应用程序的程序置信度。
在一种可能的实现方式中,所述处理单元1420用于:通过语义分割模型提取所述待搜索应用程序的图像的图形元素;通过颜色量化模型提取所述待搜索应用程序的图像的颜色元素。
在一种可能的实现方式中,所述组成元素包括文字元素,所述处理单元1420用于:通过字符识别模型提取所述待搜索应用程序的图像的文字元素。
在一种可能的实现方式中,所述应用程序索引库还包括:与所述应用程序的各类组成元素对应的元素特征索引以及元素特征。
本实施例提供的电子设备1400,用于执行上述应用程序搜索方法,因此可以达到与上述实现方法相同的效果。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的应用程序搜索方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的应用程序搜索方法。
另外,本申请的实施例还提供一种设备,该设备具体可以是芯片,组件或模块,该设备可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的应用程序搜索方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (25)

  1. 一种应用程序搜索方法,其特征在于,包括:
    获取待搜索应用程序的图像,所述图像包括所述待搜索应用程序的图标;
    提取所述待搜索应用程序的图像的组成元素,所述组成元素包括所述图标的图形元素和颜色元素;
    基于所述组成元素从应用程序索引库中搜索与所述待搜索应用程序对应的应用程序,其中,所述应用程序索引库包含多个应用程序的图像的所述组成元素。
  2. 根据权利要求1所述的方法,其特征在于,所述组成元素还包括文字元素,所述文字元素包括所述图标中的文字元素和/或所述图标下方的文字元素。
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述组成元素从应用程序索引库中搜索与所述待搜索应用程序对应的应用程序,包括:
    确定所述待搜索应用程序的各个组成元素与所述应用程序索引库中各个应用程序的对应组成元素之间的元素相似度,所述元素相似度包括图形相似度、颜色相似度以及文本相似度中的一种或多种;
    基于所述元素相似度确定与所述待搜索应用程序对应的应用程序。
  4. 根据权利要求3所述的方法,其特征在于,所述基于所述元素相似度确定与所述待搜索应用程序对应的应用程序,包括:
    基于所述元素相似度确定与所述待搜索应用程序对应的多个应用程序集合,所述应用程序集合中的各个应用程序为至少一个所述元素相似度大于预定阈值的应用程序;
    确定各个所述应用程序集合的并集,得到多个候选应用程序;
    基于所述元素相似度确定各个候选应用程序的程序置信度,所述程序置信度表示所述候选应用程序与所述待搜索应用程序相似的概率;
    基于所述程序置信度的大小确定与所述待搜索应用程序对应的应用程序。
  5. 根据权利要求4所述的方法,其特征在于,所述应用程序索引库还包括:所述候选应用程序的对应元素的权重,所述基于所述元素相似度确定各个候选应用程序与所述待搜索应用程序之间的程序置信度,包括:
    确定所述待搜索应用程序的各个组成元素的权重与所述候选应用程序的对应元素的权重;
    基于所述待搜索应用程序的各个组成元素的权重、所述候选应用程序的对应元素的权重以及对应的所述元素相似度,确定所述候选应用程序的所述对应元素的元素置信度,所述元素置信度表示所述对应元素属于所述待搜索应用程序的元素的概率;
    基于所述元素置信度,确定各个候选应用程序的程序置信度。
  6. 根据权利要求5所述的方法,其特征在于,所述确定所述候选应用程序的所述对应元素的元素置信度,包括:
    将所述待搜索应用程序的所述组成元素的权重、所述候选应用程序的对应组成元素的权重以及对应的所述元素相似度输入到元素评分模型,所述元素评分模型为神经网络模型;
    通过所述元素评分模型,确定所述候选应用程序的所述对应元素的元素置信度。
  7. 根据权利要求5所述的方法,其特征在于,所述基于所述元素置信度,确定各个候选应用程序的程序置信度,包括:
    对所述候选应用程序的各类组成元素下的各个组成元素的元素置信度进行加权求和运算,确定所述候选应用程序的类别元素置信度,所述类别元素置信度表示候选应用程序的一类组成元素均属于所述待搜索应用程序的概率;
    基于所述类别元素置信度,确定所述候选应用程序的程序置信度。
  8. 根据权利要求7所述的方法,其特征在于,所述基于所述类别元素置信度,确定所述候选应用程序的类别元素置信度,包括:
    将各类组成元素的所述类别元素置信度输入到类别评分模型,所述类别评分模型为神经网络模型;
    通过所述类别评分模型,确定各个候选应用程序的程序置信度。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述提取所述待搜索应用程序的图像的组成元素包括:
    通过语义分割模型提取所述待搜索应用程序的图像的图形元素;
    通过颜色量化模型提取所述待搜索应用程序的图像的颜色元素。
  10. 根据权利要求9所述的方法,其特征在于,所述组成元素包括文字元素,所述提取所述待搜索应用程序的图像的组成元素还包括:
    通过字符识别模型提取所述待搜索应用程序的图像的文字元素。
  11. 根据权利要求9所述的方法,其特征在于,所述应用程序索引库还包括:与所述应用程序的各类组成元素对应的元素特征索引以及元素特征。
  12. 一种电子设备,其特征在于,所述电子设备包括:
    图像获取单元,用于获取待搜索应用程序的图像,所述图像包括所述待搜索应用程序的图标;
    处理单元,用于提取所述待搜索应用程序的图像的组成元素,所述组成元素包括所述图标的图形元素和颜色元素;基于所述组成元素从应用程序索引库中搜索与所述待搜索应用程序对应的应用程序,其中,所述应用程序索引库包含多个应用程序的图像的所述组成元素。
  13. 根据权利要求12所述的设备,其特征在于,所述组成元素还包括文字元素,所述文字元素包括所述图标中的文字元素和/或所述图标下方的文字元素。
  14. 根据权利要求13所述的设备,其特征在于,所述处理单元用于:
    确定所述待搜索应用程序的各个组成元素与所述应用程序索引库中各个应用程序的对应组成元素之间的元素相似度,所述元素相似度包括图形相似度、颜色相似度以及文本相似度中的一种或多种;
    基于所述元素相似度确定与所述待搜索应用程序对应的应用程序。
  15. 根据权利要求14所述的设备,其特征在于,所述处理单元用于包括:
    基于所述元素相似度确定与所述待搜索应用程序对应的多个应用程序集合,所述应用程序集合中的各个应用程序为至少一个所述元素相似度大于预定阈值的应用程序;
    确定各个所述应用程序集合的并集,得到多个候选应用程序;
    基于所述元素相似度确定各个候选应用程序的程序置信度,所述程序置信度表示所述 候选应用程序与所述待搜索应用程序相似的概率;
    基于所述程序置信度的大小确定与所述待搜索应用程序对应的应用程序。
  16. 根据权利要求15所述的设备,其特征在于,所述应用程序索引库还包括:所述候选应用程序的对应元素的权重,所述处理单元用于:
    确定所述待搜索应用程序的各个组成元素的权重与所述候选应用程序的对应元素的权重;
    基于所述待搜索应用程序的各个组成元素的权重、所述候选应用程序的对应元素的权重以及对应的所述元素相似度,确定所述候选应用程序的所述对应元素的元素置信度,所述元素置信度表示所述对应元素属于所述待搜索应用程序的元素的概率;
    基于所述元素置信度,确定各个候选应用程序的程序置信度。
  17. 根据权利要求16所述的设备,其特征在于,所述处理单元用于:
    将所述待搜索应用程序的所述组成元素的权重、所述候选应用程序的对应组成元素的权重以及对应的所述元素相似度输入到元素评分模型,所述元素评分模型为神经网络模型;
    通过所述元素评分模型,确定所述候选应用程序的所述对应元素的元素置信度。
  18. 根据权利要求16所述的设备,其特征在于,所述基于所述元素置信度,所述处理单元用于:
    对所述候选应用程序的各类组成元素下的各个组成元素的元素置信度进行加权求和运算,确定所述候选应用程序的类别元素置信度,所述类别元素置信度表示候选应用程序的一类组成元素均属于所述待搜索应用程序的概率;
    基于所述类别元素置信度,确定所述候选应用程序的程序置信度。
  19. 根据权利要求18所述的设备,其特征在于,所述处理单元用于:
    将各类组成元素的所述类别元素置信度输入到类别评分模型,所述类别评分模型为神经网络模型;
    通过所述类别评分模型,确定各个候选应用程序的程序置信度。
  20. 根据权利要求12至19中任一项所述的设备,其特征在于,所述处理单元用于:
    通过语义分割模型提取所述待搜索应用程序的图像的图形元素;
    通过颜色量化模型提取所述待搜索应用程序的图像的颜色元素。
  21. 根据权利要求20所述的设备,其特征在于,所述组成元素包括文字元素,所述处理单元用于:
    通过字符识别模型提取所述待搜索应用程序的图像的文字元素。
  22. 根据权利要求20所述的设备,其特征在于,所述应用程序索引库还包括:与所述应用程序的各类组成元素对应的元素特征索引以及元素特征。
  23. 一种芯片装置,包括:通信接口和处理器,所述通信接口和所述处理器之间通过内部连接通路互相通信,所述处理器用于实现上述权利要求1至11中任一项所述的方法。
  24. 一种计算机可读存储介质,用于存储计算机程序,其特征在于,所述计算机程序包括用于实现上述权利要求1至11中任一项所述的方法的指令。
  25. 一种计算机程序产品,所述计算机程序产品中包含指令,其特征在于,当所述指令在计算机上运行时,使得计算机实现上述权利要求1至11中任一项所述的方法。
PCT/CN2021/136807 2020-12-29 2021-12-09 应用程序搜索方法、设备及介质 WO2022143083A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011599809.2A CN114691614A (zh) 2020-12-29 2020-12-29 应用程序搜索方法、设备及介质
CN202011599809.2 2020-12-29

Publications (1)

Publication Number Publication Date
WO2022143083A1 true WO2022143083A1 (zh) 2022-07-07

Family

ID=82131537

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/136807 WO2022143083A1 (zh) 2020-12-29 2021-12-09 应用程序搜索方法、设备及介质

Country Status (2)

Country Link
CN (1) CN114691614A (zh)
WO (1) WO2022143083A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110167081A1 (en) * 2010-01-05 2011-07-07 Canon Kabushiki Kaisha Image processing apparatus and image processing method
CN104657081A (zh) * 2015-03-19 2015-05-27 上海创功通讯技术有限公司 移动终端及其图片的处理方法
CN105224201A (zh) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 一种界面显示的方法及终端
CN107967482A (zh) * 2017-10-24 2018-04-27 广东中科南海岸车联网技术有限公司 图标识别方法及装置
CN108062370A (zh) * 2017-12-11 2018-05-22 维沃移动通信有限公司 一种应用程序搜索方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110167081A1 (en) * 2010-01-05 2011-07-07 Canon Kabushiki Kaisha Image processing apparatus and image processing method
CN104657081A (zh) * 2015-03-19 2015-05-27 上海创功通讯技术有限公司 移动终端及其图片的处理方法
CN105224201A (zh) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 一种界面显示的方法及终端
CN107967482A (zh) * 2017-10-24 2018-04-27 广东中科南海岸车联网技术有限公司 图标识别方法及装置
CN108062370A (zh) * 2017-12-11 2018-05-22 维沃移动通信有限公司 一种应用程序搜索方法及移动终端

Also Published As

Publication number Publication date
CN114691614A (zh) 2022-07-01

Similar Documents

Publication Publication Date Title
CN110045908B (zh) 一种控制方法和电子设备
CN113760427B (zh) 显示页面元素的方法和电子设备
CN111738122B (zh) 图像处理的方法及相关装置
WO2021258797A1 (zh) 图像信息输入方法、电子设备及计算机可读存储介质
US20210150214A1 (en) Method for Displaying Service Information on Preview Interface and Electronic Device
CN113994317A (zh) 一种用户界面布局方法及电子设备
WO2021013132A1 (zh) 输入方法及电子设备
WO2020259554A1 (zh) 可进行学习的关键词搜索方法和电子设备
WO2022100221A1 (zh) 检索处理方法、装置及存储介质
CN114816167B (zh) 应用图标的显示方法、电子设备及可读存储介质
CN110830645B (zh) 一种操作方法和电子设备及计算机存储介质
WO2021000943A1 (zh) 一种指纹开关的管理方法及装置
CN111400605A (zh) 基于眼球追踪的推荐方法及装置
CN111768352A (zh) 图像处理方法及装置
CN115115679A (zh) 一种图像配准方法及相关设备
CN111524528B (zh) 防录音检测的语音唤醒方法及装置
CN111880661A (zh) 手势识别方法及装置
WO2022143083A1 (zh) 应用程序搜索方法、设备及介质
US20230385345A1 (en) Content recommendation method, electronic device, and server
CN115390738A (zh) 卷轴屏开合方法及相关产品
CN114205457A (zh) 一种移动用户界面元素的方法及电子设备
CN111581119A (zh) 页面回收方法及装置
WO2023246666A1 (zh) 一种搜索方法及电子设备
EP4372518A1 (en) System, song list generation method, and electronic device
WO2022247614A1 (zh) 一种多界面显示的方法和电子设备

Legal Events

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

Ref document number: 21913824

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913824

Country of ref document: EP

Kind code of ref document: A1