CN104820549A - Method, device and terminal for transmitting social networking application message - Google Patents

Method, device and terminal for transmitting social networking application message Download PDF

Info

Publication number
CN104820549A
CN104820549A CN201510178249.6A CN201510178249A CN104820549A CN 104820549 A CN104820549 A CN 104820549A CN 201510178249 A CN201510178249 A CN 201510178249A CN 104820549 A CN104820549 A CN 104820549A
Authority
CN
China
Prior art keywords
message
described
social application
application message
target
Prior art date
Application number
CN201510178249.6A
Other languages
Chinese (zh)
Other versions
CN104820549B (en
Inventor
肖政东
刘安昱
李国盛
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201510178249.6A priority Critical patent/CN104820549B/en
Publication of CN104820549A publication Critical patent/CN104820549A/en
Application granted granted Critical
Publication of CN104820549B publication Critical patent/CN104820549B/en

Links

Abstract

The present invention relates to a method, a device and a terminal for transmitting a social networking application message and belongs to the technical field of internet, wherein the method comprises the steps as follows: obtaining message box information of a target social networking application message when detecting that there is a message intercepting operation on the target social networking application message; determining location information of an area to be intercepted in a current display page according to the message box information; guiding in a message input box after intercepting the area to be intercepted to obtain a message picture; transmitting the content in the message input box to a terminal corresponding to a target user. The method, the device and the terminal of the disclosure can be used for realizing the transmission of the social networking application message by guiding the message picture in the message input box after obtaining the message picture through interception of the area to be intercepted, which comprises the social networking application message so as to transmit the message via intercepting any historical social networking application message in the current display page. Because the transmission of the message can be realized through interception of the area to be intercepted, which corresponds to the target social networking application message, the method, the device and the terminal of the disclosure simplify the operation of transmitting the social networking application message and improve the efficiency of transmitting the message which corresponds to the target social networking application message.

Description

The sending method of social application message, device and terminal

Technical field

The disclosure relates to Internet technical field, particularly a kind of sending method of social application message, device and terminal.

Background technology

Along with developing rapidly of Internet technology, there is increasing social application program.In addition, along with developing rapidly of terminal technology, social application program is installed in increasing terminal support.When terminal type is mobile terminal, between user, exchange and interdynamic can be carried out whenever and wherever possible by the social application program that respective mobile terminal is installed.Wherein, between user when carrying out exchange and interdynamic by social application program, conveniently the send mode of social application message is very important.

Correlation technique is when sending social application message, during arbitrary the history social activity application message sent before user wants to send to good friend, the social application message of this history can be copied, and after the message that social for this history application message affixes to social application program chat window is sent frame, the content in message input frame is sent to good friend.

Summary of the invention

The disclosure provides a kind of sending method of social application message, device and terminal.

According to the first aspect of disclosure embodiment, provide a kind of sending method of social application message, described method comprises:

When the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, the social application message of described target is that described message intercept operates corresponding social application message;

According to described message box information, determine the positional information of region to be intercepted in described current display page that the social application message of described target is corresponding;

Intercept described region to be intercepted according to described positional information, obtain message picture;

Described message picture is imported the message input frame of social application program;

Content in described message input frame is sent to terminal corresponding to targeted customer, and the content in described message input frame at least comprises described message picture.

In conjunction with first aspect, in the first possible implementation of first aspect, before the message box information of the social application message of described acquisition target, also comprise:

When arbitrary social application message in current display page detecting appointment gesture, using described social application message as the social application message of target.

In conjunction with first aspect, in the implementation that the second of first aspect is possible, the message box information of the social application message of described acquisition target, comprising:

Obtain arbitrary summit in the message box of the social application message of target in the position of chat window, the interaction area that described chat window provides in described current display page for social application program;

Obtain height and the width of described message box, using the height of the position of described summit in described chat window and described message box and width as message box information.

In conjunction with the implementation that the second of first aspect or first aspect is possible, in the third possible implementation of first aspect, described according to described message box information, determine that region to be intercepted that the social application message of described target is corresponding is in the positional information of described current display page, comprising:

According to described message box information, determine the primary importance of region to be intercepted in social application program chat window that the social application message of described target is corresponding;

The second place in described current display page according to described primary importance and described chat window, determines the positional information of region to be intercepted in described current display page that described target social activity message is corresponding.

In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, described according to the described region to be intercepted of described positional information intercepting, obtain message picture, comprising:

Calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;

According to described positional information, from described first data, intercept the second data corresponding to described region to be intercepted;

According to described second data genaration bitmap file;

According to institute's bitmap file generating messages picture.

According to the second aspect of disclosure embodiment, provide a kind of dispensing device of social application message, described device comprises:

Acquisition module, for when the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, the social application message of described target is the social application message of described message intercept operation correspondence;

First determination module, for according to described message box information, determines the positional information of region to be intercepted in described current display page that the social application message of described target is corresponding;

Interception module, for intercepting described region to be intercepted according to described positional information, obtains message picture;

Import module, for described message picture being imported the message input frame of social application program;

Sending module, for the content in described message input frame is sent to terminal corresponding to targeted customer, the content in described message input frame at least comprises described message picture.

In conjunction with second aspect, in the first possible implementation of second aspect, described device also comprises:

Second determination module, for when arbitrary social application message in current display page detecting appointment gesture, determines to get the message intercept operation on the social application message of target.

In conjunction with second aspect, in the implementation that the second of second aspect is possible, described acquisition module comprises:

First acquiring unit, for obtaining arbitrary summit in the message box of the social application message of target in the position of chat window, the interaction area that described chat window provides in described current display page for social application program;

Second acquisition unit, for obtaining height and the width of described message box, using the height of the position of described summit in described chat window and described message box and width as message box information.

In conjunction with the implementation that the second of second aspect or second aspect is possible, in the third possible implementation of second aspect, described first determination module comprises:

First determining unit, for according to described message box information, determines the primary importance of region to be intercepted in social application program chat window that the social application message of described target is corresponding;

Second determining unit, for the second place in described current display page according to described primary importance and described chat window, determines the positional information of region to be intercepted in described current display page that described target social activity message is corresponding.

In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described interception module comprises:

3rd acquiring unit, for calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;

Interception unit, for according to described positional information, intercepts the second data corresponding to described region to be intercepted from described first data;

First generation unit, for according to described second data genaration bitmap file;

Second generation unit, for according to institute's bitmap file generating messages picture.

According to the third aspect of disclosure embodiment, provide a kind of terminal, described terminal comprises:

Processor;

For the storer of storage of processor executable instruction;

Wherein, described processor is configured to:

When the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, the social application message of described target is that described message intercept operates corresponding social application message;

According to described message box information, determine the positional information of region to be intercepted in described current display page that the social application message of described target is corresponding;

Intercept described region to be intercepted according to described positional information, obtain message picture;

Described message picture is imported the message input frame of social application program;

Content in described message input frame is sent to terminal corresponding to targeted customer, and the content in described message input frame at least comprises described message picture.

The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:

During by the message intercept operation on the social application message of target being detected, obtain the message box information of the social application message of target, and after determining the positional information of region to be intercepted in current display page according to message box information, region to be intercepted is intercepted according to positional information, after obtaining message picture, realized the transmission of social application message by mode message picture being imported message input frame, thus a kind of method being realized message transmission by the social application message of arbitrary history intercepted in current display page is provided.Owing to can realize the transmission of message by intercepting region to be intercepted corresponding to the social application message of target, simplifying the operation sending social application message, thus the efficiency sending social application message can be improved.

Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.

Accompanying drawing explanation

Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.

Fig. 1 is the sending method process flow diagram of a kind of social application message according to an exemplary embodiment.

Fig. 2 is the sending method process flow diagram of a kind of social application message according to an exemplary embodiment.

Fig. 3 is the schematic diagram of a kind of chat window according to an exemplary embodiment.

Fig. 4 is the schematic diagram in the region a kind of to be intercepted according to an exemplary embodiment.

Fig. 5 is the block diagram of the dispensing device of a kind of social application message according to an exemplary embodiment.

Fig. 6 is the block diagram of the dispensing device of a kind of social application message according to an exemplary embodiment.

Fig. 7 is the block diagram of a kind of acquisition module according to an exemplary embodiment.

Fig. 8 is the block diagram of a kind of first determination module according to an exemplary embodiment.

Fig. 9 is the block diagram of a kind of interception module according to an exemplary embodiment.

Figure 10 is the block diagram of a kind of terminal according to an exemplary embodiment.

Embodiment

Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.

Fig. 1 is the sending method process flow diagram of a kind of social application message according to an exemplary embodiment.The sending method of social application message is applied in terminal, and as shown in Figure 1, the method that disclosure embodiment provides comprises the following steps.

In step S101, when the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, wherein, the social application message of target is the social application message of message intercept operation correspondence.

In step s 102, according to message box information, determine the positional information of region to be intercepted in current display page that the social application message of target is corresponding.

In step s 103, intercept region to be intercepted according to positional information, obtain message picture.

In step S104, message picture is imported the message input frame of social application program.

In step S105, the content in message input frame is sent to terminal corresponding to targeted customer, wherein, the content in message input frame at least comprises message picture.

The method that disclosure embodiment provides, during by the message intercept operation on the social application message of target being detected, obtain the message box information of the social application message of target, and after determining the positional information of region to be intercepted in current display page according to message box information, region to be intercepted is intercepted according to positional information, after obtaining message picture, realized the transmission of social application message by mode message picture being imported message input frame, thus a kind of method being realized message transmission by the social application message of arbitrary history intercepted in current display page is provided.Owing to can realize the transmission of message by intercepting region to be intercepted corresponding to the social application message of target, simplifying the operation sending social application message, thus the efficiency sending social application message can be improved.

In another embodiment, before obtaining the message box information of the social application message of target, also comprise:

When arbitrary social application message in current display page detecting appointment gesture, using described social application message as the social application message of target.

In another embodiment, obtain the message box information of the social application message of target, comprising:

Obtain arbitrary summit in the message box of the social application message of target in the position of chat window, wherein, the interaction area that chat window provides in current display page for social application program;

Obtain the height of message box and width, using the height of the position of summit in chat window and message box and width as message box information.

In another embodiment, according to message box information, determine that region to be intercepted that the social application message of target is corresponding is in the positional information of current display page, comprising:

According to message box information, determine the primary importance of region to be intercepted in social application program chat window that the social application message of target is corresponding;

The second place in current display page according to primary importance and chat window, determines the positional information of region to be intercepted in current display page that target social activity message is corresponding.

In another embodiment, intercept region to be intercepted according to positional information, obtain message picture, comprising:

Calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;

According to positional information, from the first data, intercept the second data that region to be intercepted is corresponding;

According to the second data genaration bitmap file;

According to bitmap file generating messages picture.

Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.

The content of embodiment corresponding to composition graphs 1, Fig. 2 is the process flow diagram of the sending method of a kind of social application message according to an exemplary embodiment.The sending method of social application message is applied in terminal, and as shown in Figure 2, the method that disclosure embodiment provides comprises the following steps.

In step s 201, when arbitrary social application message in current display page detecting appointment gesture, using social application message corresponding for this appointment gesture as the social application message of target.

Wherein, arbitrary that shows in current display page social application message is the social application message of history sent between user and good friend.The social application message of history is the social application message sent before current time point.In the disclosed embodiments, user wants the social application message sent to good friend for comprising the social application message sectional drawing of target.When assigned operation on arbitrary the social application message that terminal detects in current display page, using this social application message as the social application message of target.

About the type of specifying gesture, disclosure embodiment does not do concrete restriction.Such as, this appointment gesture can for double-clicking gesture, length by gesture, the gesture etc. sliding to assigned direction.

Such as, when this appointment gesture is the long operation by arbitrary social application message, if the length on terminal detects in current display page the social application message of a certain bar is by operation, then using this social application message as the social application message of target.

In step S202, when the message intercept operation to target society application message being detected, obtain the message box information of the social application message of target.

In disclosure embodiment, when the message intercept operation to the social application message of target being detected, trigger the step intercepting the sectional drawing comprising the social application message of target.About the mode determining whether to detect that message intercept operates, can have a variety of.Such as, when appointment gesture being detected on the social application message of target, terminal demonstration can to the operating list of all operations that the social application message of this target performs.Operating list comprises sectional drawing option.On this basis, when detecting that this sectional drawing option is selected, determine the message intercept operation to the social application message of target to be detected.

As shown in Figure 3, it illustrates a kind of schematic diagram of chat window.When the appointment gesture on the social application message of target being detected, display " copying word " option, "@this person " option, " intelligent sectional drawing " option and " quoting " option.When terminal detects that " intelligent sectional drawing " option is selected, determine the message intercept operation to the social application message of this target to be detected.

In addition, when carrying out exchange and interdynamic by social application program between user, the content of social for every bar application message according to the content of the social application message of every bar, for the social application message of every bar generates a message box, and can be shown in corresponding message box by terminal.Disclosure embodiment when intercepting the sectional drawing comprising the social application message of target, by determining that the social position of application message in current display page of target is triggered.Wherein, when determining the position of the social application message of target, triggered by the message box information obtaining the social application message of target.

About the particular content of message box information, disclosure embodiment does not do concrete restriction.Such as, message box information at least comprises the position of any point of message box and the height of message box and width.Wherein, any point of message box can be the summit of message box, central point etc.In conjunction with this partial content, when obtaining the message box information of the social application message of target, include but not limited to carry out S2021 and step S2022 as follows to realize:

In step S2021, obtain arbitrary summit in the message box of the social application message of target in the position of chat window, wherein, the interaction area that chat window provides in current display page for social application program.

Wherein, when being undertaken mutual by social application program between user, the chat window of social application program can be shown in the current display page of terminal.Chat window comprises the social application message region of history and message input frame region.The social application message region of history is for showing the social application message sent between good friend, and message input frame region can be used for user to input the content of message to be sent.

Particularly, each social application message that chat window comprises all can a corresponding message box.In order to the position of the social application message of localizing objects, disclosure embodiment with any one summit in the message box of the social application message of target for reference to realizing.Therefore, arbitrary summit in the message box of the social application message of target can first be obtained in the position of chat window.

Wherein, when obtaining the position of arbitrary summit in chat window, a specified coordinate system can be set up in chat window, and determine the coordinate of this summit under this specified coordinate system, using the coordinate of this summit under this specified coordinate system as the position of this summit in chat window got.

In step S2022, obtain height and the width of the message box of the social application message of target.

After user inputs the content of social application message, the font type that social application program can be arranged according to the content of social application message, user and font size generate message box corresponding to this social application message.Therefore, all corresponding certain height of the message box of each social application message and width.In order to accurately determine the position of the message box of the social application message of target, to determine the region to be intercepted that the social application message of target is corresponding, need height and the width of the message box obtaining the social application message of target.

In step S203, according to message box information, determine the positional information of region to be intercepted in current display page that the social application message of target is corresponding.

Wherein, the region to be intercepted that the social application message of target is corresponding only can comprise the content of the social application message of target.In addition, when carrying out group call between user, in order to make targeted customer clearly this social application message come from which user, region to be intercepted, except comprising the content of the social application message of target, can also comprise the head portrait etc. that history sends the user of this social application message.

As shown in Figure 4, it illustrates a kind of schematic diagram of region to be intercepted.The region that dotted line frame in Fig. 4 surrounds is region to be intercepted.Region to be intercepted shown in Fig. 4 comprises the head portrait that the content of social application message and history send the user of this social application message.

The social application message sent due to disclosure embodiment is the sectional drawing comprising the social application message of target, from current display page, the sectional drawing comprising the social application message of target is truncated in order to accurate, need according to message box information, determine the positional information of region to be intercepted in current display page that the social application message of target is corresponding.

Particularly, according to message box information, determine that region to be intercepted that the social application message of target is corresponding is in the mode of the positional information of current display page, includes but not limited to that S2031 and step S2032 realizes as follows:

In step S2031, according to message box information, determine the primary importance of region to be intercepted in social application program chat window that the social application message of target is corresponding.

Particularly, can first obtain in the social application region of history of chat window, the position of the message box of all social application message of current display, and which message box the message box determining the social application message of target is, on this basis, the message box information of the social application message of the target got in integrating step S202, determines the primary importance of message box in chat window of the social application message of target.

Such as, if determine that the social application region of history in chat window comprises the message box of three social application messages, and second message box is after the message box that the social application message of target is corresponding, according to height and the width of the position on any one summit in the message box of the social application message of target, the message box of the social application message of target, determine the primary importance of message box in chat window marking social application message.

In step S2032, the second place in current display page according to primary importance and chat window, determines the positional information of region to be intercepted in current display page that target social activity message is corresponding.

Wherein, chat window can occupy the whole region of current display page, also can occupy the subregion of current display page.When the region that chat window occupies current display page is different, determine that the mode of the position of region to be intercepted in current display page is also different.Therefore, in order to determine the positional information of region to be intercepted in current display page, need the second place in current display page according to primary importance and chat window to realize.Particularly, determine that the mode of the positional information of region to be intercepted in current display page has included but not limited to the following two kinds:

First kind of way: if chat window occupies the whole region of current display page, because the primary importance of region to be intercepted in chat window is identical with the second place of region to be intercepted in current display page, therefore, directly according to the primary importance of region to be intercepted in chat window, the positional information of region to be intercepted in current display page can be determined.

Composition graphs 4, because the chat window in Fig. 4 occupies the whole region of current display page, therefore, directly according to the position of region to be intercepted in chat window, can determine the positional information of region to be intercepted in current display page.

The second way: if chat window occupies the subregion of current display page, because chat window has a relative position relative to current display page, therefore, need according to the primary importance of region to be intercepted at chat window, and the second place of chat window in current display page realizes.

Such as, when the width of chat window is identical with the width of current display page, the content that current display page shows comprises status bar and chat window, the height of status bar is the first height, the height of chat window is the second height, and the first height and second is when highly sum is the height of current display page height, when determining the positional information of region to be intercepted in current display page, be directed to the position of any point in current display page in region to be intercepted, need this point calculated in step S2031 on the basis of ordinate (highly), increase by the first height.Wherein, status bar is used for the information such as electricity, date, signal intensity of display terminal.

Such as, if the ordinate of certain in region to be intercepted a bit in chat window is 2, first is highly 0.5, then this ordinate in current display page is 2.5.

In step S204, intercept region to be intercepted according to positional information, obtain message picture.

Message picture is the sectional drawing comprising the social application message of target intercepted.Particularly, intercepting region to be intercepted according to the positional information in region to be intercepted, when obtaining message picture, including but not limited to that S2041 to step S2043 realizes as follows:

In step S2041, calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory.

Wherein, the system sectional drawing program provided in the system program of each terminal, system sectional drawing program can intercept whole current display page from video card buffer memory.Particularly, all data that content shown by current display page is corresponding are stored in video card buffer memory, system sectional drawing program is when intercepting whole current display page, can obtain all data that content shown by current display page is corresponding from video card buffer memory, these all data are the first data.

In step S2042, according to the positional information in region to be intercepted, from the first data, intercept the second data that region to be intercepted is corresponding.

In order to be truncated to the content shown by region to be intercepted, terminal, according to the positional information in region to be intercepted, intercepts the second data that region to be intercepted is corresponding from the first data.Particularly, the data of the different pixels point of current display page are stored in the diverse location in video card buffer memory, therefore, when after the positional information determining region to be intercepted, can according to the positional information in region to be intercepted, from the first data, get the second data that region to be intercepted is corresponding, and abandon other data in the first data except the second data.

In step S2043, according to the second data genaration bitmap file, and according to bitmap file generating messages picture.

Second data are the data of the content that can identify region to be intercepted, and the content in region to be intercepted can be represented by the color of each pixel in region to be intercepted, therefore, can according to the second data genaration bitmap file, to identify the colouring information of each pixel of region to be intercepted.

Further, in order to make the social application message to targeted customer's transmission relatively more directly perceived, can according to bitmap file generating messages picture.

In step S205, message picture is imported the message input frame of social application program.

The operation of social application message is sent in order to simplify user, disclosure embodiment is after intercepting obtains message picture, directly import to the message input frame of social application program without the need to the operation of user, thus make user directly can send the message picture be truncated to.

Alternatively, after message picture is imported message input frame, if user also wants to send other content, other content can also be inputted in message input frame, terminal obtains other content of user's input, and using other content and sectional drawing message as social application message to be sent.

In step S206, the content in message input frame is sent to terminal corresponding to targeted customer, wherein, the content in message input frame at least comprises message picture.

Particularly, the chat window of social application program comprises delivery option, and user can choose this delivery option to send the content in message input frame.On this basis, when the delivery option that terminal detects in chat window is selected, the content in message input frame is sent to terminal corresponding to targeted customer.Wherein, when the predetermined registration operation on delivery option being detected, terminal determines that user chooses delivery option.This predetermined registration operation can for clicking, double-clicking, long by etc.

It should be noted that, the terminal performing the method that disclosure embodiment provides can be desk-top computer, also can be smart mobile phone, panel computer, E-book reader, MP3 (Moving Picture Experts GroupAudio Layer III, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (Moving PictureExperts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) mobile terminal such as player, pocket computer on knee, be preferably mobile terminal.

The method that disclosure embodiment provides, during by the message intercept operation on the social application message of target being detected, obtain the message box information of the social application message of target, and after determining the positional information of region to be intercepted in current display page according to message box information, region to be intercepted is intercepted according to positional information, after obtaining message picture, realized the transmission of social application message by mode message picture being imported message input frame, thus a kind of method being realized message transmission by the social application message of arbitrary history intercepted in current display page is provided.Owing to can realize the transmission of message by intercepting region to be intercepted corresponding to the social application message of target, simplifying the operation sending social application message, thus the efficiency sending social application message can be improved.

Fig. 5 is the block diagram of the dispensing device of a kind of social application message according to an exemplary embodiment.The dispensing device of this social application message may be used for performing the sending method of the social application message that embodiment corresponding to above-mentioned Fig. 1 or Fig. 2 provides.With reference to Fig. 5, the dispensing device of this social application message comprises acquisition module 501, first determination module 502, interception module 503, imports module 504 and sending module 505.Wherein:

This acquisition module 501 is configured to when the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, wherein, the social application message of target is the social application message of message intercept operation correspondence;

This first determination module 502 is configured to according to message box information, determines the positional information of region to be intercepted in current display page that the social application message of target is corresponding;

This interception module 503 is configured to intercept region to be intercepted according to positional information, obtains message picture;

This importing module 504 is configured to message input frame message picture being imported social application program;

This sending module 505 is configured to the content in message input frame to be sent to terminal corresponding to targeted customer, and wherein, the content in message input frame at least comprises message picture.

The device that disclosure embodiment provides, during by the message intercept operation on the social application message of target being detected, obtain the message box information of the social application message of target, and after determining the positional information of region to be intercepted in current display page according to message box information, region to be intercepted is intercepted according to positional information, after obtaining message picture, realized the transmission of social application message by mode message picture being imported message input frame, thus a kind of method being realized message transmission by the social application message of arbitrary history intercepted in current display page is provided.Owing to can realize the transmission of message by intercepting region to be intercepted corresponding to the social application message of target, simplifying the operation sending social application message, thus the efficiency sending social application message can be improved.

In another embodiment, see Fig. 6, the dispensing device of social application message also comprises the second determination module 506.

This second determination module 506 is configured to when arbitrary social application message in current display page detecting appointment gesture, using described social application message as the social application message of target.

In another embodiment, see Fig. 7, acquisition module 501 comprises the first acquiring unit 5011 and second acquisition unit 5012.Wherein:

This first acquiring unit 5011 is configured to obtain arbitrary summit in the message box of the social application message of target in the position of chat window, wherein, and the interaction area that chat window provides in current display page for social application program;

This second acquisition unit 5012 is configured to obtain the height of message box and width, using the height of the position of summit in chat window and message box and width as message box information.

In another embodiment, see Fig. 8, the first determination module 502 comprises the first determining unit 5021 and the second determining unit 5022.Wherein:

This first determining unit 5021 is configured to according to message box information, determines the primary importance of region to be intercepted in social application program chat window that the social application message of target is corresponding;

This second determining unit 5022 is configured to the second place in current display page according to primary importance and chat window, determines the positional information of region to be intercepted in current display page that target social activity message is corresponding.

In another embodiment, see Fig. 9, interception module 503 comprises the 3rd acquiring unit 5031, interception unit 5032, first generation unit 5033 and the second generation unit 5034.Wherein:

3rd acquiring unit 5031 is configured to calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;

This interception unit 5032 is configured to according to positional information, intercepts the second data that region to be intercepted is corresponding from the first data;

This first generation unit 5033 is configured to according to the second data genaration bitmap file;

This second generation unit 5034 is configured to according to bitmap file generating messages picture.

Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.

About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.

Figure 10 is the block diagram of a kind of terminal according to an exemplary embodiment, and this terminal may be used for performing the sending method of the social application message that embodiment corresponding to above-mentioned Fig. 1 or Fig. 2 provides.Such as, terminal 1000 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.

With reference to Figure 10, terminal 1000 can comprise following one or more assembly: processing components 1002, storer 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, I/O (Input/Output, I/O) interface 1012, sensor module 1014, and communications component 1016.

The integrated operation of the usual control terminal 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assembly is mutual.Such as, processing components 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.

Storer 1004 is configured to store various types of data to be supported in the operation of terminal 1000.The example of these data comprises for any application program of operation in terminal 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as SRAM (Static Random AccessMemory, static RAM), EEPROM (Electrically-Erasable ProgrammableRead-Only Memory, Electrically Erasable Read Only Memory), EPROM (ErasableProgrammable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), ROM (Read-OnlyMemory, ROM (read-only memory)), magnetic store, flash memory, disk or CD.

The various assemblies that power supply module 1006 is terminal 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for terminal 1000 and be associated.

Multimedia groupware 1008 is included in the screen providing an output interface between described terminal 1000 and user.In certain embodiments, screen can comprise LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When terminal 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.

Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a MIC (Microphone, microphone), and when terminal 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loudspeaker, for output audio signal.

I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.

Sensor module 1014 comprises one or more sensor, for providing the state estimation of various aspects for terminal 1000.Such as, sensor module 1014 can detect the opening/closing state of terminal 1000, the relative positioning of assembly, such as assembly is display and the keypad of terminal 1000, the position of all right sense terminals 1000 of sensor module 1014 or terminal 1000 assemblies changes, the presence or absence that user contacts with terminal 1000, the temperature variation of terminal 1000 orientation or acceleration/deceleration and terminal 1000.Sensor module 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1014 can also comprise optical sensor, as CMOS (ComplementaryMetal Oxide Semiconductor, CMOS (Complementary Metal Oxide Semiconductor)) or CCD (Charge-coupled Device, charge coupled cell) imageing sensor, for using in imaging applications.In certain embodiments, this sensor module 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.

Communications component 1016 is configured to the communication being convenient to wired or wireless mode between terminal 1000 and miscellaneous equipment.Terminal 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1016 also comprises NFC (Near Field Communication, near-field communication) module, to promote junction service.Such as, can based on RFID (Radio Frequency Identification in NFC module, radio-frequency (RF) identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) technology, UWB (UltraWideband, ultra broadband) technology, BT (Bluetooth, bluetooth) technology and other technology realize.

In the exemplary embodiment, terminal 1000 can by one or more ASIC (Application SpecificIntegrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, digital signal processor), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device (PLD)), FPGA (Field ProgrammableGate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components realize, for performing the sending method of the social application message that embodiment corresponding to above-mentioned Fig. 1 or Fig. 2 provides.

In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as comprise the storer 1004 of instruction, above-mentioned instruction can have been performed the sending method of the social application message that embodiment corresponding to above-mentioned Fig. 1 or Fig. 2 provides by the processor 1020 of terminal 1000.Such as, described non-transitory computer-readable recording medium can be ROM, RAM (Random Access Memory, random access memory), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and optical data storage devices etc.

A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of sending method of social application message, described method comprises:

When the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, wherein, the social application message of target is that message intercept operates corresponding social application message;

According to message box information, determine the positional information of region to be intercepted in current display page that the social application message of target is corresponding;

Intercept region to be intercepted according to positional information, obtain message picture;

Message picture is imported the message input frame of social application program;

Content in message input frame is sent to terminal corresponding to targeted customer, wherein, the content in message input frame at least comprises message picture.

Suppose that above-mentioned is the first possible embodiment, in the embodiment that the second then provided based on the embodiment that the first is possible is possible, the instruction for performing following operation is also comprised: before obtaining the message box information of the social application message of target, also comprise in the storer of terminal:

When arbitrary social application message in current display page detecting appointment gesture, using described social application message as the social application message of target.

In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: the message box information obtaining the social application message of target, comprising:

Obtain arbitrary summit in the message box of the social application message of target in the position of chat window, wherein, the interaction area that chat window provides in current display page for social application program;

Obtain the height of message box and width, using the height of the position of summit in chat window and message box and width as message box information.

In the 4th kind of possible embodiment provided based on the first or the third possible embodiment, the instruction for performing following operation is also comprised: according to message box information in the storer of terminal, determine that region to be intercepted that the social application message of target is corresponding is in the positional information of current display page, comprising:

According to message box information, determine the primary importance of region to be intercepted in social application program chat window that the social application message of target is corresponding;

The second place in current display page according to primary importance and chat window, determines the positional information of region to be intercepted in current display page that target social activity message is corresponding.

In the 5th kind of possible embodiment provided, in the storer of terminal, also comprise the instruction for performing following operation based on the first or possible embodiment:

Intercept region to be intercepted according to positional information, obtain message picture, comprising:

Calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;

According to positional information, from the first data, intercept the second data that region to be intercepted is corresponding;

According to the second data genaration bitmap file;

According to bitmap file generating messages picture.

The non-transitory computer-readable recording medium that disclosure embodiment provides, during by the message intercept operation on the social application message of target being detected, obtain the message box information of the social application message of target, and after determining the positional information of region to be intercepted in current display page according to message box information, region to be intercepted is intercepted according to positional information, after obtaining message picture, the transmission of social application message is realized by mode message picture being imported message input frame, thus a kind of method being realized message transmission by the social application message of arbitrary history intercepted in current display page is provided.Owing to can realize the transmission of message by intercepting region to be intercepted corresponding to the social application message of target, simplifying the operation sending social application message, thus the efficiency sending social application message can be improved.

Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.

Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (11)

1. a sending method for social application message, is characterized in that, described method comprises:
When the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, the social application message of described target is that described message intercept operates corresponding social application message;
According to described message box information, determine the positional information of region to be intercepted in described current display page that the social application message of described target is corresponding;
Intercept described region to be intercepted according to described positional information, obtain message picture;
Described message picture is imported the message input frame of social application program;
Content in described message input frame is sent to terminal corresponding to targeted customer, and the content in described message input frame at least comprises described message picture.
2. method according to claim 1, is characterized in that, before the message box information of the social application message of described acquisition target, also comprises:
When arbitrary social application message in current display page detecting appointment gesture, using described social application message as the social application message of target.
3. method according to claim 1, is characterized in that, the message box information of the social application message of described acquisition target, comprising:
Obtain arbitrary summit in the message box of the social application message of target in the position of chat window, the interaction area that described chat window provides in described current display page for social application program;
Obtain height and the width of described message box, using the height of the position of described summit in described chat window and described message box and width as message box information.
4. the method according to claim 1 or 3, is characterized in that, described according to described message box information, determines that region to be intercepted that the social application message of described target is corresponding is in the positional information of described current display page, comprising:
According to described message box information, determine the primary importance of region to be intercepted in social application program chat window that the social application message of described target is corresponding;
The second place in described current display page according to described primary importance and described chat window, determines the positional information of region to be intercepted in described current display page that described target social activity message is corresponding.
5. method according to claim 1, is characterized in that, described according to the described region to be intercepted of described positional information intercepting, obtains message picture, comprising:
Calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;
According to described positional information, from described first data, intercept the second data corresponding to described region to be intercepted;
According to described second data genaration bitmap file;
According to institute's bitmap file generating messages picture.
6. a dispensing device for social application message, is characterized in that, described device comprises:
Acquisition module, for when the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, the social application message of described target is the social application message of described message intercept operation correspondence;
First determination module, for according to described message box information, determines the positional information of region to be intercepted in described current display page that the social application message of described target is corresponding;
Interception module, for intercepting described region to be intercepted according to described positional information, obtains message picture;
Import module, for described message picture being imported the message input frame of social application program;
Sending module, for the content in described message input frame is sent to terminal corresponding to targeted customer, the content in described message input frame at least comprises described message picture.
7. device according to claim 6, is characterized in that, described device also comprises:
Second determination module, for when arbitrary social application message in current display page detecting appointment gesture, using described social application message as the social application message of target.
8. device according to claim 6, is characterized in that, described acquisition module comprises:
First acquiring unit, for obtaining arbitrary summit in the message box of the social application message of target in the position of chat window, the interaction area that described chat window provides in described current display page for social application program;
Second acquisition unit, for obtaining height and the width of described message box, using the height of the position of described summit in described chat window and described message box and width as message box information.
9. the device according to claim 6 or 8, is characterized in that, described first determination module comprises:
First determining unit, for according to described message box information, determines the primary importance of region to be intercepted in social application program chat window that the social application message of described target is corresponding;
Second determining unit, for the second place in described current display page according to described primary importance and described chat window, determines the positional information of region to be intercepted in described current display page that described target social activity message is corresponding.
10. device according to claim 6, is characterized in that, described interception module comprises:
3rd acquiring unit, for calling system sectional drawing program, obtains the first data that content shown by current display page is corresponding from video card buffer memory;
Interception unit, for according to described positional information, intercepts the second data corresponding to described region to be intercepted from described first data;
First generation unit, for according to described second data genaration bitmap file;
Second generation unit, for according to institute's bitmap file generating messages picture.
11. 1 kinds of terminals, is characterized in that, described terminal comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When the message intercept operation of arbitrary social application message in current display page being detected, obtain the message box information of the social application message of target, the social application message of described target is that described message intercept operates corresponding social application message;
According to described message box information, determine the positional information of region to be intercepted in described current display page that the social application message of described target is corresponding;
Intercept described region to be intercepted according to described positional information, obtain message picture;
Described message picture is imported the message input frame of social application program;
Content in described message input frame is sent to terminal corresponding to targeted customer, and the content in described message input frame at least comprises described message picture.
CN201510178249.6A 2015-04-15 2015-04-15 Sending method, device and the terminal of social networking application message CN104820549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510178249.6A CN104820549B (en) 2015-04-15 2015-04-15 Sending method, device and the terminal of social networking application message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510178249.6A CN104820549B (en) 2015-04-15 2015-04-15 Sending method, device and the terminal of social networking application message

Publications (2)

Publication Number Publication Date
CN104820549A true CN104820549A (en) 2015-08-05
CN104820549B CN104820549B (en) 2018-10-19

Family

ID=53730857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510178249.6A CN104820549B (en) 2015-04-15 2015-04-15 Sending method, device and the terminal of social networking application message

Country Status (1)

Country Link
CN (1) CN104820549B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354847A (en) * 2016-08-31 2017-01-25 张北江 Application method and system of image scheduling in instant messaging
CN107728922A (en) * 2017-09-29 2018-02-23 维沃移动通信有限公司 A kind of method and terminal of input validation code

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130069969A1 (en) * 2011-09-15 2013-03-21 Lg Electronics Inc. Mobile terminal and method for displaying message thereof
CN104360816A (en) * 2014-11-27 2015-02-18 广东欧珀移动通信有限公司 Screen capture method and system
CN104363166A (en) * 2014-11-27 2015-02-18 小米科技有限责任公司 Instant messaging method and device and intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130069969A1 (en) * 2011-09-15 2013-03-21 Lg Electronics Inc. Mobile terminal and method for displaying message thereof
CN104360816A (en) * 2014-11-27 2015-02-18 广东欧珀移动通信有限公司 Screen capture method and system
CN104363166A (en) * 2014-11-27 2015-02-18 小米科技有限责任公司 Instant messaging method and device and intelligent terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354847A (en) * 2016-08-31 2017-01-25 张北江 Application method and system of image scheduling in instant messaging
CN107728922A (en) * 2017-09-29 2018-02-23 维沃移动通信有限公司 A kind of method and terminal of input validation code

Also Published As

Publication number Publication date
CN104820549B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN104038263B (en) Method and device for establishing Bluetooth connection
CN104318741B (en) Bluetooth equipment control method and device
CN104506715A (en) Method and device for displaying notification messages
CN105488464A (en) Fingerprint identification method and fingerprint identification apparatus
CN103885588B (en) Automatic switching method and device
CN104460365A (en) Equipment control method and device
CN104283876A (en) Operation authorization method and device
JP2018503207A (en) Information display method, apparatus, program, and recording medium
CN103914634A (en) Image encryption method, image encryption device and electronic device
CN103942469A (en) Picture processing method, device and terminal
CN104980580B (en) Short message inspection method and device
CN105224195A (en) Terminal operation method and device
CN104008348A (en) Application program control method, application program control device and terminal
CN104238875A (en) Application corner mark addition method and device
CN104991789A (en) Method and apparatus for starting application
CN104105169B (en) From method and the device of the WLAN (wireless local area network) that is dynamically connected
CN104735057A (en) Sharing device control right method and device
CN105160239A (en) Application program access restriction method and apparatus
CN104703295A (en) Network access method and network access device
CN105307137A (en) Short message reading method and device
CN104731688B (en) Point out the method and device of reading progress
CN104793846A (en) Displaying method and device for interface of application program
CN104571709B (en) The processing method of mobile terminal and virtual key
CN104598111A (en) Display mode switching method and display mode switching device
CN104503689A (en) Method and device for displaying application interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant