CN111045560A - Method for sending picture and electronic equipment - Google Patents

Method for sending picture and electronic equipment Download PDF

Info

Publication number
CN111045560A
CN111045560A CN201911089651.1A CN201911089651A CN111045560A CN 111045560 A CN111045560 A CN 111045560A CN 201911089651 A CN201911089651 A CN 201911089651A CN 111045560 A CN111045560 A CN 111045560A
Authority
CN
China
Prior art keywords
picture
electronic device
target
input
user
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
CN201911089651.1A
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 CN201911089651.1A priority Critical patent/CN111045560A/en
Publication of CN111045560A publication Critical patent/CN111045560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Abstract

The embodiment of the invention provides a picture sending method and electronic equipment, which are applied to the technical field of communication and are used for solving the problem of complex operation when the existing electronic equipment views pictures related to a screenshot. The method comprises the following steps: receiving a first input of a user under the condition that the first picture is displayed in the first display area; in response to the first input, intercepting display content in a target display area to obtain a target screenshot, wherein the target display area comprises the first display area; receiving a second input of the user aiming at the target screenshot; and responding to the second input, and sending the target screenshot and the first picture to second electronic equipment.

Description

Method for sending picture and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a picture sending method and electronic equipment.
Background
With the development of electronic device technology, a large number of Applications (APPs), such as chat APPs, are installed in electronic devices, which brings great convenience to various aspects of daily life of users.
At present, a user usually sends a screenshot through electronic equipment when chatting by using a chat APP to conveniently convey chat messages, the screenshot sent by the user through the electronic equipment may relate to both the chat messages and pictures sent by the user through the electronic equipment, and if other users receive the screenshot and want to view the pictures related to the screenshot, the other users can view the pictures in a mode of amplifying the screenshot.
However, viewing the picture referred to in the above-mentioned screenshot by enlarging the screenshot makes the picture very blurred and loses much of the picture details.
Disclosure of Invention
The embodiment of the invention provides a picture sending method and electronic equipment, and aims to solve the problem of complex operation when the existing electronic equipment views pictures related to a screenshot.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for sending a picture, which is applied to a first electronic device, and the method includes:
receiving a first input of a user under the condition that the first picture is displayed in the first display area; in response to the first input, intercepting display content in a target display area to obtain a target screenshot, wherein the target display area comprises the first display area; receiving a second input of the user aiming at the target screenshot; and responding to the second input, and sending the target screenshot and the first picture to second electronic equipment.
Optionally, the first picture is displayed in the target chat interface; the sending the target screenshot and the first picture to the second electronic device specifically includes: and sending the target screenshot and a first label corresponding to the first picture to a server, and sending the target screenshot and the first picture to second electronic equipment through the server, wherein the server is a server corresponding to the target application.
Optionally, after obtaining the target screenshot, the method further includes: receiving a third input of the user aiming at the target screenshot; and responding to the third input, and displaying the first picture.
Optionally, the first picture corresponds to a target area of the target screenshot; the receiving of the third input of the user for the target screenshot specifically includes: a third input by the user for the target area is received.
Optionally, the sending the target screenshot and the first picture to the second electronic device in response to the second input specifically includes: and responding to the second input, and sending the target screenshot and the first picture to the second electronic equipment when the intimacy degree of the first electronic equipment and the second electronic equipment is greater than or equal to a preset intimacy degree threshold value.
In a second aspect, an embodiment of the present invention further provides a method for receiving a picture, which is applied to a first electronic device, and the method includes:
receiving a target screenshot sent by first electronic equipment and a first picture corresponding to the target screenshot; receiving a fourth input of the user aiming at the target screenshot; and responding to the fourth input, and displaying the first picture.
Optionally, the first picture corresponds to a target area of the target screenshot; the receiving of the fourth input of the user for the target screenshot specifically includes: a fourth input by the user for the target area is received.
Optionally, the receiving a target screenshot sent by a first electronic device and a first picture corresponding to the target screenshot specifically includes: receiving a target screenshot sent by first electronic equipment through a server, and receiving a first picture sent by the server.
Optionally, before receiving the first picture sent by the server, the method further includes: receiving a target screenshot sent by first electronic equipment through the server; generating a second label for the target pattern in the target screenshot, and sending the second label to the server; the target pattern is a pattern of the first picture in the target screenshot; the first picture is a picture corresponding to the first label matched with the second label in the server.
Optionally, the receiving a target screenshot sent by a first electronic device and a first picture corresponding to the target screenshot specifically includes: when the intimacy of the first electronic device and the second electronic device is larger than or equal to a preset intimacy threshold, receiving a target screenshot sent by the first electronic device and a first picture corresponding to the target screenshot.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes:
the receiving module is used for receiving a first input of a user under the condition that the first picture is displayed in the first display area; an intercepting module, configured to intercept display content in a target display area in response to the first input received by the receiving module, to obtain a target screenshot, where the target display area includes the first display area; the receiving module is further configured to receive a second input of the user for the target screenshot; and the sending module is used for responding to the second input received by the receiving module and sending the target screenshot and the first picture to second electronic equipment.
Optionally, the sending module is specifically configured to send the target screenshot, the first picture, and the first tag corresponding to the first picture to a server under the condition that the first picture is displayed in an interface of a target application, and send the target screenshot and the first picture to a second electronic device through the server.
Optionally, the electronic device further includes: the receiving module is further configured to receive a third input of the user for the target screenshot; the display module is configured to display the first picture in response to the third input received by the receiving module.
Optionally, the receiving module is specifically configured to receive a third input of the user for the target area when the first picture corresponds to the target area of the target screenshot.
Optionally, the sending module is specifically configured to send, in response to the second input, the target screenshot and the first picture to the second electronic device when the intimacy degree of the first electronic device and the second electronic device is greater than or equal to a predetermined intimacy degree threshold.
In a fourth aspect, an embodiment of the present invention provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes:
the receiving module is used for receiving a target screenshot sent by first electronic equipment and a first picture corresponding to the target screenshot, and receiving fourth input of a user for the target screenshot; and the display module is used for responding to the fourth input received by the receiving module and displaying the first picture.
Optionally, the receiving module is specifically configured to receive a fourth input of the user for the target area when the first picture corresponds to the target area of the target screenshot.
Optionally, the receiving module is specifically configured to receive a target screenshot sent by a first electronic device and a first picture corresponding to the target screenshot, and specifically includes: receiving a target screenshot sent by first electronic equipment through a server, and receiving a first picture sent by the server.
Optionally, the electronic device further includes: an execution module, wherein: the receiving module is further configured to receive a target screenshot sent by the first electronic device through the server; the execution module is configured to generate a second tag for the target pattern in the target screenshot received by the receiving module, and send the second tag to the server; the target pattern is a pattern corresponding to the first picture in the target screenshot; the first picture is a picture corresponding to the first label matched with the second label in the server.
Optionally, the receiving module is specifically configured to receive a target screenshot sent by the first electronic device and a first picture corresponding to the target screenshot when the intimacy degree of the first electronic device and the second electronic device is greater than or equal to a predetermined intimacy degree threshold.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for receiving pictures according to the first aspect, or implements the steps of the method for displaying pictures according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for receiving a picture according to the first aspect, or the steps of the method for displaying a picture according to the second aspect.
In the embodiment of the invention, when first electronic equipment displays a first picture in a first display area, after receiving a first input of a user, the first electronic equipment intercepts display contents in a target display area (including the first display area) to obtain a target screenshot; after the first electronic device receives the second input of the user for the target screenshot, the target screenshot and the first picture are sent to the second electronic device, so that the second electronic device can display the first picture after receiving the target screenshot and the first picture and after receiving the fourth input of the user for the target screenshot, the user can directly view the first picture, the whole process is simple and convenient to operate, and efficiency is high.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for sending a picture according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for displaying a picture according to an embodiment of the present invention;
fig. 4 is a schematic view of an interface applied by a picture display method according to an embodiment of the present invention;
fig. 5 is a second schematic view of an interface applied by the method for displaying a picture according to the embodiment of the present invention;
fig. 6 is a third schematic view of an interface applied by a method for displaying a picture according to an embodiment of the present invention;
fig. 7 is a fourth schematic view of an interface applied by the method for displaying a picture according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of an electronic apparatus according to a second embodiment of the present invention;
fig. 10 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the 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 application.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
It should be noted that "a plurality" herein means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or 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.
It should be noted that, for the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions or actions, and those skilled in the art can understand that the words such as "first" and "second" do not limit the quantity and execution order. For example, the first terminal and the second terminal are for distinguishing different terminals, not for describing a specific order of the terminals.
The execution main body of the picture displaying method provided by the embodiment of the present invention may be the electronic device (including a mobile electronic device and a non-electronic terminal device) described above, or may also be a functional module and/or a functional entity capable of implementing the picture displaying method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily explain a picture display method provided by the embodiment of the present invention.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. The mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
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.
The following describes a software environment to which the image display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible 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 display 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 display method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the method for displaying the picture provided by the embodiment of the present invention by running the software program in the android operating system.
The following describes a method for sending a picture according to an embodiment of the present invention with reference to a flow chart of the method for sending a picture shown in fig. 2, where fig. 2 is a flow chart of the method for sending a picture according to the embodiment of the present invention, and is applied to a first electronic device, and includes steps 201 to 204:
step 201: in the case that the first picture is displayed in the first display area, the first electronic device receives a first input of a user.
In an embodiment of the invention, the first display area may be a display area of a screen of the first electronic device, and the first display area may display all or part of the first picture.
In this embodiment of the present invention, the first picture may be a picture cached in the first electronic device, or may be a picture stored in a server (for example, a cloud server), which is not limited in this embodiment of the present invention.
In an embodiment of the present invention, the receiving the first input of the user may include: the embodiment of the present invention does not limit the input of the user to the screen of the first electronic device, or the input of the user to the target key.
In an embodiment of the present invention, the input of the screen of the first electronic device by the user specifically includes: the specific input may be determined according to actual use requirements, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the click input in the application can be click input, double-click input or click input of any number of times; the click input may be a long-press input or a short-press input. The slide input in the present application may be a slide input in any direction, for example, an upward slide, a downward slide, a leftward slide, or a rightward slide, and the slide trajectory of the slide input may be a straight line or a curved line. The dragging input in the present application may be a dragging input to any direction, for example, dragging clockwise, dragging counterclockwise, dragging upward, dragging downward, dragging leftward, or dragging rightward, and the like, and may be specifically set according to actual requirements.
Step 202: and responding to the first input, and intercepting the display content in the target display area by the first electronic equipment to obtain the target screenshot.
In an embodiment of the present invention, the target display area includes a first display area.
For example, the target display area may be a display area of an interface of the first electronic device, or may be a display area of any interface in an application program, which is not limited in the embodiment of the present invention.
For example, the target screenshot may be a screenshot containing a target pattern, where the target pattern is a pattern of the first picture in the target screenshot.
Step 203: and the first electronic equipment receives a second input of the user aiming at the target screenshot.
In an embodiment of the present invention, the second input is an input that the first electronic device sends the target screenshot and the first picture to the second electronic device.
In this embodiment of the present invention, the second input of the target screenshot by the user specifically includes: specifically, the click input of the user on the target screenshot, or the slide input of the user on the target screenshot, or the drag input of the user on the target screenshot, or other feasible inputs of the user on the target screenshot may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Step 204: and responding to the second input, and sending the target screenshot and the first picture to the second electronic equipment by the first electronic equipment.
For example, the first electronic device may send the first picture to the second electronic device after sending the target screenshot to the second electronic device; the first electronic device may also send the first picture to the second electronic device while sending the target screenshot to the second electronic device, which is not limited in the embodiment of the present invention.
Illustratively, when the first picture is a picture saved in the server, the first electronic device sends the first picture to the second electronic device, which may be understood as that the first electronic device triggers the server to send the first picture to the second electronic device.
According to the method for sending the picture, provided by the embodiment of the invention, under the condition that the first electronic equipment displays the first picture in the first display area, after the first electronic equipment receives the first input of a user, the first electronic equipment can intercept the display content in the target display area (including the first display area) to obtain a target screenshot; after the first electronic device receives the second input of the user for the target screenshot, the target screenshot and the first picture are sent to the second electronic device, so that the second electronic device can display the first picture after receiving the target screenshot and the first picture and after receiving the fourth input of the user for the target screenshot, the user can directly view the first picture, the whole process is simple and convenient to operate, and efficiency is high.
Optionally, in this embodiment of the present invention, if the first picture is already stored in the server, the first electronic device may trigger the server to send the first picture to the second electronic device.
Illustratively, the step 204 may specifically include the following step 204 a:
step 204 a: and under the condition that the first picture is displayed in an interface of a target application, the first electronic equipment sends the target screenshot and a first label corresponding to the first picture to a server, and sends the target screenshot and the first picture to the second electronic equipment through the server.
For example, the target application may be any application in the first electronic device. For example, if the target application is a chat application, the server is a server corresponding to the chat application.
For example, the first tag may be manually marked by a user when the first picture is stored by the first electronic device, or may be generated by the first electronic device by using an image analysis model, which is not limited in the embodiment of the present invention. For example, the tags in the present application may be image semantic tags of pictures.
For example, the server is a server corresponding to the target application, and the server may be a cloud server.
In one example, the server may actively send the first picture. That is, after the server receives the first tag, the server may find the corresponding first picture in the server and the second electronic device sends the first picture.
In another example, the server may passively send the first picture. That is, after the server receives the first tag, the server may find the corresponding first picture in the server. After the server receives a second label sent by the second electronic device, if the second label is matched with the first label, the server sends a first picture to the second electronic device.
Therefore, when the first picture is stored in the server, the first electronic device can directly trigger the server to send the first picture without acquiring the first picture and sending the first picture to the second electronic device, so that the sending step is simple and convenient, and the efficiency is high.
Optionally, in the embodiment of the present invention, after the first electronic device obtains the target screenshot, the user may view the first picture by touching the target screenshot.
Illustratively, after the step 202, the method may further include the following steps 202a and 202 b:
step 202 a: and the first electronic equipment receives a third input of the user aiming at the target screenshot.
In this embodiment of the present invention, the third input of the target screenshot by the user specifically may include: specifically, the click input of the user on the target screenshot, or the slide input of the user on the target screenshot, or the drag input of the user on the target screenshot, or other feasible inputs of the user on the target screenshot may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Step 202 b: and responding to the third input, and displaying the first picture by the first electronic equipment.
For example, when there is one first picture, the first electronic device may display the first picture on all screens or may display the first picture on a part of screens; when the number of the first pictures is multiple, the first electronic device may display a first interface on the current interface, display target identifiers corresponding to all the first pictures in the first interface, and because one target identifier indicates one first picture, the user may select the first picture that the user wants to view by inputting the target identifier.
Therefore, after the first electronic device receives the third input of the user for the target screenshot, the first electronic device can directly display the first picture corresponding to the target screenshot, so that the user can directly view the first picture through the input of the target screenshot without searching the chat picture, and the whole process is simple and convenient to operate and high in efficiency.
Further optionally, in the embodiment of the present invention, the step 202a specifically includes the following step 202a 1:
step 202a 1: and under the condition that the first picture corresponds to the target area of the target screenshot, the first electronic equipment receives a third input of the user aiming at the target area.
In an embodiment of the present invention, the target area may be an area where the target pattern is located on the target screenshot.
In the embodiment of the present invention, the target area may be determined in at least the following two possible implementation manners, and the specific scheme is as follows.
In a first possible implementation:
illustratively, the third input is a sliding input of the user on the screenshot, and the target area is: the area formed by the input trace of the slide input. In an example, the third input is an input of a user circling on the target screenshot, and at this time, the first electronic device may use a circled area as the target area.
It should be noted that, when the area outlined by the sliding track of the finger of the user on the target screenshot cannot be identified, the electronic device may instruct the user to re-input the input. Further, when the user's finger is circling along the edge of the screen, the entire target screenshot may be selected as the target area.
In a second possible implementation:
illustratively, prior to step 202a1, the method further includes the following steps B1 and B2:
step B1: and in the case that the first electronic equipment displays the target screenshot, the first electronic equipment receives a fifth input of the user.
For example, the fifth input of the user may specifically include: the target screenshot may be specifically determined according to actual use requirements, and the present invention is not limited to this, where the target screenshot is input by a user by clicking, or by sliding, or by dragging, or by other feasibility inputs.
For example, the fifth input of the user may be a long-press input of the target screenshot by the user.
It should be noted that, the description of the click input, the slide input, and the drag input may refer to the description of the first input in the implementation of the present invention, and is not repeated herein.
Step B2: and responding to the fifth input, and displaying a selection box on the target screenshot by the first electronic equipment.
Illustratively, the fifth input may further include: an input for moving the selection box, and/or an input for adjusting the size of the selection box; the target area is an area corresponding to the selection box in the target screenshot.
In one example, the selection box is a rectangular box, which can be enlarged or reduced along a diagonal line of the rectangular frame according to a user gesture, for example, when the size of the rectangular box is reduced, the rectangular box can be squeezed inward along the diagonal line.
In the embodiment of the present invention, the shape of the selection frame may be any possible shape such as a circle, a rectangle, a triangle, a diamond, a circle, or a polygon, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the size of the selection box may be a default size, or may be flexibly adjusted along with the operation of the user. It should be noted that the size of the rectangular frame is enlarged to the maximum, that is, the rectangular frame is enlarged to be equal to the size of the screen, and the representative target area is the whole page.
In an embodiment of the present invention, the selection box may be displayed in a floating manner on the target screenshot. For example, when the user drags the selection box on the target screenshot, the selection box may move on the target screenshot along with the dragging operation of the user.
In the embodiment of the present invention, the above-mentioned selection box may be displayed in the target screenshot in a superimposed manner with a preset transparency, for example, if the preset transparency is denoted as T1, the value range of T1 may be 0% < T1< 100%. In addition, the rectangular frame may also be displayed on the target screenshot with high brightness or low brightness, which is not limited in the present invention.
Therefore, the user can trigger the first electronic device to display the first picture through the touch target area, and when the number of the first pictures is multiple, the user can trigger the first electronic device to display the first picture to be viewed more accurately.
Optionally, in the embodiment of the present invention, the first electronic device may determine whether to send the target screenshot and the first picture to the second electronic device according to a preset affinity threshold.
Illustratively, the step 204 may specifically include the following step 204 b:
step 204 b: and responding to the second input, and when the intimacy of the first electronic equipment and the second electronic equipment is greater than or equal to a preset intimacy threshold, the first electronic equipment sends the target screenshot and the first picture to the second electronic equipment.
Illustratively, the intimacy degree can be estimated according to at least one of the following: the user name, the number of chatting and interaction within a predetermined time, and the chatting content may be specifically set according to actual requirements, which is not limited in the present invention.
Example 1, the first electronic device makes a score estimate of the name of the user who notes the second electronic device, and the score is denoted as a 1. For example, the value of a1 estimated by the user name "dad", "mom", "wife", etc., which the user (corresponding to the first electronic device) notes for the opposite user (corresponding to the second electronic device) in the chat APP is larger than the value of a1 estimated by the user name "sell" or other net name which the user notes for the opposite user.
Example 2, the first electronic device makes a score estimate of the number of chat interactions with the second electronic device over a predetermined time, and the score is denoted as a 2. For example, in the chat APP, 10 times of chat interaction between the user (corresponding to the first electronic device) and the counterpart user (corresponding to the second electronic device) within one week, the estimated value of a2 is greater than the estimated value of a2 when the user and the counterpart user chat 1 time within a period of time.
Example 3, the first electronic device performs a score estimation on the chat content with the second electronic device, and the score is marked as a 3. For example, in the chat APP, a user (corresponding to a first electronic device) can analyze the chat content with a counterpart user (corresponding to a second electronic device) through a semantic analysis deep learning network (including a text analysis network and a voice analysis network), extract keywords, and if the extracted keywords are matched with the affinity keyword library, the more the matched affinity keywords are, the estimated value of A3 is larger, and the less the matched affinity keywords are, the estimated value of A3 is larger.
For example, the first electronic device may use the estimated average of a1, a2, and A3 as the final intimacy between the first electronic device and the second electronic device.
Therefore, the first electronic device can determine whether to send the target screenshot and the first picture to the second electronic device through the intimacy with the second electronic device, so that only the second electronic device with high intimacy can receive the target screenshot and the first picture, and the second electronic device with low intimacy cannot receive the target screenshot and the first picture, and further privacy of a user is protected.
The following describes a picture displaying method according to an embodiment of the present invention with reference to a flow chart of the picture displaying method shown in fig. 3, where fig. 3 is a flow chart of the picture displaying method provided in the embodiment of the present invention, and is applied to a second electronic device, and includes steps 301 to 303:
step 301: the second electronic equipment receives the target screenshot sent by the first electronic equipment and the first picture corresponding to the target screenshot.
For example, the target screenshot may correspond to one first picture or a plurality of first pictures, which is not limited in the embodiment of the present invention.
For example, the target screenshot may include a target pattern, where the target pattern is the pattern of the first picture in the screenshot. For example, the target pattern may be a part or all of the pattern in the first picture.
For example, the target screenshot may include a pattern corresponding to a text, or may include a pattern corresponding to a picture.
Step 302: and the second electronic equipment receives a fourth input of the user aiming at the target screenshot.
In an embodiment of the present invention, the receiving of the fourth input of the user for the target screenshot may include: the user inputs the target screenshot, or the user inputs the target pattern, which is not limited in the embodiment of the present invention.
In an embodiment of the present invention, the input of the target screenshot by the user specifically includes: specifically, the click input of the user on the target screenshot, or the slide input of the user on the target screenshot, or the drag input of the user on the target screenshot, or other feasible inputs of the user on the target screenshot may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the click input in the application can be click input, double-click input or click input of any number of times; the click input may be a long-press input or a short-press input. The slide input in the present application may be a slide input in any direction, for example, an upward slide, a downward slide, a leftward slide, or a rightward slide, and the slide trajectory of the slide input may be a straight line or a curved line. The dragging input in the present application may be a dragging input to any direction, for example, dragging clockwise, dragging counterclockwise, dragging upward, dragging downward, dragging leftward, or dragging rightward, and the like, and may be specifically set according to actual requirements.
Optionally, in the embodiment of the present invention, before the step 302, the method may further include the following step C1:
step C1: and the second electronic equipment displays the target screenshot.
For example, the target screenshot displayed by the second electronic device may be understood as a full screen display of the target screenshot in a screen of the second electronic device.
For example, as shown in (a) in fig. 4, a chat interface between the user 1 and the user 2 in the chat APP (i.e., 41 in (a) in fig. 4) is displayed on the display screen of the first electronic device, the screenshot sent by the user 2 (i.e., the above-mentioned target screenshot, such as 42 in (a) in fig. 4) is displayed in the chat interface 41, and when the user 1 wants to view the screenshot 42, the user 1 can click on the screenshot 42, at which time, as shown in (b) in fig. 4, the screenshot (i.e., 42 in (b) in fig. 4) is displayed in full screen in the chat interface between the user 1 and the user 2 (i.e., 41 in (b) in fig. 4), and the screenshot 42 is displayed with a pattern of chat messages (i.e., "message 1" and "message 2") between the user 1 and the user 2 and a pattern of a picture sent by the user 2 to the user 1 (i.e., 43 in (b) in fig. 4).
Step 303: and responding to the fourth input, and displaying the first picture by the second electronic equipment.
For example, when there is one first picture, the second electronic device may display the first picture on all screens or may display the first picture on a part of screens; when the number of the first pictures is multiple, the second electronic device may display a target interface on the current interface, and display target identifiers corresponding to all the first pictures in the target interface, and because one target identifier indicates one first picture, the user may select the first picture that the user wants to view by inputting the target identifier.
For example, in connection with (b) of FIG. 4, when user 1 wants to view the picture sent to user 1 by user 2 involved in screenshot 42, user 1 may double-click screenshot 42 (i.e., the fourth input described above). Example 1, as shown in fig. 5, a picture (i.e. the first picture, 51 in fig. 5) sent by the user 2 to the user 1 is displayed on the full screen of the chat interface 41, and the user 1 can save and edit the picture 51. Example 2, as shown in fig. 6, a target interface (i.e. 61 in fig. 6) is superimposed on the chat interface 41, a picture thumbnail (i.e. the above target identifier, as shown in fig. 6, 62) is displayed on the target interface 61, and since the picture thumbnail is the picture thumbnail sent by the user 2 to the user 1, when the user clicks the picture thumbnail 62, as shown in fig. 5, the second electronic device may display the picture sent by the user 2 to the user 1 in full screen on the chat interface 41.
According to the picture display method provided by the embodiment of the invention, after the second electronic device receives the target screenshot and the first picture and receives the fourth input of the user for the target screenshot, the second electronic device can display the first picture, so that the user can directly view the first picture, the viewing process is simple and convenient to operate, and the efficiency is high.
Optionally, in the embodiment of the present invention, the user may trigger the second electronic device to display the first picture corresponding to the target area by touching the target area in the target screenshot.
Illustratively, the step 302 may specifically include the following step 302 a:
step 302 a: and under the condition that the first picture corresponds to the target area of the target screenshot, the second electronic equipment receives a fourth input of the user aiming at the target area.
For example, the target area may be an area where the target pattern is located on the target screenshot.
It should be noted that, for a specific scheme for determining the target area, reference may be made to the description of the scheme for determining the target area in the sending method for pictures provided in the embodiment of the present invention, and details are not repeated here.
For example, referring to (b) in fig. 4, when the user 1 wants to view the picture sent to the user 1 by the user 2 involved in the screenshot 42, the user 1 may press the screenshot 42 for a long time (i.e. the fifth input mentioned above), as shown in fig. 7, a rectangular frame (i.e. the selection frame mentioned above, as shown in fig. 7) is displayed on the screenshot 42, the user 1 may move the rectangular frame 71 and adjust the size of the rectangular frame 71 (i.e. the fourth input mentioned above) to frame the pattern 43 (i.e. the target pattern mentioned above), and the area framed by the rectangular frame is the target area. When the user clicks the target area, the second electronic device displays the picture, which is sent to the user 1 by the user 2 involved in the screenshot 42, in full screen, as shown in fig. 5.
Therefore, the user can trigger the second electronic device to display the first picture by touching the target area, and when the number of the first pictures is multiple, the user can trigger the second electronic device to display the first picture to be viewed more accurately.
Optionally, in an embodiment of the present invention, the step 301 may specifically include the step 301 a:
step 301 a: and the second electronic equipment receives the target screenshot sent by the first electronic equipment through the server and receives the first picture sent by the server.
Further optionally, in this embodiment of the present invention, after the second electronic device receives the target screenshot sent by the first electronic device through the server, the server may passively send the first picture.
For example, based on the step 301a, before the receiving the first picture sent by the server, the method may further include the following steps 301a1 and 301a 2:
step 301a 1: and the second electronic equipment receives the target screenshot sent by the first electronic equipment through the server.
In one example, the second electronic device may directly receive the target screenshot sent by the first electronic device.
Step 301a 2: and the second electronic equipment generates a second label for the target pattern in the target screenshot and sends the second label to the server.
Illustratively, the target pattern is a pattern of the first picture in the target screenshot; the first picture is a picture corresponding to the first label matched with the second label in the server.
For example, the second electronic device may identify the target pattern by using an image analysis model, and generate a corresponding second tag for the target pattern.
For example, the first tag matching with the second tag mentioned above refers to: when the matching degree of the third label and the label stored in the server is greater than or equal to a target preset threshold (for example, eighty-five percent), the label is considered to be the first label matched with the third label.
For example, the searching for the first tag matching with the second tag includes: and comparing the second label with each label stored in the server, finding out a first label with the matching degree larger than or equal to a target preset threshold value from the matching degree of the second label and each label stored in the server, and taking the picture corresponding to the first label as a first picture.
Therefore, only when the second electronic device actively checks the first picture, the server can send the first picture to the second electronic device, and therefore the phenomenon that the second electronic device receives too many pictures to cause waste of the memory can be avoided.
Optionally, in the embodiment of the present invention, the second electronic device may determine whether the target screenshot and the first picture sent by the first electronic device can be received according to a preset affinity threshold.
Illustratively, the step 301 may specifically include the following step 301 b:
step 301 b: when the intimacy of the first electronic device and the second electronic device is larger than or equal to a preset intimacy threshold, the second electronic device receives a target screenshot sent by the first electronic device and a first picture corresponding to the target screenshot.
Illustratively, the intimacy degree can be estimated according to at least one of the following: the user name, the number of chatting and interaction within a predetermined time, and the chatting content may be specifically set according to actual requirements, which is not limited in the present invention.
It should be noted that, for the above specific estimation scheme of the intimacy degree, reference may be made to the specific description of intimacy degree estimation in the picture sending method provided in the embodiment of the present invention, and details are not described here again.
Therefore, only when the intimacy between the first electronic device and the second electronic device is high, the second electronic device can receive the target screenshot and the first picture, and the user privacy can be further protected.
For example, the first electronic device may directly send the first picture to the second electronic device, or trigger the server to send the first picture to the second electronic device, or may only store the first picture in the server, and after the second electronic device receives the target screenshot sent by the first electronic device, the server may be accessed and the first picture may be downloaded.
It should be noted that the first electronic device may set an access right for the second electronic device.
Illustratively, after the step 301a1, the method further comprises the step D1 of:
step D1: and if the second electronic equipment has the access right of the first picture in the server, the second electronic equipment downloads the first picture from the server.
In an embodiment of the present invention, the server includes at least one picture, and the at least one picture includes a first picture.
For example, the second electronic device has the access right, that is, the second electronic device can access the server, that is, the server opens the access right for the second electronic device.
For example, when determining whether the second electronic device has the access right of the first picture in the server, the second electronic device may determine whether the second electronic device has the access right from the allowed access condition of the server.
In an example, when the access permission condition of the server is that the second electronic device is included in the access permission list, the second electronic device has the access right of the first picture in the server.
In another example, the first electronic device sets an access condition of the server, and when the second electronic device meets the access condition of the server, the second electronic device has an access right to the first picture in the server.
For example, when the first electronic device intercepts the target screenshot, the first electronic device may store the picture related in the screenshot in the server, and set whether the second electronic device has access right, the second electronic device having the access right may access the server, and the second electronic device not having the access right may not access the server. For example, a user a sends a screenshot in a chat group a, and the user a only wants a part of people in the chat group a to view the pictures related in the screenshot, at this time, the user a may set an access right and only the part of people has the access right.
Further optionally, in an embodiment of the present invention, when the affinity between the first electronic device and the second electronic device is greater than or equal to a predetermined affinity threshold, the second electronic device has an access right to the first picture in the server.
It should be noted that, for the above estimation method of intimacy degree, reference may be made to the estimation method of intimacy degree in the picture sending method provided in the embodiment of the present invention, and details are not described here again.
For example, the first electronic device may estimate intimacy between the first electronic device and the second electronic device, and set access rights for the second electronic device according to the obtained intimacy.
For example, taking an example that one user corresponds to one electronic device and a first picture is stored in a server, a user a (corresponding to the first electronic device) sends a screenshot in a chat group a, where the chat group a further includes a user B, a user C, and a user D (respectively corresponding to one second electronic device). User a may obtain affinities for user B, user C, and user D, 80, 40, and 60, respectively (where the affinity score may be calculated as 100). And setting the first intimacy threshold (namely, the predetermined intimacy threshold) to be 75, setting the second intimacy threshold to be 50, opening the access right of the server for the user B with intimacy greater than or equal to 75, not opening the access right of the server for the user C with intimacy less than or equal to 50, and popping up a window for the user D with intimacy greater than 50 and less than 75 to inquire whether the user a opens the access right.
When the user B clicks the screenshot (namely the first input), the user B has access right and can access the server and perform related operations; when the user C clicks the screenshot, the user C does not have access authority and cannot access the server; when the user D clicks the screenshot, the user A is required to give access authority, if the user A gives the user D access authority, the user D has the access authority and can access the server and perform related operations; and if the user A does not give the user D access right, the user D does not have the access right and cannot access the server.
Therefore, the first electronic device can automatically open or close the access authority of the first picture in the server for the second electronic device through the intimacy degree, so that the second electronic device with high intimacy degree has the authority to view the first picture, and the second electronic device with low intimacy degree cannot view the first picture, and the privacy of the user is further protected.
Optionally, in the embodiment of the present invention, when the server stores a plurality of pictures, the second electronic device needs to find the first picture from all the pictures in the server.
In an example, based on the step D1, before the second electronic device downloads the first picture from the server, the method further includes the following step D2:
step D2: and the second electronic equipment searches the first picture matched with the target pattern in the server.
For example, the first picture matched with the target pattern is: when the matching degree of the target pattern and the picture stored in the server is greater than or equal to a first predetermined threshold (e.g., eighty percent), the picture is considered as the first picture matching the target pattern.
For example, the searching for the first picture matching the target pattern includes: and comparing the target pattern with each picture stored in the server to obtain the matching degree of the target pattern and each picture stored in the server, and searching out the first picture with the matching degree being greater than or equal to a first preset threshold value.
When the matching degrees of the target pattern and the plurality of pictures stored in the server all exceed the target preset value, the second electronic device takes the picture with the highest matching degree as the first picture. When a plurality of target patterns exist, each of the plurality of target patterns may be compared with a picture stored in the server, respectively.
In this way, when the first electronic device stores the first picture in the server, the second electronic device can directly search for the first picture in the server through the target pattern.
In another example, the server further includes a tag corresponding to each picture, and based on the step D1, before the second electronic device downloads the first picture from the server, the method further includes the following steps D3 and D4:
step D3: and the second electronic equipment generates a corresponding third label for the target pattern.
Step D4: and the second electronic equipment searches for a first label matched with the third label in the server, and takes the picture corresponding to the first label as a first picture.
For example, the second electronic device may identify the target pattern by using an image analysis model, and generate a corresponding first image semantic third tag for the target pattern.
For example, the first tag matching with the third tag mentioned above refers to: when the matching degree of the third label and the label stored in the server is greater than or equal to a second predetermined threshold (for example, eighty-five percent), the label is considered to be the first label matched with the third label.
For example, the searching for the first tag matching with the third tag includes: and comparing the third label with each label stored in the server, finding out a first label with the matching degree larger than or equal to a second preset threshold value from the matching degree of the third label and each label stored in the server, and taking the picture corresponding to the first label as a first picture.
For example, the tag corresponding to any picture in the server may be manually marked when the user stores the any picture through the electronic device, or may be generated by the electronic device storing the any picture by using an image analysis model, which is not limited in the embodiment of the present invention.
In this way, the second electronic device can find the first picture at the server more quickly using the third tag than in the first possible implementation.
Further, the electronic device may train the image analysis model according to training samples in a training sample library. Wherein the training sample library comprises at least one training sample, and each training sample in the at least one training sample is labeled with a label. For example, the training sample may be a picture captured by a user through an electronic device (e.g., a camera, a mobile phone, etc.) with an image capturing function, and may also be a picture captured by the user on the electronic device.
In this way, the electronic device can train the image analysis model by using a large number of training samples to improve the accuracy of the label generated when the image analysis model identifies the target pattern.
It should be noted that the first electronic device may store the picture related to the screenshot in a cloud-side specific picture library in the server, where the cloud-side specific picture library only stores the picture related to the screenshot of the first electronic device.
For example, when the first electronic device sends a picture, all sent pictures may be temporarily stored in a cloud-cached picture library in the server, and a tag may be generated for each of all sent pictures. When a user captures a picture on the first electronic device, the first electronic device can match the label of the picture involved in the picture capturing in the cloud cache picture library and the cloud specific picture library, if the matching is successful, the first electronic device can store the picture involved in the picture capturing and the label of the picture involved in the picture capturing into the cloud specific picture library, and if the matching is unsuccessful, a window can be popped up to prompt that the picture of the user is invalid. The pictures which are not related to the screenshot are still stored in the cloud cache picture library, and the cloud cache picture library can be used for periodically cleaning and updating the pictures so as to release the memory space.
Due to the fact that the cloud specific picture library only stores the pictures related to the screenshot of the first electronic device, the second electronic device can quickly find the first picture in the cloud specific picture library after receiving the target screenshot.
Fig. 8 is a schematic diagram of a possible structure of an electronic device according to an embodiment of the present invention, where the electronic device is a first electronic device, and as shown in fig. 8, the electronic device 600 includes: a receiving module 601, an intercepting module 602, and a sending module 603, wherein:
a receiving module 601, configured to receive a first input of a user when a first picture is displayed in a first display area; an intercepting module 602, configured to intercept display content in a target display area in response to the first input received by the receiving module 601, to obtain a target screenshot, where the target display area includes the first display area; the receiving module 601 is further configured to receive a second input of the user for the target screenshot; a sending module 603, configured to send the target screenshot and the first picture to a second electronic device in response to the second input received by the receiving module 601.
Optionally, the sending module 603 is specifically configured to send the target screenshot, the first picture, and the first tag corresponding to the first picture to a server when the first picture is displayed in an interface of a target application, and send the target screenshot and the first picture to a second electronic device through the server.
Optionally, as shown in fig. 8, the first electronic device further includes: a display module 604, wherein the receiving module 601 is further configured to receive a third input of the user for the target screenshot; the display module 604 is configured to display the first picture in response to the third input received by the receiving module 601.
Optionally, the receiving module 601 is specifically configured to receive a third input of the user for the target area when the first picture corresponds to the target area of the target screenshot.
Optionally, the sending module 603 is specifically configured to send, in response to the second input, the target screenshot and the first picture to the second electronic device when the intimacy degree of the first electronic device and the second electronic device is greater than or equal to a predetermined intimacy degree threshold.
It should be noted that, as shown in fig. 8, modules that are necessarily included in the terminal device 600 are indicated by solid line boxes, such as a receiving module 601; modules that may or may not be included in the terminal device 600 are illustrated with dashed boxes, such as a display module 604.
In the electronic device provided by the embodiment of the present invention, when a first electronic device displays a first picture in a first display area, after receiving a first input from a user, the first electronic device may intercept display content in a target display area (including the first display area) to obtain a target screenshot; after the first electronic device receives the second input of the user for the target screenshot, the target screenshot and the first picture are sent to the second electronic device, so that the second electronic device can display the first picture after receiving the target screenshot and the first picture and after receiving the fourth input of the user for the target screenshot, the user can directly view the first picture, the whole process is simple and convenient to operate, and efficiency is high.
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.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device is a second electronic device, and as shown in fig. 9, the electronic device 700 includes: a receiving module 701 and a display module 702, wherein:
a receiving module 701, configured to receive a target screenshot sent by a first electronic device and a first picture corresponding to the target screenshot, and receive a fourth input of a user for the target screenshot; a display module 702, configured to display the first picture in response to the fourth input received by the receiving module 701.
Optionally, the receiving module 701 is specifically configured to receive a fourth input of the user for the target area when the first picture corresponds to the target area of the target screenshot.
Optionally, the receiving module 701 is specifically configured to receive a target screenshot sent by a first electronic device and a first picture corresponding to the target screenshot, and specifically includes: receiving a target screenshot sent by first electronic equipment through a server, and receiving a first picture sent by the server.
Optionally, as shown in fig. 9, the second electronic device further includes: an execution module 703, wherein: the receiving module 701 is further configured to receive a target screenshot sent by the first electronic device through the server; the executing module 703 is configured to generate a second tag for the target pattern in the target screenshot received by the receiving module 701, and send the second tag to the server; the target pattern is a pattern corresponding to the first picture in the target screenshot; the first picture is a picture corresponding to the first label matched with the second label in the server.
Optionally, the receiving module 701 is specifically configured to receive a target screenshot sent by the first electronic device and a first picture corresponding to the target screenshot when the intimacy degree of the first electronic device and the second electronic device is greater than or equal to a predetermined intimacy degree threshold.
It should be noted that, as shown in fig. 9, modules that are necessarily included in the terminal device 700 are illustrated by solid line boxes, such as a receiving module 701; modules that may or may not be included in the terminal device 700 are illustrated with dashed boxes, such as the execution module 603.
In the electronic device provided by the embodiment of the present invention, when a first electronic device displays a first picture in a first display area, after receiving a first input from a user, the first electronic device may intercept display content in a target display area (including the first display area) to obtain a target screenshot; after the first electronic device receives the second input of the user for the target screenshot, the target screenshot and the first picture are sent to the second electronic device, so that the second electronic device can display the first picture after receiving the target screenshot and the first picture and after receiving the fourth input of the user for the target screenshot, the user can directly view the first picture, the whole process is simple and convenient to operate, and efficiency is high.
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.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device 100 for implementing various embodiments of the present invention, where the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the configuration of the electronic device 100 shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device 100 may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The user input unit 107 is used for receiving a first input of a user when the first picture is displayed in the first display area; a processor 110, configured to intercept display content in a target display area in response to the first input received by the user input unit 107, so as to obtain a target screenshot, where the target display area includes the first display area; the user input unit 107 is further configured to receive a second input of the user for the target screenshot; and the radio frequency unit 101 is configured to send the target screenshot and the first picture to a second electronic device in response to the second input received by the user input unit 107.
Or, the interface unit 108 is configured to receive a target screenshot sent by the first electronic device and a first picture corresponding to the target screenshot, and the user input unit 107 is configured to receive a fourth input of the user for the target screenshot; a display unit 106, configured to display the first picture in response to the fourth input received by the user input unit 107.
In the electronic device provided by the embodiment of the present invention, when a first electronic device displays a first picture in a first display area, after receiving a first input from a user, the first electronic device may intercept display content in a target display area (including the first display area) to obtain a target screenshot; after the first electronic device receives the second input of the user for the target screenshot, the target screenshot and the first picture are sent to the second electronic device, so that the second electronic device can display the first picture after receiving the target screenshot and the first picture and after receiving the fourth input of the user for the target screenshot, the user can directly check the first picture, and the whole process is simple and convenient to operate and high in efficiency.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device 100 provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 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 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 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 105 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 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 apparatus 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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 described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device 100, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. 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 108 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 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 110 is a control center of the electronic device 100, connects various parts of the entire electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device 100. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 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 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor 110, where the computer program, when executed by the processor, implements each process of the above-mentioned embodiment of the method for displaying an image, and can achieve the same technical effect, and details are not repeated 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 each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or 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 application 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 according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A picture sending method is applied to a first electronic device, and is characterized by comprising the following steps:
receiving a first input of a user under the condition that the first picture is displayed in the first display area;
in response to the first input, intercepting display content in a target display area to obtain a target screenshot, wherein the target display area comprises the first display area;
receiving a second input of the user aiming at the target screenshot;
and responding to the second input, and sending the target screenshot and the first picture to a second electronic device.
2. The method of claim 1, wherein the first picture is displayed within an interface of a target application; the sending the target screenshot and the first picture to the second electronic device specifically includes:
and sending the target screenshot and a first label corresponding to the first picture to a server, and sending the target screenshot and the first picture to second electronic equipment through the server, wherein the server is a server corresponding to the target application.
3. The method of claim 1 or 2, wherein after obtaining the target screenshot, the method further comprises:
receiving a third input of a user for the target screenshot;
in response to the third input, displaying the first picture.
4. The method of claim 3, wherein the first picture corresponds to a target area of the target screenshot;
the receiving of the third input of the user for the target screenshot specifically includes:
receiving a third input of the user for the target area.
5. The method according to claim 1 or 2, wherein the sending the target screenshot and the first picture to a second electronic device in response to the second input specifically comprises:
and responding to the second input, and when the intimacy degree of the first electronic device and the second electronic device is larger than or equal to a preset intimacy degree threshold value, sending the target screenshot and the first picture to the second electronic device.
6. A picture display method is applied to a second electronic device, and is characterized by comprising the following steps:
receiving a target screenshot sent by first electronic equipment and a first picture corresponding to the target screenshot;
receiving a fourth input of the user for the target screenshot;
in response to the fourth input, displaying the first picture.
7. The method of claim 6, wherein the first picture corresponds to a target area of the target screenshot;
the receiving of the fourth input of the user for the target screenshot specifically includes:
receiving a fourth input of the user for the target area.
8. The method according to claim 6 or 7, wherein the receiving a target screenshot and a first picture corresponding to the target screenshot sent by a first electronic device specifically includes:
and receiving the target screenshot sent by the first electronic equipment through the server, and receiving the first picture sent by the server.
9. The method of claim 8, wherein before the receiving the first picture sent by the server, the method further comprises:
receiving the target screenshot sent by the first electronic device through the server;
generating a second label for the target pattern in the target screenshot, and sending the second label to the server;
wherein the target pattern is a pattern of the first picture in the target screenshot; the first picture is a picture corresponding to a first label matched with the second label in the server.
10. The method according to claim 6 or 7, wherein the receiving a target screenshot and a first picture corresponding to the target screenshot sent by a first electronic device specifically includes:
when the intimacy of the first electronic device and the second electronic device is larger than or equal to a preset intimacy threshold, receiving a target screenshot sent by the first electronic device and a first picture corresponding to the target screenshot.
11. An electronic device, the electronic device being a first electronic device, the electronic device comprising:
the receiving module is used for receiving a first input of a user under the condition that the first picture is displayed in the first display area;
the intercepting module is used for responding to the first input received by the receiving module, intercepting display content in a target display area to obtain a target screenshot, wherein the target display area comprises the first display area;
the receiving module is further used for receiving a second input of the user for the target screenshot;
and the sending module is used for responding to the second input received by the receiving module and sending the target screenshot and the first picture to second electronic equipment.
12. An electronic device, the electronic device being a second electronic device, the electronic device comprising:
the receiving module is used for receiving a target screenshot sent by first electronic equipment and a first picture corresponding to the target screenshot;
the receiving module is further configured to receive a fourth input of the user for the target screenshot;
a display module, configured to display the first picture in response to the fourth input received by the receiving module.
13. 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 method for transmitting pictures according to any one of claims 1 to 5 or the steps of the method for displaying pictures according to any one of claims 6 to 10.
14. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the method for transmitting pictures according to any one of claims 1 to 5 or the steps of the method for displaying pictures according to any one of claims 6 to 10.
CN201911089651.1A 2019-11-08 2019-11-08 Method for sending picture and electronic equipment Pending CN111045560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911089651.1A CN111045560A (en) 2019-11-08 2019-11-08 Method for sending picture and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911089651.1A CN111045560A (en) 2019-11-08 2019-11-08 Method for sending picture and electronic equipment

Publications (1)

Publication Number Publication Date
CN111045560A true CN111045560A (en) 2020-04-21

Family

ID=70231768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911089651.1A Pending CN111045560A (en) 2019-11-08 2019-11-08 Method for sending picture and electronic equipment

Country Status (1)

Country Link
CN (1) CN111045560A (en)

Cited By (2)

* 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
CN113965640A (en) * 2021-10-11 2022-01-21 维沃移动通信有限公司 Message processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189648A1 (en) * 2007-02-06 2008-08-07 Debbie Ann Anglin Attachment activation in screen captures
CN103746978A (en) * 2013-12-30 2014-04-23 华为技术有限公司 Content viewing method and server
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
CN105242827A (en) * 2015-09-28 2016-01-13 小米科技有限责任公司 Screen capture method, apparatus and system
CN105740402A (en) * 2016-01-28 2016-07-06 百度在线网络技术(北京)有限公司 Method and device for acquiring semantic labels of digital images
CN106204165A (en) * 2016-08-11 2016-12-07 广州出益信息科技有限公司 A kind of advertisement placement method and device
CN108769389A (en) * 2018-05-10 2018-11-06 Oppo广东移动通信有限公司 Image acquisition method, device, terminal device and storage medium
CN108829736A (en) * 2018-05-21 2018-11-16 四川斐讯信息技术有限公司 A kind of joining method and system of image data and label information

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189648A1 (en) * 2007-02-06 2008-08-07 Debbie Ann Anglin Attachment activation in screen captures
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
CN103746978A (en) * 2013-12-30 2014-04-23 华为技术有限公司 Content viewing method and server
CN105242827A (en) * 2015-09-28 2016-01-13 小米科技有限责任公司 Screen capture method, apparatus and system
CN105740402A (en) * 2016-01-28 2016-07-06 百度在线网络技术(北京)有限公司 Method and device for acquiring semantic labels of digital images
CN106204165A (en) * 2016-08-11 2016-12-07 广州出益信息科技有限公司 A kind of advertisement placement method and device
CN108769389A (en) * 2018-05-10 2018-11-06 Oppo广东移动通信有限公司 Image acquisition method, device, terminal device and storage medium
CN108829736A (en) * 2018-05-21 2018-11-16 四川斐讯信息技术有限公司 A kind of joining method and system of image data and label information

