CN109981446A - Information generating method, electronic equipment and computer-readable medium - Google Patents
Information generating method, electronic equipment and computer-readable medium Download PDFInfo
- Publication number
- CN109981446A CN109981446A CN201910207557.5A CN201910207557A CN109981446A CN 109981446 A CN109981446 A CN 109981446A CN 201910207557 A CN201910207557 A CN 201910207557A CN 109981446 A CN109981446 A CN 109981446A
- Authority
- CN
- China
- Prior art keywords
- input
- input state
- user
- information
- operating characteristics
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Embodiment of the disclosure discloses information generating method, electronic equipment and computer-readable medium.One specific embodiment of this method includes: to determine the operating characteristics of the input operation of target user in response to detecting that target user carries out input operation by terminal;Based on operating characteristics, input state corresponding with input operation is determined from a variety of input states, generates the instruction information of instruction input state;It will indicate that information is sent to and carry out the other users that chat interacts with target user.The embodiment can allow other users more accurately to understand the information input state of the interactive the other user of chat, be conducive to user and be adjusted based on the information input state of other side to chat content, improve user experience.
Description
Technical field
Embodiment of the disclosure is related to field of computer technology, and in particular to information generating method, electronic equipment and calculating
Machine readable medium.
Background technique
With the development of network technology, the function of the electronic equipments such as mobile phone, computer has also obtained great promotion.It is more
The terminal applies of sample bring great convenience for user.More and more users like all by what is installed in electronic equipment
Such as communication class is applied to other users and sends news in brief.
In the related technology, when user sends the information such as text, voice to other users by electronic equipment, information
The information of printed words such as " inputs " would generally be presented in the electronic equipment of receiving end, to prompt to receive the user the other user of information
Current input state.But there are still certain defects for the relevant technologies, such as in application scenes, when the electronic equipment of user
After the printed words for presenting " input ", the information of the other user's transmission is not received by the regular hour, usually makes letter
The user of breath receiving end feels confused.
Summary of the invention
The present disclosure proposes information generating method, electronic equipment and computer-readable mediums.
In a first aspect, embodiment of the disclosure provides a kind of information generating method, this method is applied to electronic equipment, should
Method includes: to determine the behaviour of the input operation of target user in response to detecting that target user carries out input operation by terminal
Make feature;Based on operating characteristics, input state corresponding with input operation is determined from a variety of input states, generates instruction input
The instruction information of state;It will indicate that information is sent to and carry out the other users that chat interacts with target user.
Second aspect, disclosure disclosed embodiment provide a kind of information generation device, the information generation device application
In electronic equipment, wherein the information generation device includes: the first determination unit, is configured in response to detect target user
Input operation is carried out by terminal, determines the operating characteristics of the input operation of target user;Second determination unit, is configured to base
In operating characteristics, input state corresponding with input operation is determined from a variety of input states, generates the finger of instruction input state
Show information;Transmission unit is configured to indicate that information is sent to and carries out the other users that chat interacts with target user.
In some embodiments, transmission unit is further configured to input state instruction information being sent to server-side,
So that input state instruction information is sent to by server-side carries out other ends that chat interacts with terminal used in target user
End.
In some embodiments, a variety of input states include following one: being used to indicate the first input shape of character input
State, the second input state for being used to indicate character adjustment are used to indicate third input state that content considers, are used to indicate pause
4th input state of input.
In some embodiments, operating characteristics include at least one of the following: the input time of the content being entered recently with
It is the number of duration, the character being input in default dialog box between current time, the frequency of user's editing character, two continuous
The difference of the number of characters inputted respectively in preset time period, wherein the latter preset time in continuous two preset time periods
Section is the preset time period for including current time, and difference is that the number of characters inputted in latter preset time period subtracts previous preset
The difference of the number of characters inputted in period.
In some embodiments, the second determination unit is further configured to: being input to default dialogue in response to detecting
The number of character in frame is greater than preset threshold;Or in response to detecting that difference is greater than preset threshold;It determines and is operated with input
Corresponding input state is the first input state.
In some embodiments, the second determination unit is further configured to: in response to detecting user's editing character
Frequency is greater than or equal to preset threshold, and the number for the character being input in default dialog box is less than preset threshold;Or response
In detect difference be equal to preset value;Determine that input state corresponding with input operation is the second input state.
In some embodiments, the second determination unit is further configured to: in response to detecting user's editing character
Frequency is less than preset threshold;Or in response to determining that difference is less than preset value;Determine that input state corresponding with input operation is
Third input state.
In some embodiments, the second determination unit is further configured to: in response in detecting and being entered recently
The input time of appearance and duration between current time are greater than preset duration, determine that input state corresponding with input operation is the
Four input states.
In some embodiments, electronic equipment further includes terminal and information generation device further include: display unit, quilt
It is configured to that input state instruction information is presented in the predetermined position of terminal interface.
The third aspect, disclosure disclosed embodiment provide a kind of information processing electronic apparatus, comprising: one or more
Processor;Storage device is stored thereon with one or more programs, when said one or multiple programs are by said one or multiple
Processor executes, so that the one or more processors realize the method such as any embodiment in first aspect.
Fourth aspect, disclosure disclosed embodiment provide a kind of information processing computer-readable medium, store thereon
There is computer program, the method such as any embodiment in first aspect is realized when which is executed by processor.
Information generating method, electronic equipment and the computer-readable medium that embodiment of the disclosure provides, are detecting mesh
After mark user carries out input operation by terminal, it can determine the input feature vector of target user, be then based on operating characteristics, determine
Input state corresponding with input operation, the instruction information for generating instruction input state, which is supplied to, carries out chat friendship with target user
Mutual other users, so that the information that other users can more accurately understand the other user of chat interaction is defeated
Enter state, be conducive to user and chat content is adjusted based on the information input state of other side, improves user experience.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the disclosure is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that some embodiments of the present disclosure can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the information generating method of the disclosure;
Fig. 3 is an application scenarios schematic diagram according to the dialog box of the disclosure;
Fig. 4 is the flow chart according to another embodiment of the information generating method of the disclosure;
Fig. 5 is the schematic diagram according to one embodiment of the information generation device of the disclosure;
Fig. 6 is adapted for the structural representation for the computer system for realizing the electronic equipment of some embodiments of the present disclosure
Figure.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the disclosure can phase
Mutually combination.The disclosure is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system architecture of the embodiment of the information generating method of embodiment of the disclosure
100。
As shown in Figure 1, system architecture 100 may include first terminal 101, second terminal 102, network 103,104, service
End 105.Medium of the network 103 to the offer communication link between first terminal 101, second terminal 102 and server-side 105,
Network 104 can wrap to provide the medium of communication link, network 103,104 between first terminal 101 and second terminal 102
Include various connection types, such as wired, wireless communication link or fiber optic cables etc..
First user can be used terminal 101 and be interacted by network 104 with terminal 102 used in second user,
To realize the communication between the first user and second user.Terminal 101 can be used in first user, second user can be used
Terminal 102 is interacted by network 103 with server-side 105, sends information etc. to receive.On first terminal 101, second terminal 102
Various telecommunication customer end applications, such as the application of web page browsing class, the application of shopping class, searching class application, mailbox visitor can be installed
Family end etc. is also equipped with various interactive class applications, such as the application of instant messaging tools, social category etc..
Herein, the first user and second user can good friends each other.First user can pass through instant messaging class application
It being communicated with second user, first terminal 101 can present the instruction information for being used to indicate the input state of second user,
Second terminal 102 can present the instruction information for being used to indicate the input state of the first user.
First terminal 101, second terminal 102 can be hardware, be also possible to software.When first terminal 101, second terminal
102 when being hardware, can be with display screen and support application installation and operation various electronic equipments, including it is but unlimited
In smart phone, tablet computer, pocket computer on knee and desktop computer etc..When first terminal 101, second terminal
102 when being software, may be mounted in above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into it
(such as providing the software of Distributed Services or software module), also may be implemented into single software or software module.Herein
It is not specifically limited.
Server-side 105, which can be, provides branch to such as social category application installed in first terminal 101, second terminal 102
The background server held.Message is sent when the first user is applied by the social category installed on first terminal 101 to second user
When, server-side 105 can forward the messages to the social category application installed in second terminal used in second user, to realize
Information exchange between first user and second user.
It should be noted that server-side 105 can be hardware, it is also possible to software.It, can when server-side 105 is hardware
To be implemented as the distributed server cluster that multiple servers form, individual server also may be implemented into.When server-side 105 is
When software, multiple softwares or software module (such as providing the software of Distributed Services or software module) may be implemented into,
Also single software or software module may be implemented into.It is not specifically limited herein.
It should be noted that information generating method provided by embodiment of the disclosure can be by first terminal 101 or the
Two terminals 102 execute, and can also be executed by server-side 105.
It should be understood that the number of terminal, network and server-side in Fig. 1 is only schematical.It, can according to needs are realized
With any number of terminal, network and server-side.
With continued reference to Fig. 2, the process 200 of one embodiment of the information generating method according to the disclosure is shown.The letter
Cease generation method, comprising the following steps:
Step 201, in response to detecting that target user carries out input operation by terminal, the input behaviour of target user is determined
The operating characteristics of work.
In the present embodiment, various communication social category client applications are usually mounted in terminal used by a user.It is logical
Often, the various communication classes that target user can be installed by it are applied and are interacted with other users.The other users are same
For the user for using application identical with target user.In general, the target user and the use communicated with target user are per family
For the registration user of its communication class application being used in conjunction with.When user is carried out by terminal to the interface that communication class application is presented
When input operation is to send information to the user for carrying out communication interaction with the target user, above-mentioned terminal can detecte the input
Operation.To which the executing subject (such as first terminal shown in FIG. 1 101 or server-side 105) of information generating method is responding
After detecting that target user carries out input operation by terminal, the operating characteristics of the input operation of target user can be determined.
Herein, input operation, which can be, is used to indicate user's utilization input method, microphone etc. into the application of above-mentioned communication class
The operation of the dialog box write-in information of presentation.Input operation can be the input operation of text information, can be voice messaging
Input operation.As an example, input operation for example can be to input when user carries out input operation by input method
It is used to indicate the click frequency in character input region in method keyboard (actual keyboard or dummy keyboard), can be to entering method keyboard
In be used to indicate delete character key click frequency, can be to be used to indicate in entering method keyboard determination be input to dialogue
The click frequency etc. of key in frame.
In the present embodiment, it is dynamic for operation performed by terminal to be used to indicate user for the operating characteristics of above-mentioned input operation
The feature of work.It can be previously stored with the input operation for characterizing user in above-mentioned executing subject and operated with each input
Mapping table between corresponding operating characteristics.After the input operation for detecting user, above-mentioned executing subject can be based on
The input of user operates, and inquires operating characteristics corresponding with input operation in above-mentioned mapping table.Herein, it is held when above-mentioned
When row main body is terminal, which can directly inquire operating characteristics based on input operation;When above-mentioned executing subject is service
When end, the input based on user can be operated and generate input operation information by terminal, be then sent to server-side, to take
Business end can determine operating characteristics based on input operation.
In some optional implementations, operating characteristics can specifically include at least one of following: be entered recently
The number of the input time of content and duration, the character being input in default dialog box between current time, user's edit word
The difference of the number of characters inputted respectively in the frequency of symbol, continuous two preset time periods, wherein continuous two preset times
The latter preset time period in section is the preset time period for including current time, and above-mentioned difference is defeated in latter preset time period
The number of characters entered subtracts the difference of the number of characters inputted in previous preset time period.
Step 202, operating characteristics are based on, input state corresponding with input operation is determined from a variety of input states, it is raw
At the instruction information of instruction input state.
In the present embodiment, it is also provided in above-mentioned executing subject for characterizing between operating characteristics and input state
Mapping table.Wherein, each input state can correspond to multiple operating characteristics.Then, above-mentioned executing subject can be selected
Input state corresponding with operating characteristics is selected out, to generate the instruction information of instruction input state.
In the present embodiment, above-mentioned a variety of input states can specifically include following one: be used to indicate character input
First input state, is used to indicate third input state, use that content is considered at the second input state for being used to indicate character adjustment
In the 4th input state of instruction halt input.
In some concrete implementations of this implementation, when the operating characteristics of user's output include being input in default dialog box
Character number and/or continuous two preset time periods in input respectively number of characters difference when, it is above-mentioned based on operation
Feature determines that input state corresponding with input operation may include: to be input in response to detecting from a variety of input states
The number of character in default dialog box is greater than preset threshold, alternatively, dividing in response to detecting in continuous two preset time periods
The difference for the number of characters not inputted is greater than preset threshold, can determine that input state corresponding with operation is inputted is the first input
State.
Specifically, above-mentioned default dialog box is target user and the dialog box that other users are communicated.Target user can
Information is written into the dialog box.As shown in figure 3, it illustrates the signals of the scene of the dialog box of one embodiment of the disclosure
Figure.Dialog box 31 includes that part 301 is presented in character input part 302 and dialogue.Dialog box 31 further includes " transmission " button 303.
In general, user needs the character input part 302 into dialog box 31 that information is written.After information is written, click " transmission "
Button 303, the user communicated with target user just can receive the information of target user's transmission.Target user is to character input
The operation that information is written in part 302 is to input operation.The character being input in default dialog box is to character input part
The character of 302 write-ins.
Herein, it can be previously provided in above-mentioned executing subject for determining the number of characters threshold being input in dialog box
Value.When the number for detecting the character being input in the default dialog box is greater than preset threshold, operation can be determined and inputted
Corresponding input state is to be used to indicate the first input state of character input.At this point, being used to indicate the first input of character input
The corresponding status information of state can be " actively in input ".
Herein, above-mentioned executing subject can also detect the number of characters inputted respectively in continuous two preset time periods
Difference.The latter preset time period in continuous two preset time periods is the preset time period for including current time, the difference
Value is the difference that the number of characters inputted in latter preset time period subtracts the number of characters inputted in previous preset time period.On
State the threshold value being also provided in executing subject for determining above-mentioned difference.When detecting that the difference is greater than preset threshold,
It can determine that input state corresponding with operation is inputted is the first input state.At this point, be used to indicate character input first is defeated
Entering the corresponding status information of state can be " actively in input ".
In some concrete implementations of this implementation, when the operating characteristics that user inputs operation include user's editing character
The number of characters inputted respectively in frequency, the number for the character being input in default dialog box and/or continuous two preset time periods
It is above-mentioned to be based on operating characteristics when purpose difference, determined from a variety of input states with input the corresponding input state of operation can be with
It include: and to be input in default dialog box in response to detecting that the frequency of user's editing character is greater than or equal to preset threshold
The number of character is less than preset threshold, alternatively, in response to detecting the number of characters inputted respectively in continuous two preset time periods
Purpose difference is equal to preset value, determines that input state corresponding with input operation is the second input state.
Specifically, the threshold value of the frequency of user's editing character can also be previously provided in above-mentioned executing subject.Herein,
The frequency of user's editing character may be, for example, the frequency that user utilizes keypad editor character.It also is that user's click is used to indicate word
Accord with the click frequency of input area.When the frequency for detecting user's editing character is greater than or equal to preset threshold, and it is input to pre-
If the number of the character in dialog box is less than preset threshold, illustrate that user adjusts inputted character repeatedly.For example, deleting
Except wrong word, word order etc. is adjusted.To which above-mentioned executing subject can determine and input operation when detecting the operating characteristics
Corresponding input state is the second input state for being used to indicate character adjustment.At this point, with being used to indicate the second of character adjustment
The corresponding status information of input state can be the information such as " adjusting character ", " adjusting word order ".
Herein, above-mentioned executing subject can also be by detecting the character inputted respectively in continuous two preset time periods
The input state that the difference of number is equal to preset threshold to determine user is the second input state for being used to indicate character adjustment.
In some concrete implementations of the present embodiment, when aforesaid operations feature include user's editing character frequency and/
Or the number of characters inputted respectively in continuous two preset time periods difference when, it is above-mentioned be based on operating characteristics, from a variety of inputs
Determine that input state corresponding with input operation may include: in response to detecting that the frequency of user's editing character is less than in state
Preset threshold, alternatively, in response to the number of characters inputted respectively in continuous two preset time periods of determination difference be less than it is default
Threshold value determines that input state corresponding with input operation is third input state.
Specifically, being said when above-mentioned executing subject detects the frequency of user's editing character more than or equal to preset threshold
Bright user is considering the content of the information to be replied.It, can be with to which, above-mentioned executing subject is when detecting the operating characteristics
Determine that input state corresponding with input operation is the second input state for being used to indicate content and considering.At this point, with being used to indicate
The corresponding status information of third input state that content is considered can be information such as " thinkings ".
Herein, above-mentioned executing subject can also be by detecting the character inputted respectively in continuous two preset time periods
It is the third input state for being used to indicate content and considering that the difference of number, which is less than preset threshold come the input state for determining user,.
In some concrete implementations of this implementation, when aforesaid operations feature includes the input for the content being entered recently
It is above-mentioned to be based on the operating characteristics when carving the duration between current time, it is determined and the input from a variety of input states
Operating corresponding input state includes: input time in response to detecting the content being entered recently and between current time
Duration is greater than preset duration, determines that input state corresponding with input operation is the 4th input state.4th input state is
Indicate the input state of halt input.
From in above-mentioned concrete implementation mode as can be seen that when operating characteristics only include in continuous two preset time periods point
When this operating characteristics of the difference for the number of characters not inputted, above-mentioned executing subject can be carried out the difference and preset threshold
Compare, based on comparative result, when the difference is less than preset threshold, determines that input state is to be used to indicate first inputted
Input state;When the difference is equal to preset threshold, determine that input state is the second input state for being used to indicate character adjustment;
When the difference is greater than preset threshold, determine that input state is the third input state for being used to indicate content and considering.
When operating characteristics only include that the number for the character being input in default dialog box and the frequency of user's editing character are somebody's turn to do
When two input feature vectors, equally can based on two operating characteristics determine with input state whether be the first input state,
Second input state or third input state.
In other words, for above-mentioned first input state, the second input state and third input state, each input state
Two different operating characteristics are corresponded to, namely can determine input state by two different operating characteristics.This
Sample one can be special using another operation when above-mentioned executing subject can be made to be not determined by one of state feature
Sign improves detection effect to determine input state.Meanwhile by utilizing two different operating characteristics, institute can be made
The determining input state gone out is more accurate, so that receiving party can accurately judge the operation of information sender
Behavior improves user experience.
Herein it is worth noting that, above-mentioned determined input state is to include in the preset time period of current time
Input state.The preset time period is usually shorter, thus, above-mentioned input state can be regarded as reality corresponding with target user
When input state.In other words, previous time period input state corresponding with target user can be the of pointing character input
One input state, current slot input state corresponding with target user can be the 4th input for being used to indicate halt input
State.
Step 203, it will indicate that information is sent to and carry out the other users that chat interacts with target user.
In the present embodiment, above-mentioned executing subject can will be based on step 202 input state generated that is used to indicate
Input information is supplied to the other users chatted with target user.In this way, other users can accurately determine target
The operation behavior of user.If above-mentioned executing subject be active devices, the terminal can by server-side will indicate information be sent to
Target user carries out the other users of chat interaction.
The information generating method that embodiment of the disclosure provides is detecting that target user carries out input operation by terminal
Afterwards, the input feature vector that can determine target user is then based on operating characteristics, determines input state corresponding with input operation,
The instruction information for generating instruction input state, which is supplied to, carries out the other users that chat interacts with target user, so that
Other users can more accurately understand the information input state of the other user of chat interaction, be conducive to user and be based on other side
Information input state chat content is adjusted, improve user experience.
With further reference to Fig. 4, the process 400 of one embodiment of the information generating method according to the disclosure is shown.It should
Information generating method, comprising the following steps:
Step 401, in response to detecting that target user carries out input operation by terminal, the input behaviour of target user is determined
The operating characteristics of work.
The executing subject (such as first terminal 101 shown in FIG. 1) of information generating method is in response to detecting that target is used
After family carries out input operation by terminal, the operating characteristics of the input operation of target user can be determined.Herein, which grasps
It acts on instruction user and information is written using the dialog box that input method, microphone etc. are presented into the application of above-mentioned communication class
Input operation.
Step 402, the operating characteristics are based on, input shape corresponding with input operation is determined from a variety of input states
State generates the instruction information of instruction input state.
Step 401, the specific implementation of step 402 and bring beneficial effect can refer in embodiment shown in Fig. 2
The description of step 201, step 202, details are not described herein.
Step 403, input state instruction information is sent to server-side, so that server-side sends out input state instruction information
It gives and carries out other terminals that chat interacts with terminal used in target user.
In the present embodiment, information is indicated according to step 402 input state generated, above-mentioned executing subject can will be defeated
Enter status indication information and is sent to server-side.In other words, in the present embodiment, above-mentioned executing subject is used in target user
Terminal.The communication class application that the above-mentioned server-side installed in the terminal is supported can operate the input of terminal based on user true
Make operating characteristics.It is then based on operating characteristics and determines input state, generate the instruction information of input state.Due to server-side
The application for usually requiring to install many terminals provides support, needs to handle compared with multi information.Instruction is directly determined using terminal
The instruction information of input state, it is possible to reduce the information throughput of server-side.Due to the server-side mainly application to terminal installation
Service and support is provided, security performance is typically superior to terminal, will indicate that information is forwarded using server-side, number can be improved
According to safety, so that instruction information corresponding with target user is safer.
Step 404, input state is presented in the predetermined position of terminal interface and indicates information.
In the present embodiment, which for example can be the top of dialog box 31 shown in Fig. 3, or right
The bottom of frame 31 is talked about, it is not limited here.Herein, which may include carrying out the use that chat interacts with target user
The terminal interface at family, or the terminal interface of target user.So, target user is it can also be seen that be presented to other
The input state of oneself of user.So as to be adjusted according to the input state of oneself to input operation.
In some implementations of the present embodiment, it can comprise the further steps of: executing subject and receive and show server-side
It is providing, be used to indicate the instruction information that the input state of other users that chat interacts is carried out with the target user.The use
The instruction information of the input state for the other users that chat interacts is carried out with the target user in instruction, by server-side or can be somebody's turn to do
The terminal that other users use is determined based on the scheme similar with previous embodiment.
Figure 4, it is seen that the present embodiment includes that will be referred to by server-side unlike implementation shown in Fig. 2
Show information be transmitted to target user carry out chat interact user the step of and will indicate information present in the terminal the step of.
It is thus possible to improve information security, it is also possible that target user views the input state of oneself, user is further increased
Experience.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, present disclose provides a kind of information processing apparatus
The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively
In kind electronic equipment.
As shown in figure 5, information generation device 500 provided in this embodiment, which is applied to electronic equipment,
The information generation device includes the first determination unit 501, the second determination unit 502 and transmission unit 503.Wherein, it first determines
Unit 501 is configured in response to detect that target user carries out input operation by terminal, determines the input behaviour of target user
The operating characteristics of work;Second determination unit 502 is configured to based on the operating characteristics, determined from a variety of input states with
The input operates corresponding input state, generates the instruction information of instruction input state;Transmission unit 503, be configured to by
The instruction information, which is sent to, carries out the other users that chat interacts with the target user.
In the present embodiment, the first determination unit 501 in information generation device 500, the second determination unit 502 and transmission
The specific processing of unit 503 and its bring beneficial effect can be referring to step 201, step 202 and the steps in Fig. 2 corresponding embodiment
The associated description of rapid 203 implementation, details are not described herein.
In some optional implementations of the present embodiment, transmission unit 503 is further configured to the input
Status indication information is sent to server-side, so that input state instruction information is sent to and the target user by server-side
Used terminal carries out other terminals of chat interaction.
In some optional implementations of the present embodiment, a variety of input states include following one: being used to indicate word
Accord with that the first input state of input, the second input state for being used to indicate character adjustment, to be used to indicate the third that content is considered defeated
The 4th input state for entering state, being used to indicate halt input.
In some optional implementations of the present embodiment, operating characteristics are included at least one of the following: and are entered recently
Content input time and the duration between current time, the number for the character being input in default dialog box, user edit
The difference of the number of characters inputted respectively in the frequency of character, continuous two preset time periods, wherein described continuous two default
The latter preset time period in period is the preset time period for including current time, when the difference is described latter default
Between the number of characters that inputs in section subtract the difference of the number of characters inputted in previous preset time period.
In some optional implementations of the present embodiment, the second determination unit 502 is further configured to: in response to
Detect that the number for the character being input in default dialog box is greater than preset threshold;Or in response to detecting that the difference is greater than
Preset threshold;Determine that input state corresponding with the input operation is the first input state.
In some optional implementations of the present embodiment, the second determination unit 502 is further configured to: in response to
Detect that the frequency of user's editing character is greater than or equal to preset threshold, and the number for the character being input in default dialog box is small
In preset threshold;Or in response to detecting that the difference is equal to preset value;Determine input shape corresponding with the input operation
State is the second input state.
In some optional implementations of the present embodiment, the second determination unit 502 is further configured to: in response to
Detect that the frequency of user's editing character is less than preset threshold;Or it is less than preset value in response to the determination difference;Determine with
It is third input state that the input, which operates corresponding input state,.
In some optional implementations of the present embodiment, the second determination unit 502 is further configured to: in response to
Detect that the input time for the content being entered recently and duration between current time are greater than preset duration, it is determining with it is described defeated
Entering to operate corresponding input state is the 4th input state.
In some optional implementations of the present embodiment, electronic equipment further includes terminal and information generation device
Further include: display unit (not shown) is configured to that input state instruction information is presented in the predetermined position of terminal interface.
Below with reference to Fig. 6, it illustrates the computer systems for the electronic equipment for being suitable for being used to realize embodiment of the disclosure
600 structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, should not function to embodiment of the disclosure and
Use scope brings any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution disclosed method
Above-mentioned function.It should be noted that computer-readable medium described in the disclosure can be computer-readable signal media or
Computer readable storage medium either the two any combination.Computer readable storage medium for example can be but unlimited
In the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or device, or any above combination.Computer can
The more specific example for reading storage medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires
Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program
Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs
In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable
Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by
Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium
Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on remote computer or server-side completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in embodiment of the disclosure can be realized by way of software, can also be passed through
The mode of hardware is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor
Including the first determination unit, the second determination unit and transmission unit.Wherein, the title of these units not structure under certain conditions
The restriction of the pairs of unit itself is also described as " determining the input operation of target user for example, protecting the first determination unit
Operating characteristics unit ".
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, which can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the electronic equipment
When row, so that the electronic equipment: in response to detecting that target user carries out input operation by terminal, determining that target user's is defeated
Enter the operating characteristics of operation;Based on operating characteristics, input state corresponding with input operation is determined from a variety of input states, it is raw
At the instruction information of instruction input state;It will indicate that information is sent to and carry out the other users that chat interacts with target user.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (11)
1. a kind of information generating method is applied to electronic equipment, comprising:
In response to detecting that target user carries out input operation by terminal, determine that the operation of the input operation of target user is special
Sign;
Based on the operating characteristics, input state corresponding with the input operation is determined from a variety of input states, generation refers to
Show the instruction information of input state;
The instruction information is sent to and carries out the other users that chat interacts with the target user.
2. described to be sent to input state instruction information and the target user according to the method described in claim 1, wherein
Carry out the other users of chat interaction, comprising:
Input state instruction information is sent to server-side, so that input state instruction information is sent to by server-side
Other terminals that chat interacts are carried out with terminal used in the target user.
3. according to the method described in claim 1, wherein, a variety of input states include following one: being used to indicate character
First input state of input, the second input state for being used to indicate character adjustment are used to indicate the third input that content is considered
State, the 4th input state for being used to indicate halt input.
4. according to the method described in claim 3, wherein, the operating characteristics include at least one of the following: to be entered recently
The number of the input time of content and duration, the character being input in default dialog box between current time, user's edit word
The difference of the number of characters inputted respectively in the frequency of symbol, continuous two preset time periods, wherein it is described it is continuous two it is default when
Between the latter preset time period in section be the preset time period for including current time, the difference is the latter preset time
The number of characters inputted in section subtracts the difference of the number of characters inputted in previous preset time period.
5. it is described to be based on the operating characteristics according to the method described in claim 4, wherein, it is determined from a variety of input states
Input state corresponding with the input operation, comprising:
In response to detecting that the number for the character being input in default dialog box is greater than preset threshold;Or
In response to detecting that the difference is greater than preset threshold;
Determine that input state corresponding with the input operation is the first input state.
6. it is described to be based on the operating characteristics according to the method described in claim 4, wherein, it is determined from a variety of input states
Input state corresponding with the input operation, comprising:
In response to detecting that the frequency of user's editing character is greater than or equal to preset threshold, and the word being input in default dialog box
The number of symbol is less than preset threshold;Or
In response to detecting that the difference is equal to preset value;
Determine that input state corresponding with the input operation is the second input state.
7. it is described to be based on the operating characteristics according to the method described in claim 4, wherein, it is determined from a variety of input states
Input state corresponding with the input operation, comprising:
In response to detecting that the frequency of user's editing character is less than preset threshold;Or
It is less than preset value in response to the determination difference;
Determine that input state corresponding with the input operation is third input state.
8. it is described to be based on the operating characteristics according to the method described in claim 4, wherein, it is determined from a variety of input states
Input state corresponding with the input operation, comprising:
It is greater than preset duration in response to the duration for detecting the input time for the content being entered recently and between current time, really
Fixed input state corresponding with the input operation is the 4th input state.
9. method according to claim 1 or 2, wherein the electronic equipment includes terminal, and
The method also includes:
Input state is presented in the predetermined position of terminal interface and indicates information.
10. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-9.
11. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor
The now method as described in any in claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910207557.5A CN109981446A (en) | 2019-03-19 | 2019-03-19 | Information generating method, electronic equipment and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910207557.5A CN109981446A (en) | 2019-03-19 | 2019-03-19 | Information generating method, electronic equipment and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109981446A true CN109981446A (en) | 2019-07-05 |
Family
ID=67079428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910207557.5A Pending CN109981446A (en) | 2019-03-19 | 2019-03-19 | Information generating method, electronic equipment and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109981446A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708424A (en) * | 2019-09-27 | 2020-01-17 | 北京字节跳动网络技术有限公司 | Information presentation method and device and electronic equipment |
CN113126943A (en) * | 2021-05-13 | 2021-07-16 | 北京有竹居网络技术有限公司 | Display control method and system, server, client, electronic device, and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791071A (en) * | 2004-01-10 | 2006-06-21 | 腾讯科技(深圳)有限公司 | Message previewing method and system in instant communication |
US20080159321A1 (en) * | 2006-10-13 | 2008-07-03 | Dell Products L.P. | System and method for adaptively setting connections to input/output hubs within an information handling system |
CN101931653A (en) * | 2005-03-19 | 2010-12-29 | 腾讯科技(深圳)有限公司 | Method for displaying communication state in instantaneous communication system |
CN102368198A (en) * | 2011-10-04 | 2012-03-07 | 上海量明科技发展有限公司 | Method and system for carrying out information cue through lip images |
CN105049327A (en) * | 2015-06-23 | 2015-11-11 | 惠州Tcl移动通信有限公司 | Touch vibration instant messaging method and system |
-
2019
- 2019-03-19 CN CN201910207557.5A patent/CN109981446A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791071A (en) * | 2004-01-10 | 2006-06-21 | 腾讯科技(深圳)有限公司 | Message previewing method and system in instant communication |
CN101931653A (en) * | 2005-03-19 | 2010-12-29 | 腾讯科技(深圳)有限公司 | Method for displaying communication state in instantaneous communication system |
US20080159321A1 (en) * | 2006-10-13 | 2008-07-03 | Dell Products L.P. | System and method for adaptively setting connections to input/output hubs within an information handling system |
CN102368198A (en) * | 2011-10-04 | 2012-03-07 | 上海量明科技发展有限公司 | Method and system for carrying out information cue through lip images |
CN105049327A (en) * | 2015-06-23 | 2015-11-11 | 惠州Tcl移动通信有限公司 | Touch vibration instant messaging method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708424A (en) * | 2019-09-27 | 2020-01-17 | 北京字节跳动网络技术有限公司 | Information presentation method and device and electronic equipment |
CN113126943A (en) * | 2021-05-13 | 2021-07-16 | 北京有竹居网络技术有限公司 | Display control method and system, server, client, electronic device, and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109873757A (en) | Message display method, electronic equipment and readable medium for multi-conference | |
CN110061909A (en) | Method and apparatus for handling information | |
CN109697100A (en) | Conversation message display processing method and device | |
CN109684578A (en) | Method and apparatus for showing information | |
CN109347720A (en) | It determines group member, send the method and apparatus that the request of group is added | |
CN109995947A (en) | For the method for played voice message, electronic equipment and computer-readable medium | |
CN109992732A (en) | Information sharing method, device, electronic equipment and storage medium | |
CN109033464A (en) | Method and apparatus for handling information | |
CN110545236A (en) | Instant messaging message modification method and device, storage medium and electronic equipment | |
CN110471733A (en) | Information processing method and device | |
CN109446442A (en) | Method and apparatus for handling information | |
CN110658960A (en) | Message processing method and device and electronic equipment | |
CN109408748A (en) | Method and apparatus for handling information | |
CN109743245A (en) | The method and apparatus for creating group | |
CN111598493B (en) | Information processing method, computing device and computer storage medium for customer service | |
CN110098997A (en) | Method and apparatus for showing information | |
US20240291683A1 (en) | Information interaction method and apparatus, and electronic device | |
CN109873756A (en) | Method and apparatus for sending information | |
CN109981446A (en) | Information generating method, electronic equipment and computer-readable medium | |
CN108768823B (en) | Method and equipment for processing message and displaying message | |
CN110519155A (en) | Information processing method and system | |
CN109947528A (en) | Information processing method and device | |
CN109951380B (en) | Method, electronic device, and computer-readable medium for finding conversation messages | |
CN111581664A (en) | Information protection method and device | |
CN108984260B (en) | Method and apparatus for handling information |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |