CN104077030A - Control method and device for message bubble style - Google Patents

Control method and device for message bubble style Download PDF

Info

Publication number
CN104077030A
CN104077030A CN201410255064.6A CN201410255064A CN104077030A CN 104077030 A CN104077030 A CN 104077030A CN 201410255064 A CN201410255064 A CN 201410255064A CN 104077030 A CN104077030 A CN 104077030A
Authority
CN
China
Prior art keywords
parameter
parameter information
pattern
value
message bubble
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
Application number
CN201410255064.6A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410255064.6A priority Critical patent/CN104077030A/en
Publication of CN104077030A publication Critical patent/CN104077030A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a control method and device for a message bubble style. The method comprises the following steps: acquiring the first parameter information of a user and the second parameter information of a publishing object, wherein the first parameter information comprises the parameter value of at least one parameter of the user, and the second parameter information comprises the parameter value of at least one parameter of the publishing object; determining the message bubble style used for sending the message to the publishing object by the user according to the first parameter information and the second parameter information. By adopting the control method and the control device, the message bubble style for displaying a message can be changed dynamically when the message is sent by the user, the identification degree of the message is increased, and the visual effect of message display is improved.

Description

A kind of control method and device of message bubble pattern
Technical field
The disclosure is directed to the communications field, is control method and device about a kind of message bubble pattern specifically.
Background technology
At present, instantaneous communication system as micro-letter in, the message that can use message bubble that each user is sent is presented in the chat window of user and data publish object.
At present, between each user and message bubble pattern, have corresponding relation, message bubble pattern corresponding to each user fixed, and can be specified a kind of pattern or independently be specified a kind of pattern by user by system default.Once message bubble pattern corresponding to user determine, the message of its transmission only shows with this kind of message bubble pattern.The display packing of this message is too single, and resolution is low, poor visual effect.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of control method and device of message bubble pattern, while making user send message, the message bubble pattern of display message can dynamic change, improves the resolution of message and the visual effect that message shows.
According to the first aspect of disclosure embodiment, a kind of control method of message bubble pattern is provided, described method comprises:
Obtain the first parameter information of user and the second parameter information of issue object; Described the first parameter information comprises the parameter value of at least one parameter of user; Described the second parameter information comprises the parameter value of at least one parameter of issuing object;
According to described the first parameter information and described the second parameter information, determine the message bubble pattern that described user uses to the message of described issue object transmission.
Alternatively, describedly according to described the first parameter information and described the second parameter information, determine the message bubble pattern that message that described user sends to described issue object is used, comprising:
According to described the first parameter information and described the second parameter information, calculate described user's pattern value;
According to message bubble pattern corresponding to described user's pattern value, determine the message bubble pattern that described user uses to the message of described issue object transmission.
Alternatively, the described pattern value of calculating described user according to described the first parameter information and described the second parameter information, comprising:
According to described the first parameter information and described the second parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm+b1*Y1+…+bn*Yn;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Y1 ..., Yn is the parameter value of each parameter in described the second parameter information, n is the sum of included parameter value in described the second parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m; Bj is the weighted value of parameter under parameter value Yj, and j gets all integers from 1 to n.
Alternatively, the described pattern value of calculating described user according to described the first parameter information and described the second parameter information, comprising:
According to described the second parameter information, determine the weighted value of each parameter in the first parameter information;
According to the weighted value of each parameter in described the first parameter information and described the first parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m.
Alternatively, describedly according to described the first parameter information and described the second parameter information, determine the message bubble pattern that message that described user sends to described issue object is used, comprising:
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information;
According to described corresponding relation, determine the corresponding message bubble of the parameter value pattern of each parameter in described the first parameter information and described the second parameter information, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
Alternatively, describedly according to described the first parameter information and described the second parameter information, determine the message bubble pattern that message that described user sends to described issue object is used, comprising:
From described the first parameter information and described the second parameter information, obtain identical parameters, described identical parameters refers to the parameter being simultaneously included in described the first parameter information and described the second parameter information;
For identical parameters described in each, if this identical parameters is different with the parameter value in the second parameter information at the first parameter information, filter out this identical parameters;
Parameter value according to the described identical parameters filtering out in described the first parameter information is determined message bubble pattern, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
Alternatively, the parameter value of the described identical parameters that described basis filters out in described the first parameter information determined message bubble pattern, comprising:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of the described identical parameters filtering out and obtaining; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information; Or,
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information.
Alternatively, the parameter value of the described identical parameters that described basis filters out in described the first parameter information determined message bubble pattern, comprising:
From the described identical parameters filtering out, obtain at least one identical parameters;
Parameter value according to described at least one identical parameters getting in described the first parameter information is determined message bubble pattern.
Alternatively, the parameter value of described at least one identical parameters that described basis gets in described the first parameter information determined message bubble pattern, comprising:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of described at least one identical parameters and obtaining; The corresponding message bubble of parameter value pattern according to definite described at least one identical parameters getting of described corresponding relation in described the first parameter information; Or,
Obtain the message bubble pattern that sets in advance and the corresponding relation between the possible parameter value of each parameter; According to described corresponding relation, determine the parameter value corresponding message bubble pattern of described at least one identical parameters in described the first parameter information.
Alternatively, describedly from the described identical parameters filtering out, obtain at least one identical parameters, comprising:
According to the parameter acquiring order setting in advance, from the described identical parameters filtering out, obtain at least one identical parameters; Or,
From the described identical parameters filtering out, obtain at least one identical parameters at random.
According to the first aspect of disclosure embodiment, a kind of control device of message bubble pattern is provided, described device comprises acquiring unit and determining unit, wherein,
Described acquiring unit, is configured to obtain the first parameter information of user and the second parameter information of issue object; Described the first parameter information comprises the parameter value of at least one parameter of user; Described the second parameter information comprises the parameter value of at least one parameter of issuing object;
Described determining unit, described the first parameter information and described the second parameter information that are configured to obtain according to described acquiring unit are determined the message bubble pattern that described user uses to the message of described issue object transmission.
Alternatively, described determining unit comprises:
Computation subunit, is configured to calculate according to described the first parameter information and described the second parameter information described user's pattern value;
First determines subelement, is configured to determine according to message bubble pattern corresponding to described user's pattern value the message bubble pattern that described user uses to the message of described issue object transmission.
Alternatively, described first determines that subelement is specifically configured to:
According to described the first parameter information and described the second parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm+b1*Y1+…+bn*Yn;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Y1 ..., Yn is the parameter value of each parameter in described the second parameter information, n is the sum of included parameter value in described the second parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m; Bj is the weighted value of parameter under parameter value Yj, and j gets all integers from 1 to n.
Alternatively, described first determines that subelement is specifically configured to:
According to described the second parameter information, determine the weighted value of each parameter in the first parameter information;
According to the weighted value of each parameter in described the first parameter information and the first parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m.
Alternatively, described determining unit comprises:
First obtains subelement, is configured to obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information;
Second determines subelement, be configured to determine according to described corresponding relation the corresponding message bubble of the parameter value pattern of each parameter in described the first parameter information and described the second parameter information, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
Alternatively, described determining unit comprises:
Second obtains subelement, is configured to obtain identical parameters from described the first parameter information and described the second parameter information, and described identical parameters refers to the parameter being simultaneously included in described the first parameter information and described the second parameter information;
Screening subelement, is configured to for identical parameters described in each, if this identical parameters is different with the parameter value in the second parameter information at the first parameter information, filters out this identical parameters;
The 3rd determines subelement, be configured to the parameter value in described the first parameter information according to the described identical parameters filtering out and determine message bubble pattern, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
Alternatively, the described the 3rd determines that subelement is specifically configured to:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of the described identical parameters filtering out and obtaining; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information; Or,
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information.
Alternatively, the described the 3rd determines that subelement comprises:
Acquisition module, is configured to obtain at least one identical parameters the described identical parameters from filtering out;
Determination module, is configured to the parameter value in described the first parameter information according to described at least one identical parameters getting and determines message bubble pattern.
Alternatively, described determination module is specifically configured to:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of described at least one identical parameters and obtaining; The corresponding message bubble of parameter value pattern according to definite described at least one identical parameters getting of described corresponding relation in described the first parameter information; Or,
Obtain the message bubble pattern that sets in advance and the corresponding relation between the possible parameter value of each parameter; According to described corresponding relation, determine the parameter value corresponding message bubble pattern of described at least one identical parameters in described the first parameter information.
Alternatively, described acquisition module is specifically configured to:
According to the parameter acquiring order setting in advance, from the described identical parameters filtering out, obtain at least one identical parameters; Or,
From the described identical parameters filtering out, obtain at least one identical parameters at random.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: obtain the first parameter information of user and the second parameter information of issue object, described the first parameter information comprises the parameter value of at least one parameter of user, described the second parameter information comprises the parameter value of at least one parameter of issuing object, according to described the first parameter information and described the second parameter information, determine the message bubble pattern that described user uses to the message of described issue object transmission, thereby the message bubble pattern that the message that user sends to issue object is used no longer by system default, is specified or user specifies, but dynamically determine according to the second parameter information of the first parameter information of user and issue object, while making user send message, the message bubble pattern of display message can be followed chat environment and the dynamic change of issue object, improve the resolution of message that user sends and the visual effect that message shows.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows and meets embodiment of the present disclosure, and be used from and explain principle of the present disclosure with instructions one.
Fig. 1 is a kind of application scenarios schematic diagram shown in an exemplary embodiment;
Fig. 2 is according to the process flow diagram of the control method of a kind of message bubble pattern shown in an exemplary embodiment;
Fig. 3 is according to the process flow diagram of the control method of the another kind of message bubble pattern shown in an exemplary embodiment;
Fig. 4 A is according to the process flow diagram of the control method of the another kind of message bubble pattern shown in an exemplary embodiment;
Fig. 4 B is according to a kind of exemplary plot of message bubble pattern display message in the customer group shown in an exemplary embodiment;
Fig. 4 C is according to the another kind of exemplary plot of message bubble pattern display message in the customer group shown in an exemplary embodiment;
Fig. 4 D is according to the another kind of exemplary plot of message bubble pattern display message in the customer group shown in an exemplary embodiment;
Fig. 5 is according to the process flow diagram of the control method of the another kind of message bubble pattern shown in an exemplary embodiment;
Fig. 6 is according to the structural drawing of the control device of the another kind of message bubble pattern shown in an exemplary embodiment;
Fig. 7 is according to the block diagram of a kind of device for terminal login remote server shown in an exemplary embodiment;
Fig. 8 is the structural representation of server in disclosure embodiment.
Embodiment
Here will at length to exemplary embodiment, describe, its example shown in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they are only the examples with apparatus and method as consistent in some aspects that described in detail in appended claims, of the present disclosure.
Fig. 1 is control method and the applied a kind of Sample Scenario figure of device of disclosure message bubble pattern, comprising: at least two clients 110 (only showing two clients in Fig. 1) and server 120; Wherein,
Client 110 is connected with server 120, can communicate.Client 110, for user provides chat interface, shows that on chat interface user sends to other users' message and the message that other users send to user, and these message are transmitted between client 110 by server 120.
The control method of the message bubble pattern in the disclosure and device can be applied to client 110 or server 120, and the disclosure does not limit.
Fig. 2 is that as shown in Figure 2, the method can comprise the following steps according to the process flow diagram of the control method of a kind of message bubble pattern shown in an exemplary embodiment.
In step S201, obtain the first parameter information of user and the second parameter information of issue object; The first parameter information comprises the parameter value of at least one parameter of user; The second parameter information comprises the parameter value of at least one parameter of issuing object;
Wherein, user refers to the sender of message, and issue object refers to that user sends the object of message.Issue object can be a user, a plurality of user or customer group etc.
Wherein, the number of parameters disclosure that specifically comprise which kind of parameter in the first parameter information, specifically comprises does not limit, and can independently set in actual applications; The number of parameters disclosure that specifically comprise which kind of parameter in the second parameter information, specifically comprises does not limit, and can independently set in actual applications.
In a kind of possible implementation, the parameter of the first parameter information can include but not limited to: user gradation, glamour value, sex, group's liveness, location, department, native place etc., the parameter of the second parameter information can include but not limited to: user gradation, glamour value, sex, group's liveness, location, department, native place, object type, group's number, group's importance etc.The parameter that the parameter that the first parameter information comprises and the second parameter information comprise can be identical or different, and the disclosure does not limit.
In step S202, according to the first parameter information and the second parameter information, determine the message bubble pattern that user uses to the message of issue object transmission.
Wherein, the message bubble pattern in the disclosure can independently arrange in actual applications, and the concrete way of realization disclosure does not limit.For instance, message bubble pattern generally consists of the filling part in frame and frame, frame or the filling part in frame of message bubble pattern can omit, the concrete shape of frame can be rule or irregular geometric figure, the thickness of frame lines, pattern etc. are realized various, and the filling part in frame can be filled by solid color, regular or irregular lines are filled, still image is filled or dynamic image is filled etc.The message bubble pattern that has different frames and do not have filling part has been shown in Fig. 4 B~Fig. 4 D and has given an example, the frame shape of these message bubble patterns is respectively curve, rhombus, rectangle etc., and frame lines are respectively the patterns such as dotted line or solid line.
Wherein, in the embodiment that is embodied in Fig. 3~Fig. 5 of this step, have been described in detail, do not repeat here.
In the present embodiment, the message bubble pattern that the message that user sends to issue object is used no longer by system default, is specified or user specifies, but dynamically determine according to the second parameter information of the first parameter information of user and issue object, while making user send message, the message bubble pattern of display message can be followed chat environment and the dynamic change of issue object, improves the resolution of message that user sends and the visual effect that message shows.
Fig. 3 is that as shown in Figure 3, the method comprises the following steps according to the process flow diagram of the control method of the another kind of message bubble pattern shown in an exemplary embodiment.
In step S301, obtain the first parameter information of user and the second parameter information of issue object; The first parameter information comprises the parameter value of at least one parameter of user; The second parameter information comprises the parameter value of at least one parameter of issuing object.
In step S302, according to the first parameter information and the second parameter information calculating user's pattern value.
In a kind of possible implementation, this step can comprise:
According to the first parameter information and the second parameter information, use following formula 1 to calculate user's pattern value:
L=a1*X1+…+am*Xm+b1*Y1+…+bn*Yn; (1)
Wherein, the pattern value that L is user; X1 ..., Xm is the parameter value of each parameter in the first parameter information, m is the sum of included parameter value in the first parameter information; Y1 ..., Yn is the parameter value of each parameter in the second parameter information, n is the sum of included parameter value in the second parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m; Bj is the weighted value of parameter under parameter value Yj, and j gets all integers from 1 to n; * can represent multiplication.
Wherein, the concrete value of the weighted value of every kind of parameter can independently be set in actual applications, does not limit here.
For example, suppose that in step S301, issuing object is customer group, the first parameter information of user comprises: glamour value: 5, and group's liveness: 3, sex: 1 (female); The second parameter information of issue object comprises: group's importance: 2.Wherein, due to parameter actual values of possibility nonumeric such as sexes, can for various, may corresponding numerical value be set values in actual applications, for example the value of sex can be man or female, can use numerical value 0 represent male, and numerical value 1 represents female etc., the pattern value that calculates user according to formula 1 can be: L=a1*5+a2*3+a3*1+b1*2; Wherein, the concrete value of a1, a2, a3, b1 can independently be set, here concrete example no longer.
In the possible implementation of another kind, this step can comprise:
According to the second parameter information, determine the weighted value of each parameter in the first parameter information;
According to the weighted value of each parameter in the first parameter information and the first parameter information, use following formula to calculate user's pattern value:
L=a1*X1+…+am*Xm; (2)
Wherein, the pattern value that L is user; X1 ..., Xm is the parameter value of each parameter in the first parameter information, m is the sum of included parameter value in the first parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m.
In actual applications, can be at least a set of weighted value of each parameter setting in the first parameter information in advance, and the various of each parameter in every cover weighted value and the second parameter information may be arranged to corresponding relation between parameter value, thereby can determine corresponding a set of weighted value according to the second parameter information, thereby determine the weighted value of each parameter in the first parameter information.Wherein, every suit weighted value comprises the weighted value of each parameter in the first parameter information.The possible parameter value of parameter generally refers to the numerical value that parameter may be got.
For example, be that in the first parameter information, each parameter arranges two cover weighted values in advance, in the second parameter information, hypothesis comprises object type, it may be respectively a user, a plurality of user and customer group by parameter value, and possible parameter value is the corresponding first set weighted value of a user or a plurality of user, possible parameter value is corresponding the second cover weighted value of customer group; The object type that comprises of the second parameter information of supposing issue object is customer group, and its corresponding second cover weighted value is defined as the second cover weighted value the weighted value of each parameter in the first parameter information.
In step S303, according to message bubble pattern corresponding to user's pattern value, determine the message bubble pattern that user uses to the message of issue object transmission.
In actual applications, can set in advance multiple message bubble pattern, and the corresponding relation between message bubble pattern and pattern value is set; Wherein, every kind of message bubble pattern can corresponding one or more pattern value, and each pattern value also can corresponding one or more message bubble patterns; , in this step, can determine according to described corresponding relation user's message bubble pattern corresponding to pattern value.
Wherein, if message bubble pattern corresponding to user's pattern value is a kind of, in this step, can directly message bubble pattern corresponding to user's pattern value be defined as to the message bubble pattern that user uses to the message of issue object transmission; Or,
If message bubble pattern corresponding to user's pattern value is more than one, the message bubble pattern that the message of selecting a kind of message bubble pattern to send to issue object as user can the message bubble pattern corresponding from user's pattern value in this step is used.When selecting, can set in advance the selecting sequence of various message bubble patterns, according to selecting sequence, from message bubble pattern corresponding to user's pattern value, select a kind of message bubble pattern, or, can from message bubble pattern corresponding to user's pattern value, select a kind of message bubble pattern at random, the disclosure does not limit yet.
For instance, message bubble pattern corresponding to pattern value of supposing user is: pattern 1, pattern 3,5 three kinds of patterns of pattern, if set in advance message bubble pattern selecting sequence, be: pattern 5, pattern 4, pattern 3, pattern 2, pattern 1, the message bubble pattern that the message that can preferentially select pattern 5 to send to issue object as user according to this selecting sequence is used; And if message bubble pattern selecting sequence is not set in advance, the message bubble pattern that the message that can select at random pattern 1 or pattern 3 or pattern 5 to send to issue object as user is used.
Wherein, while setting in advance in actual applications the corresponding relation between message bubble pattern and pattern value, because message bubble pattern is counted quantitative limitation, processed the reasons such as easy, the pattern value corresponding with message bubble pattern may need to carry out the restriction of decimal digits, and the pattern value that for example message bubble pattern is corresponding can be integer; And the user's who calculates in step S302 pattern value may have decimal place, at this moment, can reduce the decimal place of the pattern value of even eliminating user to can obtain user's message bubble pattern corresponding to pattern value from the corresponding relation between the message bubble pattern that sets in advance and pattern value by the method such as round up.
In the present embodiment, according to the second parameter information of the first parameter information of user and issue object, calculate user's pattern value, according to message bubble pattern corresponding to user's pattern value, determine the message bubble pattern that user uses to the message of issue object transmission, thereby the message bubble pattern that the message that user sends to issue object is used no longer by system default, is specified or user specifies, but dynamically determine according to the second parameter information of the first parameter information of user and issue object, while making user send message, the message bubble pattern of display message can be followed chat environment and the dynamic change of issue object, improve the resolution of message that user sends and the visual effect that message shows.
Fig. 4 A is that as shown in Figure 4 A, the method comprises the following steps according to the process flow diagram of the control method of the another kind of message bubble pattern shown in an exemplary embodiment.
In step S401, obtain the first parameter information of user and the second parameter information of issue object.
In step S402, obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and the first parameter information and the second parameter information.
Wherein, same message bubble pattern can be corresponding with one or more possibility parameter values of same parameters, and a possibility parameter value of same parameters can be corresponding with one or more message bubble patterns.
Wherein, the quantity of message bubble pattern can independently be set in actual applications, and the disclosure does not limit.
In step S403, according to described corresponding relation, determine the corresponding message bubble of the parameter value pattern of each parameter in the first parameter information and the second parameter information, the message bubble pattern that the message sending to issue object definite message bubble pattern as user is used.
Give an actual example:
Example 1, supposes that the parameter that the first parameter information comprises is: sex; The parameter that the second parameter information comprises is: object type; The possible parameter value of sex is: man, female, and the possible parameter value of object type is: user, a plurality of user, customer group; Message bubble pattern comprises: pattern 1~4 is totally 4 kinds of patterns; , can set in advance corresponding relation as shown in table 1 below:
Table 1
Suppose that the first parameter information getting in step S301 is: sex: female, the second parameter information getting is: object type: customer group; In step S302, get the corresponding relation shown in table 1; In step S303, according to the corresponding relation shown in table 1, can determine that the first parameter information and message bubble pattern corresponding to the second parameter information are: pattern 2.
Suppose that the first parameter information getting in step S301 is: sex: man, the second parameter information getting is: object type: a user; In step S302, get the corresponding relation shown in table 1; In step S303, according to the corresponding relation shown in table 1, can determine that the first parameter information and message bubble pattern corresponding to the second parameter information are: pattern 3.
This exemplary application is when some customer groups, in the chat window of customer group, will show the message that user issues according to each user's sex, if user's sex is female, with pattern 2, show the message that user issues, if user's sex is man, with pattern 4, show the message that user issues, thereby can obviously distinguish by message bubble pattern the user's who gives out information sex in the chat window of customer group.Example as shown in Figure 4 B, pattern 2 is the message bubble pattern with curve frame, pattern 4 is the message bubble pattern with rectangular shaped rim, in message bubble pattern, be respectively the message that user issues, pattern 2 has shown the message that user 1 and user 3 issue, pattern 4 has shown the message that user 2 and user 4 issue, thereby the sex that can obviously distinguish user 1 and user 3 is female, and user 2 and user's 4 sex be male.
Example 2, supposes that the parameter that the first parameter information comprises is: user class; The parameter that the second parameter information comprises is: object type; The possible parameter value of user class is: 1~20 integer, and the possible parameter value of object type is: user, a plurality of user, customer group; Message bubble pattern comprises: pattern 1~4 is totally 4 kinds of patterns; , can set in advance corresponding relation as shown in table 2 below:
Table 2
Suppose that the first parameter information getting in step S301 is: user class: 8, the second parameter information getting is: object type: a user; In step S302, get the corresponding relation shown in table 2; In step S303, according to the corresponding relation shown in table 2, can determine that the first parameter information and message bubble pattern corresponding to the second parameter information are: pattern 1.
Suppose that the first parameter information getting in step S301 is: user class: 14, the second parameter information getting is: object type: customer group; In step S302, get the corresponding relation shown in table 2; In step S303, according to the corresponding relation shown in table 2, can determine that the first parameter information and message bubble pattern corresponding to the second parameter information are: pattern 4.
This exemplary application is when some customer groups, in the chat window of customer group, will show the message that user issues according to each user's user class, if arbitrary rank that user's user class is 1~5, with pattern 1, show the message that user issues, if arbitrary rank that user's user class is 6~10, with pattern 2, show the message that user issues, by that analogy, thus in the chat window of customer group, can obviously distinguish by message bubble pattern the user's who gives out information user class.Example as shown in Figure 4 C, pattern 1 is the message bubble pattern with rhombus frame, pattern 2 is the message bubble pattern with curve frame, pattern 3 is the message bubble pattern with dashed rectangle frame, pattern 4 is the message bubble pattern with solid-line rectangle frame, in the message bubble pattern of different patterns, be respectively the message that different user is issued, as pattern 1 has shown the message that user 1 is issued, pattern 2 has shown the message that user 2 issues, thereby can obviously distinguish user 1~user 4 user class.
Example 3, supposes that the parameter that the first parameter information comprises is: group's liveness; The parameter that the second parameter information comprises is: object type; The possible parameter value of group's liveness is: 1~10 integer, and the possible parameter value of object type is: user, a plurality of user, customer group; Message bubble pattern comprises: pattern 1~4 is totally 4 kinds of patterns; , can set in advance corresponding relation as shown in table 3 below:
Table 3
Suppose that the first parameter information getting in step S301 is: group's liveness: 8, the second parameter information getting is: object type: customer group; In step S302, get the corresponding relation shown in table 3; In step S303, according to the corresponding relation shown in table 3, can determine that the first parameter information and message bubble pattern corresponding to the second parameter information are: pattern 4.
Suppose that the first parameter information getting in step S301 is: group's liveness: 3, the second parameter information getting is: object type: customer group; In step S302, get the corresponding relation shown in table 3; In step S303, according to the corresponding relation shown in table 3, can determine that the first parameter information and message bubble pattern corresponding to the second parameter information are: pattern 2.
This exemplary application is when some customer groups, in the chat window of customer group, the group's liveness according to each user is shown to the message that user issues, if arbitrary rank that group's liveness of user is 1~5, with pattern 2, show the message that user issues, if arbitrary rank that group's liveness of user is 6~10, with pattern 4, show the message that user issues, thereby can obviously distinguish by message bubble pattern group's liveness of the user who gives out information in the chat window of customer group.Example as shown in Figure 4 D, pattern 2 is the message bubble pattern with rhombus frame, pattern 4 is the message bubble pattern with rectangular shaped rim, in the message bubble pattern of different patterns, be respectively the message that different user is issued, as pattern 2 has shown the message that user 1 and user 3 are issued, pattern 4 has shown the message that user 2 and user 4 issue, thereby can obviously distinguish group's liveness of user 1~user 4.
In the present embodiment, set in advance the corresponding relation between the possible parameter value of each parameter in message bubble pattern and the first parameter information and the second parameter information, according to corresponding relation, determine the corresponding message bubble of the parameter value pattern of each parameter in the first parameter information and the second parameter information, the message bubble pattern that the message sending to issue object definite message bubble pattern as user is used, thereby the message bubble pattern that the message that user sends to issue object is used no longer by system default, is specified or user specifies, but dynamically determine according to the second parameter information of the first parameter information of user and issue object, while making user send message, the message bubble pattern of display message can be followed chat environment and the dynamic change of issue object, improve the resolution of message that user sends and the visual effect that message shows.
Fig. 5 is that as shown in Figure 5, the method comprises the following steps according to the process flow diagram of the control method of the another kind of message bubble pattern shown in an exemplary embodiment.
In step S501, obtain the first parameter information of user and the second parameter information of issue object.
In step S502, from the first parameter information and the second parameter information, obtain identical parameters, identical parameters refers to the parameter being simultaneously included in the first parameter information and the second parameter information.
For example, suppose that the first parameter information comprises parameter 1, parameter 3 and parameter 5, the second parameter information comprises parameter 1, parameter 2, parameter 3 and parameter 4, parameter 1, parameter 3 are all included in the first parameter information and the second parameter information simultaneously, so parameter 1 and parameter 3 are identical parameters, the identical parameters that can get from the first parameter information and the second parameter information in this step is: parameter 1, parameter 3.
In step S503, for each identical parameters, if this parameter is different with the parameter value in the second parameter information at the first parameter information, filter out this identical parameters;
Still, with the example that is exemplified as in step S502, suppose that the first parameter information is: parameter 1:3, parameter 3:7, parameter 5:8; The second parameter information is: parameter 1:3, parameter 2:1, parameter 3:5, parameter 4:11; , parameter 1 is identical with the parameter value in the second parameter information at the first parameter information, and parameter 3 is different with the parameter value in the second parameter information at the first parameter information, thereby the identical parameters that can filter out in this step is parameter 1.
In actual applications, the identical parameters filtering out can, for one or more, not limit here.
In actual applications, can be by judging that each identical parameters picks out satisfactory identical parameters the first parameter information is different with parameter value in the second parameter information from identical parameters, to reach the object of screening identical parameters, or, also can, by judging that each identical parameters rejects undesirable identical parameters the first parameter information is identical with parameter value in the second parameter information, reach equally the object of screening identical parameters.
In step S504, the parameter value according to the identical parameters filtering out in the first parameter information is determined message bubble pattern, the message bubble pattern that the message sending to issue object definite message bubble pattern as user is used.
Wherein, if the definite message bubble pattern of the parameter value according to the identical parameters filtering out in the first parameter information is two or more, when the message bubble pattern using to the message of issue object transmission definite message bubble pattern as user, the message bubble pattern that can select a kind of message sending to issue object as user to use from definite message bubble pattern, the concrete How to choose disclosure does not limit, such as selecting at random etc.
In a kind of possible implementation, the parameter value according to the identical parameters filtering out in the first parameter information determines that message bubble pattern can comprise:
Obtain message bubble pattern;
Determine the possible parameter value of identical parameters and the corresponding relation between message bubble pattern;
The corresponding message bubble of parameter value pattern according to the definite identical parameters filtering out of corresponding relation in the first parameter information.
Wherein, the concrete quantity of the message bubble pattern obtaining can independently be set in actual applications, does not limit here.For example, if can preset issue object, be customer group, the concrete quantity of the message bubble pattern obtaining is not less than a certain the first numerical value, for example 3, if issue object is a user, the concrete quantity of the message bubble pattern obtaining is not more than a certain second value, for example 4, or, in the situation that the sum of predefined message bubble pattern is enough, if can preset issue object is customer group, the quantity of the message bubble pattern obtaining is at least the total quantity of all combined situation of the possible parameter value of identical parameters, so that when determining the possible parameter value of identical parameters and the corresponding relation between message bubble pattern, the message bubble pattern corresponding to difference possibility parameter value of identical parameters, for example identical parameters has parameter 1 and parameter 2, parameter 1 has 2 kinds of possibility parameter value a, b, parameter 2 has 3 kinds of possibility parameter value c, d, e, the total quantity of all combined situation of the possible parameter value of identical parameters is 6 kinds, be respectively: a, c, b, c, a, d, b, d, a, e, b, e.The quantity of the message bubble pattern obtaining at least can be 6 kinds, thereby when determining possible the parameter value of identical parameters and the corresponding relation between message bubble pattern, every kind of combined situation can the different message bubble pattern of correspondence.
The message bubble pattern obtaining can be all message bubble patterns of presetting, can be also the part in all message bubble patterns of presetting.
While determining the possible parameter value of identical parameters and the corresponding relation between message bubble pattern, the concrete how to confirm disclosure does not limit, such as determining at random or follow certain preset rules etc.And a certain possibility parameter value of same identical parameters can be corresponding with one or more message bubble patterns, a kind of message bubble pattern can be corresponding with one or more possibility parameter values of same identical parameters.Give an actual example:
Suppose that identical parameters is sex, and the possible parameter value of sex is: man, female, the message bubble pattern obtaining is 2 kinds, be respectively pattern 1 and pattern 2,, can random-deterministic other may the corresponding pattern 1 of parameter value man, possible the parameter value female correspondence pattern 2 of sex; Or, according to the corresponding pattern 1 of other possibility parameter value female of default rule " preferential other parameter value of the correspondence female of pattern 1 " determinacy, the corresponding pattern 2 of possible parameter value man of sex.
Suppose that identical parameters is department, the possible parameter value of department is: department 1, department 2 ..., the p of department, p is greater than 2 integer, the message bubble pattern obtaining is 2 kinds, be respectively pattern 1 and pattern 2,, can determine at random 1~department of possible parameter value department, the 2 corresponding patterns 1 of department, the corresponding pattern 2 of the possible parameter value p of 3~department of department of department; Or, according to default rule " the parameter value department 2 of pattern 1 preferential corresponding department ", determine the corresponding pattern 1 of department 2, department 1, the corresponding pattern 2 of 3~p, at this moment, if this exemplary application is in customer group, the message that belongs to user's issue of department 2 will be used pattern 1 to show, the message that belongs to user's issue of other departments will be used pattern 2 to show.
Same, identical parameters may be also user location, user native place, user class and/or group's liveness etc., its realization can, with reference to foregoing description and example, repeat no more here.
In the possible implementation of the second, the parameter value according to the identical parameters filtering out in the first parameter information determines that message bubble pattern can comprise:
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and the first parameter information and the second parameter information;
The corresponding message bubble of parameter value pattern according to the definite identical parameters filtering out of corresponding relation in the first parameter information.
For example, suppose the total pattern 1~3 of message bubble pattern pattern in totally 3, the first parameter information comprises parameter 1, parameter 2, the second parameter information comprises parameter 1 and parameter 3, parameter 1 has a, two kinds of possibility parameter values of b, parameter 2 has c, two kinds of possibility parameter values of d, and parameter 3 has e, two kinds of possibility parameter values of f, and the corresponding relation that can set in advance between message bubble pattern and the possible parameter value of parameter 1~3 can comprise corresponding relation as shown in table 4 below:
Table 4
Message bubble pattern Parameter 1 Parameter 2 Parameter 3
Pattern 1 a c、d e、f
Pattern 2 b c e
Pattern 3 b d f
; if filter out identical parameters, it is parameter 1; the parameter value of parameter 1 in the first parameter information is a; so according to the corresponding relation shown in table 4; the message bubble pattern that parameter value a is corresponding is pattern 1, if filter out identical parameters, is parameter 1, and the parameter value of parameter 1 in the first parameter information is b; according to the corresponding relation shown in table 4, the message bubble pattern that parameter value b is corresponding is pattern 2 and pattern 3 so.
In the third possible implementation, the parameter value according to the identical parameters filtering out in the first parameter information determines that message bubble pattern can comprise:
From the identical parameters filtering out, obtain at least one identical parameters;
Parameter value according at least one identical parameters getting in the first parameter information is determined message bubble pattern.
Wherein, from the identical parameters filtering out, obtaining at least one identical parameters can comprise:
According to the parameter acquiring order setting in advance, from the identical parameters filtering out, obtain at least one identical parameters; Or, from the identical parameters filtering out, obtain at random at least one identical parameters.
For example, suppose that identical parameters comprises: parameter 1~parameter 5, the quantity of the identical parameters of obtaining is 2, if the parameter acquiring setting in advance is sequentially: parameter 3, parameter 1, parameter 2, so, the parameter acquiring setting in advance according to this is sequentially got parms to 3 and parameter 1; If parameters does not obtain order in advance, can from parameter 1~5, obtain arbitrarily two kinds of parameters.
Wherein, according at least one identical parameters getting, the parameter value in the first parameter information determines that message bubble pattern can comprise:
Obtain message bubble pattern; Determine the possible parameter value of at least one identical parameters and the corresponding relation between message bubble pattern; According to corresponding relation, determine the corresponding message bubble of the parameter value of at least one identical parameters in the first parameter information pattern; Or,
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and the first parameter information and the second parameter information; According to described corresponding relation, determine the corresponding message bubble of the parameter value of at least one identical parameters in the first parameter information pattern.
Wherein, parameter value according at least one identical parameters getting in the first parameter information determines that two kinds of implementations of corresponding message bubble pattern can be with reference to implementation and the possible implementation of the second that in this step, aforesaid the first is possible, difference is only in the third possible implementation, the identical parameters filtering out in step S503 is further screened, thereby in the possible implementation of the implementation that the first is possible and the second, be that the parameter value in the first parameter information is determined message bubble pattern according to all identical parameters that filter out, in the third possible implementation, according at least one identical parameters further getting from all identical parameters, the parameter value in the first parameter information is determined message bubble pattern.
In the present embodiment, from the first parameter information and the second parameter information, obtain identical parameters, identical parameters is screened, parameter value according to the identical parameters filtering out in the first parameter information is determined message bubble pattern, the message bubble pattern that the message sending to issue object definite message bubble pattern as user is used, thereby the message bubble pattern that the message that user sends to issue object is used no longer by system default, is specified or user specifies, but dynamically determine according to the second parameter information of the first parameter information of user and issue object, while making user send message, the message bubble pattern of display message can be followed chat environment and the dynamic change of issue object, improve the resolution of message that user sends and the visual effect that message shows.
Fig. 6 is that this device 600 can comprise acquiring unit 610 and determining unit 620 according to the control device schematic diagram of a kind of message bubble pattern shown in an exemplary embodiment, wherein,
Described acquiring unit 610, is configured to obtain the first parameter information of user and the second parameter information of issue object; Described the first parameter information comprises the parameter value of at least one parameter of user; Described the second parameter information comprises the parameter value of at least one parameter of issuing object;
Described determining unit 620, described the first parameter information and described the second parameter information that are configured to obtain according to described acquiring unit 610 are determined the message bubble pattern that described user uses to the message of described issue object transmission.
Alternatively, described determining unit 620 can comprise:
Computation subunit, is configured to calculate according to described the first parameter information and described the second parameter information described user's pattern value;
First determines subelement, is configured to determine according to message bubble pattern corresponding to described user's pattern value the message bubble pattern that described user uses to the message of described issue object transmission.
Alternatively, described first determines that subelement specifically can be configured to:
According to described the first parameter information and described the second parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm+b1*Y1+…+bn*Yn;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Y1 ..., Yn is the parameter value of each parameter in described the second parameter information, n is the sum of included parameter value in described the second parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m; Bj is the weighted value of parameter under parameter value Yj, and j gets all integers from 1 to n.
Alternatively, described first determines that subelement specifically can be configured to:
According to described the second parameter information, determine the weighted value of each parameter in the first parameter information;
According to the weighted value of each parameter in described the first parameter information and the first parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m.
Alternatively, described determining unit 620 can comprise:
First obtains subelement, is configured to obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information;
Second determines subelement, be configured to determine according to described corresponding relation the corresponding message bubble of the parameter value pattern of each parameter in described the first parameter information and described the second parameter information, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
Alternatively, described determining unit 620 can comprise:
Second obtains subelement, is configured to obtain identical parameters from described the first parameter information and described the second parameter information, and described identical parameters refers to the parameter being simultaneously included in described the first parameter information and described the second parameter information;
Screening subelement, is configured to for identical parameters described in each, if this identical parameters is different with the parameter value in the second parameter information at the first parameter information, filters out this identical parameters;
The 3rd determines subelement, be configured to the parameter value in described the first parameter information according to the described identical parameters filtering out and determine message bubble pattern, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
Alternatively, the described the 3rd determines that subelement is specifically configured to:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of the described identical parameters filtering out and obtaining; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information; Or,
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information.
Alternatively, the described the 3rd determines that subelement can comprise:
Acquisition module, is configured to obtain at least one identical parameters the described identical parameters from filtering out;
Determination module, is configured to the parameter value in described the first parameter information according to described at least one identical parameters getting and determines message bubble pattern.
Alternatively, described determination module specifically can be configured to:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of described at least one identical parameters and obtaining; The corresponding message bubble of parameter value pattern according to definite described at least one identical parameters getting of described corresponding relation in described the first parameter information; Or,
Obtain the message bubble pattern that sets in advance and the corresponding relation between the possible parameter value of each parameter; According to described corresponding relation, determine the parameter value corresponding message bubble pattern of described at least one identical parameters in described the first parameter information.
Alternatively, described acquisition module specifically can be configured to:
According to the parameter acquiring order setting in advance, from the described identical parameters filtering out, obtain at least one identical parameters; Or,
From the described identical parameters filtering out, obtain at least one identical parameters at random.
In the present embodiment, the message bubble pattern that the message that user sends to issue object is used no longer by system default, is specified or user specifies, but dynamically determine according to the second parameter information of the first parameter information of user and issue object, while making user send message, the message bubble pattern of display message can be followed chat environment and the dynamic change of issue object, improves the resolution of message that user sends and the visual effect that message shows.
Fig. 7 is a kind of for showing the block diagram of the device 700 of associated person information according to shown in an exemplary embodiment.For example, device 700 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 7, device 700 can comprise following one or more assembly: processing components 702, storer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, I/O (I/O) interface 712, sensor module 714, and communications component 716.
The integrated operation of processing components 702 common control device 700, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 702 can comprise that one or more processors 720 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 702 can comprise one or more modules, is convenient to mutual between processing components 702 and other assemblies.For example, processing components 702 can comprise multi-media module, to facilitate mutual between multimedia groupware 708 and processing components 702.
Storer 704 is configured to store various types of data to be supported in the operation of device 700.The example of these data comprises for any application program of operation on device 700 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 704 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
Power supply module 706 provides electric power for installing 700 various assemblies.Power supply module 706 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 700.
Multimedia groupware 708 is included in the screen that an output interface is provided between described device 700 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 708 comprises a front-facing camera and/or post-positioned pick-up head.When device 700 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to output and/or input audio signal.For example, audio-frequency assembly 710 comprises a microphone (MIC), and when device 700 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 704 or be sent via communications component 716.In certain embodiments, audio-frequency assembly 710 also comprises a loudspeaker, for output audio signal.
I/O interface 712 is for providing interface between processing components 702 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 714 comprises one or more sensors, is used to device 700 that the state estimation of various aspects is provided.For example, sensor module 714 can detect the opening/closing state of device 700, the relative positioning of assembly, for example described assembly is display and the keypad of device 700, the position of all right pick-up unit 700 of sensor module 714 or 700 1 assemblies of device changes, user is with device 700 existence that contact or do not have the temperature variation of device 700 orientation or acceleration/deceleration and device 700.Sensor module 714 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 714 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 714 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to be convenient to the communication of wired or wireless mode between device 700 and other equipment.Device 700 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 716 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 716 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 704 of instruction, above-mentioned instruction can have been carried out said method by the processor 720 of device 700.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A non-provisional computer-readable recording medium, when the instruction in described storage medium is carried out by the processor of client or server, makes client or server can carry out a kind of control method of message bubble pattern, and described method comprises:
Obtain the first parameter information of user and the second parameter information of issue object; Described the first parameter information comprises the parameter value of at least one parameter of user; Described the second parameter information comprises the parameter value of at least one parameter of issuing object;
According to described the first parameter information and described the second parameter information, determine the message bubble pattern that described user uses to the message of described issue object transmission.
Fig. 8 is the structural representation of server in disclosure embodiment.This server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922 (for example, one or more processors) and storer 1932, the storage medium 1930 (for example one or more mass memory units) of one or more storage application programs 1942 or data 1944.Wherein, storer 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on server 1900.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more IO interface 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, Windows ServerTM for example, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. a control method for message bubble pattern, is characterized in that, described method comprises:
Obtain the first parameter information of user and the second parameter information of issue object; Described the first parameter information comprises the parameter value of at least one parameter of user; Described the second parameter information comprises the parameter value of at least one parameter of issuing object;
According to described the first parameter information and described the second parameter information, determine the message bubble pattern that described user uses to the message of described issue object transmission.
2. method according to claim 1, is characterized in that, describedly according to described the first parameter information and described the second parameter information, determines the message bubble pattern that message that described user sends to described issue object is used, and comprising:
According to described the first parameter information and described the second parameter information, calculate described user's pattern value;
According to message bubble pattern corresponding to described user's pattern value, determine the message bubble pattern that described user uses to the message of described issue object transmission.
3. method according to claim 2, is characterized in that, the described pattern value of calculating described user according to described the first parameter information and described the second parameter information, comprising:
According to described the first parameter information and described the second parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm+b1*Y1+…+bn*Yn;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Y1 ..., Yn is the parameter value of each parameter in described the second parameter information, n is the sum of included parameter value in described the second parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m; Bj is the weighted value of parameter under parameter value Yj, and j gets all integers from 1 to n.
4. method according to claim 2, is characterized in that, the described pattern value of calculating described user according to described the first parameter information and described the second parameter information, comprising:
According to described the second parameter information, determine the weighted value of each parameter in the first parameter information;
According to the weighted value of each parameter in described the first parameter information and described the first parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m.
5. method according to claim 1, is characterized in that, describedly according to described the first parameter information and described the second parameter information, determines the message bubble pattern that message that described user sends to described issue object is used, and comprising:
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information;
According to described corresponding relation, determine the corresponding message bubble of the parameter value pattern of each parameter in described the first parameter information and described the second parameter information, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
6. method according to claim 1, is characterized in that, describedly according to described the first parameter information and described the second parameter information, determines the message bubble pattern that message that described user sends to described issue object is used, and comprising:
From described the first parameter information and described the second parameter information, obtain identical parameters, described identical parameters refers to the parameter being simultaneously included in described the first parameter information and described the second parameter information;
For identical parameters described in each, if this identical parameters is different with the parameter value in the second parameter information at the first parameter information, filter out this identical parameters;
Parameter value according to the described identical parameters filtering out in described the first parameter information is determined message bubble pattern, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
7. method according to claim 6, is characterized in that, the parameter value of the described identical parameters that described basis filters out in described the first parameter information determined message bubble pattern, comprising:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of the described identical parameters filtering out and obtaining; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information; Or,
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information.
8. method according to claim 6, is characterized in that, the parameter value of the described identical parameters that described basis filters out in described the first parameter information determined message bubble pattern, comprising:
From the described identical parameters filtering out, obtain at least one identical parameters;
Parameter value according to described at least one identical parameters getting in described the first parameter information is determined message bubble pattern.
9. method according to claim 8, is characterized in that, the parameter value of described at least one identical parameters that described basis gets in described the first parameter information determined message bubble pattern, comprising:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of described at least one identical parameters and obtaining; The corresponding message bubble of parameter value pattern according to definite described at least one identical parameters getting of described corresponding relation in described the first parameter information; Or,
Obtain the message bubble pattern that sets in advance and the corresponding relation between the possible parameter value of each parameter; According to described corresponding relation, determine the parameter value corresponding message bubble pattern of described at least one identical parameters in described the first parameter information.
10. method according to claim 8 or claim 9, is characterized in that, describedly from the described identical parameters filtering out, obtains at least one identical parameters, comprising:
According to the parameter acquiring order setting in advance, from the described identical parameters filtering out, obtain at least one identical parameters; Or,
From the described identical parameters filtering out, obtain at least one identical parameters at random.
The control device of 11. 1 kinds of message bubble patterns, is characterized in that, described device comprises acquiring unit and determining unit, wherein,
Described acquiring unit, is configured to obtain the first parameter information of user and the second parameter information of issue object; Described the first parameter information comprises the parameter value of at least one parameter of user; Described the second parameter information comprises the parameter value of at least one parameter of issuing object;
Described determining unit, described the first parameter information and described the second parameter information that are configured to obtain according to described acquiring unit are determined the message bubble pattern that described user uses to the message of described issue object transmission.
12. devices according to claim 11, is characterized in that, described determining unit comprises:
Computation subunit, is configured to calculate according to described the first parameter information and described the second parameter information described user's pattern value;
First determines subelement, is configured to determine according to message bubble pattern corresponding to described user's pattern value the message bubble pattern that described user uses to the message of described issue object transmission.
13. devices according to claim 12, is characterized in that, described first determines that subelement is specifically configured to:
According to described the first parameter information and described the second parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm+b1*Y1+…+bn*Yn;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Y1 ..., Yn is the parameter value of each parameter in described the second parameter information, n is the sum of included parameter value in described the second parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m; Bj is the weighted value of parameter under parameter value Yj, and j gets all integers from 1 to n.
14. devices according to claim 12, is characterized in that, described first determines that subelement is specifically configured to:
According to described the second parameter information, determine the weighted value of each parameter in the first parameter information;
According to the weighted value of each parameter in described the first parameter information and the first parameter information, use following formula to calculate described user's pattern value:
L=a1*X1+…+am*Xm;
Wherein, the pattern value that L is described user; X1 ..., Xm is the parameter value of each parameter in described the first parameter information, m is the sum of included parameter value in described the first parameter information; Ai is the weighted value of parameter under parameter value Xi, and i gets all integers from 1 to m.
15. devices according to claim 11, is characterized in that, described determining unit comprises:
First obtains subelement, is configured to obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information;
Second determines subelement, be configured to determine according to described corresponding relation the corresponding message bubble of the parameter value pattern of each parameter in described the first parameter information and described the second parameter information, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
16. devices according to claim 11, is characterized in that, described determining unit comprises:
Second obtains subelement, is configured to obtain identical parameters from described the first parameter information and described the second parameter information, and described identical parameters refers to the parameter being simultaneously included in described the first parameter information and described the second parameter information;
Screening subelement, is configured to for identical parameters described in each, if this identical parameters is different with the parameter value in the second parameter information at the first parameter information, filters out this identical parameters;
The 3rd determines subelement, be configured to the parameter value in described the first parameter information according to the described identical parameters filtering out and determine message bubble pattern, the message bubble pattern that the message sending to described issue object definite message bubble pattern as described user is used.
17. devices according to claim 16, is characterized in that, the described the 3rd determines that subelement is specifically configured to:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of the described identical parameters filtering out and obtaining; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information; Or,
Obtain the corresponding relation between the possible parameter value of each parameter in the message bubble pattern that sets in advance and described the first parameter information and described the second parameter information; The corresponding message bubble of parameter value pattern according to the definite described identical parameters filtering out of described corresponding relation in described the first parameter information.
18. devices according to claim 16, is characterized in that, the described the 3rd determines that subelement comprises:
Acquisition module, is configured to obtain at least one identical parameters the described identical parameters from filtering out;
Determination module, is configured to the parameter value in described the first parameter information according to described at least one identical parameters getting and determines message bubble pattern.
19. devices according to claim 18, is characterized in that, described determination module is specifically configured to:
Obtain message bubble pattern; Corresponding relation between the described message bubble pattern of determining the possible parameter value of described at least one identical parameters and obtaining; The corresponding message bubble of parameter value pattern according to definite described at least one identical parameters getting of described corresponding relation in described the first parameter information; Or,
Obtain the message bubble pattern that sets in advance and the corresponding relation between the possible parameter value of each parameter; According to described corresponding relation, determine the parameter value corresponding message bubble pattern of described at least one identical parameters in described the first parameter information.
20. according to the device described in claim 18 or 19, it is characterized in that, described acquisition module is specifically configured to:
According to the parameter acquiring order setting in advance, from the described identical parameters filtering out, obtain at least one identical parameters; Or,
From the described identical parameters filtering out, obtain at least one identical parameters at random.
CN201410255064.6A 2014-06-10 2014-06-10 Control method and device for message bubble style Pending CN104077030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410255064.6A CN104077030A (en) 2014-06-10 2014-06-10 Control method and device for message bubble style

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410255064.6A CN104077030A (en) 2014-06-10 2014-06-10 Control method and device for message bubble style

Publications (1)

Publication Number Publication Date
CN104077030A true CN104077030A (en) 2014-10-01

Family

ID=51598328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410255064.6A Pending CN104077030A (en) 2014-06-10 2014-06-10 Control method and device for message bubble style

Country Status (1)

Country Link
CN (1) CN104077030A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991706A (en) * 2015-07-17 2015-10-21 小米科技有限责任公司 Chat information exhibition method and device
CN110456964A (en) * 2019-07-26 2019-11-15 天脉聚源(杭州)传媒科技有限公司 A kind of adaptive chat bubble display methods, system, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018137A (en) * 2006-02-11 2007-08-15 腾讯科技(深圳)有限公司 A method for pushing the chat scenario to the instant communication UI
US20080307322A1 (en) * 2007-06-08 2008-12-11 Michael Stochosky Presenting text messages
CN102298628A (en) * 2011-08-29 2011-12-28 上海量明科技发展有限公司 Method, terminal and system for providing background information in instant communication
CN102622180A (en) * 2012-03-09 2012-08-01 腾讯科技(深圳)有限公司 Display control method of interactive interface and instant messaging tool
KR20130094927A (en) * 2012-02-17 2013-08-27 (주)카카오 A method of providing a visual representation in a speech bubble including instant message and mobile terminal thereof
CN103825806A (en) * 2014-03-06 2014-05-28 华为技术有限公司 Display style adjusting method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018137A (en) * 2006-02-11 2007-08-15 腾讯科技(深圳)有限公司 A method for pushing the chat scenario to the instant communication UI
US20080307322A1 (en) * 2007-06-08 2008-12-11 Michael Stochosky Presenting text messages
CN102298628A (en) * 2011-08-29 2011-12-28 上海量明科技发展有限公司 Method, terminal and system for providing background information in instant communication
KR20130094927A (en) * 2012-02-17 2013-08-27 (주)카카오 A method of providing a visual representation in a speech bubble including instant message and mobile terminal thereof
CN102622180A (en) * 2012-03-09 2012-08-01 腾讯科技(深圳)有限公司 Display control method of interactive interface and instant messaging tool
CN103825806A (en) * 2014-03-06 2014-05-28 华为技术有限公司 Display style adjusting method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991706A (en) * 2015-07-17 2015-10-21 小米科技有限责任公司 Chat information exhibition method and device
CN110456964A (en) * 2019-07-26 2019-11-15 天脉聚源(杭州)传媒科技有限公司 A kind of adaptive chat bubble display methods, system, device and storage medium