Cited By (4)

* 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
WO2022156606A1 (en) * 2021-01-21 2022-07-28 维沃移动通信有限公司 Information processing method and apparatus, and electronic device
CN113965640A (en) * 2021-10-11 2022-01-21 维沃移动通信有限公司 Message processing method and device
CN113965640B (en) * 2021-10-11 2023-09-01 维沃移动通信有限公司 Message processing method and device

Similar Documents

Publication Publication Date Title
CN110851051B (en) Object sharing method and electronic equipment
CN111459355B (en) Content sharing method and electronic equipment
CN111142747B (en) Group management method and electronic equipment
CN110062105B (en) Interface display method and terminal equipment
CN110764666B (en) Display control method and electronic equipment
CN109857494B (en) Message prompting method and terminal equipment
WO2020215932A1 (en) Method for displaying unread message and terminal device
CN109828705B (en) Icon display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN111026299A (en) Information sharing method and electronic equipment
CN109408072B (en) Application program deleting method and terminal equipment
WO2020192322A1 (en) Display method and terminal device
WO2020192324A1 (en) Interface displaying method and terminal device
WO2021017738A1 (en) Interface display method and electronic device
CN109753202B (en) Screen capturing method and mobile terminal
CN109901761B (en) Content display method and mobile terminal
CN109358931B (en) Interface display method and terminal
CN108804151B (en) Method and terminal for restarting application program
CN111125307A (en) Chat record query method and electronic equipment
CN111090489B (en) Information control method and electronic equipment
CN111090529B (en) Information sharing method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN110012152B (en) Interface display method and terminal equipment
CN111045560A (en) Method for sending picture and electronic equipment
CN111130995B (en) Image control method, electronic device, and storage medium

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