CN104317869A - Instant-messaging-based background setting method and device - Google Patents
Instant-messaging-based background setting method and device Download PDFInfo
- Publication number
- CN104317869A CN104317869A CN201410555099.1A CN201410555099A CN104317869A CN 104317869 A CN104317869 A CN 104317869A CN 201410555099 A CN201410555099 A CN 201410555099A CN 104317869 A CN104317869 A CN 104317869A
- Authority
- CN
- China
- Prior art keywords
- color
- background
- colour
- bubble
- dialogue
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to an instant-messaging background setting method and an instant-messaging-based background setting device. The method comprises the following steps of obtaining a pure target color used as a background color according to colors in a target picture; setting the background of a conversation interface into a pure color background by using the target color; regulating the color of a conversation bubble according to the pure color background to realize the differentiated display of the color of the conversation bubble and the target color. According to the method and the device, the color of the bubble is adaptively regulated according to the color of the background to realize the differentiated display of a background element and a bubble element.
Description
Technical field
The disclosure relates to computer technology, particularly relates to a kind of background method to set up based on instant messaging and device.
Background technology
In correlation technique, a lot of application software all can add background colour in use, more attractive in appearance to make, better user experience.For chat software, user is when using this software and good friend to chat, " chat background " and " chat bubble " two elements in chat conversations window can be set, wherein, chat background can use certain pictures prestored, or use certain picture with scenes etc. of instant shooting, chat bubble also can use the bubble with certain design and color prestored.But in actual use, there are the following problems for possibility: the picture color of chat background is complicated, wherein subregion also may be very close with the color of chat bubble, such as user wants the picture changing a kind of background use of chatting, found that both changing later, colors are close, cause display effect poor, when such as user chats, very difficult background of chatting is separated with chat Bubble Region, and the chat background of complexity causes vision to disturb to user, normal chat content can be affected and read.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of background method to set up based on instant messaging and device, chat background and bubble is adjusted adaptively according to the Target Photo that user selects, make background element succinct and with the differential disply of bubble element, realize more comfortable network chat environment, chat scenario is arranged more humane.
According to the first aspect of disclosure embodiment, a kind of background method to set up based on instant messaging is provided, comprises:
According to the color that Target Photo comprises, obtain the aim colour for the pure color of color as a setting; Wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface;
Use described aim colour that the background of described dialog interface is set to solid background;
According to described solid background, adjust the color of described dialogue bubble, to make the color of described dialogue bubble and described aim colour differential disply.
According to the second aspect of disclosure embodiment, a kind of background setting device based on instant messaging is provided, comprises:
Picture processing unit, for the color comprised according to Target Photo, obtain the aim colour for the pure color of color as a setting, wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface;
Background setting unit, is set to solid background for the aim colour using described picture processing unit to obtain by the background of described dialog interface;
Bubble setting unit, for the described solid background arranged according to described background setting unit, adjusts the color of described dialogue bubble, with the aim colour differential disply making the color of described dialogue bubble and described picture processing unit obtain.
According to the third aspect of disclosure embodiment, a kind of background setting device based on instant messaging is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
According to the color that Target Photo comprises, obtain the aim colour for the pure color of color as a setting, wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface; Use described aim colour that the background of described dialog interface is set to solid background; According to described solid background, adjust the color of described dialogue bubble, to make the color of described dialogue bubble and described aim colour differential disply.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: obtained the aim colour of pure color by the Target Photo selected according to user for arranging the interface background of instant messaging, and according to solid background adjustment bubble, the color of background and bubble is made to have obvious difference, thus background is set relative to the direct picture in correlation technique, to make chat scenario that hommization is more set, chat content more can clearly show, and achieves more comfortable network chat environment.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the application schematic diagram one of a kind of background method to set up based on instant messaging according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of background method to set up based on instant messaging according to an exemplary embodiment;
Fig. 3 is the application schematic diagram two of a kind of background method to set up based on instant messaging according to an exemplary embodiment;
Fig. 4 is the process flow diagram of the another kind according to an exemplary embodiment based on the background method to set up of instant messaging;
Fig. 5 is the application schematic diagram three of the another kind according to an exemplary embodiment based on the background method to set up of instant messaging;
Fig. 6 is the application schematic diagram four of the another kind according to an exemplary embodiment based on the background method to set up of instant messaging;
Fig. 7 is the bitmap matrix schematic diagram of the another kind according to an exemplary embodiment based on the background method to set up of instant messaging;
Fig. 8 is the block diagram of a kind of background setting device based on instant messaging according to an exemplary embodiment;
Fig. 9 is the block diagram of the another kind according to an exemplary embodiment based on the background setting device of instant messaging;
Figure 10 is that a kind of according to an exemplary embodiment comprises this block diagram based on the terminal of the background setting device of instant messaging.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
The background method to set up of disclosure embodiment is the method based on instant messaging, instant messaging comprises the dialog interface that the both sides for instant messaging engage in the dialogue, chat interface in such as QQ, this dialog interface can arrange background color, such as uses certain pictures to arrange this background color; Meanwhile, also comprise dialogue bubble in dialog interface, this dialogue bubble is used for presenting conversation content.In following embodiment, be described for QQ, dialog interface is the chat interface of QQ, and dialogue bubble is the chat bubble of QQ.Certain instant communication software is not limited to QQ, and the background method to set up of disclosure embodiment also can be applied to other instant messaging scene.
Fig. 1 is the application scenarios figure of a kind of background method to set up based on instant messaging according to an exemplary embodiment, as shown in Figure 1, for chat software, suppose that user logs in micro-letter or QQ on the mobile phone of oneself, the interface shown in Fig. 1 and its good friend chat.In this interface, employ user select picture 11 as chat background, and employ user select chat bubble 12 to send chat messages.
Wherein, picture 11 can be any image that user selects, and be such as stored in advance in photo of shooting etc. before picture on mobile phone or user store in mobile phone, these background pictures have shades of colour and pattern.Chat bubble 12 is also to have shades of colour and pattern, shown in Fig. 1 is the simplest white bubble, it can certainly be the bubble of other colors, such as red, green, blue etc., here bubble color refers to the background color in the bubble shown in Fig. 1, i.e. the color in the region in the bubble frame at word place.
The situation that just may occur so is in actual use, color as the picture 11 of chat background is very close with the color of chat bubble 12, such as user have taken a picture with scenes when travelling outdoors beautiful especially, and user is delithted with the green of this photo, just adopt this photo as chat background, but the color of the chat bubble that user uses also is green, so just there will be the color of background and bubble close to causing display effect undesirable, user may be not easy to distinguish.
The background method to set up of disclosure embodiment, the color of the photo that user can be made to use oneself to like, also can avoid the problems referred to above that the color of background and bubble shows, and the scheme of the method will be described in detail in detail below.It should be noted that, although in description process below, remain and be described for chat software, the scheme of disclosure embodiment is not limited thereto in the specific implementation, as long as comprise the similar application of background element and bubble element, the method can be used.
Fig. 2 is the process flow diagram of a kind of background method to set up according to an exemplary embodiment, and as shown in Figure 2, this background method to set up is applied in terminal, comprises the following steps:
201, according to the color that Target Photo comprises, the aim colour for the pure color of color is as a setting obtained;
Wherein, Target Photo is exactly the picture that user wants to be set to chat background, such as, can be that the landscape that user selects shines, it is the picture on the meadow taken when playing of user and trees that this landscape takes, the body color of photo is green, certainly also may also have some buildings, river and animal etc. in photo.The color that above-mentioned Target Photo comprises, such as, comprise the habited redness of visitor institute in the green on the meadow in photo, the water colour in river, the white of building or landscape etc. shades of colour, but the body color of this photo is green.
In the present embodiment, the aim colour that the color comprised according to Target Photo obtains pure color refer to still for above-mentioned landscape according to, according to this landscape according to obtaining a kind of color, this color is such as green, then the background color of chat interface is set to pure green.That is, what user selected is a pictures, but what the present embodiment obtained according to this picture is a kind of color, and be pure color (namely single color, as green, red etc.), not color mixture (such as comprising redness and green), then chat background is set to the background of this pure color.Than as shown in Figure 3, the chat background of Fig. 1 after treatment, just becomes the background of the solid color shown in Fig. 3.
202, use described aim colour that the background of dialog interface is set to solid background;
In this step, be use aim colour obtained above, the background color in chat interface be set to the solid background of this aim colour.It should be noted that, 202 in the present embodiment can perform after 203, not strict order.Such as, can after solid background be set, according to this solid background adjustment bubble color, after all adjusting, then enter the chat interface shown in Fig. 1 by background color and bubble color, what now show in interface is new background after adjustment and bubble.
203, according to described solid background, the color of adjustment dialogue bubble, to make color and the aim colour differential disply of talking with bubble.
Wherein, differential disply refers to bubble color and aim colour does not belong to same colour system, alternatively, keeps off.Such as, if aim colour is light blue, bubble color is mazarine, and this just belongs to close color, is not differential disply; And if aim colour is white, bubble color is black, Here it is differential disply.Usual differential disply can give the reasonable visual experience of user, can significantly both be distinguished.
Further, in the present embodiment, will by carrying out adaptive adjustment bubble color according to background color, namely the adjustment of bubble color has foundation, and the object of bubble color adjustment is the differential disply realizing background element and bubble element.
Fig. 4 is the process flow diagram of the another kind according to an exemplary embodiment based on the background method to set up of instant messaging, and the present embodiment will be described in more details the method, and list optional embodiment for concrete steps wherein.
401, Target Photo is obtained;
Be exemplified below: suppose that user uses the mobile phone of oneself to log in certain chat software, enter " the chat background is arranged " option in this software, see Fig. 5, enter " choosing from photograph album ", choose certain pictures, this picture is exactly the picture that user wants to be set to chat background, is called Target Photo.
It should be noted that, before follow-up picture processing is carried out to this picture, have the following two kinds feasible pattern:
Such as, when user chooses picture, and after clicking " being set to background ", the present embodiment directly can carry out the process of 402 following steps to this picture, arranges background according to the color after process.
Again such as, in order to provide more selection to user, two options can also be set again at " being set to background " next stage, such as " be directly set to background " or " solid background is set ", or as shown in Figure 6, directly above-mentioned two next stage options are provided in the selection of this photo, user only have when have selected " arranging solid background ", just enter 402 to process, otherwise, show that user may not want to process picture, picture is just conventionally set to background of chatting by that.Certainly, the title of these two options can free setting.
402, carry out Gaussian Blur to Target Photo, the bitmap matrix corresponding according to the Target Photo after Gaussian Blur, calculate the average color of described bitmap matrix, average color is aim colour;
The picture processing of this step, first carries out Gaussian Blur process to picture, calculates the average color of this matrix after Fuzzy Processing according to the bitmap matrix of this picture.Figure 7 shows that example, shown in Fig. 7 is a bitmap matrix, and each lattice represents a pixel, and in certainly actual picture, the quantity of pixel must than many in Fig. 7, each pixel grid also must be thinner than what divide in Fig. 7, and a lattice only has a kind of color substantially.
If a pixel grid is called a cell, so each cell is to there being oneself color, is different than the color of cell 71,72 and 73 as shown in Figure 7.And all corresponding colour of each color, the average color relation of the present embodiment the colour of cells all in bitmap matrix is added to be averaging, as follows:
Average color X=(y1+y2+y3+ ... .+yn)/n, y1, y2 etc. are wherein the colour that each cell is corresponding respectively, and n is the sum of the cell in Fig. 7.
Certainly, as above merely provide a kind of optionally according to the mode of picture color determination aim colour, in concrete enforcement, other method also can be adopted to obtain aim colour, as long as obtain a kind of pure color according to this picture.
403, judge whether the difference of the colour of the colour that bubble Color pair is answered and aim colour reaches color difference threshold;
In the present embodiment, if the color of background color and bubble color is kept off, the difference of the colour of both colors needs to reach certain color difference threshold, when the RGB numerical value (i.e. colour) of such as both 16 systems differs certain numerical value, visually could embody color distinction.The present embodiment does not limit the concrete numerical value that threshold value is arranged, and can set flexibly in concrete enforcement according to actual conditions.
If this step judges that the difference of the colour of the colour that bubble Color pair is answered and aim colour is less than described color difference threshold, then show that both belong to same colour system at color, color is close, continues execution 404; Otherwise, if the difference of colour is more than or equal to color difference threshold, then shows that both colors have had obvious difference, no longer can adjust the color of bubble.
Optionally, also can not carry out above-mentioned deterministic process, the process that above-mentioned deterministic process can make background arrange is more automatically with more quick.In concrete enforcement, chat background and chat bubble can be indicate adjustment respectively, the color of background picture is set than user by selecting described above " chat background is arranged ", the option that user also can enter into again " chat bubble is arranged " triggers the setting of bubble color, such as selects " according to background adjustment bubble ".
404, according to the color of solid background adjustment bubble, to make bubble color and aim colour differential disply;
Wherein, the color of this step adjustment bubble, the difference of the colour that bubble Color pair will be made exactly to answer and the colour of aim colour, reaches default color difference threshold.Optionally, the present embodiment provides a kind of optional mode: maximum 16 binary value using RGB numerical value, deduct the half of the colour of the aim colour obtained in 402, obtain the colour that bubble Color pair is answered, as follows:
Y=#FFFFFF-X/2, X are wherein the colours of aim colour, and Y is the colour of bubble color, and #FFFFFF is the maximum RGB numerical value of 16 systems.Can ensure that the color of bubble belongs between different chromatic zoneses from the color of chat background like this, have very strong comparative.
405, use described aim colour that solid background is set, and the bubble after Use Adjustment.
After calculating through the colour of above-mentioned steps, determine the chat color of background and the color of bubble, this step is by according to the above-mentioned colour display chat interface determined, the background of this chat interface and bubble are color corresponding to the above-mentioned colour determined.
Fig. 8 is the block diagram of a kind of background setting device based on instant messaging according to an exemplary embodiment, the concrete mode of the modules executable operations in this device has been described in detail in about the embodiment of the method, will not elaborate explanation herein.With reference to Fig. 8, this device comprises picture processing unit 81, background setting unit 82 and bubble setting unit 83.
Picture processing unit 81, for the color comprised according to Target Photo, obtains the aim colour for the pure color of color as a setting; Wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface;
Background setting unit 82, is set to solid background for the aim colour using described picture processing unit 81 to obtain by the background of described dialog interface;
Bubble setting unit 83, for the described solid background arranged according to described background setting unit 82, adjusts the color of described dialogue bubble, with the aim colour differential disply making the color of described dialogue bubble and described picture processing unit 81 obtain.
Fig. 9 is the block diagram of the another kind according to an exemplary embodiment based on the background setting device of instant messaging, and on the basis of Fig. 8 structure, picture processing unit 81 can comprise: Fuzzy Processing subelement 811 and mean value computation subelement 812;
Fuzzy Processing subelement 811, for carrying out Gaussian Blur to described Target Photo;
Mean value computation subelement 812, for carrying out bitmap matrix corresponding to described Target Photo after Gaussian Blur according to described Fuzzy Processing subelement 811, calculate the average color of described bitmap matrix, described average color is described aim colour.
Further, bubble setting unit 83, when the color of the solid background adjustment bubble arranged according to described background setting unit 82, it is the color of adjustment dialogue bubble, the difference of the colour of the aim colour that the colour that the Color pair of described dialogue bubble is answered and described picture processing unit 81 obtain, reaches default color difference threshold.
Further, bubble setting unit 83, specifically for using maximum 16 binary value of RGB numerical value, deducts the half of the colour of the aim colour that described picture processing unit 81 obtains, the colour that the Color pair obtaining described dialogue bubble is answered, arranges the color of dialogue bubble according to described colour.
Further, this device can also comprise: aberration judging unit 84, for before the color of described bubble setting unit adjustment dialogue bubble, judge whether the difference of the colour of the colour that the Color pair of described dialogue bubble is answered and the aim colour that described picture processing unit 81 obtains reaches described color difference threshold; And be when being less than described color difference threshold in judged result, the color of the solid background adjustment dialogue bubble indicating described bubble setting unit to arrange according to described background setting unit 82.
Figure 10 is that a kind of according to an exemplary embodiment comprises this block diagram based on the terminal of the background setting device of instant messaging.Such as, this terminal 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 10, terminal 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method, such as processor can be configured in the instruction in execute store: the color comprised according to Target Photo, obtain the aim colour for the pure color of color as a setting, wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface; Use described aim colour that the background of described dialog interface is set to solid background; According to described solid background, adjust the color of described dialogue bubble, to make the color of described dialogue bubble and described aim colour differential disply.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing element 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 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.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 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 one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 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 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 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 received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 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 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can 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 800 can be realized, for performing said method 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.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of terminal 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (11)
1., based on a background method to set up for instant messaging, it is characterized in that, comprising:
According to the color that Target Photo comprises, obtain the aim colour for the pure color of color as a setting; Wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface;
Use described aim colour that the background of described dialog interface is set to solid background;
According to described solid background, adjust the color of described dialogue bubble, to make the color of described dialogue bubble and described aim colour differential disply.
2. method according to claim 1, is characterized in that, the described color comprised according to Target Photo, obtains the aim colour for the pure color of color as a setting, comprising:
Gaussian Blur is carried out to described Target Photo;
The bitmap matrix corresponding according to the described Target Photo after Gaussian Blur, calculates the average color of described bitmap matrix, and described average color is described aim colour.
3. method according to claim 1, is characterized in that, described according to described solid background, adjusts the color of described dialogue bubble, comprising:
Adjust the color of described dialogue bubble, the difference of the colour that the Color pair of described dialogue bubble is answered and the colour of described aim colour, reaches default color difference threshold.
4. method according to claim 3, is characterized in that, the color of the described dialogue bubble of described adjustment, and the difference of the colour that the Color pair of described dialogue bubble is answered and the colour of described aim colour, reaches default color difference threshold, comprising:
Use maximum 16 binary value of RGB numerical value, deduct the half of the colour of described aim colour, the colour that the Color pair obtaining described dialogue bubble is answered, the color of described dialogue bubble is set according to described colour.
5. method according to claim 3, is characterized in that, before the color of described adjustment dialogue bubble, also comprises: judge whether the difference of the colour of the colour that the Color pair of described dialogue bubble is answered and described aim colour reaches described color difference threshold;
If be less than described color difference threshold, then perform the described color according to described solid background adjustment dialogue bubble;
If be more than or equal to described color difference threshold, then no longer adjust the color of described dialogue bubble.
6., based on a background setting device for instant messaging, it is characterized in that, comprising:
Picture processing unit, for the color comprised according to Target Photo, obtain the aim colour for the pure color of color as a setting, wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface;
Background setting unit, is set to solid background for the aim colour using described picture processing unit to obtain by the background of described dialog interface;
Bubble setting unit, for the described solid background arranged according to described background setting unit, adjusts the color of described dialogue bubble, with the aim colour differential disply making the color of described dialogue bubble and described picture processing unit obtain.
7. device according to claim 6, is characterized in that, described picture processing unit, comprising:
Fuzzy Processing subelement, for carrying out Gaussian Blur to described Target Photo;
Mean value computation subelement, for carrying out bitmap matrix corresponding to described Target Photo after Gaussian Blur according to described Fuzzy Processing subelement, calculate the average color of described bitmap matrix, described average color is described aim colour.
8. device according to claim 6, is characterized in that,
Described bubble setting unit, at the described solid background arranged according to described background setting unit, when the color of bubble is talked with in adjustment, it is the color adjusting described dialogue bubble, the difference of the colour of the aim colour that the colour that the Color pair of described dialogue bubble is answered and described picture processing unit obtain, reaches default color difference threshold.
9. device according to claim 8, is characterized in that,
Described bubble setting unit, specifically for using maximum 16 binary value of RGB numerical value, deduct the half of the colour of the aim colour that described picture processing unit obtains, the colour that the Color pair obtaining described dialogue bubble is answered, the color of dialogue bubble is set according to described colour.
10. device according to claim 8, is characterized in that, also comprises;
Aberration judging unit, for before the color of described bubble setting unit adjustment dialogue bubble, judges whether the difference of the colour of the colour that the Color pair of described dialogue bubble is answered and the aim colour that described picture processing unit obtains reaches described color difference threshold; And be when being less than described color difference threshold in judged result, the color of the solid background adjustment dialogue bubble indicating described bubble setting unit to arrange according to described background setting unit.
11. 1 kinds, based on the background setting device of instant messaging, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
According to the color that Target Photo comprises, obtain the aim colour for the pure color of color as a setting, wherein, described background color is the background color in Instant messaging conversation interface; The dialogue bubble for presenting conversation content is also comprised in described dialog interface; Use described aim colour that the background of described dialog interface is set to solid background; According to described solid background, adjust the color of described dialogue bubble, to make the color of described dialogue bubble and described aim colour differential disply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410555099.1A CN104317869B (en) | 2014-10-17 | 2014-10-17 | Background setting method and device based on instant messaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410555099.1A CN104317869B (en) | 2014-10-17 | 2014-10-17 | Background setting method and device based on instant messaging |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104317869A true CN104317869A (en) | 2015-01-28 |
CN104317869B CN104317869B (en) | 2018-11-23 |
Family
ID=52373101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410555099.1A Active CN104317869B (en) | 2014-10-17 | 2014-10-17 | Background setting method and device based on instant messaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104317869B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104850395A (en) * | 2015-04-17 | 2015-08-19 | 魅族科技(中国)有限公司 | Interface display method and system |
CN104991706A (en) * | 2015-07-17 | 2015-10-21 | 小米科技有限责任公司 | Chat information exhibition method and device |
CN105187295A (en) * | 2015-08-06 | 2015-12-23 | 广州华多网络科技有限公司 | Method for realizing bubble display on client, client, server and system |
CN106375833A (en) * | 2016-09-29 | 2017-02-01 | 北京小米移动软件有限公司 | Virtual reality (VR)-based video display method and apparatus, and terminal device |
CN106406824A (en) * | 2015-07-17 | 2017-02-15 | 广州市动景计算机科技有限公司 | Interface display method and device |
CN106572225A (en) * | 2015-10-13 | 2017-04-19 | 北京奇虎科技有限公司 | Skin changing method and apparatus for address list |
CN107577395A (en) * | 2017-09-11 | 2018-01-12 | 竞技世界(北京)网络技术有限公司 | Chat content display methods and device based on Qt Development Frameworks |
FR3060822A1 (en) * | 2016-12-21 | 2018-06-22 | Orange | METHOD FOR DETERMINING THE COLOR OF CONVERSATION BUBBLES DISPLAYED ON A SCREEN OF A COMMUNICATION TERMINAL BY AN INSTANT MESSENGER APPLICATION |
CN112698901A (en) * | 2020-12-30 | 2021-04-23 | 北京搜狗科技发展有限公司 | Application program setting method and device |
CN113535310A (en) * | 2021-07-28 | 2021-10-22 | 北京达佳互联信息技术有限公司 | Chat bubble display control method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030007004A1 (en) * | 2001-06-14 | 2003-01-09 | Rajesh Kanungo | Differentiating dialog box boundaries by implementing reserved colors |
US20050204279A1 (en) * | 2000-03-30 | 2005-09-15 | Melet Stone J. | Evolving interactive dialog box for an internet web page |
CN101226728A (en) * | 2007-01-16 | 2008-07-23 | 乐金电子(中国)研究开发中心有限公司 | Apparatus and method for dynamically setting color theme |
CN101605175A (en) * | 2009-07-13 | 2009-12-16 | 中兴通讯股份有限公司 | A kind of method of displaying colorful desktop text by mobile terminal and device |
CN102508666A (en) * | 2011-11-11 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for adjusting application prompt message in application program |
CN103137095A (en) * | 2011-11-23 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Method and device for setting foreground and background of electronic reading |
CN104063123A (en) * | 2014-05-28 | 2014-09-24 | 小米科技有限责任公司 | Icon displaying method and device |
-
2014
- 2014-10-17 CN CN201410555099.1A patent/CN104317869B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050204279A1 (en) * | 2000-03-30 | 2005-09-15 | Melet Stone J. | Evolving interactive dialog box for an internet web page |
US20030007004A1 (en) * | 2001-06-14 | 2003-01-09 | Rajesh Kanungo | Differentiating dialog box boundaries by implementing reserved colors |
CN101226728A (en) * | 2007-01-16 | 2008-07-23 | 乐金电子(中国)研究开发中心有限公司 | Apparatus and method for dynamically setting color theme |
CN101605175A (en) * | 2009-07-13 | 2009-12-16 | 中兴通讯股份有限公司 | A kind of method of displaying colorful desktop text by mobile terminal and device |
CN102508666A (en) * | 2011-11-11 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for adjusting application prompt message in application program |
CN103137095A (en) * | 2011-11-23 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Method and device for setting foreground and background of electronic reading |
CN104063123A (en) * | 2014-05-28 | 2014-09-24 | 小米科技有限责任公司 | Icon displaying method and device |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104850395A (en) * | 2015-04-17 | 2015-08-19 | 魅族科技(中国)有限公司 | Interface display method and system |
CN104850395B (en) * | 2015-04-17 | 2018-11-30 | 魅族科技(中国)有限公司 | interface display method and system |
CN106406824A (en) * | 2015-07-17 | 2017-02-15 | 广州市动景计算机科技有限公司 | Interface display method and device |
CN104991706A (en) * | 2015-07-17 | 2015-10-21 | 小米科技有限责任公司 | Chat information exhibition method and device |
CN106406824B (en) * | 2015-07-17 | 2020-08-04 | 阿里巴巴(中国)有限公司 | Interface display method and device |
CN105187295A (en) * | 2015-08-06 | 2015-12-23 | 广州华多网络科技有限公司 | Method for realizing bubble display on client, client, server and system |
CN105187295B (en) * | 2015-08-06 | 2019-05-17 | 广州华多网络科技有限公司 | A kind of method and client, server and system for realizing that bubble is shown in client |
CN106572225B (en) * | 2015-10-13 | 2021-04-06 | 北京奇虎科技有限公司 | Address book skin changing method and device |
CN106572225A (en) * | 2015-10-13 | 2017-04-19 | 北京奇虎科技有限公司 | Skin changing method and apparatus for address list |
CN106375833A (en) * | 2016-09-29 | 2017-02-01 | 北京小米移动软件有限公司 | Virtual reality (VR)-based video display method and apparatus, and terminal device |
FR3060822A1 (en) * | 2016-12-21 | 2018-06-22 | Orange | METHOD FOR DETERMINING THE COLOR OF CONVERSATION BUBBLES DISPLAYED ON A SCREEN OF A COMMUNICATION TERMINAL BY AN INSTANT MESSENGER APPLICATION |
CN107577395A (en) * | 2017-09-11 | 2018-01-12 | 竞技世界(北京)网络技术有限公司 | Chat content display methods and device based on Qt Development Frameworks |
CN107577395B (en) * | 2017-09-11 | 2019-09-17 | 竞技世界(北京)网络技术有限公司 | Chat content display methods and device based on Qt Development Framework |
CN112698901A (en) * | 2020-12-30 | 2021-04-23 | 北京搜狗科技发展有限公司 | Application program setting method and device |
WO2022142222A1 (en) * | 2020-12-30 | 2022-07-07 | 北京搜狗科技发展有限公司 | Method and apparatus for setting application program |
CN113535310A (en) * | 2021-07-28 | 2021-10-22 | 北京达佳互联信息技术有限公司 | Chat bubble display control method and device, electronic equipment and storage medium |
CN113535310B (en) * | 2021-07-28 | 2024-04-09 | 北京达佳互联信息技术有限公司 | Chat bubble display control method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104317869B (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104317869A (en) | Instant-messaging-based background setting method and device | |
US10152207B2 (en) | Method and device for changing emoticons in a chat interface | |
US20170032725A1 (en) | Method, device, and computer-readable medium for setting color gamut mode | |
EP3136793A1 (en) | Method and apparatus for awakening electronic device | |
CN107204883B (en) | Network fault processing method and device | |
CN104902189A (en) | Picture processing method and picture processing device | |
EP3133874A1 (en) | Method and apparatus for starting energy saving mode | |
CN105204846A (en) | Method for displaying video picture in multi-user video, device and terminal equipment | |
CN105094549A (en) | Method and device for displaying messages | |
CN105100764A (en) | Photographing method and device | |
CN105141806B (en) | The display methods and device of image file | |
WO2020088269A1 (en) | Chat information processing method and apparatus, and electronic device | |
CN113365153B (en) | Data sharing method and device, storage medium and electronic equipment | |
CN108122195B (en) | Picture processing method and device | |
CN104978200A (en) | Application program display method and device | |
CN107820131A (en) | Share the method and device of comment information | |
CN109981304A (en) | Instant session method, device and storage medium | |
CN105512615A (en) | Picture processing method and apparatus | |
CN103885678A (en) | Method and device for displaying object | |
CN105554811A (en) | Method and device for conversation processing | |
CN105955564B (en) | Application program launching method and device | |
CN107527072B (en) | Method and device for determining similar head portrait and electronic equipment | |
CN105677352B (en) | Method and device for setting application icon color | |
CN106557294A (en) | Color adjustment method and device | |
CN109408022A (en) | Display methods, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |