CN109522076A - Show the method, apparatus and storage medium of chat message - Google Patents

Show the method, apparatus and storage medium of chat message Download PDF

Info

Publication number
CN109522076A
CN109522076A CN201811355607.6A CN201811355607A CN109522076A CN 109522076 A CN109522076 A CN 109522076A CN 201811355607 A CN201811355607 A CN 201811355607A CN 109522076 A CN109522076 A CN 109522076A
Authority
CN
China
Prior art keywords
brightness
color
chat message
level
chatting object
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
CN201811355607.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.)
Shenzhen Yunge Artificial Intelligence Technology Co Ltd
Original Assignee
Shenzhen Yunge Artificial Intelligence Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yunge Artificial Intelligence Technology Co Ltd filed Critical Shenzhen Yunge Artificial Intelligence Technology Co Ltd
Priority to CN201811355607.6A priority Critical patent/CN109522076A/en
Publication of CN109522076A publication Critical patent/CN109522076A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of method, apparatus and storage medium for showing chat message.The first chat message that chatting object sends is received including from server;The first chat message is shown with the first color in chat interface, wherein the first color has the first brightness;Receive the second chat message of user's input;And the second chat message is shown with the second color in chat interface, wherein the second color has the second brightness, and wherein the first brightness is lower than the second brightness.There is no higher identification to solve the chat message of each chatting object present in current techniques in display, be easy to cause and mistake object and important information is easy the technical issues of being missed.

Description

