CN113037618A - Image sharing method and device - Google Patents

Image sharing method and device Download PDF

Info

Publication number
CN113037618A
CN113037618A CN202110414623.3A CN202110414623A CN113037618A CN 113037618 A CN113037618 A CN 113037618A CN 202110414623 A CN202110414623 A CN 202110414623A CN 113037618 A CN113037618 A CN 113037618A
Authority
CN
China
Prior art keywords
image
text information
text
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.)
Granted
Application number
CN202110414623.3A
Other languages
Chinese (zh)
Other versions
CN113037618B (en
Inventor
陈振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110414623.3A priority Critical patent/CN113037618B/en
Publication of CN113037618A publication Critical patent/CN113037618A/en
Application granted granted Critical
Publication of CN113037618B publication Critical patent/CN113037618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The application discloses an image sharing method and device, which belong to the technical field of communication, and the method comprises the following steps: receiving a first input of an image by a user; determining whether the image binds text information in response to the first input; under the condition that the text information is not bound to the image, outputting a first bullet frame, wherein the first bullet frame comprises a first text editing frame; receiving first text information input in the first text editing box by a user; and binding the image with the first text information to obtain first shared data, and sending the first shared data to a target shared object.

Description

Image sharing method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an image sharing method and device.
Background
At present, in the process of chatting among users through a communication application program installed in electronic equipment, the users often have the requirement of sharing images, and even sometimes need to add comment characters to the images and then share the images with target objects. In the prior art, when an image added with comment characters is shared by a single target object, after the image to be shared is selected, a system displays a sharing bullet box, a user writes the comment characters in the sharing bullet box, then clicks a sending control, and sends the image and the comment characters to the target object.
In the actual implementation process, a user often needs to share the image with the added comment text to a plurality of target objects, and in such a scene, the user needs to repeat the operation of sharing and adding the comment text image to a single target object for many times, so that the operation flow is complicated.
Disclosure of Invention
The embodiment of the application aims to provide an image sharing method and device, and the problem that in the prior art, when an image added with comment characters is shared by a plurality of target objects, the operation process is complex is solved.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present application provides an image sharing method, where the method includes: receiving a first input of an image by a user; determining whether the image binds text information in response to the first input; under the condition that the text information is not bound to the image, outputting a first bullet frame, wherein the first bullet frame comprises a first text editing frame; receiving first text information input in the first text editing box by a user; and binding the image with the first text information to obtain first shared data, and sending the first shared data to a target shared object.
In a second aspect, an embodiment of the present application provides an image sharing apparatus, where the apparatus includes: the first receiving module is used for receiving a first input of a user to the image; a first determination module for identifying whether the image is bound with text information in response to the first input; the first output module is used for outputting a first bullet frame under the condition that the text information is not bound to the image, wherein the first bullet frame comprises a first text editing frame; the second receiving module is used for receiving first text information input in the first text editing box by a user; the first sending module is used for binding the image with the first text information to obtain first shared data, and sending the first shared data to a target shared object.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a first input of a user to an image is received; identifying whether the image binds text information in response to the first input; under the condition that the text information is not bound to the image, outputting a first bullet frame; receiving first text information input by a user in a first text editing box; the image and the first text information are bound to obtain first shared data, the first shared data are sent to the target sharing object, the image and the text information can be bound as comment information when the image is shared for the first time, the image and the bound text information can be directly sent together when the image is shared with other target sharing objects, a user does not need to manually input the text information, and the operation is convenient and fast.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of an image sharing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a second bullet box according to an embodiment of the present application;
FIG. 3 is a third ammunition cassette according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a configuration of an image sharing apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram showing a hardware configuration of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The image sharing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of an image sharing method according to an embodiment of the present application is shown.
The image sharing method of the embodiment of the application comprises the following steps:
step 101: the electronic device receives a first input of an image by a user.
The images shared in the embodiment of the application can be images in an album, images in a webpage, images in a text, shared images in a chat interface of a social application program, and the like. The first input is used for triggering the system to start an image sharing process. The first input may include, but is not limited to: double click, single click, long press and the like on the image, or right click on the image and then select the sharing function item, and the like.
Step 102: the electronic device identifies whether the image is bound with text information in response to the first input.
According to the image sharing method provided by the embodiment of the invention, when the image is shared, the text information to be shared, such as comment information, image description and the like, is accompanied, and the system binds the image and the text information to be shared. Therefore, when the image is firstly shared or the image is not firstly shared but the text information to be shared is not bound during history sharing, the image is identified to have no bound text information; otherwise, the image is bound with the text information.
Step 103: and the electronic equipment outputs a first bullet frame under the condition that the text information is not bound to the image.
And the first bullet box comprises a first text editing box. The user may enter first text information in a first text edit box, the first text information to be shared with the image to the target object. In addition, the first sharing bullet frame further comprises a thumbnail of the image to be shared.
Step 104: the electronic equipment receives first text information input by the user in the first text editing box.
The user can manually input the first text information and can also copy the content from other interfaces into the first text edit box as the first text information. The first text information can be any one or combination of characters, numbers and characters.
Step 105: the electronic equipment binds the image with the first text information to obtain first shared data, and the first shared data is sent to a target shared object.
The first bullet box can further comprise a check option for indicating whether comment information needs to be bound or not, and a sending control or a canceling control. After the user inputs the first text information in the first text editing box, the check item can be set to be in a selected state, then the sending control is clicked, and the triggering system binds the image to be shared and the first text information to generate first sharing data and then sends the first sharing data to the target object. Certainly, the first bullet frame may not be provided with a hook option for indicating whether comment information needs to be bound, and after the user inputs the first text information, the user selects the sending control to directly trigger the system to bind the image to be shared with the first text information to generate first sharing data, and then the first sharing data is sent to the target sharing object.
The scheme for binding the image and the first text information may include, but is not limited to, the following three:
the first scheme is as follows: defining a new image format, adding a specific identifier in a file header, storing first text information in the file header, and indicating the content stored in the file header as the first text information corresponding to the image through the specific identifier. The mode of binding the image and the first text information can be applied to various electronic equipment systems capable of supporting new picture formats.
Scheme II: the first text information may be stored using a User Comment, i.e., a User gaze identifier, in the Exif (Exchangeable image file format) using an identifier in a header of an existing image format, such as JPEG format. The scheme can be well compatible with the widely used image formats on the market at present.
The third scheme is as follows: the first text information and a unique identification value of the image to be shared, such as a path or MD5 value, are both stored in the application data. Because other applications cannot access the data, and the data is deleted after the applications are uninstalled, the mapping relationship between the first text information and the image to be shared is lost, so that the binding scheme is only used in the applications and cannot be used across the applications.
The three binding information structures also support binding storage of a plurality of first text messages and one image, and the first text messages are sequentially stored according to the sequence of the sharing time of the first text messages in the history sharing process. For example: the earlier the sharing time, the earlier the storage location.
In the actual implementation process, the method is not limited to the above, and a person skilled in the art can bind the image to be shared and the first text information in any appropriate manner.
According to the image sharing method provided by the embodiment of the application, the first input of a user to an image is received; identifying whether the image binds text information in response to the first input; under the condition that the text information is not bound to the image, outputting a first bullet frame; receiving first text information input by a user in a first text editing box; the image and the first text information are bound to generate first shared data, the first shared data are sent to the target sharing object, the image and the text information can be bound as comment information when the image is shared for the first time, the image and the bound text information can be directly sent together when the image is shared with other target sharing objects, a user does not need to manually input the text information, and the operation is convenient and fast.
In an optional embodiment, after the electronic device determines whether the image is bound with text information in response to the first input, the following process may be further performed:
the method comprises the following steps: in the case of the image-bound text information, a second bullet box is output.
An exemplary second bullet box is schematically shown in fig. 2, and the second bullet box includes: the image thumbnail 201 containing the bound text information, the second text edit box 202, the first control 204, namely, the check item indicating whether the comment information needs to be bound, and the second control 203, namely, the sending control, preferably, the second shareholder box may further include a fourth control 205, namely, a canceling control, as shown in fig. 2.
The second text editing box 202 is configured to display text information to be bound to the image, that is, comment information, where the text information may be any piece of text information included in the thumbnail, may also be new text information manually input by a user, and may also be text information obtained by modifying the text information included in the thumbnail by the user. And after the first control 204 is selected, triggering the system to establish that the image corresponding to the thumbnail is bound with the text information displayed in the second text edit box. The second control 203 is used for triggering the system to send the bound image and text information to the target sharing object. The fourth control 205 is used to trigger the system to cancel the binding relationship between the bound image and the text information.
Step two: in response to a second input by the user, second text information is displayed in a second text edit box.
The second input is for setting second text information. The second input can be a single-click operation, a double-click operation or a long-press operation on the image thumbnail, or the like, or a selection operation on the text information contained in the image thumbnail, and the system can be triggered to extract the history-bound text information from the image thumbnail through the second input and display the extracted text information in the second text edit box. The second input may be an operation of manually inputting the second text information in the second text edit box. The second input may also be an operation of editing text information in the second text edit box after a preset operation is performed on the image thumbnail.
Step three: and responding to a third input of the user to the first control, and controlling an image corresponding to the image thumbnail to establish a binding relationship with the second text information to obtain second shared data.
And the third input of the first control is used for selecting the first control, and the image corresponding to the image thumbnail is triggered by the selected first control to establish a binding relationship with the second text information, so that second shared data is obtained. The third input may be a single click operation, a double click operation, a long press operation, or the like, on the first control.
As to the specific manner of binding the image and the second text information, reference may be made to the manner of binding the image and the first text information in step 105, which is not described in detail in this optional embodiment.
Step four: and responding to a fourth input of the user to the second control, and sending the second sharing data to the target sharing object.
The fourth input is used to trigger the system to send the second shared data. The fourth input may include, but is not limited to: single click, double click, slide or long press operation on the second control, etc.
For example: the image A is bound with the first text information X in the history sharing process, a thumbnail of the image A is displayed in a second sharing bullet frame during the sharing, the thumbnail contains the first text information X, when second input of a user to the thumbnail of the image A is received, the first text information X is displayed in a second text editing frame in the second sharing bullet frame and is used as second text information Y of the sharing, and after third input of the user to a first control is received, the binding relationship between the image A and the second text information Y is established. And after receiving a fourth input of the user to the second control, the system sends the image A and the second text information Y to the target sharing object.
It should be noted that after the user performs the third input on the first control and triggers the system to control the image corresponding to the image thumbnail to establish the binding relationship with the second text information, the user may also perform the corresponding input on the fourth control and trigger the system to cancel the binding relationship between the image corresponding to the image thumbnail and the second text information.
According to the optional embodiment, the text information bound to the image history to be shared can be provided for the user to select, the user does not need to manually input the text information, the operation is convenient and fast, and the time consumed by the user for inputting the text information can be saved.
In an alternative embodiment, the electronic device may perform the following sub-steps when displaying the second text information in the second text editing box in response to the second input of the user:
responding to the touch operation of a user on the image thumbnail, and determining the number of text messages contained in the image thumbnail; displaying second text information contained in the image thumbnail in a second text edit box in the case where the number is one; and in the case that the number is multiple, displaying second text information of the latest bound image corresponding to the image thumbnail in a second text edit box.
The text information contained in the image thumbnail is the text information bound during history sharing of the image corresponding to the image thumbnail, and the number of the text information bound during history sharing can be one or more. For example: the image B is shared twice, and if the bound text information is different during each sharing, the image thumbnail comprises two text information; for another example: the history of the image B is shared twice, and the bound text information is the same during each sharing, so that the image thumbnail only contains one text information.
And the second text information which is newly bound with the image corresponding to the image thumbnail is the text information which is bound with the image and is shared last time. The text information is displayed in the second text edit box to be shared to the user, and the probability of the text information which is finally selected by the user as the current sharing binding is higher.
After the electronic device responds to the first input and identifies whether the image is bound with the text information, if the image is bound with the text information, the image can be shared again by adopting the listed optional embodiments, and the image can be shared again by adopting the following optional embodiments.
In an optional embodiment, after the electronic device responds to the first input and identifies whether the image is bound with text information, the following process may be further performed, and specifically includes the following steps:
the method comprises the following steps: in the case of the image-bound text information, a third bullet box is output.
The third bullet frame includes: and the image thumbnail comprises third text information of image binding corresponding to the image thumbnail. An exemplary third bullet box schematic diagram is shown in fig. 3, the third bullet box includes an image thumbnail 301, the image thumbnail further includes third text information such as comment information 302 bound to an image, and a user may determine the text information shared this time by performing a third input on the third text information. One or more third text messages of image binding corresponding to the image thumbnail can be provided, and in this optional embodiment, one third text message of image binding is taken as an example for description. If the image is bound with a plurality of third text messages, the user can execute third input on any third text message according to actual requirements.
Step two: and responding to a third input of the user to the third text message, and determining the target text message shared this time.
The third input may be a selection operation of the third text information, or may be an operation of editing the third text information after the third text information is selected, and in this optional embodiment, the third input is taken as an example of the selection operation of the third text information. The third input to the third text information may include, but is not limited to: clicking or long-pressing the third text information, and the like. In this optional embodiment, the third text information may be directly determined as the target text information shared this time by performing the third input on the third text information.
Optionally, the selected target text information may be highlighted, for example: highlighting, amplifying or dynamically displaying, etc., so as to facilitate the user to distinguish the target text information from other third text information.
Step three: a fourth input to the image thumbnail by the user is received.
And the fourth input is used for triggering the system to bind the image corresponding to the image thumbnail and the target text information determined by the third input and then send the bound image to the target sharing object.
The fourth input may be a preset operation performed on an image portion in an image thumbnail, such as: a click operation, a long press operation, or a sliding of a specific trajectory in an image thumbnail, etc.
Step four: and responding to a fourth input, and sending the image corresponding to the image thumbnail and the target text information to the target sharing object.
As to the specific manner of binding the image and the target text information, reference may be made to the manner of binding the image and the first text information in step 105, which is not described in detail in this optional embodiment.
According to the optional embodiment, the text information bound to the image history to be shared can be provided for the user to select, the user does not need to manually input the text information, the operation is convenient and fast, and the time consumed by the user for inputting the text information can be saved.
In an optional embodiment, when the electronic device determines, in response to a third input of the third text message by the user, the target text message shared this time, the following process may be executed:
first, a user's selection operation of the third text information is received.
The image thumbnail comprises at least one third text message, and each third text message can be displayed by opening or flowing in a bullet screen mode. The operation of selecting the third text information may include, but is not limited to: and performing single click, double click and the like on any one of the third text information displayed in the image thumbnail. The example of the image thumbnail including one piece of third text information is described with reference to fig. 3.
Second, the third text information is adjusted to an editable state.
After the third text information is selected, the display area occupied by the third text information is the editing area of the third text information, and after the system adjusts the third text information to be in an editable state, a user can edit the third text information according to actual requirements.
And finally, responding to the editing operation of the user on the third text message to obtain the edited text message, and determining the edited text message as the target text message of the current sharing.
The editing operation on the third text information may include: any one of deletion and modification. The modification of the third text information may include: any one of partial content deletion, content addition, and text format modification.
The mode of optionally determining the target text information can provide third text information bound with image history for a user to select, the user can edit on the basis of the third text information to obtain a target sharing object, and compared with the mode of completely manually inputting the target sharing information, the mode of optionally determining the target text information is convenient to operate and can save time consumed by the user for inputting the text information.
In an optional embodiment, as shown in fig. 3, the third bullet box further includes a third control element, that is, a cancel control element 303, and after the electronic device determines the target text information shared this time in response to a third input of the third text information by the user, the following process may be further performed:
first, a fifth input to the third control by the user is received.
And the fifth input of the third control is used for triggering the system to release the current binding between the target text information and the image and finish the current image sharing.
Second, in response to a fifth input, the third bullet box is exited.
In this optional embodiment, the user can conveniently quit the image sharing process by setting the third control in the third bullet frame.
It should be noted that in the image sharing method provided in the embodiment of the present application, the execution main body may be an image sharing device, or a control module in the image sharing device, configured to execute the image sharing method. The embodiment of the present application describes an image sharing apparatus by taking an image sharing method executed by an image sharing apparatus as an example.
Fig. 4 is a block diagram of an image sharing apparatus according to an embodiment of the present disclosure.
The image sharing apparatus shown in fig. 4 is used to implement the image sharing method shown in fig. 1. The image sharing apparatus 400 according to the embodiment of the present application includes:
a first receiving module 401, configured to receive a first input of an image by a user;
a first determining module 402, configured to determine whether the image is bound with text information in response to the first input;
a first output module 403, configured to output a first sharing bullet frame when the text information is not bound to the image, where the first sharing bullet frame includes a first text editing box;
a second receiving module 404, configured to receive first text information input by a user in the first text editing box;
the first sending module 405 is configured to bind the image with the first text information to obtain first shared data, and send the first shared data to a target shared object.
Optionally, the apparatus further comprises:
a second output module, configured to output a second bullet box if the image binds the text information after the first determination module determines whether the image binds the text information in response to the first input, where the second bullet box includes: the image thumbnail containing the bound text information, a second text edit box, a first control and a second control;
a first display module for displaying second text information in the second text edit box in response to a second input by a user;
the establishing module is used for responding to third input of a user to the first control, controlling the image corresponding to the image thumbnail to establish a binding relation with the second text information, and obtaining second shared data;
and the second sending module is used for responding to a fourth input of the user to the second control and sending the second sharing data to a target sharing object.
Optionally, the first display module includes:
the first sub-module is used for responding to touch operation of a user on the image thumbnail and determining the quantity of text information contained in the image thumbnail;
a second sub-module configured to display, in the case where the number is one, second text information included in the image thumbnail in the second text edit box;
and the third sub-module is used for displaying second text information which is newly bound with the image corresponding to the image thumbnail in the second text edit box under the condition that the number of the second text information is more than one.
Optionally, the apparatus further comprises:
a third output module, configured to output a third bullet box in a case that the text information is bound to the image after the first determination module determines whether the image is bound to the text information in response to the first input, where the third bullet box includes: the image thumbnail comprises third text information of the image binding corresponding to the image thumbnail;
the second determining module is used for responding to third input of the user to the third text information and determining the target text information shared this time;
the third receiving module is used for receiving fourth input of the user on the image thumbnail;
and the third sending module is used for responding to the fourth input and sending the image and the target text information corresponding to the image thumbnail to a target sharing object.
Optionally, the second determining module includes:
the fourth sub-module is used for receiving the selected operation of the user on the third text information;
a fifth sub-module, configured to adjust the third text information to an editable state;
and the sixth sub-module is used for responding to the editing operation of the user on the third text message, obtaining the edited text message, and determining the edited text message as the target text message shared this time.
Optionally, the third bullet frame includes a third control element therein, and the apparatus further includes:
the fourth sending module is configured to receive a fifth input of the user to the third control after the second determining module determines the target text information shared this time in response to the third input of the user to the third text information;
and the quitting module is used for responding to the fifth input and quitting the third elastic frame.
The image sharing device provided by the embodiment of the application receives a first input of a user to an image; identifying whether the image binds text information in response to the first input; under the condition that the text information is not bound to the image, outputting a first bullet frame; receiving first text information input by a user in a first text editing box; the image and the first text information are bound, the first sharing data are generated and then sent to the target sharing object, the image and the text information such as comment information can be bound when the image is shared for the first time, the image and the bound text information can be directly sent together when the image is shared to other target sharing objects, a user does not need to manually input the text information, and the operation is convenient and fast.
The image sharing device shown in fig. 4 in this embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The image sharing device shown in fig. 4 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The image sharing device shown in fig. 4 provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in an embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the above-mentioned image sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like. Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 607 is used for receiving a first input of the image by the user;
a processor 610 for identifying whether the image is bound with text information in response to the first input;
a display unit 606, configured to output a first bullet frame when the text information is not bound to the image, where the first bullet frame includes a first text editing box;
a user input unit 607, further configured to receive first text information input by a user in the first text editing box;
the processor 610 is further configured to bind the image with the first text information, generate first shared data, and send the first shared data to a target shared object.
The electronic equipment provided by the embodiment of the application receives first input of a user to an image; identifying whether the image binds text information in response to the first input; under the condition that the text information is not bound to the image, outputting a first bullet frame; receiving first text information input by a user in a first text editing box; the image and the first text information are bound to generate first shared data, the first shared data are sent to the target sharing object, the image and the text information can be bound as comment information when the image is shared for the first time, the image and the bound text information can be directly sent together when the image is shared with other target sharing objects, a user does not need to manually input the text information, and the operation is convenient and fast.
Optionally, the display unit 606 is further configured to, after the processor 610 determines whether the image binds text information in response to the first input, output a second bullet box in a case where the image binds the text information, where the second bullet box includes: the image thumbnail containing the bound text information, a second text edit box, a first control and a second control; displaying second text information in the second text edit box in response to a second input by the user;
the processor 610 is further configured to respond to a third input of the user to the first control, control the image corresponding to the image thumbnail to establish a binding relationship with the second text information, and obtain second shared data; and responding to a fourth input of the user to the second control, and sending the second sharing data to a target sharing object.
Optionally, when the display unit 606 responds to the second input of the user and displays the second text information in the second text edit box, specifically, the display unit is configured to:
determining the number of text messages contained in the image thumbnail in response to the touch operation of a user on the image thumbnail;
displaying second text information contained in the image thumbnail in the second text edit box in a case where the number is one;
and displaying second text information which is newly bound to the image and corresponds to the image thumbnail in the second text editing box under the condition that the number is multiple.
Optionally, the display unit 606 is further configured to, after the processor 610 determines whether the image is bound with text information in response to the first input, output a third bullet box in a case where the image is bound with the text information, where the third bullet box includes: the image thumbnail comprises third text information of the image binding corresponding to the image thumbnail;
the processor 610 is further configured to determine, in response to a third input of the third text message by the user, a target text message shared this time;
a user input unit 607, further configured to receive a fourth input of the image thumbnail by the user;
the processor 610 is further configured to send, in response to the fourth input, the image and the target text information corresponding to the image thumbnail to a target sharing object.
Optionally, when the processor 610 determines, in response to a third input of the third text information by the user, the target text information shared this time, specifically:
receiving a user selection operation on the third text information through the user input unit 607; adjusting the third text information to be in an editable state; and responding to the editing operation of the user on the third text message, obtaining the edited text message, and determining the edited text message as the target text message of the current sharing.
Optionally, the third pop-up box includes a third control element, and the user input unit 607 is further configured to receive a fifth input of the third control element from the user after the processor 610 determines, in response to a third input of the third text information from the user, the target text information shared this time;
a processor 610, further configured to exit the third bullet box in response to the fifth input.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the image sharing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is configured to run a program or an instruction, implement each process of the above-mentioned image sharing method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, 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 (10)

1. An image sharing method, the method comprising:
receiving a first input of an image by a user;
determining whether the image binds text information in response to the first input;
under the condition that the text information is not bound to the image, outputting a first bullet frame, wherein the first bullet frame comprises a first text editing frame;
receiving first text information input in the first text editing box by a user;
and binding the image with the first text information to obtain first shared data, and sending the first shared data to a target shared object.
2. The method of claim 1, wherein after the step of determining whether the image binds textual information in response to the first input, the method further comprises:
under the condition that the text information is bound to the image, outputting a second bullet frame, wherein the second bullet frame comprises: the image thumbnail containing the bound text information, a second text edit box, a first control and a second control;
displaying second text information in the second text edit box in response to a second input by the user;
responding to a third input of the user to the first control, and controlling the image corresponding to the image thumbnail to establish a binding relationship with the second text information to obtain second shared data;
and responding to a fourth input of the user to the second control, and sending the second sharing data to a target sharing object.
3. The method of claim 2, wherein the step of displaying second text information in the second text edit box in response to a second input by the user comprises:
determining the number of text messages contained in the image thumbnail in response to the touch operation of a user on the image thumbnail;
displaying second text information contained in the image thumbnail in the second text edit box in a case where the number is one;
and displaying second text information which is newly bound to the image and corresponds to the image thumbnail in the second text editing box under the condition that the number is multiple.
4. The method of claim 1, wherein after the step of determining whether the image binds textual information in response to the first input, the method further comprises:
under the condition that the text information is bound to the image, outputting a third bullet frame, wherein the third bullet frame comprises: the image thumbnail comprises third text information of the image binding corresponding to the image thumbnail;
responding to a third input of the user to the third text information, and determining the target text information shared this time;
receiving a fourth input of the image thumbnail from the user;
and responding to the fourth input, and sending the image corresponding to the image thumbnail and the target text information to a target sharing object.
5. The method according to claim 4, wherein the step of determining the target text information shared this time in response to the third input of the third text information by the user comprises:
receiving a selected operation of the user on the third text message;
adjusting the third text information to be in an editable state;
and responding to the editing operation of the user on the third text message, obtaining the edited text message, and determining the edited text message as the target text message of the current sharing.
6. An image sharing apparatus, the apparatus comprising:
the first receiving module is used for receiving a first input of a user to the image;
a first determination module for determining whether the image is bound with text information in response to the first input;
the first output module is used for outputting a first bullet frame under the condition that the text information is not bound to the image, wherein the first bullet frame comprises a first text editing frame;
the second receiving module is used for receiving first text information input in the first text editing box by a user;
the first sending module is used for binding the image with the first text information to obtain first shared data, and sending the first shared data to a target shared object.
7. The apparatus of claim 6, further comprising:
a second output module, configured to output a second bullet box if the image binds the text information after the first determination module determines whether the image binds the text information in response to the first input, where the second bullet box includes: the image thumbnail containing the bound text information, a second text edit box, a first control and a second control;
a first display module for displaying second text information in the second text edit box in response to a second input by a user;
the establishing module is used for responding to third input of a user to the first control, controlling the image corresponding to the image thumbnail to establish a binding relation with the second text information, and obtaining second shared data;
and the second sending module is used for responding to a fourth input of the user to the second control and sending the second sharing data to a target sharing object.
8. The apparatus of claim 7, wherein the first display module comprises:
the first sub-module is used for responding to touch operation of a user on the image thumbnail and determining the quantity of text information contained in the image thumbnail;
a second sub-module configured to display, in the case where the number is one, second text information included in the image thumbnail in the second text edit box;
and the third sub-module is used for displaying second text information which is newly bound to the image and corresponds to the image thumbnail in the second text edit box under the condition that the number of the second text information is multiple.
9. The apparatus of claim 6, further comprising:
a third output module, configured to output a third bullet box in a case that the text information is bound to the image after the first determination module determines whether the image is bound to the text information in response to the first input, where the third bullet box includes: the image thumbnail comprises third text information of the image binding corresponding to the image thumbnail;
the second determining module is used for responding to third input of the user to the third text information and determining the target text information shared this time;
the third receiving module is used for receiving fourth input of the user on the image thumbnail;
and the third sending module is used for responding to the fourth input and sending the image and the target text information corresponding to the image thumbnail to a target sharing object.
10. The apparatus of claim 9, wherein the second determining module comprises:
the fourth sub-module is used for receiving the selected operation of the user on the third text information;
a fifth sub-module, configured to adjust the third text information to an editable state;
and the sixth sub-module is used for responding to the editing operation of the user on the third text message, obtaining the edited text message, and determining the edited text message as the target text message shared this time.
CN202110414623.3A 2021-04-16 2021-04-16 Image sharing method and device Active CN113037618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110414623.3A CN113037618B (en) 2021-04-16 2021-04-16 Image sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110414623.3A CN113037618B (en) 2021-04-16 2021-04-16 Image sharing method and device

Publications (2)

Publication Number Publication Date
CN113037618A true CN113037618A (en) 2021-06-25
CN113037618B CN113037618B (en) 2022-11-01

Family

ID=76457398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110414623.3A Active CN113037618B (en) 2021-04-16 2021-04-16 Image sharing method and device

Country Status (1)

Country Link
CN (1) CN113037618B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081189A1 (en) * 2005-10-06 2007-04-12 Konica Minolta Business Technologies, Inc. Image processing device, image processing system including image processing device, image processing method, and recording medium storing program product for controlling image processing device
US20120240106A1 (en) * 2011-03-16 2012-09-20 Microsoft Corporation Optional retargeting of library references
CN106604089A (en) * 2016-10-25 2017-04-26 北京小米移动软件有限公司 Intelligent television screenshot sharing method and device
CN106790202A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 A kind of multimedia file shares processing method, device and terminal
CN107797737A (en) * 2017-09-26 2018-03-13 努比亚技术有限公司 The method, apparatus and computer-readable recording medium that picture is edited again
CN112506412A (en) * 2020-12-07 2021-03-16 北京达佳互联信息技术有限公司 Video editing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081189A1 (en) * 2005-10-06 2007-04-12 Konica Minolta Business Technologies, Inc. Image processing device, image processing system including image processing device, image processing method, and recording medium storing program product for controlling image processing device
US20120240106A1 (en) * 2011-03-16 2012-09-20 Microsoft Corporation Optional retargeting of library references
CN106604089A (en) * 2016-10-25 2017-04-26 北京小米移动软件有限公司 Intelligent television screenshot sharing method and device
CN106790202A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 A kind of multimedia file shares processing method, device and terminal
CN107797737A (en) * 2017-09-26 2018-03-13 努比亚技术有限公司 The method, apparatus and computer-readable recording medium that picture is edited again
CN112506412A (en) * 2020-12-07 2021-03-16 北京达佳互联信息技术有限公司 Video editing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113037618B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN113300938B (en) Message sending method and device and electronic equipment
CN112399006B (en) File sending method and device and electronic equipment
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112286887A (en) File sharing method and device and electronic equipment
CN113467660A (en) Information sharing method and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN113114845B (en) Notification message display method and device
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN112698762B (en) Icon display method and device and electronic equipment
EP4351117A1 (en) Information display method and apparatus, and electronic device
CN113037618B (en) Image sharing method and device
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN114374663A (en) Message processing method and message processing device
CN113835601A (en) Screenshot management method and device
CN112486650A (en) Operation path switching method and device and electronic equipment
CN112035032B (en) Expression adding method and device
CN112416230B (en) Object processing method and device
CN112578966B (en) Application program switching method and device and electronic equipment
CN114416267A (en) Information processing method and device and electronic equipment
CN115209219A (en) Video processing method and device and electronic equipment
CN113176842A (en) Application control method and device and electronic equipment
CN117082056A (en) File sharing method and electronic equipment
CN111694996A (en) Contact management method, device, electronic equipment and medium
CN117111811A (en) Screenshot method and device, electronic equipment and readable storage medium
CN114356164A (en) Sharing method and sharing device

Legal Events

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