CN112463280B - Image generation method, device, electronic equipment and computer readable storage medium - Google Patents

Image generation method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112463280B
CN112463280B CN202011460029.XA CN202011460029A CN112463280B CN 112463280 B CN112463280 B CN 112463280B CN 202011460029 A CN202011460029 A CN 202011460029A CN 112463280 B CN112463280 B CN 112463280B
Authority
CN
China
Prior art keywords
image
interface
application program
identification
instruction
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.)
Active
Application number
CN202011460029.XA
Other languages
Chinese (zh)
Other versions
CN112463280A (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.)
Yuanxin Technology
Original Assignee
Yuanxin Technology
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 Yuanxin Technology filed Critical Yuanxin Technology
Priority to CN202011460029.XA priority Critical patent/CN112463280B/en
Publication of CN112463280A publication Critical patent/CN112463280A/en
Application granted granted Critical
Publication of CN112463280B publication Critical patent/CN112463280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The embodiment of the application provides an image generation method, an image generation device, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring a screen capturing 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 characteristic information; displaying the first interface image and the thumbnail corresponding to the system identification image respectively for user selection; if the current interface corresponding to the screen capturing instruction is an interface of the application program level, 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 characteristic information of an application program corresponding to the interface of the application program level; and displaying the second interface image and the thumbnail corresponding to the application identification image respectively for user selection. According to the embodiment of the application, the screen capturing function is expanded, and the sharing way of the related information of the application program interface is increased.

Description

