CN107765976A - A kind of information push method, terminal and system - Google Patents

A kind of information push method, terminal and system Download PDF

Info

Publication number
CN107765976A
CN107765976A CN201610676264.8A CN201610676264A CN107765976A CN 107765976 A CN107765976 A CN 107765976A CN 201610676264 A CN201610676264 A CN 201610676264A CN 107765976 A CN107765976 A CN 107765976A
Authority
CN
China
Prior art keywords
sliding trace
terminal
display interface
message
touch point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610676264.8A
Other languages
Chinese (zh)
Other versions
CN107765976B (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 CN201610676264.8A priority Critical patent/CN107765976B/en
Publication of CN107765976A publication Critical patent/CN107765976A/en
Application granted granted Critical
Publication of CN107765976B publication Critical patent/CN107765976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of information push method, including:According to the track data that slides touch operation obtain sliding trace of the user on display interface;One group of event icons is shown on the display interface along sliding trace;Message is given in generation, and the message of giving includes the track data of the sliding trace;The message of giving is pushed to second terminal.The embodiment of the invention also discloses a kind of terminal and system.Using the present invention, first terminal carries out giving figure by sending the track data of sliding trace to second terminal, effectively reduces resources occupation rate when first terminal give figure, reduces resource overhead.

Description

A kind of information push method, terminal and system
Technical field
The present invention relates to communication technical field, more particularly to a kind of information push method, terminal and system.
Background technology
With the development of the live platform in internet, net cast technology fast development, net cast is increasingly by user Like.At present, user by logging in internet direct broadcasting room can watch the video content of main broadcaster's broadcasting, or enter with main broadcaster The interactions such as row exchange.
At present, in spectators user and main broadcaster user carry out interactive process, often have spectators user and given to main broadcaster user Give a present support of the thing to work main broadcaster.Wherein, operated for ease of user, user can be in the enterprising line slip of display interface of terminal The gesture of operation can draw out present figure, and the present graphic hotsopt picture that will be drawn out, by picture be sent to main broadcaster with Gifts are carried out to main broadcaster.
But when picture is sent to main broadcaster to carry out gifts figure to main broadcaster by user by terminal, due to figure Storage size is bigger shared by piece, and this will cause terminal to be transmitted more flow is taken, and increases resource overhead.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of information push method, terminal and system.Have Effect reduces resources occupation rate when first terminal give figure, reduces resource overhead.
First aspect of the embodiment of the present invention provides a kind of information push method, it may include:
According to the track data that slides touch operation obtain sliding trace of the user on display interface;
One group of event icons is shown on the display interface along sliding trace;
Message is given in generation, and the message of giving includes the track data of the sliding trace;
The message of giving is pushed to second terminal, so that the second terminal is given according to described in message acquisition The track data of sliding trace, and one group of event is shown on its display interface according to the track data of the sliding trace Icon.
Second aspect of the embodiment of the present invention provides a kind of message receival method, it may include:
Receive first terminal push gives message, wherein, the message of giving includes the track data of sliding trace;
According to the track data of the sliding trace, one group of event icons is shown on display interface.
The third aspect of the embodiment of the present invention provides a kind of terminal, and the terminal can be applied to first terminal, the terminal It may include:
First acquisition unit, for the track slided touch operation and obtain sliding trace according to user on display interface Data;
First display unit, for showing one group of event icons on the display interface along sliding trace;
Generation unit, message is given for generating, the message of giving includes the track data of the sliding trace;
Push unit, for the message of giving to be pushed into second terminal, so that the second terminal is given according to Send message to obtain the track data of the sliding trace, and shown according to the track data of the sliding trace on its display interface Show one group of event icons.
Fourth aspect of the embodiment of the present invention provides a kind of terminal, and the terminal can be applied to second terminal, the terminal It may include:
Receiving unit, for receive first terminal push give message, wherein, the message of giving includes sliding trace Track data;
Second display unit, for the track data according to the sliding trace, one group of event is shown on display interface Icon.
The aspect of the embodiment of the present invention the 5th provides a kind of message exchange system, it may include:The system includes real above Apply the first terminal and second terminal described by example.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 is another network architecture schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of information push method provided in an embodiment of the present invention;
Fig. 4 is a kind of slip touch operation schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of present icon display schematic diagram provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another information push method provided in an embodiment of the present invention;
Fig. 7 is the schematic flow sheet of another information push method provided in an embodiment of the present invention;
Fig. 8 is the schematic flow sheet of another information push method provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic flow sheet of message receival method provided in an embodiment of the present invention;
Figure 10 is another present icon display schematic diagram provided in an embodiment of the present invention;
Figure 11 is the schematic flow sheet of another message receival method provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Figure 13 is the structural representation of another terminal provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation of system provided in an embodiment of the present invention;
Figure 15 is the structural representation of another terminal provided in an embodiment of the present invention;
Figure 16 is the structural representation of another terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
A kind of information push method provided in an embodiment of the present invention can apply to the field that first terminal carries out message push Scape, specifically, can be the first terminal scene that message pushes in net cast.Wherein, first terminal can include:Electricity Brain, tablet personal computer, notebook etc. can carry out the intelligent terminal of PUSH message, and above-mentioned first terminal is only citing, and non exhaustive, Including but not limited to above-mentioned first terminal.
A kind of message receival method provided in an embodiment of the present invention can apply to the field that second terminal receive message Scape, specifically, can be the scene that second terminal receives message in net cast.Wherein second terminal can include:Computer, Tablet personal computer, notebook etc. can carry out receiving the intelligent terminal of message, and above-mentioned second terminal is only citing, and non exhaustive, bag Contain but be not limited to above-mentioned second terminal.
In order to be best understood from scheme disclosed in the embodiment of the present invention, below first to the embodiment of the present invention be applicable network architecture It is described.Referring to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.In the network shown in Fig. 1 In framework, first terminal and second terminal can be included, first terminal can be attached by network and second terminal, and first Terminal can carry out interacting message with second terminal by network.Further, referring also to Fig. 2, Fig. 2 is public affairs of the embodiment of the present invention Another network architecture schematic diagram opened, in the network architecture shown in Fig. 2, first terminal, server and the can be included Two terminals, first terminal and second terminal can be attached by network and server respectively, and first terminal can pass through server Interacting message is carried out with second terminal.By the network architecture shown in Fig. 1 and Fig. 2, first terminal can be carried out with second terminal Interacting message.
Based on the network architecture shown in Fig. 1 and Fig. 2, the embodiment of the invention discloses a kind of information push method.Below Information push method provided in an embodiment of the present invention will be described in detail with reference to accompanying drawing 3- accompanying drawings 9, wherein, embodiment Executive agent is first terminal.
It is a kind of a kind of embodiment schematic flow sheet of information push method provided in an embodiment of the present invention referring to Fig. 3.This hair A kind of information push method of bright embodiment comprises the following steps:
S100, the track data for sliding touch operation and obtaining sliding trace carried out according to user on display interface.
In embodiments of the present invention, embodiment of the present invention can be applied in first terminal during net cast enter Row is realized.Specifically, during first terminal carries out net cast, when user need to carry out gifts, user can be The enterprising line slip touch operation of display interface of first terminal, to carry out drawing the track of figure.Wherein, user can be first eventually The enterprising line slip touch operation of display interface of the live picture at end, or, user can be pressed by specific in live interface Button or specific shortcut enter the display interface of the drawing board page of gifts, in the enterprising line slip of the display interface of the drawing board page Operation, so that first terminal can carry out gifts according to slide of the user on display interface.Wherein, it is raising user Visual experience, the width of the drawing board page can be consistent with the width of screen, and the height of the drawing board page can be the 3/4 of screen width.
In embodiments of the present invention, during first terminal carries out net cast, first terminal can detect the in real time Whether user touch operation on display interface is had on the display interface of one terminal, when first terminal detects that user is showing When having touch operation on interface, first terminal can determine whether touch operation is to slide touch operation, when first terminal is judged as When sliding touch operation, first terminal can obtain the slip touch operation that user inputs on display interface, and be touched according to sliding Touch the slip data that operation obtains sliding trace.Optionally, when first terminal monitors that first terminal enters the aobvious of the drawing board page When showing interface, whether first terminal can detect in real time touch operation of the user on display interface on the interface of first terminal.
In embodiments of the present invention, the slip data of sliding trace can be the position for the sliding trace for sliding touch operation Put, including multiple touch point positions on sliding trace, and the position of sliding trace curve.Specifically, the cunning of sliding trace Dynamic data can be the coordinate under plane coordinate system of the sliding trace on current display interface, including more on sliding trace Coordinate under plane coordinate system of the individual touch point on display interface, and sliding trace geometric locus on display interface Curvilinear function under plane coordinate system.Wherein, the plane coordinate system on different display interfaces can differ, when aobvious on display interface When what is shown is the drawing board page, the plane coordinate system on display interface can be the plane coordinate system of the drawing board page;Work as display interface When the net cast page is above shown, the plane coordinate system on display interface can be the plane coordinates of the net cast page System.
Optionally, when it is that the drawing board page enters line slip touch operation that user is by display interface, one kind, which is slided, touches behaviour Fig. 2 is for details, reference can be made to as mode, user can be to enter line slip by the camber line on Fig. 2 on the picture page to touch behaviour in display interface Make, so as to which first terminal can obtain the track data of sliding trace according to the touch operation on the camber line.
S101, one group of event icons is shown on the display interface along the sliding trace.
In the present invention is implemented, when first terminal determines to slide rail according to slip touch operation of the user on display interface During mark, first terminal can show one group of event icons along sliding trace on display interface, and this may be such that user can be from first Know in the event icons that terminal is shown event icons composition figure, determine whether to be modified according to figure or determine into Row is given, and the figure that the event icons for avoiding user from giving form does not meet user's requirement.Wherein, event icons can include can The icon of feature operation is carried out, or is only for the icon of spread geometry.In embodiments of the present invention, event icons are excellent Choosing can be icon for spread geometry, and the icon, which is used as present icon, to carry out purchase and give.Wherein, present Icon can be pattern icon, such as " heart " pattern, " fresh flower " pattern present icon, present icon also can also be word, The present icon such as numeral, herein without limiting.One group of event icons may include at least one present icon, and present icon can be with It is preset to be that first terminal is carried out in advance, either first terminal according to the purchasing price of user select matching present icon or First terminal can according to the account of the user of login select corresponding to present icon.Wherein, when first terminal is along sliding trace After one group of present icon is shown on display interface, first terminal can be according to the quantity and present of one group of present icon of display The price of icon is deducted fees accordingly to the account of the user of login.
In embodiments of the present invention, first terminal can along slide of the user on display interface sliding trace by One one group of present icon of display, therefore, a group icon can be arranged in slip by present icon by first terminal according to sliding trace Figure is shown on display interface corresponding to track.Because sliding trace is that slip of the user on display interface touches behaviour The sliding trace of work, so that the figure for the present icon that user can be shown with self-defined first terminal is given.Specifically should In, reference can be made to the display schematic diagram of Fig. 3 present icon, user touches behaviour in the enterprising line slip of display interface of first terminal After work, first terminal can show multiple " heart " gifts along on the sliding trace of slip touch operation of the user on display interface The figure of thing icon so that the exhibition method for the present icon that first terminal is given is flexible and changeable, meets the individual character of user Change demand.
In embodiments of the present invention, first terminal can also obtain the animation effect parameter of present icon, wherein, first eventually Holding the animation effect parameter for obtaining present icon can be specifically:First terminal selects corresponding according to the price of user's gifts Animation effect parameter, either first terminal according to the user account of login selection corresponding to animation effect parameter or first Terminal obtains preset animation effect parameter.Animation effect parameter can be specifically the icon illumination effect ginseng to be lighted for icon Number, the icon swing efficacy parameter to be swung for icon etc..First terminal can obtain animation effect parameter and carry out animation exhibition Showing one group of present icon so that the display form of the present icon of displaying is rich and varied, and rich in interesting.
Message is given in S102, generation, and the message of giving includes the track data of the sliding trace.
In embodiments of the present invention, first terminal can generate gives message for gifts, and the message includes sliding The track data of track.
In embodiments of the present invention, the identifier of present icon, user account information and user can also be carried by giving message Buy the information such as the price of present icon.
S103, the message of giving is pushed to second terminal.
In embodiments of the present invention, in the same individual direct broadcasting room that first terminal and second terminal can be in net casts, such as First terminal can be the terminal that domestic consumer's account in direct broadcasting room logs in, and second terminal can be main broadcaster's account in direct broadcasting room Number log in terminal.First terminal can directly send to second terminal and give message, to carry out gifts to second terminal. First terminal can also will give message and give second terminal by server push, so as to realize that first terminal enters to second terminal Row gifts.
In embodiments of the present invention, the track data of sliding trace can be carried by giving message, be given when second terminal is got When sending message, second terminal can show above-mentioned one group of described thing according to the track data of sliding trace on its display interface Part icon.
In embodiments of the present invention, the identifier of present icon, user account information and user can also be carried by giving message Buy the information such as the price of present icon.So that second terminal is according to the corresponding present icon of acquisition of information for giving message carrying It is shown corresponding figure.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
It is a kind of information push method another kind embodiment schematic flow sheet provided in an embodiment of the present invention referring to Fig. 6.This A kind of information push method of inventive embodiments comprises the following steps:
S200, when monitoring the slip touch operation, it is acquired to obtain the cunning every preset sliding distance Multiple touch point positions on the sliding trace of dynamic touch operation.
In embodiments of the present invention, when first terminal monitors that user touches in the enterprising line slip of display interface of first terminal When touching operation and carrying out gifts, first terminal can be every the slip touch operation that preset sliding distance is acquired to obtain Multiple touch point positions on sliding trace.Wherein, first terminal from slide touch operation sliding trace starting point touch point Position proceeds by be acquired to obtain multiple touches on the sliding trace for sliding touch operation every preset sliding distance Point position.
In embodiments of the present invention, first terminal can touch behaviour every the slip that preset sliding distance is acquired to obtain Multiple touch point positions on the sliding trace of work can be specifically:The sliding trace of touch operation is slided in first terminal collection Starting point touch point position, each touch point position that first terminal calculates on sliding trace in real time collect tactile with the last time Touch whether the distance between position interval is equal to sliding distance, when it is determined that some touch point position on sliding trace with it is nearest When the distance between touch point once collected interval is equal to sliding distance, first terminal gathers the touch point position as cunning The track data of dynamic rail mark.
S201, one group of event icons is shown on the display interface along the sliding trace.
Message is given in S202, generation, and the message of giving includes the track data of the sliding trace.
S203, the message of giving is pushed to second terminal,.
In embodiments of the present invention, step S200, step S201, step S202 and step S203 embodiment can Referring to the step step S100 in above-described embodiment, step S101, step S102 and step S103 embodiment, herein Do not repeat.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
It is a kind of another embodiment schematic flow sheet of information push method provided in an embodiment of the present invention referring to Fig. 7.This A kind of information push method of inventive embodiments comprises the following steps:
S300, when monitoring the slip touch operation, collect on the sliding trace for sliding touch operation Starting point touch point position.
In embodiments of the present invention, when first terminal monitors that user touches in the enterprising line slip of display interface of first terminal When touching operation progress gifts, first terminal can gather the position of the starting point touch point on the sliding trace for sliding touch operation Put.
S301, every preset time interval be acquired to obtain current slip touch it is current on the sliding trace made Touch point position.
In embodiments of the present invention, touch is played on the sliding trace for sliding touch operation when first terminal collects Position when, first terminal can be acquired to obtain the sliding trace of current slip touch operation every preset time interval On current touch point position.
S302, judge the current touch point position with being collected from collection current touch point position the last time Whether the distance between touch point position interval is more than preset sliding distance.
In embodiments of the present invention, when first terminal often collects current touch point position, first terminal is counted Calculate current touch point position and between the collection touch point position that collects of current touch point position the last time away from Sow discord every and whether judging distance interval is more than preset sliding distance.Specifically, can be such as:When first terminal collects Behind the position of starting point touch point, second terminal collects second touch point position after preset time interval is spaced, that is, works as Preceding touch point position, then first terminal can determine that is from the collection touch point position that collects of current touch point position the last time Initial touch point position, first terminal calculates the distance between current touch point position and starting point touch point position interval, and sentences Turn-off is sowed discord every whether being more than preset sliding distance.
S303, when it is determined that the distance interval is more than the sliding distance, according to the touch of the last collection Point position and the sliding distance determine new touch point position.
In embodiments of the present invention, when the true spaced apart of first terminal is more than sliding distance, first terminal can basis The touch point position and sliding distance collected from collection current touch point position the last time determines new touch point position Put, wherein, first terminal can touch on sliding trace according to what is collected from collection current touch point position the last time Touch a position and sliding distance determines new touch point position.
In embodiments of the present invention, when the true spaced apart of first terminal is less than sliding distance, first terminal will be deleted The current touch point position collected, and continue collection current touch point position after next time interval.
In the present invention is implemented, when the true spaced apart of first terminal is equal to sliding distance, first terminal, which will gather, works as Preceding touch point position, and the track data using current touch point position as sliding trace.
S304, the new touch point position is arranged to the current touch point position.
In embodiments of the present invention, new touch point position can be arranged to the current touch point position collected by terminal Put, so that the track data that first terminal can be using new touch point position as sliding trace.
S305, one group of event icons is shown on the display interface along the sliding trace.
Message is given in S306, generation, and the message of giving includes the track data of the sliding trace.
S307, the message of giving is pushed to second terminal.
In embodiments of the present invention, step S305, step S306, and step S307 embodiment can be found in it is above-mentioned Step S100 in embodiment, step S101, step S102 and step S103 embodiment, will not be described here.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
It is a kind of another embodiment schematic flow sheet of information push method provided in an embodiment of the present invention referring to Fig. 8.This A kind of information push method of inventive embodiments comprises the following steps:
S400, according to the track data that slides touch operation obtain sliding trace of the user on display interface.
S401, one group of event icons is shown on the display interface along the sliding trace.
S402, by plane coordinates of the preset conventional coordinates by the sliding trace on the display interface of present terminal Coordinate under system is changed, and obtains standard coordinate of the sliding trace under conventional coordinates.
In embodiments of the present invention, the cunning that first terminal is got according to slip touch operation of the user on display interface The track data of dynamic rail mark includes:Coordinate under plane coordinate system of the sliding trace on current display interface.Sliding trace The coordinate under plane coordinate system on current display interface is including multiple touch points on sliding trace on display interface Plane coordinate system under coordinate, and the curve letter under plane coordinate system of the geometric locus on display interface of sliding trace Number.
In embodiments of the present invention, due to of different sizes on the display interface of different terminals, in order to different terminals The figure shown on display interface unifies display effect, first terminal can by sliding trace first terminal current display interface On plane coordinate system under coordinate changed, obtain standard coordinate of the sliding trace under conventional coordinates.Wherein, first Terminal can be changed the coordinate under plane coordinate system of the sliding trace in the current display interface of first terminal, be slided Standard coordinate of the dynamic rail mark under conventional coordinates can be specifically:First terminal is working as multiple touch points on sliding trace The coordinate under plane coordinate system on preceding display interface is changed, and obtains standard of multiple touch points under conventional coordinates Coordinate, or, first terminal is by the rail for the sliding trace being made up of the coordinate under the plane coordinate system on current display interface Trace curve is changed, and obtains the standard trajectory curve being made up of the standard coordinate under conventional coordinates.
In embodiments of the present invention, first terminal by multiple touch points on sliding trace on current display interface Coordinate under plane coordinate system is changed, and obtaining standard coordinate of multiple touch points under conventional coordinates can be specifically: Coordinate of the touch point under plane coordinate system can include coordinate x and coordinate y, and coordinate of the touch point under conventional coordinates can be with Including standard coordinate x and standard coordinate y, then width/the first under the conventional coordinates of standard coordinate x=coordinates x* display interfaces Width under the plane coordinate system of the display interface of terminal, under the conventional coordinates of standard coordinate y=coordinate y* display interfaces Width under the plane coordinate system of the display interface of width/first terminal.
In embodiments of the present invention, first terminal is by by under the plane coordinate system on the current display interface of first terminal The geometric locus of the sliding trace of coordinate composition is changed, and obtains the standard being made up of the standard coordinate under conventional coordinates Geometric locus can be specifically:Curvilinear function of the geometric locus of sliding trace under plane coordinate system is A, the rail of sliding trace Curvilinear function of the trace curve under conventional coordinates is B, then the width under the conventional coordinates of curvilinear function B=A* display interfaces Width under the plane coordinate system of the display interface of degree/first terminal.In embodiments of the present invention, conventional coordinates can be institute There is the conventional coordinates for the terminal references that can carry out net cast.Wherein, the width of conventional coordinates can be specifically 2048, high Degree can be the 3/4 of width.
S403, the track data that generation includes sliding trace give message.
In embodiments of the present invention, when first terminal gets standard coordinate of the sliding trace under conventional coordinates, eventually What end can generate the track data including sliding trace gives message, wherein, present gives the track of the sliding trace in message Data are the standard coordinate for including sliding trace under conventional coordinates, so that second terminal obtains slip rail according to message is given Standard coordinate of the mark under conventional coordinates, and show present icon along new sliding trace.So that first terminal is shown Present icon it is consistent with the display graphical effect for the present icon that second terminal is shown, avoid the occurrence of large-size screen monitors terminal show it is small During the figure that the terminal of screen is sent, if size real in terminal by former smaller screen is shown so that present graphical is too small Situation, so as to suitably be adjusted according to the size of terminal display interface to figure, lift Consumer's Experience.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
Based on the network architecture shown in Fig. 1 and Fig. 2, the embodiment of the invention discloses a kind of message receival method.Below Message receival method provided in an embodiment of the present invention will be described in detail with reference to accompanying drawing 9- accompanying drawings 11, wherein, embodiment Executive agent is second terminal.
It is a kind of a kind of embodiment schematic flow sheet of message receival method provided in an embodiment of the present invention referring to Fig. 9.This hair A kind of message receival method of bright embodiment comprises the following steps:
S500, receive first terminal push gives message, wherein, the message of giving includes the track number of sliding trace According to.
In the present invention is implemented, second terminal can directly receive the message of giving of first terminal push, or, second terminal Receive first terminal and give message by server push.
In embodiments of the present invention, the track data of sliding trace can be carried by giving message.Wherein, the track of sliding trace Data can be the position for the sliding trace for sliding touch operation, including multiple touch point positions on sliding trace, and sliding The position of dynamic rail trace curve.Specifically, the slip data of sliding trace can be sliding trace on current display interface Seat under coordinate under plane coordinate system, including plane coordinate system of multiple touch points on display interface on sliding trace Curvilinear function under mark, and plane coordinate system of the geometric locus on display interface of sliding trace.
In embodiments of the present invention, the identifier of present icon, user account information and use can also be carried by giving message The information such as the price of family purchase present icon.
S501, according to the track data of the sliding trace, one group of event icons is shown on display interface.
In the present invention is implemented, second terminal shows one group of event according to the track data of sliding trace on display interface Icon, wherein, event icons can include that the icon of feature operation can be carried out, or be only for the figure of spread geometry Mark.In embodiments of the present invention, event icons can be preferably the icon for spread geometry.Wherein, present icon can be with It is pattern icon, such as " heart " pattern, " fresh flower " pattern present icon, present icon also can also be the gifts such as word, numeral Thing icon, herein without limiting.One group of event icons may include at least one present icon, and present icon can be second whole End carry out in advance it is preset, or second terminal according to give message carrying present icon identifier acquisition corresponding to present figure Mark, or second terminal present icon according to corresponding to the user for giving message carrying buys the price acquisition of present icon, or Person's second terminal can be according to present icon corresponding to the user account information selection for giving message carrying.Wherein, second terminal is worked as After one group of present icon is shown on display interface according to the track data of sliding trace, second terminal can be stored in one group of display The deposit of price corresponding to the quantity of present icon.
In embodiments of the present invention, present figure is respectively shown on multiple touch point positions that second terminal can be on sliding trace Mark, therefore, a group icon can be arranged in by second terminal by the sliding trace that present icon forms according to multiple touch point positions Figure corresponding to the sliding trace of multiple touch point position compositions is shown on display interface.In a particular application, second The shape for the present icon that terminal is shown can be found in the display schematic diagram of Figure 10 present icon, and terminal is got on sliding trace Multiple touch point positions after, on multiple touch point positions that terminal can be on display interface respectively show " heart " present icon, And form the figure consistent with sliding trace.So that second terminal can obtain according only to the track data of the sliding trace received The figure that the present icon for taking display first terminal to give forms, effectively reduce the resource received when first terminal gives figure and account for With rate, resource overhead is reduced.
In embodiments of the present invention, second terminal can also obtain the animation effect parameter of present icon, wherein, second eventually Holding the animation effect parameter for obtaining present icon can be specifically:Second terminal selects corresponding according to the price of user's gifts Animation effect parameter, either second terminal according to the user account of login selection corresponding to animation effect parameter or second Terminal obtains preset animation effect parameter.Animation effect parameter can be specifically the icon illumination effect ginseng to be lighted for icon Number, the icon swing efficacy parameter to be swung for icon etc..Second terminal can obtain animation effect parameter and carry out animation exhibition Showing one group of present icon so that the display form of the present icon of displaying is rich and varied, and rich in interesting.
In a particular application, second terminal, which obtains animation effect parameter progress one group of present icon of animated show, to be: Second terminal carries out calculating current animation frame every preset time, and carries out drafting and show.Wherein, preset time can be 16ms.Further, in order to lift the rendering performance of second terminal, second terminal can be drawn using third party application Show one group of present icon.
In embodiments of the present invention, what second terminal reception first terminal pushed gives message, wherein, it is described to give message Track data including sliding trace, according to the track data of the sliding trace, one group of occurrence diagram is shown on display interface Mark so that the track data for the sliding trace that second terminal is sent according to first terminal obtains the icon that first terminal is given, and has Effect reduces the resources occupation rate for obtaining the figure that first terminal is given, and reduces resource overhead.
It is a kind of a kind of embodiment schematic flow sheet of message receival method provided in an embodiment of the present invention referring to Figure 11.This A kind of message receival method of inventive embodiments comprises the following steps:
S600, receive first terminal push gives message.
In embodiments of the present invention, giving the track data of the sliding trace of message carrying includes sliding trace in standard seat Standard coordinate under mark system.Multiple touch points that standard coordinate of the sliding trace under conventional coordinates is included on sliding trace exist Standard coordinate under conventional coordinates, and standard curve function of the geometric locus under conventional coordinates of sliding trace.
S601, standard coordinate of the sliding trace under conventional coordinates is entered by the plane coordinates on current display interface Row conversion, obtain the coordinate under plane coordinate system of the sliding trace on current display interface.
In embodiments of the present invention, due to of different sizes on the display interface of different terminals, in order to different terminals The figure shown on display interface unifies display effect, first terminal can by sliding trace first terminal current display interface On plane coordinate system under coordinate changed, obtain standard coordinate of the sliding trace under conventional coordinates.
Therefore, when the track data for the sliding trace that second terminal receives includes sliding trace under conventional coordinates During standard coordinate, second terminal can be changed standard coordinate of the sliding trace under conventional coordinates, obtain sliding trace The coordinate under plane coordinate system in the current display interface of second terminal.Wherein, second terminal by sliding trace in standard Standard coordinate under coordinate system is changed, and obtains plane coordinate system of the sliding trace in the current display interface of second terminal Under coordinate can be specifically:Second terminal enters standard coordinate of multiple touch points under conventional coordinates on sliding trace Row conversion, obtains the coordinate under plane coordinate system of multiple touch points in the current display interface of second terminal, or, second Terminal is changed the standard trajectory curve being made up of the standard coordinate under conventional coordinates, is obtained by working as in second terminal The geometric locus that coordinate forms under plane coordinate system on preceding display interface.
In embodiments of the present invention, second terminal is by standard of multiple touch points under conventional coordinates on sliding trace Coordinate is changed, and the coordinate obtained under plane coordinate system of multiple touch points in the current display interface of second terminal is specific Can be:Standard coordinate of the touch point under conventional coordinates can include standard coordinate x and standard coordinate y, and touch point is The coordinate under plane coordinate system in the current display interface of two terminals can include coordinate x and coordinate y, then coordinate x=standards Width under the conventional coordinates of width/display interface under the plane coordinate system of the display interface of coordinate x* second terminals, sit Under the conventional coordinates for marking width/display interface under the plane coordinate system of the display interface of y=standard coordinate y* second terminals Width.
In embodiments of the present invention, the standard trajectory curve that second terminal will be made up of the standard coordinate under conventional coordinates Changed, obtain the sliding trace that is made up of the coordinate under the plane coordinate system of the current display interface of second terminal Geometric locus can be specifically:The geometric locus of sliding trace is under the plane coordinate system of the current display interface of second terminal Curvilinear function is A, and the curvilinear function of the geometric locus of sliding trace under conventional coordinates is B, then curvilinear function A=B* second Width under the conventional coordinates of width/display interface under the plane coordinate system of the display interface of terminal.Implement in the present invention In example, conventional coordinates can be the conventional coordinates of all terminal references for carrying out net cast.Wherein, display interface exists Width under conventional coordinates can be specifically 2048, highly can be the 3/4 of width.
S602, one group of thing is shown on the coordinate under plane coordinate system of the sliding trace on current display interface Part icon.
In embodiments of the present invention, when second terminal obtains multiple touch points in the current display interface of second terminal During coordinate under plane coordinate system, second terminal can be sat in the plane in current display interface of multiple touch points in second terminal Carry out showing each present icon in one group of present icon respectively on coordinate under mark system.
In embodiments of the present invention, when second terminal obtains the plane coordinate system by the current display interface in second terminal Under coordinate composition sliding trace geometric locus when, second terminal can be by slip rail of one group of present icon along acquisition The geometric locus of mark is shown one by one.
In embodiments of the present invention, what second terminal reception first terminal pushed gives message, wherein, it is described to give message Track data including sliding trace, according to the track data of the sliding trace, one group of occurrence diagram is shown on display interface Mark so that the track data for the sliding trace that second terminal is sent according to first terminal obtains the icon that first terminal is given, and has Effect reduces the resources occupation rate for obtaining the figure that first terminal is given, and reduces resource overhead.
Below in conjunction with accompanying drawing 12, a kind of terminal provided in an embodiment of the present invention is introduced, in the embodiment of the present invention In, terminal can be first terminal.It should be noted that a kind of terminal shown in accompanying drawing 12, for performing Fig. 3-Fig. 8 of the present invention The method of illustrated embodiment, for convenience of description, the part related to the embodiment of the present invention is illustrate only, particular technique details is not Disclose, refer to the embodiment shown in Fig. 3-Fig. 8 of the present invention.
Figure 12 is referred to, for the embodiments of the invention provide a kind of structural representation of terminal.As shown in figure 12, it is of the invention The terminal of embodiment can include:
First acquisition unit 100, for obtaining sliding trace according to slide touch operation of the user on display interface Track data.
First display unit 200, for showing one group of event icons on the display interface along sliding trace.
Generation unit 300, message is given for generating, the message of giving includes the track data of the sliding trace.
Push unit 400, for the message of giving to be pushed into second terminal.
Wherein, the track data of the sliding trace includes multiple touch point positions on the sliding trace;
First display unit 200 is specifically used for:
Multiple touch point positions on the sliding trace show each event in one group of event icons respectively Icon.
Wherein, the first acquisition unit 100 is specifically used for:
When monitoring the slip touch operation, it is acquired to obtain the slip touch every preset sliding distance Multiple touch point positions on the sliding trace of operation.
Wherein, the first acquisition unit 100 includes:
First collection subelement, for when monitoring the slip touch operation, gathering the slip touch operation Starting point touch point position on sliding trace;
Second collection subelement, for the sliding trace every the current slip touch operation of preset time interval collection On current touch point position;
Judgment sub-unit, for judging the current touch point position and from the collection current touch point position nearest one Whether the distance between secondary touch point position collected interval is more than preset sliding distance;
Determination subelement, for when it is determined that the distance is spaced when being more than the sliding distance, according to described from collection institute State touch point position that current touch point position the last time collects and the sliding distance determines new touch point position;
Subelement is set, for the new touch point position to be arranged into the current touch point position.
Wherein, the track data for the sliding trace that the slip touch operation according to user on display interface is got The coordinate under plane coordinate system including the sliding trace on current display interface;
The generation unit 300 includes:
First conversion subunit, for by preset conventional coordinates by the sliding trace present terminal display circle The coordinate under plane coordinate system on face is changed, and obtains standard coordinate of the sliding trace under conventional coordinates;
Subelement is generated, the track data for including for generating sliding trace gives message, described to give in message The track data of sliding trace includes the sliding trace standard coordinate under conventional coordinates, so that second terminal is according to institute The standard coordinate for giving the message acquisition sliding trace under conventional coordinates is stated, display thing is carried out on the standard coordinate Part icon.
Wherein, the terminal also includes:
Second acquisition unit, for obtaining animation effect parameter;
Adding device, for the animation effect parameter to be given in message added to described.
Wherein it is possible to understand, the function of each functional module of the unit in the terminal of the present embodiment can according to Fig. 3- Method specific implementation in embodiment of the method described in Fig. 8, its specific implementation process are referred to the phase of above method embodiment Description is closed, is no longer repeated herein.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
Below in conjunction with accompanying drawing 13, a kind of terminal provided in an embodiment of the present invention is introduced, in the embodiment of the present invention In, terminal can be first terminal.It should be noted that a kind of terminal shown in accompanying drawing 13, for performing Fig. 9-figure of the present invention The method of 11 illustrated embodiments, for convenience of description, it illustrate only the part related to the embodiment of the present invention, particular technique details Do not disclose, refer to the embodiment shown in Fig. 9-Figure 11 of the present invention.
Figure 13 is referred to, for the embodiments of the invention provide a kind of structural representation of terminal.As shown in figure 13, it is of the invention The terminal of embodiment can include:
Receiving unit 400, for receive first terminal push give message, wherein, it is described give message include slide The track data of track.
Second display unit 500, for the track data according to the sliding trace, one group of thing is shown on display interface Part icon.
Wherein, the track data of the sliding trace includes multiple touch point positions on the sliding trace;
Second display unit 500 is specifically used for:
Multiple touch point positions on the sliding trace show each event in one group of event icons respectively Icon.
Wherein, the track data for giving the sliding trace that message includes includes sliding trace under conventional coordinates Standard coordinate;
Second display unit 500 includes:
Second conversion subunit, for by the plane coordinate system on current display interface by sliding trace in standard coordinate Standard coordinate under system is changed, and obtains the seat under plane coordinate system of the sliding trace on current display interface Mark;
One group of thing is shown on coordinate under plane coordinate system of the sliding trace on current display interface Part icon.
Wherein, the message of giving carries animation effect parameter;
Second display unit 500 is specifically used for:
Described one is shown to multiple touch locations difference animation on the sliding trace according to the animation effect parameter Each time icon in group event icons.
Wherein it is possible to understand, the function of each functional module of the unit in the terminal of the present embodiment can according to Fig. 9- Method specific implementation in embodiment of the method described in Figure 11, its specific implementation process are referred to the phase of above method embodiment Description is closed, is no longer repeated herein.
In embodiments of the present invention, what second terminal reception first terminal pushed gives message, wherein, it is described to give message Track data including sliding trace, according to the track data of the sliding trace, one group of occurrence diagram is shown on display interface Mark so that the track data for the sliding trace that second terminal is sent according to first terminal obtains the icon that first terminal is given, and has Effect reduces the resources occupation rate for obtaining the figure that first terminal is given, and reduces resource overhead.
Figure 14 is referred to, for the embodiments of the invention provide a kind of structural representation of message exchange system.Such as Figure 14 institutes Show, the system of the embodiment of the present invention can include:
First terminal 1 and second terminal 2.
It is understood that the function of each functional module of unit in the first terminal 1 of the present embodiment can be according to above-mentioned First terminal in embodiment implements, and the function of each functional module of the unit in the second terminal 2 of the present embodiment can root Implement according to the second terminal in above-described embodiment, no longer repeated herein.
It is understood that the first terminal 1 of the present embodiment and the concrete structure of second terminal 2 are referring also to shown in Fig. 1 Framework.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, first terminal show one group of event icons, first terminal generation along sliding trace on the display interface Message is given, the message of giving includes the track data of the sliding trace, and the message of giving is pushed to by first terminal Second terminal, second terminal reception first terminal push are given message, according to the track data of the sliding trace, shown One group of event icons is shown on interface, this causes first terminal can the second end by sending the track data of sliding trace End obtains the figure that first terminal is given, and effectively reduces resources occupation rate when first terminal give figure, reduces resource Expense, and second terminal can only obtain the track data of sliding trace can obtain the figure that first terminal is given, effectively drop The low resources occupation rate received when first terminal gives figure, reduces resource overhead.
Figure 15 is referred to, for the embodiments of the invention provide the structural representation of another terminal.As shown in figure 15, it is described Terminal 1000 is specifically as follows first terminal, and terminal 1000 can include:At least one processor 1001, such as CPU, at least one Individual network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 For realizing the connection communication between these components.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 is optional Wireline interface, the wave point (such as WI-FI interfaces) that can include standard.Memory 1005 can be high-speed RAM memory, Can also be non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can also be at least one storage device for being located remotely from aforementioned processor 1001.As shown in figure 15, as one Can include in the memory 1005 of kind of computer-readable storage medium operating system, network communication module, Subscriber Interface Module SIM and Communicate to connect application program.
In the terminal 1000 shown in Figure 15, user interface 1003 is mainly used in providing the user the interface of input, obtains The data of user's input;Network interface 1004 is used to be connected with NEWS SERVER, obtains the data that NEWS SERVER is sent;And Processor 1001 can be used for calling the communication connection application program stored in memory 1005, and specifically perform following operate:
According to the track data that slides touch operation obtain sliding trace of the user on display interface;
One group of event icons is shown on the display interface along sliding trace;
Message is given in generation, and the message of giving includes the track data of the sliding trace;
The message of giving is pushed to second terminal, so that the second terminal is given according to described in message acquisition The track data of sliding trace, and one group of event is shown on its display interface according to the track data of the sliding trace Icon.
Wherein, the track data of the sliding trace includes multiple touch point positions on the sliding trace;
The processor 1001 shows that one group of event icons includes along sliding trace on the display interface:
Multiple touch point positions on the sliding trace show each event in one group of event icons respectively Icon.
Wherein, the rail that slides touch operation obtain sliding trace of the processor 1001 according to user on display interface Mark data include:
When monitoring the slip touch operation, it is acquired to obtain the slip touch every preset sliding distance Multiple touch point positions on the sliding trace of operation.
Wherein, the rail that slides touch operation obtain sliding trace of the processor 1001 according to user on display interface Mark data include:
When monitoring the slip touch operation, gather and play touch on the sliding trace for sliding touch operation Point position;
Current touch point position on the sliding trace of the current slip touch operation of preset time interval collection;
Judge the current touch point position and the touch collected from collection current touch point position the last time Whether the distance between point position interval is more than preset sliding distance;
When it is determined that the distance interval is more than the sliding distance, according to described from the collection current touch point position The touch point position and the sliding distance that the last time collects determine new touch point position;
The new touch point position is arranged to the current touch point position.
Wherein, the track data for the sliding trace that the slip touch operation according to user on display interface is got The coordinate under plane coordinate system including the sliding trace on current display interface;
Message is given in the generation of processor 1001 to be included:
By preset conventional coordinates by under plane coordinate system of the sliding trace on the display interface of present terminal Coordinate changed, obtain standard coordinate of the sliding trace under conventional coordinates;
The track data that generation includes sliding trace gives message, the track number for giving the sliding trace in message According to including the sliding trace standard coordinate under conventional coordinates, so that second terminal gives message according to obtains institute Standard coordinate of the sliding trace under conventional coordinates is stated, display event icons are carried out on standard coordinate.
Wherein, given in the processor 1001 by described before message is sent to first terminal, the processor 1001 Also perform:
Obtain animation effect parameter;
The animation effect parameter is given in message added to described.
Wherein it is possible to understand, the function of each functional module of the unit in the terminal of the present embodiment can be according to above-mentioned Method specific implementation in embodiment of the method, its specific implementation process are referred to the associated description of above method embodiment, this Place is no longer repeated.
In embodiments of the present invention, first terminal obtains according to slip touch operation of the user on display interface and slides rail The track data of mark, one group of event icons is shown on the display interface along sliding trace, message is given in generation, described to give Message includes the track data of the sliding trace, the message of giving is pushed into second terminal, this causes first terminal to lead to The track data for sending sliding trace is crossed to carry out giving figure to second terminal, first terminal is effectively reduced and carries out giving figure When resources occupation rate, reduce resource overhead.
Figure 16 is referred to, for the embodiments of the invention provide the structural representation of another terminal.As shown in figure 16, it is described Terminal 2000 is specifically as follows second terminal, and the terminal 2000 can include:At least one processor 2001, such as CPU, extremely A few network interface 2004, user interface 2003, memory 2005, at least one communication bus 2002.Wherein, communication bus 2002 are used to realize the connection communication between these components.Wherein, user interface 2003 can include display screen (Display), Keyboard (Keyboard), optional user interface 2003 can also include wireline interface, the wave point of standard.Network interface 1004 Wireline interface, the wave point (such as WI-FI interfaces) of standard can optionally be included.Memory 2005 can be that high-speed RAM is deposited Reservoir or non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Deposit Reservoir 2005 optionally can also be at least one storage device for being located remotely from aforementioned processor 2001.As shown in figure 16, make For operating system, network communication module, Subscriber Interface Module SIM can be included in a kind of memory 2005 of computer-readable storage medium And communication connection application program.
In the terminal 2000 shown in Figure 12, user interface 2003 is mainly used in providing the user the interface of input, obtains The data of user's input;Network interface 2004 is used to be connected with terminal, obtains the data that terminal is sent;And processor 2001 can For calling the communication connection application program stored in memory 2005, and specifically receive giving for first terminal push and disappear Breath, wherein, the message of giving includes the track data of sliding trace;
According to the track data of the sliding trace, one group of event icons is shown on display interface.
Wherein, the track data of the sliding trace includes multiple touch point positions on the sliding trace;
The processor 2001 shows one group of event icons according to the track data of the sliding trace on display interface Including:
Multiple touch point positions on the sliding trace show each event in one group of event icons respectively Icon.
Wherein, the track data for giving the sliding trace that message includes includes sliding trace under conventional coordinates Standard coordinate;
The processor 2001 shows one group of event icons according to the track data of the sliding trace on display interface Including:
Standard coordinate of the sliding trace under conventional coordinates is carried out by the plane coordinate system on current display interface Conversion, obtains the coordinate under plane coordinate system of the sliding trace on current display interface;
One group of thing is shown on coordinate under plane coordinate system of the sliding trace on current display interface Part icon.
Wherein, the message of giving carries animation effect parameter;
Multiple touch point positions of the processor 2001 on the sliding trace show one group of occurrence diagram respectively Each event icons in mark include:
Described one is shown to multiple touch locations difference animation on the sliding trace according to the animation effect parameter Each time icon in group event icons.
Wherein it is possible to understand, the function of each functional module of the unit in the terminal of the present embodiment can be according to above-mentioned Method specific implementation in embodiment of the method, its specific implementation process are referred to the associated description of above method embodiment, this Place is no longer repeated.
In embodiments of the present invention, what second terminal reception first terminal pushed gives message, wherein, it is described to give message Track data including sliding trace, according to the track data of the sliding trace, one group of occurrence diagram is shown on display interface Mark so that the track data for the sliding trace that second terminal is sent according to first terminal obtains the icon that first terminal is given, and has Effect reduces the resources occupation rate for obtaining the figure that first terminal is given, and reduces resource overhead.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (17)

1. a kind of information push method, it is characterised in that methods described includes:
According to the track data that slides touch operation obtain sliding trace of the user on display interface;
One group of event icons is shown on the display interface along sliding trace;
Message is given in generation, and the message of giving includes the track data of the sliding trace;
The message of giving is pushed to second terminal, so that the second terminal gives message according to obtains the slip The track data of track, and one group of occurrence diagram is shown on its display interface according to the track data of the sliding trace Mark.
2. the method as described in claim 1, it is characterised in that the track data of the sliding trace includes the sliding trace On multiple touch point positions;
It is described to show that one group of event icons includes on the display interface along sliding trace:
Multiple touch point positions on the sliding trace show each event icons in one group of event icons respectively.
3. method as claimed in claim 2, it is characterised in that the slip touch operation according to user on display interface Obtaining the track data of sliding trace includes:
When monitoring the slip touch operation, it is acquired to obtain the slip touch operation every preset sliding distance Sliding trace on multiple touch point positions.
4. method as claimed in claim 2, it is characterised in that the slip touch operation according to user on display interface Obtaining the track data of sliding trace includes:
When monitoring the slip touch operation, the starting point touch point position on the sliding trace for sliding touch operation is gathered Put;
Current touch point position on the sliding trace of the current slip touch operation of preset time interval collection;
Judge the current touch point position and the touch point position collected from collection current touch point position the last time The distance between put whether interval is more than preset sliding distance;
When it is determined that the distance interval is more than the sliding distance, according to described nearest from the current touch point position is gathered The touch point position and the sliding distance once collected determines new touch point position;
The new touch point position is arranged to the current touch point position.
5. the method as described in claim any one of 1-4, it is characterised in that the slip according to user on display interface The track data for the sliding trace that touch operation is got includes plane of the sliding trace on current display interface and sat Coordinate under mark system;
Message is given in the generation to be included:
By preset conventional coordinates by the seat under plane coordinate system of the sliding trace on the display interface of present terminal Mark is changed, and obtains standard coordinate of the sliding trace under conventional coordinates;
The track data that generation includes sliding trace gives message, the track data bag for giving the sliding trace in message Standard coordinate of the sliding trace under conventional coordinates is included, so that second terminal gives message according to obtains the cunning Standard coordinate of the dynamic rail mark under conventional coordinates, carries out display event icons on standard coordinate.
6. a kind of message receival method, it is characterised in that methods described includes:
Receive first terminal push gives message, wherein, the message of giving includes the track data of sliding trace;
According to the track data of the sliding trace, one group of event icons is shown on display interface.
7. method as claimed in claim 6, it is characterised in that the track data of the sliding trace includes the sliding trace On multiple touch point positions;
The track data according to the sliding trace, show that one group of event icons includes on display interface:
Multiple touch point positions on the sliding trace show each event icons in one group of event icons respectively.
8. method as claimed in claims 6 or 7, it is characterised in that the track number for giving the sliding trace that message includes According to including sliding trace the standard coordinate under conventional coordinates;
The track data according to the sliding trace, show that one group of event icons includes on display interface:
Standard coordinate of the sliding trace under conventional coordinates is changed by the plane coordinate system on current display interface, Obtain the coordinate under plane coordinate system of the sliding trace on current display interface;
One group of occurrence diagram is shown on coordinate under plane coordinate system of the sliding trace on current display interface Mark.
9. a kind of terminal, it is characterised in that the terminal includes:
First acquisition unit, for the track number for sliding touch operation and obtaining sliding trace according to user on display interface According to;
First display unit, for showing one group of event icons on the display interface along sliding trace;
Generation unit, message is given for generating, the message of giving includes the track data of the sliding trace;
Push unit, for the message of giving to be pushed into second terminal, so that the second terminal is given according to and disappeared Breath obtains the track data of the sliding trace, and institute is shown on its display interface according to the track data of the sliding trace State one group of event icons.
10. terminal as claimed in claim 9, it is characterised in that the track data of the sliding trace includes the slip rail Multiple touch point positions on mark;
First display unit is specifically used for:
Multiple touch point positions on the sliding trace show each event icons in one group of event icons respectively.
11. terminal as claimed in claim 10, it is characterised in that the first acquisition unit is specifically used for:
When monitoring the slip touch operation, it is acquired to obtain the slip touch operation every preset sliding distance Sliding trace on multiple touch point positions.
12. terminal as claimed in claim 10, it is characterised in that the first acquisition unit includes:
First collection subelement, for when monitoring the slip touch operation, gathering the slip for sliding touch operation Starting point touch point position on track;
Second collection subelement, for every on the sliding trace of the current slip touch operation of preset time interval collection Current touch point position;
Judgment sub-unit, for judging the current touch point position with being adopted from collection current touch point position the last time Whether the distance between touch point position collected interval is more than preset sliding distance;
Determination subelement, for when it is determined that it is described distance interval be more than the sliding distance when, according to it is described from collection described in ought The touch point position and the sliding distance that preceding touch point position the last time collects determine new touch point position;
Subelement is set, for the new touch point position to be arranged into the current touch point position.
13. the terminal as described in claim any one of 9-12, it is characterised in that the cunning according to user on display interface The track data for the sliding trace that dynamic touch operation is got includes the sliding trace plane on current display interface Coordinate under coordinate system;
The generation unit includes:
First conversion subunit, for by preset conventional coordinates by the sliding trace present terminal display interface Plane coordinate system under coordinate changed, obtain standard coordinate of the sliding trace under conventional coordinates;
Subelement is generated, the track data that sliding trace is included for generating gives message, the slip given in message The track data of track includes the sliding trace standard coordinate under conventional coordinates, so that second terminal is given according to Send message to obtain standard coordinate of the sliding trace under conventional coordinates, display occurrence diagram is carried out on the standard coordinate Mark.
14. a kind of terminal, it is characterised in that the terminal includes:
Receiving unit, for receive first terminal push give message, wherein, the message of giving includes the rail of sliding trace Mark data;
Second display unit, for the track data according to the sliding trace, one group of event icons is shown on display interface.
15. terminal as claimed in claim 14, it is characterised in that the track data of the sliding trace includes the slip rail Multiple touch point positions on mark;
Second display unit is specifically used for:
Multiple touch point positions on the sliding trace show each event icons in one group of event icons respectively.
16. the terminal as described in claims 14 or 15, it is characterised in that the track for giving the sliding trace that message includes Data include sliding trace the standard coordinate under conventional coordinates;
Second display unit includes:
Second conversion subunit, for by the plane coordinate system on current display interface by sliding trace under conventional coordinates Standard coordinate changed, obtain the coordinate under plane coordinate system of the sliding trace on current display interface;
One group of occurrence diagram is shown on coordinate under plane coordinate system of the sliding trace on current display interface Mark.
A kind of 17. message exchange system, it is characterised in that the system includes first terminal and second terminal, wherein, described One terminal includes the terminal as described in claim any one of 9-13, and the second terminal is included as claim 14-16 is any Terminal described in.
CN201610676264.8A 2016-08-16 2016-08-16 Message pushing method, terminal and system Active CN107765976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610676264.8A CN107765976B (en) 2016-08-16 2016-08-16 Message pushing method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610676264.8A CN107765976B (en) 2016-08-16 2016-08-16 Message pushing method, terminal and system

Publications (2)

Publication Number Publication Date
CN107765976A true CN107765976A (en) 2018-03-06
CN107765976B CN107765976B (en) 2021-12-14

Family

ID=61259628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610676264.8A Active CN107765976B (en) 2016-08-16 2016-08-16 Message pushing method, terminal and system

Country Status (1)

Country Link
CN (1) CN107765976B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664651A (en) * 2018-05-17 2018-10-16 腾讯科技(深圳)有限公司 A kind of pattern recommends method, apparatus and storage medium
CN109194973A (en) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 A kind of more main broadcaster's direct broadcasting rooms give the methods of exhibiting, device and equipment of virtual present
CN109525885A (en) * 2018-12-13 2019-03-26 广州华多网络科技有限公司 Information processing method, device, electronic equipment and computer-readable readable medium
CN110662105A (en) * 2019-10-16 2020-01-07 广州华多网络科技有限公司 Animation file generation method and device and storage medium
CN111399729A (en) * 2020-03-10 2020-07-10 北京字节跳动网络技术有限公司 Image drawing method and device, readable medium and electronic equipment
WO2021012096A1 (en) * 2019-07-19 2021-01-28 京东方科技集团股份有限公司 Media resource pushing apparatus and method, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100280921A1 (en) * 2008-10-27 2010-11-04 Stone David D Systems and methods for implementing and managing virtual gift cards
CN101923434A (en) * 2010-08-23 2010-12-22 宇龙计算机通信科技(深圳)有限公司 Type setting method and system of application icon and mobile terminal
WO2012140883A1 (en) * 2011-04-11 2012-10-18 パナソニック株式会社 Display processing device
CN105373306A (en) * 2015-10-13 2016-03-02 广州酷狗计算机科技有限公司 Virtual goods presenting method and device
CN105446689A (en) * 2015-12-16 2016-03-30 广州视睿电子科技有限公司 Synchronization method and system of remote commenting
CN105635745A (en) * 2015-12-23 2016-06-01 广州华多网络科技有限公司 Method and client for generating signed photo based on on-line live broadcast application
CN105653167A (en) * 2015-12-23 2016-06-08 广州华多网络科技有限公司 Online live broadcast-based information display method and client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100280921A1 (en) * 2008-10-27 2010-11-04 Stone David D Systems and methods for implementing and managing virtual gift cards
CN101923434A (en) * 2010-08-23 2010-12-22 宇龙计算机通信科技(深圳)有限公司 Type setting method and system of application icon and mobile terminal
WO2012140883A1 (en) * 2011-04-11 2012-10-18 パナソニック株式会社 Display processing device
CN105373306A (en) * 2015-10-13 2016-03-02 广州酷狗计算机科技有限公司 Virtual goods presenting method and device
CN105446689A (en) * 2015-12-16 2016-03-30 广州视睿电子科技有限公司 Synchronization method and system of remote commenting
CN105635745A (en) * 2015-12-23 2016-06-01 广州华多网络科技有限公司 Method and client for generating signed photo based on on-line live broadcast application
CN105653167A (en) * 2015-12-23 2016-06-08 广州华多网络科技有限公司 Online live broadcast-based information display method and client

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664651A (en) * 2018-05-17 2018-10-16 腾讯科技(深圳)有限公司 A kind of pattern recommends method, apparatus and storage medium
CN109194973A (en) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 A kind of more main broadcaster's direct broadcasting rooms give the methods of exhibiting, device and equipment of virtual present
CN109525885A (en) * 2018-12-13 2019-03-26 广州华多网络科技有限公司 Information processing method, device, electronic equipment and computer-readable readable medium
CN109525885B (en) * 2018-12-13 2021-07-20 广州华多网络科技有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium
WO2021012096A1 (en) * 2019-07-19 2021-01-28 京东方科技集团股份有限公司 Media resource pushing apparatus and method, electronic device and storage medium
CN110662105A (en) * 2019-10-16 2020-01-07 广州华多网络科技有限公司 Animation file generation method and device and storage medium
CN111399729A (en) * 2020-03-10 2020-07-10 北京字节跳动网络技术有限公司 Image drawing method and device, readable medium and electronic equipment
US11875437B2 (en) 2020-03-10 2024-01-16 Beijing Bytedance Network Technology Co., Ltd. Image drawing method based on target template image, apparatus, readable medium and electronic device

Also Published As

Publication number Publication date
CN107765976B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN107765976A (en) A kind of information push method, terminal and system
CN109275040B (en) Interaction method, device and system based on live game
CN106453638B (en) Information interacting method and system in a kind of applied business
CN103631485B (en) Message treatment method and the terminal for supporting the method
CN107551555A (en) Game picture display methods and device, storage medium, terminal
CN106874338A (en) Equipment, method and graphic user interface for manipulating user interface object using vision and/or touch feedback
CN108762862A (en) Equipment, method and graphic user interface for messaging
CN107924113A (en) User interface for camera effect
CN105955617A (en) Gesture for selecting text
CN110531920A (en) Display methods, device, terminal and the storage medium of side toolbar
CN103631487B (en) A kind of method and device of the configuration page
CN107040824A (en) A kind of method and terminal for sending barrage
WO2012088665A1 (en) Method and mobile terminal for processing contacts
CN106462413A (en) Systems and methods for multitasking on an electronic device with a touch-sensitive display
CN107728905A (en) A kind of barrage display methods, device and storage medium
CN108173742A (en) A kind of image processing method, device
CN110109638A (en) For the display methods of android terminal, device and android terminal
CN109644181A (en) A kind of method, relevant apparatus and system that multimedia messages are shared
CN110286768A (en) Dummy object display methods, terminal device and computer readable storage medium
CN106156369A (en) Multi-layer subordinate method for exhibiting data and device
CN108282683A (en) A kind of video clip display methods and device
CN106331879A (en) Screen comment display method and device based on panoramic video
CN109701265A (en) Remote desktop cursor mode switching method, system, client and remote server
CN113952709A (en) Game interaction method and device, storage medium and electronic equipment
CN102567367A (en) Method and system for setting correlations in communication interface

Legal Events

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