CN111383175A - Picture acquisition method and electronic equipment - Google Patents

Picture acquisition method and electronic equipment Download PDF

Info

Publication number
CN111383175A
CN111383175A CN202010136595.9A CN202010136595A CN111383175A CN 111383175 A CN111383175 A CN 111383175A CN 202010136595 A CN202010136595 A CN 202010136595A CN 111383175 A CN111383175 A CN 111383175A
Authority
CN
China
Prior art keywords
picture
target
input
electronic device
stitched
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
CN202010136595.9A
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 CN202010136595.9A priority Critical patent/CN111383175A/en
Publication of CN111383175A publication Critical patent/CN111383175A/en
Priority to PCT/CN2021/077810 priority patent/WO2021175143A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images

Abstract

The embodiment of the invention discloses a picture acquisition method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that information in a picture acquired by screen capture is incomplete. The method comprises the following steps: receiving a first input under the condition that a target interface is displayed and comprises target multimedia; generating and storing a stitched picture in response to the first input; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video. The method can be applied to the scene of acquiring the screen capture picture.

Description

Picture acquisition method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a picture acquisition method and electronic equipment.
Background
With the development of communication technology, the functions of electronic devices are more and more abundant. For example, when a user browses a web page using an electronic device, if the web page includes more important content, the user may use a screen capture function of the electronic device to trigger the electronic device to acquire and save a screen capture picture of the content displayed in the screen.
At present, a screenshot picture may include not only text information but also information such as pictures and video pictures. For the situation that the screenshot picture comprises a picture and a video picture, the screenshot picture is usually obtained by compressing the picture and a certain video picture, partial information of the screenshot picture can be lost, the stored screenshot picture has low definition, and the information contained in the screenshot picture is incomplete.
Disclosure of Invention
The embodiment of the invention provides a picture acquisition method and electronic equipment, and aims to solve the problem that information in a picture acquired by screen capture is incomplete.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a picture obtaining method. The method includes receiving a first input in a case that a target interface is displayed and the target interface includes target multimedia; generating and storing a stitched picture in response to the first input; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video.
In a second aspect, an embodiment of the present invention provides an electronic device. The electronic equipment comprises a display module, a receiving module and a processing module. And the receiving module is used for receiving a first input under the condition that the target interface is displayed by the display module and comprises target multimedia. And the processing module is used for responding to the first input received by the receiving module and generating and storing the spliced picture. The spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the picture taking method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the picture acquiring method provided in the first aspect are implemented.
In the embodiment of the invention, the first input can be received under the condition that the target interface is displayed and comprises target multimedia; responding to the first input, and generating and storing a spliced picture; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video. According to the scheme, under the condition that the target interface comprises the target multimedia, a user can trigger the electronic equipment to generate the spliced picture according to the screenshot picture of the target interface and the first picture corresponding to the target multimedia in the target interface through one input, so that the spliced picture can comprise more information.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a picture obtaining method according to an embodiment of the present invention;
fig. 3 is one of schematic splicing diagrams of a screenshot picture and a first picture provided in an embodiment of the present invention;
fig. 4 is a second schematic diagram illustrating splicing of a screenshot picture and a first picture according to an embodiment of the present invention;
fig. 5 is a third schematic diagram illustrating splicing of a screenshot picture and a first picture according to an embodiment of the present invention;
fig. 6 is a fourth schematic diagram illustrating splicing of a screenshot picture and a first picture according to an embodiment of the present invention;
fig. 7 is a fifth schematic diagram illustrating splicing of a screenshot picture and a first picture according to an embodiment of the present invention;
fig. 8 is a second schematic diagram illustrating a picture obtaining method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 10 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention should not be construed as advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the invention provides a picture acquisition method and electronic equipment, which can receive first input under the condition that a target interface is displayed and comprises target multimedia; responding to the first input, and generating and storing a spliced picture; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video. According to the scheme, under the condition that the target interface comprises the target multimedia, a user can trigger the electronic equipment to generate the spliced picture according to the screenshot picture of the target interface and the first picture corresponding to the target multimedia in the target interface through one input, so that the spliced picture can comprise more information.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Taking an android operating system as an example, a software environment to which the image acquisition method provided by the embodiment of the invention is applied is introduced.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the image obtaining method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the image obtaining method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can implement the image acquisition method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a terminal device. The terminal device may be a mobile terminal device or a non-mobile terminal device. For example, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An execution main body of the image obtaining method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the image obtaining method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
Currently, when the electronic device displays a web interface or an application interface, a user may use a screen capture function of the electronic device to trigger the electronic device to obtain a screen capture picture of a current interface. However, in the case that the screenshot picture includes a picture and a video picture, since the screenshot picture is usually obtained by compressing the picture and a certain video picture, part of information of the screenshot picture is lost, and the stored screenshot picture has low definition, so that the information included in the screenshot picture is incomplete. Therefore, the embodiment of the invention provides a picture acquisition method, which can be applied to any one of the following scenes:
in a first scenario, when a current interface of an electronic device includes a target picture, a user can trigger the electronic device to acquire a screenshot picture of the current interface and acquire an original picture corresponding to the target picture through one input. And then, the electronic equipment can splice the screen capture picture and the original picture to generate and store a spliced picture, wherein the information contained in the spliced picture is more complete.
And in a second scenario, when the current interface of the electronic equipment comprises the target video, the user can trigger the electronic equipment to acquire the screenshot picture of the current interface and acquire the graphic identification code corresponding to the link of the target video through one input. And then, the electronic equipment can splice the screen capture picture and the graphic identification code to generate and store a spliced picture, wherein the information contained in the spliced picture is more complete.
And a third scene, when the current interface of the electronic equipment comprises the target picture and the target video, the user can trigger the electronic equipment to acquire the screen capture picture of the current interface, acquire the original picture corresponding to the target picture and acquire the graphic identification code corresponding to the link of the target video through one input. And then, the electronic equipment can splice the screen shot picture, the original picture and the graph identification code to generate and store a spliced picture, wherein the information contained in the spliced picture is more complete.
The following takes an electronic device as an example to exemplarily describe the picture acquiring method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a method for obtaining an image. The method may be applied to an electronic device, and the method may include S101 and S102 described below.
S101, under the condition that a target interface is displayed and comprises target multimedia, the electronic equipment receives a first input.
Wherein the target multimedia includes at least one of: a target picture and a target video.
Optionally, the target picture may be an original picture or a thumbnail of the original picture.
For example, in the process of chatting between the user using the electronic device a and another user using the electronic device b, if the electronic device a receives a picture sent by the electronic device b, the electronic device a may display a thumbnail of the picture in a chat interface. In this way, the user can view the original image of the picture through the input of the thumbnail.
Optionally, the step of the target interface including the target video may specifically include: and displaying a video picture of the target video in the target interface. The video frame may be a video frame being played, or a video frame that has not been played, or a video frame that has been paused, and the like, and may be determined according to a use requirement, and the embodiment of the present invention is not limited.
For example, in a process that a user uses the electronic device a to chat with another user using the electronic device b, if the electronic device a receives a video sent by the electronic device b, the electronic device a may display a frame of video frame of the video that has not been played in a chat interface. Therefore, the user can trigger the electronic equipment to play the video through the input of the playing control in the video picture.
Optionally, the target picture and the target video may be sent to the electronic device by other devices, or may be stored locally by the electronic device, which is not limited in the embodiment of the present invention.
In this embodiment of the present invention, the first input may be used to confirm to acquire the screenshot of the target interface, that is, the first input may be an input that triggers a screenshot action performed on the target interface by the electronic device.
Optionally, the target interface may be an interface in an application program, for example, the target interface may be an interface in an instant messaging application program, an interface in a video playing application program, an interface in an information application program, or an interface in another application program. Alternatively, the target interface may be an interface in a web page, for example, the target interface may be an interface in an instant messaging web page, an interface in a video playing web page, an interface in an information web page, or an interface in another web page. Of course, the target interface may also be any other possible interface, and the embodiment of the present invention is not limited.
Optionally, the first input may be an input to a physical key of the electronic device, for example, a pressing input to a start key and a Home key by a user; alternatively, the first input may be a touch input to a screen of the electronic device, for example, a click input to a screenshot control in the screen by a user or an input for the user to draw a preset graphic in the screen; alternatively, the first input may be a voice input to the electronic device, such as a user voice input "please perform a screen capture operation on the current interface"; alternatively, the first input may be an input of a preset gesture input by the user against a camera of the electronic device.
Illustratively, the target interface is taken as a chat interface in a chat application program for example. In the case where the electronic device receives a user trigger input for an icon of a chat application, the electronic device may run the chat application and display an interface of the chat application. If the user chooses to chat with a friend "King," the electronic device may display a chat interface. In the process of chatting with a friend "king", if a user considers that a current chat interface is important or is interested by the user, where the current chat interface may be a chat interface including a target picture as shown in (a) in fig. 3, or a chat interface including a target video as shown in (a) in fig. 4, or a chat interface including a target picture and a target video as shown in (a) in fig. 5, the user may simultaneously press a power-on key and a Home key of the electronic device, so that the electronic device may receive pressing inputs of the power-on key and the Home key from the user, that is, in a case where the target interface includes a target multimedia, the electronic device may receive a first input from the user.
And S102, the electronic equipment responds to the first input, and generates and stores the spliced picture.
The spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface.
Optionally, in the embodiment of the present invention, the step S102 may be implemented by the following steps S102a and S102 b.
S102a, the electronic equipment obtains a screen capture picture of the target interface and obtains a first picture corresponding to the target multimedia.
In the embodiment of the invention, under the condition that the content items included in the target multimedia are different, the mode of acquiring the first picture by the electronic equipment is different from that of the first picture corresponding to the target multimedia.
The first picture and the manner of acquiring the first picture will be exemplified by the following three ways.
In a first mode, if the target multimedia includes the target picture, the first picture corresponding to the target multimedia may include an original picture corresponding to the target picture. Correspondingly, the "acquiring the first picture corresponding to the target multimedia" may specifically include: the electronic device downloads an original picture corresponding to the target picture from the target device.
Optionally, the target device may be a server, a relay device, an edge device, other user equipment except for an electronic device used by a user, or any other possible device, and the embodiment of the present invention is not limited.
Illustratively, the target interface is a chat interface 00 as shown in (a) of fig. 3. As shown in fig. 3 (a), a plurality of chat conversation messages of the user with "queen" may be included in the chat interface 00. When the user considers the content in the chat interface 00 as important content, the user can simultaneously press the power-on key and the Home key of the electronic device. Then, the electronic device may acquire the screenshot 02 of the chat interface 00 in response to the received first input, and at the same time, the electronic device may download the original picture 03 corresponding to the target picture 01 from the device or server of "queen". Thereafter, as shown in (b) of fig. 3, the electronic device may stitch the screenshot picture 02 and the original picture 03 into one picture.
It is understood that, in some cases, the target picture may be a thumbnail image obtained by compressing the original picture. Compared with the original picture corresponding to the target picture, the target picture loses a part of information, and therefore after the first input of the user is received, the electronic device downloads the original picture corresponding to the target picture from the target device, and the integrity of the picture information can be improved.
It should be noted that, the above-mentioned manner is exemplified by an example that an original picture corresponding to a target picture is not stored in an electronic device, and the electronic device downloads the original picture corresponding to the target picture from the target device, and does not limit the embodiment of the present invention at all. The present invention provides another example, where an original picture corresponding to a target picture is stored in an electronic device, but the storage paths of the original picture corresponding to the target picture and a screenshot picture of a target interface are different, and the electronic device may obtain the original picture of the target picture from the storage path corresponding to the original picture corresponding to the target picture, and obtain a spliced picture of the screenshot picture of the target interface and the original picture corresponding to the target picture.
In a second mode, if the target multimedia includes the target video, the first picture corresponding to the target multimedia may include the graphic identification code corresponding to the link of the target video. Correspondingly, the "acquiring the first picture corresponding to the target multimedia" may specifically include: the electronic equipment acquires a link of a target video; and generating a pattern recognition code according to the link of the target video.
Illustratively, the target interface is the chat interface 04 shown in (a) in fig. 4 as an example. As shown in fig. 4 (a), a plurality of chat conversation messages of the user with "queen" may be included in the chat interface 04. When the user considers the content in the chat interface 04 as important content, the user can simultaneously press the power-on key and the Home key of the electronic device. Then, the electronic device may obtain the screenshot 06 of the chat interface 04 in response to the received first input, and at the same time, the electronic device may obtain the link of the target video 05 and generate the graphical identification code 07 according to the link of the target video. Thereafter, as shown in fig. 4 (b), the electronic device may stitch the screenshot 06 and the graphic identification code 07 into one picture.
In the embodiment of the invention, the pattern identification code is generated according to the link of the target video, so that in some cases, a user can trigger the electronic equipment to identify the pattern identification code through the operation on the pattern identification code so as to acquire the link of the target video, and therefore, the electronic equipment can play the target video according to the link of the target video.
Optionally, as for the second mode, before the electronic device acquires the link of the target video, the target video may already be stored in the electronic device, or the target video may not be stored in the electronic device, which is not limited in the embodiment of the present invention.
It can be understood that, since video resources are large, downloading a video takes a long time and consumes traffic, the embodiment of the present invention generates the pattern recognition code according to the link of the target video, and can meet some requirements of the user without downloading the video, for example, the user does not need to download the video locally, but the user can share the pattern recognition code or the mosaic picture including the pattern recognition code to the friend of the user, so that the friend of the user can play the video according to the pattern recognition code.
And thirdly, if the target multimedia comprises a target picture and a target video, the first picture corresponding to the target multimedia can comprise an original picture corresponding to the target picture and a graphic identification code corresponding to the link of the target video. Correspondingly, the "acquiring the first picture corresponding to the target multimedia" may specifically include: the electronic equipment downloads an original picture corresponding to the target picture from the target equipment; and acquiring the link of the target video, and generating the graphic identification code according to the link of the target video.
Illustratively, the target interface is a chat interface 08 as shown in (a) of fig. 5. As shown in fig. 5 (a), a plurality of chat conversation messages of the user with "queen" may be included in the chat interface 08. When the user considers the content in the chat interface 08 to be important content, the user can simultaneously press the power-on key and the Home key of the electronic device. Then, the electronic device may obtain the screenshot 11 of the chat interface 08 in response to the received first input, and at the same time, the electronic device may download the original picture 12 corresponding to the target picture 09 from the device or server of "queen" and generate the graphical identification code 13 according to the link of the target video 10. Thereafter, as shown in fig. 5 (b), the electronic device may stitch the screenshot 11, the original picture 12, and the graphic identification code 13 into one picture.
It should be noted that, for a specific implementation manner of the third manner, reference may be made to the related description in the first manner and the second manner, and details are not described here again.
Optionally, the above embodiments are all exemplified by the example that the target multimedia is determined to be included in the target interface when the first input is received, and do not form any limitation on the embodiments of the present invention. The embodiment of the present invention provides another example, which may specifically include: the electronic device does not determine whether the target interface includes multimedia when receiving the first input, and the electronic device may obtain a screenshot picture of the target interface after receiving the first input of the user, detect whether the target interface includes multimedia, and obtain a first picture corresponding to the target multimedia when the target interface includes the target multimedia.
Specifically, one possible implementation manner is as follows: the electronic equipment can acquire a screen capture picture of the target interface and detect whether the screen capture picture comprises multimedia or not by adopting a first preset algorithm. If the electronic device detects that the target multimedia is included in the screenshot picture, the electronic device can determine that the target multimedia is included in the target interface. Another possible implementation is: the electronic device may directly detect all contents in the target interface by using a second preset algorithm to determine whether the contents include multimedia. If the electronic device detects that the target multimedia is included in the content, the electronic device may determine that the target multimedia is displayed in the target interface.
Optionally, the "obtaining the first picture corresponding to the target multimedia" may be specifically implemented by the following steps:
step a, under the condition that the target interface comprises the target multimedia, the electronic equipment displays prompt information. The prompt information can be used for prompting the user whether to synthesize the screen capture picture of the target interface and the picture corresponding to the target multimedia.
And step b, the electronic equipment receives the input of the prompt message.
And c, the electronic equipment responds to the input to acquire a first picture corresponding to the target multimedia. Thereafter, the electronic device may generate a stitched picture based on the first picture and the screenshot picture of the target interface, i.e., perform S102b described below.
For example, in a case where the electronic device detects that the target interface includes the target picture in response to the first input, the electronic device may display a prompt message "whether to synthesize the screenshot picture of the target interface and the original picture of the target picture". The user can click the area where the prompt message is located, so that the electronic device can download the original picture corresponding to the target picture from the target device, and generate a spliced picture based on the screen capture picture and the original picture corresponding to the target picture.
It can be understood that, in the case that the target multimedia is included in the target interface, by displaying the prompt information, the user can determine whether to synthesize the picture according to the actual use requirement. For example, if the user is not interested in a target picture or a target video in the target interface, the electronic device need not synthesize the picture; and if the user is interested in the target picture or the target video in the target interface, the electronic device needs to synthesize the picture. Therefore, the flexibility of the electronic equipment for acquiring the pictures can be improved, and the operation experience of the user is improved.
It should be noted that, in the embodiment of the present invention, the execution sequence of the "acquiring the screenshot picture of the target interface" and the "acquiring the first picture corresponding to the target multimedia" is not specifically limited. For example, the electronic device may first obtain a screenshot picture of a target interface, and then obtain a first picture corresponding to a target multimedia in the target interface when the target interface includes the target multimedia; for another example, the electronic device may also obtain the first picture corresponding to the target multimedia and then obtain the screenshot picture of the target interface when the target multimedia is displayed in the target interface. Of course, the electronic device may also perform the two steps at the same time, which may be determined according to the usage requirement.
S102b, the electronic device generates and stores the spliced picture according to the first picture and the screen capture picture of the target interface.
Alternatively, S102b may be specifically realized by the following (1) and (2).
(1) The electronic equipment generates a spliced picture based on the first picture and the screen capture picture of the target interface.
Optionally, the generating of the spliced picture based on the first picture and the screenshot picture of the target interface may specifically include: and splicing the first picture and the screen capture picture according to a target mode to generate a spliced picture.
Optionally, after acquiring the screenshot picture of the target interface and the first picture corresponding to the target multimedia, one way is that the electronic device automatically splices the screenshot picture of the target interface and the first picture according to the target way; alternatively, the user may select the target mode via an input, such that the electronic device may stitch the screenshot of the target interface with the first picture in the target mode in response to the input.
Optionally, the target mode may be any one of the following: adjusting the width of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture, which have the same width; adjusting the height of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture, which have the same height; and splicing any edge of the first picture to any edge of the screenshot picture according to the original size.
For example, assume that the target mode is "adjust the width of the first picture to be the same as the width of the screenshot of the target interface, and splice the two equal-width edges of the first picture and the screenshot of the target interface". As shown in fig. 6 (a), the width of the screenshot 14 of the target interface is a1, and the width of the first picture 15 is a2, wherein the width a2 is greater than the width a 1. Therefore, the electronic device may reduce the size of the first picture 15, thereby adjusting the first picture 15 to the picture 16, i.e. the width of the picture 16 and the width of the screenshot 14 are both a 1. Thereafter, as shown in fig. 6 (b), the electronic device may stitch the two equal-width edges of the picture 16 and the screenshot 14 to generate a stitched picture, so that the stitched picture may be stored in the electronic device.
For example, assume that the target mode is "adjust the height of the first picture to be the same as the height of the screenshot of the target interface, and splice two sides of the adjusted first picture and the screenshot of the target interface that are equal in height". As shown in (a) of fig. 7, the height of the screenshot 14 of the target interface is b1, and the height of the first picture 15 is b2, wherein the height b2 is less than the height b 1. Therefore, the electronic device may enlarge the size of the first picture 15, thereby adjusting the first picture 15 to the picture 17, i.e. the height of the picture 17 and the height of the screenshot 14 are both b 1. Thereafter, as shown in fig. 7 (b), the electronic device may stitch the two edges of the picture 17 and the screenshot 14 having the same height to generate a stitched picture, so that the stitched picture may be stored in the electronic device.
It can be understood that, in the case that the sizes of the first picture and the screenshot picture of the target interface are the same, the electronic device may directly splice the first picture and the screenshot picture of the target interface without adjusting the size of the first picture.
(2) The electronic device stores the stitched picture.
Optionally, the electronic device may store the first picture corresponding to the target multimedia, the screenshot picture of the target interface, and the mosaic picture in the target directory or the target storage area. It can be understood that, by storing the first picture corresponding to the multimedia, the screenshot picture of the target interface, and the stitched picture in the same directory or the same storage area, the electronic device can facilitate the user to operate the pictures, for example, compare the contents of the pictures, or send the pictures to the target object in a unified manner.
Optionally, the storage area of the stitched picture may be a target storage area in the electronic device, or may be a server.
The embodiment of the invention provides a picture acquisition method, which comprises the steps of receiving a first input under the condition that a target interface is displayed and comprises a target multimedia; responding to the first input, and generating and storing a spliced picture; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video. According to the scheme, under the condition that the target interface comprises the target multimedia, a user can trigger the electronic equipment to generate the spliced picture according to the screenshot picture of the target interface and the first picture corresponding to the target multimedia in the target interface through one input, so that the spliced picture can comprise more information.
Optionally, after the electronic device generates and stores the screenshot picture of the target interface and the mosaic picture of the first picture corresponding to the target multimedia, the user may view and use the mosaic picture according to actual use requirements. Exemplarily, with reference to fig. 2, as shown in fig. 8, after S102, the picture acquiring method provided by the embodiment of the present invention may further include S103 and S104 described below.
S103, the electronic equipment receives a second input.
In the embodiment of the present invention, the second input may be used to trigger the electronic device to display the stitched image, or to share the stitched image with the target object.
For example, the second input may be an input to an identification of the stitched picture, for example, the second input may be a touch input to a thumbnail of the stitched picture. Of course, the second input may also be a preset gesture input or other possible inputs, and may be determined according to actual use requirements.
And S104, the electronic equipment responds to the second input, displays the spliced picture, or shares the spliced picture to the target object.
Optionally, the target object may be a server, for example, the electronic device may share the stitched image with a server of certain social software, so that the server may share the stitched image with all user devices connected to the server, that is, all users served by the server. Alternatively, the target object may also be other user equipment, for example, the electronic device may share the stitched image with user equipment used by a friend of the user, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, after the electronic device shares the stitched picture with the target object, the target object may view the stitched picture. For example, if the target multimedia is a target picture, the target object can see an original picture with a clearer picture; for example, if the target multimedia is a target video, the target object may download and play the target video through the input of the stitched picture.
Specifically, the electronic device may obtain a plurality of stitched pictures according to the methods in S101 and S102, store the stitched pictures in the same storage path of the electronic device, and set an entry for the stitched pictures, for example, thumbnails of the stitched pictures may all be displayed in a folder. When the user wants to view a certain or some spliced pictures, the user can click on the identification of the folder, so that the electronic equipment can respond to the click input of the user and display a plurality of thumbnails in the interface of the folder, wherein one thumbnail is used for indicating one spliced picture. Then, a possible implementation manner is that a user can click a certain thumbnail, so that the electronic device can display a spliced picture corresponding to the thumbnail; another possible mode is that the user can determine a certain spliced picture to be shared by viewing the thumbnail, and through long-time pressing input of the spliced picture, the electronic device is triggered to share the spliced picture to the target object.
According to the picture acquisition method provided by the embodiment of the invention, after the electronic equipment stores the screenshot picture and the spliced picture of the first picture, on one hand, the user can trigger the electronic equipment to display the spliced picture through the second input, so that the user can view not only the screenshot picture but also the first picture, for example, view the original picture of the target picture or view the graphic identification code corresponding to the link of the target video; on the other hand, the user can trigger the electronic device to directly share the spliced picture to the target object through the second input, so that the target object can view the target picture or the target video with richer information content through the spliced picture.
Optionally, if the first picture is an original picture corresponding to the target picture, after S104, the picture obtaining method provided in the embodiment of the present invention may further include S105 and S106 described below.
S105, the electronic equipment receives a third input of the spliced picture.
Optionally, the third input may be a single-click input, a double-click input, a drag input, or the like for the stitched picture.
Optionally, in a case that the first picture is an original picture corresponding to the target picture, the third input may specifically be input to a picture corresponding to the original picture in the spliced picture. For example, if the stitched image includes a reduced image of the original image, the third input may be a touch input to the reduced image, so that the electronic device displays the original image according to a normal scale, or shares the original image corresponding to the target image with the target object; if the stitched picture includes a picture obtained by amplifying the original picture, the third input may be a touch input to the amplified picture, so that the electronic device displays the original picture according to a normal scale, or shares the original picture corresponding to the target picture with the target object.
S106, the electronic equipment responds to the third input and displays an original picture corresponding to the target picture; or, sharing the original picture corresponding to the target picture to the target object.
For example, in a case that the electronic device displays the stitched picture, the user may click a first region in the stitched picture, where the first region is used to display a reduced picture of the original picture corresponding to the target picture. Then, the electronic device may display an original picture corresponding to the target picture in a normal scale in response to the click input.
For example, in the case that the electronic device displays the stitched picture, the user may long-press any region in the stitched picture to make the stitched picture in the selected state; then, the user may select a target object from the at least one object, and trigger the electronic device to share the original picture of the target picture with the target object, that is, the third input includes an input of selecting the stitched picture and an input of selecting the target object. It can be understood that, in this way, the user may view the original picture corresponding to the target picture first, and then share the original picture corresponding to the target picture to the target object under the condition that the user is satisfied with the original picture, so that the degree of satisfaction of the user with the shared original picture can be improved.
According to the picture acquisition method provided by the embodiment of the invention, on one hand, the user can trigger the electronic equipment to display the original picture corresponding to the target picture in the screenshot picture through inputting the spliced picture, so that the problem that the target picture is not clear enough can be solved; on the other hand, the user directly triggers the electronic device to share the original picture corresponding to the target picture to the target object through the input of the spliced picture, so that the user does not need to search the screenshot picture of the target interface and the original picture of the target picture in different paths or directories, and the operation process of the user is simplified.
Optionally, if the first picture is a graphical identification code corresponding to a link of the target video, after S104, the picture obtaining method provided in the embodiment of the present invention may further include S107 and S108 described below.
S107, the electronic equipment receives a fourth input of the spliced picture.
Optionally, the fourth input may be a single-click input, a double-click input, a drag input, or the like for the spliced picture.
Optionally, in a case that the first picture is a graphic identification code corresponding to a link of the target video, the fourth input may specifically be an input of a graphic identification code in the spliced picture. For example, if the stitched picture includes a picture with a reduced pattern identification code, the fifth input may be an input to the reduced picture; if the spliced picture includes a picture obtained by amplifying the graphic identification code, the fifth input may be an input to the amplified picture.
S108, the electronic equipment responds to the fourth input and plays the target video; or, downloading the target video; or, the link of the target video is shared to the target object.
Optionally, before the electronic device plays the target video or downloads the target video, the method for obtaining the picture provided by the embodiment of the present invention may further include: and identifying the graph identification code in the spliced picture to acquire the link of the target video.
For example, in a case that the electronic device displays the stitched picture, the user may click a second region in the stitched picture, where the second region is used to display the picture with the reduced graphical identification code. Then, the electronic device may recognize the graphic identification code in response to the click input to acquire a link of the target video, and play the target video according to the link of the target video.
For example, in the case that the electronic device displays the stitched picture, a download control or a share control may be displayed in the stitched picture. If the user clicks the downloading control, the electronic equipment can identify the graphic identification code to acquire the link of the target video and download the target video according to the link of the target video; and if the user clicks the sharing control, the electronic equipment can directly share the link of the target video to the target object. It can be appreciated that sharing the link of the target video to the target object may not only enable the friends of the user to view the video, but also reduce the amount of data transmission between the devices, as compared to sharing the target video to the target object.
According to the picture acquisition method provided by the embodiment of the invention, on one hand, as the user can play the target video or download the target video through inputting the spliced picture, the video can be downloaded only when the user has a demand, and the video does not need to be downloaded in advance; on the other hand, the user can directly input the spliced picture to trigger the electronic equipment to share the link of the target video to the target object, so that the graphic identification code can be shared to friends of the user under the condition that the video does not need to be downloaded, and the friends of the user can play the video according to the graphic identification code.
As shown in fig. 9, an embodiment of the invention provides an electronic device 900. The electronic device may include a display module 901, a receiving module 902, and a processing module 903. The receiving module 902 may be configured to receive a first input when the display module 901 displays a target interface, where the target interface includes target multimedia. A processing module 903 may be configured to generate and store the stitched picture in response to the first input received by the receiving module 902. The spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia can comprise at least one of the following items: a target picture and a target video.
Optionally, in this embodiment of the present invention, the target multimedia includes a target picture, and the first picture includes an original picture corresponding to the target picture. The processing module 903 may also be configured to download an original picture corresponding to the target picture from the target device before generating and storing the stitched picture.
Optionally, in this embodiment of the present invention, the target multimedia includes a target video, and the first picture includes a graphic identification code corresponding to a link of the target video. The processing module 903 may also be configured to obtain a link of the target video before generating and storing the stitched picture; and generating a pattern recognition code according to the link of the target video.
Optionally, in this embodiment of the present invention, the processing module 903 may be specifically configured to generate a spliced picture based on the first picture and the screenshot picture of the target interface; and storing the stitched picture.
Optionally, in this embodiment of the present invention, the processing module 903 may be specifically configured to splice the first picture and the screenshot picture of the target interface according to a target manner, so as to generate a spliced picture. Wherein the target mode may be any one of: adjusting the width of the first picture to be the same as that of the screenshot picture, and splicing two sides of the first picture and the screenshot picture which are adjusted to be equal in width; adjusting the height of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture with the same height; and splicing any edge of the first picture to any edge of the screenshot picture according to the original size.
Optionally, in this embodiment of the present invention, the processing module 903 may be specifically configured to store the first picture, the screenshot picture of the target interface, and the mosaic picture in the target directory.
Optionally, in this embodiment of the present invention, the receiving module 902 may be further configured to receive a second input after the stitched picture is generated and stored. A display module 901, which may be configured to display the stitched picture in response to the second input received by the receiving module 902. The processing module 903 may further be configured to share the stitched picture to the target object in response to the second input received by the receiving module 902.
Optionally, in this embodiment of the present invention, the first picture is an original picture corresponding to the target picture. The receiving module 902 may be further configured to receive a third input to the stitched picture after the display module 901 displays the stitched picture. The display module 901 may further be configured to display an original picture corresponding to the target picture in response to the third input received by the receiving module 902. The processing module 903 may further be configured to, in response to the third input received by the receiving module 902, share the original picture corresponding to the target picture with the target object.
Optionally, in this embodiment of the present invention, the first picture is a graphic identification code corresponding to a link of the target video. The receiving module 902 may be further configured to receive a fourth input to the stitched picture after the display module 901 displays the stitched picture. The processing module 903 may be further configured to play the target video in response to the fourth input received by the receiving module 902; or, downloading the target video; or, the link of the target video is shared to the target object.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides electronic equipment, which can receive first input under the condition that a target interface is displayed and comprises target multimedia; responding to the first input, and generating and storing a spliced picture; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video. By means of the scheme, in the case that the target interface comprises the target multimedia, the electronic device can generate the spliced picture according to the screenshot picture of the target interface and the first picture corresponding to the target multimedia in the target interface in response to the input of the user, so that the spliced picture can comprise more information, for example, when the target multimedia comprises the target picture or the target video, the spliced picture can comprise an original picture of the target picture or a graphic identification code corresponding to a link of the target video, and therefore the information contained in the spliced picture stored in the embodiment of the invention is more complete.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. The electronic device may be a terminal device, such as a mobile phone. As shown in fig. 10, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the processor 210 may be configured to control the user input unit 207 to receive a first input if the target interface is displayed on the display unit 206 and includes the target multimedia; and is configured to generate and store the stitched picture in response to the first input received by the user input unit 207. The spliced picture can be spliced by a first picture corresponding to the target multimedia and a screenshot picture of the target interface, and the target multimedia can include at least one of the following items: a target picture and a target video.
In this embodiment of the present invention, the processor 210 may store the stitched picture in the memory 209.
The embodiment of the invention provides electronic equipment, which can receive first input under the condition that a target interface is displayed and comprises target multimedia; responding to the first input, and generating and storing a spliced picture; the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video. By means of the scheme, in the case that the target interface comprises the target multimedia, the electronic device can generate the spliced picture according to the screenshot picture of the target interface and the first picture corresponding to the target multimedia in the target interface in response to the input of the user, so that the spliced picture can comprise more information, for example, when the target multimedia comprises the target picture or the target video, the spliced picture can comprise an original picture of the target picture or a graphic identification code corresponding to a link of the target video, and therefore the information contained in the spliced picture stored in the embodiment of the invention is more complete.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device 200 provides the user with wireless broadband internet access via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 201 in case of a phone call mode.
The electronic device 200 also includes at least one sensor 205, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 10 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to each component, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and thus are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 210 as shown in fig. 10, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (20)

1. A picture acquisition method, characterized in that the method comprises:
receiving a first input under the condition that a target interface is displayed and comprises target multimedia;
generating and storing a stitched picture in response to the first input;
the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video.
2. The method of claim 1, wherein the target multimedia includes the target picture, and wherein the first picture includes an original picture corresponding to the target picture;
before generating and storing the stitched picture, the method further comprises:
and downloading an original picture corresponding to the target picture from the target equipment.
3. The method of claim 1, wherein the target multimedia includes the target video, and wherein the first picture includes a graphical identification code corresponding to a link to the target video;
before generating and storing the stitched picture, the method further comprises:
acquiring a link of the target video;
and generating the graphic identification code according to the link of the target video.
4. The method of claim 1, wherein generating and storing the stitched picture comprises:
generating the spliced picture based on the first picture and the screen shot picture;
and storing the spliced picture.
5. The method of claim 4, wherein generating the stitched picture based on the first picture and the screenshot picture comprises:
splicing the first picture and the screen capture picture according to a target mode to generate a spliced picture;
wherein the target mode is any one of: adjusting the width of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture, which have the same width; adjusting the height of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture with the same height; and splicing any edge of the first picture to any edge of the screen capture picture according to the original size.
6. The method of claim 4, wherein storing the stitched picture comprises:
and storing the first picture, the screen capture picture and the spliced picture in a target directory.
7. The method according to any one of claims 1 to 5, wherein after the generating and storing the stitched picture, the method further comprises:
receiving a second input;
and responding to the second input, displaying the spliced picture, or sharing the spliced picture to a target object.
8. The method according to claim 7, wherein the first picture is an original picture corresponding to the target picture; after the displaying the stitched picture, the method further comprises:
receiving a third input to the stitched picture;
in response to the third input, displaying an original picture corresponding to the target picture; or sharing the original picture corresponding to the target picture to the target object.
9. The method of claim 7, wherein the first picture is a graphical identification code corresponding to a link of the target video; after the displaying the stitched picture, the method further comprises:
receiving a fourth input to the stitched picture;
in response to the fourth input, playing the target video; or, downloading the target video; or sharing the link of the target video to the target object.
10. An electronic device, comprising a display module, a receiving module, and a processing module;
the receiving module is used for receiving a first input under the condition that the display module displays a target interface which comprises target multimedia;
the processing module is used for responding to the first input received by the receiving module and generating and storing a spliced picture;
the spliced picture is formed by splicing a first picture corresponding to the target multimedia and a screen capture picture of the target interface, and the target multimedia comprises at least one of the following items: a target picture and a target video.
11. The electronic device of claim 10, wherein the target multimedia includes the target picture, and wherein the first picture includes an original picture corresponding to the target picture;
the processing module is further configured to download an original picture corresponding to the target picture from a target device before generating and storing the stitched picture.
12. The electronic device of claim 10, wherein the target multimedia includes the target video, and wherein the first picture includes a graphical identification code corresponding to a link to the target video;
the processing module is further used for acquiring the link of the target video before the spliced picture is generated and stored; and generating the pattern identification code according to the link of the target video.
13. The electronic device according to claim 10, wherein the processing module is specifically configured to generate the stitched picture based on the first picture and the screenshot picture; and storing the spliced picture.
14. The electronic device according to claim 13, wherein the processing module is specifically configured to splice the first picture and the screenshot picture in a target manner, and generate the spliced picture;
wherein the target mode is any one of: adjusting the width of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture, which have the same width; adjusting the height of the first picture to be the same as that of the screen capture picture, and splicing two sides of the adjusted first picture and the screen capture picture with the same height; and splicing any edge of the first picture to any edge of the screen capture picture according to the original size.
15. The electronic device according to claim 13, wherein the processing module is specifically configured to store the first picture, the screenshot picture, and the stitched picture in a target directory.
16. The electronic device of any of claims 10-15, wherein the receiving module is further configured to receive a second input after the stitched picture is generated and stored;
the display module is used for responding to the second input received by the receiving module and displaying the spliced picture;
the processing module is further configured to share the stitched picture with a target object in response to the second input received by the receiving module.
17. The electronic device of claim 16, wherein the first picture is an original picture corresponding to the target picture;
the receiving module is further configured to receive a third input to the stitched picture after the display module displays the stitched picture;
the display module is further configured to display an original picture corresponding to the target picture in response to the third input received by the receiving module;
the processing module is further configured to share an original picture corresponding to the target picture to a target object in response to the third input received by the receiving module.
18. The electronic device of claim 16, wherein the first picture is a graphical identification code corresponding to a link to the target video;
the receiving module is further configured to receive a fourth input to the stitched picture after the display module displays the stitched picture;
the processing module is further configured to play the target video in response to the fourth input received by the receiving module; or, downloading the target video; or sharing the link of the target video to the target object.
19. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the picture taking method according to any one of claims 1 to 9.
20. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the picture acquisition method according to any one of claims 1 to 9.
CN202010136595.9A 2020-03-02 2020-03-02 Picture acquisition method and electronic equipment Pending CN111383175A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010136595.9A CN111383175A (en) 2020-03-02 2020-03-02 Picture acquisition method and electronic equipment
PCT/CN2021/077810 WO2021175143A1 (en) 2020-03-02 2021-02-25 Picture acquisition method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010136595.9A CN111383175A (en) 2020-03-02 2020-03-02 Picture acquisition method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111383175A true CN111383175A (en) 2020-07-07

Family

ID=71221449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010136595.9A Pending CN111383175A (en) 2020-03-02 2020-03-02 Picture acquisition method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111383175A (en)
WO (1) WO2021175143A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764857A (en) * 2021-01-21 2021-05-07 维沃移动通信有限公司 Information processing method and device and electronic equipment
WO2021175143A1 (en) * 2020-03-02 2021-09-10 维沃移动通信有限公司 Picture acquisition method and electronic device
WO2022237491A1 (en) * 2021-05-13 2022-11-17 腾讯科技(深圳)有限公司 Multimedia data processing method and apparatus, and device, computer-readable storage medium and computer program product

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153346A (en) * 2021-11-30 2022-03-08 Oppo广东移动通信有限公司 Picture processing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
CN109445894A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of screenshot method and electronic equipment
CN109460177A (en) * 2018-09-27 2019-03-12 维沃移动通信有限公司 A kind of image processing method and terminal device
CN110096203A (en) * 2019-04-29 2019-08-06 维沃移动通信有限公司 A kind of screenshot method and mobile terminal
CN110109593A (en) * 2019-04-29 2019-08-09 维沃移动通信有限公司 A kind of screenshotss method and terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679405B (en) * 2015-02-06 2019-05-14 深圳市金立通信设备有限公司 A kind of terminal
CN106383634A (en) * 2016-09-30 2017-02-08 维沃移动通信有限公司 Picture processing method and electronic equipment
CN110231905B (en) * 2019-05-07 2021-02-09 华为技术有限公司 Screen capturing method and electronic equipment
CN111383175A (en) * 2020-03-02 2020-07-07 维沃移动通信有限公司 Picture acquisition method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
CN109460177A (en) * 2018-09-27 2019-03-12 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109445894A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of screenshot method and electronic equipment
CN110096203A (en) * 2019-04-29 2019-08-06 维沃移动通信有限公司 A kind of screenshot method and mobile terminal
CN110109593A (en) * 2019-04-29 2019-08-09 维沃移动通信有限公司 A kind of screenshotss method and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021175143A1 (en) * 2020-03-02 2021-09-10 维沃移动通信有限公司 Picture acquisition method and electronic device
CN112764857A (en) * 2021-01-21 2021-05-07 维沃移动通信有限公司 Information processing method and device and electronic equipment
WO2022237491A1 (en) * 2021-05-13 2022-11-17 腾讯科技(深圳)有限公司 Multimedia data processing method and apparatus, and device, computer-readable storage medium and computer program product

Also Published As

Publication number Publication date
WO2021175143A1 (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN110196667B (en) Notification message processing method and terminal
CN109525710B (en) Method and device for accessing application program
WO2021175143A1 (en) Picture acquisition method and electronic device
US20210352040A1 (en) Message sending method and terminal device
CN110602565A (en) Image processing method and electronic equipment
CN109085968B (en) Screen capturing method and terminal equipment
CN109857297B (en) Information processing method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN108920226B (en) Screen recording method and device
WO2020192299A1 (en) Information display method and terminal device
CN110865745A (en) Screen capturing method and terminal equipment
WO2021093766A1 (en) Message display method, and electronic apparatus
CN108121486B (en) Picture display method and mobile terminal
CN110703972B (en) File control method and electronic equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN111158817A (en) Information processing method and electronic equipment
CN108600079B (en) Chat record display method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109672845B (en) Video call method and device and mobile terminal
CN109063079B (en) Webpage labeling method and electronic equipment
CN108804628B (en) Picture display method and terminal
CN111399715B (en) Interface display method and electronic equipment
CN111694497B (en) Page combination method and electronic equipment

Legal Events

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