CN114415893A - Image display method and device, electronic equipment and storage medium - Google Patents

Image display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114415893A
CN114415893A CN202210090093.6A CN202210090093A CN114415893A CN 114415893 A CN114415893 A CN 114415893A CN 202210090093 A CN202210090093 A CN 202210090093A CN 114415893 A CN114415893 A CN 114415893A
Authority
CN
China
Prior art keywords
widget
image
target
target image
display
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202210090093.6A
Other languages
Chinese (zh)
Other versions
CN114415893B (en
Inventor
杨晰
蒋锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu Ltd
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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202210090093.6A priority Critical patent/CN114415893B/en
Publication of CN114415893A publication Critical patent/CN114415893A/en
Application granted granted Critical
Publication of CN114415893B publication Critical patent/CN114415893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an image display method, an image display device, electronic equipment and a storage medium; the method comprises the steps that an image widget selection page can be displayed, the image widget selection page comprises a widget drawing control, the widget drawing page is displayed in response to a trigger operation aiming at the widget drawing control, the widget drawing page comprises a widget drawing area, the widget drawing area is used for a user to draw a self-defined widget graph, a target image widget is generated in response to the widget drawing operation aiming at the widget drawing area, a target image is obtained, and the target image is displayed based on the target image widget; because the user can draw the user-defined widget graph in the widget drawing area, the target image widget desired by the user can be generated according to the widget drawing operation of the user, the image display form of the user is enriched, and the requirement of the user on the diversity of the image display form is met.

Description

Image display method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of display, in particular to an image display method, an image display device, electronic equipment and a storage medium.
Background
With the improvement of living standard of people, people are pursuing the satisfaction of the mental world. For example, people can store photos, paintings, and the like that people like or create by themselves for appreciation. For example, people can store pictures taken by people in mobile phones for viewing at any time.
With the development of widgets of various electronic devices, users can display favorite images in any corner of the terminal. At present, most developers in the related art provide image display widgets, which are mainly rounded rectangles and set three fixed sizes, namely large, medium and small, for users, so as to meet the requirements of users on image display. However, with this solution, the user can only select from the image display widgets provided by the developer, and there are few image display forms available, which cannot meet the user's requirements for image display.
Disclosure of Invention
The embodiment of the invention provides an image display method, an image display device, electronic equipment and a storage medium, which can enable a user to draw the shape of an image display widget by himself, enrich the image display form of the user and meet the requirement of the user on the diversity of the image display form.
The embodiment of the invention provides an image display method, which comprises the following steps:
displaying an image widget selection page, wherein the image widget selection page comprises a widget drawing control;
responding to the trigger operation aiming at the widget drawing control, and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user;
generating a target image widget in response to a widget drawing operation for the widget drawing area;
and acquiring a target image, and displaying the target image based on the target image widget.
Accordingly, an embodiment of the present invention provides an image display device, including:
the system comprises a selection page display unit, a display unit and a display unit, wherein the selection page display unit is used for displaying an image widget selection page, and the image widget selection page comprises a widget drawing control;
the widget drawing unit is used for responding to the triggering operation aiming at the widget drawing control and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user;
a widget generating unit configured to generate a target image widget in response to a widget drawing operation for the widget drawing area;
and the image display unit is used for acquiring a target image and displaying the target image based on the target image widget.
Optionally, the widget drawing page includes a widget preview area, and the widget drawing unit is configured to determine, in response to a widget drawing operation for the widget drawing area, a widget graph drawn by the user;
acquiring a preview image, and displaying a target preview widget in the widget preview area according to the widget graph and the preview image;
and generating a target image widget in response to the triggering operation aiming at the target preview widget.
Optionally, the preview image is at least one target image, the widget drawing unit is configured to obtain at least one target image, and display a target preview widget in the widget preview area according to the widget graph and each target image, where the target preview widget is used to preview and display each target image one by one.
Optionally, the image control selection page includes a default widget selection list, where the default widget selection list includes a default widget selection control corresponding to at least one default widget;
the image display device provided by the embodiment of the invention further comprises a default widget selection unit, which is used for responding to the triggering operation of the default widget selection control in the default widget selection list, and determining a target default widget corresponding to the triggered default widget selection control from at least one preset default widget;
and acquiring a target image, and displaying the target image based on the target default widget.
Optionally, the image display unit is configured to display an adjustable image widget at a target position in response to a display position selection operation of the user based on the target image widget;
generating an adjusted target image widget in response to a widget parameter adjustment operation for the adjustable image widget;
and displaying the target image at the target position according to the adjusted target image widget.
Optionally, the target position is a desktop, the desktop includes at least one other display control, and the image display apparatus provided in the embodiment of the present invention further includes an other control updating unit, configured to determine a target display area corresponding to the target image based on the adjusted target image widget and the target position;
determining the overlapping condition of the display area of each other display control and the target display area;
when the display area of one other display control is overlapped with the target display area, determining the updated display position of the other display control with the overlapped display area and the target display area;
and displaying the other display controls according to the updated display position.
Optionally, the widget drawing unit is configured to determine, in response to a touch movement operation for the widget drawing area, a touch path corresponding to the touch movement operation;
generating a drawing line according to the touch path;
returning to the step of executing the touch movement operation responding to the widget drawing area and determining the touch path corresponding to the touch movement operation until the user does not execute the touch movement operation any more;
and generating a target image widget based on the currently displayed graph in the widget drawing area.
Correspondingly, the embodiment of the invention also provides the electronic equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is used for running the application program in the memory to execute the steps in any image display method provided by the embodiment of the invention.
Correspondingly, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in any one of the image display methods provided by the embodiments of the present invention.
In addition, the embodiment of the present invention further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the computer program or instructions implement the steps in any image display method provided by the embodiment of the present invention.
By adopting the scheme of the embodiment of the invention, an image widget selection page can be displayed, wherein the image widget selection page comprises a widget drawing control, the widget drawing page is displayed in response to the triggering operation aiming at the widget drawing control, the widget drawing page comprises a widget drawing area, the widget drawing area is used for drawing a self-defined widget graph by a user, a target image widget is generated in response to the widget drawing operation aiming at the widget drawing area, a target image is obtained, and the target image is displayed based on the target image widget; because the user can draw the user-defined widget graph in the widget drawing area, the target image widget desired by the user can be generated according to the widget drawing operation of the user, the image display form of the user is enriched, and the requirement of the user on the diversity of the image display form is met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of an image display method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an image display method provided by an embodiment of the invention;
FIG. 3 is a schematic diagram of an image widget selection page provided by an embodiment of the invention;
FIG. 4 is a schematic diagram of a UI interaction displaying an image widget selection page provided by an embodiment of the invention;
FIG. 5 is a diagram of a widget rendering page provided by an embodiment of the invention;
FIG. 6 is a diagram of a display target image widget provided by an embodiment of the invention;
FIG. 7 is a schematic diagram of an image display process provided by an embodiment of the invention;
FIG. 8 is a schematic structural diagram of an image display apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an image display method, an image display device, electronic equipment and a computer-readable storage medium. In particular, embodiments of the present invention provide an image display method suitable for an image display apparatus that may be integrated in an electronic device.
The electronic device may be a terminal or other devices, including but not limited to a mobile terminal and a fixed terminal, for example, the mobile terminal includes but is not limited to a smart phone, a smart watch, a tablet computer, a notebook computer, a smart car, and the like, wherein the fixed terminal includes but is not limited to a desktop computer, a smart television, and the like.
The electronic device may also be a device such as a server, and the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), and a big data and artificial intelligence platform, but is not limited thereto.
The image display method of the embodiment of the invention can be realized by a terminal, and can also be realized by the terminal and a server together.
The following describes the method by taking an example in which the terminal and the server implement the image display method together.
As shown in fig. 1, the image display system according to the embodiment of the present invention includes a terminal 10, a server 20, and the like; the terminal 10 and the server 20 are connected via a network, such as a wired or wireless network, wherein the terminal 10 may exist as a terminal for drawing widget graphics by a user.
The terminal 10 may display an image widget selection page, where the image widget selection page includes a widget drawing control, and in response to a trigger operation for the widget drawing control, the widget drawing page is displayed, where the widget drawing page includes a widget drawing area, and the widget drawing area is used for a user to draw a user-defined widget graph.
The terminal 10 may transmit the widget graphic drawn by the user to the server to generate the target image widget in response to the widget drawing operation with respect to the widget drawing area.
The server 20 may be configured to receive the widget graph, generate a target image widget, and send the target image widget to the terminal 10.
The terminal 10 may acquire a target image and display the target image based on the target image widget.
It is understood that the steps performed by the server 20 may also be performed by the terminal 10, and the embodiment of the present invention is not limited thereto.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Embodiments of the present invention will be described from the perspective of an image display apparatus, which may be specifically integrated in a server or a terminal.
As shown in fig. 2, a specific flow of the image display method of the present embodiment may be as follows:
201. displaying an image widget selection page, the image widget selection page including a widget rendering control.
In the embodiment of the invention, the widget is a plug-in, and part of functions in the application can be realized in the form of the plug-in. Specifically, the image widget may implement an image presentation function in the electronic device in the form of a plug-in.
For example, the image widget may be a function of displaying photos of an album application in a smart phone on a desktop of the smart phone in the form of a plug-in, and the like.
The image widget selection page may be a page for the user to select the image widget. Specifically, the image widget selection page may be a human-computer interaction page (GUI) as shown at 301 in fig. 3.
The widget drawing control may be a control for a user to trigger and display a widget drawing page, and the display form of the control may be various, for example, a button, an icon, and the like.
In some alternative embodiments, as shown at 302 in fig. 3, the image widget selection page may include, in addition to the widget drawing controls, a default widget selection list including default widget selection controls corresponding to at least one default widget.
At this time, the image display method provided in the embodiment of the present invention may further include:
responding to a triggering operation aiming at a default widget selection control in the default widget selection list, and determining a target default widget corresponding to the triggered default widget selection control from at least one preset default widget;
and acquiring a target image, and displaying the target image based on the target default widget.
Wherein, the triggering operation may be preset by a technician or a user, and the triggering operation may include: long press operation, double click operation, and slide operation, etc.
For example, when the user clicks on a default widget of a rectangle in the default widget selection list, the default widget of the rectangle is taken as the target default widget.
In an actual application process, the image widget selection page may be displayed in response to a widget selection operation by a user. The widget selection operation may be a single operation or a group of operations.
For example, a page entry control of the image widget selection page may be set in the electronic device of the user, and the image widget selection page may be displayed by clicking the page entry control by the user.
Or, the user may press the desktop as 401 in fig. 4 for a long time, the terminal displays a page entry control in response to a long-press operation on the desktop as 402 in fig. 4, and when the user clicks the page entry control, the terminal displays an image widget selection page as 403 in fig. 4 in response to a trigger operation on the page entry control.
Wherein, the operations of long pressing, clicking and the like jointly form the widget selection operation. The widget selection operation may also be any other form of triggering operation, which is not limited in this embodiment of the present invention.
202. And responding to the triggering operation aiming at the widget drawing control, and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user.
Specifically, the widget drawing page may be as 501 in fig. 5, and the widget drawing page may include several functional controls, for example, a "cancel" control that cancels drawing content, a "complete" control that completes drawing, a "back to upper page" that returns to the image widget selection page, and other functional controls.
In an actual application process, in order to facilitate a user to view effects of a widget drawn by the user, as shown in 502 in fig. 5, the widget drawing page may include a widget preview area, and the step "generating a target image widget in response to a widget drawing operation for the widget drawing area" includes:
determining the user-drawn widget graph in response to a widget drawing operation for the widget drawing area;
acquiring a preview image, and displaying a target preview widget in the widget preview area according to the widget graph and the preview image;
and generating a target image widget in response to the triggering operation aiming at the target preview widget.
The preview image may be a default image of the system, which may be preset by a technician, or the preview image may be an image preset by a user and used in a preview process, or the preview image may also be a target image selected by the user and to be displayed through the image widget.
In some optional embodiments, the user may select multiple images to be displayed by the image widget, and during the preview, the multiple images selected by the user may be displayed in a loop, so that the user can determine whether the generated widget is suitable for each image.
That is to say, the preview image is at least one target image, and the step "acquiring the preview image, and displaying the target preview widget in the widget preview area according to the widget graph and the preview image" may specifically include:
and acquiring at least one target image, and displaying a target preview widget in the widget preview area according to the widget graph and each target image, wherein the target preview widget is used for previewing and displaying each target image one by one.
Specifically, the display order of each target image and the display duration of each target image are not limited in the embodiments of the present invention. For example, the respective target images may be displayed in the order selected by the user, or may be randomly displayed; at the time of display, each target image may be displayed for 3 seconds, and so on.
In some alternative examples, the user may also manually switch the target image, and so on.
203. And generating a target image widget in response to the widget drawing operation aiming at the widget drawing area.
As shown at 502 in FIG. 5, a user may draw a custom graphic in a widget drawing area. Specifically, the step "generating the target image widget in response to the widget drawing operation for the widget drawing area" may specifically include:
responding to a touch movement operation aiming at the widget drawing area, and determining a touch path corresponding to the touch movement operation;
generating a drawing line according to the touch path;
returning to the step of executing the touch movement operation responding to the widget drawing area and determining the touch path corresponding to the touch movement operation until the user does not execute the touch movement operation any more;
and generating a target image widget based on the currently displayed graph in the widget drawing area.
It can be understood that generating the widget according to the graphic drawn by the user completely may result in undesirable display effect of the widget due to the drawing error of the user, the drawing level of the user, and the like. Therefore, in the embodiment of the invention, the preset graph optimization algorithm can be adopted to optimize the graph drawn by the user, so as to generate the optimal display effect.
204. And acquiring a target image, and displaying the target image based on the target image widget.
In the practical application process, the target image widget containing the target image can be displayed at any position of the electronic device according to the setting of the user. For example, the user may set the target image widget on a desktop, or the user may superimpose the target image widget on an arbitrary page for display, and so on.
It will be appreciated that the displayed widgets may be adjusted in order to fit the size, orientation, etc. of the target image widget to the user's interest. That is, the step "displaying the target image based on the target image widget" may specifically include:
displaying an adjustable image widget at a target position in response to a display position selection operation of the user based on the target image widget;
generating an adjusted target image widget in response to a widget parameter adjustment operation for the adjustable image widget;
and displaying the target image at the target position according to the adjusted target image widget.
For example, when the adjustable image widget is displayed at the target location, as shown in fig. 6, an adjustment node may be set for the adjustable image widget, and the user may adjust the size, the rotation angle, and the like of the target image widget by dragging the adjustment node.
In some alternative examples, the user may set the target position to be a desktop, it being understood that there may be some other controls on the desktop. That is to say, the target position is a desktop, and the desktop includes at least one other display control, and the image display method provided in the embodiment of the present invention may further include:
determining a target display area corresponding to the target image based on the adjusted target image widget and the target position;
determining the overlapping condition of the display area of each other display control and the target display area;
when the display area of one other display control is overlapped with the target display area, determining the updated display position of the other display control with the overlapped display area and the target display area;
and displaying the other display controls according to the updated display position.
That is, when the target image widget crowds the locations of other display controls, the locations of the other display controls may be moved to other locations of the desktop.
It is understood that when the default image widget is displayed, parameters such as the size of the default image widget may be adjusted as well, as shown in fig. 7. For example, the user may drag a adjustment point to resize the image widget.
As can be seen from the above, in the embodiment of the present invention, an image widget selection page may be displayed, where the image widget selection page includes a widget drawing control, and in response to a trigger operation for the widget drawing control, displays a widget drawing page, where the widget drawing page includes a widget drawing area, where the widget drawing area is used for a user to draw a user-defined widget graph, and in response to a widget drawing operation for the widget drawing area, generates a target image widget, acquires a target image, and displays the target image based on the target image widget; because the user can draw the user-defined widget graph in the widget drawing area, the target image widget desired by the user can be generated according to the widget drawing operation of the user, the image display form of the user is enriched, and the requirement of the user on the diversity of the image display form is met.
In order to better implement the method, correspondingly, the embodiment of the invention also provides an image display device.
Referring to fig. 8, the apparatus includes:
a selected page display unit 801, configured to display an image widget selection page, where the image widget selection page includes a widget drawing control;
the widget drawing unit 802 is configured to display a widget drawing page in response to a trigger operation for the widget drawing control, where the widget drawing page includes a widget drawing area, and the widget drawing area is used for a user to draw a user-defined widget graph;
a widget generating unit 803 for generating a target image widget in response to a widget drawing operation for the widget drawing area;
and the image display unit 804 is used for acquiring a target image and displaying the target image based on the target image widget.
Optionally, the widget drawing page includes a widget preview area, and the widget drawing unit 802 is configured to determine, in response to a widget drawing operation for the widget drawing area, a widget graph drawn by the user;
acquiring a preview image, and displaying a target preview widget in the widget preview area according to the widget graph and the preview image;
and generating a target image widget in response to the triggering operation aiming at the target preview widget.
Optionally, the preview image is at least one target image, the widget drawing unit 802 is configured to obtain at least one target image, and display a target preview widget in the widget preview area according to the widget graph and each target image, where the target preview widget is configured to preview and display each target image one by one.
Optionally, the image control selection page includes a default widget selection list, where the default widget selection list includes a default widget selection control corresponding to at least one default widget;
the image display device provided in the embodiment of the present invention further includes a default widget selecting unit 805, configured to determine, from at least one preset default widget, a target default widget corresponding to a triggered default widget selection control in response to a triggering operation for the default widget selection control in the default widget selection list;
and acquiring a target image, and displaying the target image based on the target default widget.
Optionally, the image display unit 804 is configured to display an adjustable image widget at a target position in response to a display position selection operation of the user based on the target image widget;
generating an adjusted target image widget in response to a widget parameter adjustment operation for the adjustable image widget;
and displaying the target image at the target position according to the adjusted target image widget.
Optionally, the target position is a desktop, where the desktop includes at least one other display control, and the image display apparatus provided in the embodiment of the present invention further includes an other control updating unit 806, configured to determine, based on the adjusted target image widget and the target position, a target display area corresponding to the target image;
determining the overlapping condition of the display area of each other display control and the target display area;
when the display area of one other display control is overlapped with the target display area, determining the updated display position of the other display control with the overlapped display area and the target display area;
and displaying the other display controls according to the updated display position.
Optionally, the widget drawing unit 803 is configured to determine, in response to a touch movement operation for the widget drawing area, a touch path corresponding to the touch movement operation;
generating a drawing line according to the touch path;
returning to the step of executing the touch movement operation responding to the widget drawing area and determining the touch path corresponding to the touch movement operation until the user does not execute the touch movement operation any more;
and generating a target image widget based on the currently displayed graph in the widget drawing area.
As can be seen from the above, an image widget selection page may be displayed by an image display apparatus, where the image widget selection page includes a widget drawing control, and in response to a trigger operation for the widget drawing control, displays a widget drawing page, where the widget drawing page includes a widget drawing area, where the widget drawing area is used for a user to draw a self-defined widget pattern, and in response to a widget drawing operation for the widget drawing area, generates a target image widget, acquires a target image, and displays the target image based on the target image widget; because the user can draw the user-defined widget graph in the widget drawing area, the target image widget desired by the user can be generated according to the widget drawing operation of the user, the image display form of the user is enriched, and the requirement of the user on the diversity of the image display form is met.
In addition, an embodiment of the present invention further provides an electronic device, where the electronic device may be a terminal or a server, and as shown in fig. 9, a schematic structural diagram of the electronic device according to the embodiment of the present invention is shown, specifically:
the electronic device may include Radio Frequency (RF) circuitry 901, memory 902 including one or more computer-readable storage media, input unit 903, display unit 904, sensor 905, audio circuitry 906, Wireless Fidelity (WiFi) module 907, processor 908 including one or more processing cores, and power supply 909. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 901 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 908; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 901 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 901 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 902 may be used to store software programs and modules, and the processor 908 executes various functional applications and data processing by operating the software programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 902 may also include a memory controller to provide access to the memory 902 by the processor 908 and the input unit 903.
The input unit 903 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 903 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 908, and receives and executes commands from the processor 908. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 903 may include other input devices in addition to a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 904 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 904 may include a Display panel, and may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is communicated to the processor 908 to determine the type of touch event, and the processor 908 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 9 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 905, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
Audio circuitry 906, a speaker, and a microphone may provide an audio interface between a user and the electronic device. The audio circuit 906 may transmit the electrical signal converted from the received audio data to a speaker, and the electrical signal is converted into a sound signal by the speaker and output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 906 and converted into audio data, which is then processed by the audio data output processor 908, and then transmitted to, for example, another electronic device via the RF circuit 901, or the audio data is output to the memory 902 for further processing. The audio circuitry 906 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
WiFi belongs to short-distance wireless transmission technology, and the electronic equipment can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 907, and provides wireless broadband internet access for the user. Although fig. 9 shows the WiFi module 907, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 908 is a control center of the electronic device, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 902 and calling data stored in the memory 902, thereby performing overall monitoring of the cellular phone. Optionally, processor 908 may include one or more processing cores; preferably, the processor 908 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 908.
The electronic device also includes a power supply 909 (e.g., a battery) that provides power to the various components, which may preferably be logically coupled to the processor 908 via a power management system, such that the functions of managing charging, discharging, and power consumption are performed via the power management system. The power supply 909 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 908 in the electronic device loads an executable file corresponding to a process of one or more application programs into the memory 902 according to the following instructions, and the processor 908 runs the application programs stored in the memory 902, thereby implementing various functions as follows:
displaying an image widget selection page, wherein the image widget selection page comprises a widget drawing control;
responding to the trigger operation aiming at the widget drawing control, and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user;
generating a target image widget in response to a widget drawing operation for the widget drawing area;
and acquiring a target image, and displaying the target image based on the target image widget.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the image display methods provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
displaying an image widget selection page, wherein the image widget selection page comprises a widget drawing control;
responding to the trigger operation aiming at the widget drawing control, and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user;
generating a target image widget in response to a widget drawing operation for the widget drawing area;
and acquiring a target image, and displaying the target image based on the target image widget.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any image display method provided by the embodiment of the present invention, the beneficial effects that can be achieved by any image display method provided by the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
According to an aspect of the application, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the method provided in the various alternative implementations in the above embodiments.
The foregoing detailed description has provided a method, an apparatus, an electronic device, and a storage medium for displaying an image according to embodiments of the present invention, and the present disclosure has been made by applying specific examples to explain the principles and embodiments of the present invention, and the above description of the embodiments is only provided to help understanding the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An image display method, comprising:
displaying an image widget selection page, wherein the image widget selection page comprises a widget drawing control;
responding to the trigger operation aiming at the widget drawing control, and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user;
generating a target image widget in response to a widget drawing operation for the widget drawing area;
and acquiring a target image, and displaying the target image based on the target image widget.
2. The image display method according to claim 1, wherein the widget drawing page includes a widget preview area;
the generating a target image widget in response to the widget drawing operation for the widget drawing region includes:
determining the user-drawn widget graph in response to a widget drawing operation for the widget drawing area;
acquiring a preview image, and displaying a target preview widget in the widget preview area according to the widget graph and the preview image;
and generating a target image widget in response to the triggering operation aiming at the target preview widget.
3. The image display method according to claim 2, wherein the preview image is at least one of the target images;
the obtaining of the preview image and the displaying of the target preview widget in the widget preview area according to the widget graph and the preview image comprise:
and acquiring at least one target image, and displaying a target preview widget in the widget preview area according to the widget graph and each target image, wherein the target preview widget is used for previewing and displaying each target image one by one.
4. The image display method according to claim 1, wherein the image control selection page includes a default widget selection list including default widget selection controls corresponding to at least one default widget;
the method further comprises the following steps:
responding to a triggering operation aiming at a default widget selection control in the default widget selection list, and determining a target default widget corresponding to the triggered default widget selection control from at least one preset default widget;
and acquiring a target image, and displaying the target image based on the target default widget.
5. The image display method according to claim 1, wherein the displaying the target image based on the target image widget includes:
displaying an adjustable image widget at a target position in response to a display position selection operation of the user based on the target image widget;
generating an adjusted target image widget in response to a widget parameter adjustment operation for the adjustable image widget;
and displaying the target image at the target position according to the adjusted target image widget.
6. The image display method of claim 5, wherein the target location is a desktop, the desktop including at least one other display control;
the method further comprises the following steps:
determining a target display area corresponding to the target image based on the adjusted target image widget and the target position;
determining the overlapping condition of the display area of each other display control and the target display area;
when the display area of one other display control is overlapped with the target display area, determining the updated display position of the other display control with the overlapped display area and the target display area;
and displaying the other display controls according to the updated display position.
7. The image display method according to claim 1, wherein the generating a target image widget in response to the widget drawing operation for the widget drawing area includes:
responding to a touch movement operation aiming at the widget drawing area, and determining a touch path corresponding to the touch movement operation;
generating a drawing line according to the touch path;
returning to the step of executing the touch movement operation responding to the widget drawing area and determining the touch path corresponding to the touch movement operation until the user does not execute the touch movement operation any more;
and generating a target image widget based on the currently displayed graph in the widget drawing area.
8. An image display apparatus, comprising:
the system comprises a selection page display unit, a display unit and a display unit, wherein the selection page display unit is used for displaying an image widget selection page, and the image widget selection page comprises a widget drawing control;
the widget drawing unit is used for responding to the triggering operation aiming at the widget drawing control and displaying a widget drawing page, wherein the widget drawing page comprises a widget drawing area, and the widget drawing area is used for drawing a user-defined widget graph by a user;
a widget generating unit configured to generate a target image widget in response to a widget drawing operation for the widget drawing area;
and the image display unit is used for acquiring a target image and displaying the target image based on the target image widget.
9. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps of the image display method according to any one of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the image display method according to any one of claims 1 to 7.
CN202210090093.6A 2022-01-25 2022-01-25 Image display method and device, electronic equipment and storage medium Active CN114415893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210090093.6A CN114415893B (en) 2022-01-25 2022-01-25 Image display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210090093.6A CN114415893B (en) 2022-01-25 2022-01-25 Image display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114415893A true CN114415893A (en) 2022-04-29
CN114415893B CN114415893B (en) 2024-06-11

Family

ID=81277478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210090093.6A Active CN114415893B (en) 2022-01-25 2022-01-25 Image display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114415893B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023119A (en) * 2013-02-28 2014-09-03 三星电子株式会社 Portable apparatus and method for taking photograph by using widget
CN105144062A (en) * 2013-04-26 2015-12-09 三星电子株式会社 User terminal device and display method thereof
CN105593802A (en) * 2013-09-30 2016-05-18 三星电子株式会社 Method for displaying previews in a widget
US20160182748A1 (en) * 2014-12-23 2016-06-23 Samsung Electronics Co., Ltd. Method for performing job by using widget, and image forming apparatus for performing the same
CN106155517A (en) * 2015-05-13 2016-11-23 Lg电子株式会社 Mobile terminal and control method thereof
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 Display interface self-defining method and system of wearable device and electronic device
WO2019132409A1 (en) * 2017-12-29 2019-07-04 삼성전자 주식회사 Electronic device and control method thereof
CN111857913A (en) * 2020-07-03 2020-10-30 Oppo广东移动通信有限公司 Screen-turning image generation method and device, electronic equipment and readable storage medium
CN112312217A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Image editing method and device, computer equipment and storage medium
CN112363660A (en) * 2020-11-09 2021-02-12 北京达佳互联信息技术有限公司 Method and device for determining cover image, electronic equipment and storage medium
WO2022002052A1 (en) * 2020-07-01 2022-01-06 维沃移动通信有限公司 Image capture method and apparatus, and electronic device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023119A (en) * 2013-02-28 2014-09-03 三星电子株式会社 Portable apparatus and method for taking photograph by using widget
CN105144062A (en) * 2013-04-26 2015-12-09 三星电子株式会社 User terminal device and display method thereof
CN105593802A (en) * 2013-09-30 2016-05-18 三星电子株式会社 Method for displaying previews in a widget
US20160182748A1 (en) * 2014-12-23 2016-06-23 Samsung Electronics Co., Ltd. Method for performing job by using widget, and image forming apparatus for performing the same
CN106155517A (en) * 2015-05-13 2016-11-23 Lg电子株式会社 Mobile terminal and control method thereof
WO2019132409A1 (en) * 2017-12-29 2019-07-04 삼성전자 주식회사 Electronic device and control method thereof
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 Display interface self-defining method and system of wearable device and electronic device
CN112312217A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Image editing method and device, computer equipment and storage medium
WO2022002052A1 (en) * 2020-07-01 2022-01-06 维沃移动通信有限公司 Image capture method and apparatus, and electronic device
CN111857913A (en) * 2020-07-03 2020-10-30 Oppo广东移动通信有限公司 Screen-turning image generation method and device, electronic equipment and readable storage medium
CN112363660A (en) * 2020-11-09 2021-02-12 北京达佳互联信息技术有限公司 Method and device for determining cover image, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114415893B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
KR102182917B1 (en) Graphic code display method and device
CN106993227B (en) Method and device for information display
CN109101147B (en) Message notification display method and terminal
WO2015172704A1 (en) To-be-shared interface processing method, and terminal
CN104954149B (en) The method, apparatus and system of data sharing are carried out in Web conference
CN105828160B (en) Video broadcasting method and device
CN105975190B (en) Graphical interface processing method, device and system
CN108039963B (en) Container configuration method and device and storage medium
CN109857297B (en) Information processing method and terminal equipment
CN106254910B (en) Method and device for recording image
CN107193451B (en) Information display method and device, computer equipment and computer readable storage medium
US20160292946A1 (en) Method and apparatus for collecting statistics on network information
CN109407948B (en) Interface display method and mobile terminal
CN108228902B (en) File display method and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
US20220043564A1 (en) Method for inputting content and terminal device
CN110764675A (en) Control method and electronic equipment
WO2015165390A1 (en) Method, apparatus, and system for displaying message in mobile terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN109101151B (en) Information display processing method and terminal equipment
CN107423050A (en) A kind of method and apparatus for penetrating operation
CN105631059B (en) Data processing method, data processing device and data processing system
CN111694497B (en) Page combination method and electronic equipment
CN111310165B (en) Account switching or registering method and electronic equipment
CN111026477B (en) Display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant