WO2022222785A1 - 图片显示方法及装置 - Google Patents

图片显示方法及装置 Download PDF

Info

Publication number
WO2022222785A1
WO2022222785A1 PCT/CN2022/086295 CN2022086295W WO2022222785A1 WO 2022222785 A1 WO2022222785 A1 WO 2022222785A1 CN 2022086295 W CN2022086295 W CN 2022086295W WO 2022222785 A1 WO2022222785 A1 WO 2022222785A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
input
display
control
controls
Prior art date
Application number
PCT/CN2022/086295
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 WO2022222785A1 publication Critical patent/WO2022222785A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a picture display method and device.
  • the related art it is mainly to search through keywords to find pictures that meet the needs of users.
  • the file name of the image is long and irregular.
  • the user downloads the image from the Internet or through the application, so that when the user searches through the keyword, due to the inaccurate keyword setting, the The found picture is not the picture required by the user, that is, the found picture is not accurate.
  • the purpose of the embodiments of the present application is to provide a picture display method and device, which can solve the problem of inaccurate picture search.
  • an embodiment of the present application provides a picture display method, including:
  • first controls In response to the first input, displaying at least two first controls, wherein different first controls correspond to different picture search weights, and the picture search weights are used to determine picture search conditions;
  • the first picture corresponding to the first picture search weight is displayed, wherein the first picture search weight is the picture search weight corresponding to the target first control.
  • an embodiment of the present application provides a picture display device, including:
  • a first receiving module for receiving a first input
  • a first display module configured to display at least two first controls in response to the first input, wherein different first controls correspond to different picture search weights, and the picture search weights are used to determine picture search conditions;
  • a second receiving module configured to receive a second input to a target first control among the at least two first controls
  • the second display module is configured to, in response to the second input, display the first picture corresponding to the first picture search weight, wherein the first picture search weight is the picture search weight corresponding to the target first control.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the steps of the method.
  • the user can display the corresponding target first control by performing an input on the target first control in the at least two first controls. Find the first picture corresponding to the weight of the picture. In this way, the picture corresponding to the picture search weight corresponding to the target first control can be found, that is, the picture that meets the user's needs can be found by the picture search weight, and the accuracy of the picture search can be improved.
  • FIG. 1 is a schematic flowchart of a picture display method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a process of displaying pictures provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a first process for displaying at least two first controls provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of a second process of displaying at least two first controls provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a first process of setting a picture search weight of a picture provided by an embodiment of the present application
  • FIG. 6 is a schematic diagram of a second process of setting a picture search weight of a picture provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a third process for setting a picture search weight of a picture provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a fourth process for setting a picture search weight of a picture provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a picture display device provided by an embodiment of the present application.
  • FIG. 10 is a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 is a schematic flowchart of a picture display method provided by an embodiment of the present application.
  • Image display methods can include:
  • S101 The electronic device receives a first input
  • S102 In response to the first input, display at least two first controls, wherein different first controls correspond to different picture search weights, and the picture search weights are used to determine picture search conditions;
  • S103 Receive a second input to a target first widget among the at least two first widgets;
  • S104 In response to the second input, display the first picture corresponding to the first picture search weight, where the first picture search weight is the picture search weight corresponding to the target first control.
  • the user can display the corresponding target first control by performing an input on the target first control in the at least two first controls. Find the first picture corresponding to the weight of the picture. In this way, the picture corresponding to the picture search weight corresponding to the target first control can be found, that is, the picture that meets the user's needs can be found by the picture search weight, and the accuracy of the picture search can be improved.
  • the first input may be an input of clicking the "Album” control, and after the user clicks the "Album” control, the pictures in the "Album” are displayed and at least two second a control.
  • the first input may also be an input of clicking the "file management” control. After the user clicks the "file management” control, the files in the electronic device are displayed and at least two first controls are displayed.
  • the first input can be the input of the control displayed after clicking to open the album, and the control is used to display at least two first controls, that is, when the user clicks the "album” control, the "album” is opened first, and one is displayed first. control, after the user clicks the control, at least two first controls are displayed.
  • the determined picture search condition may be to search for a picture corresponding to a picture search weight.
  • FIG. 2 is a schematic diagram of a picture display process provided by an embodiment of the present application.
  • the 3 controls are respectively control 11, control 12 and control 13.
  • the image search weight corresponding to control 11 is 20%
  • the image search weight corresponding to control 12 is 50%
  • the control The corresponding image search weight of 13 is 100%.
  • the searched picture is searched for a picture with a weight of 100%, and then the found picture is displayed.
  • the found pictures include: picture M and picture N.
  • S102 may include: displaying at least two first controls in different display manners.
  • different display manners in the embodiments of the present application include, but are not limited to, different colors, different shapes, and the like.
  • the embodiments of the present application do not limit different display methods, and any available different display methods can be applied to the embodiments of the present application.
  • S101 may include: receiving a first input to a second control for displaying at least two first controls.
  • FIG. 3 is a schematic diagram of a first process of displaying at least two first controls provided by an embodiment of the present application.
  • the second control 20 is displayed first.
  • the user clicks the second control 20 it means that the user performs the first input to the second control 20.
  • at least two first controls are displayed.
  • at least two The first control is 3 controls, the 3 controls are control 11, control 12 and control 13 respectively, the picture search weight corresponding to control 11 is 20%, the picture search weight corresponding to control 12 is 50%, and the corresponding control 13 The image lookup weight is 100%.
  • S101 may include: switching and displaying the second control as at least two first controls.
  • FIG. 4 is a schematic diagram of a second process of displaying at least two first controls provided by an embodiment of the present application.
  • the second control 20 is displayed first.
  • the second control 20 is switched and displayed as at least two first controls.
  • at least two first controls are three controls, and the three controls are respectively control 11, control 12 and control 13, the image search weight corresponding to control 11 is 20%, and the image search weight corresponding to control 12 is 50%, the image search weight corresponding to control 13 is 100%.
  • the size of the second control may be larger than the size of the first control, and when the second control is switched to display at least two first controls, the effect of the second control exploding may appear .
  • the second control may include a button, a floating ball, and the like.
  • the second control can be a floating ball.
  • the picture display method provided by the embodiments of the present application may further include: receiving a third input; and in response to the third input, controlling and setting a picture search weight corresponding to the first picture .
  • FIG. 5 is a schematic diagram of a first process of setting a picture search weight of a picture provided by an embodiment of the present application.
  • the user long presses a certain picture (eg, picture A) to display a window for setting picture search weights, and the window includes multiple controls corresponding to multiple picture search weights.
  • the multiple controls are three controls, and the three controls are respectively a control 51 , a control 52 and a control 53 .
  • the control 51 corresponds to a picture search weight of 20%
  • the control 52 corresponds to a picture search weight of 50%
  • the control 53 corresponds to a picture search weight of 100%.
  • the picture search weight corresponding to the control is set as the picture search weight of picture A.
  • the control selected by the user is the control 52
  • the picture search weight of the picture A is set to 50% of the picture search weight corresponding to the control 52 .
  • the picture display method provided by the embodiments of the present application may further include: receiving a fourth input for the first picture; and generating a first image in response to the fourth input.
  • receiving the third input includes: receiving a third input to a target third widget among the at least two third widgets.
  • Setting the picture search weight corresponding to the first picture includes: setting the picture search weight corresponding to the target third control as the picture search weight corresponding to the first picture.
  • the fourth input may be used as a long-press input for the user to long-press the first picture, and may also be a download input for the first picture, and so on.
  • FIG. 6 is a schematic diagram of a second process of setting a picture search weight of a picture provided by an embodiment of the present application.
  • the user clicks the "Download" control to download the picture (for example, picture B) that the user wants to download to the local, and generate a thumbnail 60 of the picture B.
  • the thumbnail 60 When the user presses the thumbnail 60 for a long time, it means that the thumbnail Thumbnail 60 performs a fifth input, displaying at least two controls for setting image search weights.
  • the at least two controls used for setting the image search weight are three controls, and the three controls are respectively a control 61 , a control 62 and a control 63 .
  • the control 61 corresponds to a picture search weight of 20%
  • the control 62 corresponds to a picture search weight of 50%
  • the control 63 corresponds to a picture search weight of 100%.
  • the picture search weight corresponding to the control is set as the picture search weight of picture B.
  • the control selected by the user is the control 62
  • the picture search weight of the picture B is set to 50% of the picture search weight corresponding to the control 62 .
  • receiving the fifth input for the thumbnail includes: receiving an input for moving the thumbnail to a position of a fourth control for displaying at least two third controls.
  • FIG. 7 is a schematic diagram of a third process of setting a picture search weight of a picture according to an embodiment of the present application.
  • the user clicks the “Download” control to download the picture (for example, picture C) that the user wants to download to the local, and generates a thumbnail 70 of the picture C, when the user moves the thumbnail 70 to the fourth control 40
  • the position of indicates that the user performs the fifth input on the thumbnail image 70 , and at this time, at least two controls for setting the image search weight are displayed.
  • at least two controls for setting the image search weight are three controls, and the three controls are respectively control 71, control 72 and control 73.
  • the corresponding image search weight of control 71 is 20%, and the control 72 corresponds to a picture search weight of 50%, and control 73 corresponds to a picture search weight of 100%.
  • the picture search weight corresponding to the control is set as the picture search weight of picture C.
  • the control selected by the user is the control 72
  • the picture search weight of the picture C is set to 50% of the picture search weight corresponding to the control 72 .
  • displaying the at least two third controls may include: switching the fourth control to display the at least two third controls.
  • FIG. 8 is a schematic diagram of a fourth process of setting a picture search weight of a picture according to an embodiment of the present application.
  • the user clicks the “Download” control to download the picture that the user wants to download (for example, picture D) to the local, and generates a thumbnail 80 of the picture D and displays the fourth control 40, when the user downloads the thumbnail 80 Moving to the position of the fourth control 80 indicates that the user performs the fifth input on the thumbnail 80 , and at this time, the fourth control 80 is switched and displayed as at least two controls for setting the image search weight.
  • the “Download” control to download the picture that the user wants to download (for example, picture D) to the local
  • the fourth control 40 when the user downloads the thumbnail 80 Moving to the position of the fourth control 80 indicates that the user performs the fifth input on the thumbnail 80 , and at this time, the fourth control 80 is switched and displayed as at least two controls for setting the image search weight.
  • FIG. 8 is a schematic diagram of a fourth process of setting a picture search weight of
  • At least two controls for setting the image search weight are three controls, and the three controls are respectively control 81, control 82 and control 83.
  • the corresponding image search weight of control 81 is 20%
  • the control 82 corresponds to a picture search weight of 50%
  • control 83 corresponds to a picture search weight of 100%.
  • the picture search weight corresponding to the control is set as the picture search weight of picture D.
  • the control selected by the user is the control 82
  • the picture search weight of the picture D is set to 50% of the picture search weight corresponding to the control 82 .
  • the picture display method provided by the embodiment of the present application further includes: according to the picture search weight corresponding to the first picture, controlling the setting of the first picture The target weight of a picture, where the target weight is used for picture ordering.
  • S104 may include: determining the display order of the at least two pictures according to the target weights of the at least two pictures; and displaying the at least two pictures according to the display order.
  • the picture search weight corresponding to the first picture may be set as the target weight of the first picture.
  • searching for weights according to pictures corresponding to the first picture, and setting the target weight of the first picture includes: searching for weights according to pictures corresponding to the first picture and initial weights of the first picture, Set the target weight, where the initial weight is the weight of the application corresponding to the first picture.
  • different weights may be set for different applications. For example, set the weight of application (Application, APP) 1 as Q1, and set the weight of APP2 as Q2.
  • the weight of the application may be set as a preset weight Q0. For example, if the user does not set the weight for the application APP3, the weight of the APP3 is set as Q0.
  • the target weight of the first picture can be set according to the following formula (1).
  • Q is the target weight of the first picture
  • X is the picture search weight corresponding to the first picture
  • Qi is the initial weight of the first picture, that is, the weight of the application corresponding to the first picture.
  • the embodiments of the present application do not limit the display order, and any available display order may be applied to the embodiments of the present application. For example, from top to bottom, the weight of the target corresponding to the picture decreases sequentially; from left to right, the weight of the target corresponding to the picture decreases sequentially.
  • the user may not set a picture search weight for some pictures, it can be understood that the picture search weight of the picture is 0, and then the target weight of the picture is the application corresponding to the picture. The weight of the program. If the user does not set the weight for the application corresponding to the picture, the target weight of the picture is Q0.
  • the display order of the multiple pictures found according to the keywords can also be determined, and then the pictures found according to the keywords can be displayed according to the display order. of multiple pictures.
  • the pictures found according to the keywords include picture A, picture B, picture C and picture D, wherein the target weight of picture A is Q0, the target weight of picture B is Q3, and the target weight of picture C is (1 +20%) ⁇ Q4, and the target weight of picture D is (1+50%) ⁇ Q2. Compare the target weights of the pictures A, B, C and D to determine the display order of the pictures A, B, C and D, and then display pictures A, B, C and D according to the display order. picture D.
  • the execution body may be a picture display device, or a control module in the picture display device for executing the picture display method.
  • the picture display device provided by the embodiments of the present application is described by taking the picture display device executing the picture display method as an example.
  • FIG. 9 is a schematic structural diagram of a picture display device provided by an embodiment of the present application.
  • the picture display apparatus 900 may include:
  • a first receiving module 901, configured to receive a first input
  • the first display module 902 is configured to display at least two first controls in response to the first input, wherein different first controls correspond to different picture search weights, and the picture search weights are used to determine picture search conditions;
  • a second receiving module 903, configured to receive a second input to a target first widget among the at least two first widgets
  • the second display module 904 is configured to, in response to the second input, display the first picture corresponding to the first picture search weight, wherein the first picture search weight is the picture search weight corresponding to the target first control.
  • the user can display the corresponding target first control by performing an input on the target first control in the at least two first controls. Find the first picture corresponding to the weight of the picture. In this way, the picture corresponding to the picture search weight corresponding to the target first control can be found, that is, the picture that meets the user's needs can be found by the picture search weight, and the accuracy of the picture search can be improved.
  • the first display module 902 is specifically configured to:
  • At least two first controls are displayed.
  • the first receiving module 901 is specifically configured to:
  • a first input to a second widget for displaying the at least two first widgets is received.
  • the first display module 901 is specifically configured to:
  • the second control is switched to be displayed as at least two first controls.
  • the second control includes:
  • the picture display apparatus 900 provided by the embodiments of the present application further includes:
  • a third receiving module for receiving a third input
  • the first setting module is configured to control and set a picture search weight corresponding to the first picture in response to the third input.
  • the picture display apparatus 900 provided by the embodiments of the present application further includes:
  • a fourth receiving module configured to receive a fourth input to the first picture
  • a generating module for generating a thumbnail of the first picture in response to the fourth input
  • a fifth receiving module for receiving the fifth input to the thumbnail
  • a fourth display module configured to display at least two third controls in response to the fifth input, wherein the third controls are used to set the image search weight
  • the third receiving module is specifically used for:
  • the first setting module is specifically used for:
  • the image search weight corresponding to the target third control is set as the image search weight corresponding to the first image.
  • the fifth receiving module is specifically configured to:
  • An input is received to move the thumbnail to a position for displaying a fourth widget of the at least two third widgets.
  • the fourth display module is specifically used for:
  • the picture display apparatus 900 provided by the embodiments of the present application further includes:
  • the second setting module is configured to search the weight value according to the picture corresponding to the first picture, and set the target weight of the first picture, wherein the target weight is used for sorting the pictures;
  • the first display module 901 includes:
  • a determination sub-module for determining the display order of the at least two pictures according to the target weights of the at least two pictures
  • the display sub-module is used to display at least two pictures according to the display order.
  • the second setting module is specifically configured to:
  • the target weight is set according to the picture search weight corresponding to the first picture and the initial weight of the first picture, wherein the initial weight is the weight of the application program corresponding to the first picture.
  • the picture display device in the embodiments of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the picture display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the picture display device provided in the embodiment of the present application can implement each process in the picture display method embodiments of FIG. 1 to FIG. 8 , which will not be repeated here in order to avoid repetition.
  • an embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001,
  • an electronic device 1000 including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001,
  • the program or instruction is executed by the processor 1001
  • each process of the above-mentioned image display method embodiments can be realized, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • the processor 1001 may include a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more of the embodiments of the present application an integrated circuit.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 1002 may include a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk storage medium device, an optical storage medium device, and a flash memory Devices, electrical, optical or other physical/tangible memory storage devices.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk storage medium device e.g., a hard disk drive
  • optical storage medium device e.g., compact flash memory
  • flash memory Devices electrical, optical or other physical/tangible memory storage devices.
  • memory includes one or more tangible (non-transitory) computer-readable storage media (eg, memory devices) encoded with software including computer-executable instructions, and when the software is executed (eg, by one or more multiple processors), it is operable to perform the operations described with reference to the picture display method according to the embodiment of the present application.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.
  • the electronic device 1100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 1107 is used for: receiving the first input;
  • the display unit 1106 is configured to: in response to the first input, display at least two first controls, wherein different first controls correspond to different picture search weights, and the picture search weights are used to determine picture search conditions;
  • the user input unit 1107 is further configured to: receive a second input to a target first control among the at least two first controls;
  • the processor 1110 is configured to: in response to the second input, search for the first picture corresponding to the weight of the picture corresponding to the target first control;
  • the display unit 1106 is further configured to: display the first picture.
  • the user can display the corresponding target first control by performing an input on the target first control in the at least two first controls. Find the first picture corresponding to the weight of the picture. In this way, the picture corresponding to the picture search weight corresponding to the target first control can be found, that is, the picture that meets the user's needs can be found by the picture search weight, and the accuracy of the picture search can be improved.
  • the display unit 1106 is specifically configured to:
  • At least two first controls are displayed.
  • the display unit 1106 is further configured to: display a second control, where the second control is used to display at least two first controls;
  • the user input unit 1107 is specifically configured to: receive a first input to the second control.
  • the display unit 1106 is specifically configured to:
  • the second control is switched to be displayed as at least two first controls.
  • the user input unit 1107 is further configured to: receive a third input
  • the processor 1110 is further configured to: in response to the third input, control and set a picture search weight corresponding to the first picture.
  • the user input unit 1107 is further configured to: receive a fourth input for the first picture
  • the processor 1110 is further configured to: in response to the fourth input, generate a thumbnail of the first picture;
  • the user input unit 1107 is further configured to: receive a fifth input for the thumbnail image
  • the display unit 1106 is further configured to: in response to the fifth input, display at least two third controls, wherein the third controls are used to set the image search weight;
  • the user input unit 1107 is specifically used for:
  • the processor 1110 is specifically used for:
  • the image search weight corresponding to the target third control is set as the image search weight corresponding to the first image.
  • the user input unit 1107 is specifically used for:
  • An input is received to move the thumbnail to a position for displaying a fourth widget of the at least two third widgets.
  • the display unit 1106 is further configured to: display the fourth control.
  • the display unit 1106 is specifically configured to:
  • the processor 1110 is further configured to: search for a weight value of a picture corresponding to the first picture, and control and set a target weight of the first picture, where the target weight is used for picture ordering;
  • the processor 1110 is further configured to: determine the display order of the at least two pictures according to the target weights of the at least two pictures;
  • the display unit 1106 is specifically configured to: display at least two pictures according to the display order.
  • the processor 1110 is specifically configured to:
  • the target weight is set according to the picture search weight corresponding to the first picture and the initial weight of the first picture, wherein the initial weight is the weight of the application program corresponding to the first picture.
  • the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1107 includes a touch panel 11071 and other input devices 11072 .
  • the touch panel 11071 is also called a touch screen.
  • the touch panel 11071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.
  • An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include a non-transitory computer-readable storage medium, such as ROM, RAM, magnetic disk, or optical disk.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above picture display method embodiments
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the above picture display method embodiments
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种图片显示方法及装置,属于通信技术领域。图片显示方法包括:接收第一输入;响应于第一输入,显示至少两个第一控件,其中,不同的第一控件对应不同的图片查找权值,图片查找权值用于确定图片查找条件;接收对至少两个第一控件中的目标第一控件的第二输入;响应于第二输入,显示第一图片查找权值对应的第一图片,其中,第一图片查找权值为目标第一控件对应的图片查找权值。