Image generation method, device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an image generating method, an image generating device, an electronic device, and a computer readable storage medium.
Background
The screen capturing operation is a common operation in a terminal or the like. If the user sees a proper display interface, the display interface includes content required by the user, the user performs a screen capturing operation to retain the corresponding screen capturing, and the user sometimes shares the screen capturing.
The existing screenshot scheme only stores the display interface, and the screenshot function is simpler. When users share pictures, users sometimes wish to share more contents, but the existing screenshot scheme cannot realize corresponding functions.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks, and specifically proposes the following technical solutions:
in a first aspect, there is provided a method of image generation, the method comprising:
acquiring a screen capturing 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 characteristic information; displaying the first interface image and the thumbnail corresponding to the system identification image respectively for user selection;
if the current interface corresponding to the screen capturing instruction is an interface of an application program level, 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 characteristic information of an application program corresponding to the interface of the application program level; and displaying the second interface image and the thumbnail corresponding to the application identification image respectively 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 the screen capturing 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 characteristic information if the current interface corresponding to the screen capturing instruction is an interface of an operating system level; displaying the first interface image and the thumbnail corresponding to the system identification image respectively 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 characteristic information of an application program corresponding to the interface of the application program level if the current interface corresponding to the screen capturing instruction is the interface of the application program level; and displaying the second interface image and the thumbnail corresponding to the application identification image respectively for user selection.
In a third aspect, an electronic device is provided, the 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 applications configured to: the image generation method according to the first aspect of the present application is performed.
In a fourth aspect, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the image generation method of the first aspect of the present application.
The beneficial effects that this application provided technical scheme brought are: acquiring a screen capturing instruction, if a current interface corresponding to the screen capturing instruction 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 characteristic information, and 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 capturing instruction is an interface of an application program level, 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 interface of the application program level, 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 the 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 that are required to be used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flow chart of an image generating method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a terminal displaying 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 of displaying, by the terminal according to the embodiment of the present application, a thumbnail corresponding to the second interface image, a thumbnail corresponding to the application identification image, and a thumbnail corresponding to the preset application display image.
Fig. 5 is a schematic flowchart of an image generating method according to an 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
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of illustrating the present application and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. 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. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The image generation method, device, electronic equipment and computer readable storage medium provided by the application aim to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail 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, a terminal acquires a screen capturing 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 characteristic information, and 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 capturing instruction is an interface of an application program level, 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 interface of the application program level, and respectively displaying the second interface image and a thumbnail corresponding to the application program identification image for user selection.
As will be appreciated by those skilled in the art, a "terminal" as used herein may be a cell phone, tablet, PDA (Personal Digital Assistant ), MID (Mobile Internet Device, mobile internet device), or other terminal device.
Referring to fig. 1, an embodiment of the present application provides an image generating method, where the image generating method may be applied to the foregoing terminal, and the method includes:
s101: and acquiring a screen capturing instruction.
The screen capturing instruction is used for acquiring image information corresponding to the current interface of the terminal. The current interface is generally the interface currently displayed by the terminal, and may be an active interface identified by the operating system of the terminal.
The current interface to which the screen capture instruction corresponds may be an operating system level interface or an application level interface. In the application, the image information corresponding to the current interface of the terminal may be an image obtained by directly capturing a screen of the current interface, or may 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 capturing instruction is not limited. In the application, the screen capturing instruction can be generated by a user operating the terminal or can be automatically generated by a program set in the terminal, so that the terminal can acquire the screen capturing instruction. Specifically, for example, when the user operates the terminal, if the user presses the down-volume key of the terminal and the power-off key of the terminal at the same time, the terminal may obtain the screen capturing instruction, or the terminal automatically generates and executes the screen capturing instruction at a preset time and every 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 characteristic information; and displaying the first interface image and the thumbnail corresponding to the system identification image respectively for user selection.
If the terminal acquires the screen capturing instruction, the terminal executes different follow-up functions based on different conditions of the current interface corresponding to the screen capturing instruction. In the present application, the current interface of the terminal is divided into two cases of an interface of an operating system level and an interface of an application program level.
The method comprises 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 intercepting the first interface image of the current interface according to a screen capturing instruction, namely capturing a screen of the current interface, so as to obtain the first interface image, wherein the first interface image displays the content A.
The terminal related identification characteristic information can comprise at least one of current time, a model of the terminal, a system model of the terminal 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, text, pictures, etc. that the user wants to attach. The system identification image containing the terminal related identification characteristic information can directly display the terminal related identification characteristic information, the system identification image can also be an electronic identification code, the electronic equipment code comprises the terminal related identification characteristic information, and the electronic identification code can be an image of one-dimensional code, two-dimensional code, bar code and the like which can obtain the terminal related identification characteristic information through scanning.
The acquiring of the system identification image containing the terminal-related identification feature information may be acquiring the terminal-related identification feature information from an operating system of the terminal, and generating the system identification image according to the terminal-related identification feature information provided by the operating system. The terminal-related identification characteristic information may be preset by the user of the operating system or the terminal.
Referring to fig. 2, if the first interface image and the system identification image are obtained, thumbnail images corresponding to the first interface image and the system identification image are displayed for user selection, that is, thumbnail image 201 corresponding to the first interface image and thumbnail image corresponding to the system identification image are displayed. The user may select the first interface image to save or combine the first interface image and the system identification image into one image. It will be appreciated that thumbnails are typically scaled down pictures.
S103: if the current interface corresponding to the screen capturing instruction is an interface of an application program level, 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 characteristic information of an application program corresponding to the interface of the application program level; and displaying the second interface image and the thumbnail corresponding to the application identification image respectively for user selection.
The manner of acquiring the second interface image may be the same as the manner of acquiring the first interface image. The acquiring of the application program identification image including the program-related identification feature information of the application program may be acquiring the program-related identification feature information of the application program from the application program itself, and generating the application program identification image based on the program-related identification feature information provided by the application program itself. The program related identification feature information may include opening information of an interface displayed by the application program, where the opening information is used to enable devices such as a terminal 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. The opening information of the interface displayed by the application program may be, for example, a password or a link to open the interface of the application program. If the application program displays the information of the commodity E when the screenshot instruction is acquired, the opening information of the interface displayed by the application program can be an panning password or a link for opening the commodity E in the application program.
Referring to fig. 3, optionally, acquiring a second interface image of the current interface and an application program identification image including program related identification feature information of an application program corresponding to the interface of the application program hierarchy includes:
s301: and 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.
If the current interface is the interface of the application program level, responding to the screen capturing instruction, capturing 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.
When a second interface image of the current interface is intercepted, if the current interface displays the image of the B content, screenshot is carried out on the current interface to obtain the second interface image, and the second interface image displays the B content.
The request instruction is used for acquiring program related identification characteristic information of the application program from the application program.
S302: and acquiring program related identification characteristic information from the application program according to the request instruction.
The program related identification feature information may be that the application program is stored locally in the terminal, or the program related identification feature information 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 capturing instruction is acquired, if the current interface is an interface of an application program level, after a request instruction is generated, acquiring relevant identification characteristic information of the program from the application program according to the request instruction.
S303: and generating an application program identification image according to the program related identification characteristic 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 comprises program related identification characteristic information, the application program identification image can directly display the program related identification characteristic information, the application program identification image can also be an electronic identification code, the electronic equipment code comprises the program related identification characteristic information, and the electronic identification code can be an image of one-dimensional code, two-dimensional code, bar code and the like which can obtain the program related identification characteristic information through scanning.
In one embodiment, the acquiring program related identification feature information from the application program according to the request instruction includes:
and acquiring program related identification characteristic 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 commodities displayed on a current interface of the application program.
And when the program related identification characteristic information of the program is acquired from the application program, acquiring a preset application display image of the application program 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 capturing instruction is acquired.
In this embodiment, the preset application display image and the second interface image of the application program when the screen capturing instruction is acquired are different. If the second interface image of the application program is the image D when the screen capturing 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, specifically, if the image D is a screenshot of the application program displaying the commodity F, the image E may be a preset exquisite display view of the commodity F, and the image E characterizes information of the commodity F displayed on the current interface of the application program. As one embodiment, the preset application presentation image may include program related identification feature information of the application program.
Referring to fig. 4, displaying the thumbnail corresponding to the second interface image and the application identification image respectively 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.
Simultaneously, a thumbnail 401 corresponding to the second interface image, a thumbnail corresponding to the application program identification image and a thumbnail 403 corresponding to the preset application display image are displayed, and a user can select the second interface image or the preset application display image to save, or combine the second interface image and the application program identification image into one image, or combine the application program identification image and the preset application display image into one image. It will be appreciated that other operations may be performed by the user, and are not limited in this application.
According to the image generation method provided by the embodiment of the application, a screen capturing instruction is obtained, if a current interface corresponding to the screen capturing 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 characteristic information are obtained in response to the screen capturing 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 interface of an application program level, 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 interface of the application program level, 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 the sharing way of the application program interface related information is increased.
As an embodiment, if the current interface corresponding to the screen capturing instruction is an interface of an operating system level, the image generating 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 terminal. For example, specifically, when the thumbnail corresponding to the system identification image and the first interface image are displayed respectively, the user may click on 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 is understood that when the user clicks the thumbnail corresponding to the first interface image, the first interface image may be enlarged and displayed, so that the user operates the first interface image.
When the first interface image and the system identification image are synthesized into a first synthesized image, the system identification image can 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 synthesized image is synthesized, the first synthesized image can be stored in an album of the terminal, so that the user can conveniently review the first synthesized image. And displaying the first composite image, and editing, sharing and other operations can be performed on the first composite image by a user.
Referring to fig. 5, as an embodiment, if the current interface corresponding to the screen capturing instruction is an interface of an application program layer, the image generating method further includes:
s501: and if a second selection instruction aiming at the thumbnail of the application program identification image is received, respectively displaying information corresponding to the second interface image and the preset application display image for selection by a user in response to the second selection instruction.
The second selection instruction may be generated by the user manipulation terminal. For example, specifically, when the terminal displays the second interface image, the application program identification image and the thumbnail corresponding to the preset application display image respectively, the user may click on the thumbnail corresponding to the application program 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 displayed respectively, which may be thumbnail images corresponding to the second interface image and the preset application display image are displayed respectively, or other identifiers corresponding to the second interface image and the preset application display image are displayed respectively, so that the user selects 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 second interface image or the preset application display image corresponding to the application identification image and the third instruction into a second synthesized image, and displaying the second synthesized image.
The third selection instruction may be generated by the user manipulation terminal. For example, specifically, when the terminal displays the information corresponding to the second interface image and the preset application display image respectively, the user may click on 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. The present embodiment describes the combination of the application identification image and the second interface image corresponding to the third instruction into the second combined image.
When the second interface image and the application program identification image are synthesized into the first synthesized image, the application program identification image can 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 synthesized image is synthesized, the second synthesized image can be stored in an album of the terminal, so that the user can conveniently review the second synthesized image. And displaying the second composite image, and editing, sharing and other operations can be performed on the second composite image by a user.
As an embodiment, if a second selection instruction for identifying a thumbnail of an image by an application program is received, in response to the second selection instruction, information corresponding to a second interface image and a preset application display image is displayed respectively, so that before the user selects, the method further includes:
if a fourth selection instruction aiming at 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 the operation prompt information corresponding to the second interface image or the preset application display image which is enlarged and displayed based on the fourth selection instruction.
The fourth selection instruction may be generated by the user manipulation terminal. For example, specifically, when the terminal displays the second interface image, the application program identification image and the thumbnail corresponding to the preset application display image respectively, 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, amplifying and displaying the second interface image, and if the fourth selection instruction corresponds to the preset application display image, amplifying and displaying the preset application display image.
The operation prompt information can comprise editing prompt information corresponding to the amplified and displayed image, sharing prompt information, saving prompt information and the like.
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 capturing instruction;
the first display module 602 is configured to, if the current interface corresponding to the screen capturing instruction is an operating system level interface, obtain, in response to the screen capturing instruction, a first interface image of the current interface and a system identification image including terminal-related identification feature information; displaying the first interface image and the thumbnail corresponding to the system identification image respectively for user selection;
a second display module 603, configured to, if the current interface corresponding to the screen capturing instruction is an interface of an application program hierarchy, obtain, in response to the screen capturing instruction, a second interface image of the current interface and an application program identification image including program related identification feature information of an application program corresponding to the interface of the application program hierarchy; and displaying the second interface image and the thumbnail corresponding to the application identification image respectively for user selection.
The image generating device provided by the embodiment of the application acquires a screen capturing instruction, if a current interface corresponding to the screen capturing instruction is an interface of an operating system level, responds to the screen capturing instruction, acquires a first interface image of the current interface and a system identification image containing terminal related identification characteristic information, and displays the first interface image and a thumbnail corresponding to the system identification image respectively for user selection; if the current interface corresponding to the screen capturing instruction is an interface of an application program level, 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 interface of the application program level, 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 the sharing way of the application program interface related information is increased.
The image generating apparatus 600 may further include:
and the first synthesizing module is used for synthesizing the first interface image and the system identification image into a first synthesized image and displaying the first synthesized 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 characteristic information from the application program according to the request instruction;
and the generating unit is used for generating an application program identification image according to the program related identification characteristic information.
The acquiring unit is specifically configured to acquire 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 for representing 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 identification image, and a thumbnail corresponding to a preset application display image, for user selection.
The image generating apparatus 600 may further include:
the third display module is used for respectively displaying information corresponding to the second interface image and the preset application display image for the user to select if a second selection instruction for the thumbnail of the application identification image is received;
and the second synthesizing module is used for synthesizing the second interface image or the preset application display image corresponding to the application program identification image and the third instruction into a second synthesized image and displaying the second synthesized 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 generating apparatus 600 may further include:
the amplifying module is used for amplifying and displaying a fourth selection instruction corresponding to the second interface image or the preset application display image 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;
the fourth display module is used for displaying and amplifying 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, the electronic device 7000 comprising: a processor 7001 and a memory 7003. The processor 7001 is connected to a memory 7003, for example, via a bus 7002. Optionally, the electronic device 7000 may also include a transceiver 7004. It should be noted that, in practical applications, the transceiver 7004 is not limited to one, and the structure of the electronic device 7000 is not limited to the embodiment of the present application.
The processor 7001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 7001 may also be a combination implementing a computing function, e.g. comprising one or more microprocessors, a combination of a DSP and a microprocessor, etc.
Bus 7002 may include a path to transfer information between the aforementioned components. Bus 7002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 7002 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The Memory 7003 may be, but is not limited to, 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, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, 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.
The memory 7003 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 7001. The processor 7001 is used to execute application program codes stored in the memory 7003 to realize what is shown in the foregoing method embodiment.
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 realizing the corresponding contents of the foregoing method embodiments when executed by the processor, wherein compared with the prior art, the method can realize: acquiring a screen capturing instruction, if a current interface corresponding to the screen capturing instruction 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 characteristic information, and 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 capturing instruction is an interface of an application program level, 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 interface of the application program level, 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 the sharing way of the application program interface related information is increased.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. Compared with the prior art, acquiring a screen capturing instruction, if a current interface corresponding to the screen capturing instruction 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 characteristic information, and 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 capturing instruction is an interface of an application program level, 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 interface of the application program level, 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 the 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, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations should and are intended to be comprehended within the scope of the present invention.

Claims (8)

1. An image generation method, the method comprising:
acquiring a screen capturing 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 characteristic information; displaying the first interface image and the thumbnail corresponding to the system identification image respectively for user selection;
if the current interface corresponding to the screen capturing instruction is an interface of an application program level, 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 characteristic information of an application program corresponding to the interface of the application program level; displaying the second interface image and the thumbnail corresponding to the application identification image respectively for user selection;
the obtaining the second interface image of the current interface and the application program identification image including the program related identification feature information of the application program corresponding to the interface of the application program 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 characteristic information from the application program according to the request instruction;
generating the application program identification image according to the program related identification characteristic information;
the acquiring program related identification characteristic information from the application program according to the request instruction comprises the following steps:
acquiring program related identification characteristic 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 commodities displayed on a current interface of the application program;
the displaying the thumbnail corresponding to the second interface image and the application 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.
2. The image generation method according to claim 1, wherein if the current interface corresponding to the screen capturing 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, characterized in that the method further comprises:
if a second selection instruction aiming at the thumbnail of the application program identification image is received, respectively displaying information corresponding to the second interface image and the preset application display image for selection by a user in response to the second selection instruction;
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 selection instruction into a second synthesized image, and displaying the second synthesized image.
4. The image generating method according to claim 3, wherein if a second selection instruction for the thumbnail of the application program identification image is received, the second interface image and the information corresponding to the preset application display image are respectively displayed in response to the second selection instruction, so that before the user selects, the method further comprises:
if a fourth selection instruction aiming at 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 the operation prompt information corresponding to the second interface image or the preset application display image which is amplified and displayed based on the fourth selection instruction.
5. The image generation method according to claim 1, characterized in that:
the terminal related identification characteristic information comprises at least one of current time, a model of the terminal, a system model of the terminal and user-defined information; the program related identification characteristic information comprises 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 characteristic information also comprises at least one of current time, the model of the terminal, the system model of the terminal and user-defined information.
6. An image generating apparatus, comprising:
the acquisition module is used for acquiring the screen capturing 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 characteristic information if the current interface corresponding to the screen capturing instruction is an interface of an operating system level; displaying the first interface image and the thumbnail corresponding to the system identification image respectively 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 characteristic information of an application program corresponding to the interface of the application program level if the current interface corresponding to the screen capturing instruction is the interface of the application program level; displaying the second interface image and the thumbnail corresponding to the application identification image respectively for user selection;
the second display module is specifically configured to:
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 characteristic information from the application program according to the request instruction;
generating the application program identification image according to the program related identification characteristic information;
the second display module is specifically configured to:
acquiring program related identification characteristic 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 commodities displayed on a current interface of the application program;
the second display module is specifically configured to:
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.
7. 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 applications configured to: the image generation method according to any one of claims 1 to 5 is performed.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the image generation method of any one of claims 1 to 5.
CN202011460029.XA 2020-12-11 2020-12-11 Image generation method, device, electronic equipment and computer readable storage medium Active CN112463280B (en)

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 CN112463280A (en) 2021-03-09
CN112463280B true 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)

