CN106330672B - Instant messaging method and system - Google Patents

Instant messaging method and system Download PDF

Info

Publication number
CN106330672B
CN106330672B CN201610704054.5A CN201610704054A CN106330672B CN 106330672 B CN106330672 B CN 106330672B CN 201610704054 A CN201610704054 A CN 201610704054A CN 106330672 B CN106330672 B CN 106330672B
Authority
CN
China
Prior art keywords
action
character
target
display instruction
target virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610704054.5A
Other languages
Chinese (zh)
Other versions
CN106330672A (en
Inventor
肖笛
吴炎
罗君
李桃顺
叶永青
谢建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610704054.5A priority Critical patent/CN106330672B/en
Publication of CN106330672A publication Critical patent/CN106330672A/en
Application granted granted Critical
Publication of CN106330672B publication Critical patent/CN106330672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an instant messaging method and system, and belongs to the technical field of networks. The method comprises the following steps: acquiring a character display instruction and an action display instruction, and determining a target user in the current users carrying out instant messaging; acquiring an identifier of a target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information; generating a target virtual character animation according to the identification of the target virtual character, the action identification and the character display instruction; and displaying the target virtual character animation, wherein in the displaying process, the character slice displays the command action based on the action. The character slice is used as a prop of the target virtual character and is integrated with the target virtual character, and the character information can synchronously act with the action of the virtual image, so that the action of the virtual image and the characters are organically integrated, and the interest of instant communication interaction is enhanced.

Description

Instant messaging method and system
Technical Field
The invention relates to the technical field of internet, in particular to an instant messaging method and system.
Background
With the development of network technology, instant messaging software, such as QQ, MSN, etc., has become more and more common in people's daily life. When the users use the software, in order to increase the flexibility of communication and to express their own emotions more accurately, it is often necessary to show some virtual character actions during communication, for example, kneeling and asking for a red envelope, relatives, etc., to express special meanings and enrich communication contents.
In the related art, a user wants to input text information while inputting a virtual character action, but at present, in an instant messaging application, text information transmitted by the user generally appears in the form of a chat bubble, and the chat bubble is generally expressed by using a UI control. Although the user can show the virtual image and the characters in the chat process, the bubbles and the actions of the virtual image cannot be combined more vividly, for example, when a person jumps and bends, the bubbles generated by the UI control cannot move along with the virtual image, and the interestingness of interaction is reduced.
Disclosure of Invention
In view of the above, the present invention provides an instant messaging method, which fuses the text information as a skeletal prop to the skeleton of the virtual image, so that the text information and the virtual image are organically fused together, thereby improving the interest of interaction.
The invention is realized in such a way that an instant messaging method comprises the following steps:
acquiring a character display instruction and an action display instruction, and acquiring an action identifier corresponding to the action display instruction and character information corresponding to the character display instruction;
determining a target user in the current users carrying out instant messaging according to the action display instruction and the character display instruction;
acquiring an identifier of a target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information;
generating a target virtual character animation according to the identification of the target virtual character, the action identification and the character display instruction;
and displaying the target virtual character animation, wherein in the displaying process, the character slice displays the command action based on the action.
The invention also provides an instant communication system, comprising:
the first acquisition module is used for acquiring a character display instruction and an action display instruction, and acquiring an action identifier corresponding to the action display instruction and character information corresponding to the character display instruction;
the determining module is used for determining a target user from the users currently carrying out instant messaging according to the action display instruction and the character display instruction;
the second acquisition module is used for acquiring the identifier of the target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information;
the animation generation module is used for generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character;
and the display module is used for displaying the target virtual character animation, and in the display process, the character slice displays the command action based on the action.
The implementation of the invention has the following beneficial effects:
acquiring a character display instruction and an action display instruction aiming at a target virtual role through an instant messaging client, and then acquiring an identifier of the target virtual role corresponding to a target user; the identification of the target virtual role corresponds to a target user in the users who currently carry out instant messaging, and the target virtual role comprises at least one text slice for displaying text information; generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character; the instant messaging client displays the target virtual character animation, and in the display process, the character slice displays the command action based on the action. The character slice is used as a prop of the target virtual character and is integrated with the target virtual character, and the character information can synchronously act with the action of the virtual image, so that the action of the virtual image and the characters are organically integrated, and the interest of instant communication interaction is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is an application scenario diagram of instant messaging according to an embodiment of the present invention.
Fig. 2 is a flowchart of an instant messaging method according to an embodiment of the present invention.
Fig. 3 is a flowchart of another instant messaging method according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating an action presentation option provided by an embodiment of the invention.
Fig. 5 is a schematic diagram of an avatar with text slices according to an embodiment of the present invention.
FIG. 6 is a flowchart of step 350 provided by an embodiment of the present invention.
Fig. 7 is a block diagram of a system provided by an embodiment of the invention.
Fig. 8 is a block diagram of an animation generation unit according to an embodiment of the present invention.
Fig. 9 is a block diagram of a terminal 900 provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Fig. 1 is an application scenario diagram of an instant messaging method according to an embodiment of the present invention. Referring to fig. 1, a user may need to express his/her own emotion by using instant messaging software to perform chat communication on a terminal, or the user may wish to increase the interest of the chat process, and may send an emoticon, etc., as shown in fig. 1. In the chat communication process, the user can send the emoticon and also can send the virtual character action, such as the QQ emoticon in fig. 1, so that the terminal where the user is in chat can display the virtual character action, thereby further increasing the interest of the chat process.
Fig. 2 is a flowchart illustrating an instant messaging method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 2, and includes the following steps:
step 210, obtaining a character display instruction and an action display instruction, and obtaining an action identifier corresponding to the action display instruction and character information corresponding to the character display instruction.
And step 220, determining a target user from the users currently performing instant messaging according to the action display instruction and the character display instruction.
Step 230, acquiring an identifier of a target virtual role corresponding to the target user; the target virtual character comprises at least one text slice, and the text slice is used for displaying the text information.
And 240, generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character.
And 250, displaying the target virtual character animation, wherein in the displaying process, the character slice displays the command action based on the action.
In summary, in the instant messaging method provided in this embodiment, after the text display instruction and the action display instruction for the target virtual character are obtained by the instant messaging client, the identifier of the target virtual character corresponding to the target user is obtained; the identification of the target virtual role corresponds to a target user in the users who currently carry out instant messaging, and the target virtual role comprises at least one text slice for displaying text information; generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character; the instant messaging client displays the target virtual character animation, and in the display process, the character slice displays the command action based on the action. The character slice is used as a prop of the target virtual character and is integrated with the target virtual character, and the character information can synchronously act with the action of the virtual image, so that the action of the virtual image and the characters are organically integrated, and the interest of instant communication interaction is enhanced.
Fig. 3 is a flow chart illustrating an instant messaging method according to an exemplary embodiment, as shown in fig. 3, the instant messaging method comprising the steps of:
and 310, the first terminal receives the character display instruction and the action display instruction.
In practical application, the first terminal may display a text information input window, such as a chat window, in the local instant messaging client, so as to facilitate a user to input text information. In practical application, the first terminal may display at least one action presentation option in the local instant messaging client, where each action presentation option corresponds to one virtual character action. In practical applications, a virtual character action may include two parts, namely a virtual character and an action, and the virtual character action refers to a certain action performed by a certain virtual character. In an embodiment of the present invention, as shown in fig. 4, the at least one action showing option 301 may be disposed in an instant messaging chat interface, which is not particularly limited by the present invention.
In order to increase richness and interest of instant messaging, a user may want to send a virtual character action, so that other users currently performing instant messaging can receive and view the virtual character action, at this time, the user may trigger any one of the action presentation options, after detecting a trigger operation on any one of the action presentation options, the first terminal receives an action presentation instruction, where the action presentation instruction is used to indicate a virtual character action corresponding to the triggered action presentation option, for example, as shown in fig. 4, a local user may trigger an "next-to-send" action presentation option, and after the local user triggers the "next-to-send" action presentation option, the first terminal receives an action presentation instruction, where the action presentation instruction is used to indicate the "next-to-send" virtual character action.
In order to further increase the richness and interest of instant communication, the virtual character action is sent, and simultaneously, the character information can be sent in cooperation with the action.
The step of obtaining the character display instruction comprises the following steps:
capturing character information input by a user and generating a character display instruction;
or when the text information input by the user is not captured, acquiring a preset text display instruction associated with the action display instruction.
The user can input characters in the input box and then click the actions, so that after the actions are sent, the playing of the actions is matched with the characters, and the user can carry any words which the user wants to say for any actions. For example, an action of a parent bite can be matched with "offend! "As shown in FIG. 5, it is also possible to match the action of the parent bite with" to perfume one! ".
If the user does not input characters in the input box and directly sends the actions, the system can preset characters for partial actions, the character content can be random, the background server can also carry out configuration, different characters can be matched according to different actions, and the randomness and the interestingness of the actions are improved.
It should be noted that the instant messaging client is installed in the first terminal, and the instant messaging client installed in the first terminal is a first instant messaging client described below.
And step 320, after receiving the action display instruction, the first terminal acquires an action identifier corresponding to the action display instruction and text information corresponding to the text display instruction.
Specifically, the action identifier corresponding to the action presentation instruction may indicate an identifier of a target action data set, where the identifier of the target action data set is used to uniquely indicate a target action data set, and the target action data set includes at least one piece of action data, where each piece of action data is used to indicate one or more parts of the virtual character to execute a specified action.
And step 330, the first terminal determines a target user from the current users performing instant messaging according to the action display instruction and the character display instruction.
In practical application, the virtual character included in the virtual character action that the user wants to send, that is, the virtual character action indicated by the action display instruction, may correspond to one or more users of the users currently performing instant messaging, so as to enhance the interest of the virtual character action, enhance the interactivity between the users performing instant messaging, and contribute to enhancing the stickiness of the users. For example, the virtual character corresponding to a certain user among the users currently performing instant messaging may be a cartoon lion wearing taekwondo clothing, and the virtual character action sent by the local user may include the cartoon lion, specifically, the cartoon lion holding up the upper limbs cheers. To achieve this, it is necessary to determine the target user and then determine the identification of the target virtual character to which the target user corresponds.
It should be noted that the above "user currently performing instant messaging" refers to the local user and the user currently performing instant messaging chat with the local user, or refers to the user in the instant messaging group where the local user is currently located.
It should be further noted that the local user refers to an instant messaging user corresponding to an instant messaging user account currently logged in the first terminal.
In the following, the present invention will briefly describe the technical process of step 330: specifically, the action presentation instruction may be used to indicate the number of target users, for example, as shown in fig. 4, the number of target users indicated by the action presentation instruction received by the first terminal after the local user triggers the "send-to-send" action presentation option is 2, and the number of target users indicated by the action presentation instruction received by the first terminal after the local user triggers the "left-right-hand" action option is 1. The number of the target users determined by the present invention may be equal to the number of the target users indicated by the action display instruction, and certainly, in some cases, the number of the determined target users may also be unequal to the number of the target users indicated by the action display instruction, which is not specifically limited by the present invention. The technical process of step 330 is slightly different according to the number of target users indicated by the action display instruction, and may be specifically divided into the following two types.
Firstly, when the action display instruction indicates that the number of the target users is 1, the first terminal determines the local user currently performing instant messaging as the target user.
It should be noted that, in an embodiment of the present invention, when the action display instruction indicates that the number of the target users is 1, the first terminal may further determine, according to a selection operation of a local user, any user of users currently performing instant messaging as the target user. Specifically, the first terminal may display user options, where the user options are options corresponding to users other than the local user in the users who are currently performing instant messaging, and when the first terminal detects a trigger operation on any user option in the user options, determine a user corresponding to the triggered user option as a target user.
Secondly, when the action display instruction indicates that the number of the target users is more than 1, the first terminal determines the number of the users currently performing instant messaging; when the number of the target users indicated by the action display instruction is equal to the number of the users performing instant messaging currently, the first terminal determines the users performing instant messaging currently as the target users; when the number of the target users indicated by the action display instruction is not equal to the number of the users performing instant messaging currently, the first terminal receives a user selection instruction, and determines the selected user indicated by the user selection instruction as the target user, wherein the selected user is a user in the users performing instant messaging currently.
As described above, when the action presentation instruction indicates that the number of the target users is greater than 1, there are two possibilities.
One possibility is that the number of the target users indicated by the action display instruction is equal to the number of the users performing instant messaging ahead, for example, the current local user performs instant messaging chat with the user a, at this time, the number of the users performing instant messaging ahead is 2, if the local user triggers the "send-to-send" action display option, the action display instruction received by the first terminal indicates that the number of the target users is 2, that is, the number of the target users indicated by the action display instruction is equal to the number of the users performing instant messaging ahead. In this case, the first terminal may determine the user who performs the instant messaging as the target user, that is, the local user and the a user in the above example as the target user.
Another possibility is that the number of the target users indicated by the action display instruction is not equal to the number of the users performing the current instant messaging, for example, the number of the users in the instant messaging group where the local user is currently located is 10, and if the local user triggers the "send-to-send" action display option, the number of the action display instructions received by the first terminal indicates that the number of the target users is 2, that is, the number of the target users indicated by the action display instruction is not equal to the number of the users performing the current instant messaging.
In this case, if the number of the target users indicated by the action display instruction is greater than the number of the users currently performing instant messaging, it is described that the virtual character included in the virtual character action indicated by the action display instruction cannot correspond to the users currently performing instant messaging one to one. At this time, the first terminal may display an error option for prompting the local user that the virtual character action indicated by the action presentation instruction is unavailable, and end the flow. Of course, in an embodiment of the present invention, at this time, the first terminal may also determine the user currently performing the instant messaging as the target user, so that the virtual role corresponding to the target user corresponds to a part of virtual roles included in the virtual role action indicated by the action presentation instruction, which is not specifically limited in the present invention.
If the number of the target users indicated by the action display instruction is smaller than the number of the users performing instant messaging before, it is indicated that the virtual role included in the virtual role action indicated by the action display instruction can be in one-to-one correspondence with a certain part of users performing instant messaging currently. At this time, the first terminal may present at least one user option, in an embodiment of the present invention, the at least one user option is an option corresponding to at least one user of the users performing instant messaging before, except for the local user, in another embodiment of the present invention, the user option is an option corresponding to at least one user of the users performing instant messaging before, after the first terminal detects a trigger operation on one or more user options of the at least one user option, a user selection instruction is received, the selected user indicated by the user selection instruction is a user corresponding to the triggered user option, and then the first terminal determines the selected user as a target user.
And 340, acquiring the identifier of the target virtual role corresponding to the target user.
The target virtual character comprises at least one text slice, and the text slice is used for displaying the text information.
Specifically, the target avatar further includes a plurality of skeletal parts including a head part, a left hair part, a right hair part, a front hair part, a rear hair part, an eye part, a glasses part, a mouth part, a head bag part, a back part, a right upper arm part, a right lower arm part, a left upper arm part, a left lower arm part, a belt part, a top-dressing prop part, a front trousers part, a left trousers part, a right trousers part, a skirt part, and a tail part.
As a preferred embodiment, the target virtual character further includes at least one bubble slice, the bubble slice is used for displaying a bubble picture, and the positions of the bubble slice and the character slice are fixed relatively.
Specifically, the bubble slice and the text slice may overlap, the text slice may be a transparent bitmap, and the bubble slice is a background picture.
And 350, the first terminal generates a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character.
The second terminal is any client that receives the target virtual role, that is, a terminal corresponding to any client in at least one client in the specified clients corresponding to the user currently performing instant messaging.
According to an alternative embodiment, as shown in fig. 6, step 350 comprises the following steps:
and step 610, the first terminal searches whether the animation corresponding to the identification and the action identification of the target virtual character is stored locally according to the identification and the action identification of the target virtual character.
And step 620, if yes, the first terminal extracts the stored animation.
Step 630, otherwise, the first terminal requests the server for the target action data set and the target virtual role.
Step 630 includes:
a first terminal sends an action display request to a server, wherein the action display request carries the identification of the target virtual role and the action identification, so that the server sends a target action data set corresponding to the action identification and the target virtual role to at least one client in clients corresponding to the users currently performing instant messaging;
the first terminal receives the target action data set and the target virtual role sent by the server;
the first terminal generates an animation according to the target action data set and the target virtual character;
and step 640, the first terminal loads the text information into the text slice of the animation to generate the target virtual character animation.
It should be noted that the target motion data set includes motion data of at least one bone part and motion data of at least one text slice. When the target avatar includes at least one bubble slice, the target motion data set further includes motion data of the bubble slice.
And step 360, the first terminal and the second terminal display the target virtual character animation, and in the display process, the character slice displays the command action based on the action.
In the display process, the target virtual role acts based on the target action data set; wherein the bone part acts based on the motion data of the bone part and the text slice acts based on the motion data of the text slice.
When the target virtual character comprises at least one bubble slice, displaying the animation of the target virtual character, and in the displaying process, displaying the command action based on the action by the character slice, wherein the displaying comprises the following steps:
and displaying the target virtual character animation, wherein in the displaying process, the character slice and the bubble slice display the command action based on the action.
Specifically, the text slice may be operated based on motion data of the text slice, and the bubble slice is operated based on motion data of the bubble slice.
As a preferred embodiment, displaying the target virtual character animation, wherein during the displaying process, the text slice and the bubble slice display the instruction action based on the action, including:
and displaying the target virtual character animation, wherein in the displaying process, the character slice and the bubble slice move, deform and change the transparency based on the action displaying instruction. For example, chat bubbles composed of text slices and bubble slices can show dynamic states such as fade-in and fade-out, small and large, and elastic animation.
Specifically, the motion data of the bubble slice further comprises state control data for controlling the shape and color change of the bubble slice, and the state control data is used for controlling the deformation and transparency change of the bubble slice.
In summary, after the instant messaging client obtains the text display instruction and the action display instruction for the target virtual character, the invention obtains the identifier of the target virtual character corresponding to the target user; the identification of the target virtual role corresponds to a target user in the users who currently carry out instant messaging, and the target virtual role comprises at least one text slice for displaying text information; generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character; the instant messaging client displays the target virtual character animation, and in the display process, the character slice displays the command action based on the action. The character slice is used as a prop of the target virtual character and is integrated with the target virtual character, and the character information can synchronously act with the action of the virtual image, so that the action of the virtual image and the characters are organically integrated, and the interest of instant communication interaction is enhanced.
Fig. 7 is a block diagram illustrating a system 700 for instant messaging in accordance with an exemplary embodiment. Referring to fig. 7, the system includes a first obtaining module 701, a determining module 702, a second obtaining module 703, an animation generating module 704, and a presentation module 705.
The first obtaining module 701 is configured to obtain a text display instruction and an action display instruction, and obtain an action identifier corresponding to the action display instruction and text information corresponding to the text display instruction;
a determining module 702, configured to determine a target user from users currently performing instant messaging according to the action display instruction and the text display instruction;
a second obtaining module 703, configured to obtain an identifier of a target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information;
an animation generation module 704, configured to generate a target virtual character animation according to the identifier of the target virtual character, the action identifier, and the text display instruction;
a display module 705, configured to display the target virtual character animation, where in the display process, the text slice displays an instruction action based on the action.
In one embodiment of the present invention, as shown in fig. 8, the animation generation module includes:
a searching unit 801, configured to search, according to the identifier and the action identifier of the target virtual character, whether an animation corresponding to the identifier and the action identifier of the target virtual character is stored locally, and if so, extract the stored animation;
a requesting unit 802, configured to send an action display request to a server, where the action display request carries an identifier of the target virtual role and the action identifier, so that the server sends a target action data set corresponding to the action identifier and the target virtual role to at least one client of clients corresponding to the current user performing instant messaging;
a receiving unit 803, configured to receive the target action data set and the target virtual character sent by the server;
a first synthesizing unit 804, configured to generate an animation according to the target motion data set and the target virtual character;
and a second synthesizing unit 805, configured to load the text information into a text slice of the animation, and generate the target virtual character animation.
In an embodiment of the present invention, the target virtual character further includes at least one bubble slice, the bubble slice is used for displaying a bubble picture, and the positions of the bubble slice and the character slice are relatively fixed;
the display module is used for displaying the target virtual character animation, and in the display process, the character slice and the bubble slice display the command action based on the action.
In an embodiment of the present invention, the obtaining module includes a text display instruction obtaining unit, configured to:
capturing character information input by a user and generating a character display instruction;
or when the text information input by the user is not captured, acquiring a preset text display instruction associated with the action display instruction.
In one embodiment of the invention, the presentation module is configured to:
and displaying the target virtual character animation, wherein in the displaying process, the character slice and the bubble slice move, deform and change the transparency based on the action displaying instruction.
In one embodiment of the invention, the text display instruction and the action display instruction are also used for indicating the number of target users,
the determining a target user in the current users performing instant messaging according to the character display instruction and the action display instruction comprises the following steps:
when the number of the target users indicated by the character display instruction and the action display instruction is 1, determining a local user currently performing instant messaging as the target user;
when the character display instruction and the action display instruction indicate that the number of the target users is more than 1, determining the number of the users currently performing instant messaging;
when the number of the target users indicated by the character display instruction and the action display instruction is equal to the number of the users currently performing instant messaging, determining the users currently performing instant messaging as the target users;
and when the number of the target users indicated by the character display instruction and the action display instruction is not equal to the number of the users currently performing instant messaging, receiving a user selection instruction, and determining the selected user indicated by the user selection instruction as the target user, wherein the selected user is one of the users currently performing instant messaging.
In one embodiment of the present invention, the target virtual character further comprises a plurality of bone parts, the target motion data set comprises motion data of at least one bone part and motion data of at least one text slice;
the display module is used for: displaying the target virtual character animation, wherein in the displaying process, the target virtual character acts based on the target action data set; wherein the bone part acts based on the motion data of the bone part and the text slice acts based on the motion data of the text slice.
In summary, the system of the present invention obtains the identifier of the target virtual character corresponding to the target user after obtaining the text display instruction and the action display instruction for the target virtual character through the instant messaging client; the identification of the target virtual role corresponds to a target user in the users who currently carry out instant messaging, and the target virtual role comprises at least one text slice for displaying text information; generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character; the instant messaging client displays the target virtual character animation, and in the display process, the character slice displays the command action based on the action. The character slice is used as a prop of the target virtual character and is integrated with the target virtual character, and the character information can synchronously act with the action of the virtual image, so that the action of the virtual image and the characters are organically integrated, and the interest of instant communication interaction is enhanced.
It should be noted that: in the instant messaging system provided in the above embodiment, when performing instant messaging, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to complete all or part of the above described functions. In addition, the instant messaging system and the instant messaging method provided by the above embodiments belong to the same concept, and the specific implementation process thereof is described in detail in the method embodiments and will not be described herein again.
The present embodiment provides a terminal, which can be used to execute the software testing method provided in the above embodiments. Referring to fig. 9, the terminal 900 includes:
the terminal 900 may include RF (Radio Frequency) circuitry 910, memory 920 including one or more computer-readable storage media, an input unit 930, a display unit 940, a sensor 950, audio circuitry 960, a WiFi (Wireless Fidelity) module 970, a processor 980 including one or more processing cores, and a power supply 90. Those skilled in the art will appreciate that the terminal structure shown in fig. 9 does not constitute a limitation of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 910 may be used for receiving and transmitting signals during a message or call, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 980, and for transmitting data relating to uplink to the base station.
The memory 920 may be used to store software programs and modules, and the processor 980 performs various functional applications and data processing by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 900, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 920 may also include a memory controller to provide the processor 980 and the input unit 930 with access to the memory 920.
The input unit 930 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may include a touch-sensitive surface 931 as well as other input devices 932. The touch-sensitive surface 931, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 931 (e.g., operations by a user on or near the touch-sensitive surface 931 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connecting device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch sensitive surface 931 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 930 may also include other input devices 932 in addition to the touch-sensitive surface 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 940 may be used to Display information input by or provided to a user, as well as various graphical user interfaces of terminal 900, which may be comprised of graphics, text, icons, video, and any combination thereof Display unit 940 may include a Display panel 941, which may optionally be configured in the form of L CD (L iquid Crystal Display ), O L ED (Organic L light-Emitting Diode), etc. further, touch sensitive surface 931 may overlay Display panel 941, and when touch sensitive surface 931 detects a touch operation on or near touch sensitive surface 931, communicate to processor 980 to determine the type of touch event, and processor 980 then provides a corresponding visual output on Display panel 941 depending on the type of touch event.
The terminal 900 can also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 941 and/or a backlight when the terminal 900 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 900, detailed descriptions thereof are omitted.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and terminal 900. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to another terminal via the RF circuit 910, or outputs the audio data to the memory 920 for further processing. The audio circuit 960 may also include an earbud jack to provide communication of peripheral headphones with the terminal 900.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 900 can help a user send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 970, which provides the user with wireless broadband internet access. Although fig. 9 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the terminal 900 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 900 and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Optionally, processor 980 may include one or more processing cores; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The terminal 900 also includes a power supply 90 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 980 via a power management system that provides management of charging, discharging, and power consumption. The power supply 90 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal 900 may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for: acquiring a character display instruction and an action display instruction, and acquiring an action identifier corresponding to the action display instruction and character information corresponding to the character display instruction; determining a target user in the current users carrying out instant messaging according to the action display instruction and the character display instruction; acquiring an identifier of a target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information; generating a target virtual character animation according to the identification of the target virtual character, the action identification and the character display instruction; and displaying the target virtual character animation, wherein in the displaying process, the character slice displays the command action based on the action.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (15)

1. An instant messaging method, comprising:
acquiring a character display instruction and an action display instruction, and acquiring an action identifier corresponding to the action display instruction and character information corresponding to the character display instruction;
determining a target user in the current users carrying out instant messaging according to the action display instruction and the character display instruction;
acquiring an identifier of a target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information; the text information and the corresponding part in the target virtual role have a binding relationship;
generating a target virtual character animation according to the identification of the target virtual character, the action identification and the character display instruction;
and displaying the target virtual character animation, wherein in the displaying process, the target virtual character executes a corresponding specified action based on at least one action data corresponding to the action identifier, and the character information displayed in the character slice acts synchronously with the part bound in the target virtual character based on the action displaying instruction.
2. The instant messaging method of claim 1, wherein the generating an animation of the target virtual character according to the identifier of the target virtual character, the action identifier and the text display instruction comprises:
searching whether the animation corresponding to the identification and the action identification of the target virtual character is stored locally according to the identification and the action identification of the target virtual character, and if so, extracting the stored animation;
otherwise, sending an action display request to a server, wherein the action display request carries the identifier of the target virtual role and the action identifier, so that the server sends a target action data set corresponding to the action identifier and the target virtual role to at least one client in the clients corresponding to the users currently performing instant messaging;
receiving the target action data set and the target virtual role sent by the server;
generating an animation according to the target action data set and the target virtual character;
and loading the character information into the character slice of the animation to generate the target virtual character animation.
3. The instant messaging method of claim 1, wherein the target avatar further comprises at least one bubble slice, the bubble slice is used for displaying a bubble picture, and the positions of the bubble slice and the text slice are fixed relatively;
and displaying the target virtual character animation, wherein in the display process, the character slice displays the instruction action based on the action, and the method comprises the following steps:
and displaying the target virtual character animation, wherein in the displaying process, the character slice and the bubble slice display the command action based on the action.
4. The instant messaging method of claim 1, wherein the obtaining the text display instruction comprises: capturing character information input by a user and generating a character display instruction;
or when the text information input by the user is not captured, acquiring a preset text display instruction associated with the action display instruction.
5. The instant messaging method of claim 3, wherein the target virtual character animation is presented, and during the presentation process, the text slice and the bubble slice present the command action based on the action, and the method comprises the following steps:
and displaying the target virtual character animation, wherein in the displaying process, the character slice and the bubble slice move, deform and change the transparency based on the action displaying instruction.
6. The instant messaging method according to claim 1, wherein the text display instruction and the action display instruction are further used to indicate the number of target users, and the determining a target user among users currently performing instant messaging according to the text display instruction and the action display instruction comprises:
when the number of the target users indicated by the character display instruction and the action display instruction is 1, determining a local user currently performing instant messaging as the target user;
when the character display instruction and the action display instruction indicate that the number of the target users is more than 1, determining the number of the users currently performing instant messaging;
when the number of the target users indicated by the character display instruction and the action display instruction is equal to the number of the users currently performing instant messaging, determining the users currently performing instant messaging as the target users;
and when the number of the target users indicated by the character display instruction and the action display instruction is not equal to the number of the users currently performing instant messaging, receiving a user selection instruction, and determining the selected user indicated by the user selection instruction as the target user, wherein the selected user is one of the users currently performing instant messaging.
7. The instant messaging method of claim 2, wherein the target virtual character further comprises a plurality of skeletal parts, the target action data set comprising action data of at least one skeletal part and action data of at least one text slice;
and displaying the target virtual character animation, wherein in the display process, the character slice displays the instruction action based on the action, and the method comprises the following steps:
displaying the target virtual character animation, wherein in the displaying process, the target virtual character acts based on the target action data set; wherein the bone part acts based on the motion data of the bone part and the text slice acts based on the motion data of the text slice.
8. An instant messaging system, the system comprising:
the first acquisition module is used for acquiring a character display instruction and an action display instruction, and acquiring an action identifier corresponding to the action display instruction and character information corresponding to the character display instruction;
the determining module is used for determining a target user from the users currently carrying out instant messaging according to the action display instruction and the character display instruction;
the second acquisition module is used for acquiring the identifier of the target virtual role corresponding to the target user; the target virtual role comprises at least one text slice, and the text slice is used for displaying the text information; the text information and the corresponding part in the target virtual role have a binding relationship;
the animation generation module is used for generating a target virtual character animation according to the identification, the action identification and the character display instruction of the target virtual character;
and the display module is used for displaying the target virtual character animation, in the display process, the target virtual character executes a corresponding specified action based on at least one action data corresponding to the action identifier, and the character information displayed in the character slice synchronously acts with the part bound in the target virtual character based on the action display instruction.
9. The instant messaging system of claim 8, wherein the animation generation module comprises:
the searching unit is used for searching whether the animation corresponding to the identification and the action identification of the target virtual character is stored locally or not according to the identification and the action identification of the target virtual character, and if so, extracting the stored animation;
a request unit, configured to send an action display request to a server, where the action display request carries an identifier of the target virtual role and the action identifier, so that the server sends a target action data set corresponding to the action identifier and the target virtual role to at least one client of clients corresponding to the current user performing instant messaging;
a receiving unit, configured to receive the target action data set and the target virtual role sent by the server;
a first synthesizing unit, configured to generate an animation according to the target motion data set and the target virtual character;
and the second synthesis unit is used for loading the character information into the character slice of the animation to generate the target virtual character animation.
10. The instant messaging system of claim 8, wherein the target avatar further comprises at least one bubble slice for displaying a bubble picture, the position of the bubble slice and the position of the text slice are fixed relative to each other;
the display module is used for displaying the target virtual character animation, and in the display process, the character slice and the bubble slice display the command action based on the action.
11. The instant messaging system of claim 8, wherein the obtaining module comprises a text display instruction obtaining unit configured to: capturing character information input by a user and generating a character display instruction;
or when the text information input by the user is not captured, acquiring a preset text display instruction associated with the action display instruction.
12. The instant messaging system of claim 10, wherein the presentation module is configured to:
and displaying the target virtual character animation, wherein in the displaying process, the character slice and the bubble slice move, deform and change the transparency based on the action displaying instruction.
13. The instant messaging system of claim 8, wherein the text display instructions and the action display instructions are further configured to indicate the number of target users, and the determining the target users among the users currently performing instant messaging according to the text display instructions and the action display instructions comprises:
when the number of the target users indicated by the character display instruction and the action display instruction is 1, determining a local user currently performing instant messaging as the target user;
when the character display instruction and the action display instruction indicate that the number of the target users is more than 1, determining the number of the users currently performing instant messaging;
when the number of the target users indicated by the character display instruction and the action display instruction is equal to the number of the users currently performing instant messaging, determining the users currently performing instant messaging as the target users;
and when the number of the target users indicated by the character display instruction and the action display instruction is not equal to the number of the users currently performing instant messaging, receiving a user selection instruction, and determining the selected user indicated by the user selection instruction as the target user, wherein the selected user is one of the users currently performing instant messaging.
14. The instant messaging system of claim 9, wherein the target avatar further comprises a plurality of skeletal parts, the target set of motion data comprising motion data for at least one skeletal part and motion data for at least one text slice;
the display module is used for: displaying the target virtual character animation, wherein in the displaying process, the target virtual character acts based on the target action data set; wherein the bone part acts based on the motion data of the bone part and the text slice acts based on the motion data of the text slice.
15. A computer-readable storage medium, in which a computer program is stored which, when executed, is adapted to implement the instant messaging method according to any one of claims 1 to 7.
CN201610704054.5A 2016-08-22 2016-08-22 Instant messaging method and system Active CN106330672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610704054.5A CN106330672B (en) 2016-08-22 2016-08-22 Instant messaging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610704054.5A CN106330672B (en) 2016-08-22 2016-08-22 Instant messaging method and system

Publications (2)

Publication Number Publication Date
CN106330672A CN106330672A (en) 2017-01-11
CN106330672B true CN106330672B (en) 2020-07-28

Family

ID=57741884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610704054.5A Active CN106330672B (en) 2016-08-22 2016-08-22 Instant messaging method and system

Country Status (1)

Country Link
CN (1) CN106330672B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109272565A (en) * 2017-07-18 2019-01-25 腾讯科技(深圳)有限公司 Animation playing method, device, storage medium and terminal
CN109598776A (en) * 2017-09-30 2019-04-09 腾讯科技(深圳)有限公司 A kind of cartoon implementing method, device, terminal and storage medium
CN110488973B (en) * 2019-07-23 2020-11-10 清华大学 Virtual interactive message leaving system and method
CN113209621B (en) * 2021-05-21 2023-07-25 珠海金山数字网络科技有限公司 Virtual character control method and device, computing equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068219A (en) * 2006-08-28 2007-11-07 腾讯科技(深圳)有限公司 User information revealing method and system
CN102176197A (en) * 2011-03-23 2011-09-07 上海那里网络科技有限公司 Method for performing real-time interaction by using virtual avatar and real-time image
CN104601437A (en) * 2014-04-30 2015-05-06 腾讯科技(深圳)有限公司 Chat information transmission method and device and chat information push method and server
CN104836726A (en) * 2015-04-01 2015-08-12 网易(杭州)网络有限公司 Method and device for displaying chatting emoticons
CN105099860A (en) * 2014-05-19 2015-11-25 腾讯科技(深圳)有限公司 Method and system for performing real-time interaction in instant messaging and client
KR101615848B1 (en) * 2015-01-19 2016-04-26 주식회사 엔씨소프트 Method and computer program of recommending dialogue sticker based on similar situation detection
CN105743769A (en) * 2014-12-25 2016-07-06 黄昱惟 Message image-text display method
CN105763431A (en) * 2016-05-06 2016-07-13 腾讯科技(深圳)有限公司 Information pushing method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150172246A1 (en) * 2013-12-13 2015-06-18 Piragash Velummylum Stickers for electronic messaging cards

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068219A (en) * 2006-08-28 2007-11-07 腾讯科技(深圳)有限公司 User information revealing method and system
CN102176197A (en) * 2011-03-23 2011-09-07 上海那里网络科技有限公司 Method for performing real-time interaction by using virtual avatar and real-time image
CN104601437A (en) * 2014-04-30 2015-05-06 腾讯科技(深圳)有限公司 Chat information transmission method and device and chat information push method and server
CN105099860A (en) * 2014-05-19 2015-11-25 腾讯科技(深圳)有限公司 Method and system for performing real-time interaction in instant messaging and client
CN105743769A (en) * 2014-12-25 2016-07-06 黄昱惟 Message image-text display method
KR101615848B1 (en) * 2015-01-19 2016-04-26 주식회사 엔씨소프트 Method and computer program of recommending dialogue sticker based on similar situation detection
CN104836726A (en) * 2015-04-01 2015-08-12 网易(杭州)网络有限公司 Method and device for displaying chatting emoticons
CN105763431A (en) * 2016-05-06 2016-07-13 腾讯科技(深圳)有限公司 Information pushing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《手Q厘米秀火爆内测大揭秘》;中新网;《https://haerbin.house.qq.com/a/20160325/050351.htm》;20160325;正文1-3页 *

Also Published As

Publication number Publication date
CN106330672A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN107741809B (en) Interaction method, terminal, server and system between virtual images
CN107479784B (en) Expression display method and device and computer readable storage medium
CN109905754B (en) Virtual gift receiving method and device and storage equipment
CN107370656B (en) Instant messaging method and device
CN108234276B (en) Method, terminal and system for interaction between virtual images
CN113965807B (en) Message pushing method, device, terminal, server and storage medium
CN111408136A (en) Game interaction control method, device and storage medium
WO2019029406A1 (en) Emoji displaying method and apparatus, computer readable storage medium, and terminal
JP7403648B2 (en) Synchronization method and electronic equipment
CN110673770B (en) Message display method and terminal equipment
CN106330672B (en) Instant messaging method and system
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN105630846B (en) Head portrait updating method and device
CN106792076B (en) Method, device and system for information display
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
CN108900407B (en) Method and device for managing session record and storage medium
WO2016119165A1 (en) Chat history display method and apparatus
CN109495638B (en) Information display method and terminal
CN109189303B (en) Text editing method and mobile terminal
CN110851745B (en) Information processing method, information processing device, storage medium and electronic equipment
CN106789556B (en) Expression generation method and device
CN113332719B (en) Virtual article marking method, device, terminal and storage medium
CN106302101B (en) Message reminding method, terminal and server
CN110300047B (en) Animation playing method and device and storage medium
CN105320532B (en) Method, device and terminal for displaying interactive interface

Legal Events

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