Show the method, apparatus and storage medium of chat message
Technical field
This application involves being related to Internet technical field, more particularly to a kind of method, apparatus for showing chat message with And storage medium.
Background technique
With the continuous development of development of Mobile Internet technology, also more and more, the net in such a way that network carries out information interchange Network chat with its convenient and efficient advantage at low cost, promptly popularize come, have great convenience for the user between exchange, so And it is adjoint and the problem of be that present user job rhythm is caused to be getting faster, task to be processed is more and more, receives All kinds of notification messages it is also corresponding more and more, the chatting object faced is also more and more.
Currently, chat software is generally name and head portrait to the method that chatting object distinguishes, in display chat content Interface on be almost the same.Easily make in this way user in chat process because only focus on content without pay close attention to title and Head portrait causes often to mistake information, moreover, the title of some chatting objects and head portrait similarity are very high, also be easy to cause and mistakes pair As the phenomenon that.
Also, with being increasing for internet exchange information, important information is flooded by various junk information, it is easy to quilt User ignores omission.
There is no higher identification in display for the chat message of above-mentioned each chatting object, be easy to cause and mistake pair As the technical issues of, important information is easy the technical issues of being missed, and currently no effective solution has been proposed.
Summary of the invention
Embodiment of the disclosure provides a kind of method, apparatus and storage medium for showing chat message, at least to solve The chat message of each chatting object certainly existing in the prior art does not have higher identification in display, be easy to cause and mistakes pair As and important information be easy the technical issues of being missed.
According to the one aspect of the embodiment of the present disclosure, a kind of method for showing chat message is provided, comprising:
The first chat message that chatting object sends is received from server.First is shown in chat interface with the first color Chat message, wherein the first color has the first brightness.Receive the second chat message of user's input.And in chat interface In the second chat message shown with the second color, wherein the second color has the second brightness, and wherein the first brightness ratio Second brightness is low.
According to the other side of the embodiment of the present disclosure, a kind of storage medium is additionally provided, storage medium includes storage Program, wherein the method for executing any of the above one by processor in program operation.
According to the other side of the embodiment of the present disclosure, a kind of display chat message device is additionally provided, comprising:
First receiving module, for receiving the first chat message that chatting object sends from server.First display module, For showing the first chat message in chat interface with the first color, wherein the first color has the first brightness.Second connects Module is received, for receiving the second chat message of user's input.And second display module, in chat interface with second Color shows the second chat message, wherein the second color has the second brightness, and wherein the first brightness is brighter than second It spends low.
According to the other side of the embodiment of the present disclosure, a kind of device for showing chat message is additionally provided, comprising: processing Device and memory, connect with processor, for providing the instruction for handling following processing step for processor: connecing from server Receive the first chat message that chatting object sends.The first chat message is shown with the first color in chat interface, wherein first Color has the first brightness.Receive the second chat message of user's input.And it is shown in chat interface with the second color Second chat message, wherein the second color has the second brightness, and wherein the first brightness is lower than the second brightness.
In the embodiments of the present disclosure, it is become clear by the chat message to different chatting objects with different colors is different Degree display, and the brightness of the information of chatting object is lower than the brightness of user's chat message, improves the knowledge of chatting object It does not spend.Also, it is different from the color and brightness of display chatting object's information to important vocabulary, thus prominent important vocabulary, Be conducive to quick obtaining important information.Do not have to solve the chat message of each chatting object present in current techniques in display There is higher identification, be easy to cause and mistake object and important information is easy the technical issues of being missed.
Detailed description of the invention
Attached drawing described herein is used to provide further understanding of the disclosure, constitutes part of this application, this public affairs The illustrative embodiments and their description opened do not constitute the improper restriction to the disclosure for explaining the disclosure.In the accompanying drawings:
Fig. 1 be for realizing according to the embodiment of the present disclosure 1 realization display chat message method [terminal (or Mobile device)] hardware block diagram;
Fig. 2 is the schematic diagram that the system of chat message is shown according to the embodiment of the present disclosure 1;
Fig. 3 is the flow diagram that chat message method is shown according to the embodiment of the present disclosure 1;
Fig. 4 is the schematic diagram that chat message device is shown according to the embodiment of the present disclosure 2;And
Fig. 5 is the schematic diagram that chat message device is shown according to the embodiment of the present disclosure 3.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution of the disclosure, implement below in conjunction with the disclosure Attached drawing in example, is clearly and completely described the technical solution in the embodiment of the present disclosure.Obviously, described embodiment The only embodiment of disclosure a part, instead of all the embodiments.Based on the embodiment in the disclosure, this field is common Disclosure protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
It should be noted that the specification and claims of the disclosure and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiment of the disclosure described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to the present embodiment, a kind of embodiment of the method for showing chat message is additionally provided, it should be noted that in attached drawing Process the step of illustrating can execute in a computer system such as a set of computer executable instructions, although also, Logical order is shown in flow charts, but in some cases, can be executed with the sequence for being different from herein it is shown or The step of description.
Embodiment of the method provided by the present embodiment can be in mobile terminal, terminal or similar arithmetic unit Middle execution.Fig. 1 shows a kind of hardware block diagram of mobile device for realizing display chat message.As shown in Figure 1, moving Dynamic equipment 10 may include one or more (using 102a, 102b ... ... in figure, 102n to show) (processing of processor 102 Device 102 can include but is not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), for storing number According to memory 104 and for the transmission module 106 of communication function.In addition to this, can also include: display screen, input/ Output interface (I/O interface), the port universal serial bus (USB) (can be used as a port quilt in the port of I/O interface Including), network interface, power supply and/or camera.It will appreciated by the skilled person that structure shown in FIG. 1 is only to show Meaning, does not cause to limit to the structure of above-mentioned electronic device.For example, mobile device 10 may also include it is more than shown in Fig. 1 Perhaps less component or with the configuration different from shown in Fig. 1.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to meter In any one in other elements in calculation machine terminal 10 (or mobile device).As involved in the embodiment of the present disclosure, The data processing circuit controls (such as the selection for the variable resistance end path connecting with interface) as a kind of processor.
Memory 104 can be used for storing the software program and module of application software, such as one of embodiment of the present disclosure Show that the corresponding program instruction/data storage device of method of chat message, processor 102 are stored in memory by operation Software program and module in 104 realize above-mentioned application program thereby executing various function application and data processing A kind of display chat message method.Memory 104 may include high speed random access memory, may also include non-volatile memories Device, such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, it deposits Reservoir 104 can further comprise the memory remotely located relative to processor 102, these remote memories can pass through network It is connected to terminal 10.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, moves and lead to Letter net and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes a network Adapter (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to It is communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, It is used to wirelessly be communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with The user interface of terminal 10 (or mobile device) interacts.
Herein it should be noted that in some optional embodiments, above-mentioned computer equipment shown in FIG. 1 (or movement is set It is standby) it may include hardware element (including circuit), software element (including the computer generation that may be stored on the computer-readable medium Code) or both hardware element and software element combination.It should be pointed out that Fig. 1 is only a reality of particular embodiment Example, and it is intended to show that the type for the component that may be present in above-mentioned computer equipment (or mobile device).
Fig. 2 be with execute a kind of equipment of the method for display chat message according to the present embodiment use show It is intended to.Referring to shown in Fig. 2, which includes: server 10, client 20 and chatting object 30.
Under above-mentioned running environment, according to the first aspect of the present embodiment, a kind of side for showing chat message is provided Method, this method are realized by client 20 shown in Fig. 2.It should be noted that institute in applicable Fig. 1 of client 20 in system The hardware configuration stated.Fig. 3 shows the flow diagram of this method, refering to what is shown in Fig. 3, this method comprises:
S302: the first chat message that chatting object sends is received from server;
S304: showing the first chat message in chat interface with the first color, wherein the first color has first to become clear Degree;
S306: the second chat message of user's input is received;And
S308: showing the second chat message in chat interface with the second color, wherein the second color has second to become clear Degree, and wherein the first brightness is lower than the second brightness.
Specifically, refering to what is shown in Fig. 2, chatting object 30 sends the chat message that target is client 20 to server 10, After server 10 receives chat message, it is sent to client 20, after client 20 receives the chat message that server 10 forwards, The color with the first brightness is used to show chat message in chat interface.User passes through the input unit of client 20 input the Two chat messages, client 20 receives the information of user's input, and is shown with the color with the second brightness in chat interface. Also, the first brightness is lower than the second brightness.
, can be in chat interface by being shown with the color with different brightness by this programme, it can be more square The difference that will pass through color and brightness quickly quickly identifies chatting object's information, and being no longer can only be by chat The title of object, head portrait distinguish.Also, only need to pay close attention to chat content in chat process can carry out chatting object It distinguishes, user experience can be improved, and substantially reduce generation the case where information wrong chatting object, also, after the wrong information of hair Be conducive to find to be handled in time.This programme is that the chat message of each chatting object in the prior art is no higher in display Identification, be easy to cause the technical issues of mistaking object, provide an effective solution scheme.
Optionally, the operation of the first chat message is shown with the first color in chat interface, comprising: determine chatting object Priority.According to the priority of chatting object, the first brightness of the first color is determined.And with first in chat interface Color shows the first chat message.
Specifically, it as shown in Fig. 2, client 20 shows the operation of the first chat message with the first color, including to determine The priority of chatting object 30 determines the first of the first color according to priority after the priority for determining chatting object 30 Brightness, and first chat message is shown with the first color on the chat interface of client 20.
Optionally it is determined that the operation of the priority of chatting object, comprising: obtain the following parameter information of chatting object: living The matching degree of business between jerk and the cohesion of user, credit worthiness and user and the distance between with user.And The priority of chatting object is determined according to the following formula:
Prio_level=w1*act_level+w2*inti_level+w3*cred_level+w4*match_level+ w5* (1) distance_level, wherein prio_level indicates that the priority of chatting object, act_level indicate chat pair Active degree, the inti_level of elephant indicate that the cohesion of chatting object and user, cred_level indicate the letter of chatting object Reputation degree, match_level indicate that the matching degree of the business of chatting object and user and distance_level indicate chat pair As the distance between with user, and w1、w2、w3And w4Respectively indicate weighted value corresponding with above-mentioned each parameter information.
Specifically, client 20 determines the operation of the priority of chatting object, the following ginseng including obtaining chatting object 30 Number information: the matching degree of the business between the cohesion of liveness and user, credit worthiness and user and between user Distance.And the priority of chatting object is determined according to the following formula:
Prio_level=w1*act_level+w2*inti_level+w3*cred_level+w4*match_level+ w5* (1) distance_level, wherein prio_level indicates that the priority of chatting object, act_level indicate chat pair Active degree, the inti_level of elephant indicate that the cohesion of chatting object and user, cred_level indicate the letter of chatting object Reputation degree, match_level indicate that the matching degree of the business of chatting object and user and distance_level indicate chat pair As the distance between with user, and w1、w2、w3And w4Respectively indicate weighted value corresponding with above-mentioned each parameter information.
In addition, the matching of the liveness and the cohesion of user of chatting object 30, business between credit worthiness and user Degree and being configured by user with the distance between user determines, can also by network progress information extraction and Statistics determination is carried out to history chat message.w1、w2、w3And w4Weighted value corresponding with above-mentioned each parameter information is respectively indicated, It can be and be more suitble to public weighted value built in client 20, it can also be by user according to the spy of oneself practical emphasis Point, to w1、w2、w3And w4It is configured.
Optionally, according to the priority of chatting object, determine the operation of the first brightness of the first color, including the use of with Lower formula determines the first brightness according to the priority of chatting object:
Wherein, Y1For the first brightness, Y2It is pre-set greatest priority for the second brightness, prio_level_max.
Specifically, client 20 is utilized and according to the second brightness, is preset according to priority using following formula (2) Maximum brightness and client 20 determine chatting object priority, calculate the first brightness.
In addition, maximum brightness can be and preset constant brightness value by system or user, it is also possible to client 20 According to the numerical value that the habit of user calculates, specifically suitable brightness, and client can be adjusted in client 20 by user End 20 is compared according to brightness and ambient enviroment light brightness, calculated brightness value.Also, in addition it is also possible to according to User adjusts suitable brightness in client 20, and brightness is compared with current environment light and obtains a ratio, root Ratio tune adjusts the first brightness under different ambient lights accordingly, can make to show under the brighter environment of light in this way Brightness it is higher, show that brightness is lower in the environment of dark.By this scheme, in the base for improving information identification degree On plinth, system calculates brightness automatically according to ambient enviroment, has both guaranteed that information can clearly be shown, can also protect the eyes from strong Light injury.
Optionally, it according to pre-set words set, is inquired in the first chat message and the words in words set Matched words.And matched words is shown with third color, the wherein third brightness Yu the first brightness of third color It is different.
Specifically, client 20 is according to pre-set words set, inquiry and words set in the first chat message In the matched words of words.And after inquiring matched words, is shown in chat interface with third color and inquired The matched words of institute.Also, wherein the third brightness of third color is different from the first brightness.It, can be right by this scheme The words that some users more pay close attention to is shown with different brightness, so that being easier to pick out, so that giving prominence to the key points, can be accelerated User's reading rate, quick obtaining important information.
In addition, words intersection, which can be, is arranged sensitive vocabulary according to oneself Focus Area difference by user, be also possible to by Client 20 can also be that client 20 is united according to user's history chat message according to the hot spot vocabulary of current social focus statistics The common words of meter, and be hot spot vocabulary of the client 20 according to the Focus Area automatic screening of user setting.
Optionally, the operation that matched words is shown with third color further includes determining third color according to following operation Third brightness: obtain the significance level parameter for identifying the significance level of matched words;And according to acquired important Extent index determines third brightness using following formula:
Wherein, Y1For the first brightness, Y3For third brightness, YMaxFor pre-set maximum brightness, import_ Level is the significance level parameter of matched words and import_level_max is pre-set significance level parameter Maximum value.
Specifically, in the present embodiment, client 20 obtains the operation of the third brightness of third color are as follows: according to being obtained The significance level parameter taken, utilizes formula (3)
Calculate third brightness.In formula, Y1For the first brightness, Y3For third brightness, YMaxIt is bright for pre-set maximum Brightness, import_level are the significance level parameter of matched words and import_level_max is pre-set The maximum value of significance level parameter.In the present embodiment, in order to improve the resolution of matched words, by the bright of matched words Degree and the brightness of display first message carry out difference design, also, can be derived according to formula, are more important words, Brightness difference is bigger, in the present solution, the brightness of more important word is higher relative to the brightness of first message.
Optionally, the operation that matched words is shown with third color further includes determining third color according to following operation Third brightness: obtain the significance level parameter for identifying the significance level of matched words;And according to acquired important Extent index determines third brightness using following formula:
Wherein, Y1For the first brightness, Y3It is the significance level of matched words for third brightness and import_level Parameter.
Specifically, in the present embodiment, client 20 obtains the operation of the third brightness of third color are as follows: client 20 Obtain institute matched words significance level parameter, and according to acquisition according to acquired significance level parameter, utilize formula
Calculate third brightness.In formula, Y1For the first brightness, Y3It is matching for third brightness and import_level Words significance level parameter.In the present embodiment, in order to improve the resolution of matched words, by the bright of matched words Degree and the brightness of display first message carry out difference design, also, can be derived according to formula, are more important words, Brightness difference is bigger, in the present solution, the brightness of more important word is lower relative to the brightness of first message.
In addition, providing a kind of storage medium according to the second aspect of the present embodiment.Storage medium includes the journey of storage Sequence, wherein the method for executing any of the above one by processor in program operation.
To be become clear by the chat message to different chatting objects with different colors is different according to the present embodiment Degree display, and the brightness of the information of chatting object is lower than the brightness of user's chat message, improves the knowledge of chatting object It does not spend.Also, it is different from the color and brightness of display chatting object's information to important vocabulary, thus prominent important vocabulary, Be conducive to quick obtaining important information.Do not have to solve the chat message of each chatting object present in current techniques in display There is higher identification, be easy to cause and mistake object and important information is easy the technical issues of being missed.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) method that executes each embodiment of the present invention.
Embodiment 2
Fig. 4 show according to the present embodiment display chat message device 200, the device 200 with according to embodiment 1 The method of first aspect is corresponding.Refering to what is shown in Fig. 4, the device 200 includes: the first chat message receiving module 210: being used for The first chat message that chatting object sends is received from server;First color display module 220: in chat interface with First color shows the first chat message, wherein the first color has the first brightness;Second chat message receiving module 230: For receiving the second chat message of user's input;And second color display module 240: in chat interface with second Color shows the second chat message, wherein the second color has the second brightness, and wherein the first brightness is brighter than second It spends low.
Optionally, the first color display module 220 includes: that priority determines submodule: for determining that chatting object's is excellent First grade;First brightness determines submodule: for the priority according to chatting object, determining the first brightness of the first color; And the first color display sub-module: for showing the first chat message in chat interface with the first color.
Optionally, priority determines that submodule includes: parameter acquiring unit: the following parameter for obtaining chatting object is believed Breath: the matching degree of the business between the cohesion of liveness and user, credit worthiness and user and between user away from From;And priority determining unit: for determining the priority of chatting object according to the following formula:
Prio_level=w1*act_level+w2*inti_level+w3*cred_level+w4*match_level+ w5* (1) distance_level,
Wherein, prio_level indicate the priority of chatting object, act_level indicate chatting object active degree, Inti_level indicates that the cohesion of chatting object and user, cred_level indicate the credit worthiness of chatting object, match_ Level indicates that the matching degree of the business of chatting object and user and distance_level indicate between chatting object and user Distance, and w1、w2、w3And w4Respectively indicate weighted value corresponding with above-mentioned each parameter information.
Optionally, the first brightness determines that submodule includes: the first brightness determination unit: for utilizing following formula, According to the priority of chatting object, the first brightness is determined:
Wherein, Y1For the first brightness, Y2It is pre-set greatest priority for the second brightness, prio_level_max.
Optionally, in above-mentioned apparatus, further includes: enquiry module: for being chatted first according to pre-set words set It is inquired in its information and the matched words of words in words set;And third color display module: for third color Show matched words, wherein the third brightness of third color is different from the first brightness.
Optionally, third color display module includes the first submodule: for determining third color according to following operate Third brightness:
Obtain the significance level parameter for identifying the significance level of matched words;And
Third brightness is determined using following formula according to acquired significance level parameter:
Wherein, Y1For the first brightness, Y3For third brightness, YMaxFor pre-set maximum brightness, import_ Level is the significance level parameter of matched words and import_level_max is pre-set significance level parameter Maximum value.
Optionally, third color display module includes second submodule: for determining third color according to following operate Third brightness: the significance level parameter for identifying the significance level of matched words is obtained;And according to acquired important journey It spends parameter and determines third brightness using following formula:
Wherein, Y1For the first brightness, Y3It is the important journey of matched words for third brightness and import_level Spend parameter.
Thus according to the present embodiment, it is different with different colors to the chat message of different chatting objects by device Brightness is shown, and the brightness of the information of chatting object is lower than the brightness of user's chat message, improves chatting object Resolution.Also, it is different from the color and brightness of display chatting object's information to important vocabulary, thus prominent primary word It converges, is conducive to quick obtaining important information.It is being shown to solve the chat message of each chatting object present in current techniques When there is no higher identification, be easy to cause and mistake object and important information is easy the technical issues of being missed.
Embodiment 3
Fig. 5 shows a kind of device 300 of display chat message of the first aspect according to the present embodiment, the device 300 is corresponding with according to the method for first aspect of embodiment 1.Refering to what is shown in Fig. 5, the device 300 includes: processor 310; And memory 320, it is connect with processor 310, for providing the instruction for handling following processing step for processor 310: from clothes Business device receives the first chat message that chatting object sends;The first chat message is shown with the first color in chat interface, In the first color have the first brightness;Receive the second chat message of user's input;And with the second face in chat interface Color shows the second chat message, wherein the second color have the second brightness, and wherein the first brightness than the second brightness It is low.
Optionally, the operation of the first chat message is shown with the first color in chat interface, comprising: determine chatting object Priority;According to the priority of chatting object, the first brightness of the first color is determined;And with first in chat interface Color shows the first chat message.
Optionally it is determined that the operation of the priority of chatting object, comprising: obtain the following parameter information of chatting object: living The matching degree of business between jerk and the cohesion of user, credit worthiness and user and the distance between with user;And The priority of chatting object is determined according to the following formula:
Prio_level=w1*act_level+w2*inti_level+w3*cred_level+w4*match_level+ w5* (1) distance_level, wherein prio_level indicates that the priority of chatting object, act_level indicate chat pair Active degree, the inti_level of elephant indicate that the cohesion of chatting object and user, cred_level indicate the letter of chatting object Reputation degree, match_level indicate that the matching degree of the business of chatting object and user and distance_level indicate chat pair As the distance between with user, and w1、w2、w3And w4Respectively indicate weighted value corresponding with above-mentioned each parameter information.
Optionally, according to the priority of chatting object, determine the operation of the first brightness of the first color, including the use of with Lower formula determines the first brightness according to the priority of chatting object:
Wherein, Y1For the first brightness, Y2It is pre-set greatest priority for the second brightness, prio_level_max.
Optionally, in above-mentioned apparatus, further includes: according to pre-set words set, inquired in the first chat message With the matched words of words in words set;And matched words is shown with third color, the wherein third of third color Brightness is different from the first brightness.
Optionally, the operation that matched words is shown with third color further includes determining third color according to following operation Third brightness: obtain the significance level parameter for identifying the significance level of matched words;And according to acquired important Extent index determines third brightness using following formula:
Wherein, Y1For the first brightness, Y3For third brightness, YMaxFor pre-set maximum brightness, import_ Level is the significance level parameter of matched words and import_level_max is pre-set significance level parameter Maximum value.
Optionally, the operation that matched words is shown with third color further includes determining third color according to following operation Third brightness: obtain the significance level parameter for identifying the significance level of matched words;And according to acquired important Extent index determines third brightness using following formula:
Wherein, Y1For the first brightness, Y3It is the important journey of matched words for third brightness and import_level Spend parameter.
To execute the side of embodiment 1 by the program in 310 run memory 320 of processor according to the present embodiment Method shows the chat message of different chatting objects with the different brightness of different colors, and the information of chatting object Brightness be lower than user's chat message brightness, improve the resolution of chatting object.Also, to important vocabulary with not It is same as the color and brightness of display chatting object's information, so that prominent important vocabulary, is conducive to quick obtaining important information.To The chat message for solving each chatting object present in current techniques does not have higher identification in display, be easy to cause and mistakes Object and important information are easy the technical issues of being missed
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of method for showing chat message characterized by comprising
The first chat message that chatting object sends is received from server;
First chat message is shown with the first color in chat interface, wherein first color has first to become clear Degree;
Receive the second chat message of user's input;And
Second chat message is shown with the second color in the chat interface, wherein second color is bright with second Brightness, and wherein
First brightness is lower than second brightness.
2. the method according to claim 1, wherein showing described in the chat interface with the first color The operation of one chat message, comprising:
Determine the priority of the chatting object;
According to the priority of the chatting object, the first brightness of first color is determined;And
First chat message is shown with first color in the chat interface.
3. according to the method described in claim 2, it is characterized in that, determining the operation of the priority of the chatting object, comprising:
Obtain the following parameter information of the chatting object: the cohesion of liveness and the user, credit worthiness and the use The matching degree of business between family and the distance between with the user;And
The priority of the chatting object is determined according to the following formula:
Prio_level=w1*act_level+w2*inti_level+w3*cred_level+w4*match_level+w5* Distance_level (1),
Wherein, prio_level indicates that the priority of the chatting object, act_level indicate that the chatting object's enlivens journey Degree, inti_level indicate that the cohesion of the chatting object and the user, cred_level indicate the chatting object's Credit worthiness, match_level indicate the matching degree and distance_level of the business of the chatting object and the user Indicate the distance between the chatting object and the user, and w1、w2、w3And w4It respectively indicates and believes with above-mentioned each parameter Cease corresponding weighted value.
4. according to the method described in claim 3, it is characterized in that, determining described according to the priority of the chatting object The operation of first brightness of one color determines described according to the priority of the chatting object including the use of following formula One brightness:
Wherein, Y1For first brightness, Y2It is pre-set maximum for second brightness, prio_level_max Priority.
5. the method according to claim 1, wherein further include:
According to pre-set words set, inquires in first chat message and matched with the words in the words set Words;And
The matched words is shown with third color, wherein the third brightness of the third color and first brightness It is different.
6. according to the method described in claim 5, it is characterized in that, show the operation of the matched words with third color, Further include the third brightness that the third color is determined according to following operation:
Obtain the significance level parameter for identifying the significance level of the matched words;And
The third brightness is determined using following formula according to acquired significance level parameter:
Wherein, Y1For first brightness, Y3For the third brightness, YMaxFor pre-set maximum brightness, Import_level is the significance level parameter of the matched words and import_level_max is pre-set heavy Want the maximum value of extent index.
7. according to the method described in claim 5, it is characterized in that, show the operation of the matched words with third color, Further include the third brightness that the third color is determined according to following operation:
Obtain the significance level parameter for identifying the significance level of the matched words;And
The third brightness is determined using following formula according to acquired significance level parameter:
Wherein, Y1For first brightness, Y3It is the matched words for the third brightness and import_level Significance level parameter.
8. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When as processor perform claim require any one of 1 to 7 described in method.
9. a kind of device (200) for showing chat message characterized by comprising
First chat message receiving module (210): for receiving the first chat message that chatting object sends from server;
First color display module (220): for showing first chat message in chat interface with the first color, wherein First color has the first brightness;
Second chat message receiving module (230): for receiving the second chat message of user's input;And
Second color display module (240): for showing second chat message in the chat interface with the second color, Wherein second color has the second brightness, and wherein
First brightness is lower than second brightness.
10. a kind of device (300) for showing chat message characterized by comprising
Processor (310);And
Memory (320) is connect with the processor (310), for providing processing following processing step for the processor (310) Rapid instruction:
The first chat message that chatting object sends is received from server;
First chat message is shown with the first color in chat interface, wherein first color has first to become clear Degree;
Receive the second chat message of user's input;And
Second chat message is shown with the second color in the chat interface, wherein second color is bright with second Brightness, and wherein
First brightness is lower than second brightness.
CN201811355607.6A 2018-11-14 2018-11-14 Show the method, apparatus and storage medium of chat message Pending CN109522076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811355607.6A CN109522076A (en) 2018-11-14 2018-11-14 Show the method, apparatus and storage medium of chat message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811355607.6A CN109522076A (en) 2018-11-14 2018-11-14 Show the method, apparatus and storage medium of chat message

Publications (1)

Publication Number Publication Date
CN109522076A true CN109522076A (en) 2019-03-26

Family

ID=65777811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811355607.6A Pending CN109522076A (en) 2018-11-14 2018-11-14 Show the method, apparatus and storage medium of chat message

Country Status (1)

Country Link
CN (1) CN109522076A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221886A (en) * 2019-04-25 2019-09-10 刘兴然 Information display method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6434604B1 (en) * 1998-01-19 2002-08-13 Network Community Creation, Inc. Chat system allows user to select balloon form and background color for displaying chat statement data
CN102117440A (en) * 2010-01-05 2011-07-06 腾讯科技(深圳)有限公司 Method and terminal for displaying messages of online chatting room
CN103825806A (en) * 2014-03-06 2014-05-28 华为技术有限公司 Display style adjusting method, device and system
CN106095403A (en) * 2016-05-30 2016-11-09 努比亚技术有限公司 The exhibiting device of chat message and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6434604B1 (en) * 1998-01-19 2002-08-13 Network Community Creation, Inc. Chat system allows user to select balloon form and background color for displaying chat statement data
CN102117440A (en) * 2010-01-05 2011-07-06 腾讯科技(深圳)有限公司 Method and terminal for displaying messages of online chatting room
CN103825806A (en) * 2014-03-06 2014-05-28 华为技术有限公司 Display style adjusting method, device and system
CN106095403A (en) * 2016-05-30 2016-11-09 努比亚技术有限公司 The exhibiting device of chat message and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221886A (en) * 2019-04-25 2019-09-10 刘兴然 Information display method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN105824875B (en) A kind of photo be shared method and mobile terminal
US11287969B2 (en) Object processing method and apparatus, storage medium, and electronic apparatus
CN109432771A (en) The transfer approach and device of game item
CN110209799A (en) Message treatment method, the display methods of unread message, terminal
CN107147560A (en) Data sharing method and device
CN106339192A (en) Area sharing method and device as well as system
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN110362257A (en) A kind of data processing method, methods of exhibiting and client
CN104618364B (en) Information processing method, electronic equipment and server
CN109525697A (en) Contact person shares and the method, apparatus and terminal of display
CN110175240A (en) Construction method, device and the storage medium of knowledge mapping relevant to outgoing call process
CN109697249A (en) Search for method, system and the storage medium of target object and issue object
CN110798824A (en) Electronic table card control method, intelligent terminal and system
CN109522076A (en) Show the method, apparatus and storage medium of chat message
CN109492172A (en) Product introduction method and device
CN110347871A (en) The method, apparatus and storage medium be shown to reply video
CN110109594A (en) A kind of draw data sharing method, device, storage medium and equipment
CN105610698B (en) The treating method and apparatus of event result
CN110011901A (en) Search for the method, apparatus and storage medium of friend-making object
CN110059175A (en) A kind of method and device of information on services processing
CN109525488A (en) Instant message dissemination method, device, terminal, server and storage medium
CN108776943A (en) Data transmission method and device, storage medium and electronic device
CN110060080A (en) Sharing method, device and the client device of trade company's evaluation
CN111752885B (en) Method and device for processing reading authority in reading material
CN114895830A (en) Task information display method and device, electronic equipment and storage medium

Legal Events

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

Application publication date: 20190326

RJ01 Rejection of invention patent application after publication