CN105975059A - Background change method and electronic equipment - Google Patents
Background change method and electronic equipment Download PDFInfo
- Publication number
- CN105975059A CN105975059A CN201610265320.9A CN201610265320A CN105975059A CN 105975059 A CN105975059 A CN 105975059A CN 201610265320 A CN201610265320 A CN 201610265320A CN 105975059 A CN105975059 A CN 105975059A
- Authority
- CN
- China
- Prior art keywords
- towards
- parameter
- background
- current
- local background
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- 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
Abstract
The invention discloses a background change method and electronic equipment, and belongs to the field of computers. The background change method comprises the following steps: acquiring the current direction parameter of an equipment screen; acquiring the current local background corresponding to the current direction parameter; and displaying the current local background. When the direction of an intelligent terminal equipment screen changes, the current local background corresponding to the current direction parameter of the screen is acquired to ensure that the screen display background changes along with the direction change of the screen, so that the diversified demands of the users are satisfied; and meanwhile, through changing the screen display background, the users can be endowed with a feeling of being personally on the scenes, so as to further improve the user experience.
Description
Technical field
The present invention relates to computer realm, particularly to a kind of method changing background and electronic equipment.
Background technology
Along with the development of science and technology, intelligent terminal plays the most important role in daily life.User
Demand to intelligent terminal is no longer limited to the use of its basic function, is more various individual demand,
Such as according to the personal like of user, background picture is set at the desktop of intelligent terminal, and should in various chats
By software design patterns chat background etc..
Prior art provides the method changing background, including: intelligent terminal supports User Defined
The background picture of terminal unit, by user setup, by carry in terminal unit picture database, user
One or more picture that shooting or network are downloaded is as the background picture of terminal unit, to set in terminal
The background picture that standby upper display is new, then need to reset.
In the prior art, the background picture changing terminal unit screen must enter by reselecting picture
Row background picture sets, and just arrives the purpose changing background picture, fairly simple coarse;It addition, user makes
When using intelligent terminal, terminal unit screen towards it may happen that change, such as terminal unit screen is down
Rotate or bear right dynamic, the background picture that now intelligent terminal screen shows can not carry out dynamically with
Changing towards change with screen, thus reduce the experience of user.
Summary of the invention
In order to dynamically change the background picture of intelligent terminal screen, meet user's request, improve
Consumer's Experience, embodiments provides a kind of method changing background and electronic equipment.Technical scheme is such as
Under:
First aspect, it is provided that a kind of method changing background, described method includes:
Obtain the current towards parameter of device screen;
Obtain described currently towards the current local background that parameter is corresponding;
Show described current local background.
In conjunction with first aspect, in the implementation that the first is possible, described acquisition device screen work as the previous dynasty
Include to parameter:
According to preset sample frequency, obtain described current towards parameter.
In conjunction with the first possible implementation of first aspect or first aspect, in the realization that the second is possible
In mode, described acquisition is described currently to be included towards the current local background that parameter is corresponding:
Obtain described currently towards parameter relative to benchmark towards the first rotation of parameter;
Rotate with described benchmark towards local background corresponding to parameter position in background picture according to described first
Put, determine the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
In conjunction with the first possible implementation of first aspect or first aspect, in the realization that the third is possible
In mode, described acquisition is described currently also to be included towards the current local background that parameter is corresponding:
Obtain described currently towards parameter relative to upper second rotation towards parameter;
According to described second rotate with described upper one towards local background corresponding to parameter in background picture
Position, determines the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
In conjunction with the third arbitrary possible implementation of first aspect to first aspect, possible at the 4th kind
In implementation, the described current local background of described display also includes:
Obtain the translational speed of described device screen;
According to described translational speed and described current towards parameter, show described current local background.
Second aspect, it is provided that a kind of electronic equipment, described electronic equipment includes:
First acquisition module, for obtaining the current towards parameter of device screen;
Second acquisition module, described currently towards the current local background that parameter is corresponding for obtaining;
Display module, is used for showing described current local background.
In conjunction with second aspect, in the implementation that the first is possible, described first acquisition module specifically for:
According to preset sample frequency, obtain described current towards parameter.
In conjunction with the first possible implementation of second aspect or second aspect, in the realization that the second is possible
In mode, described second acquisition module specifically for:
Obtain described currently towards parameter relative to benchmark towards the first rotation of parameter;
Rotate with described benchmark towards local background corresponding to parameter position in background picture according to described first
Put, determine the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
In conjunction with the first possible implementation of second aspect or second aspect, in the realization that the third is possible
In mode, described second acquisition module also particularly useful for:
Obtain described currently towards parameter relative to upper second rotation towards parameter;
According to described second rotate with described upper one towards local background corresponding to parameter in background picture
Position, determines the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
In conjunction with the third arbitrary possible implementation of second aspect to second aspect, possible at the 4th kind
In implementation, described first acquisition module is additionally operable to obtain the translational speed of described device screen;
Described display module is additionally operable to according to described translational speed and described currently towards parameter, and display is described works as
Front local background.
The third aspect, it is provided that a kind of electronic equipment, described electronic equipment include display screen, memorizer and
The processor being connected with described display screen, described memorizer, wherein, described memorizer is for one group of journey of storage
Sequence code, described processor calls program code that described memorizer stored for performing following operation:
Obtain the current towards parameter of device screen;
Obtain described currently towards the current local background that parameter is corresponding;
Control described display screen and show described current local background.
In conjunction with the third aspect, in the implementation that the first is possible, described processor calls described memorizer
The program code stored is for performing following operation:
According to preset sample frequency, obtain described current towards parameter.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the realization that the second is possible
In mode, described processor calls program code that described memorizer stored for performing following operation:
Obtain described currently towards parameter relative to benchmark towards the first rotation of parameter;
Rotate with described benchmark towards local background corresponding to parameter position in background picture according to described first
Put, determine the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the realization that the third is possible
In mode, described processor calls program code that described memorizer stored for performing following operation:
Obtain described currently towards parameter relative to upper second rotation towards parameter;
According to described second rotate with described upper one towards local background corresponding to parameter in background picture
Position, determines the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
In conjunction with the third arbitrary possible implementation of the third aspect to the third aspect, possible at the 4th kind
In implementation, described processor calls program code that described memorizer stored for performing following operation:
Obtain the translational speed of described device screen;
According to described translational speed and described current towards parameter, control described display screen and show described current office
Portion's background.
The invention discloses a kind of method changing background and electronic equipment, including: obtain working as of device screen
The previous dynasty is to parameter;Obtain currently corresponding towards parameter current local background;Show current local background.When
Intelligent terminal screen towards when changing, by obtaining the current towards corresponding the working as of parameter of screen
Front local background so that follow changing towards change of screen to the background dynamics that screen shows, meet
The diversified demand of user, meanwhile, the background shown by changing screen enables to user to be had on the spot in person
Sensation, further increase Consumer's Experience.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram changing background that the embodiment of the present invention provides;
Fig. 2 is a kind of method flow diagram changing background that the embodiment of the present invention provides;
Fig. 3 is the three-dimensional schematic diagram of a kind of device screen that the embodiment of the present invention provides;
Fig. 4 is the three-dimensional schematic diagram of a kind of device screen that the embodiment of the present invention provides;
Fig. 5 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Fig. 6 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Fig. 7 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Fig. 8 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Fig. 9 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Figure 10 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Figure 11 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Figure 12 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Figure 13 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 14 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 15 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 16 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 17 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 18 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 19 is a kind of background picture schematic diagram that the embodiment of the present invention provides;
Figure 20 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 21 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 22 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that retouched
The embodiment stated is only a part of embodiment of the present invention rather than whole embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
It is the virtual field that user is in background that embodiments of the invention are applied on screen the background of display
Scape.By obtaining the current current local background corresponding towards parameter of intelligent terminal's screen so that screen
Following to background dynamics changing towards change of screen, meanwhile, the background shown by changing screen can
Make user have sensation on the spot in person, strengthen Consumer's Experience.
A kind of method changing background that embodiment one provides for the embodiment of the present invention, with reference to shown in Fig. 1, is somebody's turn to do
Method includes:
101, the current towards parameter of device screen is obtained.
Concrete, according to preset sample frequency, obtain current towards parameter.Equipment includes mobile device, example
Such as mobile phone, personal digital assistant, tablet PC, game console, wearable device etc..
102, currently corresponding towards parameter current local background is obtained.
Concrete, by any one in following operation, obtain currently corresponding towards parameter current local
Background:
Obtain and currently rotate towards the first of parameter relative to benchmark towards parameter;
Rotate with benchmark towards local background corresponding to parameter position in background picture according to first, determine
The current current local background corresponding towards parameter position in background picture;
According to the current current local background corresponding towards parameter position in background picture, from background picture
The current local background of middle acquisition;Or,
Obtain and currently rotate towards the second of parameter relative to upper one towards parameter;
According to second rotate with upper one towards local background corresponding to parameter position in background picture, really
The settled previous dynasty is to current local background corresponding to parameter position in background picture;
According to the current current local background corresponding towards parameter position in background picture, from background picture
The current local background of middle acquisition.
103, current local background is shown.
Optionally, in addition to the foregoing steps, the method that the embodiment of the present invention is provided can also include:
Obtain the translational speed of device screen;
According to translational speed with currently towards parameter, show current local background.
Embodiments provide a kind of method changing background, when intelligent terminal screen towards send out
During changing, by obtaining the current current local background corresponding towards parameter of screen, thus realize screen
Display background can dynamically follow changing towards change of screen, meet user variation need
Asking, meanwhile, the background shown by changing screen enables to user has sensation on the spot in person, further
Improve Consumer's Experience.
A kind of method changing background that embodiment two provides for the embodiment of the present invention, with reference to shown in Fig. 2, is somebody's turn to do
Method includes:
201, according to preset sample frequency, obtain current towards parameter.
Specifically, the screen of mobile device three-dimensional towards parameter can include screen towards respectively with
Angle between three dimensional space coordinate axle.With horizontal direction as x-axis in three dimensions, with vertical direction as y
Axle, sets up space coordinates with fore-and-aft direction for z-axis, is placed in by mobile phone screen in these space coordinates,
Towards parameter, mobile phone screen may include that screen is towards angle a between x-axis, screen three-dimensional
Towards angle b between y-axis and screen towards angle c between z-axis, with reference to shown in Fig. 3.
Here using mobile phone as the example of mobile device, but mobile device can also be other outside mobile phone to be moved
Equipment, such as personal digital assistant, tablet PC, game console, wearable device etc..
Exemplary, mobile phone screen three-dimensional currently towards parameter may include that screen currently towards with x
Angle a between axle1, screen is currently towards angle b between y-axis1, and screen currently towards with z
Angle c between axle1。
Exemplary, by the sensor of embedded in mobile phone sense screen towards parameter, this sensor is permissible
It is one or more of angular transducer, electronic compass sensor, direction sensor, gyro sensor etc.,
Concrete kind of sensor is not limited by the present invention.
According to preset sample frequency, obtain current towards parameter, by extracting towards ginseng in the default unit interval
The number of number obtains current towards parameter.Exemplary, preset sample frequency can be 200Hz, represents 1
200 are extracted towards parameter in second.This sample frequency be can also is that and realized by other acquisition modes, this
Concrete acquisition mode is not limited by inventive embodiments.
After step 201, at least one in step 202 and step 205 is performed:
202, obtain and currently rotate towards the first of parameter relative to benchmark towards parameter, after step 202,
Perform step 203.
Concrete, first rotate at least include current towards parameter relative to benchmark towards parameter at three dimensions
On offset, offset positive and negative can be used to represent screen current towards parameter relative to
Benchmark is towards parameter direction of rotation on three dimensions, and such as according to the right-hand rule, the thumb stretched refers to
To coordinate axes, four clinodactyly directions of the right hand are just, rightabout is negative.
Exemplary, set up space coordinates, by the reference position of default screen, obtain according to step 201
Take benchmark corresponding to reference position towards parameter.In these space coordinates, by mobile phone horizontal positioned screen court
Before and be perpendicular to the horizontal plane reference position as screen, determine that the benchmark corresponding to reference position is towards parameter
Including: screen benchmark is towards angle a between x-axis0, screen benchmark is towards angle b between y-axis0、
And screen benchmark is towards angle c between z-axis0, as shown in the A in Fig. 4.Mobile phone screen is carried out
After rotation, obtain currently towards parameter according to step 201, obtain the current of screen and include towards parameter: screen
Curtain is current towards angle a between x-axis1, screen is currently towards angle b between y-axis1, Yi Jiping
Curtain is current towards angle c between z-axis1, as shown in the B in Fig. 4.
According to current towards parameter and benchmark towards parameter in space coordinates of screen, obtain and work as the previous dynasty
To parameter relative to benchmark towards parameter offset on three dimensions, i.e. obtain relative to benchmark court
To screen currently towards the offset respectively and between x-axis, y-axis and z-axis, thus obtain current
Rotate towards the first of parameter towards parameter relative to benchmark.
This acquisition currently towards parameter relative to benchmark towards the mistake of parameter offset on three dimensions
Journey can be obtained by formula calculated as below:
A '=a1-a0;
B '=b1-b0;
C '=c1-c0;
Wherein, a ' for screen towards the benchmark relative to screen towards the offset in x-axis, b ' is currently
Screen currently towards the benchmark relative to screen towards offset on the y axis, c ' for screen currently towards
Relative to the benchmark of screen towards the offset in z-axis;
a1For screen currently towards the angle between x-axis, b1For screen currently towards the angle between y-axis
Degree, c1For screen currently towards the angle between z-axis;
a0For the benchmark of screen towards the angle between x-axis, b0For the benchmark of screen towards between y-axis
Angle, c0For the benchmark of screen towards the angle between z-axis.
This acquisition currently can also is that and passes through relative to benchmark towards parameter towards the process of the first rotation of parameter
Other acquisition modes realize, such as by calculate the benchmark of screen towards with current towards in three dimensions
Rotating vector carry out obtaining the first rotation, concrete acquisition mode is not limited by the embodiment of the present invention.
203, rotate with benchmark towards local background corresponding to parameter position in background picture according to first,
Determine currently towards current local background corresponding to parameter position in background picture, after step 203,
Perform step 204.
Concrete, concrete background picture is not limited by the embodiment of the present invention.
Fig. 5 shows a kind of background picture schematic diagram, and this interface schematic diagram shows a width background picture, should
Background picture can be the picture being made up of local background's picture of one or more, the office of these one or more
Portion's background picture all can individually demonstrate on mobile phone screen.
Fig. 6 shows a kind of background picture schematic diagram, and this interface schematic diagram shows the angle of a kind of background picture
Scale degree figure, this angle scaling figure includes in the horizontal direction of background picture and angle scaling in vertical direction,
This angle scaling figure can be corresponding with user's rotating mobile screen on three dimensions.
Determine benchmark towards local background corresponding to parameter position in background picture, with reference to shown in Fig. 7,
This figure corresponding to the benchmark of screen towards local background corresponding to parameter position in background picture, wherein,
This benchmark is 90 °~180 ° towards the angle scaling that parameter is corresponding in the horizontal direction of background picture, in background
Angle scaling corresponding in the vertical direction of picture is 120 °~240 °.This determines that process can be by default side
Formula realizes, and concrete determination mode is not limited by the embodiment of the present invention.This benchmark is corresponding towards parameter
Local background position in background picture can also is that other positions in background picture, the present invention implements
Concrete position is not limited by example.
Exemplary, mobile phone screen by benchmark towards around x-axis to 90-degree rotation the most down time, obtain and work as
The previous dynasty to parameter relative to benchmark towards parameter first rotation, relative to benchmark towards screen currently towards
Offset respectively and between x-axis, y-axis and z-axis: screen is currently towards the angle between x-axis
Side-play amount is 0 °, screen currently towards the offset between y-axis be+90 °, screen currently towards with z
Offset between axle is+90 °.
Determine the current current local background corresponding towards parameter position in background picture.Exemplary,
According to currently rotating towards the first of parameter towards parameter relative to benchmark, it may be determined that deserve the previous dynasty to parameter
Angle scaling corresponding in the vertical direction of background picture is 210 °~330 °, in the horizontal direction of background picture
The angle scaling of upper correspondence is constant, may thereby determine that and is currently carrying on the back towards the current local background that parameter is corresponding
Position in scape picture, in background picture, the position of this current local background is positioned at benchmark towards parameter pair
The top of the position of the local background answered, as shown in Figure 8.This determines that process can be real by other means
Existing, concrete determination mode is not limited by the embodiment of the present invention.
It should be noted that in screen down rotary course, it is also possible to obtain in the other direction and work as the previous dynasty
To local background corresponding to parameter position in background picture, concrete direction is not added with by the embodiment of the present invention
To limit.
In one embodiment, by mobile phone screen forward and be perpendicular to the reference position of horizontal plane around x-axis to
Clockwise half-twist the most upward, obtains the first rotation by step 202, relative to benchmark towards screen current
Offset towards respectively and between x-axis, y-axis and z-axis: screen is currently towards between x-axis
Offset is+0 °, screen currently towards the offset between y-axis be-90 °, screen work as the previous dynasty
Offset between z-axis is+90 °.May determine that and deserve the previous dynasty to vertical at background picture of parameter
Angle scaling corresponding on direction is 30 °~150 °, angle scaling corresponding in the horizontal direction of background picture
Constant, may thereby determine that the current current local background corresponding towards parameter position in background picture,
As shown in Figure 9.
In one embodiment, by mobile phone screen forward and be perpendicular to the reference position of horizontal plane around y-axis to
Clockwise towards anticlockwise 90 °, obtain the first rotation by step 202, relative to benchmark towards screen current
Offset towards respectively and between x-axis, y-axis and z-axis: screen is currently towards between x-axis
Offset is+90 °, screen currently towards the offset between y-axis be+0 °, screen work as the previous dynasty
Offset between z-axis is+90 °.May determine that and deserve the previous dynasty to parameter in the level of background picture
Angle scaling corresponding on direction is 180 °~270 °, angle scaling corresponding in the vertical direction of background picture
Constant, may thereby determine that the current current local background corresponding towards parameter position in background picture,
As shown in Figure 10.
In one embodiment, by mobile phone screen forward and be perpendicular to the reference position of horizontal plane around y-axis to
Counterclockwise towards right rotation 90 °, obtain the first rotation by step 202, relative to benchmark towards screen current
Offset towards respectively and between x-axis, y-axis and z-axis: screen is currently towards between x-axis
Offset is-90 °, screen currently towards the offset between y-axis be+0 °, screen work as the previous dynasty
Offset between z-axis is-90 °.May determine that and deserve the previous dynasty to parameter in the level of background picture
Angle scaling corresponding on direction is 0 °~90 °, and angle scaling corresponding in the vertical direction of background picture is not
Become, may thereby determine that the current current local background corresponding towards parameter position in background picture, as
Shown in Figure 11.
In one embodiment, by mobile phone screen by forward and be perpendicular to the reference position of horizontal plane the most also
And towards right rotation, obtain the first rotation by step 202, wherein screen is currently towards the angle between x-axis
Degree side-play amount is-45 °, screen currently towards the offset between y-axis be+45 °, screen currently towards
And the offset between z-axis is+45 °.Rotate according to first, it may be determined that deserve the previous dynasty to parameter at the back of the body
Angle scaling corresponding in horizontal direction on scape picture is 45 °~135 °, vertical direction on background picture
The angle scaling of upper correspondence is 165 °~285 °, may thereby determine that currently corresponding towards parameter current local back
Scape position in background picture, as shown in figure 12.At screen down and towards during right rotation, it is possible to
To obtain the current local background corresponding towards parameter position in background picture on other positions, this
Concrete acquisition position is not limited by bright embodiment.
Rotate with benchmark towards local background corresponding to parameter position in background picture according to first, determine
The current current local background corresponding towards parameter position in background picture, this determines that process can also is that
Determine what mode realized by other, such as by the first rotation with benchmark towards local background corresponding to parameter
Relative displacement between mapping relations realize, concrete determination mode is not limited by the embodiment of the present invention
Fixed.
204, the basis current current local background corresponding towards parameter position in background picture, from background
Picture obtains current local background, after step 204, performs step 208.
Concrete, concrete acquisition mode is not limited by the embodiment of the present invention.
205, obtain currently towards parameter relative to upper second rotation towards parameter, step 205 it
After, perform step 206.
Concrete, on this, one can obtain with reference to step 201 towards parameter, the most superfluous
State.
Obtain and currently rotate towards the second of parameter relative to upper one towards parameter, can be with reference to step 202
Carrying out obtaining, here is omitted.
206, according to second rotate with upper one towards local background corresponding to parameter position in background picture,
Determine currently towards current local background corresponding to parameter position in background picture, after step 206,
Perform step 207.
Concrete, determine upper one towards local background corresponding to parameter position in background picture, on this
One can be to obtain with reference to step 203 towards local background corresponding to parameter position in background picture
Take, repeat no more here.
Determining the current current local background corresponding towards parameter position in background picture, this determines process
Can be determined with reference to step 203.Exemplary, on this, one can be benchmark court towards parameter
To parameter.This determines process to can also is that by other and determines what mode realized, such as by second rotation and
Upper one realizes towards the mapping relations between the relative displacement of local background corresponding to parameter, and the present invention is real
Execute example concrete determination mode is not limited.
207, the basis current current local background corresponding towards parameter position in background picture, from background
Picture obtains current local background, after step 207, performs step 208.
Concrete, concrete acquisition mode is not limited by the embodiment of the present invention.
It should be noted that step 202 to step 204, and step 205 to step 207 respectively be realize
Obtain two kinds of different implementations of the process of currently corresponding towards parameter current local background, except above-mentioned
Outside the mode of step, it is also possible to realize this process by other means, the embodiment of the present invention is to concrete side
Formula is not limited.
208, current local background is shown.
Concrete, show current local background according to the display direction of background picture, it is ensured that what screen showed works as
Front local background can carry out showing rather than cause user's visual discomfort according to the positive direction of image content
As stood upside down, other directions such as direction show.Such as, current local background picture includes that one tree, display are worked as
Front local background be that the display direction according to this tree shows rather than can cause user's visual discomfort as tree
It is preced with other directions such as direction down to show.
Exemplary, with reference to shown in Figure 13, corresponding to the current local background in Fig. 7 in background picture
Position also obtains current local background, the figure shows the interface schematic diagram showing current local background.
With reference to shown in Figure 14, corresponding to the position in background picture of the current local background in Fig. 8 and obtain
Current local background, the figure shows the interface schematic diagram showing current local background.
With reference to shown in Figure 15, corresponding to the position in background picture of the current local background in Fig. 9 and obtain
Current local background, the figure shows the interface schematic diagram showing current local background.
With reference to shown in Figure 16, corresponding to the position in background picture of the current local background in Figure 10 and obtain
Take current local background, the figure shows the interface schematic diagram showing current local background.
With reference to shown in Figure 17, corresponding to the position in background picture of the current local background in Figure 11 and obtain
Take current local background, the figure shows the interface schematic diagram showing current local background.
With reference to shown in Figure 18, corresponding to the position in background picture of the current local background in Figure 12 and obtain
Take current local background, the figure shows the interface schematic diagram showing current local background.
It should be noted that mobile phone screen from one towards rotate to currently towards during, upper one
An individual upper local background in background picture corresponding towards parameter gradually conceals, the most current towards ginseng
The current local backgrounds in background picture that number is corresponding gradually show, when screen be turning fully to currently towards time,
Screen can intactly show current local background.
Optionally, in addition to the foregoing steps, the method that the embodiment of the present invention is provided can also include:
Obtain the translational speed of device screen;
According to translational speed with currently towards parameter, show current local background.
Concrete, the acquisition mode of the translational speed of device screen is not limited by the embodiment of the present invention.
Determining the current local background corresponding towards parameter position in background picture, this determines that process is permissible
Being determined with reference to step 203, here is omitted.
According to translational speed, determining local background corresponding to translational speed position in background picture, this is true
Determine process to be determined by formula calculated as below:
Wherein, d is the current local background corresponding towards parameter position in background picture and translational speed pair
Distance between the local background answered position in background picture, and d is less than the minor face of screen, v is edge
Current towards upper translational speed, A is local background's dimension of picture that background picture size demonstrates with screen
Ratio, 1≤A≤16, C is coefficient, 0.05≤C≤0.1.
Exemplary, when ratio A of local background's dimension of picture that background picture size and screen demonstrate is 16,
Coefficient C is 0.1, and the movement speed v got is 1m/s, then currently carrying on the back towards the local background that parameter is corresponding
Distance d between position in the scape picture local background corresponding with translational speed position in background picture
For 0.003125m, with reference to shown in Figure 19.
Corresponding with translational speed to local background corresponding to parameter position in background picture according to deserving the previous dynasty
Local background position in background picture between distance with currently exist towards the local background that parameter is corresponding
The center of the position in background picture, determines local background corresponding to this translational speed position in background picture
Put, obtain local background corresponding to this translational speed and show on screen, with reference to shown in Figure 20.This determines
Process can also is that and determines what mode realized by other, and concrete determination mode is not added with by the embodiment of the present invention
To limit.
Owing to the desktop of current intelligent terminal screen arranges background picture and at various chat application softwares
Arrange chat background setting means fairly simple coarse, screen background can not dynamically follow screen towards
Change and change, it is impossible to meet the individual demand of user, reduce Consumer's Experience, and the embodiment of the present invention
The method provided, by obtaining the current towards parameter of device screen, obtaining currently corresponding towards parameter
Current local background, thus realize the background that screen shows can dynamically follow screen towards change
And change, meet the diversified demand of user, meanwhile, the background shown by changing screen enables to
User has sensation on the spot in person, further increases Consumer's Experience.
Embodiments provide a kind of method changing background, when intelligent terminal screen towards send out
During changing, by obtaining the current current local background corresponding towards parameter of screen, thus realize screen
The background of display can dynamically follow changing towards change of screen, show by changing screen meanwhile
The background shown enables to user sensation on the spot in person, further increases Consumer's Experience.
A kind of electronic equipment that embodiment three provides for the embodiment of the present invention, with reference to shown in Figure 21, this electronics sets
For including:
First acquisition module 2101, for obtaining the current towards parameter of device screen;
Second acquisition module 2102, for obtaining currently corresponding towards parameter current local background;
Display module 2103, is used for showing current local background.
Optionally, the first acquisition module 2101 specifically for: according to preset sample frequency, obtain currently towards
Parameter.
Optionally, the second acquisition module 2102 specifically for:
Obtain and currently rotate towards the first of parameter relative to benchmark towards parameter;
Rotate with benchmark towards local background corresponding to parameter position in background picture according to first, determine
The current current local background corresponding towards parameter position in background picture;
According to the current current local background corresponding towards parameter position in background picture, from background picture
The current local background of middle acquisition.
Optionally, the second acquisition module 2102 also particularly useful for:
Obtain and currently rotate towards the second of parameter relative to upper one towards parameter;
According to second rotate with upper one towards local background corresponding to parameter position in background picture, really
The settled previous dynasty is to current local background corresponding to parameter position in background picture;
According to the current current local background corresponding towards parameter position in background picture, from background picture
The current local background of middle acquisition.
Optionally, the first acquisition module 2101 is additionally operable to obtain the translational speed of device screen;
Display module 2103 is additionally operable to, according to translational speed with currently towards parameter, show current local background.
Embodiments provide a kind of electronic equipment, when intelligent terminal screen towards changing
Time, this electronic equipment is by obtaining the current current local background corresponding towards parameter of screen, thus realizes
The background that screen shows can dynamically follow changing towards change of screen, meet the various of user
Change demand, meanwhile, the background shown by changing screen enables to user sensation on the spot in person, enters
One step improves Consumer's Experience.
A kind of electronic equipment that embodiment four provides for the embodiment of the present invention, with reference to shown in Figure 22, this electronics sets
For including display screen 2201, memorizer 2202 and the process being connected with display screen 2201, memorizer 2202
Device 2203, wherein, memorizer 2202 is used for storing batch processing code, and processor 2203 calls memorizer
2202 program codes stored are for performing following operation:
Obtain the current towards parameter of device screen;
Obtain currently corresponding towards parameter current local background;
Control display screen 2201 and show current local background.
Optionally, this processor 2203 calls program code that memorizer 2202 stored below performing
Operation:
According to preset sample frequency, obtain current towards parameter.
Optionally, this processor 2203 calls program code that memorizer 2202 stored below performing
Operation:
Obtain and currently rotate towards the first of parameter relative to benchmark towards parameter;
Rotate with benchmark towards local background corresponding to parameter position in background picture according to first, determine
The current current local background corresponding towards parameter position in background picture;
According to the current current local background corresponding towards parameter position in background picture, from background picture
The current local background of middle acquisition.
Optionally, this processor 2203 calls program code that memorizer 2202 stored below performing
Operation:
Obtain and currently rotate towards the second of parameter relative to upper one towards parameter;
According to second rotate with upper one towards local background corresponding to parameter position in background picture, really
The settled previous dynasty is to current local background corresponding to parameter position in background picture;
According to the current current local background corresponding towards parameter position in background picture, from background picture
The current local background of middle acquisition.
Optionally, this processor 2203 calls program code that memorizer 2202 stored below performing
Operation:
Obtain the translational speed of device screen;
According to translational speed with currently towards parameter, control display screen 2201 and show current local background.
Embodiments provide a kind of electronic equipment, when intelligent terminal screen towards changing
Time, this electronic equipment is by obtaining the current current local background corresponding towards parameter of screen, thus realizes
The background that screen shows can dynamically follow changing towards change of screen, meet the various of user
Change demand, meanwhile, the background shown by changing screen enables to user sensation on the spot in person, enters
One step improves Consumer's Experience.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the present invention, this
Place repeats the most one by one.
It should be understood that the electronic equipment that above-described embodiment provides is when performing to change background, only with above-mentioned
The division of each function device is illustrated, and in actual application, can above-mentioned functions be divided as desired
Join and completed by different function devices, the internal structure of equipment will be divided into different function devices, with complete
Become all or part of function described above.It addition, the electronic equipment that above-described embodiment provides is carried on the back with changing
The embodiment of the method for scape belongs to same design, and it implements process and refers to embodiment of the method, the most superfluous
State.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention
Within principle, any modification, equivalent substitution and improvement etc. made, should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. the method changing background, it is characterised in that described method includes:
Obtain the current towards parameter of device screen;
Obtain described currently towards the current local background that parameter is corresponding;
Show described current local background.
Method the most according to claim 1, it is characterised in that described acquisition device screen work as the previous dynasty
Include to parameter:
According to preset sample frequency, obtain described current towards parameter.
Method the most according to claim 1 and 2, it is characterised in that described acquisition described currently towards
Current local background corresponding to parameter includes:
Obtain described currently towards parameter relative to benchmark towards the first rotation of parameter;
Rotate with described benchmark towards local background corresponding to parameter position in background picture according to described first
Put, determine the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
Method the most according to claim 1 and 2, it is characterised in that described acquisition described currently towards
Current local background corresponding to parameter also includes:
Obtain described currently towards parameter relative to upper second rotation towards parameter;
According to described second rotate with described upper one towards local background corresponding to parameter in background picture
Position, determines the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that described display is described currently
Local background also includes:
Obtain the translational speed of described device screen;
According to described translational speed and described current towards parameter, show described current local background.
6. an electronic equipment, it is characterised in that described electronic equipment includes:
First acquisition module, for obtaining the current towards parameter of device screen;
Second acquisition module, described currently towards the current local background that parameter is corresponding for obtaining;
Display module, is used for showing described current local background.
Electronic equipment the most according to claim 6, it is characterised in that described first acquisition module is concrete
For:
According to preset sample frequency, obtain described current towards parameter.
8. according to the electronic equipment described in claim 6 or 7, it is characterised in that described second acquisition module
Specifically for:
Obtain described currently towards parameter relative to benchmark towards the first rotation of parameter;
Rotate with described benchmark towards local background corresponding to parameter position in background picture according to described first
Put, determine the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
9. according to the electronic equipment described in claim 6 or 7, it is characterised in that described second acquisition module
Also particularly useful for:
Obtain described currently towards parameter relative to upper second rotation towards parameter;
According to described second rotate with described upper one towards local background corresponding to parameter in background picture
Position, determines the described current current local background corresponding towards parameter position in background picture;
According to the described current current local background corresponding towards parameter position in background picture, from described
Background picture obtains described current local background.
10. according to the arbitrary described electronic equipment of claim 6 to 9, it is characterised in that
Described first acquisition module is additionally operable to obtain the translational speed of described device screen;
Described display module is additionally operable to according to described translational speed and described currently towards parameter, and display is described works as
Front local background.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610265320.9A CN105975059A (en) | 2016-04-26 | 2016-04-26 | Background change method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610265320.9A CN105975059A (en) | 2016-04-26 | 2016-04-26 | Background change method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975059A true CN105975059A (en) | 2016-09-28 |
Family
ID=56993489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610265320.9A Pending CN105975059A (en) | 2016-04-26 | 2016-04-26 | Background change method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975059A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109842542A (en) * | 2017-11-27 | 2019-06-04 | 腾讯数码(天津)有限公司 | Instant session method and device, electronic equipment, storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236978A (en) * | 2010-05-07 | 2011-11-09 | 希姆通信息技术(上海)有限公司 | Method for auxiliary constellation recognition and handheld device using same |
CN102411470A (en) * | 2011-07-20 | 2012-04-11 | 中兴通讯股份有限公司 | Method and device for generating dynamic wallpaper |
CN103677553A (en) * | 2012-09-14 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method and device for achieving dynamic background |
CN103970421A (en) * | 2014-05-23 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Method for adjusting on-screen-display patterns of mobile terminal |
CN104394452A (en) * | 2014-12-05 | 2015-03-04 | 宁波菊风系统软件有限公司 | Immersive video presenting method for intelligent mobile terminal |
-
2016
- 2016-04-26 CN CN201610265320.9A patent/CN105975059A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236978A (en) * | 2010-05-07 | 2011-11-09 | 希姆通信息技术(上海)有限公司 | Method for auxiliary constellation recognition and handheld device using same |
CN102411470A (en) * | 2011-07-20 | 2012-04-11 | 中兴通讯股份有限公司 | Method and device for generating dynamic wallpaper |
CN103677553A (en) * | 2012-09-14 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method and device for achieving dynamic background |
CN103970421A (en) * | 2014-05-23 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Method for adjusting on-screen-display patterns of mobile terminal |
CN104394452A (en) * | 2014-12-05 | 2015-03-04 | 宁波菊风系统软件有限公司 | Immersive video presenting method for intelligent mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109842542A (en) * | 2017-11-27 | 2019-06-04 | 腾讯数码(天津)有限公司 | Instant session method and device, electronic equipment, storage medium |
CN109842542B (en) * | 2017-11-27 | 2022-04-01 | 腾讯数码(天津)有限公司 | Instant conversation method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7431216B2 (en) | Methods for presenting parameter status information and related portable electronic devices and parameters | |
US7958644B2 (en) | Orientation sensing in a multi part device | |
US8044933B2 (en) | Method and device for controlling display according to tilt of mobile terminal using geomagnetic sensor | |
CN109308205B (en) | Display adaptation method, device, equipment and storage medium of application program | |
KR20110089403A (en) | Tiltable user interface | |
CN103697820B (en) | Method for measuring sizes based on terminal and terminal equipment | |
CN103019519A (en) | Method for controlling contact control terminal application icon display and contact control terminal of method for controlling contact control terminal application icon display | |
CN111803945A (en) | Interface rendering method and device, electronic equipment and storage medium | |
CN105302407A (en) | Application icon display method and apparatus | |
CN111813290B (en) | Data processing method and device and electronic equipment | |
CN111833243B (en) | Data display method, mobile terminal and storage medium | |
CN112907716B (en) | Cloud rendering method, device, equipment and storage medium in virtual environment | |
CN110715597B (en) | Angle calculation method, angle calculation device, storage medium and terminal | |
CN109829982A (en) | Model matching method, device, terminal device and storage medium | |
CN106445334A (en) | Adjustment method and adjustment system for display interface | |
CN105975059A (en) | Background change method and electronic equipment | |
CN104063053B (en) | Method for displaying image, device and electronic equipment | |
US6938060B2 (en) | Apparatus and method for graphically displaying a vector simultaneously along with the numerical values of its vector components | |
CN103577051A (en) | Method and device for controlling menu | |
CN109033100A (en) | The method and device of content of pages is provided | |
CN103064672A (en) | Three-dimensional (3D) view adjusting method and device | |
CN109254710A (en) | Screen rotation method, apparatus, terminal device and computer-readable storage medium | |
CN112308768B (en) | Data processing method, device, electronic equipment and storage medium | |
CN112308767A (en) | Data display method and device, storage medium and electronic equipment | |
CN112181230A (en) | Data display method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160928 |
|
WD01 | Invention patent application deemed withdrawn after publication |