CN109787890B - Instant messaging method, device and storage medium - Google Patents
Instant messaging method, device and storage medium Download PDFInfo
- Publication number
- CN109787890B CN109787890B CN201910157591.6A CN201910157591A CN109787890B CN 109787890 B CN109787890 B CN 109787890B CN 201910157591 A CN201910157591 A CN 201910157591A CN 109787890 B CN109787890 B CN 109787890B
- Authority
- CN
- China
- Prior art keywords
- expression
- size
- instant messaging
- sent
- duration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000014509 gene expression Effects 0.000 claims abstract description 323
- 238000003825 pressing Methods 0.000 claims description 25
- 230000008859 change Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 abstract description 5
- 230000000977 initiatory effect Effects 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 12
- 238000007726 management method Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000008451 emotion Effects 0.000 description 3
- 230000002045 lasting effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application relates to an instant messaging method, an instant messaging device and a storage medium, wherein the instant messaging method comprises the following steps: receiving operation instructions acting on expressions to be sent, wherein different operation instructions are used for indicating that expressions with different sizes are sent; acquiring a first expression with a size matched with the operation instruction; and sending the first expression of the matched size. In the instant messaging method provided by the application, the user can send the first expression with the matched size to the opposite user only by executing the step of initiating the operation instruction, the process is simple, convenience is brought to the user, and therefore user experience is improved.
Description
Technical Field
The present application belongs to the field of computer software application, and in particular, to an instant messaging method, an instant messaging device and a storage medium.
Background
Instant Messaging (IM) refers to a service capable of sending and receiving internet information instantly, and includes communication tools such as email, short message, QQ, wechat, and the like. Through years of development, the basic functions of various communication tools tend to be stable at present, but competition among various manufacturers is far from ending, and research and development personnel put improvement points on user experience at present and improve the user experience through detail improvement so as to maintain the existing users and attract more users.
In this process, the inventors found that existing communication tools support sending expressions, such as emoji expressions and some dynamic expressions. However, the step of sending the expression is often cumbersome, and at least two steps are required. The first step is to select the emoticon button, and the second step is to select the emoticon. In the prior art, an optimization method is to put commonly used expressions of a user into a commonly used expression list, but two steps are still needed to send the expressions, which is complicated and obviously brings trouble to the user, so that the user experience is reduced. In addition, the expression size supported by the existing communication tools to be transmitted is often fixed, which is somewhat tedious and not vivid enough, thereby further reducing the user experience.
Disclosure of Invention
In order to solve the problems that the step of sending the expression is complicated and the sent expression size is fixed in the related technology, the application discloses an instant messaging method, an instant messaging device and a storage medium.
According to a first aspect of embodiments of the present application, there is provided an instant messaging method, including:
receiving operation instructions acting on expressions to be sent, wherein different operation instructions are used for indicating that expressions with different sizes are sent;
acquiring a first expression with a size matched with the operation instruction; and
and sending the first expression with the matched size.
Optionally, the receiving an operation instruction acting on an expression to be sent includes:
and receiving an operation instruction acting on a quick expression corresponding to the expression to be sent, wherein the quick expression is positioned on one side of the input box.
Optionally, receiving a shortcut expression switching operation of a user through an expression management interface to switch the displayed shortcut expression.
Optionally, the receiving an operation instruction acting on an expression to be sent includes:
receiving click operation acting on an expression to be sent;
further, the acquiring the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of a first size corresponding to the clicking operation.
Optionally, the receiving an operation instruction acting on an expression to be sent includes:
receiving long-press operation acting on the expression to be sent;
further, the acquiring the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of the matched size according to the duration length of the long pressing operation.
Optionally, the obtaining the first expression of the matched size according to the duration length of the long press operation includes:
when the duration of the long press operation reaches a first duration, acquiring the first expression of a second size;
when the duration of the long press operation reaches a second time length, acquiring the first expression of a third size; and
when the duration of the long press operation exceeds the second time length, waiting for receiving subsequent operation instructions,
wherein the second length of time is greater than the first length of time.
Optionally, the receiving an operation instruction acting on a quick expression corresponding to an expression to be sent includes:
receiving a long-press operation acting on the quick expression corresponding to the expression to be sent, then
And gradually changing the size of the quick expression according to the duration of the long pressing operation.
Optionally, the step-by-step change of the size of the quick expression according to the duration length of the long pressing operation includes:
the size of the quick expression is gradually changed from a first size to a second size within a first time length of the long press operation;
within a second time length of the long press operation, the size of the quick expression is gradually changed from a first size to a third size; and
when the duration time length of the long press operation exceeds the second time length, gradually changing the size of the shortcut expression from the third size to the first size;
wherein the second length of time is greater than the first length of time.
Optionally, the first size is an original size of the first expression, the third size is a maximum size of the first expression, the second size is larger than the first size and the second size is smaller than the third size.
According to a second aspect of the embodiments of the present application, there is provided an instant messaging device, including:
the operation instruction receiving unit is configured to receive operation instructions acting on expressions to be sent, and different operation instructions are used for instructing to send expressions of different sizes;
a first expression acquisition unit configured to acquire a first expression of a size matching the operation instruction; and
a transmitting unit configured to transmit the first expression of the matching size.
Optionally, the receiving an operation instruction acting on an expression to be sent includes:
and receiving an operation instruction acting on a quick expression corresponding to the expression to be sent, wherein the quick expression is positioned on one side of the input box.
Optionally, receiving a shortcut expression switching operation of a user through an expression management interface to switch the displayed shortcut expression.
Optionally, the receiving an operation instruction acting on an expression to be sent includes:
receiving click operation acting on an expression to be sent;
further, the acquiring the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of a first size corresponding to the clicking operation.
Optionally, the receiving an operation instruction acting on an expression to be sent includes:
receiving long-press operation acting on the expression to be sent;
further, the acquiring the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of the matched size according to the duration length of the long pressing operation.
Optionally, the obtaining the first expression of the matched size according to the duration length of the long press operation includes:
when the duration of the long press operation reaches a first duration, acquiring the first expression of a second size;
when the duration of the long press operation reaches a second time length, acquiring the first expression of a third size; and
when the duration of the long press operation exceeds the second time length, waiting for receiving subsequent operation instructions,
wherein the second length of time is greater than the first length of time.
Optionally, the receiving an operation instruction acting on a quick expression corresponding to an expression to be sent includes:
receiving a long-press operation acting on the quick expression corresponding to the expression to be sent, then
And gradually changing the size of the quick expression according to the duration of the long pressing operation.
Optionally, the step-by-step change of the size of the quick expression according to the duration length of the long pressing operation includes:
the size of the quick expression is gradually changed from a first size to a second size within a first time length of the long press operation;
within a second time length of the long press operation, the size of the quick expression is gradually changed from a first size to a third size; and
when the duration time length of the long press operation exceeds the second time length, gradually changing the size of the shortcut expression from the third size to the first size;
wherein the second length of time is greater than the first length of time.
Optionally, the first size is an original size of the first expression, the third size is a maximum size of the first expression, the second size is larger than the first size and the second size is smaller than the third size.
According to a third aspect of embodiments of the present application, there is provided an instant messaging control apparatus, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform any one of the instant messaging methods described above.
According to a fourth aspect of embodiments herein, there is provided a non-transitory computer readable storage medium having instructions stored thereon which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform an instant messaging method, the method comprising any one of the instant messaging methods described above.
According to a fifth aspect of embodiments herein, there is provided a computer program product comprising a computer program product, the computer program comprising program instructions which, when executed by a mobile terminal, cause the mobile terminal to perform the steps of instant messaging described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
(1) and receiving an operation instruction acting on the expression to be sent. Different operation instructions are used for instructing to send different sizes of expressions. And acquiring a first expression with the size matched with the operation instruction according to different operation instructions. A first expression of matching size is sent. The user can send the first expression with the size matched with the operation instruction to the opposite user only by executing the step of initiating the operation instruction, the process is simple, convenience is brought to the user, and therefore user experience is improved.
(2) And when the duration of the long press operation acting on the expression to be sent reaches the first time length, acquiring the first expression of the second size. And when the duration of the long pressing operation reaches the second time length, acquiring the first expression of the third size. And waiting to receive a subsequent operation instruction when the duration of the long press operation exceeds the second time length. In the duration of the long press operation acting on the expression to be sent, the first expression with the matched size is obtained according to the duration length of the long press operation, so that the size diversity of the sent first expression is improved, and the interestingness of sending the first expression by a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow chart illustrating a method of instant messaging according to an exemplary embodiment;
FIG. 2 is a block diagram illustrating an instant messaging system in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of instant messaging in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of instant messaging in accordance with an exemplary embodiment;
FIG. 5a is a diagram illustrating a quick emoticon of an instant messaging method according to an exemplary embodiment;
FIG. 5b is a diagram illustrating the repeating effect of a first emoticon of multiple sizes for an instant messaging method, according to an exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of instant messaging in accordance with an exemplary embodiment;
FIG. 7 is a block diagram of an instant messaging device shown in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for performing an instant messaging method in accordance with an exemplary embodiment;
fig. 9 is a block diagram illustrating an apparatus for performing an instant messaging method in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Fig. 1 is a flow chart illustrating a method of instant messaging according to an exemplary embodiment.
This method is exemplified below as applied to an instant messaging system. The instant communication system comprises a plurality of terminals, wherein each terminal runs an instant communication client, and the terminals can communicate with a server through the Internet. Specifically, referring to fig. 2, fig. 2 is a schematic structural diagram of an instant messaging system according to an exemplary embodiment, where the instant messaging system includes a first terminal 201, a server 202, and a second terminal 203, the first terminal 201 is a terminal that sends a first emotion, and the second terminal 203 is a terminal that receives the first emotion. The embodiment of the instant messaging method shown in fig. 1 describes the step of sending a first emotion, which is applied to the first terminal 201. The instant messaging method of fig. 1, comprising:
in step S101, receiving an operation instruction acting on an expression to be sent, where different operation instructions are used to instruct sending expressions of different sizes.
In this step, the first terminal 201 receives an operation instruction, which acts on an expression to be transmitted. Different operation instructions are used for instructing to send different sizes of expressions.
In step S102, a first expression of a size matching the operation instruction is acquired.
In this step, the first terminal 201 acquires a first expression having a size matched with the operation instruction according to a different operation instruction. It is understood that the first expression of a size matching the operation instruction may be acquired in real time or acquired in advance.
In step S103, the first expression of the matching size is sent.
In this step, the first terminal 201 transmits a first emoticon of a size matching the operation instruction to the server 202. The server 202 forwards it to the second terminal 203.
According to the embodiment of the application, an operation instruction acting on an expression to be sent is received. Different operation instructions are used for instructing to send different sizes of expressions. And acquiring a first expression with the size matched with the operation instruction according to different operation instructions. A first expression of matching size is sent. The user can send the first expression with the size matched with the operation instruction to the opposite user only by executing the step of initiating the operation instruction, the process is simple, convenience is brought to the user, and therefore user experience is improved.
Fig. 3 is a flow chart illustrating a method of instant messaging according to an exemplary embodiment. The method specifically comprises the following steps:
in step S301, a single click operation acting on an expression to be transmitted is received.
In this step, a click operation acting on an expression to be sent is received.
In step S302, the first expression of a first size corresponding to the single click operation is acquired.
In the step, according to the click operation acting on the expression to be sent, a first expression of a first size corresponding to the click operation is obtained. The first size is an original size of the first expression.
In step S303, the first expression of the matching size is sent.
In this step, a first expression of a first size is transmitted.
Fig. 4 is a flow chart illustrating a method of instant messaging according to an exemplary embodiment. The method specifically comprises the following steps:
in step S401, a long press operation acting on an expression to be transmitted is received.
In this step, a long press operation acting on an expression to be transmitted is received.
In step S402, a first expression of the matching size is obtained according to the duration of the long press operation.
In this step, a first expression of a matching size is acquired according to the duration of the long press operation acting on the expression to be transmitted. Wherein, the corresponding relation between the duration length of the long pressing operation and the acquired size of the first expression is preset.
Specifically, when the duration of the long press operation reaches a first duration, a first expression of a second size is acquired. And when the duration of the long pressing operation reaches the second time length, acquiring the first expression of the third size. And when the duration of the long press operation exceeds a second time length, waiting to receive a subsequent operation instruction, wherein the second time length is greater than the first time length. The first size is an original size of the first expression, the third size is a maximum size of the first expression, the second size is larger than the first size and the second size is smaller than the third size.
In step S403, the first expression of the matching size is transmitted.
In this step, the first expression of the matching size acquired in step S402 is transmitted.
According to the embodiment of the application, when the duration of the long press operation acting on the expression to be sent reaches the first duration, the first expression of the second size is obtained. And when the duration of the long pressing operation reaches the second time length, acquiring the first expression of the third size. And waiting to receive a subsequent operation instruction when the duration of the long press operation exceeds the second time length. In the duration of the long press operation acting on the expression to be sent, the first expression with the matched size is obtained according to the duration length of the long press operation, so that the size diversity of the sent first expression is improved, and the interestingness of sending the first expression by a user is improved.
Fig. 5a is a schematic diagram illustrating a quick emoticon of an instant messaging method according to an exemplary embodiment. As shown in fig. 5a, the quick expression 501 is located at the right side of the dialog box, and it is understood that the quick expression may be located at any side of the input box, and should not be taken as a limitation to the present technical solution. The quick expression 501 is a first size of a small bear expression, which is the same size as a normal emoji expression. The user may open the quick emoticon management interface by, for example, clicking the quick emoticon 501, and receive a quick emoticon switching operation of the user through the emoticon management interface, so as to switch the displayed quick emoticon, for example, switching a first-size small bear emoticon into a first-size heart-shaped emoticon.
Fig. 5b is a diagram illustrating the repeating effect of a first emoticon of multiple sizes according to an exemplary embodiment. The bear emoji emoticon 502, which is consistent in size with the normal emoji emoticon, is the first emoticon of the first size. The medium-sized small bear expression 503, which is larger than the normal emoji expression, is the first expression of the second size. The minimum bear expression 504 of the maximum size greater than the normal emoji expression is the first expression of the third size.
Fig. 6 is a flow chart illustrating a method of instant messaging according to an exemplary embodiment. The instant messaging method shown in fig. 6 is described in detail below with reference to fig. 5a and 5b, and specifically includes the following steps:
in step S601, an operation instruction acting on a shortcut expression corresponding to an expression to be sent is received.
In this step, an operation instruction acting on a quick expression corresponding to the expression to be sent is received. For example, an operation instruction acting on the shortcut expression 501 is received. The operation instruction comprises the following steps: clicking the quick expression corresponding to the expression to be sent and long-pressing the quick expression corresponding to the expression to be sent. Receiving an operation instruction acting on a quick expression corresponding to an expression to be sent, wherein the operation instruction comprises the following steps: the method comprises the steps of receiving click operation acting on a quick expression corresponding to an expression to be sent and receiving long-press operation acting on the quick expression corresponding to the expression to be sent.
In step S602, a first expression of a size matching the operation instruction is acquired.
In this step, if a click operation acting on a quick expression corresponding to an expression to be sent is received, a first expression of a first size corresponding to the click operation is acquired. The first size is an original size of the first expression.
And if the long-press operation acting on the quick expression corresponding to the expression to be sent is received, acquiring a first expression with a matched size according to the duration length of the long-press operation acting on the quick expression corresponding to the expression to be sent.
Specifically, when the duration of the long press operation reaches a first duration, a first expression of a second size is acquired. And when the duration of the long pressing operation reaches the second time length, acquiring the first expression of the third size. And when the duration of the long press operation exceeds a second time length, waiting to receive a subsequent operation instruction, wherein the second time length is greater than the first time length. The first size is an original size of the first expression, the third size is a maximum size of the first table, the second size is larger than the first size and the second size is smaller than the third size.
In step S603, if a long-press operation is received that acts on the quick expression corresponding to the expression to be sent, the size of the quick expression is gradually changed according to the duration of the long-press operation.
In this step, if a long-press operation acting on a quick expression corresponding to the expression to be sent is received, the size of the quick expression is gradually changed according to the duration length of the long-press operation.
Specifically, the size of the shortcut expression is gradually changed from the first size to the second size for a first length of time during which the long press operation lasts. And gradually changing the size of the shortcut expression from the first size to a third size within a second time length lasting the long-press operation. And when the duration time length of the long press operation exceeds the second time length, the size of the shortcut expression is gradually changed from the third size to the first size. Wherein the second time length is greater than the first time length. The first size is an original size of the first expression, the third size is a maximum size of the first table, the second size is larger than the first size and the second size is smaller than the third size.
For example, clicking on the shortcut emoticon 501 sends a bear emoticon 502 that is the same size as the normal emoji emoticon.
By long pressing the shortcut expression 501, the size of the shortcut expression 501 will automatically gradually increase from the size of the normal emoji expression. And when the size of the quick expression 501 is increased to the size shown by the small bear expression 503, stopping pressing the quick expression 501 for a long time, and sending the small bear expression 503 with a medium size.
If the shortcut emoticon 501 is pressed for a long time all the time, the long pressing of the shortcut emoticon 501 is stopped when the size of the shortcut emoticon 501 becomes larger to the size shown by the small bear emoticon 504, and the small bear emoticon 504 with the largest size is sent.
If the shortcut emoticon 501 is pressed for a long time without loosing hands, the size of the shortcut emoticon 501 is restored to the size of the normal emoji emoticon after exceeding the maximum size shown by the little bear emoticon 504. And according to the subsequently received operation instruction acting on the quick expression 501, a small bear expression with the size matched with the operation instruction is obtained, and then the small bear expression with the size matched with the operation instruction is sent.
In step S604, the first expression of the matching size is sent.
In this step, a first expression of a size matching the operation instruction is transmitted.
According to the embodiment of the application, the size of the shortcut expression is gradually changed from the first size to the second size within the first time length of the long press operation. And gradually changing the size of the shortcut expression from the first size to a third size within a second time length lasting the long-press operation. And when the duration time length of the long press operation exceeds the second time length, the size of the shortcut expression is gradually changed from the third size to the first size. And according to the duration of the long pressing operation, the size of the quick expression is gradually changed. The interactivity of the user sending the first expression is increased, and therefore the interestingness of the user sending the first expression is improved.
Fig. 7 is a block diagram illustrating an instant messaging method in accordance with an exemplary embodiment. As shown in fig. 7, the apparatus 70 includes: an operation instruction receiving unit 701, a first expression acquiring unit 702, and a transmitting unit 703.
An operation instruction receiving unit 701 configured to receive operation instructions acting on expressions to be transmitted, different operation instructions being used to instruct to transmit expressions of different sizes.
The unit is configured to receive an operation instruction that acts on an expression to be transmitted. Different operation instructions are used for instructing to send different sizes of expressions.
A first expression obtaining unit 702 configured to obtain a first expression of a size matching the operation instruction.
The unit is configured to acquire a first expression of a size matching an operation instruction according to a different operation instruction. It is understood that the first expression of a size matching the operation instruction may be acquired in real time or acquired in advance.
A transmitting unit 703 configured to transmit the first expression of the matching size.
The unit is configured to transmit a first expression of a size matching the operation instruction.
According to the embodiment of the application, the common expression is used as the quick expression. The user can send the first expression with the matched size to the opposite user only by executing the step of initiating the operation instruction, the process is simple, convenience is brought to the user, the speed of sending the common expression is improved, and therefore user experience is improved.
In an optional embodiment of the present application, an operation instruction acting on a quick expression corresponding to an expression to be sent is received. For example, an operation instruction acting on the shortcut expression 501 is received. The operation instruction comprises the following steps: clicking the quick expression corresponding to the expression to be sent and long-pressing the quick expression corresponding to the expression to be sent. Receiving an operation instruction acting on a quick expression corresponding to an expression to be sent, wherein the operation instruction comprises the following steps: the method comprises the steps of receiving click operation acting on a quick expression corresponding to an expression to be sent and receiving long-press operation acting on the quick expression corresponding to the expression to be sent.
And if the click operation acting on the quick expression corresponding to the expression to be sent is received, acquiring a first expression of a first size corresponding to the click operation. The first size is an original size of the first expression.
And if the long-press operation acting on the quick expression corresponding to the expression to be sent is received, acquiring a first expression with a matched size according to the duration length of the long-press operation acting on the quick expression corresponding to the expression to be sent.
Specifically, when the duration of the long press operation reaches a first duration, a first expression of a second size is acquired. And when the duration of the long pressing operation reaches the second time length, acquiring the first expression of the third size. And when the duration of the long press operation exceeds a second time length, waiting to receive a subsequent operation instruction, wherein the second time length is greater than the first time length. The first size is an original size of the first expression, the third size is a maximum size of the first table, the second size is larger than the first size and the second size is smaller than the third size.
And if a long-press operation acting on the quick expression corresponding to the expression to be sent is received, gradually changing the size of the quick expression according to the duration length of the long-press operation.
Specifically, the size of the shortcut expression is gradually changed from the first size to the second size for a first length of time during which the long press operation lasts. And gradually changing the size of the shortcut expression from the first size to a third size within a second time length lasting the long-press operation. And when the duration time length of the long press operation exceeds the second time length, the size of the shortcut expression is gradually changed from the third size to the first size. Wherein the second time length is greater than the first time length. The first size is an original size of the first expression, the third size is a maximum size of the first table, the second size is larger than the first size and the second size is smaller than the third size.
For example, clicking on the shortcut emoticon 501 sends a bear emoticon 502 that is the same size as the normal emoji emoticon.
By long pressing the shortcut expression 501, the size of the shortcut expression 501 will automatically gradually increase from the size of the normal emoji expression. And when the size of the quick expression 501 is increased to the size shown by the small bear expression 503, stopping pressing the quick expression 501 for a long time, and sending the small bear expression 503 with a medium size.
If the shortcut emoticon 501 is pressed for a long time all the time, the long pressing of the shortcut emoticon 501 is stopped when the size of the shortcut emoticon 501 becomes larger to the size shown by the small bear emoticon 504, and the small bear emoticon 504 with the largest size is sent.
If the shortcut emoticon 501 is pressed for a long time without loosing hands, the size of the shortcut emoticon 501 is restored to the size of the normal emoji emoticon after exceeding the maximum size shown by the little bear emoticon 504. And according to the subsequently received operation instruction acting on the quick expression 501, a small bear expression with the size matched with the operation instruction is obtained, and then the small bear expression with the size matched with the operation instruction is sent.
And sending a first expression with the size matched with the operation instruction.
According to the embodiment of the application, the size of the quick expression is controlled according to the time length of long-press quick expression. The method supports richer effect display, enriches expression social contact, activates the atmosphere of instant messaging and improves the user activity.
Fig. 8 is a block diagram illustrating an apparatus 1200 for performing an instant messaging method in accordance with an example embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, apparatus 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, and a communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the device 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, an orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program product, the computer program comprising program instructions that, when executed by a mobile terminal, cause the mobile terminal to perform the steps of the instant messaging described above: receiving operation instructions acting on expressions to be sent, wherein different operation instructions are used for indicating that expressions with different sizes are sent; acquiring a first expression with a size matched with the operation instruction; and sending the first expression of the matched size.
Fig. 9 is a block diagram illustrating an apparatus 1300 for performing an instant messaging method in accordance with an example embodiment. For example, the apparatus 1300 may be provided as a server. Referring to fig. 9, apparatus 1300 includes a processing component 1322, which further includes one or more processors, and memory resources, represented by memory 1332, for storing instructions, such as application programs, that may be executed by processing component 1322. The application programs stored in memory 1332 may include one or more modules that each correspond to a set of instructions. In addition, processing component 1322 is configured to execute instructions to perform the above-described information list display method.
The apparatus 1300 may also include a power component 1326 configured to perform power management for the apparatus 1300, a wired or wireless network interface 1350 configured to connect the apparatus 1300 to a network, and an input-output (I/O) interface 1358. The apparatus 1300 may operate based on an operating system stored in the memory 1332, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (20)
1. An instant messaging method, comprising:
receiving operation instructions acting on expressions to be sent, wherein different operation instructions are used for indicating that expressions with different sizes are sent;
acquiring a first expression with a size matched with the operation instruction; and
and sending the first expression with the matched size.
2. The instant messaging method according to claim 1, wherein the receiving of the operation instruction acting on the expression to be sent comprises:
and receiving an operation instruction acting on a quick expression corresponding to the expression to be sent, wherein the quick expression is positioned on one side of the input box.
3. The instant messaging method according to claim 2, wherein a shortcut emoticon switching operation of a user is received through an emoticon management interface to switch the displayed shortcut emoticon.
4. The instant messaging method according to claim 1, wherein the receiving of the operation instruction acting on the expression to be sent comprises:
receiving click operation acting on an expression to be sent;
the acquiring of the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of a first size corresponding to the clicking operation.
5. The instant messaging method according to claim 1, wherein the receiving of the operation instruction acting on the expression to be sent comprises:
receiving long-press operation acting on the expression to be sent;
the acquiring of the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of the matched size according to the duration length of the long pressing operation.
6. The instant messaging method of claim 5, wherein the obtaining the first expression of the matched size according to the duration length of the long press operation comprises:
when the duration of the long press operation reaches a first duration, acquiring the first expression of a second size;
when the duration of the long press operation reaches a second time length, acquiring the first expression of a third size; and
when the duration of the long press operation exceeds the second time length, waiting for receiving subsequent operation instructions,
wherein the second length of time is greater than the first length of time.
7. The instant messaging method according to claim 2, wherein the receiving of the operation instruction acting on the shortcut expression corresponding to the expression to be sent comprises:
receiving a long-press operation acting on the quick expression corresponding to the expression to be sent, then
And gradually changing the size of the quick expression according to the duration of the long pressing operation.
8. The instant messaging method of claim 7, wherein the step-by-step size change of the quick emoticon according to the duration of the long press operation comprises:
the size of the quick expression is gradually changed from a first size to a second size within a first time length of the long press operation;
within a second time length of the long press operation, the size of the quick expression is gradually changed from a first size to a third size; and
when the duration time length of the long press operation exceeds the second time length, gradually changing the size of the shortcut expression from the third size to the first size;
wherein the second length of time is greater than the first length of time.
9. The method of instant messaging according to claim 4 or 6 or 8, wherein the first size is an original size of the first emoticon, the third size is a maximum size of the first emoticon, the second size is larger than the first size and the second size is smaller than the third size.
10. An instant messaging device, comprising:
the operation instruction receiving unit is configured to receive operation instructions acting on expressions to be sent, and different operation instructions are used for instructing to send expressions of different sizes;
a first expression acquisition unit configured to acquire a first expression of a size matching the operation instruction; and
a transmitting unit configured to transmit the first expression of the matching size.
11. The instant messaging device according to claim 10, wherein the receiving of the operation instruction acting on the expression to be sent comprises:
and receiving an operation instruction acting on a quick expression corresponding to the expression to be sent, wherein the quick expression is positioned on one side of the input box.
12. The instant messaging device of claim 11, wherein a shortcut emoticon switching operation of a user is received through an emoticon management interface to switch the displayed shortcut emoticon.
13. The instant messaging device according to claim 10, wherein the receiving of the operation instruction acting on the expression to be sent comprises:
receiving click operation acting on an expression to be sent;
the acquiring of the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of a first size corresponding to the clicking operation.
14. The instant messaging device according to claim 10, wherein the receiving of the operation instruction acting on the expression to be sent comprises:
receiving long-press operation acting on the expression to be sent;
the acquiring of the first expression with the size matched with the operation instruction includes:
and acquiring the first expression of the matched size according to the duration length of the long pressing operation.
15. The instant messaging device of claim 14, wherein the obtaining the first expression of the matching size according to the duration length of the long press operation comprises:
when the duration of the long press operation reaches a first duration, acquiring the first expression of a second size;
when the duration of the long press operation reaches a second time length, acquiring the first expression of a third size; and
when the duration of the long press operation exceeds the second time length, waiting for receiving subsequent operation instructions,
wherein the second length of time is greater than the first length of time.
16. The instant messaging device according to claim 11, wherein the receiving of the operation instruction for the shortcut expression corresponding to the expression to be sent comprises:
receiving a long-press operation acting on the quick expression corresponding to the expression to be sent, then
And gradually changing the size of the quick expression according to the duration of the long pressing operation.
17. The instant messaging device of claim 16, wherein the step-by-step size change of the quick emoticon according to the duration of the long press operation comprises:
the size of the quick expression is gradually changed from a first size to a second size within a first time length of the long press operation;
within a second time length of the long press operation, the size of the quick expression is gradually changed from a first size to a third size; and
when the duration time length of the long press operation exceeds the second time length, gradually changing the size of the shortcut expression from the third size to the first size;
wherein the second length of time is greater than the first length of time.
18. The instant messaging device of claim 13 or 15 or 17 wherein the first size is an original size of the first expression, the third size is a maximum size of the first expression, the second size is larger than the first size and the second size is smaller than the third size.
19. An instant messaging control apparatus, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the instant messaging method of any of the preceding claims 1-9.
20. A non-transitory computer readable storage medium having instructions which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform an instant messaging method, the method comprising the instant messaging method of any of claims 1-9 above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910157591.6A CN109787890B (en) | 2019-03-01 | 2019-03-01 | Instant messaging method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910157591.6A CN109787890B (en) | 2019-03-01 | 2019-03-01 | Instant messaging method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109787890A CN109787890A (en) | 2019-05-21 |
CN109787890B true CN109787890B (en) | 2021-02-12 |
Family
ID=66486673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910157591.6A Active CN109787890B (en) | 2019-03-01 | 2019-03-01 | Instant messaging method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109787890B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464430B (en) * | 2020-04-09 | 2023-07-04 | 腾讯科技(深圳)有限公司 | Dynamic expression display method, dynamic expression creation method and device |
CN114546228B (en) * | 2020-11-12 | 2023-08-25 | 腾讯科技(深圳)有限公司 | Expression image sending method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033337A (en) * | 2015-03-13 | 2016-10-19 | 腾讯科技(深圳)有限公司 | Instant-messaging emoticon generating method and device |
CN107479784A (en) * | 2017-07-31 | 2017-12-15 | 腾讯科技(深圳)有限公司 | Expression methods of exhibiting, device and computer-readable recording medium |
CN107707451A (en) * | 2017-09-11 | 2018-02-16 | 广东欧珀移动通信有限公司 | Instant messaging method and device |
CN109388297A (en) * | 2017-08-10 | 2019-02-26 | 腾讯科技(深圳)有限公司 | Expression methods of exhibiting, device, computer readable storage medium and terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8762045B2 (en) * | 2009-07-27 | 2014-06-24 | Htc Corporation | Method for adjusting navigation frame, navigation apparatus and recording medium |
-
2019
- 2019-03-01 CN CN201910157591.6A patent/CN109787890B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033337A (en) * | 2015-03-13 | 2016-10-19 | 腾讯科技(深圳)有限公司 | Instant-messaging emoticon generating method and device |
CN107479784A (en) * | 2017-07-31 | 2017-12-15 | 腾讯科技(深圳)有限公司 | Expression methods of exhibiting, device and computer-readable recording medium |
CN109388297A (en) * | 2017-08-10 | 2019-02-26 | 腾讯科技(深圳)有限公司 | Expression methods of exhibiting, device, computer readable storage medium and terminal |
CN107707451A (en) * | 2017-09-11 | 2018-02-16 | 广东欧珀移动通信有限公司 | Instant messaging method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109787890A (en) | 2019-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3099042B1 (en) | Methods and devices for sending cloud card | |
CN105204846B (en) | Display methods, device and the terminal device of video pictures in more people's videos | |
CN109274510B (en) | Message processing method, device, client, server and storage medium | |
CN109521918B (en) | Information sharing method and device, electronic equipment and storage medium | |
CN109600303B (en) | Content sharing method and device and storage medium | |
EP2978202A1 (en) | Calling method, device and system | |
EP3223147A2 (en) | Method for accessing virtual desktop and mobile terminal | |
US11221634B2 (en) | Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control device | |
CN109451341B (en) | Video playing method, video playing device, electronic equipment and storage medium | |
CN106126025B (en) | Interactive method and device for copying and pasting | |
CN106506031B (en) | Adjust the method and device of talk back equipment frequency | |
CN113365153B (en) | Data sharing method and device, storage medium and electronic equipment | |
CN112905089B (en) | Equipment control method and device | |
CN110730954A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN112291631A (en) | Information acquisition method, device, terminal and storage medium | |
CN106375178B (en) | Message display method and device based on instant messaging | |
CN109302341B (en) | Instant messaging method, instant messaging device, electronic equipment and storage medium | |
CN112616053B (en) | Transcoding method and device for live video and electronic equipment | |
CN109787890B (en) | Instant messaging method, device and storage medium | |
CN113692067B (en) | Device connection method and device and readable storage medium | |
CN105227426B (en) | Application interface switching method and device and terminal equipment | |
CN106878654B (en) | Video communication method and device | |
CN106933111B (en) | Method and device for controlling equipment | |
EP3128722A1 (en) | File transmission method and apparatus, computer program and recording medium | |
CN107277422B (en) | Video call method, device and system |
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 |