CN112463280A - Image generation method and device, electronic equipment and computer readable storage medium - Google Patents
Image generation method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112463280A CN112463280A CN202011460029.XA CN202011460029A CN112463280A CN 112463280 A CN112463280 A CN 112463280A CN 202011460029 A CN202011460029 A CN 202011460029A CN 112463280 A CN112463280 A CN 112463280A
- Authority
- CN
- China
- Prior art keywords
- image
- interface
- application program
- instruction
- application
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides an image generation method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring a screen capture instruction; if the current interface corresponding to the screen capturing instruction is an interface of an operating system level, acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information; respectively displaying thumbnails corresponding to the first interface image and the system identification image for user selection; if the current interface corresponding to the screen capture instruction is the interface of the application program level, responding to the screen capture instruction, and acquiring a second interface image of the current interface and an application program identification image comprising program-related identification feature information of the application program corresponding to the interface of the application program level; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection. The embodiment of the application expands the screen capture function and increases the sharing way of the relevant information of the application program interface.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an image generation method, an image generation device, an electronic device, and a computer-readable storage medium.
Background
The screen capture operation is a common operation in a terminal or the like. If the user sees a proper display interface which includes the content required by the user, the user can perform screen capture operation to reserve the corresponding screenshot, and sometimes the user can share the screenshot.
The existing screenshot scheme only saves a display interface, and the screenshot function is simple. When a user shares a picture, the user sometimes wants to share more contents, and the conventional screenshot scheme cannot realize the corresponding function.
Disclosure of Invention
The purpose of the present application is to solve at least one of the above technical drawbacks, and to provide the following solutions:
in a first aspect, a method of image generation is provided, the method comprising:
acquiring a screen capture instruction;
if the current interface corresponding to the screen capturing instruction is an interface of an operating system level, responding to the screen capturing instruction, and acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information; respectively displaying the first interface image and the thumbnail corresponding to the system identification image for user selection;
if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, and acquiring a second interface image of the current interface and an application program identification image comprising program-related identification feature information of an application program corresponding to the application program level interface; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection.
In a second aspect, there is provided an apparatus for image generation, the apparatus comprising:
the acquisition module is used for acquiring a screen capture instruction;
the first display module is used for responding to the screen capturing instruction to acquire a first interface image of the current interface and a system identification image containing terminal related identification feature information if the current interface corresponding to the screen capturing instruction is an operating system level interface; respectively displaying the first interface image and the thumbnail corresponding to the system identification image for user selection;
the second display module is used for responding to the screen capturing instruction to acquire a second interface image of the current interface and an application program identification image comprising program-related identification feature information of the application program corresponding to the interface of the application program hierarchy if the current interface corresponding to the screen capturing instruction is the interface of the application program hierarchy; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the image generation method according to the first aspect of the present application is performed.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the image generation method shown in the first aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is: acquiring a screen capture instruction, if a current interface corresponding to the screen capture instruction is an operating system level interface, responding to the screen capture instruction, acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information, and respectively displaying the first interface image and a thumbnail corresponding to the system identification image for user selection; if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, acquiring a second interface image of the current interface and an application program identification image comprising program related identification feature information of an application program corresponding to the application program level interface, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection, so that the screen capturing function is further expanded, the application program identification image can be used for opening the application program interface when the screen capturing instruction is acquired, and a sharing way of the application program interface related information is increased.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of an image generation method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating that a terminal displays a thumbnail corresponding to a first interface image and a thumbnail corresponding to a system identification image according to an embodiment of the present application;
FIG. 3 is a detailed flowchart of step S103 in FIG. 1;
fig. 4 is a schematic diagram illustrating that a terminal displays a thumbnail corresponding to a second interface image, a thumbnail corresponding to an application identification image, and a thumbnail corresponding to a preset application display image according to an embodiment of the present application.
Fig. 5 is a schematic flowchart of an image generation method further included in the embodiment of the present application;
fig. 6 is a schematic structural diagram of an image generating apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device for image generation according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The application provides an image generation method, an image generation device, an electronic device and a computer-readable storage medium, which aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The image generation method provided by the application can be applied to a terminal. Specifically, the terminal acquires a screen capture instruction; if the current interface corresponding to the screen capturing instruction of the terminal is an interface of an operating system level, responding to the screen capturing instruction, acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information, and respectively displaying the first interface image and a thumbnail corresponding to the system identification image for user selection; and if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, acquiring a second interface image of the current interface and an application program identification image comprising program-related identification feature information of an application program corresponding to the application program level interface, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection.
As will be understood by those skilled in the art, a "terminal" as used herein may be a Mobile phone, a tablet computer, a PDA (Personal Digital Assistant), an MID (Mobile Internet Device), or other terminal Device.
Referring to fig. 1, an embodiment of the present application provides an image generating method, which can be applied to the terminal, and the method includes:
s101: and acquiring a screen capture instruction.
The screen capture instruction is used for acquiring image information corresponding to the current interface of the terminal. The current interface is generally an interface currently displayed by the terminal, and may also be an active interface recognized by an operating system of the terminal.
The current interface corresponding to the screen capture instruction can be an interface at an operating system level or an interface at an application program level. In the application, the image information corresponding to the current interface of the terminal may be an image obtained by directly screenshot the current interface, or may also be information of an image corresponding to the current interface obtained in other manners, where the information includes related information of the image of the current interface.
The manner of acquiring the screen capture instruction is not limited. In the application, the screen capture instruction can be generated by a user operating the terminal, and can also be automatically generated by a program set in the terminal, so that the terminal can obtain the screen capture instruction. Specifically, for example, in a common setting when a user operates a terminal, if the user presses a volume reduction key of the terminal and a power-off key of the terminal at the same time, the terminal may obtain a screen capture instruction, or the terminal automatically generates and executes the screen capture instruction at a preset time and in each preset time period.
S102: if the current interface corresponding to the screen capturing instruction is an interface of an operating system level, responding to the screen capturing instruction, and acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information; and respectively displaying the first interface image and the thumbnail corresponding to the system identification image for user selection.
If the terminal acquires the screen capture instruction, the terminal executes different subsequent functions based on different conditions of the current interface corresponding to the screen capture instruction. In the application, the method is divided into two cases that the current interface of the terminal is an interface of an operating system level and the current interface of the terminal is an interface of an application program level.
The method includes the steps of obtaining a first interface image of a current interface, namely obtaining an image displayed by the current interface, wherein the image is the first interface image, namely, capturing the first interface image of the current interface according to a screen capture instruction, for example, the image of the content A displayed by the current interface, and capturing a screen of the current interface to obtain the first interface image, and the content A is displayed by the first interface image.
The terminal-related identification feature information may include at least one of current time, a terminal model, a terminal system model, and user-defined information. The content included in the user-defined information is not limited, and the user-defined information may include a name of the user, and characters, pictures and the like which the user wants to attach. The system identification image containing the terminal related identification feature information can directly display the terminal related identification feature information, the system identification image can also be an electronic identification code, the electronic equipment code comprises the terminal related identification feature information, and the electronic identification code can be an image of a one-dimensional code, a two-dimensional code, a bar code and the like which are scanned to obtain the terminal related identification feature information.
The system identification image including the terminal-related identification feature information may be acquired from an operating system of the terminal, and the system identification image may be generated according to the terminal-related identification feature information provided by the operating system. The terminal-related identification feature information may be preset by the operating system or a user of the terminal.
Referring to fig. 2, if the first interface image and the system identification image are acquired, thumbnails corresponding to the first interface image and the system identification image are displayed for user selection, that is, a thumbnail 201 corresponding to the first interface image and a thumbnail 202 corresponding to the system identification image are displayed. The user may select the first interface image to be saved or combine the first interface image and the system identification image into one image. It is understood that thumbnails, typically reduced pictures.
S103: if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, and acquiring a second interface image of the current interface and an application program identification image comprising program-related identification feature information of the application program corresponding to the application program level interface; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection.
The second interface image may be acquired in the same manner as the first interface image. The acquiring of the application identification image including the program-related identification feature information of the application may be acquiring the program-related identification feature information of the application from the application itself, and generating the application identification image based on the program-related identification feature information provided by the application itself. The program-related identification feature information may include opening information of an interface displayed by the application program, the opening information is used for enabling a terminal and other devices to open the interface displayed by the application according to the opening information, and the program-related identification feature information further includes at least one of current time, a model of the terminal, a system model of the terminal, and user-defined information, that is, the program-related identification feature information may further include terminal-related identification feature information. Specifically, the opening information of the interface displayed by the application program may specifically be, for example, a password pan or a link for opening the interface of the application program. If the application program displays the information of the commodity E when the screenshot instruction is obtained, the opening information of the interface displayed by the application program may be a pan password or a link for opening the commodity E in the application program.
Referring to fig. 3, optionally, the acquiring a second interface image of the current interface and an application identification image including program-related identification feature information of an application corresponding to the interface of the application hierarchy includes:
s301: and intercepting a second interface image of the current interface according to the screen interception instruction, and generating a request instruction according to the screen interception instruction.
And if the current interface is an application program level interface, responding to the screen capture instruction, capturing a second interface image of the current interface according to the screen capture instruction, and generating a request instruction according to the screen capture instruction.
And when a second interface image of the current interface is intercepted, if the current interface displays an image of the content B, the current interface is subjected to screenshot to obtain the second interface image, and the second interface image displays the content B.
The request instruction is for acquiring program-related identification feature information of the application program from the application program.
S302: and acquiring program-related identification feature information from the application program according to the request instruction.
The program-related identification feature information may be stored locally in the terminal for the application program, or may be stored in a server corresponding to the application program, and the terminal may send a request to the server corresponding to the application program according to the request instruction, so that the server returns the program-related identification feature information of the corresponding application program. When the screen capture instruction is acquired, if the current interface is an application program level interface, generating a request instruction, and acquiring program related identification characteristic information from the application program according to the request instruction.
S303: and generating an application program identification image according to the program-related identification feature information.
After the terminal acquires the program-related identification feature information, an application program identification image can be generated according to the program-related identification feature information.
The application program identification image contains program-related identification feature information, the application program identification image can directly display the program-related identification feature information, the application program identification image can also be an electronic identification code, the electronic equipment code comprises the program-related identification feature information, and the electronic identification code can be an image of a one-dimensional code, a two-dimensional code, a bar code and the like which are scanned to obtain the program-related identification feature information.
As an embodiment, acquiring program-related identification feature information from the application program according to the request instruction includes:
and acquiring program-related identification feature information and a preset application display image from the application program according to the request instruction, wherein the preset application display image is used for representing the information of the commodity displayed on the current interface of the application program.
When the program-related identification feature information of the program is acquired from the application program, a preset application display image of the application program is also acquired from the application program. The preset application display image is an image corresponding to an application program interface which the application program wants to display, and the preset application display image can be the same as or different from a second interface image of the application program when the screen capture instruction is acquired.
In this embodiment, the preset application display image is different from the second interface image of the application program when the screen capture instruction is acquired. If the second interface image of the application program is the image D when the screen capture instruction is obtained, the preset application display image is the image E, and the images of the image E and the image D are different but may be related to each other, specifically, if the image D is the screen capture of the application program display commodity F, the image E may be a preset exquisite display image of the commodity F, and the image E represents the information of the commodity F displayed on the current interface of the application program. As an embodiment, the preset application presentation image may include program-related identification feature information of the application program.
Referring to fig. 4, respectively displaying thumbnails corresponding to the second interface image and the application identification image may include:
and respectively displaying the second interface image, the application program identification image and the thumbnail corresponding to the preset application display image for user selection.
Meanwhile, a thumbnail 401 corresponding to the second interface image, a thumbnail 402 corresponding to the application identification image, and a thumbnail 403 corresponding to the preset application display image are displayed, and the user can select the second interface image or the preset application display image to store, or combine the second interface image and the application identification image into one image, or combine the application identification image and the preset application display image into one image. It is understood that the user may perform other operations, which is not limited in this application.
The image generation method provided by the embodiment of the application comprises the steps of obtaining a screen capturing instruction, responding to the screen capturing instruction if a current interface corresponding to the screen capturing instruction is an interface of an operating system level, obtaining a first interface image of the current interface and a system identification image containing terminal related identification feature information, and respectively displaying the first interface image and a thumbnail corresponding to the system identification image for user selection; if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, acquiring a second interface image of the current interface and an application program identification image comprising program related identification feature information of an application program corresponding to the application program level interface, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection, so that the screen capturing function is further expanded, the application program identification image can be used for opening the application program interface when the screen capturing instruction is acquired, and a sharing way of the application program interface related information is increased.
As an embodiment, if the current interface corresponding to the screen capture instruction is an operating system level interface, the image generation method further includes:
and if a first selection instruction corresponding to the thumbnail corresponding to the system identification image is received, synthesizing the first interface image and the system identification image into a first synthesized image, and displaying the first synthesized image.
The first selection instruction may be generated by a user operating the terminal. For example, specifically, when the first interface image and the thumbnail corresponding to the system identification image are respectively displayed, the user may click the thumbnail corresponding to the system identification image, and the terminal may receive the first selection instruction corresponding to the thumbnail corresponding to the system identification image. It can be understood that when the user clicks the thumbnail corresponding to the first interface image, the first interface image may be displayed in an enlarged manner, so that the user operates the first interface image.
When the first interface image and the system identification image are synthesized into the first synthesized image, the system identification image may be synthesized into the first interface image, and the specific position of the system identification image in the first interface image is not limited. After the first composite image is synthesized, the first composite image can be stored in an album of the terminal, so that the user can conveniently consult the first composite image. And displaying the first composite image, and enabling a user to edit, share and the like the first composite image.
Referring to fig. 5, as an embodiment, if the current interface corresponding to the screen capture instruction is an application-level interface, the image generation method further includes:
s501: and if a second selection instruction aiming at the thumbnail of the application program identification image is received, responding to the second selection instruction, and respectively displaying information corresponding to the second interface image and the preset application display image for the user to select.
The second selection instruction may be generated by a user manipulating the terminal. For example, specifically, when the terminal respectively displays the second interface image, the application identification image, and the thumbnail corresponding to the preset application display image, the user may click the thumbnail corresponding to the application identification image, and the terminal may obtain the second selection instruction.
The information corresponding to the second interface image and the preset application display image is respectively displayed, thumbnails corresponding to the second interface image and the preset application display image can be respectively displayed, and other identifiers corresponding to the second interface image and the preset application display image can also be respectively displayed, so that the user can select the second interface image or the preset application display image.
S502: and if a third selection instruction aiming at the information corresponding to the second interface image or the information corresponding to the preset application display image is received, synthesizing the application program identification image and the second interface image or the preset application display image corresponding to the third instruction into a second synthesized image, and displaying the second synthesized image.
The third selection instruction may be generated by a user manipulating the terminal. For example, specifically, when the terminal respectively displays the second interface image and the information corresponding to the preset application display image, the user may click the information corresponding to the second interface image or the information corresponding to the preset application display image, and the terminal may obtain the third selection instruction. And if the terminal acquires the third selection instruction, synthesizing the application program identification image and a second interface image or a preset application display image corresponding to the third instruction into a second synthesized image. This embodiment will be described with reference to the case where the application identification image and the second interface image corresponding to the third instruction are synthesized into a second synthesized image.
When the second interface image and the application program identification image are synthesized into the first synthesized image, the application program identification image may be synthesized into the second interface image, and the specific position of the application program identification image in the second interface image is not limited. After the second composite image is synthesized, the second composite image can be stored in an album of the terminal, so that the user can conveniently consult the second composite image. And displaying the second composite image, and enabling the user to edit, share and the like the second composite image.
As an embodiment, before receiving a second selection instruction for a thumbnail of an application identification image, and in response to the second selection instruction, respectively displaying information corresponding to a second interface image and a preset application presentation image for a user to select, the method further includes:
if a fourth selection instruction for the thumbnail of the second interface image or the thumbnail of the preset application display image is received, the fourth selection instruction is displayed in an enlarged mode and corresponds to the second interface image or the preset application display image;
and displaying operation prompt information corresponding to the second interface image or the preset application display image which is displayed in an enlarged mode based on the fourth selection instruction.
The fourth selection instruction may be generated by a user manipulating the terminal. For example, specifically, when the terminal respectively displays the second interface image, the application program identification image, and the thumbnail corresponding to the preset application display image, if the user clicks the thumbnail of the second interface image or the thumbnail of the preset application display image, the terminal may obtain the fourth selection instruction.
And if the fourth selection instruction corresponds to the second interface image, displaying the second interface image in an enlarged mode, and if the fourth selection instruction corresponds to the preset application display image, displaying the preset application display image in an enlarged mode.
The operation prompt information may include an editing prompt information, a sharing prompt information, a saving prompt information, and the like corresponding to the enlarged and displayed image.
Referring to fig. 6, an embodiment of the present application provides an image generating apparatus 600, where the image generating apparatus 600 may include:
an obtaining module 601, configured to obtain a screen capture instruction;
a first display module 602, configured to, if a current interface corresponding to the screen capture instruction is an interface of an operating system hierarchy, respond to the screen capture instruction, and obtain a first interface image of the current interface and a system identification image including terminal-related identification feature information; respectively displaying the first interface image and the thumbnail corresponding to the system identification image for user selection;
a second display module 603, configured to, if the current interface corresponding to the screen capture instruction is an application-level interface, respond to the screen capture instruction to obtain a second interface image of the current interface and an application identification image including program-related identification feature information of an application corresponding to the application-level interface; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection.
The image generation device provided by the embodiment of the application acquires a screen capture instruction, responds to the screen capture instruction if a current interface corresponding to the screen capture instruction is an operating system level interface, acquires a first interface image of the current interface and a system identification image containing terminal related identification feature information, and respectively displays the first interface image and a thumbnail corresponding to the system identification image for user selection; if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, acquiring a second interface image of the current interface and an application program identification image comprising program related identification feature information of an application program corresponding to the application program level interface, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection, so that the screen capturing function is further expanded, the application program identification image can be used for opening the application program interface when the screen capturing instruction is acquired, and a sharing way of the application program interface related information is increased.
The image generation apparatus 600 may further include:
and the first synthesis module is used for synthesizing the first interface image and the system identification image into a first synthesis image and displaying the first synthesis image if a first selection instruction corresponding to the thumbnail corresponding to the system identification image is received.
The second display module 603 may include:
the intercepting unit is used for intercepting a second interface image of the current interface according to the screen capturing instruction and generating a request instruction according to the screen capturing instruction;
the acquisition unit is used for acquiring program-related identification feature information from the application program according to the request instruction;
and the generating unit is used for generating the application program identification image according to the program related identification characteristic information.
The obtaining unit is specifically configured to obtain program-related identification feature information and a preset application display image from the application program according to the request instruction, where the preset application display image is used to represent information of a commodity displayed on a current interface of the application program.
The second display module 603 is further configured to display a second interface image, an application program identification image, and a thumbnail corresponding to the preset application display image, respectively, for user selection.
The image generation apparatus 600 may further include:
the third display module is used for responding to a second selection instruction if the second selection instruction aiming at the thumbnail of the application program identification image is received, and respectively displaying information corresponding to a second interface image and a preset application display image for a user to select;
and the second synthesis module is used for synthesizing the application program identification image and the second interface image or the preset application display image corresponding to the third instruction into a second synthesis image and displaying the second synthesis image if a third selection instruction aiming at the information corresponding to the second interface image or the information corresponding to the preset application display image is received.
The image generation apparatus 600 may further include:
the amplification module is used for amplifying and displaying a second interface image or a preset application display image corresponding to a fourth selection instruction if the fourth selection instruction aiming at the thumbnail of the second interface image or the thumbnail of the preset application display image is received;
and the fourth display module is used for displaying and amplifying the operation prompt information corresponding to the second interface image or the preset application display image corresponding to the fourth selection instruction.
Referring to fig. 7, in an alternative embodiment, an electronic device is provided, where electronic device 7000 comprises: a processor 7001 and a memory 7003. Wherein the processor 7001 and the memory 7003 are coupled, such as via a bus 7002. Optionally, the electronic device 7000 may also comprise the transceiver 7004. It should be noted that the transceiver 7004 is not limited to one in practical applications, and the structure of the electronic device 7000 does not constitute a limitation to the embodiments of the present application.
The Processor 7001 may be a CPU (Central Processing Unit), a general purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 7001 may also be a combination implementing computing functionality, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
The Memory 7003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 7003 is used for storing application program codes for executing the present scheme, and the execution is controlled by the processor 7001. The processor 7001 is used to execute application program codes stored in the memory 7003 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: a terminal and a server.
An embodiment of the present application provides an electronic device, including: a memory and a processor; at least one program stored in the memory for execution by the processor to implement the corresponding aspects of the foregoing method embodiments, compared with the prior art, can implement: acquiring a screen capture instruction, if a current interface corresponding to the screen capture instruction is an operating system level interface, responding to the screen capture instruction, acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information, and respectively displaying the first interface image and a thumbnail corresponding to the system identification image for user selection; if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, acquiring a second interface image of the current interface and an application program identification image comprising program related identification feature information of an application program corresponding to the application program level interface, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection, so that the screen capturing function is further expanded, the application program identification image can be used for opening the application program interface when the screen capturing instruction is acquired, and a sharing way of the application program interface related information is increased.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, a screen capture instruction is obtained, if a current interface corresponding to the screen capture instruction is an interface of an operating system level, a first interface image of the current interface and a system identification image containing terminal related identification feature information are obtained in response to the screen capture instruction, and the first interface image and a thumbnail corresponding to the system identification image are respectively displayed for user selection; if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, acquiring a second interface image of the current interface and an application program identification image comprising program related identification feature information of an application program corresponding to the application program level interface, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection, so that the screen capturing function is further expanded, the application program identification image can be used for opening the application program interface when the screen capturing instruction is acquired, and a sharing way of the application program interface related information is increased.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. An image generation method, characterized in that the method comprises:
acquiring a screen capture instruction;
if the current interface corresponding to the screen capturing instruction is an interface of an operating system level, responding to the screen capturing instruction, and acquiring a first interface image of the current interface and a system identification image containing terminal related identification feature information; respectively displaying the first interface image and the thumbnail corresponding to the system identification image for user selection;
if the current interface corresponding to the screen capturing instruction is an application program level interface, responding to the screen capturing instruction, and acquiring a second interface image of the current interface and an application program identification image comprising program-related identification feature information of an application program corresponding to the application program level interface; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection.
2. The image generation method according to claim 1, wherein if the current interface corresponding to the screen capture instruction is an operating system-level interface, the method further comprises:
and if a first selection instruction corresponding to the thumbnail corresponding to the system identification image is received, synthesizing the first interface image and the system identification image into a first synthesized image, and displaying the first synthesized image.
3. The image generation method according to claim 1, wherein the acquiring the second interface image of the current interface and the application identification image including program-related identification feature information of the application corresponding to the interface of the application hierarchy includes:
intercepting a second interface image of the current interface according to the screen capturing instruction, and generating a request instruction according to the screen capturing instruction;
acquiring program-related identification feature information from the application program according to the request instruction;
and generating the application program identification image according to the program-related identification feature information.
4. The image generation method according to claim 3, wherein the acquiring program-related identification feature information from the application program according to the request instruction includes:
acquiring program-related identification feature information and a preset application display image from the application program according to the request instruction, wherein the preset application display image is used for representing information of a commodity displayed on a current interface of the application program;
the displaying the second interface image and the thumbnail corresponding to the application program identification image respectively includes:
and respectively displaying the second interface image, the application program identification image and the thumbnail corresponding to the preset application display image for user selection.
5. The image generation method according to claim 4, characterized in that the method further comprises:
if a second selection instruction for the thumbnail of the application program identification image is received, responding to the second selection instruction, and respectively displaying information corresponding to the second interface image and the preset application display image for a user to select;
and if a third selection instruction aiming at the information corresponding to the second interface image or the information corresponding to the preset application display image is received, synthesizing the application program identification image and the second interface image or the preset application display image corresponding to the third instruction into a second synthetic image, and displaying the second synthetic image.
6. The image generation method according to claim 5, wherein if a second selection instruction for the thumbnail of the application identification image is received, in response to the second selection instruction, the method further includes, before displaying information corresponding to the second interface image and the preset application presentation image respectively for a user to select, the method including:
if a fourth selection instruction for the thumbnail of the second interface image or the thumbnail of the preset application display image is received, amplifying and displaying the second interface image or the preset application display image corresponding to the fourth selection instruction;
and displaying operation prompt information corresponding to the second interface image or the preset application display image which is displayed in an enlarged mode based on the fourth selection instruction.
7. The image generation method according to claim 1, characterized in that:
the terminal-related identification feature information comprises at least one of current time, the model of the terminal, the system model of the terminal and user-defined information; the program-related identification feature information includes opening information of an interface displayed by the application program, the opening information is used for opening the interface displayed by the application according to the opening information, and the program-related identification feature information further includes at least one of current time, a model of the terminal, a system model of the terminal, and user-defined information.
8. An image generation apparatus, comprising:
the acquisition module is used for acquiring a screen capture instruction;
the first display module is used for responding to the screen capturing instruction to acquire a first interface image of the current interface and a system identification image containing terminal related identification feature information if the current interface corresponding to the screen capturing instruction is an operating system level interface; respectively displaying the first interface image and the thumbnail corresponding to the system identification image for user selection;
the second display module is used for responding to the screen capturing instruction to acquire a second interface image of the current interface and an application program identification image comprising program-related identification feature information of the application program corresponding to the interface of the application program hierarchy if the current interface corresponding to the screen capturing instruction is the interface of the application program hierarchy; and respectively displaying the second interface image and the thumbnail corresponding to the application program identification image for user selection.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing the image generation method of any of claims 1 to 7.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the image generation method of any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011460029.XA CN112463280B (en) | 2020-12-11 | 2020-12-11 | Image generation method, device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011460029.XA CN112463280B (en) | 2020-12-11 | 2020-12-11 | Image generation method, device, electronic equipment and computer readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112463280A true CN112463280A (en) | 2021-03-09 |
| CN112463280B CN112463280B (en) | 2024-01-05 |
Family
ID=74803436
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011460029.XA Active CN112463280B (en) | 2020-12-11 | 2020-12-11 | Image generation method, device, electronic equipment and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112463280B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101071438A (en) * | 2007-03-26 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Capture server, distribution server, method and system for generating webpage capture |
| US8199965B1 (en) * | 2007-08-17 | 2012-06-12 | Mcafee, Inc. | System, method, and computer program product for preventing image-related data loss |
| CN106445479A (en) * | 2015-08-12 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Information pushing method and apparatus |
| CN106681623A (en) * | 2016-10-26 | 2017-05-17 | 维沃移动通信有限公司 | Screenshot picture sharing method and mobile terminal |
| CN108647065A (en) * | 2018-03-22 | 2018-10-12 | 阿里巴巴集团控股有限公司 | An information display method, device and equipment |
| CN111212250A (en) * | 2017-12-20 | 2020-05-29 | 海信视像科技股份有限公司 | Graphical user interface display method of smart TV and TV screen screenshots |
-
2020
- 2020-12-11 CN CN202011460029.XA patent/CN112463280B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101071438A (en) * | 2007-03-26 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Capture server, distribution server, method and system for generating webpage capture |
| US8199965B1 (en) * | 2007-08-17 | 2012-06-12 | Mcafee, Inc. | System, method, and computer program product for preventing image-related data loss |
| CN106445479A (en) * | 2015-08-12 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Information pushing method and apparatus |
| CN106681623A (en) * | 2016-10-26 | 2017-05-17 | 维沃移动通信有限公司 | Screenshot picture sharing method and mobile terminal |
| CN111212250A (en) * | 2017-12-20 | 2020-05-29 | 海信视像科技股份有限公司 | Graphical user interface display method of smart TV and TV screen screenshots |
| CN108647065A (en) * | 2018-03-22 | 2018-10-12 | 阿里巴巴集团控股有限公司 | An information display method, device and equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112463280B (en) | 2024-01-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10825130B2 (en) | Method and apparatus for displaying picture content in application, and storage medium | |
| CN112306607B (en) | Screenshot method and device, electronic device and readable storage medium | |
| US20110090248A1 (en) | Electronic device and method for image editing | |
| EP3822757B1 (en) | Method for setting background of ui control | |
| US11190653B2 (en) | Techniques for capturing an image within the context of a document | |
| EP2874054B1 (en) | Application text adjusting method, device, and terminal | |
| CN110111241B (en) | Method and apparatus for generating dynamic image | |
| CN112202958B (en) | Screenshot method, device and electronic device | |
| CN112035656A (en) | Method, device, computer equipment and medium for quickly previewing document | |
| CN112383708B (en) | Shooting method and device, electronic equipment and readable storage medium | |
| CN112463280B (en) | Image generation method, device, electronic equipment and computer readable storage medium | |
| US20200334785A1 (en) | Methods and devices of picture processing and user interface display | |
| CN118467464A (en) | Image processing method, image processing device and electronic equipment | |
| CN112825021B (en) | System response method and device, electronic device, computer-readable storage medium | |
| CN113794943A (en) | Video cover setting method and device, electronic equipment and storage medium | |
| CN112445990B (en) | Picture processing method, device, terminal and storage medium | |
| CN114125556B (en) | Video data processing method, terminal and storage medium | |
| CN115766968B (en) | Image processing system and method thereof | |
| US20250330698A1 (en) | Image capturing | |
| CN113254141B (en) | Image generation method, device, electronic device and storage medium | |
| CN113609083B (en) | File storage method, device, electronic equipment and computer readable storage medium | |
| CN112837211B (en) | Picture processing method and device, electronic equipment and readable storage medium | |
| CN116503535A (en) | Image rendering method, device, electronic equipment and storage medium | |
| WO2025050895A1 (en) | Image motion estimation method and related apparatus | |
| CN117251081A (en) | Detection method, device, computer equipment and storage medium for picking up objects |
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 |