* Cited by examiner, † Cited by third party
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 阿里巴巴集团控股有限公司 A kind of information displaying method, device and equipment
CN111212250A (en) * 2017-12-20 2020-05-29 海信视像科技股份有限公司 Smart television and display method of graphical user interface of television picture screenshot

Patent Citations (6)

* Cited by examiner, † Cited by third party
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 海信视像科技股份有限公司 Smart television and display method of graphical user interface of television picture screenshot
CN108647065A (en) * 2018-03-22 2018-10-12 阿里巴巴集团控股有限公司 A kind of information displaying method, device and equipment

Also Published As

Publication number Publication date
CN112463280A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
US8570347B2 (en) Electronic device and method for image editing
US9122377B2 (en) Method and system for interworking plurality of applications
US9570050B2 (en) System and method for enhanced screen copy
CN105320509B (en) Picture processing method and picture processing device
US7006111B1 (en) Digital image stitching
WO2019047508A1 (en) Method for processing e-book comment information, electronic device and storage medium
CN107728892B (en) Picture display method, device, terminal and storage medium
CN114387376A (en) Rendering method and device of three-dimensional scene, electronic equipment and readable storage medium
US20140181709A1 (en) Apparatus and method for using interaction history to manipulate content
CN112463280B (en) Image generation method, device, electronic equipment and computer readable storage medium
CN111638839A (en) Screen capturing method and device and electronic equipment
CN111309411B (en) Schedule display method and device
CN114387402A (en) Virtual reality scene display method and device, electronic equipment and readable storage medium
CN114564921A (en) Document editing method and device
CN107749892B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN113296661A (en) Image processing method and device, electronic equipment and readable storage medium
CN112035656A (en) Method, device, computer equipment and medium for quickly previewing document
CN112383708A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN111083552A (en) Thumbnail generation method, device, equipment and medium
CN113254141B (en) Image generation method, image generation device, electronic equipment and storage medium
CN112837211B (en) Picture processing method and device, electronic equipment and readable storage medium
CN111191418B (en) Online document processing method and device, electronic equipment and computer storage medium
CN111752424B (en) Chart saving method and device, electronic equipment and storage medium
US20220066601A1 (en) Method and apparatus for displaying task pictures
US10146417B2 (en) Crowd-sourced settings and tools for document interaction

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