Description

图片显示方法及装置
相关申请的交叉引用
本申请主张在2021年04月19日在中国提交的中国专利申请号202110419796.4的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种图片显示方法及装置。
背景技术
随着电子设备的发展,电子设备中存储的图片也越来越多。
相关技术中,主要是通过关键字进行查找以找到满足用户需求的图片。但是,通常情况下,图片的文件名较长且没有规律,比如,用户从网络上或者通过应用程序下载的图片,使得用户在通过关键字进行查找时,由于关键字设置的不准确,进而使得查找到的图片并不是用户所需求的图片,即查找到的图片也不准确。
发明内容
本申请实施例的目的是提供一种图片显示方法及装置,能够解决图片查找不准确的问题。
第一方面,本申请实施例提供了一种图片显示方法,包括:
接收第一输入;
响应于第一输入,显示至少两个第一控件,其中,不同的第一控件对应不同的图片查找权值,图片查找权值用于确定图片查找条件;
接收对至少两个第一控件中的目标第一控件的第二输入;
响应于第二输入,显示第一图片查找权值对应的第一图片,其中,第一图片查找权值为目标第一控件对应的图片查找权值。
第二方面,本申请实施例提供了一种图片显示装置,包括:
第一接收模块,用于接收第一输入;
第一显示模块,用于响应于第一输入,显示至少两个第一控件,其中,不同的第一控件对应不同的图片查找权值,图片查找权值用于确定图片查找条件;
第二接收模块,用于接收对至少两个第一控件中的目标第一控件的第二输入;
第二显示模块,用于响应于第二输入,显示第一图片查找权值对应的第一图片,其中,第一图片查找权值为目标第一控件对应的图片查找权值。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤。
在本申请实施例中,通过显示对应不同图片查找权值的至少两个第一控件,用户通过对至少两个第一控件中的目标第一控件执行一个输入,即可显示目标第一控件对应的图片查找权值对应的第一图片。如此,即可查找到与目标第一控件对应的图片查找权值对应的图片,也就是说,能够通过图片查找权值查找到满足用户需求的图片,能够提高图片查找的准确度。
附图说明
图1是本申请实施例提供的图片显示方法的流程示意图;
图2是本申请实施例提供的图片显示的过程示意图;
图3是本申请实施例提供的显示至少两个第一控件的第一种过程示意图;
图4是本申请实施例提供的显示至少两个第一控件的第二种过程示意图;
图5是本申请实施例提供的设置图片的图片查找权值的第一种过程示意图;
图6是本申请实施例提供的设置图片的图片查找权值的第二种过程示意图;
图7是本申请实施例提供的设置图片的图片查找权值的第三种过程示意图;
图8是本申请实施例提供的设置图片的图片查找权值的第四种过程示意图;
图9是本申请实施例提供的图片显示装置的结构示意图;
图10是本申请实施例提供的电子设备的结构框图;
图11是实现本申请实施例的电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图片显示方法及装置进行详细地说明。
图1是本申请实施例提供的图片显示方法的流程示意图。图片显示方法可以包括:
S101:电子设备接收第一输入;
S102:响应于第一输入,显示至少两个第一控件,其中,不同的第一控件对应不同的图片查找权值,图片查找权值用于确定图片查找条件;
S103:接收对至少两个第一控件中的目标第一控件的第二输入;
S104:响应于第二输入,显示第一图片查找权值对应的第一图片,其中,第一图片查找权值为目标第一控件对应的图片查找权值。
上述各步骤的具体实现方式将在下文中进行详细描述。
在本申请实施例中,通过显示对应不同图片查找权值的至少两个第一控件,用户通过对至少两个第一控件中的目标第一控件执行一个输入,即可显示目标第一控件对应的图片查找权值对应的第一图片。如此,即可查找到与目标第一控件对应的图片查找权值对应的图片,也就是说,能够通过图片查找权值查找到满足用户需求的图片,能够提高图片查找的准确度。
在本申请实施例的一些可能实现中,在S101中,第一输入可以为点击“相册”控件的输入,当用户点击“相册”控件后,显示“相册”中的图片并显示至少两个第一控件。第一输入还可以为点击“文件管理”控件的输入,用户点击“文件管理”控件后,显示电子设备中的文件并显示至少两个第一控件。第一输入可以为点击打开相册后所显示的控件的输入,该控件用于显示至少两个第一控件,也就是说,当用户点击“相册”控件后,首先打开“相册”,首先显示一个控件,当用户点击该控件后,再显示至少两个第一控件。
在本申请实施例的一些可能实现中,在S102中,确定的图片查找条件可以为查找对应图片查找权值的图片。
下面结合图2对本申请实施例提供的图片显示方法进行说明,如图2所示。图2是本申请实施例提供的图片显示的过程示意图。图2中显示有 3个控件,3个控件分别为控件11、控件12和控件13,其中,控件11对应的图片查找权值为20%,控件12对应的图片查找权值为50%,控件13对应的图片查找权值为100%。当用户点击控件13时,表示用户对控件13执行第二输入,此时,查找图片查找权值为100%的图片,进而显示所查找到图片。由图2可知,查找到的图片包括:图片M和图片N。
在本申请实施例的一些可能实现中,S102可以包括:以不同的显示方式,显示至少两个第一控件。
在本申请实施例的一些可能实现中,本申请实施例中不同的显示方式包括但不限于不同的颜色、不同的形状等。本申请实施例并不对不同的显示方式进行限定,任何可用的不同显示方法均可以应用于本申请实施例中。
在本申请实施例的一些可能实现中,S101可以包括:接收对用于显示至少两个第一控件的第二控件的第一输入。
示例性地,如图3所示。图3是本申请实施例提供的显示至少两个第一控件的第一种过程示意图。图3中首先显示第二控件20,当用户点击第二控件20时,表示用户对第二控件20执行第一输入,此时,显示至少两个第一控件,在图3中,至少两个第一控件为3个控件,3个控件分别为控件11、控件12和控件13,控件11对应的图片查找权值为20%,控件12对应的图片查找权值为50%,控件13对应的图片查找权值为100%。
在本申请实施例的一些可能实现中,S101可以包括:将第二控件切换显示为至少两个第一控件。
示例性地,如图4所示。图4是本申请实施例提供的显示至少两个第一控件的第二种过程示意图。图4中首先显示第二控件20,当用户点击第二控件20时,表示用户对第二控件20执行第一输入,此时,将第二控件20切换显示为至少两个第一控件,在图4中,至少两个第一控件为3个控件,3个控件分别为控件11、控件12和控件13,控件11对应的图片查找权值为20%,控件12对应的图片查找权值为50%,控件13对应的图片查找权值为100%。
在本申请实施例的一些可能实现中,第二控件的尺寸可以比第一控件 的尺寸大,当将第二控件切换显示为至少两个第一控件时,可以显现出第二控件炸裂的效果。
在本申请实施例的一些可能实现中,第二控件可以包括按钮、悬浮球等。优选地,第二控件可以为悬浮球。
在本申请实施例的一些可能实现中,在S101之前,本申请实施例提供的图片显示方法还可以包括:接收第三输入;响应于第三输入,控制设置第一图片对应的图片查找权值。
示例性地,如图5所示。图5是本申请实施例提供的设置图片的图片查找权值的第一种过程示意图。在图5中,用户长按某一图片(例如,图片A),显示用于设置图片查找权值的窗口,该窗口中包括对应多个图片查找权值的多个控件。其中,在图5中,多个控件为3个控件,3个控件分别为控件51、控件52和控件53。其中,控件51对应图片查找权值为20%,控件52对应图片查找权值为50%,控件53对应图片查找权值为100%。当用户选择其中的一个控件,将该控件对应的图片查找权值设置为图片A的图片查找权值。其中,在图5中,用户选择的控件为控件52,将图片A的图片查找权值设置为控件52对应的图片查找权值50%。
在本申请实施例的一些可能实现中,在接收第三输入之前,本申请实施例提供的图片显示方法还可以包括:接收对第一图片的第四输入;响应于第四输入,生成第一图片的缩略图;接收对缩略图的第五输入;响应于第五输入,显示至少两个第三控件,其中,第三控件用于设置图片查找权值。相应地,接收第三输入,包括:接收对至少两个第三控件中的目标第三控件的第三输入。设置第一图片对应的图片查找权值,包括:将目标第三控件对应的图片查找权值,设置为第一图片对应的图片查找权值。
在本申请实施例的一些可能实现中,第四输入可以用为用户长按第一图片的长按输入,还可以为针对第一图片的下载输入,等等。
示例性地,如图6所示。图6是本申请实施例提供的设置图片的图片查找权值的第二种过程示意图。在图6中,用户点击“下载”控件,将用户欲下载的图片(例如,图片B)下载到本地,并生成图片B的缩略图60,当用户长按该缩略图60,表示对该缩略图60执行第五输入,显示至 少两个用于设置图片查找权值的控件。其中,在图6中,至少两个用于设置图片查找权值的控件为3个控件,3个控件分别为控件61、控件62和控件63。其中,控件61对应图片查找权值为20%,控件62对应图片查找权值为50%,控件63对应图片查找权值为100%。当用户选择其中的一个控件,将该控件对应的图片查找权值设置为图片B的图片查找权值。其中,在图6中,用户选择的控件为控件62,将图片B的图片查找权值设置为控件62对应的图片查找权值50%。
在本申请实施例的一些可能实现中,接收对缩略图的第五输入,包括:接收将缩略图移动到用于显示至少两个第三控件的第四控件的位置的输入。
示例性地,如图7所示。图7是本申请实施例提供的设置图片的图片查找权值的第三种过程示意图。在图7中,用户点击“下载”控件,将用户欲下载的图片(例如,图片C)下载到本地,并生成图片C的缩略图70,当用户将该缩略图70移动到第四控件40的位置,表示用户对该缩略图70执行第五输入,此时,显示至少两个用于设置图片查找权值的控件。其中,在图7中,至少两个用于设置图片查找权值的控件为3个控件,3个控件分别为控件71、控件72和控件73,控件71对应图片查找权值为20%,控件72对应图片查找权值为50%,控件73对应图片查找权值为100%。当用户选择其中的一个控件,将该控件对应的图片查找权值设置为图片C的图片查找权值。其中,在图7中,用户选择的控件为控件72,将图片C的图片查找权值设置为控件72对应的图片查找权值50%。
在本申请实施例的一些可能实现中,显示至少两个第三控件可以包括:将第四控件切换显示为至少两个第三控件。
示例性地,如图8所示。图8是本申请实施例提供的设置图片的图片查找权值的第四种过程示意图。在图8中,用户点击“下载”控件,将用户欲下载的图片(例如,图片D)下载到本地,并生成图片D的缩略图80并显示第四控件40,当用户将该缩略图80移动到第四控件80的位置,表示用户对该缩略图80执行第五输入,此时,将第四控件80切换显示为至少两个用于设置图片查找权值的控件。其中,在图8中,至少两个用于设 置图片查找权值的控件为3个控件,3个控件分别为控件81、控件82和控件83,控件81对应图片查找权值为20%,控件82对应图片查找权值为50%,控件83对应图片查找权值为100%。当用户选择其中的一个控件,将该控件对应的图片查找权值设置为图片D的图片查找权值。其中,在图8中,用户选择的控件为控件82,将图片D的图片查找权值设置为控件82对应的图片查找权值50%。
在本申请实施例的一些可能实现中,在设置第一图片设置的图片查找权值之后,本申请实施例提供的图片显示方法还包括:根据第一图片对应的图片查找权值,控制设置第一图片的目标权重,其中,目标权重用于图片排序。
相应地,在第一图片包括至少两个图片的情况下,S104可以包括:根据至少两个图片的目标权重,确定至少两个图片的显示顺序;根据显示顺序,显示至少两个图片。
在本申请实施例的一些可能实现中,可以将第一图片对应的图片查找权值,设置为该第一图片的目标权重。
在本申请实施例的一些可能实现中,根据第一图片对应的图片查找权值,设置第一图片的目标权重,包括:根据第一图片对应的图片查找权值和第一图片的初始权重,设置目标权重,其中,初始权重为第一图片对应的应用程序的权重。
在本申请实施例的一些可能实现中,可以对于不同的应用程序设置不同的权重。比如,设置应用程序(Application,APP)1的权重为Q1,设置APP2的权重为Q2。当用户不对应用程序设置权重时,可以设置该应用程序的权重为预设权重Q0。例如,用户对应用程序APP3没有设置权重,则设置APP3的权重为Q0。进而可以根据如下公式(1)设置第一图片的目标权重。
Q=(1+X)×Qi    (1)
在公式(1)中,Q为第一图片的目标权重,X为第一图片对应的图片查找权值,Qi为第一图片的初始权重,即第一图片对应的应用程序的权重。
假设,根据某一图片查找权值X查找到的第一图片包括图片A、图片B和图片C,其中,图片A来源于APP1、图片B来源于APP2、图片C来源于APP3。则图片A的目标权重=(1+X)×Q1,图片B的目标权重=(1+X)×Q2,图片C的目标权重=(1+X)×Q0。进而可以对图片A、图片B和图片C的目标权重进行比较,确定图片A、图片B和图片C的显示顺序,进而根据该显示顺序,显示图片A、图片B和图片C。
本申请实施例并不对显示顺序进行限定,任何可用的显示顺序均可以应用于本申请实施例中。例如,自上而下,图片对应的目标权重依次减小;自左至右,图片对应的目标权重依次减小。
在本申请实施例的一些可能实现中,用户可能对某些图片没有设置图片查找权值,则可以理解为该图片的图片查找权值为0,进而该图片的目标权重为该图片对应的应用程序的权重,若用户也没有对该图片对应的应用程序设置权重,则该图片的目标权重为Q0。
当用户未根据图片查找权值进行查找时,比如,根据关键字查找图片,此时,也可以确定根据关键字查找到的多张图片的显示顺序,进而按照该显示顺序显示根据关键字查找到的多张图片。
示例性地,根据关键字查找到的图片包括图片A、图片B、图片C和图片D,其中,图片A的目标权重为Q0,图片B的目标权重为Q3,图片C的目标权重为(1+20%)×Q4,图片D的目标权重为(1+50%)×Q2。根据图片A、图片B、图片C和图片D的目标权重进行比较,确定图片A、图片B、图片C和图片D的显示顺序,进而根据该显示顺序,显示图片A、图片B、图片C和图片D。
需要说明的是,本申请实施例提供的图片显示方法,执行主体可以为图片显示装置,或者该图片显示装置中的用于执行图片显示方法的控制模块。本申请实施例中以图片显示装置执行图片显示方法为例,说明本申请实施例提供的图片显示装置。
图9是本申请实施例提供的图片显示装置的结构示意图。图片显示装置900可以包括:
第一接收模块901,用于接收第一输入;
第一显示模块902,用于响应于第一输入,显示至少两个第一控件,其中,不同的第一控件对应不同的图片查找权值,图片查找权值用于确定图片查找条件;
第二接收模块903,用于接收对至少两个第一控件中的目标第一控件的第二输入;
第二显示模块904,用于响应于第二输入,显示第一图片查找权值对应的第一图片,其中,第一图片查找权值为目标第一控件对应的图片查找权值。
在本申请实施例中,通过显示对应不同图片查找权值的至少两个第一控件,用户通过对至少两个第一控件中的目标第一控件执行一个输入,即可显示目标第一控件对应的图片查找权值对应的第一图片。如此,即可查找到与目标第一控件对应的图片查找权值对应的图片,也就是说,能够通过图片查找权值查找到满足用户需求的图片,能够提高图片查找的准确度。
在本申请实施例的一些可能实现中,第一显示模块902具体用于:
以不同的显示方式,显示至少两个第一控件。
在本申请实施例的一些可能实现中,第一接收模块901具体用于:
接收对用于显示至少两个第一控件的第二控件的第一输入。
在本申请实施例的一些可能实现中,第一显示模块901具体用于:
将第二控件切换显示为至少两个第一控件。
在本申请实施例的一些可能实现中,第二控件包括:
悬浮球。
在本申请实施例的一些可能实现中,本申请实施例提供的图片显示装置900还包括:
第三接收模块,用于接收第三输入;
第一设置模块,用于响应于第三输入,控制设置第一图片对应的图片查找权值。
在本申请实施例的一些可能实现中,本申请实施例提供的图片显示装置900还包括:
第四接收模块,用于接收对第一图片的第四输入;
生成模块,用于响应于第四输入,生成第一图片的缩略图;
第五接收模块,用于接收对缩略图的第五输入;
第四显示模块,用于响应于第五输入,显示至少两个第三控件,其中,第三控件用于设置图片查找权值;
第三接收模块具体用于:
接收对至少两个第三控件中的目标第三控件的第三输入;
第一设置模块具体用于:
将目标第三控件对应的图片查找权值,设置为第一图片对应的图片查找权值。
在本申请实施例的一些可能实现中,第五接收模块具体用于:
接收将缩略图移动到用于显示至少两个第三控件的第四控件的位置的输入。
在本申请实施例的一些可能实现中,第四显示模块具体用于:
将第四控件切换显示为至少两个第三控件。
在本申请实施例的一些可能实现中,本申请实施例提供的图片显示装置900还包括:
第二设置模块,用于根据第一图片对应的图片查找权值,设置第一图片的目标权重,其中,目标权重用于图片排序;
相应地,在第一图片包括至少两个图片的情况下,第一显示模块901包括:
确定子模块,用于根据至少两个图片的目标权重,确定至少两个图片的显示顺序;
显示子模块,用于根据显示顺序,显示至少两个图片。
在本申请实施例的一些可能实现中,第二设置模块具体用于:
根据第一图片对应的图片查找权值和第一图片的初始权重,设置目标权重,其中,初始权重为第一图片对应的应用程序的权重。
本申请实施例中的图片显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电 子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的图片显示装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为iOS操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的图片显示装置能够实现图1至图8的图片显示方法实施例中的各个过程,为避免重复,这里不再赘述。
可选的,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述图片显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
在本申请实施例的一些可能实现中,处理器1001可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。
在本申请实施例的一些可能实现中,存储器1002可以包括只读存储器(Read-Only Memory,ROM),随机存取存储器(Random Access Memory,RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请实施例的图片显示方 法所描述的操作。
图11是实现本申请实施例的电子设备的硬件结构示意图。
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元1107用于:接收第一输入;
显示单元1106用于:响应于所述第一输入,显示至少两个第一控件,其中,不同的第一控件对应不同的图片查找权值,图片查找权值用于确定图片查找条件;
用户输入单元1107还用于:接收对至少两个第一控件中的目标第一控件的第二输入;
处理器1110用于:响应于第二输入,查找目标第一控件对应的图片查找权值对应的第一图片;
显示单元1106还用于:显示第一图片。
在本申请实施例中,通过显示对应不同图片查找权值的至少两个第一控件,用户通过对至少两个第一控件中的目标第一控件执行一个输入,即可显示目标第一控件对应的图片查找权值对应的第一图片。如此,即可查找到与目标第一控件对应的图片查找权值对应的图片,也就是说,能够通过图片查找权值查找到满足用户需求的图片,能够提高图片查找的准确度。
在本申请实施例的一些可能实现中,显示单元1106具体用于:
以不同的显示方式,显示至少两个第一控件。
在本申请实施例的一些可能实现中,显示单元1106还用于:显示第二 控件,其中,第二控件用于显示至少两个第一控件;
用户输入单元1107具体用于:接收对第二控件的第一输入。
在本申请实施例的一些可能实现中,显示单元1106具体用于:
将第二控件切换显示为至少两个第一控件。
在本申请实施例的一些可能实现中,用户输入单元1107还用于:接收第三输入;
处理器1110还用于:响应于第三输入,控制设置第一图片对应的图片查找权值。
在本申请实施例的一些可能实现中,用户输入单元1107还用于:接收对第一图片的第四输入;
处理器1110还用于:响应于第四输入,生成第一图片的缩略图;
用户输入单元1107还用于:接收对缩略图的第五输入;
显示单元1106还用于:响应于第五输入,显示至少两个第三控件,其中,第三控件用于设置图片查找权值;
用户输入单元1107具体用于:
接收对至少两个第三控件中的目标第三控件的第三输入;
处理器1110具体用于:
将目标第三控件对应的图片查找权值,设置为第一图片对应的图片查找权值。
在本申请实施例的一些可能实现中,用户输入单元1107具体用于:
接收将缩略图移动到用于显示至少两个第三控件的第四控件的位置的输入。
相应地,显示单元1106还用于:显示第四控件。
在本申请实施例的一些可能实现中,显示单元1106具体用于:
将第四控件切换显示为至少两个第三控件。
在本申请实施例的一些可能实现中,处理器1110还用于:根据第一图片对应的图片查找权值,控制设置第一图片的目标权重,其中,目标权重用于图片排序;
相应地,在第一图片包括至少两个图片的情况下,处理器1110还用 于:根据至少两个图片的目标权重,确定至少两个图片的显示顺序;
显示单元1106具体用于:根据显示顺序,显示至少两个图片。
在本申请实施例的一些可能实现中,处理器1110具体用于:
根据第一图片对应的图片查找权值和第一图片的初始权重,设置目标权重,其中,初始权重为第一图片对应的应用程序的权重。
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图片显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质包括计算机可读存储介质,计算机可读存储介质的示例包括非暂态计算机可读存储介质,如ROM、RAM、磁碟或者光盘等。
本申请实施例还提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图片显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种图片显示方法,包括:
    接收第一输入;
    响应于所述第一输入,显示至少两个第一控件,其中,不同的所述第一控件对应不同的图片查找权值,所述图片查找权值用于确定图片查找条件;
    接收对所述至少两个第一控件中的目标第一控件的第二输入;
    响应于所述第二输入,显示第一图片查找权值对应的第一图片,其中,所述第一图片查找权值为所述目标第一控件对应的图片查找权值。
  2. 根据权利要求1所述的方法,其中,所述显示至少两个第一控件,包括:
    以不同的显示方式,显示所述至少两个第一控件。
  3. 根据权利要求1所述的方法,其中,所述接收第一输入,包括:
    接收对用于显示所述至少两个第一控件的第二控件的第一输入。
  4. 根据权利要求1所述的方法,其中,在所述接收第一输入之前,所述方法还包括:
    接收第三输入;
    响应于所述第三输入,控制设置所述第一图片对应的图片查找权值。
  5. 根据权利要求4所述的方法,其中,在所述接收第三输入之前,所述方法还包括:
    接收对所述第一图片的第四输入;
    响应于所述第四输入,生成所述第一图片的缩略图;
    接收对所述缩略图的第五输入;
    响应于所述第五输入,显示至少两个第三控件,其中,所述第三控件用于设置图片查找权值;
    所述接收第三输入,包括:
    接收对所述至少两个第三控件中的目标第三控件的第三输入;
    所述控制设置所述第一图片对应的图片查找权值,包括:
    将所述目标第三控件对应的图片查找权值,设置为所述第一图片对应的图片查找权值。
  6. 根据权利要求5所述的方法,其中,所述接收对所述缩略图的第五输入,包括:
    接收将所述缩略图移动到用于显示至少两个第三控件的第四控件的位置的输入。
  7. 根据权利要求4所述的方法,其中,在所述控制设置所述第一图片设置的图片查找权值之后,所述方法还包括:
    根据所述第一图片对应的图片查找权值,控制设置所述第一图片的目标权重,其中,所述目标权重用于图片排序;
    在所述第一图片包括至少两个图片的情况下,所述显示第一图片查找权值对应的第一图片,包括:
    根据所述至少两个图片的目标权重,确定所述至少两个图片的显示顺序;
    根据所述显示顺序,显示所述至少两个图片。
  8. 一种图片显示装置,包括:
    第一接收模块,用于接收第一输入;
    第一显示模块,用于响应于所述第一输入,显示至少两个第一控件,其中,不同的所述第一控件对应不同的图片查找权值,所述图片查找权值用于确定图片查找条件;
    第二接收模块,用于接收对所述至少两个第一控件中的目标第一控件的第二输入;
    第二显示模块,用于响应于所述第二输入,显示第一图片查找权值对应的第一图片,其中,所述第一图片查找权值为所述目标第一控件对应的图片查找权值。
  9. 根据权利要求8所述的装置,其中,所述第一显示模块具体用于:
    以不同的显示方式,显示所述至少两个第一控件。
  10. 根据权利要求8所述的装置,其中,所述第一接收模块具体用于:
    接收对用于显示所述至少两个第一控件的第二控件的第一输入。
  11. 根据权利要求8所述的装置,其中,所述装置还包括:
    第三接收模块,用于接收第三输入;
    第一设置模块,用于响应于所述第三输入,控制设置所述第一图片对应的图片查找权值。
  12. 根据权利要求11所述的装置,其中,所述装置还包括:
    第四接收模块,用于接收对所述第一图片的第四输入;
    生成模块,用于响应于所述第四输入,生成所述第一图片的缩略图;
    第五接收模块,用于接收对所述缩略图的第五输入;
    第四显示模块,用于响应于所述第五输入,显示至少两个第三控件,其中,所述第三控件用于设置图片查找权值;
    所述第三接收模块具体用于:
    接收对所述至少两个第三控件中的目标第三控件的第三输入;
    所述第一设置模块具体用于:
    将所述目标第三控件对应的图片查找权值,设置为所述第一图片对应的图片查找权值。
  13. 根据权利要求12所述的装置,其中,所述第五接收模块具体用于:
    接收将所述缩略图移动到用于显示至少两个第三控件的第四控件的位置的输入。
  14. 根据权利要求11所述的装置,其中,所述装置还包括:
    第二设置模块,用于根据所述第一图片对应的图片查找权值,控制设置所述第一图片的目标权重,其中,所述目标权重用于图片排序;
    在所述第一图片包括至少两个图片的情况下,所述第一显示模块包括:
    确定子模块,用于根据所述至少两个图片的目标权重,确定所述至少两个图片的显示顺序;
    显示子模块,用于根据所述显示顺序,显示所述至少两个图片。
  15. 一种电子设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7任一项所述的图片显示方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7任一项所述的图片显示方法的步骤。
  17. 一种电子设备,被配置为用于执行如权利要求1至7任一项所述的图片显示方法的步骤。
  18. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至7任一项所述的图片显示方法的步骤。
  19. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7任一项所述的图片显示方法的步骤。
PCT/CN2022/086295 2021-04-19 2022-04-12 图片显示方法及装置 WO2022222785A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110419796.4A CN113268620A (zh) 2021-04-19 2021-04-19 图片显示方法及装置
CN202110419796.4 2021-04-19

Publications (1)

Publication Number Publication Date
WO2022222785A1 true WO2022222785A1 (zh) 2022-10-27

Family

ID=77228991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/086295 WO2022222785A1 (zh) 2021-04-19 2022-04-12 图片显示方法及装置

Country Status (2)

Country Link
CN (1) CN113268620A (zh)
WO (1) WO2022222785A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268620A (zh) * 2021-04-19 2021-08-17 维沃移动通信有限公司 图片显示方法及装置

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254184A1 (en) * 2012-03-22 2013-09-26 Corbis Corporation Proximity-Based Method For Determining Concept Relevance Within A Domain Ontology
CN104933102A (zh) * 2015-05-29 2015-09-23 努比亚技术有限公司 照片存储的方法及装置
WO2015178716A1 (en) * 2014-05-23 2015-11-26 Samsung Electronics Co., Ltd. Search method and device
CN106021362A (zh) * 2016-05-10 2016-10-12 百度在线网络技术(北京)有限公司 查询式的图片特征表示的生成、图片搜索方法和装置
CN106855771A (zh) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 一种数据处理方法、装置和智能终端
CN111223166A (zh) * 2019-10-31 2020-06-02 维沃移动通信有限公司 图像显示方法、装置、电子设备及介质
CN111666438A (zh) * 2020-05-22 2020-09-15 东华大学 一种云相册文本关键词模糊搜索***及使用方法
CN113268620A (zh) * 2021-04-19 2021-08-17 维沃移动通信有限公司 图片显示方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11314826B2 (en) * 2014-05-23 2022-04-26 Samsung Electronics Co., Ltd. Method for searching and device thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254184A1 (en) * 2012-03-22 2013-09-26 Corbis Corporation Proximity-Based Method For Determining Concept Relevance Within A Domain Ontology
WO2015178716A1 (en) * 2014-05-23 2015-11-26 Samsung Electronics Co., Ltd. Search method and device
CN104933102A (zh) * 2015-05-29 2015-09-23 努比亚技术有限公司 照片存储的方法及装置
CN106855771A (zh) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 一种数据处理方法、装置和智能终端
CN106021362A (zh) * 2016-05-10 2016-10-12 百度在线网络技术(北京)有限公司 查询式的图片特征表示的生成、图片搜索方法和装置
CN111223166A (zh) * 2019-10-31 2020-06-02 维沃移动通信有限公司 图像显示方法、装置、电子设备及介质
CN111666438A (zh) * 2020-05-22 2020-09-15 东华大学 一种云相册文本关键词模糊搜索***及使用方法
CN113268620A (zh) * 2021-04-19 2021-08-17 维沃移动通信有限公司 图片显示方法及装置

Also Published As

Publication number Publication date
CN113268620A (zh) 2021-08-17

Similar Documents

Publication Publication Date Title
WO2022048513A1 (zh) 搜索展示方法、装置及电子设备
WO2022194004A1 (zh) 应用图标整理方法、装置和电子设备
WO2022017525A1 (zh) 页面显示方法、装置和电子设备
WO2022121790A1 (zh) 分屏显示方法、装置、电子设备和可读存储介质
WO2022001899A1 (zh) 应用程序管理方法、装置和电子设备
WO2022042701A1 (zh) 权限设置方法、装置及电子设备
WO2022089568A1 (zh) 文件分享的方法、装置和电子设备
CN107832330B (zh) 一种搜索方法及终端设备
WO2022233276A1 (zh) 显示方法、装置和电子设备
WO2023284799A1 (zh) 搜索方法、装置及电子设备
WO2022143524A1 (zh) 信息显示方法、装置和电子设备
WO2023030114A1 (zh) 界面显示方法和装置
WO2023056977A1 (zh) 应用程序启动方法, 装置及电子设备
WO2023025121A1 (zh) 显示方法、装置、电子设备及可读存储介质
CN112486444A (zh) 投屏方法、装置、设备和可读存储介质
WO2022143660A1 (zh) 图标显示方法、装置及电子设备
WO2022253181A1 (zh) 图标整理方法、装置和电子设备
WO2022222785A1 (zh) 图片显示方法及装置
WO2022218192A1 (zh) 文件处理方法及装置
CN111813305A (zh) 应用程序启动方法及装置
US20170315703A1 (en) Projector playing control method, device, and computer storage medium
WO2022068863A1 (zh) 后台任务显示方法和电子设备
US10192523B2 (en) Method and apparatus for providing an overview of a plurality of home screens
JP7467625B2 (ja) インタフェース表示方法、電子機器およびコンピュータ可読記憶媒体
CN113836089A (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: 22790894

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

Country of ref document: EP

Kind code of ref document: A1