CN117648144A - Image processing method, device, electronic equipment and readable storage medium - Google Patents

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

Info

Publication number
CN117648144A
CN117648144A CN202311282440.6A CN202311282440A CN117648144A CN 117648144 A CN117648144 A CN 117648144A CN 202311282440 A CN202311282440 A CN 202311282440A CN 117648144 A CN117648144 A CN 117648144A
Authority
CN
China
Prior art keywords
area
image
screen
information
interface
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.)
Pending
Application number
CN202311282440.6A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311282440.6A priority Critical patent/CN117648144A/en
Publication of CN117648144A publication Critical patent/CN117648144A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses an image processing method, an image processing device, electronic equipment and a readable storage medium, which belong to the technical field of computers, wherein the method comprises the following steps: receiving a first input at a screen to be captured interface; generating a first screen capture image in response to the first input; determining a first area in the interface to be screened; and under the condition that the information in the first area is updated, splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image.

Description

Image processing method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an image processing method, an image processing device, an electronic device, and a readable storage medium.
Background
In order to facilitate the user to save the image displayed on the terminal device, a screen capturing function has been developed. The user may trigger the screen capture function by way of physical keys, specific gestures, etc.
If the page to be screen-shot comprises a part for dynamically updating information, the user currently intercepts the information page, and when the local information at the back changes, screen-shot is needed again, so that screen-shot can be performed for a plurality of times before and after, and the operation is complex.
Disclosure of Invention
An object of the embodiments of the present application is to provide an image processing method, an image processing device, an electronic device, and a readable storage medium, which can solve the problem of complex operation caused by multiple screen shots required by a dynamically changing page.
In a first aspect, an embodiment of the present application provides an image processing method, including:
receiving a first input at a screen to be captured interface;
generating a first screen capture image in response to the first input;
determining a first area in the interface to be screened;
and under the condition that the information in the first area is updated, splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including:
the first receiving module is used for receiving a first input at the interface to be screened;
a first generation module for generating a first screen capture image in response to the first input;
the determining module is used for determining a first area in the interface to be screened;
and the second generation module is used for splicing the updated image of the first area with the first screen capturing image under the condition that the information in the first area is updated, and generating a second screen capturing image.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a first input is received at a screen to be shot interface; generating a first screen capture image in response to a first input; determining a first area in the interface to be screened; under the condition that the information in the first area is updated, the updated image of the first area is spliced with the first screen capturing image to generate a second screen capturing image, so that after the screen capturing, a user automatically splices the updated image of the first area with the first screen capturing image to generate a new screen capturing image under the condition that the information in the first area is updated through the determined first area with the dynamic change of the information, and the operation that the user needs to manually repeat the screen capturing is omitted by automatically detecting whether the information in the first area is updated or not.
Drawings
Fig. 1 is a flowchart of steps of an image processing method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a first interface provided by an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of another image processing method according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of a second interface provided by an embodiment of the present invention;
FIG. 5 is a schematic illustration of a third interface provided by an embodiment of the present invention;
FIG. 6 is a fourth interface schematic provided by an embodiment of the present invention;
FIG. 7 is a fifth interface schematic provided by an embodiment of the present invention;
FIG. 8 is a schematic illustration of a sixth interface provided by an embodiment of the present invention;
fig. 9 is a block diagram of an image processing apparatus according to an embodiment of the present invention;
FIG. 10 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The information interaction method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present application provides an image processing method, including:
step 101, at a screen to be captured interface, a first input is received.
Step 102, in response to the first input, generating a first screen capture image.
In the embodiment of the invention, the interface to be screen-shot can be a display interface of an application program such as shopping, chat, video entertainment and the like. The first input may be a screen capturing input triggered by a physical key, a screen capturing input triggered by a gesture, a screen capturing input triggered by a voice command, etc., and may be determined according to an actual use requirement in practical application, which is not limited in this embodiment. Specifically, the gesture trigger may include a click input, such as a single click input, a double click input, or any number of click inputs, and may also be a long press input or a short press input; in practical application, the number of times of clicking input can be preset, a user can operate according to the preset number of times of clicking, and the number of times of clicking input can also be set autonomously by the user according to own operation habits.
Further, in the embodiment of the present invention, the first input may be a three-finger swipe input or a double-click input performed by the user on the interface to be screen-captured, so as to perform a screen-capturing operation on the currently displayed page.
And responding to the first input, and capturing a screen of the interface to be captured at that time so as to obtain a first screen capturing image, wherein the first screen capturing image can comprise all contents of the interface to be captured, or only part of the contents of the interface to be captured, and the embodiment of the application is not limited to the above.
Step 103, determining a first area in the interface to be screen captured.
In the embodiment of the present invention, the manner of determining the first area in the interface to be captured may be: the area selection frame is displayed on the screen to be shot interface in a manual selection mode by a user, for example, the user can select a first area based on operation of the area selection frame, for example, the area selected by the selection frame is determined as the first area, or the area where the selected control is located is determined as the first area, and in addition, the mode of determining the first area can be as follows: by means of automatic detection by a program, for example: the method comprises the steps of automatically detecting the area of dynamic information change in the interface to be captured, taking the detected area as a first area, wherein the automatic detection can be determined by acquiring an image of the interface to be captured at fixed time and comparing the image with an image acquired at the previous time, or by detecting the attribute of each control in the interface to be captured, and the attribute can be a characteristic value used for representing whether the control is changeable or not.
Further, the first area may be associated with a screen capturing program, the screen capturing program may register and monitor the first area, determine whether information displayed in the first area changes, and if so, automatically generate a new screen capturing image, where the new screen capturing image may be a screen capturing image obtained by stitching based on the changed image of the first area and the first screen capturing image.
And 104, under the condition that the information in the first area is updated, splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image.
In the embodiment of the invention, if the information in the first area is updated, the screen capturing program can acquire the updated image of the first area, and splice the updated image of the first area with the first screen capturing image according to the position of the first area in the first screen capturing image, so as to generate a second screen capturing image.
Further, the image of the first area may cover the same location area in the first screenshot to generate the second screenshot image, or the first screenshot image may include an information variable area where the first area is located and a remaining information invariable area, where the information variable area is used to replace the original image of the first area with a new image of the first area after the information of the first area is updated, and the information invariable area is used to represent an area where the information in the first screenshot image is not changed. After the information of the first area is updated, the updated image of the first area may be used to replace the area at the same position in the first screen capturing image, so as to generate a second screen capturing image. The present application is not limited in this regard. The method is based on an information invariable area in the screen capturing, the information variable area is made into a dynamic refreshing area, and a second screen capturing image is dynamically generated for displaying by continuously replacing the image at the position of the first area in the information variable area.
In addition, for the area with the faster information conversion frequency, when the screen capturing program monitors the first area, the second screen capturing image can be generated according to the preset time interval, for example, the screen capturing image can be updated once every one minute, so that frequent updating of the screen capturing image is avoided, and the energy consumption is reduced.
For example, referring to fig. 2, fig. 2 illustrates a first interface diagram provided in an embodiment of the present application, taking a user dining queuing scenario as an example, the interface to be screen-captured may be an interface of a dining queuing program, and the interface of the dining queuing program may include: and the information of the current waiting seat changes along with the change of time, if the user shares the current interface screen shot to the friend, the user also needs to screen shot again and send the screen shot again to the friend after the information of the current waiting seat changes, and then the information synchronization can be realized. According to the method, a user firstly executes first input on the interface to be screened, a first screen capturing image is generated in response to the first input, and referring to fig. 2, the first screen capturing image can be displayed as a thumbnail in the interface to be screened, and the display position and the display size can be set according to actual conditions. The method comprises the steps that when a thumbnail is displayed, prompt information of 'determining a screen capturing refreshing area' is synchronously displayed on a screen capturing interface, a mode of selecting a first area can be entered in response to triggering operation of a user on the prompt information, at the moment, the user can continue to select operation of the screen capturing interface to determine the first area, at the moment, the first area and a screen capturing program are associated, the screen capturing program registers and monitors page information of the first area, after information on the first area changes, the screen capturing program generates a second screen capturing image based on the updated image of the first area and the updated first screen capturing image, and the user can directly send the second screen capturing image without manually re-capturing, so that operation time of the user is saved.
In addition, under the condition of user authorization, after the second screen capturing image is generated, the first screen capturing image can be automatically deleted, so that the storage space is saved.
In the embodiment of the application, a first input is received at a screen to be shot interface; generating a first screen capture image in response to a first input; determining a first area in the interface to be screened; under the condition that the information in the first area is updated, the updated image of the first area is spliced with the first screen capturing image to generate a second screen capturing image, so that after the screen capturing, a user automatically splices the updated image of the first area with the first screen capturing image to generate a new screen capturing image under the condition that the information in the first area is updated through the determined first area with the dynamic change of the information, and the operation that the user needs to manually repeat the screen capturing is omitted by automatically detecting whether the information in the first area is updated or not.
Referring to fig. 3, an embodiment of the present application provides yet another image processing method, including:
in step 201, a first input is received at a screen to be captured interface.
This step may be described with reference to step 101, and will not be described here.
In response to the first input, a first screen capture image is generated, step 202.
This step may be described with reference to step 102, and will not be described in detail herein.
At step 203, a second input is received at the interface to be screen captured.
In the embodiment of the invention, if the interface to be captured includes a local area where information dynamically changes, after the first captured image is generated, a second input may be received in the interface to be captured, and the information change area where the user wants to pay attention to may be determined.
Specifically, the second input may be an input of determining an information change area in the interface to be captured by the user, for example, the user may press any position in the image to be captured for a long time, a selection frame of the selection area is displayed in the interface to be captured, the user may select a target area of information change based on operations such as dragging, zooming, and the like of the selection frame, or the user may determine the target area by selecting a control element displayed in the interface to be captured. The user determines the first area by himself, so that only the partial area focused by the user can be monitored without focusing on other information dynamic change areas in the screen capture interface, processing resources are saved, meanwhile, the generated second screen capture images are more in line with the requirements of the user, in addition, the parts with unchanged information in the second screen capture images can share one part for storage, and storage resources are saved.
Optionally, step 203 specifically includes:
substep 2031, receiving a gesture sliding operation on the interface to be captured.
In the embodiment of the present invention, referring to fig. 4, fig. 4 shows a second interface provided in the embodiment of the present application, where the gesture sliding operation may be an operation of controlling the area selection frame through gesture sliding, and the user may operate the area selection frame (a rectangular frame in fig. 3 for displaying the number of people waiting after the current waiting seat is selected by the frame), for example, through operations of dragging, zooming, etc., to determine the position and the size of the area selection frame, and further determine the area selected by the area selection frame as the first area.
Optionally, step 203 specifically includes:
sub-step 2032, receiving an element selection operation at the interface to be screen captured;
in the embodiment of the present invention, referring to fig. 5, fig. 5 shows a third interface diagram provided in the embodiment of the present application, where an element selection operation may be an operation of performing a long press or click on a certain element on a screen to be captured, taking the long press as an example, a user may display a position where specific information of a currently waiting seat is located in the screen to be captured for a long press, after a preset time period is long pressed, a prompt box set as screen capturing variable information is displayed on the screen to be captured, in response to input to the prompt box, a region where the selected element is located is determined as a first region, and it is required to be noted that a display position of each element is determined, which has a fixed display region and coordinates with respect to the screen to be captured, so that, when long pressed, as long pressed positions are within a display region of the certain element, the user may be considered as the selection operation of the element. For example, a position where "10" is long pressed, a prompt is set as screen capturing variable information in the vicinity of a page area where "10" is displayed, and in response to an operation of the prompt, the display area where "10" is located is determined as a first area.
According to the method and the device, the determination operation of the region of the information change in the screen capture interface is realized in a plurality of modes, the user can conveniently and quickly specify the first region, and under the condition that the screen capture interface comprises a plurality of information variable regions, the user can only monitor the information change of the specified first region through specifying the first region, so that processing resources are saved.
In response to the second input, a first region in the interface to be screen captured is determined, step 204.
Optionally, step 204 specifically includes:
substep 2041, in response to the gesture sliding operation, displaying a region selection frame, determining the region framed by the region selection frame as the first region.
This step may be described with reference to sub-step 2031 and is not described here again.
Optionally, step 204 specifically includes:
sub-step 2042, in response to said element selection operation, determines the region in which said element is located as a first region.
This step may be described with reference to sub-step 2032 and is not described in detail herein.
Step 205, displaying the contact identifiers and receiving a fourth input of the target contact identifiers in the contact identifiers.
In the embodiment of the invention, after the user captures a screen of the current application page to obtain a first screen capturing image and determines the first area, the contact person identification can be displayed on the interface to be captured, and the first screen capturing image is sent to the selected target contact person through fourth input of the displayed contact person identification.
Step 206, in response to the fourth input, associating the first target area with the target contact and transmitting the first screen capturing image to the target contact.
In the embodiment of the present invention, an option of "sending a contact" may be provided below the first screen capturing image of the interface to be screen captured, the user clicks the option button, and a list of social contact identifiers may be called out, and referring to fig. 6, fig. 6 shows a fourth interface diagram provided in the embodiment of the present application, and the user may send the first screen capturing image by selecting one or more of the contact identifier lists. Specifically, the screenshot image may be sent by clicking on the avatar of one or more contacts.
Further, the user can drag the contact head portrait of the contact list to the first area, associate the first area with the contact, and after associating, if the information in the first area is updated, the screen capturing program can automatically generate a second screen capturing image, and automatically send or be determined by the user to send to the target contact.
After the first screen capturing image is sent to the target contact person, the first screen capturing image carries a page identifier, the first screen capturing image can be stored in a local or application program, after the first area is updated, the first screen capturing image in the local or application program can be determined according to the page identifier, and then the updated first area and the first screen capturing image are spliced to generate a second screen capturing image.
Step 207, generating a session message sent to the target contact in case of information update in the first area.
In the embodiment of the invention, under the condition of information updating in the first area, the session message sent to the target contact person can be regenerated based on the automatically generated second screen capturing image, or under the condition of information updating in the first area, the session message used for prompting that the information of the first area of the target contact person is changed can be generated, and by automatically generating the session message, the process that the user needs to re-screen capturing or input text information informing that the information in the screen capturing of the target contact person is outdated is simplified, and the user sending process is selected.
Optionally, step 207 specifically includes:
sub-step 2071, in the event of an update of information within the first region, concatenating the updated image of the first region with the first screenshot image, generating a second screenshot image, and generating the second screenshot image as a first session message.
Optionally, the method further comprises: associating the first region with a screen capture program;
sub-step 2071 may specifically include:
sub-step 20711, in the case of information update in the first area, acquiring a sub-image formed by the updated first area;
Sub-step 20712, controlling a screen capture program to stitch the sub-image to a second region in the first screen capture image to generate a second screen capture image; the second region is located at the same position as the first region.
In an embodiment of the present invention, for sub-step 20711 and sub-step 20712, a first region may be associated with a screen capture program for listening for updates to the first region and generating a new second screen capture image.
Further, under the condition that information in the first area is updated, the screen capturing program can automatically capture the screen again for the first area, obtain a sub-image formed by the updated first area, cover the sub-image to a corresponding area in the first screen capturing image, and regenerate a new screen capturing picture, namely a second screen capturing image. And the sub-images can be spliced with the area with unchanged information in the first screen capturing image based on the area with unchanged information to generate a new second screen capturing image. To reduce system memory, multiple pieces of information may share a single memory.
Sub-step 2072, sends the first of the session messages to the target contact.
In the embodiment of the invention, if the user is currently on the page of the first application, the generated first session message can pop up on the page of the first application in a popup window mode to remind the user of generating a new session message, and the user can click or select the session message and send the session message to the target contact. In addition, the session message may also be automatically sent to the target contact, which is not limited herein in this embodiment.
Referring to fig. 7, fig. 7 shows a fifth interface diagram provided in an embodiment of the present application, where after receiving a session message, a user receiving the session message may display a prompt "this is a message generated by a screen capturing variable information", and the user performs input such as clicking on the message, so as to display a second screen capturing image on the interface.
Optionally, step 207 specifically includes:
sub-step 2073, in the case of information update in the first area, generating a prompt message for information update in the first area as a second session message;
sub-step 2074, sends the second session message to the target contact.
In the embodiment of the present invention, for the substep 2073 and the substep 2074, in the case of updating the information in the first area, the prompt information that the information in the first area is updated may be generated into the second session message and sent to the target contact, so as to remind the target contact that the information in the first area has been updated. The second session message may include a second screenshot image or an image of the first area, if the second screenshot image is included, the target contact may determine whether to display the second screenshot image on its session interface based on the input of the second session message, and if the second screenshot image is included, the target contact may determine whether to splice the image of the first area with the local first screenshot image to generate the second screenshot image based on the input of the second session message. The requirement of the target contact on the second screen capturing image is met in different modes.
Optionally, after step 204, the method further comprises;
step 208, receiving a third input in the first area;
step 209, in response to the third input, associating the first region with a target application; and the target application comprises associated information related to information update in the first area.
Step 210, in the case of updating the association information, updating the information in the first area according to the association information, and stitching the updated image of the first area with the first screen capturing image to generate a second screen capturing image.
In the embodiment of the present invention, for steps 208 to 210, the variable information source of the screen capturing may not be in the original application page, but may also be other application programs or other information sources, referring to fig. 8, fig. 8 shows a sixth interface diagram provided in the embodiment of the present invention, after a user first captures a first screen capturing image for a first application and determines a first area of the first screen capturing image, the user may execute a third input for the first area again through a gesture or other operations, taking the third input as a long press, after the user long presses the first target area, an option "add other information source" appears in an associated area of the area, after the user clicks the option, the user may select other information sources (such as an installed application program or page control) from the system, and the selected other information sources are used as target applications. Upon selection, the screen capture program associates the target application, and upon a change in information of the target application, the screen capture program may be automatically notified to refresh the first screen capture image. For example, assuming that the current screen capturing page is application 1, the added target application is application 2, and the information of application 2 may be transferred to the first area of application 1 as a new screen capturing, or the change of the information of application 2 may be transferred to application 1 as an action notification, notifying application 1 to perform self-refresh, and generating a second screen capturing image after refreshing.
For example, taking a dining queuing scenario as an example, a program of a current waiting seat is displayed as an application 1, the number of the current waiting person is a variable area, namely a first area determined by a user, the number variable area can be related to an indoor camera program, the camera program is used as an application 2, the camera monitors the change of the indoor dining person, after the person number is changed, the application 1 is notified of the changed information (related information), and the application 1 updates the value of the waiting person number based on the data of the camera program. When the camera detects inaccuracy, the numbers of the information variable areas can also be notified to the camera program to carry out recalibration verification.
For another example, the application 1 may be a health monitoring APP, the number of steps of the user is displayed in the interface of the application 1, the area displaying the number of steps of the user may be a first area, the application 2 may be a bracelet program of the user, and the user associates the first area of the application 1 with the application 2, so that after the bracelet program obtains the update of the number of steps of the user, the numerical value of the step display area of the application 1 may be updated based on the bracelet program, and further the second screenshot image is regenerated. According to the method, the first region is related to other applications, so that the data sources of the information change of the first region are enriched, the accuracy of the information change of the first region is improved, and meanwhile, the application scene of the method is expanded, and information linkage is realized among a plurality of APP programs.
Optionally, after step 209, the method further comprises:
step 211, in the case of updating the information in the first area, updating the associated information in the target application according to the updated information in the first area.
In the embodiment of the invention, the first area is associated with the target application, so that the information of the change of the first area can be transmitted and notified to the target application, and the target application updates the content of the target application to realize information bidirectional update. For example, if the step number of the health monitoring APP is updated, the bracelet program can update the step number recorded by itself based on the step number of the health monitoring APP, so as to achieve the consistency of the records between the two APPs, and improve the accuracy of the data records.
According to the image processing method provided by the embodiment of the application, the execution subject can be an image processing device. In the embodiment of the present application, an image processing apparatus provided in the embodiment of the present application will be described by taking an example in which the image processing apparatus executes an image processing method.
Referring to fig. 9, an embodiment of the present application provides an image processing apparatus 30, the apparatus including:
the first receiving module 301 is configured to receive a first input at a screen capture interface;
a first generation module 302 for generating a first screen capture image in response to the first input;
A determining module 304, configured to determine a first area in the interface to be screen-captured;
and the second generating module 305 is configured to, in the case of updating information in the first area, splice the updated image of the first area with the first screen capturing image, and generate a second screen capturing image.
Optionally, the determining module includes:
the selection sub-module is used for receiving a second input at the interface to be screened;
a region determination submodule for determining a first region in the interface to be screen captured in response to the second input;
the selection sub-module comprises:
the first receiving sub-module is used for receiving gesture sliding operation on the interface to be screened;
the determining module includes:
and the first determining submodule is used for responding to the gesture sliding operation, displaying a region selection frame and determining the region selected by the region selection frame as a first region.
Optionally, the selecting sub-module includes:
the second receiving sub-module is used for receiving element selection operation on the interface to be screened;
the determining module includes:
and the second determining submodule is used for determining the area where the element is located as the first area in response to the element selection operation.
Optionally, the apparatus further comprises:
a first association module for associating the first region with a screen capture program;
the second generation module includes:
the sub-image determining sub-module is used for acquiring a sub-image formed by the updated first area under the condition of information update in the first area;
the splicing sub-module is used for controlling a screen capturing program to splice the sub-image to a second area in the first screen capturing image and generating a second screen capturing image; the second region is located at the same position as the first region.
Optionally, the apparatus further comprises:
a second receiving module for receiving a third input in the first region;
a second association module for associating the first region with a target application in response to the third input; the target application comprises associated information related to information update in the first area;
and the updating module is used for updating the information in the first area according to the associated information under the condition that the associated information is updated, and splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image.
Optionally, the apparatus further comprises:
And the reverse updating module is used for updating the associated information in the target application according to the updated information in the first area under the condition of updating the information in the first area.
Optionally, the apparatus further comprises:
the display module is used for displaying the contact person identifiers and receiving fourth input of target contact person identifiers in the contact person identifiers;
the sending module is used for responding to the fourth input, associating the first area with the target contact person and sending the first screen capturing image to the target contact person;
and the first automatic session generating module is used for generating a session message sent to the target contact person under the condition of information updating in the first area.
Optionally, the session automatic generation module includes:
the first sub-module is used for splicing the updated first area with the first screen capturing image under the condition that the information in the first area is updated, generating a second screen capturing image and generating the second screen capturing image into a first session message;
and the second sub-module is used for sending the first session message to the target contact.
Optionally, the session automatic generation module includes:
A third sub-module, configured to generate, when the information in the first area is updated, a prompt message for updating the information in the first area as a second session message;
and a fourth sub-module, configured to send the second session message to the target contact.
In summary, in an embodiment of the present application, at a screen to be captured interface, a first input is received; generating a first screen capture image in response to a first input; determining a first area in the interface to be screened; under the condition that the information in the first area is updated, the updated image of the first area is spliced with the first screen capturing image to generate a second screen capturing image, so that after the screen capturing, a user automatically splices the updated image of the first area with the first screen capturing image to generate a new screen capturing image under the condition that the information in the first area is updated through the determined first area with the dynamic change of the information, and the operation that the user needs to manually repeat the screen capturing is omitted by automatically detecting whether the information in the first area is updated or not. .
The image processing apparatus in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The image processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The image processing apparatus provided in this embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 and 3, and in order to avoid repetition, a description is omitted here.
As shown in fig. 10, the embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and the program or the instruction implements each step of the embodiment of the image processing method when executed by the processor 401, and the steps can achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1007 is configured to receive a first input at a screen capture interface;
the processor 1010 is configured to generate a first screen capture image in response to the first input;
the user input unit 1007 is configured to receive a second input at the interface to be screen captured;
the processor 1010 is configured to determine a first region in the interface to be screenshot in response to the second input;
the processor 1010 is configured to, in the event that information in the first area is updated, stitch the updated image of the first area with the first screen capture image to generate a second screen capture image.
Optionally, the user input unit 1007 is configured to receive a gesture sliding operation on the screen to be captured interface;
The processor 1010 is configured to display a region selection frame in response to the gesture sliding operation, and determine a region framed by the region selection frame as a first region.
Optionally, the user input unit 1007 is configured to receive an element selection operation on the screen to be captured interface;
the processor 1010 is configured to determine, in response to the element selection operation, an area in which the element is located as a first area.
Optionally, the processor 1010 is configured to associate the first region with a screen capture program;
under the condition that information in the first area is updated, acquiring a sub-image formed by the updated first area;
the control screen capturing program splices the sub-image to a second area in the first screen capturing image to generate a second screen capturing image; the second region is located at the same position as the first region.
Optionally, the user input unit 1007 is configured to receive a third input in the first region;
the processor 1010 is configured to associate the first region with a target application in response to the third input; the target application comprises associated information related to information update in the first area;
and under the condition that the associated information is updated, updating the information in the first area according to the associated information, and splicing the updated first area with the first screen capturing image to generate a second screen capturing image.
Optionally, the processor 1010 is configured to update the association information in the target application according to the updated information in the first area, where the information in the first area is updated.
Optionally, the display unit 1006 is configured to display a contact identifier on the interface to be screen-captured, and the user input unit 1007 is configured to receive a fourth input of a target contact identifier in the contact identifiers;
the processor 1010 is configured to associate the first area with a contact and send the first screenshot image to a target contact in response to the fourth input;
and generating a session message sent to the target contact under the condition that the information in the first area is updated.
Optionally, the processor 1010 is configured to splice the updated first area with the first screenshot image, generate a second screenshot image, and generate the second screenshot image as a first session message, in the event that information in the first area is updated;
the processor 1010 is configured to send the first session message to the target contact.
Optionally, the processor 1010 is configured to generate, in a case where the information in the first area is updated, a prompt message that the information in the first area is updated as the second session message;
The processor 1010 is configured to send the second session message to the target contact.
In the embodiment of the application, a first input is received at a screen to be shot interface; generating a first screen capture image in response to a first input; determining a first area in the interface to be screened; under the condition that the information in the first area is updated, the updated image of the first area is spliced with the first screen capturing image to generate a second screen capturing image, so that after the screen capturing, a user automatically splices the updated image of the first area with the first screen capturing image to generate a new screen capturing image under the condition that the information in the first area is updated through the determined first area with the dynamic change of the information, and the operation that the user needs to manually repeat the screen capturing is omitted by automatically detecting whether the information in the first area is updated or not.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image processing method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the image processing method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the image processing method described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (12)

1. An image processing method, the method comprising:
receiving a first input at a screen to be captured interface;
generating a first screen capture image in response to the first input;
determining a first area in the interface to be screened;
and under the condition that the information in the first area is updated, splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image.
2. The method of claim 1, wherein the determining a first region in the interface to be screen captured comprises:
receiving a second input at the interface to be screen captured;
responsive to the second input, determining a first region in the interface to be screen captured;
the receiving, at the interface to be screen captured, a second input, including:
receiving gesture sliding operation on the interface to be captured;
the determining, in response to the second input, a first region in the interface to be screen captured, comprising:
and displaying an area selection frame in response to the gesture sliding operation, and determining the area selected by the area selection frame as a first area.
3. The method of claim 2, wherein receiving a second input at the screen to be captured interface comprises:
Receiving element selection operation on the interface to be screened;
the determining, in response to the second input, a first region in the interface to be screen captured, comprising:
and determining the area where the element is located as a first area in response to the element selection operation.
4. The method of claim 1, wherein after the determining the first region in the interface to be screen captured, the method further comprises:
associating the first region with a screen capture program;
under the condition that the information in the first area is updated, the updated image of the first area is spliced with the first screen capturing image, and a second screen capturing image is generated, which comprises the following steps:
under the condition that information in the first area is updated, acquiring a sub-image formed by the updated first area;
the control screen capturing program splices the sub-image to a second area in the first screen capturing image to generate a second screen capturing image; the second region is located at the same position as the first region.
5. The method of claim 1, wherein after the determining the first region in the interface to be screen captured, the method further comprises:
receiving a third input at the first region;
In response to the third input, associating the first region with a target application; the target application comprises associated information related to information update in the first area;
and under the condition that the associated information is updated, updating the information in the first area according to the associated information, and splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image.
6. The method of claim 5, wherein after associating the first region with a target application in response to the third input, the method further comprises:
and under the condition that the information in the first area is updated, updating the associated information in the target application according to the updated information in the first area.
7. The method of claim 1, wherein after the determining the first region in the interface to be screen captured, the method further comprises:
displaying the contact person identifiers and receiving a fourth input of target contact person identifiers in the contact person identifiers;
in response to the fourth input, associating the first region with a target contact and transmitting the first screen capture image to the target contact;
And generating a session message sent to the target contact under the condition that the information in the first area is updated.
8. The method of claim 7, wherein generating the session message to the target contact in the event of an information update within the first area comprises:
under the condition that information in the first area is updated, splicing the updated image of the first area with the first screen capturing image to generate a second screen capturing image, and generating the second screen capturing image into a first session message;
and sending the first session message to the target contact.
9. The method of claim 7, wherein generating the session message to the target contact in the event of an information update within the first area comprises:
under the condition that the information in the first area is updated, generating prompt information for updating the information in the first area into a second session message;
and sending the second session message to the target contact.
10. An image processing apparatus, characterized in that the apparatus comprises:
the first receiving module is used for receiving a first input at the interface to be screened;
A first generation module for generating a first screen capture image in response to the first input;
the determining module is used for determining a first area in the interface to be screened;
and the second generation module is used for splicing the updated image of the first area with the first screen capturing image under the condition that the information in the first area is updated, and generating a second screen capturing image.
11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the image processing method of any one of claims 1 to 9.
12. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the image processing method according to any of claims 1 to 9.
CN202311282440.6A 2023-09-28 2023-09-28 Image processing method, device, electronic equipment and readable storage medium Pending CN117648144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311282440.6A CN117648144A (en) 2023-09-28 2023-09-28 Image processing method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311282440.6A CN117648144A (en) 2023-09-28 2023-09-28 Image processing method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117648144A true CN117648144A (en) 2024-03-05

Family

ID=90043958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311282440.6A Pending CN117648144A (en) 2023-09-28 2023-09-28 Image processing method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117648144A (en)

Similar Documents

Publication Publication Date Title
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
US20190073101A1 (en) Method and device for switching pages of applications in a terminal device
CN107544810B (en) Method and device for controlling application program
CN112911147B (en) Display control method, display control device and electronic equipment
CN108965611B (en) Shooting interface switching method, device, equipment and storage medium
CN107729098B (en) User interface display method and device
CN112711366A (en) Image generation method and device and electronic equipment
CN113596555B (en) Video playing method and device and electronic equipment
WO2023030116A1 (en) Display method and apparatus
CN114416269A (en) Interface display method and display device
CN117648144A (en) Image processing method, device, electronic equipment and readable storage medium
CN113419660A (en) Video resource processing method and device, electronic equipment and storage medium
CN112581102A (en) Task management method and device, electronic equipment and storage medium
CN112765508A (en) Information display method and device and electronic equipment
CN112019686A (en) Display method and device and electronic equipment
CN114928761B (en) Video sharing method and device and electronic equipment
CN113726953B (en) Display content acquisition method and device
CN117608459A (en) Screenshot method, screenshot device, screenshot equipment and screenshot medium
CN114356164A (en) Sharing method and sharing device
CN117369930A (en) Interface control method and device, electronic equipment and readable storage medium
CN117395493A (en) Shooting control method and device and electronic equipment
CN117641115A (en) Photographing processing method and device and electronic equipment
CN113835810A (en) Information display method and electronic equipment
CN116027950A (en) Screen capturing method and screen capturing device
CN116775191A (en) Information prompting method and device and electronic equipment

Legal Events

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