CN105630333B - Display device and display methods - Google Patents
Display device and display methods Download PDFInfo
- Publication number
- CN105630333B CN105630333B CN201610016963.XA CN201610016963A CN105630333B CN 105630333 B CN105630333 B CN 105630333B CN 201610016963 A CN201610016963 A CN 201610016963A CN 105630333 B CN105630333 B CN 105630333B
- Authority
- CN
- China
- Prior art keywords
- control
- wave
- application scenarios
- parameter
- display
- 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.)
- Active
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
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of display device, which includes: that application scenarios obtain module, for obtaining the application scenarios of control place terminal, and obtain the corresponding display region information of the control when receiving pressing instruction of the user to control;Parameter acquisition module, for obtaining wave parameter corresponding with the application scenarios according to the application scenarios of terminal where the control;Processing module draws in the display area of the control for the wave parameter and display region information according to the acquisition and shows wave pattern.The invention also discloses a kind of display methods.Using the present invention, different wave parameters can be got according to different scenes, draws and show corresponding wave pattern in the display area of control, so that the display mode of the display area of control is personalized, promote user experience.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of display devices and display methods.
Background technique
As mobile terminal develops, in order to meet the various needs of users, more and more applications are real in the terminal
It is existing.People are when operating each application, it usually needs operate to the control in the application, to realize corresponding function
Can, still, in the prior art, people are when operating control, usually with dullness on the display area of the control
Color shows that color is single, poor user experience.Such as, in existing Android system, in setting application, setting application is opened
Afterwards, it as shown in Fig. 2, when " showing " control when the user clicks, is highlighted in the display area of " display " control with orange, i.e.,
Regardless of user is when or where or in which kind of mood or other situations, click should " display " control when, in " display " control
Display area be all to be highlighted with orange so that the display mode of the display area of the control is very dull, influence user
Experience.
Summary of the invention
It is a primary object of the present invention to propose a kind of display device and display methods, it is intended to solve in the prior art,
When control is selected, the technical issues of display mode is dull, poor user experience.
To achieve the above object, the present invention provides a kind of display device, which includes:
Application scenarios obtain module, for obtaining the control place when receiving pressing instruction of the user to control
The application scenarios of terminal, and obtain the corresponding display region information of the control;
Parameter acquisition module obtains corresponding with the application scenarios for the application scenarios according to terminal where the control
Wave parameter;
Processing module, for the wave parameter and display region information according to the acquisition, in the viewing area of the control
It draws and shows wave pattern in domain.
Optionally, it includes: first acquisition unit that the application scenarios, which obtain module, for receiving user to control
When pressing instruction, the Weather information of terminal present position where obtaining the control;
The parameter acquisition module includes: second acquisition unit, for according to current the Weather information acquisition and institute
State the corresponding wave parameter of Weather information.
Optionally, it includes: third acquiring unit that the application scenarios, which obtain module, for receiving user to control
When pressing instruction, current temporal information is obtained;
The parameter acquisition module includes: the 4th acquiring unit, for according to the current time information obtain with it is described
The corresponding wave parameter of current time information.
Optionally, the wave parameter includes wave vibration frequency, wave vibration amplitude and wave color.
Optionally, the display region information includes the coordinate data of control, and the processing module includes:
First processing units, for according to the wave parameter of the acquisition and the coordinate data of control, in the control
It draws and shows wave in display area;
The second processing unit, for the wave color in the wave parameter according to the acquisition to the viewing area of the control
Wave region below in domain is filled.
In addition, to achieve the above object, the present invention also proposes a kind of display methods, this method comprises:
When receiving pressing instruction of the user to control, the application scenarios of terminal where obtaining the control, and obtain
The corresponding display region information of the control;
Wave parameter corresponding with the application scenarios is obtained according to the application scenarios of terminal where the control;
According to the wave parameter and display region information of the acquisition, is drawn in the display area of the control and show wave
Unrestrained pattern.
Optionally, described when receiving pressing instruction of the user to control, the application of terminal where obtaining the control
The step of scene includes: the terminal present position where obtaining the control when receiving user and instructing to the pressing of control
Weather information;
The application scenarios according to terminal where the control obtain wave parameter corresponding with the application scenarios
Step includes: to obtain wave parameter corresponding with the Weather information according to the Weather information.
Optionally, described when receiving pressing instruction of the user to control, the application of terminal where obtaining the control
The step of scene includes: to obtain current temporal information when receiving user and instructing to the pressing of control;
The application scenarios according to terminal where the control obtain wave parameter corresponding with the application scenarios
Step includes: to obtain wave parameter corresponding with the current time information according to the current time information.
Optionally, the wave parameter includes wave vibration frequency, wave vibration amplitude and wave color.
Optionally, the display region information includes the coordinate data of control, according to the wave parameter of the acquisition and is shown
Show area information, includes: in the step of display area of the control is drawn and shows wave pattern
According to the wave parameter of the acquisition and the coordinate data of control, draws and show in the display area of the control
Wave;
According to the wave color in the wave parameter of the acquisition to the wave in the display area of the control below
Region be filled.
Display device and method of the invention, which includes: that application scenarios obtain module, for receiving user couple
When the pressing instruction of control, the application scenarios of terminal where obtaining the control, and obtain the corresponding display area of the control
Information;Parameter acquisition module obtains corresponding with the application scenarios for the application scenarios according to terminal where the control
Wave parameter;Processing module, for the wave parameter and display region information according to the acquisition, in the viewing area of the control
It draws and shows wave pattern in domain;Different wave parameters can be got according to different scenes, in the display area of control
It draws and shows corresponding wave pattern, so that the display mode of the display area of control is personalized, promote user experience.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the control schematic diagram of setting application;
Fig. 3 is the structural schematic diagram of the first embodiment of the display device of that present invention;
Fig. 4 is the schematic diagram that wave pattern is shown on control;
Fig. 5 is the structural schematic diagram of the second embodiment of the display device of that present invention;
Fig. 6 is the structural schematic diagram of the 3rd embodiment of the display device of that present invention;
Fig. 7 is the structural schematic diagram of the fourth embodiment of the display device of that present invention;
Fig. 8 is that the invention shows the flow diagrams of the first embodiment of method;
Fig. 9 is that the invention shows the flow diagrams of the second embodiment of method;
Figure 10 is that the invention shows the flow diagrams of the 3rd embodiment of method;
Figure 11 is that the invention shows the flow diagrams of the fourth embodiment of method.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware configuration signal of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180, power supply unit 190,
Temperature sensor 200 and humidity sensor 210 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that
It is, it is not required that implement all components shown.More or fewer components can alternatively be implemented.It will be discussed in more detail below
The element of mobile terminal.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device
Or the radio communication between network.
A/V input unit 120 is for receiving audio or video signal.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration of mobile terminal 100 or by fast movement and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display
Unit 151 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch
Input pressure and touch input position and touch input area.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.Moreover,
Memory 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication device and satellite-based communication device operate.
Structure based on above-mentioned mobile terminal hardware configuration, communication device proposes that the display device of that present invention and method are each
Embodiment.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of the first embodiment of the display device of that present invention, which includes:
Application scenarios obtain module 10, for obtaining control place when receiving pressing instruction of the user to control
The application scenarios of terminal, and obtain the corresponding display region information of the control;
Parameter acquisition module 20 obtains corresponding with the application scenarios for the application scenarios according to terminal where the control
Wave parameter;
Processing module 30, for the wave parameter and display region information according to the acquisition, in the display area of the control
It draws and shows wave pattern.
The control can apply upper control for native applications, web application or mixing, which, which refers to, directly to run
In the application program of current operation system, on smart phone, which includes setting application, short message application, KuGoo sound
It is happy etc.;Web application refers to the web application for needing to run in a browser.On smart phone, such as the intelligence of Android system
On mobile phone, as shown in Fig. 2, the control that setting application includes has: WLAN, bluetooth, card are arranged, more without line options, display, notice
Management, sound, edge gesture, a sexual function and fingerprint recognition etc..Terminal where the control can be smart phone, tablet computer
Etc. terminals.
User can operate the control in terminal, such as carry out pressing operation to the control, to generate pressing instruction.?
In the step, receiving user is long-pressing instruction to the pressing instruction of control, specifically, a settable compressing time threshold values,
When pressing duration of the user on the control is greater than compressing time threshold values, it is believed that pressing instruction of the user on the control is length
By instruction.
In one embodiment, which obtains the application scenarios of module 10 and obtains the acquisition control of module 10 place eventually
The application scenarios at end include: the Weather information of terminal present position where obtaining the control;In another embodiment, the control is obtained
The application scenarios of terminal include: acquisition current time information where part.
In another embodiment, the application scenarios of terminal include: where which obtains the acquisition of module 10 control
Terminal where the music type or acquisition current control of the music that terminal where obtaining current control most often plays is currently playing
The music type of music;Music type includes cheerful and light-hearted class, dynamic class, sentimental class, classic class etc..Terminal where obtaining current control
The step of music type of the music most often played includes: to obtain most often to broadcast from the broadcasting application of terminal where the current control
The music put can apply the broadcasting music that broadcasting time is most in a nearest preset time period as the sound most often played
It is happy, further according to the mapping relations of preset musical designation and music type, determine the music type of the music most often played.It should
Broadcasting is multiple using that can have, and such as has QQ music application and search dog music application in the terminal, then where the current control eventually
The step of obtaining the application most often played in the broadcasting application at end are as follows: from being obtained in QQ music application in a nearest preset time period
First play record, and from obtained in search dog music application in a nearest preset time period second play record, this first
Playing record and playing record all with second includes playing the corresponding title of music, playing the corresponding broadcasting time of music, according to this
First, which plays record and the second broadcasting record, obtains the most music of broadcasting time, using the most music of the broadcasting time as most
The music often played.
The application scenarios obtain module 10 and obtain the corresponding display region information of the control, which includes control
The coordinate data of part, can also include the length of display area of control, control display area width, the number of coordinates of control
According to for control terminal display interface origin coordinates;Common, the display area of control is rectangular region, as shown in Fig. 2,
The display area for the display control being arranged in application is rectangular region (gray area).
The corresponding wave parameter of each application scenarios is preset, common, the corresponding wave parameter of different application scene
It is different.It, can also where the corresponding wave parameter of each application scenarios can be stored in the control in the internal memory of terminal
To save in server at the far end.
The wave parameter includes wave vibration frequency, wave vibration amplitude and wave color.
In one embodiment, the parameter acquisition module 20 is according to the application scenarios of terminal where the control, from the control institute
It is corresponding that the application scenarios are found in the corresponding wave parameter of each application scenarios saved in the internal memory of terminal
Wave parameter.In another embodiment, the parameter acquisition module 20 is according to the application scenarios of terminal where the control, to server
Acquisition request is sent, the corresponding wave of the application scenarios of terminal is joined where searching the control according to the acquisition request for the server
Number;And receive the corresponding wave parameter of the application scenarios that the server is returned according to the acquisition request.In another embodiment,
The parameter acquisition module 20 sends acquisition request to server according to the application scenarios of terminal where the control;Receive the service
The corresponding wave parameter of each application scenarios that device is returned according to the acquisition request;It is corresponding from each application scenarios of the return
In wave parameter, the corresponding wave parameter of the application scenarios is searched.
The processing module 30 determines wave function according to the wave parameter of the acquisition, which is SIN function or remaining
String function, in the present embodiment, the wave function are as follows: y=A*sin (w*x+b)+h, wherein A indicates wave vibration amplitude, w table
Oscillography wave vibration frequency, b indicate first phase, and h is constant;The b is also constant, and the b and h can be set as needed.According to the display
Area information determines the display area that wave can be drawn on the control.In this step, wave is obtained according to determining wave function
Then the value of each point on wave first draws calculated each point, then by drafting on the display area of the control
Each point is connected with smooth curve, forms wave;The region under the display area Wave of the control is filled again,
Wave pattern is obtained, as shown in Figure 4.
Using above-described embodiment, module 10 is obtained by application scenarios, for referring to the pressing of control receiving user
When enabling, the application scenarios of terminal where obtaining the control, and obtain the corresponding display region information of the control;Parameter acquisition module
20, for obtaining wave parameter corresponding with the application scenarios according to the application scenarios of terminal where the control;Processing module 30,
For the wave parameter and display region information according to the acquisition, is drawn in the display area of the control and show wave pattern;
Different wave parameters can be got according to different scenes, draw in the display area of control and show corresponding wave chart
Case promotes user experience so that the display mode of the display area of control is personalized.
Further, as shown in figure 5, it includes: first acquisition unit 11 that the application scenarios, which obtain module 10, for receiving
When being instructed to user to the pressing of control, the Weather information of terminal present position where obtaining the control;The parameter acquisition module
20 include: second acquisition unit 21, for obtaining wave parameter corresponding with the Weather information according to the current Weather information.
First acquisition unit 11 can obtain position locating for the terminal of control place from external network by terminal where the control
The Weather information set, terminal present position where the control can also being obtained by the day device of air of terminal built-in where the control
Weather information.Locating for terminal where terminal where the control can obtain the control by wired connection mode or radio connection
The Weather information of position.
The Weather information can for temperature, humidity or state of weather etc., the state of weather include: become a fine day, be cloudy, is rainy,
It snows.
In one embodiment, when the Weather information is temperature, then the day device of air of terminal built-in where the control is temperature
Spend sensor;When the Weather information is humidity, then the day device of air of terminal built-in where the control is humidity sensor.
Second acquisition unit 21 obtains wave parameter corresponding with the Weather information according to the Weather information, specifically, in advance
The corresponding wave parameter of each Weather information is first set, that is, the mapping relations of each Weather information and wave parameter are set, then
According to the Weather information that first acquisition unit 11 obtains, found in the mapping relations of the Weather information and wave parameter corresponding
Wave parameter.
In one embodiment, the mapping relations of the Weather information and wave parameter are as follows: the mapping of temperature and wave parameter is closed
System, as shown in Table 1.When the Weather information that first acquisition unit 11 obtains is temperature, and temperature section [T2, T3), then can be from
In the table one, second acquisition unit 21 finds corresponding wave parameter are as follows: (F12, H12, V11).
Table one:
In another embodiment, the mapping relations of the Weather information and wave parameter are as follows: state of weather and wave parameter
Mapping relations, as shown in Table 2.Under the Weather information that first acquisition unit 11 obtains is state of weather, and the state of weather is
Rain then can find corresponding wave parameter are as follows: (F23, H23, V23) from the table two.Common, state of weather is rainy
When, it is wave when becoming a fine day in corresponding wave parameter that the wave vibration frequency F23 in corresponding wave parameter, which is less than state of weather,
Unrestrained vibration frequency F21, i.e., at rainy day so that the control display area draw wave more gently.In the weather
State is when becoming a fine day, and wave color V21 can be sky blue;When the state of weather is to rain, wave color V23 can be with
For grey.
Table two:
Further, as shown in fig. 6, it includes: third acquiring unit 12 that the application scenarios, which obtain module 10, for receiving
When instructing to user to the pressing of control, current temporal information is obtained;The parameter acquisition module 20 includes: the 4th acquiring unit
22, for obtaining wave parameter corresponding with the current time information according to the current time information.
The third acquiring unit 12 can obtain current time information by the time application of terminal built-in where the control.It should
Current time information can be date information, be also possible to time information, and wherein date information can be indicated with the day moon, time information
It can be indicated with Hour Minute Second.
4th acquiring unit 22 obtains wave parameter corresponding with the current time information according to the current time information,
Specifically, presetting the corresponding wave parameter of each temporal information, that is, the mapping of each temporal information and wave parameter is set
Relationship is closed according to the current time information obtained according to third acquiring unit 12 in the mapping of the temporal information and wave parameter
Corresponding wave parameter is found in system.
In one embodiment, the mapping relations of the temporal information and wave parameter are as follows: the mapping of season and wave parameter is closed
System, as shown in Table 3.When the current time information that third acquiring unit 12 obtains is March 1, when the March 1 belonged to spring
Between, then from the table three, the 4th acquiring unit 22 finds corresponding wave parameter are as follows: (F31, H31, V31).
Table three:
In another embodiment, the mapping relations of the temporal information and wave parameter are as follows: period and wave parameter are reflected
Relationship is penetrated, as shown in Table 4.When third acquiring unit 12 obtain current time information be 10 o'clock, belong to the morning at 10 o'clock
Time finds corresponding wave parameter then from the table four are as follows: (F41, H41, V41).
Table four:
Further, as shown in fig. 7, the processing module 30 includes: first processing units 31, for the wave according to the acquisition
The coordinate data of unrestrained parameter and control draws in the display area of the control and shows wave;The second processing unit 32, is used for
The wave region below in the display area of the control is filled out according to the wave color in the wave parameter of the acquisition
It fills.
The first processing units 31 determine wave function according to the wave parameter of the acquisition, which is SIN function
Or cosine function, in the present embodiment, the wave function are as follows: y=A*sin (w*x+b)+h, wherein A indicates wave vibration amplitude,
W indicates wave vibration frequency, and b indicates first phase, and h is constant;The b is also constant, and the b and h can be set as needed.It is aobvious according to this
Show that area information determines the display area that wave can be drawn on the control.
The first processing units 31 draw in the display area of control according to the wave function of the determination and show wave chart
Case can set the lower left corner of the display area of the control to specifically, coordinate system is first established in the display area in the control
Origin is to the right positive x-axis, and be positive y-axis upwards, draws and show wave in display area according to the wave function, the wave
Color is determined according to the wave color in the wave parameter, as being red, the then wave drawn when the wave color in wave parameter
The color of wave is red.According to the wave function display area draw wave when, can to the display area horizontally with
One pixel is that unit is divided, i.e. the corresponding x value of a horizontal pixel point can then calculate one group of y value, then exist
Draw wave in the display area.The wave of the drafting can be it is static or dynamic, when by the static wave according to certain
Horizontal movement velocity move right, then can produce dynamic wave.
The second processing unit 32 in the region between the wave of the drafting and the display area bottom of the control into
The filling of row pure color, is filled with the wave color in the wave parameter.
Referring to Fig. 8, Fig. 8 is that the invention shows the flow diagrams of the first embodiment of method, this method comprises:
S10, when receiving user and being instructed to the pressing of control, the application scenarios of terminal where obtaining the control.
The control can apply upper control for native applications, web application or mixing, which, which refers to, directly to run
In the application program of current operation system, on smart phone, which includes setting application, short message application, KuGoo sound
It is happy etc.;Web application refers to the web application for needing to run in a browser.On smart phone, such as the intelligence of Android system
On mobile phone, as shown in Fig. 2, the control that setting application includes has: WLAN, bluetooth, card are arranged, more without line options, display, notice
Management, sound, edge gesture, a sexual function and fingerprint recognition etc..Terminal where the control can be smart phone, tablet computer
Etc. terminals.
User can operate the control in terminal, such as carry out pressing operation to the control, to generate pressing instruction.?
In the step, receiving user is long-pressing instruction to the pressing instruction of control, specifically, a settable compressing time threshold values,
When pressing duration of the user on the control is greater than compressing time threshold values, it is believed that pressing instruction of the user on the control is length
By instruction.
In one embodiment, the application scenarios of terminal where obtaining the control include: locating for terminal where obtaining the control
The Weather information of position;In another embodiment, the application scenarios of terminal where obtaining the control include: to obtain current time letter
Breath.
In another embodiment, the application scenarios of terminal where obtaining the control include: to obtain terminal where current control
The music type of the music most often played or the music type for obtaining the currently playing music of current control place terminal;Music class
Type includes cheerful and light-hearted class, dynamic class, sentimental class, classic class etc..The music for the music that terminal where obtaining current control most often plays
The step of type includes: to obtain the music most often played from the broadcasting application of terminal where the current control, can be by the broadcasting
Apply the music that broadcasting time is most in a nearest preset time period as the music most often played, further according to preset music
The mapping relations of title and music type determine the music type of the music most often played.The broadcasting application can have it is multiple,
If having QQ music application and search dog music application in the terminal, then obtained most from the broadcasting application of terminal where the current control
The step of application often played are as follows: from the first broadcasting record obtained in QQ music application in a nearest preset time period, and from
Second obtained in a nearest preset time period in search dog music application plays record, which plays note
Record all includes playing the corresponding title of music, playing the corresponding broadcasting time of music, is broadcast according to the first broadcasting record and second
It puts record and obtains the most music of broadcasting time, using the most music of the broadcasting time as the music most often played.
S20, the corresponding display region information of the control is obtained.
The corresponding display region information of the control is obtained, which includes the coordinate data of control, can be with
The length of display area including control, the display area of control width, the coordinate data of control is that control is shown in terminal
The origin coordinates at interface;Common, the display area of control is rectangular region, as shown in Fig. 2, the display control in setting application
The display area of part is rectangular region (gray area).
S30, wave parameter corresponding with the application scenarios is obtained according to the application scenarios of terminal where the control.
The corresponding wave parameter of each application scenarios is preset, common, the corresponding wave parameter of different application scene
It is different.It, can also where the corresponding wave parameter of each application scenarios can be stored in the control in the internal memory of terminal
To save in server at the far end.
The wave parameter includes wave vibration frequency, wave vibration amplitude and wave color.
In one embodiment, step S30 includes: according to the application scenarios of terminal where the control, where from the control
The corresponding wave of the application scenarios is found in the corresponding wave parameter of each application scenarios saved in the internal memory of terminal
Unrestrained parameter.In another embodiment, step S30 includes: and is sent according to the application scenarios of terminal where the control to server
Acquisition request, the corresponding wave parameter of application scenarios of terminal where searching the control according to the acquisition request for the server;
And receive the corresponding wave parameter of the application scenarios that the server is returned according to the acquisition request.In another embodiment, should
Step S30 includes: to send acquisition request to server according to the application scenarios of terminal where the control;Receive the server root
The corresponding wave parameter of each application scenarios returned according to the acquisition request;From the corresponding wave of each application scenarios of the return
In parameter, the corresponding wave parameter of the application scenarios is searched.
S40, wave parameter and display region information according to the acquisition, draw in the display area of the control and show wave
Unrestrained pattern.
Wave function is determined according to the wave parameter of the acquisition, which is SIN function or cosine function, at this
In embodiment, the wave function are as follows: y=A*sin (w*x+b)+h, wherein A indicates wave vibration amplitude, and w indicates wave vibration frequency
Rate, b indicate first phase, and h is constant;The b is also constant, and the b and h can be set as needed.It is determined according to the display region information
The display area of wave can be drawn on the control.In this step, each point on wave is obtained according to determining wave function
Value, calculated each point is then first drawn on the display area of the control, then uses each point of drafting with flat
Sliding curve connection, forms wave;The region under the display area Wave of the control is filled again, obtains wave chart
Case, as shown in Figure 4.
Using above-described embodiment, by obtaining terminal where the control when receiving pressing instruction of the user to control
Application scenarios, and obtain the corresponding display region information of the control;According to the application scenarios of terminal where the control obtain with
The corresponding wave parameter of the application scenarios;According to the wave parameter and display region information of the acquisition, in the viewing area of the control
It draws and shows wave pattern in domain;Different wave parameters can be got according to different scenes, in the display area of control
It draws and shows corresponding wave pattern, so that the display mode of the display area of control is personalized, promote user experience.
Referring to Fig. 9, Fig. 9 is the invention shows the flow diagram of the second embodiment of method, and the present embodiment includes Fig. 8 institute
The step of showing embodiment, wherein step S10 include: S11, when receiving user and being instructed to the pressing of control, obtain the control
The Weather information of terminal present position where part;Step S30 includes: S31, according to Weather information acquisition and the Weather information pair
The wave parameter answered.
In step S11, position locating for the terminal of control place can be obtained from external network by terminal where the control
The Weather information set, terminal present position where the control can also being obtained by the day device of air of terminal built-in where the control
Weather information.Locating for terminal where terminal where the control can obtain the control by wired connection mode or radio connection
The Weather information of position.
The Weather information can for temperature, humidity or state of weather etc., the state of weather include: become a fine day, be cloudy, is rainy,
It snows.
In one embodiment, when the Weather information is temperature, then the day device of air of terminal built-in where the control is temperature
Spend sensor;When the Weather information is humidity, then the day device of air of terminal built-in where the control is humidity sensor.
In this step in S31, wave parameter corresponding with the Weather information is obtained according to the Weather information, specifically,
The corresponding wave parameter of each Weather information is preset, that is, the mapping relations of each Weather information and wave parameter are set, so
Afterwards according to the Weather information obtained in step S11, found in the mapping relations of the Weather information and wave parameter corresponding
Wave parameter.
In one embodiment, the mapping relations of the Weather information and wave parameter are as follows: the mapping of temperature and wave parameter is closed
System, as shown in above-mentioned table one.When the Weather information obtained in step s 11 be temperature, and temperature section [T2, T3), then may be used
From the table one, corresponding wave parameter is found are as follows: (F12, H12, V11).
In another embodiment, the mapping relations of the Weather information and wave parameter are as follows: state of weather and wave parameter
Mapping relations, as shown in Table 2.When the Weather information obtained in step s 11 be state of weather, and the state of weather be it is rainy,
Then corresponding wave parameter can be found are as follows: (F23, H23, V23) from the table two.It is common, when state of weather is rainy,
It is wave vibration when becoming a fine day in corresponding wave parameter that wave vibration frequency F23 in corresponding wave parameter, which is less than state of weather,
Dynamic frequency F21, i.e., at rainy day so that the control display area draw wave more gently.In the state of weather
When to become a fine day, wave color V21 can be sky blue;When the state of weather is to rain, wave color V23 can be ash
Color.
0, Figure 10 is the invention shows the flow diagram of the 3rd embodiment of method referring to Fig.1, and the present embodiment includes Fig. 8
The step of illustrated embodiment, wherein step S10 include: S12, when receiving user and being instructed to the pressing of control, acquisition is worked as
Preceding temporal information;Step S30 includes: S32, according to current time information acquisition wave ginseng corresponding with the current time information
Number.
In step S12, current time information can be obtained by the time application of terminal built-in where the control.Deserve
Preceding temporal information can be date information, be also possible to time information, and wherein date information can indicate that time information can with the day moon
Used time every minute and second indicates.
In step S32, wave parameter corresponding with the current time information, tool are obtained according to the current time information
Body, the corresponding wave parameter of each temporal information is preset, that is, the mapping that each temporal information and wave parameter is arranged is closed
System, according to according to the current time information obtained in step S12, searches in the mapping relations of the temporal information and wave parameter
To corresponding wave parameter.
In one embodiment, the mapping relations of the temporal information and wave parameter are as follows: the mapping of season and wave parameter is closed
System, as shown in above-mentioned table three.When the current time information obtained in step s 12 is March 1, when the March 1 belonged to spring
Between, then from the table three, find corresponding wave parameter are as follows: (F31, H31, V31).
In another embodiment, the mapping relations of the temporal information and wave parameter are as follows: period and wave parameter are reflected
Relationship is penetrated, as shown in Table 3.When the current time information obtained in step s 12 be 10 o'clock, belong to the period of the day from 11 a.m. to 1 p.m at 10 o'clock
Between, then from the table four, find corresponding wave parameter are as follows: (F41, H41, V41).
1, Figure 11 is the invention shows the flow diagram of the fourth embodiment of method referring to Fig.1, and the present embodiment includes Fig. 8
The step of illustrated embodiment, wherein step S40 include:
S41, according to the wave parameter of the acquisition and the coordinate data of control, draw and show in the display area of the control
Wave.
Wave function is determined according to the wave parameter of the acquisition, which is SIN function or cosine function, at this
In embodiment, the wave function are as follows: y=A*sin (w*x+b)+h, wherein A indicates wave vibration amplitude, and w indicates wave vibration frequency
Rate, b indicate first phase, and h is constant;The b is also constant, and the b and h can be set as needed.It is determined according to the display region information
The display area of wave can be drawn on the control.
Wave pattern is drawn and shown in the display area of control according to the wave function of the determination, specifically, in the control
Coordinate system is first established in the display area of part, can set origin for the lower left corner of the display area of the control, be positive to the right x
Axis, be positive y-axis upwards, draws and show wave in display area according to the wave function, the color of the wave is according to the wave
Wave color in parameter determines that as being red when the wave color in wave parameter, then the color for the wave drawn is red.
It, can be to the display area horizontally as unit of a pixel when drawing wave in display area according to the wave function
It is divided, i.e. the corresponding x value of a horizontal pixel point can then calculate one group of y value, then draw wave in the display area
Wave.The wave of the drafting can be it is static or dynamic, when by the static wave according to certain horizontal movement velocity to
It moves right, then can produce dynamic wave.
S42, according to the wave color in the wave parameter of the acquisition to the wave in the display area of the control below
Region be filled.
Pure color filling is carried out in region between the wave of the drafting and the display area bottom of the control, with the wave
Wave color in unrestrained parameter is filled.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute the method that each embodiment of the present invention is somebody's turn to do.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of display device, which is characterized in that the device includes:
Application scenarios obtain module, for obtaining terminal where the control when receiving pressing instruction of the user to control
Application scenarios, and obtain the corresponding display region information of the control;
Parameter acquisition module, for obtaining wave corresponding with the application scenarios according to the application scenarios of terminal where the control
Unrestrained parameter;
Processing module is drawn for the wave parameter and display region information according to the acquisition in the display area of the control
It makes and shows wave pattern.
2. display device as described in claim 1, which is characterized in that it includes: the first acquisition that the application scenarios, which obtain module,
Unit, for when receiving pressing instruction of the user to control, the weather of terminal present position to be believed where obtaining the control
Breath;
The parameter acquisition module includes: second acquisition unit, for being obtained and the Weather information according to the Weather information
Corresponding wave parameter.
3. display device as described in claim 1, which is characterized in that it includes: that third obtains that the application scenarios, which obtain module,
Unit, for obtaining current temporal information when receiving pressing instruction of the user to control;
The parameter acquisition module includes: the 4th acquiring unit, is used to be obtained according to the current time information and described current
The corresponding wave parameter of temporal information.
4. display device as described in claim 1, which is characterized in that the wave parameter includes wave vibration frequency, wave
Oscillation Amplitude and wave color.
5. display device as claimed in claim 4, which is characterized in that the display region information includes the number of coordinates of control
According to the processing module includes:
First processing units, for according to the wave parameter of the acquisition and the coordinate data of control, in the display of the control
It draws and shows wave in region;
The second processing unit, for the wave color in the wave parameter according to the acquisition in the display area of the control
Wave region below be filled.
6. a kind of display methods, which is characterized in that it is characterized in that, this method comprises:
When receiving pressing instruction of the user to control, the application scenarios of terminal where obtaining the control, and described in acquisition
The corresponding display region information of control;
Wave parameter corresponding with the application scenarios is obtained according to the application scenarios of terminal where the control;
According to the wave parameter and display region information of the acquisition, is drawn in the display area of the control and show wave chart
Case.
7. display methods as claimed in claim 6, which is characterized in that described to receive pressing instruction of the user to control
When, the step of application scenarios of terminal where obtaining the control includes:
When receiving pressing instruction of the user to control, the Weather information of terminal present position where obtaining the control;
The step of application scenarios according to terminal where the control obtain wave parameter corresponding with the application scenarios
It include: that wave parameter corresponding with the Weather information is obtained according to the Weather information.
8. display methods as claimed in claim 6, which is characterized in that described to receive pressing instruction of the user to control
When, the step of application scenarios of terminal where obtaining the control includes:
When receiving pressing instruction of the user to control, current temporal information is obtained;
The step of application scenarios according to terminal where the control obtain wave parameter corresponding with the application scenarios
It include: that wave parameter corresponding with the current time information is obtained according to the current time information.
9. display methods as claimed in claim 6, which is characterized in that the wave parameter includes wave vibration frequency, wave
Oscillation Amplitude and wave color.
10. display methods as claimed in claim 9, which is characterized in that the display region information includes the number of coordinates of control
According to being drawn in the display area of the control and show wave chart according to the wave parameter and display region information of the acquisition
The step of case includes:
According to the wave parameter of the acquisition and the coordinate data of control, is drawn in the display area of the control and show wave
Line;
According to the wave color in the wave parameter of the acquisition to the wave area below in the display area of the control
Domain is filled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610016963.XA CN105630333B (en) | 2016-01-08 | 2016-01-08 | Display device and display methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610016963.XA CN105630333B (en) | 2016-01-08 | 2016-01-08 | Display device and display methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105630333A CN105630333A (en) | 2016-06-01 |
CN105630333B true CN105630333B (en) | 2019-06-21 |
Family
ID=56045340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610016963.XA Active CN105630333B (en) | 2016-01-08 | 2016-01-08 | Display device and display methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105630333B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032722B (en) * | 2018-06-27 | 2021-09-28 | 广州视源电子科技股份有限公司 | Method, device, equipment and medium for updating display effect of UI component |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140292668A1 (en) * | 2013-04-01 | 2014-10-02 | Lenovo (Singapore) Pte. Ltd. | Touch input device haptic feedback |
CN104657097A (en) * | 2013-11-25 | 2015-05-27 | 中国移动通信集团公司 | Method and device for displaying wave-shaped dynamic image |
CN104793835B (en) * | 2014-01-17 | 2018-11-27 | 深圳市艾酷通信软件有限公司 | A kind of system and its implementation for replacing interface color |
CN104731453A (en) * | 2015-03-31 | 2015-06-24 | 努比亚技术有限公司 | Method and device for adjusting colors of terminal icon texts |
-
2016
- 2016-01-08 CN CN201610016963.XA patent/CN105630333B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105630333A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109753326B (en) | Processing method, device, equipment and machine readable medium | |
US11249643B2 (en) | Electronic device for displaying list of executable applications on split screen and operating method thereof | |
CN105893955B (en) | Fingerprint identification device and method | |
CN116055610B (en) | Method for displaying graphical user interface and mobile terminal | |
US11775244B2 (en) | Data processing method and electronic terminal | |
CN110400180B (en) | Recommendation information-based display method and device and storage medium | |
CN103207728A (en) | Method Of Providing Augmented Reality And Terminal Supporting The Same | |
AU2010327453A1 (en) | Method and apparatus for providing user interface of portable device | |
WO2019085820A1 (en) | Processing method, device, apparatus, and machine-readable medium | |
CN105426035A (en) | Method and electronic device for providing information | |
CN110955471B (en) | Notification message display method, notification message display device, terminal and storage medium | |
CN105335198A (en) | Font addition method and device | |
CN107809531A (en) | A kind of schedule creation method, mobile terminal | |
CN112131473B (en) | Information recommendation method, device, equipment and storage medium | |
CN110955788A (en) | Information display method and electronic equipment | |
CN109697262A (en) | A kind of information display method and device | |
US9336242B2 (en) | Mobile terminal and displaying method thereof | |
KR20210101583A (en) | Electronic device and method for operating contents using the same | |
KR20180111242A (en) | Electronic device and method for providing colorable content | |
CN106445148A (en) | Method and device for triggering terminal application | |
KR20150123429A (en) | Electronic device and Method for providing contents | |
CN106527685A (en) | Control method and device for terminal application | |
CN107896282B (en) | Schedule viewing method and device and terminal | |
KR20140090114A (en) | Keyword search method and apparatus | |
CN106384033A (en) | Screen off method and apparatus of terminal screen |
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 |