CN103702478A - Method, device and equipment for controlling breath lamp - Google Patents
Method, device and equipment for controlling breath lamp Download PDFInfo
- Publication number
- CN103702478A CN103702478A CN201310669428.0A CN201310669428A CN103702478A CN 103702478 A CN103702478 A CN 103702478A CN 201310669428 A CN201310669428 A CN 201310669428A CN 103702478 A CN103702478 A CN 103702478A
- Authority
- CN
- China
- Prior art keywords
- color
- primary colors
- instruction
- colour table
- color configuration
- 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
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method, a device and equipment for controlling a breath lamp, relates to the technical field of computers, and is used for realizing the flexible configuration of colors of the breath lamp. The method comprises the steps of displaying a color plate comprising at least one color, receiving color configuration commands generated by triggering colors, and configuring the breath lamp according to colors indicted by the color configuration commands.
Description
Technical field
The disclosure is directed to field of computer technology, especially about a kind of method, device and equipment of controlling breath light.
Background technology
Along with the development of electronic technology and the communication technology, the equipment such as intelligent terminal, router are extensively universal.A lot of electronic equipments are all furnished with breath light, are used for pointing out various states.For example, when electric weight is too low, breath light shows red; While charging, breath light shows green.The color of these breath lights is by electronic equipment fixed configurations.
Summary of the invention
For overcoming the problem existing in correlation technique, disclosure embodiment provides a kind of method, device and equipment of controlling breath light.
On the one hand, the disclosure provides a kind of method of controlling breath light;
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
Some beneficial effects of disclosure embodiment can comprise: by colour table, directly export color, for user, select, user can get information about the possible color of breath light after configuration, have improved the accuracy that color is selected, and have improved user's visual experience simultaneously.The color of the color configuration breath light of selecting by user, makes configuration more accurate, more meets user's demand.
Described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors;
Reception is for the selection instruction of at least one primary colors colour table;
According to described selection instruction, determine an alternative primary colors in primary colors colour table corresponding to described selection instruction;
At least one alternative primary colors of current definite selection is synthesized to a secondary colour;
The described color configuration instruction of described secondary colour is carried in generation.
Some beneficial effects of disclosure embodiment can comprise: colour table can adopt three primary colors colour tables, for user, select.User can select respectively a kind of primary colors for three primary colors colour tables.The synthetic secondary colour of current primary colors after selecting according to user, user can adjust secondary colour by least one primary colors of conversion, until obtain oneself satisfied color.Because each primary colors colour table comprises the primary colors of the multiple different depths, the issuable secondary colour of institute is just very many together for three kinds of combination of primaries, that is to say that the color that can select for user increases substantially, facilitate user to select more accurately satisfied color, and then improve the accuracy of configuration breath light.
The instruction that described selection instruction triggers for the scroll bar by dragging on primary colors colour table.
Some beneficial effects of disclosure embodiment can comprise: it is less that the pointer on scroll bar can arrange, and facilitate user on colour table, to select more accurately required color, and then improve the accuracy of configuration breath light.
Described according to the indicated color configuration breath light of described color configuration instruction, comprising:
According to the indicated color of described color configuration instruction, parse indicated parameter value corresponding to color of described color configuration instruction;
According to the described parameter value configuration breath light parsing.
Some beneficial effects of disclosure embodiment can comprise: provide a kind of from the color of selecting to the implementation procedure that configures breath light.
The instruction that described color configuration instruction triggers for the color of clicking in colour table.
Some beneficial effects of disclosure embodiment can comprise: by direct click colour table, select color, can obtain fast required color, and then improve the efficiency of configuration breath light.
On the other hand, the disclosure provides a kind of device of controlling breath light, comprising:
Output module, for showing the colour table that comprises at least one color;
The first receiver module, for receiving the color configuration instruction that the triggering of described colour table color is generated;
Preparation module, for according to the indicated color configuration breath light of described color configuration instruction.
Described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors;
Described device also comprises:
The second receiver module, for receiving the selection instruction at least one primary colors colour table;
Primary colors module, for according to described selection instruction, determines an alternative primary colors in primary colors colour table corresponding to described selection instruction;
Synthesis module, for synthesizing a secondary colour by least one alternative primary colors of current definite selection;
Described the first receiver module generates the described color configuration instruction of carrying described secondary colour.
The instruction that described selection instruction triggers for the scroll bar by dragging on primary colors colour table.
Described preparation module comprises:
Resolution unit, for according to the indicated color of described color configuration instruction, parses indicated parameter value corresponding to color of described color configuration instruction;
Preparation unit, for configuring breath light according to the described parameter value parsing.
The instruction that described color configuration instruction triggers for the color of clicking in colour table.
On the other hand, the disclosure provides a kind of terminal equipment, terminal equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
On the other hand, the disclosure provides a kind of network equipment, the network equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the disclosure, forms the application's a part, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 is the first illustrative diagram of breath light configuration interface;
Fig. 2 is the first exemplary process diagram of controlling the method for breath light;
Fig. 3 is the second illustrative diagram of breath light configuration interface;
Fig. 4 is the third illustrative diagram of breath light configuration interface;
Fig. 5 is the 4th kind of illustrative diagram of breath light configuration interface;
Fig. 6 is the 5th kind of illustrative diagram of breath light configuration interface;
Fig. 7 is the second exemplary process diagram of controlling the method for breath light;
Fig. 8 is the 6th kind of illustrative diagram of breath light configuration interface;
Fig. 9 is the third exemplary process diagram of controlling the method for breath light;
Figure 10 is the first exemplary block diagram of controlling the device of breath light;
Figure 11 is the second exemplary block diagram of controlling the device of breath light;
Figure 12 is the exemplary block diagram of preparation module;
Figure 13 is the exemplary block diagram of terminal equipment;
Figure 14 is the exemplary block diagram of the network equipment.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearer, below in conjunction with execution mode and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and explanation thereof are used for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of method, device and equipment of controlling breath light, below in conjunction with accompanying drawing, the disclosure is elaborated.
The light of breath light completes by bright to dark gradually changing under microcomputerized control, and perceptual image is to breathe.Be widely used in electronic equipment as on mobile phone.For example, mobile phone has untreated notice, for example, missed call, note of not checking and accepting etc., breath light will have so rhythm by secretly to bright variation as breathing, plays the effect of a reminder announced.As shown in Figure 1, breath light interface is set in to user, export multiple alternative color.Select after a kind of color, terminal equipment, according to the color of selecting, configures breath light accordingly.
But the output of color is with written form during above-mentioned setting, cannot see intuitively the actual effect of selecting after color.In disclosure embodiment, by colour table, directly export color, for user, select, user can get information about the possible color of breath light after configuration, has improved the accuracy that color is selected, and has improved user's visual experience simultaneously.The color of the color configuration breath light of selecting by user, makes configuration more accurate, more meets user's demand.
In one embodiment, can with the equipment of breath light, be realized by terminal equipment or the network equipment etc., as shown in Figure 2, the method for controlling breath light comprises:
In step S201, show the colour table that comprises at least one color.
In step S202, receive the color configuration instruction that the triggering of color in colour table is generated.
In step S203, according to the indicated color configuration breath light of color configuration instruction.
In one embodiment, the form of colour table can have multiple, and for example, the form as shown in Fig. 3, Fig. 4 and Fig. 5, does not limit colour table form in the present embodiment.Colour table comprises three kinds of primary colors (red, green, blue, being called for short is respectively R, G, B), can also comprise the secondary colour (also can claim secondary colour) of three kinds of primary colors.Can select any color in colour table by click, determine pre-configured color.Terminal equipment receives after the color configuration instruction of this clicking operation generation, according to the colouring information in color configuration instruction, breath light is configured.Wherein, color configuration instruction comprises the colouring information of the color that user clicks.If user does not select, terminal equipment adopts default color configuration breath light.
In one embodiment, colour table can comprise three primary colors colour tables, and each primary colors colour table can comprise a kind of primary colors of the multiple different depths of primary colors.As shown in Figure 6, the alternative primary colors that comprises a kind of multiple different rgb numerical value of primary colors at each primary colors colour table.Each primary colors colour table has the primary colors of acquiescence.If user does not like the primary colors of acquiescence, can select operation at least one the primary colors colour table in three primary colors colour tables, with the primary colors of selecting to need.The secondary colour obtaining after three primary colors on three primary colors colour tables are synthetic is the required color of configuration breath light.Therefore, terminal equipment receives the selection instruction at least one primary colors colour table; According to described selection instruction, determine an alternative primary colors in primary colors colour table corresponding to selection instruction; At least one alternative primary colors of current definite selection is synthesized to a secondary colour; The color configuration instruction of secondary colour is carried in generation.
In another embodiment, terminal equipment can be by secondary colour output display, so that user understands synthetic effect afterwards.If user is dissatisfied, can again select; If user is satisfied, can confirm the secondary colour of output.Terminal equipment receives the color configuration instruction that this confirmation operation produces, and according to the colouring information configuration breath light in color configuration instruction, this color configuration instruction comprises the colouring information of secondary colour.
Selection instruction can be for directly primary colors colour table being carried out the instruction of clicking operation triggering, to select alternative primary colors.Or, the instruction triggering by the scroll bar dragging on primary colors colour table, the corresponding primary colors in position that scroll bar stops is alternative primary colors.It is less that pointer on scroll bar can arrange, and conveniently on colour table, selects more accurately required color, and then improve the accuracy of configuration breath light.
In one embodiment, no matter click colour table, still drag the scroll bar on colour table, all can know selecteed color.Configuration breath light needs the parameter value of concrete color, in step S203, according to the indicated color configuration breath light of color configuration instruction, comprising: according to the indicated color of color configuration instruction, parse parameter value corresponding to the indicated color of color configuration instruction; According to the parameter value configuration breath light parsing.
Method in disclosure embodiment can realize in having the equipment of breath light, can also APP(application) form by an equipment, the breath light of another equipment is arranged to realization.For example, can in mobile phone etc. has the equipment of display screen, the APP that controls breath light configuration be installed, so by with another equipment, as router, carry out controlling after communication connects the color configuration of breath light on router.
In one embodiment, as shown in Figure 7, the method for controlling breath light comprises:
In step 701, output comprises the colour table of primary colors and secondary colour.The concrete form of this colour table can be with reference to figure 5.
In step 702, receive the color configuration instruction producing for the clicking operation of color in colour table.Single-click operation as shown in Figure 8.
In step 703, according to the indicated color of color configuration instruction, parse parameter value corresponding to the indicated color of color configuration instruction.
In step 704, according to the parameter value configuration breath light parsing.
If configure the breath light color of this equipment (as mobile phone), parameter value is sent to circuit devcie or the application of controlling breath light; If configure the breath light color of another equipment (as router), this parameter value is sent to and in the equipment being configured, carries out breath light color configuration.
In one embodiment, as shown in Figure 9, the method for controlling breath light comprises:
In step 901, export three primary colors colour tables that comprise different primary colors.This primary colors colour table can adopt the form shown in Fig. 6, can also adopt other forms.
In step 902, receive the selection instruction at least one primary colors colour table.
In step 903, according to selection instruction, determine a primary colors in primary colors colour table corresponding to selection instruction.
In step 904, the primary colors by current three definite primary colors colour tables, synthesizes a secondary colour.Secondary colour can be shown to user, be convenient to user and see synthetic effect.If user is satisfied to this color, can confirm operation, if be unsatisfied with, can repeating step 902, reselect color.
In step 905, the confirmation that receives user operates the color configuration instruction producing.
In step 906, receive after color configuration instruction, determine three parameter values that primary colors is corresponding that user selects.
In step 907, according to fixed parameter value configuration breath light.
By above introduction, understood the implementation procedure of controlling breath light, this process can be realized by device, below the internal structure of this device and function is introduced.
In one embodiment, as shown in figure 10, the device of controlling breath light comprises: output module 1001, the first receiver module 1002 and preparation module 1003.
The first receiver module 1002, for receiving the color configuration instruction that the triggering of described colour table color is produced.
In one embodiment, described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors.
In one embodiment, described device also comprises: the second receiver module 1004, primary colors module 1005 and synthesis module 1006.As shown in figure 11.
The second receiver module 1004, for receiving the selection instruction at least one primary colors colour table.
The first receiver module 1002 generates the described color configuration instruction of carrying described secondary colour.
In one embodiment, the instruction that selection instruction triggers for the scroll bar by dragging on primary colors colour table.
In one embodiment, as shown in figure 12, preparation module 1003 comprises: resolution unit 10031 and preparation unit 10032.
In one embodiment, the instruction that described color configuration instruction triggers for the color of clicking in colour table.
Figure 13 is terminal equipment in disclosure embodiment (can be requesting party's terminal or associated terminal) structural representation.Referring to Figure 13, this terminal can be for the method for implementing to provide in above-described embodiment.Preferred:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 110 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, code division multiple access), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of terminal equipment 800 etc. can be stored in storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 131 or touch-sensitive surperficial 131 such as finger, stylus such as user) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
In order to realize radio communication, on this terminal equipment, can dispose wireless communication unit 170, this wireless communication unit 170 can be WIFI(Wireless Fidelity, Wireless Fidelity) module.WIFI belongs to short range wireless transmission technology, terminal equipment 800 by wireless communication unit 170 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 170, be understandable that, it does not belong to must forming of terminal equipment 800, completely can be as required in not changing the essential scope of invention and omit.
Although not shown, terminal equipment 800 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, terminal equipment also includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of the method that the embodiment of the present invention provides by one or above processor:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
Memory also may comprise for carrying out the instruction of following program:
Described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors;
Reception is for the selection instruction of at least one primary colors colour table;
According to described selection instruction, determine an alternative primary colors in primary colors colour table corresponding to described selection instruction;
At least one alternative primary colors of current definite selection is synthesized to a secondary colour;
The described color configuration instruction of described secondary colour is carried in generation.
Memory also may comprise for carrying out the instruction of following program:
The instruction that described selection instruction triggers for the scroll bar by dragging on primary colors colour table.
Memory also may comprise for carrying out the instruction of following program:
Described according to the indicated color configuration breath light of described color configuration instruction, comprising:
According to the indicated color of described color configuration instruction, parse indicated parameter value corresponding to color of described color configuration instruction;
According to the described parameter value configuration breath light parsing.
Memory also may comprise for carrying out the instruction of following program:
The instruction that described color configuration instruction triggers for the color of clicking in colour table.
Figure 14 is the structural representation of server in disclosure embodiment.This server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and memory 1932, the storage medium 1930(of one or more storage application programs 1942 or data 1944 one or more mass memory units for example).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on server 1900.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, Windows ServerTM for example, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
A kind of network equipment, the network equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
Memory also may comprise for carrying out the instruction of following program:
Described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors;
Reception is for the selection instruction of at least one primary colors colour table;
According to described selection instruction, determine an alternative primary colors in primary colors colour table corresponding to described selection instruction;
At least one alternative primary colors of current definite selection is synthesized to a secondary colour;
The described color configuration instruction of described secondary colour is carried in generation.
Memory also may comprise for carrying out the instruction of following program:
The instruction that described selection instruction triggers for the scroll bar by dragging on primary colors colour table.
Memory also may comprise for carrying out the instruction of following program:
Described according to the indicated color configuration breath light of described color configuration instruction, comprising:
According to the indicated color of described color configuration instruction, parse indicated parameter value corresponding to color of described color configuration instruction;
According to the described parameter value configuration breath light parsing.
Memory also may comprise for carrying out the instruction of following program:
The instruction that described color configuration instruction triggers for the color of clicking in colour table.
The described network equipment can be router, switch and server etc.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection range of the present disclosure should not be defined as the mobile terminal of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, memory) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache memory.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the memory of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present disclosure above, it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Above-described embodiment; object of the present disclosure, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only embodiment of the present disclosure; and be not used in and limit protection range of the present disclosure; all within spirit of the present disclosure and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in protection range of the present disclosure.
Claims (12)
1. a method of controlling breath light, is characterized in that, comprising:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
2. method according to claim 1, is characterized in that, described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors;
Reception is for the selection instruction of at least one primary colors colour table;
According to described selection instruction, determine an alternative primary colors in primary colors colour table corresponding to described selection instruction;
At least one alternative primary colors of current definite selection is synthesized to a secondary colour;
The described color configuration instruction of described secondary colour is carried in generation.
3. method according to claim 2, is characterized in that, the instruction that described selection instruction triggers for the scroll bar by dragging on primary colors colour table.
4. method according to claim 1, is characterized in that, described according to the indicated color configuration breath light of described color configuration instruction, comprising:
According to the indicated color of described color configuration instruction, parse indicated parameter value corresponding to color of described color configuration instruction;
According to the described parameter value configuration breath light parsing.
5. method according to claim 1, is characterized in that, the instruction that described color configuration instruction triggers for the color of clicking in colour table.
6. a device of controlling breath light, is characterized in that, comprising:
Output module, for showing the colour table that comprises at least one color;
The first receiver module, for receiving the color configuration instruction that the triggering of described colour table color is generated;
Preparation module, for according to the indicated color configuration breath light of described color configuration instruction.
7. device according to claim 6, is characterized in that, described colour table comprises three primary colors colour tables, at each primary colors colour table, comprises the alternative primary colors of the multiple different rgb RGB numerical value of described primary colors;
Described device also comprises:
The second receiver module, for receiving the selection instruction at least one primary colors colour table;
Primary colors module, for according to described selection instruction, determines an alternative primary colors in primary colors colour table corresponding to described selection instruction;
Synthesis module, for synthesizing a secondary colour by least one alternative primary colors of current definite selection;
Described the first receiver module generates the described color configuration instruction of carrying described secondary colour.
8. device according to claim 7, is characterized in that, the instruction that described selection instruction triggers for the scroll bar by dragging on primary colors colour table.
9. device according to claim 6, is characterized in that, described preparation module comprises:
Resolution unit, for according to the indicated color of described color configuration instruction, parses indicated parameter value corresponding to color of described color configuration instruction;
Preparation unit, for configuring breath light according to the described parameter value parsing.
10. device according to claim 6, is characterized in that, the instruction that described color configuration instruction triggers for the color of clicking in colour table.
11. 1 kinds of terminal equipments, it is characterized in that, terminal equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
12. 1 kinds of network equipments, it is characterized in that, the network equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Show the colour table that comprises at least one color;
The color configuration instruction that reception generates the triggering of color in described colour table;
According to the indicated color configuration breath light of described color configuration instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310669428.0A CN103702478B (en) | 2013-12-09 | 2013-12-09 | A kind of method, device and equipment controlling breath light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310669428.0A CN103702478B (en) | 2013-12-09 | 2013-12-09 | A kind of method, device and equipment controlling breath light |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103702478A true CN103702478A (en) | 2014-04-02 |
CN103702478B CN103702478B (en) | 2016-06-08 |
Family
ID=50363846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310669428.0A Active CN103702478B (en) | 2013-12-09 | 2013-12-09 | A kind of method, device and equipment controlling breath light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103702478B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135799A (en) * | 2014-08-05 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Breathing lamp control method and intelligent terminal |
CN104219850A (en) * | 2014-09-16 | 2014-12-17 | 深圳市华海技术有限公司 | Light emitting equipment control method and device |
CN105072288A (en) * | 2015-09-01 | 2015-11-18 | 广东欧珀移动通信有限公司 | Unlocking method and device |
CN105721708A (en) * | 2016-03-09 | 2016-06-29 | 中科创达软件科技(深圳)有限公司 | Call prompting method and device |
CN105824739A (en) * | 2015-06-24 | 2016-08-03 | 维沃移动通信有限公司 | Control method of breathing light die set and electronic equipment |
CN106802757A (en) * | 2016-12-30 | 2017-06-06 | 珠海市魅族科技有限公司 | Light source control method and terminal installation |
CN107172774A (en) * | 2017-05-12 | 2017-09-15 | 广东欧谱曼迪科技有限公司 | A kind of method for controlling breath light effect of breathing |
CN105611694B (en) * | 2015-12-30 | 2018-10-16 | 北京经纬恒润科技有限公司 | A kind of color configuration method and apparatus of atmosphere lamp |
WO2020014921A1 (en) * | 2018-07-19 | 2020-01-23 | 深圳市柔宇科技有限公司 | Electronic device |
CN111954334A (en) * | 2020-08-12 | 2020-11-17 | 宁波视睿迪光电有限公司 | Control method and device of breathing lamp, electronic equipment and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1704907A (en) * | 2004-06-01 | 2005-12-07 | 联想(北京)有限公司 | Variable respiration indicating lamp apparatus and controlling method thereof |
CN102541485A (en) * | 2010-10-13 | 2012-07-04 | 普驰信息技术有限公司 | Color selection graphical user interface |
CN102595682A (en) * | 2011-01-11 | 2012-07-18 | 北京博创理想科技有限公司 | Vehicle-mounted equipment capable of setting colors of front panel LED (Light-Emitting Diode) backlight lamp by user |
-
2013
- 2013-12-09 CN CN201310669428.0A patent/CN103702478B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1704907A (en) * | 2004-06-01 | 2005-12-07 | 联想(北京)有限公司 | Variable respiration indicating lamp apparatus and controlling method thereof |
CN102541485A (en) * | 2010-10-13 | 2012-07-04 | 普驰信息技术有限公司 | Color selection graphical user interface |
CN102595682A (en) * | 2011-01-11 | 2012-07-18 | 北京博创理想科技有限公司 | Vehicle-mounted equipment capable of setting colors of front panel LED (Light-Emitting Diode) backlight lamp by user |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135799A (en) * | 2014-08-05 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Breathing lamp control method and intelligent terminal |
CN104135799B (en) * | 2014-08-05 | 2016-07-06 | 努比亚技术有限公司 | The control method of breath light and intelligent terminal |
CN104219850A (en) * | 2014-09-16 | 2014-12-17 | 深圳市华海技术有限公司 | Light emitting equipment control method and device |
CN105824739A (en) * | 2015-06-24 | 2016-08-03 | 维沃移动通信有限公司 | Control method of breathing light die set and electronic equipment |
CN105072288A (en) * | 2015-09-01 | 2015-11-18 | 广东欧珀移动通信有限公司 | Unlocking method and device |
CN105072288B (en) * | 2015-09-01 | 2018-01-16 | 广东欧珀移动通信有限公司 | unlocking method and device |
CN105611694B (en) * | 2015-12-30 | 2018-10-16 | 北京经纬恒润科技有限公司 | A kind of color configuration method and apparatus of atmosphere lamp |
CN105721708A (en) * | 2016-03-09 | 2016-06-29 | 中科创达软件科技(深圳)有限公司 | Call prompting method and device |
CN106802757A (en) * | 2016-12-30 | 2017-06-06 | 珠海市魅族科技有限公司 | Light source control method and terminal installation |
CN107172774A (en) * | 2017-05-12 | 2017-09-15 | 广东欧谱曼迪科技有限公司 | A kind of method for controlling breath light effect of breathing |
WO2020014921A1 (en) * | 2018-07-19 | 2020-01-23 | 深圳市柔宇科技有限公司 | Electronic device |
CN111954334A (en) * | 2020-08-12 | 2020-11-17 | 宁波视睿迪光电有限公司 | Control method and device of breathing lamp, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103702478B (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103702478A (en) | Method, device and equipment for controlling breath lamp | |
CN103543913A (en) | Terminal device operation method and device, and terminal device | |
CN103677899B (en) | The method and apparatus of application program is installed | |
CN103823835A (en) | Method and device for processing e-book directory and terminal equipment | |
CN103701988A (en) | Message prompt method and device and electronic equipment | |
CN103702297A (en) | Short message enhancement method, device and system | |
CN103713804B (en) | Apparatus control method, device and electronic equipment | |
CN103699292A (en) | Method and device for entering into text selection mode | |
CN103513769A (en) | Method, device and mobile terminal for setting key function | |
CN103607713A (en) | Method, apparatus, device and system for network access | |
CN103746975A (en) | Method of data transmission, device and mobile terminal | |
CN103684807A (en) | Method, device, terminal device and server for identifying group member information | |
CN103683437B (en) | A kind of charger and terminal equipment | |
CN103699373B (en) | Interface color display, apparatus and system | |
CN103678605A (en) | Information transmission method and device and terminal device | |
CN103763112A (en) | User identity protection method and apparatus | |
CN103631580A (en) | Method and device for generating theme icon | |
CN103605668A (en) | Webpage bookmark storing method and device and mobile terminal | |
CN104954159A (en) | Network information statistics method and device | |
CN103687060A (en) | Terminal communication method, terminal communication device and terminals | |
CN103687063A (en) | Network connecting method, network connecting device and terminal equipment | |
CN103713943A (en) | Native terminal operating system based application function realization method and device | |
CN103747130A (en) | Control method of terminal equipment, device and terminal equipment | |
CN103699309A (en) | Method and device for recording synchronous video, and mobile terminal | |
CN103634468A (en) | Method, device and terminal equipment for processing alarm clock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |