CN110045901A - Solicitation message processing method, device, equipment and computer readable storage medium - Google Patents
Solicitation message processing method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110045901A CN110045901A CN201910320143.3A CN201910320143A CN110045901A CN 110045901 A CN110045901 A CN 110045901A CN 201910320143 A CN201910320143 A CN 201910320143A CN 110045901 A CN110045901 A CN 110045901A
- Authority
- CN
- China
- Prior art keywords
- message
- control
- child control
- solicitation
- pulls
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
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 present invention provides a kind of solicitation message processing method, device, equipment and computer readable storage medium.The method of the embodiment of the present invention generates corresponding message control by receiving default solicitation message, and according to default solicitation message, includes first message child control and second message child control;In response to the first drag operation along the first preset direction to first message child control, detect first message child control first pulls distance, if first pulls apart from threshold value is pulled greater than first, executes refusal operation processing corresponding with solicitation message;In response to the second drag operation along the second preset direction to second message child control, detect second message child control second pulls distance, if second, which pulls distance, is greater than the second dragging threshold value, execution is corresponding with solicitation message to receive operation processing, simplify user's operation step, operating efficiency is improved, and without showing the corresponding UI element of all types of operation processings, improves the utilization rate of screen space.
Description
Technical field
The present embodiments relate to touch screen technology field more particularly to a kind of solicitation message processing method, device, equipment and
Computer readable storage medium.
Background technique
In the software applications such as social application or game application, addition good friend is basic function.User can be to other
User issues the solicitation message of application addition good friend, and the user for being applied addition good friend can check solicitation message, disappear to application
Cease the operation such as accepted applications or refused an application.Friend relation is established by adding good friend between different users.
In current each software application, usually a plurality of solicitation message is shown in the form of a list, for disappearing to application
Multiple UI elements that breath carries out operation processing are shown in a manner of secondary list or are directly arranged one by one in the list item of solicitation message
Out.If multiple UI elements are shown in a manner of secondary list, user need to first click the list item for opening a solicitation message, then point
The a certain UI element hit in list item carries out corresponding operation processing, and user's operation is cumbersome, and operating efficiency is low;If multiple UI elements are straight
It connects and is listed one by one in the list item of solicitation message, since the display screen size of terminal is smaller, the display of multiple UI elements is occupied
Very big screen space, the utilization rate of screen space are low.
Summary of the invention
The embodiment of the present invention provides a kind of solicitation message processing method, device, equipment and computer readable storage medium, uses
It is shown in a manner of secondary list by the multiple UI elements for solving to carry out operation processing to solicitation message in the prior art, user's operation
Cumbersome, operating efficiency is low;Multiple UI elements are directly listed in the list item of solicitation message one by one, due to the display screen ruler of terminal
Very little smaller, the display of multiple UI elements occupies very big screen space, the low problem of the utilization rate of screen space.
The one aspect of the embodiment of the present invention is to provide a kind of solicitation message processing method, comprising:
Default solicitation message is received, and corresponding message control, the message control are generated according to the default solicitation message
Part includes first message child control and second message child control;
In response to the first drag operation along the first preset direction to the first message child control, detection described first
The first of message child control pulls distance, if described first pulls distance greater than the first dragging threshold value, executes and disappears with the application
Corresponding refusal operation processing is ceased, and removes the message control in the first preset time;
In response to the second drag operation along the second preset direction to the second message child control, detection described second
The second of message child control pulls distance, if described second pulls distance greater than the second dragging threshold value, executes and disappears with the application
Cease it is corresponding receive operation processing, and the message control is removed in the second preset time.
The other side of the embodiment of the present invention is to provide a kind of solicitation message processing unit, comprising:
Message control processing module for receiving default solicitation message, and is generated according to the default solicitation message and is corresponded to
Message control, the message control include first message child control and second message child control;
Execution module is handled, in response to pulling along the first of the first preset direction to the first message child control
Operation, detect the first message child control first pull distance, if the first dragging distance is greater than first and pulls threshold value,
Refusal operation processing corresponding with the solicitation message is executed, and removes the message control in the first preset time;
The processing execution module is also used to: in response to the second message child control along the second preset direction the
Two drag operations, detect the second message child control second pull distance, if the second dragging distance is greater than second and drags
Threshold value is dragged, execution is corresponding with the solicitation message to receive operation processing, and the message control is removed in the second preset time
Part.
The other side of the embodiment of the present invention is to provide a kind of solicitation message processing equipment, comprising:
Memory, processor, and it is stored in the computer journey that can be run on the memory and on the processor
Sequence,
The processor realizes solicitation message processing method described above when running the computer program.
The other side of the embodiment of the present invention is to provide a kind of computer readable storage medium, is stored with computer journey
Sequence,
The computer program realizes solicitation message processing method described above when being executed by processor.
Solicitation message processing method, device, equipment and computer readable storage medium provided in an embodiment of the present invention, pass through
The message control of solicitation message is encapsulated as first message child control and second message child control two parts, and is solicitation message
Different types of operation processing sets corresponding different types of drag operation, and different types of drag operation passes through dragging object
(first message child control or second message child control), drag direction and dragging distance distinguish, in response to different type
Drag operation, to solicitation message execute corresponding types operation processing, realize by directly carrying out difference to solicitation message
The drag operation of type simplifies user's operation step to complete the operation processing to solicitation message respective type, improves behaviour
Make efficiency, and without showing the corresponding UI element of all types of operation processings, avoids the corresponding UI element of operation processing and account for
With screen space, the utilization rate of screen space is substantially increased.
Detailed description of the invention
Fig. 1 is the solicitation message processing method flow chart that the embodiment of the present invention one provides;
Fig. 2 is the message control schematic diagram that the embodiment of the present invention one provides;
Fig. 3 is solicitation message processing method flow chart provided by Embodiment 2 of the present invention;
Fig. 4 is message control schematic diagram provided by Embodiment 2 of the present invention;
Fig. 5 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Fig. 6 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Fig. 7 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Fig. 8 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Fig. 9 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Figure 10 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Figure 11 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Figure 12 is another message control schematic diagram provided by Embodiment 2 of the present invention;
Figure 13 is the structural schematic diagram for the solicitation message processing unit that the embodiment of the present invention three provides;
Figure 14 is the structural schematic diagram for the solicitation message processing equipment that the embodiment of the present invention five provides.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the range of design of the embodiment of the present invention in any manner with verbal description, but by reference to specific reality
Applying example is that those skilled in the art illustrate idea of the invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the embodiment of the present invention.On the contrary, they be only with
The example of the consistent device and method of as detailed in the attached claim, the embodiment of the present invention some aspects.
Term " first " involved in the embodiment of the present invention, " second " etc. are used for description purposes only, and should not be understood as referring to
Show or imply relative importance or implicitly indicates the quantity of indicated technical characteristic.In the description of following embodiment,
The meaning of " plurality " is two or more, unless otherwise specifically defined.
These specific embodiments can be combined with each other below, may be at certain for the same or similar concept or process
It is repeated no more in a little embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Embodiment one
Fig. 1 is the solicitation message processing method flow chart that the embodiment of the present invention one provides;Fig. 2 is that the embodiment of the present invention one mentions
The message control schematic diagram of confession.The embodiment of the present invention is for the multiple UI member for carrying out operation processing to solicitation message in the prior art
Element shows that user's operation is cumbersome in a manner of secondary list, and operating efficiency is low;Multiple UI elements are directly in the list item of solicitation message
It lists one by one, since the display screen size of terminal is smaller, the display of multiple UI elements occupies very big screen space, screen
The low problem of the utilization rate in space, provides solicitation message processing method.
Method in the present embodiment is applied to carry out the terminal device of solicitation message processing, which can be intelligence
The mobile terminals such as mobile phone, tablet computer, can also be with fixed terminals such as PCs, in other embodiments, and this method can also answer
For other equipment, the present embodiment is schematically illustrated by taking terminal device as an example.As shown in Figure 1, this method specific steps are such as
Under:
Step S101, default solicitation message is received, and corresponding message control, message control are generated according to default solicitation message
Part includes first message child control and second message child control.
In the present embodiment, after terminal device receives default solicitation message, according to default solicitation message, generate corresponding
Message control shows the default corresponding message control of solicitation message in solicitation message list.
Second message child control is located in the preset range of first message child control.Optionally, second message child control can
To be located at the side of first message child control.For example, second message child control is located at the second default side of first message child control
To side.
First message comprising default solicitation message in first message child control describes, comprising pre- in second message child control
If the second message of solicitation message describes.
Initiator information of the first message description comprising default solicitation message, second message description include default solicitation message
Additional information.
Wherein, initiator information can be the information such as applicant's title.First message description can also include preassigning
The key message that must be shown.Such as applicant's head portrait, applicant's title, application time information etc..
Second message description may include except other in addition to first message description of default solicitation message are more detailed
Information.Such as: the verification informations such as message that the message information of system intialization, applicant input, the attributes such as grade of applicant letter
Breath.
As shown in Fig. 2, message control includes envelope part and mail part, envelope part indicates first message child control,
Mail part indicates second message child control.Second message child control can be located at the right side of first message child control.In addition, figure
The information of envelope part and mail part is merely illustrative the structure of message control, the first message description of envelope part in 2
Second message description with mail part specifically includes which information can be set by technical staff according to practical application scene
Fixed, the present embodiment is not specifically limited herein.
In the present embodiment, for the solicitation message that terminal device is shown, user can be applied by showing to terminal device
Message carries out different types of drag operation, to complete the operation processing to the corresponding types of solicitation message.
Wherein, the action type of drag operation includes at least: accepting applications, refuses an application and temporarily ignores;Drag operation
Type can be set according to the specific application scenarios of solicitation message, the present embodiment herein for drag operation type not
It is specifically limited.
For example, for good friend's solicitation message of game player, corresponding operation processing may include: check application information,
Reception applies, refuses an application, temporarily ignoring etc., then the type of the drag operation of solicitation message can at the operation of progress
The type of reason is correspondingly arranged.
Further, the corresponding concrete operations rule of drag operation includes at least: the drag direction of drag operation, pull away from
From.Wherein, the distance that distance refers to that operation object is moved along drag direction under drag operation effect is pulled.It is different types of to drag
It is different to drag the corresponding concrete operations rule of operation.
In the present embodiment, in response to the drag operation of different operation type, executed at the corresponding operation of action type respectively
Reason.
In practical applications, user may is that user passes through finger or other touches to the drag operation of solicitation message
Tool passes through the peripheral hardwares such as mouse to the drag operation of the solicitation message progress of the touch screen display of terminal device or user
The drag operation etc. that the solicitation message that terminal device is shown is carried out.
Step S102, in response to the first drag operation along the first preset direction to first message child control, detection the
The first of one message child control pulls distance, if first pulls distance greater than the first dragging threshold value, executes corresponding with solicitation message
Refusal operation processing, and in the first preset time remove message control.
Specifically, in response to the first drag operation along the first preset direction to first message child control, terminal device
It can detecte the distance that first message child control is moved along the first preset direction under the action of the first drag operation, as first
Pull distance.
According to the drag direction (the first preset direction) of the first drag operation and pull distance (first pulls distance), if the
One, which pulls distance, is greater than the first dragging threshold value, then can determine that the first drag operation is to receive operation, terminal device executes and Shen
Please the corresponding refusal operation processing of message, and in the first preset time remove message control.
According to the drag direction (the first preset direction) of the first drag operation and pull distance (first pulls distance), if the
One pulls apart from less than or equal to the first dragging threshold value, it is determined that the first drag operation is invalid operation, without execution and Shen
It please the corresponding refusal operation processing of message.
Wherein, the first preset direction, the first dragging threshold value and the first preset time can be respectively by technical staff according to realities
Border application scenarios and empirical value are set, and the present embodiment is not specifically limited herein.
Step S103, in response to the second drag operation along the second preset direction to second message child control, detection the
The second of two message child controls pulls distance, if second pulls distance greater than the second dragging threshold value, executes corresponding with solicitation message
Receive operation processing, and in the second preset time remove message control.
Specifically, in response to the second drag operation along the second preset direction to second message child control, terminal device
It can detecte the distance that second message child control is moved along the second preset direction under the action of the second drag operation, as second
Pull distance.
According to the drag direction (the second preset direction) of the second drag operation and pull distance (second pulls distance), if the
Two, which pull distance, is greater than the second dragging threshold value, then can determine the second drag operation as refusal operation, terminal device executes and Shen
Please message is corresponding receives operation processing, and message control is removed in the second preset time.
According to the drag direction (the second preset direction) of the second drag operation and pull distance (second pulls distance), if the
Two pull apart from less than or equal to the second dragging threshold value, it is determined that the second drag operation is invalid operation, without execution and Shen
It please message be corresponding receives operation processing.
Wherein, the second preset direction, the second dragging threshold value and the second preset time can be by technical staff according to actually answering
It is set with scene and empirical value, the present embodiment is not specifically limited herein.
Optionally, the second preset direction is the direction opposite with the first preset direction, different types of accurately to distinguish
Drag operation.
In addition, in the present embodiment, the step of terminal device carries out alignment processing in response to different drag operations (such as step
S102 and step S103) it is independent from each other step, it is executed according to the sequencing that drag operation occurs, different operation type
There is no permanent order between the execution of drag operation.
The embodiment of the present invention is by being encapsulated as first message child control and second message for the message control of solicitation message
Control two parts, and corresponding different types of drag operation is set for the different types of operation processing of solicitation message, it is different
The drag operation of type by dragging object (first message child control or second message child control), drag direction and dragging away from
From distinguishing, in response to different types of drag operation, the operation processing of corresponding types is executed to solicitation message, is realized logical
It crosses and different types of drag operation is directly carried out to solicitation message, to complete the operation processing to solicitation message respective type, letter
User's operation step is changed, has improved operating efficiency, and without showing the corresponding UI element of all types of operation processings, has avoided
The corresponding UI element of operation processing occupies screen space, substantially increases the utilization rate of screen space.
Embodiment two
Fig. 3 is solicitation message processing method flow chart provided by Embodiment 2 of the present invention.On the basis of above-described embodiment one
On, in the present embodiment, after above-mentioned steps S101, in response to the third along the first preset direction to second message child control
Drag operation, the third that terminal device detects second message child control pull distance, if third pulls distance and pulls greater than third
Threshold value hides at least part of second message child control.As shown in figure 3, specific step is as follows for this method:
Step S101, default solicitation message is received, and corresponding message control, message control are generated according to default solicitation message
Part includes first message child control and second message child control.
The step is consistent with step S101 in embodiment one, and details are not described herein again.
In the present embodiment, pulling distance can be indicated with the distance of the movement of a preset on drag operation object.
For example, preset can be the center of gravity of operation object, wherein the center of gravity default of operation object can be operation object region
Center.
Step S102, in response to the first drag operation along the first preset direction to first message child control, detection the
The first of one message child control pulls distance, if first pulls distance greater than the first dragging threshold value, executes corresponding with solicitation message
Refusal operation processing, and in the first preset time remove message control.
The step is consistent with step S102 in embodiment one, and details are not described herein again.
Illustratively, it is based on message control shown in Fig. 2, using the first preset direction as left, the second preset direction is the right side
Side, second message child control (the mail part in such as Fig. 2) are located at the of first message child control (the envelope part in such as Fig. 2)
Two preset direction sides (right side).The center of gravity of first message child control is envelope center of gravity as shown in Figure 2, second message child control
Center of gravity be mail center of gravity as shown in Figure 2.Fig. 4 and Fig. 5 is message control schematic diagram provided by Embodiment 2 of the present invention.Such as
Shown in Fig. 4, in response to the first drag operation along the first preset direction to first message child control, the first drag operation is dragged
It drags direction as shown in the figure and is to the first preset direction (to the left), the preset vanishing line in Fig. 4 is a dummy line, the in Fig. 4
The distance of position of the center of gravity (envelope center of gravity) of one message child control before carrying out the first drag operation to preset vanishing line is the
One pulls threshold value.Terminal device can detect the position of the center of gravity (envelope center of gravity) of first message child control in real time, and calculate
The distance that the center of gravity of first message child control is moved along the first preset direction out, obtain first message child control first pull away from
From.If the center of gravity of first message child control has crossed preset vanishing line, by preset vanishing line when the first drag operation is completed
Right side is moved to the left side (as shown in Figure 5) of preset vanishing line, that is to say, that and first, which pulls distance, is greater than the first dragging threshold value,
So terminal device determines that the action type of the first drag operation for refusal operation, executes refusal operation corresponding with solicitation message
Processing, and message control is removed in the first preset time.
If the center of gravity of first message child control has not crossed preset vanishing line, yet when the first drag operation is completed
It is to say that the first dragging distance is less than or equal to first and pulls threshold value, then terminal device determines that the first drag operation is invalid behaviour
Make, it is aobvious before message control to be returned to the first drag operation without executing refusal operation processing corresponding with solicitation message
Show that state is shown.
Optionally, as shown in Figure 4, when first message child control is dragged, second message child control can follow
One message child control moves together;It that is to say, when carrying out drag operation to first message child control, message control be can be used as
One entirety moves together.
Optionally, message control can be refreshed in solicitation message list and is shown after removing in solicitation message list
Solicitation message, to adjust the display position of the message control of solicitation message to be processed in solicitation message list.For example, will disappear
Control is ceased after removing in solicitation message list, other message controls retained can be moved up with cis-position.
Step S103, in response to the second drag operation along the second preset direction to second message child control, detection the
The second of two message child controls pulls distance, if second pulls distance greater than the second dragging threshold value, executes corresponding with solicitation message
Receive operation processing, and in the second preset time remove message control.
The step is consistent with step S103 in embodiment one, and details are not described herein again.
Illustratively, it is based on message control shown in Fig. 2, using the first preset direction as left, the second preset direction is the right side
Side, second message child control (the mail part in such as Fig. 2) are located at the of first message child control (the envelope part in such as Fig. 2)
Two preset direction sides (right side).The center of gravity of first message child control is envelope center of gravity as shown in Figure 2, second message child control
Center of gravity be mail center of gravity as shown in Figure 2.Fig. 6, Fig. 7 and Fig. 8 are message control provided by Embodiment 2 of the present invention signal
Figure.As shown in fig. 6, second pulls behaviour in response to the second drag operation along the second preset direction to second message child control
The drag direction of work is that the preset evolute to the second preset direction (to the right), in Fig. 6 is a dummy line, figure as shown in the figure
Distance of position of the center of gravity (mail center of gravity) of second message child control before carrying out the second drag operation to preset evolute in 6
Threshold value is pulled for second.Terminal device can detect the position of the center of gravity (envelope center of gravity) of second message child control in real time, and
The distance that the center of gravity of second message child control is moved along the second preset direction is calculated, obtain second message child control second drags
Drag distance.If the center of gravity of second message child control has crossed preset evolute, by preset expansion when the second drag operation is completed
The right side (as shown in Figure 7) of preset evolute is moved on the left of line, that is to say, that second, which pulls distance, is greater than the second dragging
Threshold value executes connect corresponding with solicitation message then terminal device determines that the action type of the second drag operation is to receive operation
By operation processing, and message control is removed in the second preset time.
If when the second drag operation is completed, the center of gravity of second message child control does not cross preset evolute, that is,
Say that the second dragging distance is less than or equal to second and pulls threshold value, then terminal device determines that the second drag operation is invalid behaviour
Make, without execute it is corresponding with solicitation message receive operation processing, message control is returned to showing before the second drag operation
Show that state is shown.
Optionally, as shown in Figure 6 and Figure 7, when second message child control is dragged, first message child control will not be followed
Second message child control moves together.
Optionally, message control can be refreshed in solicitation message list and is shown after removing in solicitation message list
Solicitation message, to adjust the display position of the message control of solicitation message to be processed in solicitation message list.For example, will disappear
Control is ceased after removing in solicitation message list, other message controls retained can be moved up with cis-position.
Optionally, during carrying out the second drag operation, in response to the default along second of second message child control
Second drag operation in direction, terminal device can be shown in first message child control receives operation prompt information, receives operation
Prompt information is for prompting currently carrying out receiving processing operation.Second in detection second message child control pulls apart from it
Afterwards, if second pulls distance less than or equal to the second dragging threshold value, cancel display and receive operation prompt information.In detection second
After the second of message child control pulls distance, if second pulls apart from threshold value is pulled greater than second, still display receives operation
Prompt information.
In addition, first message child control show receive operation prompt information when, can be aobvious using gradually mode outstanding
Show and receives operation prompt information.Gradually mode outstanding can be that transparency gradually decreases, color is gradually deepened, font size gradually increases
Big etc. mode realizes that the present embodiment is not specifically limited herein.Specifically, gradual change degree has at a distance from dragging object movement
It closes.
For example, as shown in Figure 6 and Figure 7, indicating to receive operation prompt information with " imperial to attend ", the second drag operation is being carried out
During, it is gradually decreased in the transparency for receiving operation prompt information " imperial to attend " that first message child control is shown, thus
" imperial to attend " can be shown more and more prominently.Execute it is corresponding with solicitation message receive operation processing after, the message control
The second message child control of part can no longer be shown, the first message child control of the message control is only shown in solicitation message list
(as shown in Figure 8), and message control is removed in the second preset time.
Step S104, in response to the third drag operation along the first preset direction to second message child control, detection the
The third of two message child controls pulls distance, if third pulls distance and is greater than third dragging threshold value, hides at least part of second
Message child control.
Specifically, in response to the third drag operation along the first preset direction to second message child control, terminal device
It can detecte the distance that second message child control is moved along the first preset direction under the action of third drag operation, as third
Pull distance.
According to the drag direction (the first preset direction) of third drag operation and distance (third dragging distance) is pulled, if the
Three, which pull distance, is greater than third dragging threshold value, then can determine that third drag operation is temporarily to ignore operation, terminal device is hidden
At least part of second message child control.
According to the drag direction (the first preset direction) of third drag operation and distance (third dragging distance) is pulled, if the
Three, which pull distance, is less than or equal to third dragging threshold value, then can determine that third drag operation is invalid operation, without hiding
At least part of second message child control.
Wherein, the first preset direction and third dragging threshold value can be respectively by technical staff according to practical application scenes and warp
It tests value to be set, the present embodiment is not specifically limited herein.
Illustratively, it is based on message control shown in Fig. 2, using the first preset direction as left, the second preset direction is the right side
Side, second message child control (the mail part in such as Fig. 2) are located at the of first message child control (the envelope part in such as Fig. 2)
Two preset direction sides (right side).The center of gravity of first message child control is envelope center of gravity as shown in Figure 2, second message child control
Center of gravity be mail center of gravity as shown in Figure 2.Fig. 9, Figure 10, Figure 11 and Figure 12 are message control provided by Embodiment 2 of the present invention
Part schematic diagram.As shown in figure 9, in response to the third drag operation along the first preset direction to second message child control, third
The drag direction of drag operation is that the preset line of packing up to the first preset direction (to the left), in Fig. 9 is a void as shown in Figure 9
Intend line, position of the center of gravity (mail center of gravity) of second message child control before carrying out third drag operation is packed up to preset in Fig. 9
The distance of line is that third pulls threshold value.Terminal device can detect the center of gravity (envelope center of gravity) of second message child control in real time
Position, and the distance that the center of gravity for calculating second message child control is moved along the first preset direction, obtain second message child control
Third pull distance.If third drag operation complete when, the center of gravity of second message child control crossed it is preset pack up line, by
Preset pack up is moved to the preset left side (as shown in Figure 10) for packing up line on the right side of line, that is to say, that third pulls distance and is greater than
Third pulls threshold value, then terminal device determines that the action type of third drag operation is temporarily to ignore operation, hides at least portion
The second message child control divided, is shown as shown in figure 11.
If when third drag operation is completed, the center of gravity of second message child control do not cross it is preset pack up line, that is,
Say that third pulls distance and is less than or equal to third dragging threshold value, then terminal device determines that third drag operation is invalid behaviour
Make, hides at least part of second message child control without executing.
Optionally, as shown in Figure 9 and Figure 10, when second message child control is dragged, first message child control will not be with
It is moved together with second message child control.
Optionally, during carrying out third drag operation, in response to the default along first of second message child control
The third drag operation in direction shows in first message child control and hides prompt information, and it is current for prompting to hide prompt information
Drag operation will hide at least part of second message child control.It pulls in the third of detection second message child control apart from it
Afterwards, if third pulls distance and is less than or equal to third dragging threshold value, cancellation, which is shown, hides prompt information.In detection second message
After the third of child control pulls distance, if third, which pulls distance, pulls threshold value greater than third, still shows and hide prompt information.
For example, indicated to hide prompt information with " imperial deficient seat ", then the message control for hiding at least part of second message child control can be with
As shown in figure 12.
In addition, can be shown and be connect using gradually mode outstanding when first message child control shows and hides prompt information
By operation prompt information.Gradually mode outstanding can be that transparency gradually decreases, color is gradually deepened, font size is gradually increased
Etc. modes realize that the present embodiment is not specifically limited herein.Specifically, the distance dependent of gradual change degree and dragging object movement.
Optionally, after hiding at least part of second message child control, it can refresh in solicitation message list and show
Message control display position, the message control for hiding at least part of second message child control is shown rearward, it is preferential aobvious
Show the message control of other solicitation messages to be processed.
Step S105, it is operated in response to the expansion to message control, expansion display second message child control.
For hiding the message control of at least part of second message child control, user can be by the message control
Expansion operation, comes again by the partially unfolded display of the mail of this application message, so that solicitation message is restored to initial display shape
State (as shown in Figure 9).
Optionally, expansion operation can be the clicking operation to the message control, or not hide to the message control
Second message child control to the drag operation, etc. of the second preset direction, the present embodiment is not specifically limited herein.
In addition, in the present embodiment, the step of terminal device carries out alignment processing in response to different drag operations (such as step
S102, step S103, step S104-S105) it is independent from each other step, it is executed according to the sequencing that drag operation occurs,
There is no permanent order between the execution of the drag operation of different operation type.
The embodiment of the present invention is by being encapsulated as first message child control and second message for the message control of solicitation message
Control two parts, and corresponding different types of drag operation is set for the different types of operation processing of solicitation message, it is different
The drag operation of type by dragging object (first message child control or second message child control), drag direction and dragging away from
From distinguishing, in response to different types of drag operation, the operation processing of corresponding types is executed to solicitation message, is realized logical
It crosses and different types of drag operation is directly carried out to solicitation message, to complete the operation processing to solicitation message respective type, letter
User's operation step is changed, has improved operating efficiency, and without showing the corresponding UI element of all types of operation processings, has avoided
The corresponding UI element of operation processing occupies screen space, substantially increases the utilization rate of screen space.
Embodiment three
Figure 13 is the structural schematic diagram for the solicitation message processing unit that the embodiment of the present invention three provides.The embodiment of the present invention mentions
The process flow that the solicitation message processing unit of confession can be provided with application for execution message treatment method embodiment.As shown in figure 13,
This application message processing apparatus 120 includes: message control processing module 1201 and processing execution module 1202.
Specifically, message control processing module 1201, for receiving default solicitation message, and it is raw according to default solicitation message
At corresponding message control, message control includes first message child control and second message child control.
Execution module 1202 is handled to be used in response to pulling along the first of the first preset direction to first message child control
Operation, the first dragging distance of detection first message child control, if the first dragging distance, which is greater than first, pulls threshold value, execution and Shen
Please the corresponding refusal operation processing of message, and in the first preset time remove message control.
Processing execution module 1202 is also used to: in response to dragging along the second of the second preset direction to second message child control
Drag operation, the second of detection second message child control pulls distance, if second pulls distance and is greater than second and pull threshold value, execute with
Solicitation message is corresponding to receive operation processing, and message control is removed in the second preset time.
Device provided in an embodiment of the present invention can be specifically used for executing embodiment of the method provided by above-described embodiment one,
Details are not described herein again for concrete function.
The embodiment of the present invention is by being encapsulated as first message child control and second message for the message control of solicitation message
Control two parts, and corresponding different types of drag operation is set for the different types of operation processing of solicitation message, it is different
The drag operation of type by dragging object (first message child control or second message child control), drag direction and dragging away from
From distinguishing, in response to different types of drag operation, the operation processing of corresponding types is executed to solicitation message, is realized logical
It crosses and different types of drag operation is directly carried out to solicitation message, to complete the operation processing to solicitation message respective type, letter
User's operation step is changed, has improved operating efficiency, and without showing the corresponding UI element of all types of operation processings, has avoided
The corresponding UI element of operation processing occupies screen space, substantially increases the utilization rate of screen space.
Example IV
On the basis of above-described embodiment three, in the present embodiment, processing execution module 1202 is also used to: in response to second
The third of the third drag operation along the first preset direction of message child control, detection second message child control pulls distance, if
Third pulls distance and is greater than third dragging threshold value, hides at least part of second message child control.
In the present embodiment, second message child control is located in the preset range of first message child control, first message sub- control
First message comprising default solicitation message in part describes, the second message comprising default solicitation message in second message child control
Description.
Initiator information of the first message description comprising default solicitation message, second message description include default solicitation message
Additional information.
Optionally, processing execution module 1202 is also used to:
In response to the expansion operation to message control, expansion display second message child control.
Optionally, processing execution module 1202 is also used to:
In response to the third drag operation along the first preset direction to second message child control, in first message child control
It shows and hides prompt information, hide prompt information for prompting current drag operation that will hide at least part of second message
Control;After the third of detection second message child control pulls distance, if third pulls distance and drags less than or equal to third
Threshold value is dragged, cancels and shows hiding prompt information.
Optionally, processing execution module 1202 is also used to:
In response to the second drag operation along the second preset direction to second message child control, in first message child control
Display receives operation prompt information, receives operation prompt information for prompting currently carrying out receiving processing operation;
After the second of detection second message child control pulls distance, if the second dragging distance is less than or equal to second
Threshold value is pulled, cancels display and receives operation prompt information.
Device provided in an embodiment of the present invention can be specifically used for executing embodiment of the method provided by above-described embodiment two,
Details are not described herein again for concrete function.
The embodiment of the present invention is by being encapsulated as first message child control and second message for the message control of solicitation message
Control two parts, and corresponding different types of drag operation is set for the different types of operation processing of solicitation message, it is different
The drag operation of type by dragging object (first message child control or second message child control), drag direction and dragging away from
From distinguishing, in response to different types of drag operation, the operation processing of corresponding types is executed to solicitation message, is realized logical
It crosses and different types of drag operation is directly carried out to solicitation message, to complete the operation processing to solicitation message respective type, letter
User's operation step is changed, has improved operating efficiency, and without showing the corresponding UI element of all types of operation processings, has avoided
The corresponding UI element of operation processing occupies screen space, substantially increases the utilization rate of screen space.
Embodiment five
Figure 14 is the structural schematic diagram for the solicitation message processing equipment that the embodiment of the present invention five provides.As shown in figure 14, should
Equipment 140 includes: processor 1401, memory 1402, and is stored on memory 1402 and can be executed by processor 1401
Computer program.
Processor 1401 realizes that any of the above-described method is implemented when executing and storing in the computer program on memory 1402
The solicitation message processing method that example provides.
The embodiment of the present invention is by being encapsulated as first message child control and second message for the message control of solicitation message
Control two parts, and corresponding different types of drag operation is set for the different types of operation processing of solicitation message, it is different
The drag operation of type by dragging object (first message child control or second message child control), drag direction and dragging away from
From distinguishing, in response to different types of drag operation, the operation processing of corresponding types is executed to solicitation message, is realized logical
It crosses and different types of drag operation is directly carried out to solicitation message, to complete the operation processing to solicitation message respective type, letter
User's operation step is changed, has improved operating efficiency, and without showing the corresponding UI element of all types of operation processings, has avoided
The corresponding UI element of operation processing occupies screen space, substantially increases the utilization rate of screen space.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored with computer program, the meter
Calculation machine program realizes the solicitation message processing method that any of the above-described embodiment of the method provides when being executed by processor.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claims are pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claims
System.
Claims (10)
1. a kind of solicitation message processing method characterized by comprising
Default solicitation message is received, and corresponding message control, the message control packet are generated according to the default solicitation message
Child control containing first message and second message child control;
In response to the first drag operation along the first preset direction to the first message child control, the first message is detected
The first of child control pulls distance, if described first pulls distance greater than the first dragging threshold value, executes and the solicitation message pair
The refusal operation processing answered, and the message control is removed in the first preset time;
In response to the second drag operation along the second preset direction to the second message child control, the second message is detected
The second of child control pulls distance, if described second pulls distance greater than the second dragging threshold value, executes and the solicitation message pair
That answers receives operation processing, and the message control is removed in the second preset time.
2. the method according to claim 1, wherein the method also includes:
In response to the third drag operation along the first preset direction to the second message child control, the second message is detected
The third of child control pulls distance, is greater than third if the third pulls distance and pulls threshold value, hides at least part of described the
Two message child controls.
3. the method according to claim 1, wherein the second message child control is located at first message
In the preset range of control, the first message in the first message child control comprising the default solicitation message is described, described
Second message in second message child control comprising the default solicitation message describes.
4. according to the method described in claim 3, it is characterized in that, first message description includes the default solicitation message
Initiator information, second message description includes the additional information of the default solicitation message.
5. according to the method described in claim 2, it is characterized in that, described hide at least part of second message child control
Later, further includes:
In response to the expansion operation to the message control, expansion shows the second message child control.
6. method according to claim 2 or 5, which is characterized in that the method also includes:
In response to the third drag operation along the first preset direction to the second message child control, in first message
Control, which is shown, hides prompt information, and the hiding prompt information is for prompting current drag operation that will hide at least part of institute
State second message child control;
After the third for detecting the second message child control pulls distance, if the third pulls distance and is less than or equal to
The third pulls threshold value, cancels and shows the hiding prompt information.
7. the method according to claim 1, wherein the method also includes:
In response to the second drag operation along the second preset direction to the second message child control, in first message
Control, which is shown, receives operation prompt information, and the operation prompt information that receives currently is carrying out receiving handling behaviour for prompting
Make;
After detect the second message child control second pulls distance, if the second dragging distance is less than or equal to
Described second pulls threshold value, and cancellation display is described to receive operation prompt information.
8. a kind of solicitation message processing unit characterized by comprising
Message control processing module generates corresponding disappear for receiving default solicitation message, and according to the default solicitation message
Control is ceased, the message control includes first message child control and second message child control;
Execution module is handled, in response to grasping to pulling along the first of the first preset direction for the first message child control
Make, detect the first message child control first pulls distance, if described first pulls apart from threshold value is pulled greater than first, holds
Row refusal operation processing corresponding with the solicitation message, and the message control is removed in the first preset time;
The processing execution module is also used to: in response to dragging along the second of the second preset direction to the second message child control
Operation is dragged, detect the second message child control second pulls distance, if described second pulls distance greater than the second dragging threshold
Value, execution is corresponding with the solicitation message to receive operation processing, and the message control is removed in the second preset time.
9. a kind of solicitation message processing equipment characterized by comprising
Memory, processor, and it is stored in the computer program that can be run on the memory and on the processor,
The processor realizes such as method of any of claims 1-7 when running the computer program.
10. a kind of computer readable storage medium, which is characterized in that it is stored with computer program,
Such as method of any of claims 1-7 is realized when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910320143.3A CN110045901B (en) | 2019-04-19 | 2019-04-19 | Application message processing method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910320143.3A CN110045901B (en) | 2019-04-19 | 2019-04-19 | Application message processing method, device, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110045901A true CN110045901A (en) | 2019-07-23 |
CN110045901B CN110045901B (en) | 2020-08-18 |
Family
ID=67278226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910320143.3A Active CN110045901B (en) | 2019-04-19 | 2019-04-19 | Application message processing method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110045901B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2120436A1 (en) * | 2008-05-13 | 2009-11-18 | HTC Corporation | Electronic device, incoming call answering and rejection method and digital data storage media |
CN103049272A (en) * | 2012-12-28 | 2013-04-17 | 北京新媒传信科技有限公司 | Method and device for dragging controls |
CN103685731A (en) * | 2013-11-15 | 2014-03-26 | 北京奇虎科技有限公司 | Message communication method and message communication client |
CN105488057A (en) * | 2014-09-17 | 2016-04-13 | 腾讯科技(深圳)有限公司 | Page element processing method and device |
CN106527936A (en) * | 2016-11-01 | 2017-03-22 | 北京奇虎科技有限公司 | Method and apparatus for performing interactive operation on Widget object of mobile terminal |
CN107015726A (en) * | 2017-02-07 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of multidate information methods of exhibiting and device |
CN107193479A (en) * | 2017-05-26 | 2017-09-22 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN107224720A (en) * | 2016-03-25 | 2017-10-03 | 网易(杭州)网络有限公司 | Method, device and the touch control device of towed management team |
CN107943376A (en) * | 2017-10-31 | 2018-04-20 | 浙江慧脑信息科技有限公司 | A kind of message object list display method |
CN108228025A (en) * | 2017-12-18 | 2018-06-29 | 广东欧珀移动通信有限公司 | message display method, device, mobile terminal and storage medium |
CN109117068A (en) * | 2016-05-18 | 2019-01-01 | 苹果公司 | Equipment, method and graphic user interface for messaging |
CN109240567A (en) * | 2018-08-06 | 2019-01-18 | 网易(杭州)网络有限公司 | A kind of information display method, device, storage medium and electronic device |
US20190073101A1 (en) * | 2017-09-07 | 2019-03-07 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for switching pages of applications in a terminal device |
-
2019
- 2019-04-19 CN CN201910320143.3A patent/CN110045901B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2120436A1 (en) * | 2008-05-13 | 2009-11-18 | HTC Corporation | Electronic device, incoming call answering and rejection method and digital data storage media |
CN103049272A (en) * | 2012-12-28 | 2013-04-17 | 北京新媒传信科技有限公司 | Method and device for dragging controls |
CN103685731A (en) * | 2013-11-15 | 2014-03-26 | 北京奇虎科技有限公司 | Message communication method and message communication client |
CN105488057A (en) * | 2014-09-17 | 2016-04-13 | 腾讯科技(深圳)有限公司 | Page element processing method and device |
CN107224720A (en) * | 2016-03-25 | 2017-10-03 | 网易(杭州)网络有限公司 | Method, device and the touch control device of towed management team |
CN109117068A (en) * | 2016-05-18 | 2019-01-01 | 苹果公司 | Equipment, method and graphic user interface for messaging |
CN106527936A (en) * | 2016-11-01 | 2017-03-22 | 北京奇虎科技有限公司 | Method and apparatus for performing interactive operation on Widget object of mobile terminal |
CN107015726A (en) * | 2017-02-07 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of multidate information methods of exhibiting and device |
CN107193479A (en) * | 2017-05-26 | 2017-09-22 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
US20190073101A1 (en) * | 2017-09-07 | 2019-03-07 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for switching pages of applications in a terminal device |
CN107943376A (en) * | 2017-10-31 | 2018-04-20 | 浙江慧脑信息科技有限公司 | A kind of message object list display method |
CN108228025A (en) * | 2017-12-18 | 2018-06-29 | 广东欧珀移动通信有限公司 | message display method, device, mobile terminal and storage medium |
CN109240567A (en) * | 2018-08-06 | 2019-01-18 | 网易(杭州)网络有限公司 | A kind of information display method, device, storage medium and electronic device |
Non-Patent Citations (2)
Title |
---|
SÉRGIO VALÉRIO,ET AL.: "Second Life Information Desk System Using Instant Messaging and Short Messaging Service Technologies", 《2009 CONFERENCE IN GAMES AND VIRTUAL WORLDS FOR SERIOUS APPLICATIONS》 * |
曾小娟: "基于Android平台的即时通信系统的客户端软件设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110045901B (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11250660B2 (en) | Graphical user interface for a gaming system | |
US10268353B2 (en) | Method and apparatus for processing dockbar and storage medium | |
KR20210132175A (en) | Method for controlling virtual objects, and related apparatus | |
CN107551537A (en) | The control method and device of virtual role, storage medium, electronic equipment in a kind of game | |
CN109165076A (en) | Display methods, device, terminal and the storage medium of game application | |
CN110302530B (en) | Virtual unit control method, device, electronic equipment and storage medium | |
WO2012088665A1 (en) | Method and mobile terminal for processing contacts | |
JP7137719B2 (en) | Virtual object selection method, device, terminal and program | |
CN108176049A (en) | A kind of information cuing method, device, terminal and computer readable storage medium | |
KR20140135276A (en) | Method and Apparatus for processing a gesture input on a game screen | |
WO2023138192A1 (en) | Method for controlling virtual object to pick up virtual prop, and terminal and storage medium | |
CN101808702A (en) | Instruction content decision device, instruction content decision method, information recording medium, and program | |
CN109240573A (en) | A kind of folder management method thereof, terminal device and computer readable storage medium | |
CN106896998A (en) | A kind of processing method and processing device of operation object | |
CN114782605A (en) | Rendering method and device of hair virtual model, computer equipment and storage medium | |
CN110045901A (en) | Solicitation message processing method, device, equipment and computer readable storage medium | |
CN106484235B (en) | A kind of self-defined method and apparatus that game operation interface is set | |
CN113694530A (en) | Virtual character movement control method and device, electronic equipment and storage medium | |
CN107831964A (en) | A kind of method of applications trigger, terminal device and computer-readable medium | |
CN115212556A (en) | Method, device, equipment and storage medium for interacting with virtual object | |
CN107577391A (en) | The method, apparatus and terminal device of a kind of Cipher Processing | |
CN105327510A (en) | Partner formation operation control method |
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 |