CN105988790B - Information processing method, sending terminal and receiving terminal - Google Patents

Information processing method, sending terminal and receiving terminal Download PDF

Info

Publication number
CN105988790B
CN105988790B CN201510067060.XA CN201510067060A CN105988790B CN 105988790 B CN105988790 B CN 105988790B CN 201510067060 A CN201510067060 A CN 201510067060A CN 105988790 B CN105988790 B CN 105988790B
Authority
CN
China
Prior art keywords
information
text
target image
area
text information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510067060.XA
Other languages
Chinese (zh)
Other versions
CN105988790A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510067060.XA priority Critical patent/CN105988790B/en
Publication of CN105988790A publication Critical patent/CN105988790A/en
Application granted granted Critical
Publication of CN105988790B publication Critical patent/CN105988790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information processing method, a sending terminal and a receiving terminal, wherein the method comprises the following steps: receiving a first operation; determining a designated area in a window display area of the sending terminal in response to the first operation; detecting whether the first cut-map mode is supported or not to obtain a detection result; when the detection result is that a first screenshot mode is supported, starting the first screenshot mode, and intercepting information contained in the designated area in the first screenshot mode to obtain a screenshot result at least comprising text information and picture information; and sending the screenshot result.

Description

Information processing method, sending terminal and receiving terminal
Technical Field
The present invention relates to communications technologies, and in particular, to an information processing method, a sending terminal, and a receiving terminal.
Background
In the process of implementing the technical solution of the embodiment of the present application, the inventor of the present application finds at least the following technical problems in the related art:
with the popularization of information sharing using the internet, information transmitted from an information transmitting side is required to be correctly restored at an information receiving side to ensure information consistency. The consistency of information sharing, the accuracy and the convenience of information restoration are all necessary factors for achieving a better information sharing effect.
An application scenario of information sharing is as follows: and a user at the sending terminal side obtains a screenshot result for the designated information in a screenshot mode, the screenshot result is stored as picture information, and the picture information is transmitted to the receiving terminal from the sending terminal so as to be used for information sharing between the users at the sending terminal and the receiving terminal.
However, since the screenshot result is the picture information, the user at the receiving terminal can only perform an operation of zooming in or out on the picture information, and cannot obtain the content displayed in the picture information, such as word text content, PPT content, excel form content, and the like. To restore the content displayed in the picture information, the content displayed in the picture information can only be input again in a manual input mode by contrasting the content displayed in the picture information, and then whether the content is wrong or not is checked, so that the problems are as follows: the consistency of information sharing, the accuracy and the convenience of information restoration are not good enough.
However, in the related art, there is no effective solution to this problem.
Disclosure of Invention
In view of the above, embodiments of the present invention are intended to provide an information processing method, a sending terminal and a receiving terminal, which at least solve the problems in the prior art.
The technical scheme of the embodiment of the invention is realized as follows:
an information processing method of an embodiment of the present invention is applied to a sending terminal, and the method includes:
receiving a first operation;
determining a designated area in a window display area of the sending terminal in response to the first operation;
detecting whether the first cut-map mode is supported or not to obtain a detection result;
when the detection result is that a first screenshot mode is supported, starting the first screenshot mode, and intercepting information contained in the designated area in the first screenshot mode to obtain a screenshot result at least comprising text information and picture information;
and sending the screenshot result.
In the foregoing solution, determining a designated area in a window display area of the sending terminal in response to the first operation includes any one of the following manners:
the first method is as follows:
determining a region interception starting point position in a window display region of the sending terminal;
determining a region interception end point position in a window display region of the sending terminal;
obtaining the designated area according to the area interception starting point position and the area interception end point position;
the second method comprises the following steps:
determining a region interception starting point position in a window display region of the sending terminal;
acquiring area size information;
obtaining the designated area according to the area interception starting point position and the area size information;
the third method comprises the following steps:
determining a region interception end point position in a window display region of the sending terminal;
acquiring area size information;
and acquiring the designated area according to the area interception end position and the area size information.
In the foregoing solution, the intercepting information included in the designated area in the first cutout mode includes:
extracting text content in the designated area, and generating the text information according to the text content;
and extracting image content in the designated area, and generating the picture information according to the image content.
In the above scheme, the method further comprises:
acquiring a configuration file corresponding to the text content while extracting the text content in the designated area;
the configuration file comprises text structure layout information and text format information.
An information processing method of an embodiment of the present invention is applied to a receiving terminal, and the method includes:
receiving a screenshot result, wherein the screenshot result at least comprises text information and picture information;
synthesizing a target image according to the text information and the picture information, and displaying the target image in a window display area of the receiving terminal;
receiving a second operation;
and responding to the second operation, starting an editing mode, and extracting the text information from the target image in the editing mode.
In the foregoing solution, the synthesizing a target image according to the text information and the picture information includes:
generating a layer of the target image;
placing the picture information in a layer of the target image;
and placing the text information on the layer of the target image, and stacking the text information above the picture information.
In the above scheme, the starting the editing mode, and extracting the text information from the target image in the editing mode includes:
starting an editing mode to enable the text information in the target image to be in an editable state;
extracting all or part of content in the text information from the target image based on a third operation;
acquiring a configuration file corresponding to the text information, wherein the configuration file comprises text structure layout information and text format information;
performing self-adaptive matching on all contents or part of contents in the acquired text information according to the text structure layout information and the text format information, and using the matched text information for editing the newly started application;
the text information obtained by matching and the text information in the target image are information with the same content, the same layout and the same format.
A transmission terminal according to an embodiment of the present invention includes:
a first receiving unit configured to receive a first operation;
a first response unit configured to determine a designated area in a window display area of the sending terminal in response to the first operation;
the detection unit is used for detecting whether the first cut-map mode is supported or not to obtain a detection result;
the intercepting unit is used for starting the first screenshot mode when the detection result supports the first screenshot mode, and intercepting the information contained in the designated area in the first screenshot mode to obtain a screenshot result at least comprising text information and picture information;
and the sending unit is used for sending the screenshot result.
In the foregoing solution, the response unit is further configured to determine a designated area in a window display area of the sending terminal by using any one of the following manners:
the first method is as follows:
determining a region interception starting point position in a window display region of the sending terminal;
determining a region interception end point position in a window display region of the sending terminal;
obtaining the designated area according to the area interception starting point position and the area interception end point position;
the second method comprises the following steps:
determining a region interception starting point position in a window display region of the sending terminal;
acquiring area size information;
obtaining the designated area according to the area interception starting point position and the area size information;
the third method comprises the following steps:
determining a region interception end point position in a window display region of the sending terminal;
acquiring area size information;
and acquiring the designated area according to the area interception end position and the area size information.
In the above solution, the intercepting unit is further configured to extract text content in the designated area, and generate the text information according to the text content; and extracting image content in the designated area, and generating the picture information according to the image content.
In the foregoing solution, the sending terminal further includes:
a configuration file extracting unit, configured to obtain a configuration file corresponding to the text content while extracting the text content in the designated area;
the configuration file comprises text structure layout information and text format information.
A receiving terminal according to an embodiment of the present invention includes:
the screenshot result receiving unit is used for receiving screenshot results, and the screenshot results at least comprise text information and picture information;
an image synthesis unit for synthesizing a target image according to the text information and the picture information and displaying the target image in a window display area of the receiving terminal;
a second receiving unit for receiving a second operation;
and the second response unit is used for responding to the second operation, starting an editing mode and extracting the text information from the target image in the editing mode.
In the foregoing solution, the image synthesis unit is further configured to generate a layer of the target image; placing the picture information in a layer of the target image; and placing the text information on the layer of the target image, and stacking the text information above the picture information.
In the foregoing solution, the second response unit further includes:
a mode opening subunit, configured to open an editing mode, so that the text information in the target image is in an editable state;
a content extraction subunit, configured to extract all or part of the content in the text information from the target image based on a third operation;
the configuration extraction subunit is used for acquiring a configuration file corresponding to the text information, wherein the configuration file comprises text structure layout information and text format information;
the self-adaptive matching subunit is used for performing self-adaptive matching on all contents or part of contents in the acquired text information according to the text structure layout information and the text format information, and using the matched text information for editing and using a newly opened application; the text information obtained by matching and the text information in the target image are information with the same content, the same layout and the same format.
The information processing method of the embodiment of the invention is applied to a sending terminal, and comprises the following steps: receiving a first operation; determining a designated area in a window display area of the sending terminal in response to the first operation; detecting whether the first cut-map mode is supported or not to obtain a detection result; when the detection result is that a first screenshot mode is supported, starting the first screenshot mode, and intercepting information contained in the designated area in the first screenshot mode to obtain a screenshot result at least comprising text information and picture information; and sending the screenshot result.
By adopting the embodiment of the invention, when the sending terminal supports the first screenshot mode, the corresponding novel screenshot mode is adopted to screenshot, namely the first screenshot mode is started, and the information contained in the specified area is intercepted in the first screenshot mode to obtain the screenshot result at least comprising text information and picture information; and sending the screenshot result to a receiving terminal for screenshot result reduction processing, wherein the screenshot displayed at the sending terminal is the same as the screenshot restored at the receiving terminal, so that the information sharing consistency is met, and the accuracy and the convenience of information restoration are good. And the text information can be extracted from the screenshot as required and used for editing the newly opened application.
Drawings
FIG. 1 is a schematic flow chart of a first implementation of the method according to the first embodiment of the present invention;
FIG. 2 is a schematic flow chart of a third implementation of the method of the present invention;
FIGS. 3-6 are schematic diagrams of screenshots of application scenarios employing embodiments of the present invention;
fig. 7 is a schematic structural diagram of a transmitting terminal according to a first embodiment of the present invention;
fig. 8 is a schematic structural diagram of a receiving terminal according to a first embodiment of the present invention;
fig. 9 is a diagram of a transmission network architecture of a transmitting terminal and a receiving terminal according to the present invention.
Detailed Description
The following describes the embodiments in further detail with reference to the accompanying drawings.
The first embodiment of the method comprises the following steps:
an information processing method according to an embodiment of the present invention is applied to a sending terminal, and as shown in fig. 1, the method includes:
step 101, receiving a first operation;
here, the first operation shown may be an operation of triggering a screenshot, such as triggering the screenshot operation through a screenshot icon button on the client, or triggering the screenshot operation through a shortcut key combination on the keyboard. For the screenshot function of the client, the screenshot function may be a function item carried by the client, such as a screenshot in a chat application, or an extended function item in the client, such as an input method application, such as an extended screenshot function that can be added in a hundred-degree input method, and the like;
step 102, responding to the first operation, and determining a designated area in a window display area of the sending terminal;
step 103, detecting whether the first cut-map mode is supported or not to obtain a detection result;
104, when the detection result supports a first screenshot mode, starting the first screenshot mode, and intercepting information contained in the designated area in the first screenshot mode to obtain a screenshot result at least comprising text information and picture information;
here, the detection result may not support the first screenshot mode, and then the existing screenshot technology is still used, but a prompt panel may be displayed to the user to prompt the user that a new screenshot function supporting the first screenshot mode can be installed and the user selects to install the new screenshot function by himself, or the user may be prompted to upgrade to the latest application having the first screenshot mode and the user selects to upgrade the application by himself;
the new screenshot mode may be enabled only if the first screenshot mode is supported.
The first screenshot mode is a novel screenshot mode according to an embodiment of the present invention, that is, information including text information is extracted, which is not limited to support extracting picture information, for example, an original image includes a section of dialog in a chat interface, the section of dialog also includes picture information, for example, the text information "we go to see a movie bar in the next morning in tomorrow", and the picture information "L OGO facing the movie theater and the image of the main corner of the movie", at this time, the content of the dialog intercepted in the first screenshot mode is started, not only the picture information but also the text information can be obtained, and of course, layout information such as the font size, the color and the like of the text information, and information such as the resolution of the picture and the size of the picture can also be included.
Here, the text information is character information of a designated area; the picture information is background picture information under the character information of the designated area;
and 105, sending the screenshot result.
By adopting the embodiment of the invention, the screenshot result of the sending terminal comprises not only the picture information but also the character information, at least two parts of information are sent to the receiving terminal together for the receiving terminal to synthesize and generate the screenshot again, the obtained screenshot is the same as the screenshot displayed on the sending terminal, so that the screenshot of the sending terminal is accurately restored on the receiving terminal, and it needs to be pointed out that the screenshot displayed on the sending terminal and the screenshot restored on the receiving terminal are the same whether the screenshot is the picture or the character information, even if the screenshot is dragged on the receiving terminal, the character information can adaptively integrate the proper proportion, and the image lost frame can not occur, because the character information is vector information, but the picture information is non-vector information, and a certain lost frame can occur.
In summary, the embodiment of the invention can meet the requirement of consistency of information sharing, and has good accuracy and convenience of information restoration. And the text information can be extracted from the screenshot as required and used for editing the newly opened application.
The second method embodiment:
based on the first method embodiment, in an embodiment of the present invention, the determining, in response to the first operation, a designated area in a window display area of the sending terminal includes any one of the following manners:
the first method is as follows:
determining a region interception starting point position in a window display region of the sending terminal, such as the position of the upper left corner of a designated region;
determining a region interception end point position in a window display region of the sending terminal, such as the position of the lower right corner of a designated region, wherein the region interception start point position and the region interception end point position are located on the diagonal line of a window of the designated region;
and obtaining the designated area according to the area interception starting point position and the area interception end point position.
The second method comprises the following steps:
determining a region interception starting point position in a window display region of the sending terminal, such as the position of the upper left corner of a designated region;
acquiring region size information, such as the size of a window 12 × 12;
and obtaining the designated area according to the area interception starting point position and the area size information.
The third method comprises the following steps:
determining a region interception end point position in a window display region of the sending terminal, such as the position of the lower right corner of a designated region, wherein the region interception start point position and the region interception end point position are located on the diagonal line of a window of the designated region;
obtaining region size information, such as the size of a window 24 × 24;
and acquiring the designated area according to the area interception end position and the area size information.
In an embodiment of the present invention, the intercepting information included in the designated area in the first cutout mode includes:
extracting text content in the designated area, and generating the text information according to the text content;
and extracting image content in the designated area, and generating the picture information according to the image content.
In an implementation manner of an embodiment of the present invention, the method further includes: acquiring a configuration file corresponding to the text content while extracting the text content in the designated area; the configuration file comprises text structure layout information and text format information.
The third method embodiment:
an information processing method according to an embodiment of the present invention is applied to a receiving terminal, and as shown in fig. 2, the method includes:
step 201, receiving a screenshot result, wherein the screenshot result at least comprises text information and picture information;
step 202, synthesizing a target image according to the text information and the picture information, and displaying the target image in a window display area of the receiving terminal;
step 203, receiving a second operation;
here, the second operation may be an operation of a user double-clicking any one position of a target image (also referred to as a text image, which is different from a pure image obtained by using the related art) so that the target image is in an editable state;
and step 204, responding to the second operation, starting an editing mode, and extracting the text information from the target image in the editing mode.
By adopting the embodiment of the invention, the screenshot result at least comprising the text information and the picture information is received at the receiving terminal, the target image is synthesized again according to the text information and the picture information, and the target image is displayed in the window display area of the receiving terminal. If the user is interested in the text information in the target image, the opening of the editing mode can be triggered through the second operation, so that the text information in the target image is in an editable state, and the subsequent user can perform various editing processes on the text information.
The method comprises the following steps:
based on the third method embodiment, in an embodiment of the present invention, the synthesizing a target image according to the text information and the picture information includes:
step 301, generating a layer of the target image;
step 302, placing the picture information in a layer of the target image;
and 303, placing the text information on the layer of the target image, and stacking the text information on the picture information.
Method example five:
based on the third to fourth embodiments of the method, in an embodiment of the present invention, the starting an editing mode, and extracting the text information from the target image in the editing mode, includes:
step 401, starting an editing mode to enable the text information in the target image to be in an editable state;
step 402, extracting all or part of content in the text information from the target image based on a third operation;
here, the third operation may be an operation of a keyboard combination key, such as Ctrl + a, which corresponds to selecting all contents in the text information, or the operation of the keyboard combination key is Ctrl + C, copying all contents in the selected text information to a clipboard, storing the contents in a cache for storage, and extracting the contents from the clipboard in the cache when a user needs to use the information, for newly starting text editing of an application, such as opening a WORD or EXCE L or PPT file, and copying all contents in the selected text information to the WORD or EXCE L file or PPT for re-editing according to the operation Ctrl + V of the keyboard combination key;
step 403, acquiring a configuration file corresponding to the text information, where the configuration file includes text structure layout information and text format information;
step 404, performing adaptive matching on all or part of the acquired contents in the text information according to the text structure layout information and the text format information, and using the matched text information for editing the newly opened application;
here, the newly started application includes WORD or EXCE L or PPT, etc.;
step 405, the text information obtained by matching and the text information in the target image are information with the same content, the same layout and the same format.
Method example five:
based on the above method embodiments three-five, in an implementation manner of an embodiment of the present invention, the method further includes:
step 501, receiving a fourth operation;
here, the fourth operation is to drag the target image and enlarge or reduce the target image;
step 502, responding to a fourth operation, and extracting the text structure layout information and the text format information matched with the outer boundary change parameters of the target object according to the outer boundary change parameters of the target object obtained by the motion track of the fourth operation;
step 503, performing adaptive matching display on all or part of the content in the text information initially displayed on the target object according to the text structure layout information and the text format information.
In an embodiment of the present invention, the specific processing procedure of step 502 is as follows:
step 5021, obtaining an initial position of a motion track of the fourth operation, and correspondingly extracting to obtain a current first outer boundary size of the target object, such as 48 × 48;
step 5022, when the target object is in the first outer boundary size, extracting all content or part content of first character information in the target object, and recording first text structure layout information and first text format information corresponding to the first character information when the target object is in the first outer boundary size;
step 5023, obtaining the end position of the motion trail of the fourth operation, and correspondingly extracting to obtain the current second outer boundary size of the target object, such as 24 × 24;
step 5024, when the target object is in the second outer boundary size, extracting all content or part content of second character information in the target object, and recording second text structure layout information and second text format information corresponding to the second character information when the target object is in the second outer boundary size;
the whole content or partial content of the first character information is the same as the whole content or partial content of the second character information, and the difference is that the text structure layout information and the text format information of the first character information and the second character information are different and are changed according to the change of the size of the outer boundary.
The configuration information corresponding to all or part of the content of the first text information is as follows: first text structure layout information and first text format information;
the configuration information corresponding to all or part of the content of the second text information is as follows: second text structure layout information and second text format information.
By adopting the embodiment of the invention, the word size and the format of the character information in the target image are adaptively adjusted along with the change of the enlargement or the reduction of the target image dragged by the user, and although the size of the character information is changed, the frame loss does not occur in the definition.
In an embodiment of the present invention, the specific processing procedure of step 503 is as follows:
performing adaptive matching display on all contents or part of contents of the first character information initially displayed on the target object according to second text structure layout information and second text format information to obtain all contents or part of contents of the second character information;
subsequently, the previous 24 × 24 can be zoomed back on the basis of 48 × 48, and the whole content or the part content of the first text information can be obtained by adaptively matching and displaying the whole content or the part content of the second text information currently displayed on the target object according to the first text structure layout information and the first text format information.
The embodiment of the invention is explained by taking a practical application scene as an example as follows:
application scenarios: many people choose to send the text to the other party in the form of a screenshot in order to maintain the arrangement and style of the original text, for example, sending the screenshot shown in fig. 3 to the other party.
However, in the prior art, the receiver cannot copy the information conveniently, and needs to re-input the information word by word, that is, to restore the content displayed in the picture information, the content displayed in the picture information can only be re-input in a manual input mode by contrasting the content displayed in the picture information, and then whether the content is wrong or not is checked, so that the information sharing consistency is caused, and the accuracy and the convenience of information restoration are not good enough;
moreover, the picture information is imaging information which is composed of an image background and character contents, and the imaging information is non-vector information, so that the user can zoom in or zoom out the picture information, which causes the problem of image frame loss due to the non-vector information in the picture information, and causes blurring not only the image background but also unclear character contents, i.e. double frame loss.
The application scenario adopts the embodiment of the invention, which is a screenshot scheme capable of quickly taking out characters in a picture, and chat applications described below can be PC version QQ, Pangbaowang, Jingdonggong and the like, a sender described below refers to an original owner of information, and a receiver described below refers to a person who receives and sends the sender information.
The application scene adopts the embodiment of the invention, and at least the following problems can be solved:
1) to ensure the layout of some text (e.g.: word, Excel, etc.), which is sent to the receiver through QQ, usually the screenshot is adopted, but for the receiver, if the text in the picture is to be used, the text must be input again by himself/herself, one character by one character.
2) If the user puts the pictures and texts in word, Excel and the like to the other party through QQ in a copying mode, the original typesetting cannot be kept, and the pictures cannot be directly pasted in the chat conversation.
3) The existing picture format is not vector information, so that the frame loss problem of the product can be caused after the picture is enlarged and reduced.
The technical scheme of the embodiment of the invention adopted by the application scene is a brand-new character picture screenshot mode, a sender stores two parts of text information and picture information while screenshot, and a receiver user only needs to double click the character picture to copy the character information in the picture, and the method specifically comprises the following contents:
firstly, when a receiver receives a screenshot I of a character picture mode shown in the figure 4, the screenshot I is obtained by adopting the novel character picture screenshot mode of the embodiment of the invention;
secondly, the receiver can double-click the area where the text information is located in the screenshot I, and the area where the text information is located is any position of all the areas in the screenshot I;
entering an editable mode of the screenshot I, such as a text editing mode shown in FIGS. 5-6;
entering a text editing mode, selecting a text required by a user, triggering Ctrl + C, and selecting the required text information;
fifthly, after Ctrl + V triggers and copies the selected text information to a clipboard, the selected text information is copied to software such as Word and Excel.
Here, it should be noted that:
when a sender starts a character picture screenshot mode, a screenshot is composed of the following two parts:
1) and (3) character information: the vector format is stored and carries text format information;
2) picture information, i.e., background pictures with the following text information: storing in a jpeg form;
secondly, when the sender sends the screenshot in the text picture mode to the receiver, the text information and the background picture are jointly sent to the receiver, and the screenshot I seen by the receiver is actually: the character information is on the top, the background picture is on the bottom, and the final screenshot is pieced together, but the actual display effect is similar to the direct screenshot;
when the user double-clicks the picture, starting a character taking mode, and enabling the user to randomly select information of the character part;
fourthly, the method comprises the following steps: when a user enlarges or reduces the picture, because the text part information is vector information, the text part information is subjected to vector scaling, the background image is directly stretched, the background image can be blurred at most, and the frame loss is reduced or not reduced at all compared with the original implementation mode because the text information is partially complete.
Here, it should be noted that: the following description of the terminal items is similar to the above description of the method, and the description of the beneficial effects of the method is omitted for brevity. For technical details not disclosed in the terminal embodiment of the present invention, refer to the description of the method embodiment of the present invention.
First embodiment of the sending terminal:
as shown in fig. 7, a transmitting terminal 1 according to an embodiment of the present invention includes:
a first receiving unit 11 for receiving a first operation;
a first response unit 12, configured to determine, in response to the first operation, a designated area in a window display area of the sending terminal;
the detecting unit 13 is configured to detect whether the first cropping mode is supported, so as to obtain a detection result;
an intercepting unit 14, configured to start a first screenshot mode when the detection result supports the first screenshot mode, and intercept information included in the specified area in the first screenshot mode to obtain a screenshot result at least including text information and picture information;
and the sending unit 15 is configured to send the screenshot result.
In an embodiment of the present invention, the response unit is further configured to determine a designated area in a window display area of the sending terminal by using any one of the following manners:
the first method is as follows:
determining a region interception starting point position in a window display region of the sending terminal;
determining a region interception end point position in a window display region of the sending terminal;
obtaining the designated area according to the area interception starting point position and the area interception end point position;
the second method comprises the following steps:
determining a region interception starting point position in a window display region of the sending terminal;
acquiring area size information;
obtaining the designated area according to the area interception starting point position and the area size information;
the third method comprises the following steps:
determining a region interception end point position in a window display region of the sending terminal;
acquiring area size information;
and acquiring the designated area according to the area interception end position and the area size information.
In an implementation manner of the embodiment of the present invention, the intercepting unit is further configured to extract text content in the designated area, and generate the text information according to the text content; and extracting image content in the designated area, and generating the picture information according to the image content.
In an embodiment of the present invention, the sending terminal further includes:
a configuration file extracting unit, configured to obtain a configuration file corresponding to the text content while extracting the text content in the designated area;
the configuration file comprises text structure layout information and text format information.
The embodiment of the receiving terminal is as follows:
as shown in fig. 8, a receiving terminal 2 in an embodiment of the present invention includes:
a screenshot result receiving unit 21, configured to receive a screenshot result, where the screenshot result at least includes text information and picture information;
an image synthesizing unit 22 configured to synthesize a target image based on the text information and the picture information, and display the target image in a window display area of the receiving terminal;
a second receiving unit 23 for receiving a second operation;
a second responding unit 24, configured to respond to the second operation, start an editing mode, and extract the text information from the target image in the editing mode.
In an embodiment of the present invention, the image synthesizing unit is further configured to generate a layer of the target image; placing the picture information in a layer of the target image; and placing the text information on the layer of the target image, and stacking the text information above the picture information.
In an embodiment of the present invention, the second response unit further includes:
a mode opening subunit, configured to open an editing mode, so that the text information in the target image is in an editable state;
a content extraction subunit, configured to extract all or part of the content in the text information from the target image based on a third operation;
the configuration extraction subunit is used for acquiring a configuration file corresponding to the text information, wherein the configuration file comprises text structure layout information and text format information;
the self-adaptive matching subunit is used for performing self-adaptive matching on all contents or part of contents in the acquired text information according to the text structure layout information and the text format information, and using the matched text information for editing and using a newly opened application; the text information obtained by matching and the text information in the target image are information with the same content, the same layout and the same format.
Fig. 9 is a schematic diagram of a sending terminal 1 and a receiving terminal 2 performing screenshot transmission, including one sending terminal 1 and two receiving terminalsIn the receiving terminal 2, the user performs editing operation on the desktop computer of the sending terminal 1 and then performs screen capturing to obtain the content "how good we drink coffee in the next day" indicated by S1? XX cafe of xxxx mansion with address of five road junctions
Figure BDA0000669598090000161
", the content indicated by S1 is transmitted via the cloud network constituted by the router 601, the streaming server 602, the IM server 603, and the router 604, and finally transmitted to the two receiving terminals 2 of the opposite end.
Wherein, a receiving terminal 2 using a notebook to perform editing operation receives the content indicated by S1, extracts the literal information indicated by S1' — XX cafe with address of xxxx building at five crossing from it, and uses it to newly start S2 text processing in application, such as newly start a notepad application, copy the XX cafe with address of xxxx building at five crossing into the notepad application, and add alarm clock reminder as memo for use;
the other receiving terminal 2, which is editing with a mobile phone, receives the content indicated by S1, extracts the text information indicated by S1', the "XX cafe" with the address of xxxx building in the fifth road junction, for newly starting the S3 text processing in the application, such as newly starting a mail application, copying the "XX cafe" with the address of xxxx building in the fifth road junction into the mail content, sending to the friend and inviting the friend to participate in the small party in the cafe.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (11)

1. An information processing method, applied to a transmitting terminal, the method comprising:
receiving a first operation;
determining a designated area in a window display area of the sending terminal in response to the first operation;
detecting the support state of the first cut-map mode to obtain a detection result;
when the detection result is that the first cropping mode is supported, the first cropping mode is started, text information is obtained by extracting text content in the designated area in the first cropping mode, picture information is obtained by extracting image content in the designated area, and
generating a screenshot result at least comprising the text information and the picture information, wherein the text information is vector information, and the picture information is non-vector information;
sending the screenshot result to enable
The receiving terminal generates a layer of a target image, the picture information is placed on the layer of the target image, the text information is placed on the layer of the target image and is overlapped above the picture information, and the target image is displayed in a window display area of the receiving terminal.
2. The method according to claim 1, wherein determining the designated area in the window display area of the transmitting terminal in response to the first operation comprises any one of:
the first method is as follows:
determining a region interception starting point position in a window display region of the sending terminal;
determining a region interception end point position in a window display region of the sending terminal;
obtaining the designated area according to the area interception starting point position and the area interception end point position;
the second method comprises the following steps:
determining a region interception starting point position in a window display region of the sending terminal;
acquiring area size information;
obtaining the designated area according to the area interception starting point position and the area size information;
the third method comprises the following steps:
determining a region interception end point position in a window display region of the sending terminal;
acquiring area size information;
and acquiring the designated area according to the area interception end position and the area size information.
3. The method of claim 1, further comprising:
acquiring a configuration file corresponding to the text content while extracting the text content in the designated area;
the configuration file comprises text structure layout information and text format information.
4. An information processing method, applied to a receiving terminal, the method comprising:
receiving a screenshot result, wherein the screenshot result at least comprises text information and picture information, the text information is obtained by extracting text content in a designated area of a window display area, and the picture information is obtained by extracting image content in the designated area; the text information is vector information, and the picture information is non-vector information;
generating a layer of a target image;
placing the picture information in a layer of the target image;
placing the text information on the layer of the target image and stacking the text information above the picture information;
displaying the target image in a window display area of the receiving terminal;
receiving a second operation;
and responding to the second operation, starting an editing mode, and extracting the text information from the target image in the editing mode.
5. The method according to claim 4, wherein the opening of an editing mode in which the text information is extracted from the target image comprises:
starting an editing mode to enable the text information in the target image to be in an editable state;
extracting all or part of content in the text information from the target image based on a third operation;
acquiring a configuration file corresponding to the text information, wherein the configuration file comprises text structure layout information and text format information;
performing self-adaptive matching on all contents or part of contents in the acquired text information according to the text structure layout information and the text format information, and using the matched text information for editing the newly started application;
the text information obtained by matching and the text information in the target image are information with the same content, the same layout and the same format.
6. A transmitting terminal, characterized in that the transmitting terminal comprises:
a first receiving unit configured to receive a first operation;
a first response unit configured to determine a designated area in a window display area of the sending terminal in response to the first operation;
the detection unit is used for detecting the support state of the first cutting pattern to obtain a detection result;
an intercepting unit, configured to, when the detection result is that the first cutout mode is supported, start the first cutout mode, extract text content in the specified area in the first cutout mode to obtain text information, extract image content in the specified area to obtain picture information, and obtain a result of the first cutout mode
Generating a screenshot result at least comprising the text information and the picture information, wherein the text information is vector information, and the picture information is non-vector information;
a sending unit for sending the screenshot result so that
The receiving terminal generates a layer of a target image, the picture information is placed on the layer of the target image, the text information is placed on the layer of the target image and is overlapped above the picture information, and the target image is displayed in a window display area of the receiving terminal.
7. The sending terminal of claim 6, wherein the response unit is further configured to determine the designated area in the window display area of the sending terminal in a manner including any one of:
the first method is as follows:
determining a region interception starting point position in a window display region of the sending terminal;
determining a region interception end point position in a window display region of the sending terminal;
obtaining the designated area according to the area interception starting point position and the area interception end point position;
the second method comprises the following steps:
determining a region interception starting point position in a window display region of the sending terminal;
acquiring area size information;
obtaining the designated area according to the area interception starting point position and the area size information;
the third method comprises the following steps:
determining a region interception end point position in a window display region of the sending terminal;
acquiring area size information;
and acquiring the designated area according to the area interception end position and the area size information.
8. The transmitting terminal of claim 6, wherein the transmitting terminal further comprises:
the configuration file extraction unit is used for extracting the text content in the specified area and acquiring a configuration file corresponding to the text content;
the configuration file comprises text structure layout information and text format information.
9. A receiving terminal, characterized in that the receiving terminal comprises:
a screenshot result receiving unit, configured to receive a screenshot result, where the screenshot result at least includes text information and picture information, where the text information is obtained by extracting text content in a designated area of a window display area, and the picture information is obtained by extracting image content in the designated area; the text information is vector information, and the picture information is non-vector information;
an image synthesizing unit for generating a layer of a target image; placing the picture information in a layer of the target image; placing the text information on the layer of the target image and stacking the text information above the picture information; displaying the target image in a window display area of the receiving terminal;
a second receiving unit for receiving a second operation;
and the second response unit is used for responding to the second operation, starting an editing mode and extracting the text information from the target image in the editing mode.
10. The receiving terminal of claim 9, wherein the second response unit further comprises:
a mode opening subunit, configured to open an editing mode, so that the text information in the target image is in an editable state;
a content extraction subunit, configured to extract all or part of the content in the text information from the target image based on a third operation;
the configuration extraction subunit is used for acquiring a configuration file corresponding to the text information, wherein the configuration file comprises text structure layout information and text format information;
the self-adaptive matching subunit is used for performing self-adaptive matching on all contents or part of contents in the acquired text information according to the text structure layout information and the text format information, and using the matched text information for editing and using a newly opened application; the text information obtained by matching and the text information in the target image are information with the same content, the same layout and the same format.
11. A computer storage medium characterized in that it stores a computer program that, when executed by at least one processor, implements the information processing method according to any one of claims 1 to 3, or the information processing method according to any one of claims 4 to 5.
CN201510067060.XA 2015-02-09 2015-02-09 Information processing method, sending terminal and receiving terminal Active CN105988790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510067060.XA CN105988790B (en) 2015-02-09 2015-02-09 Information processing method, sending terminal and receiving terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510067060.XA CN105988790B (en) 2015-02-09 2015-02-09 Information processing method, sending terminal and receiving terminal

Publications (2)

Publication Number Publication Date
CN105988790A CN105988790A (en) 2016-10-05
CN105988790B true CN105988790B (en) 2020-07-14

Family

ID=57037614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510067060.XA Active CN105988790B (en) 2015-02-09 2015-02-09 Information processing method, sending terminal and receiving terminal

Country Status (1)

Country Link
CN (1) CN105988790B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2740785C2 (en) * 2016-10-19 2021-01-21 Хуавэй Текнолоджиз Ко., Лтд. Image processing method and equipment, electronic device and graphical user interface
CN106709965B (en) * 2016-12-12 2020-08-11 广东威创视讯科技股份有限公司 Text display method and device based on shared surface
CN107426709A (en) * 2017-04-19 2017-12-01 深圳天珑无线科技有限公司 A kind of information processing method, apparatus and system
CN108089803A (en) * 2017-12-19 2018-05-29 广东小天才科技有限公司 Screen capture information acquisition method and device
CN111158564B (en) * 2019-12-20 2021-03-30 福建天泉教育科技有限公司 Method and terminal for restoring picture clipping effect in PowerPoint
CN113438526A (en) * 2021-06-25 2021-09-24 维沃移动通信有限公司 Screen content sharing method, screen content display device, screen content equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930263A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Information processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855059B (en) * 2012-08-21 2015-04-08 东莞宇龙通信科技有限公司 Terminal and information sharing method
CN102968274A (en) * 2012-11-22 2013-03-13 广东欧珀移动通信有限公司 Free screen capturing method and free screen capturing system in mobile device
CN103092989A (en) * 2013-02-08 2013-05-08 广州市渡明信息技术有限公司 Image display method and device adaptable to terminal screen

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930263A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Information processing method and device

Also Published As

Publication number Publication date
CN105988790A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN105988790B (en) Information processing method, sending terminal and receiving terminal
CN100418055C (en) Method and system for sharing user interface window small parts
US9594496B2 (en) Method and apparatus for playing IM message
US9608944B2 (en) Information processing apparatus and information processing method
CN110262715B (en) Information processing method and device, computer readable storage medium and electronic equipment
US20150200979A1 (en) Viewing different window content with different attendees in desktop sharing
WO2022089330A1 (en) Method for taking screenshot, apparatus, electronic device, and readable storage medium
CN101484886A (en) Methods and apparatuses for dynamically sharing a portion of a display for application based screen sampling
CN106708452B (en) Information sharing method and terminal
US20150012831A1 (en) Systems and methods for sharing graphical user interfaces between multiple computers
US20150143260A1 (en) State-Machine-Driven User-Interface Interactions
CN110704647B (en) Content processing method and device
US10897435B2 (en) Instant messaging method and system, and electronic apparatus
CN109274999A (en) A kind of video playing control method, device, equipment and medium
US20180248830A1 (en) Methods for generating message notifications
US11556605B2 (en) Search method, device and storage medium
WO2018086548A1 (en) Interface display method and apparatus
US20220417343A1 (en) Image processing method, apparatus, device, and computer-readable storage medium
CN108986009A (en) Generation method, device and the electronic equipment of picture
US20180034979A1 (en) Techniques for capturing an image within the context of a document
CN112817671A (en) Image processing method, device, equipment and computer readable storage medium
CN111722764A (en) Message input and display method and device, electronic equipment and readable storage medium
CN107248947B (en) Expression processing method and processing device, computer equipment and storage medium
US10887551B2 (en) Information processing apparatus, information processing system and information processing method
CN112099678B (en) Text processing method and device and computer readable storage medium

Legal Events

Date Code Title Description
C06 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