Similar Documents

Publication Publication Date Title
US10152207B2 (en) Method and device for changing emoticons in a chat interface
EP2977926A1 (en) Method and device for verification using verification code
CN104267877B (en) The display methods and device of expression picture, electronic equipment
CN104614998A (en) Method and device for controlling household equipment
CN103944804A (en) Contact recommending method and device
CN104301610B (en) Image taking control metho and device
US20170279898A1 (en) Method for Accessing Virtual Desktop and Mobile Terminal
CN105516586A (en) Picture shooting method, device and system
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN106157005A (en) The distribution method of the red packet amount of money and device
CN107948093A (en) Adjust the method and device that network speed is applied in terminal device
CN105825490A (en) Gaussian blur method and device of image
CN105678266A (en) Method and device for combining photo albums of human faces
CN105094539B (en) Reference information display methods and device
CN107959755B (en) Photographing method, mobile terminal and computer readable storage medium
US10356160B2 (en) Methods and devices for acquiring user information
CN107404429A (en) Circle of friends answering method, device and computer-readable recording medium
CN103905837A (en) Image processing method and device and terminal
CN104883603B (en) Control method for playing back, system and terminal device
CN104504026A (en) Method and device for recommending friends
CN105654470A (en) Image selection method, device and system
CN104077030A (en) Control method and device for message bubble style
CN104219360A (en) Information processing method and device
CN106936986A (en) Application processing method and device
CN106454540A (en) Interactive information processing method and apparatus based on live broadcasting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141001