CN104898833B - 3D weather display methods and device - Google Patents

3D weather display methods and device Download PDF

Info

Publication number
CN104898833B
CN104898833B CN201510246072.9A CN201510246072A CN104898833B CN 104898833 B CN104898833 B CN 104898833B CN 201510246072 A CN201510246072 A CN 201510246072A CN 104898833 B CN104898833 B CN 104898833B
Authority
CN
China
Prior art keywords
weather
handheld terminal
animation
location information
data
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
Application number
CN201510246072.9A
Other languages
Chinese (zh)
Other versions
CN104898833A (en
Inventor
张远
吴昊
覃俊友
常文涛
朱扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201510246072.9A priority Critical patent/CN104898833B/en
Publication of CN104898833A publication Critical patent/CN104898833A/en
Application granted granted Critical
Publication of CN104898833B publication Critical patent/CN104898833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to a kind of 3D weather display methods, which comprises pulls weather data corresponding with location information;Corresponding 3D weather animation is shown according to the weather data;Monitor the attitudes vibration of handheld terminal;The attitudes vibration data for obtaining the handheld terminal control variation according to the attitudes vibration data and show the 3D weather animation.This method can realize 3D weather animation variation effect according to user's operation.In addition, additionally providing a kind of 3D weather display device.

Description

3D weather display methods and device
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of 3D weather display methods and device.
Background technique
With flourishing for smart phone, mobile phone application is also more and more abundant, and wherein Weather information is the daily life of people Living and trip required to master essential information, in more consequence in mobile phone application.
However the design and animation of current weather application are all relatively simple, especially animation, and it is vaporous only to provide day The static images of state or the animation of loop play are combined without the operation with user.
Summary of the invention
Based on this, it is necessary to aiming at the problem that can not combine with user's operation in current weather application, provide a kind of energy root The 3D weather display methods and device of 3D weather animation variation effect are realized according to user's operation.
A kind of 3D weather display methods, which comprises
Pull weather data corresponding with location information;
Corresponding 3D weather animation is shown according to the weather data;
Monitor the attitudes vibration of handheld terminal;
The attitudes vibration data for obtaining the handheld terminal control variation according to the attitudes vibration data and show the 3D Weather animation.
The attitudes vibration data for obtaining the handheld terminal in one of the embodiments, become according to the posture Changing the step of data control variation shows the 3D weather animation includes:
The angle change data for obtaining the handheld terminal control the 3D weather animation according to the angle change data Angle change.
The attitudes vibration data for obtaining the handheld terminal in one of the embodiments, become according to the posture Changing the step of data control variation shows the 3D weather animation includes:
Obtain the handheld terminal mobile duration corresponding with the attitudes vibration;According to the described and posture Change the moving distance that the corresponding duration controls the 3D weather animation.
The step of spatial position change of the monitoring handheld terminal in one of the embodiments, are as follows: passed by direction The attitudes vibration of sensor monitoring handheld terminal.
Described the step of pulling weather data corresponding with location information, includes: in one of the embodiments,
The location information for obtaining the location information that the handheld terminal is currently located or user's input, according to the hand-held end The location information being currently located or the location information of user's input is held to pull corresponding weather data.
A kind of 3D weather display device, described device include:
Weather data obtains module, for pulling weather data corresponding with location information;
3D animation display module, for showing corresponding 3D weather animation according to the weather data;
Monitoring module, for monitoring the attitudes vibration of handheld terminal;
Display control module, for obtaining the attitudes vibration data of the handheld terminal, according to the attitudes vibration data Control variation shows the 3D weather animation.
The display control module is used to obtain the angle change number of the handheld terminal in one of the embodiments, According to controlling the angle change of the 3D weather animation according to the angle change data.
It is mobile with the appearance to be used to obtain the handheld terminal for the display control module in one of the embodiments, State changes the corresponding duration;The 3D weather animation is controlled according to the duration corresponding with the attitudes vibration Moving distance.
The posture that the monitoring module is used to monitor handheld terminal by direction sensor in one of the embodiments, becomes Change.
The weather data obtains module for obtaining what the handheld terminal was currently located in one of the embodiments, The position of location information or the location information of user's input, the location information being currently located according to the handheld terminal or user's input Set the corresponding weather data of information exploitation.
Above-mentioned 3D weather display methods and device obtain the appearance of handheld terminal by monitoring the attitudes vibration of handheld terminal State delta data controls variation display 3D weather animation according to attitudes vibration data.This method and device by weather application and are used Family operation combines, and during user manipulates handheld terminal, can be controlled according to the attitudes vibration data dynamic of handheld terminal The 3D weather animation of system variation display, realizes 3D weather animation variation effect.
Detailed description of the invention
Fig. 1 is the flow chart of 3D weather display methods in one embodiment;
Fig. 2 is the schematic diagram of manipulation handheld terminal rotation in one embodiment;
Fig. 3 is that 3D weather animation changes schematic diagram in one embodiment;
Fig. 4 is the structural block diagram of 3D weather display device in one embodiment.
Specific embodiment
As shown in Figure 1, in one embodiment, providing a kind of 3D weather display methods, this method can be applied to hold In terminal, handheld terminal has the function of display 3D weather, and including but not limited to smart phone, platform computer, individual digital helps Reason and other equipment for showing 3D weather animation.This method comprises:
Step 102, weather data corresponding with location information is pulled.
In the present embodiment, terminal operating weather application, weather data is stored in the corresponding server of some weather web sites, And the weather data real-time perfoming stored in server updates.Terminal to server send location information, from server pull with The corresponding weather data of location information.
In one embodiment, location information is the location information of position or user's input that handheld terminal is currently located, Therefore step 102 includes: the location information for obtaining position or user's input that handheld terminal is currently located, is worked as according to handheld terminal The location information of the position at preceding place or user's input pulls corresponding weather data.
For example, handheld terminal is equipped with GPS positioning device, handheld terminal is positioned by GPS positioning device, is obtained The position that handheld terminal is currently located.Or handheld terminal receives the position that user inputs by the interface that weather application provides and believes It ceases, such as user's input position information " Shenzhen ", then weather data of the terminal from server pull Shenzhen location.
Step 104, corresponding 3D weather animation is shown according to the weather data.
In the present embodiment, handheld terminal have the function of show 3D weather animation, terminal from server pull to position After the corresponding weather data of information, corresponding 3D weather animation can be shown by weather application according to weather data.For example, from clothes It is " cloudy " that business device, which pulls weather data corresponding with location information, then shows corresponding " cloudy " weather by weather application 3D animation.Further, weather application is other than showing 3D weather animation, also with written form display position information and weather Information, such as display " Shenzhen, it is cloudy, 26 degree ".
Step 106, the attitudes vibration of handheld terminal is monitored.
In one embodiment, the attitudes vibration of handheld terminal can be detected by direction sensor.For example, handheld terminal When posture mode changes, direction sensor output reflects the data of above-mentioned attitudes vibration, can be held based on above-mentioned data The angle change of terminal and and duration corresponding with the attitudes vibration etc..Duration refers to that above-mentioned angle change occurs The corresponding period.And then it is controlled on handheld terminal according to angle change and duration corresponding with the attitudes vibration The variation of the 3D weather animation of display.
For example, handheld terminal rotation can be obtained in direction sensor as shown in Fig. 2, manipulation handheld terminal is rotated Angle.
Step 108, the attitudes vibration data for obtaining handheld terminal control variation display 3D weather according to attitudes vibration data Animation.
In the present embodiment, the attitudes vibration data of the handheld terminal of acquisition include angle change data and distance change number According to according to angle change data and distance change data control variation display 3D weather animation.Such as according to angle change data It controls 3D weather animation and realizes rotation, the distance etc. of the elements displacement in 3D weather animation is controlled according to distance change data.
As shown in figure 3, the 3D weather animation that shows such as shown in (1) before manipulation handheld terminal, user manipulate handheld terminal into Row angle or change in displacement, the 3D weather animation shown in weather application then change as shown in (2).For example, when user manipulates Handheld terminal is rotated, then the cloud in the 3D weather animation of corresponding display is also accordingly rotated.In 3D weather animation, Cloud inherently controls the position of the cloud in 3D weather animation according to the change in displacement generated in rotary course in displacement state The speed of shifting.
In the present embodiment, by the attitudes vibration of monitoring handheld terminal, the attitudes vibration data of handheld terminal are obtained, according to Attitudes vibration data control variation display 3D weather animation.This method and device combine weather application with user's operation, It, can be according to 3D days of the attitudes vibration data dynamic control variation display of handheld terminal during user manipulates handheld terminal It is pneumatic to draw, realize 3D weather animation variation effect.
In one embodiment, step 108 includes: to obtain the angle change data of handheld terminal, according to angle change number According to the angle change of control 3D weather animation.
In the present embodiment, the angle change number of handheld terminal in three dimensions can be directly acquired by direction sensor According to.Further, the angle threshold on settable different directions, when the angle change on corresponding direction is greater than or equal to the direction On angle threshold, then accordingly in respective angles control 3D weather animation angle change.For example, the angle in x-axis direction Degree threshold value is b, and angle change is a in the x direction, if a is more than or equal to b, 3D weather animation rotates the angle a in the direction of the x axis Degree, otherwise 3D weather animation does not rotate in the direction of the x axis.Also so processing in other axis directions.It is understood that not Tongfang Upward angle threshold may be configured as difference.
Further, 3D weather animation can be rotated in the corresponding direction according to the angle change on different directions corresponding Angle.
In the present embodiment, controlled by the angle change data of handheld terminal 3D weather animation that handheld terminal is shown into The corresponding angle change of row, weather application is combined with user's operation, is realized and is controlled 3D weather animation according to user's operation Variation effect.Further, by the way that angle threshold is arranged, some maloperations be can be avoided.
In one embodiment, step 108 includes: the corresponding with the attitudes vibration lasting of acquisition handheld terminal movement Time, according to the moving distance of the duration control 3D weather animation corresponding with the attitudes vibration.
In the present embodiment, due in operating handset rotary course, if very short time internal rotation angle is spent greatly, Animation jump is just excessive, is easy to appear jump Caton phenomenon, it is therefore desirable to control the moving distance of 3D weather animation.Further , since moving distance can not be directly acquired by direction sensor, it is therefore desirable to it is mobile with the appearance to record handheld terminal State changes corresponding duration, that is, be moved to that variation three-dimensional space position spent from starting three-dimensional space position when Between.
Specifically, in one embodiment, can preset transport coefficient, which can be empirical value, according to dynamic The initial position of element in picture, the duration corresponding with the attitudes vibration and transport coefficient determine in animation The end position of element.Transport coefficient can be set on the different directions of three-dimensional space, and end has been determined on different directions Position has then finally determined the end position of element in three dimensions in animation.Specifically, in one direction, in animation The end position of element be the product of duration corresponding with the attitudes vibration and transport coefficient and rising in this direction The sum of beginning position.For example, in the direction of the x axis, the duration corresponding with the attitudes vibration is t, movement in the direction of the x axis Coefficient is set as a, initial position x1, then the end position of the element in animation is x2=x1+a*t.In other directions It is so to handle, finally obtains the moving distance of animation in three dimensions.It is appreciated that the transport coefficient on different directions can It is set as different.
In the present embodiment, by the mobile distance of control animation, buffer deceleration processing is done to the movement on picture, has been avoided Mobile phone rotation angle is spent big and occurs that picture jump is excessive to feel discontinuous problem in short time, avoids animation and jumps Jump Caton phenomenon, to achieve the effect that being visually continuously to move.
As shown in figure 4, in one embodiment, additionally providing a kind of 3D weather display device, which includes:
Weather data obtains module 402, for pulling weather data corresponding with location information.
3D animation shows mould 404, for showing corresponding 3D weather animation according to the weather data.
Monitoring module 406, for monitoring the attitudes vibration of handheld terminal.
Display control module 408, for obtaining the attitudes vibration data of the handheld terminal, according to the attitudes vibration number The 3D weather animation is shown according to control variation.
In one embodiment, display control module 408 is used to obtain the angle change data of the handheld terminal, according to The angle change data control the angle change of the 3D weather animation.
In one embodiment, display control module 408 is used to obtain becoming with the posture for the handheld terminal movement Change the corresponding duration;The movement of the 3D weather animation is controlled according to the duration corresponding with the attitudes vibration Distance.
In one embodiment, the data monitoring handheld terminal that monitoring module 406 is used to export based on direction sensor Attitudes vibration.
In one embodiment, weather data obtains module 402 for obtaining the position that the handheld terminal is currently located The position letter of information or the location information of user's input, the location information being currently located according to the handheld terminal or user's input Breath pulls corresponding weather data.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (6)

1. a kind of 3D weather display methods, which is characterized in that the described method includes:
Pull weather data corresponding with location information;
Corresponding 3D weather animation is shown according to the weather data;
Monitor the attitudes vibration of handheld terminal;
The angle change data for obtaining the handheld terminal control the angle of the 3D weather animation according to the angle change data Degree variation;The handheld terminal mobile duration corresponding with the attitudes vibration is obtained, according to the described and posture Change the moving distance that the corresponding duration controls the 3D weather animation.
2. the method according to claim 1, wherein the step of attitudes vibration of the monitoring handheld terminal are as follows: The attitudes vibration of handheld terminal is monitored by direction sensor.
3. the method according to claim 1, wherein the step for pulling weather data corresponding with location information Suddenly include:
The location information for obtaining the location information that the handheld terminal is currently located or user's input, works as according to the handheld terminal The location information at preceding place or the location information of user's input pull corresponding weather data.
4. a kind of 3D weather display device, which is characterized in that described device includes:
Weather data obtains module, for pulling weather data corresponding with location information;
3D animation display module, for showing 3D weather animation according to the weather data;
Monitoring module, for monitoring the attitudes vibration of handheld terminal;
Display control module is controlled for obtaining the angle change data of the handheld terminal according to the angle change data The angle change of the 3D weather animation;The handheld terminal mobile duration corresponding with the attitudes vibration is obtained, The moving distance of the 3D weather animation is controlled according to the duration corresponding with the attitudes vibration.
5. device according to claim 4, which is characterized in that the monitoring module is used to monitor hand by direction sensor Hold the attitudes vibration of terminal.
6. device according to claim 4, which is characterized in that it is described hand-held for obtaining that the weather data obtains module The location information of location information or user's input that terminal is currently located, the location information being currently located according to the handheld terminal Or the location information of user's input pulls corresponding weather data.
CN201510246072.9A 2015-05-14 2015-05-14 3D weather display methods and device Active CN104898833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510246072.9A CN104898833B (en) 2015-05-14 2015-05-14 3D weather display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510246072.9A CN104898833B (en) 2015-05-14 2015-05-14 3D weather display methods and device

Publications (2)

Publication Number Publication Date
CN104898833A CN104898833A (en) 2015-09-09
CN104898833B true CN104898833B (en) 2019-01-11

Family

ID=54031537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510246072.9A Active CN104898833B (en) 2015-05-14 2015-05-14 3D weather display methods and device

Country Status (1)

Country Link
CN (1) CN104898833B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10928510B1 (en) 2014-09-10 2021-02-23 Rockwell Collins, Inc. System for and method of image processing for low visibility landing applications
CN105607061B (en) * 2014-11-07 2020-06-05 罗克韦尔柯林斯公司 Display system and method using weather radar sensing
CN105630356A (en) * 2015-12-28 2016-06-01 余镓乐 Virtual prop control method and device
US10228460B1 (en) 2016-05-26 2019-03-12 Rockwell Collins, Inc. Weather radar enabled low visibility operation system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101001842B1 (en) * 2010-01-28 2010-12-17 팅크웨어(주) Navigation device for a vehicle and method for inducing right position of blackbox device of a navigation system
CN103514626B (en) * 2012-06-20 2016-04-20 厦门高德软件有限公司 A kind of show Weather information method and device and mobile terminal
CN104183004A (en) * 2014-08-12 2014-12-03 小米科技有限责任公司 Weather display method and weather display device

Also Published As

Publication number Publication date
CN104898833A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104898833B (en) 3D weather display methods and device
US9990759B2 (en) Offloading augmented reality processing
US10817156B1 (en) Dynamic configuration of application component tiles
US9984487B2 (en) Facial gesture driven animation communication system
WO2017186137A1 (en) Unmanned aerial vehicle control method and device
CN105981075B (en) Utilize the efficient facial landmark tracking in wire shaped homing method
EP3213507B1 (en) Modifying video call data
TW201215442A (en) Unmanned Aerial Vehicle control system and method
KR20240090542A (en) Mirror-based augmented reality experience
US11503432B2 (en) Scalable real-time location sharing framework
US20210392460A1 (en) Location sharing using offline and online objects
CN104090705A (en) Progress adjusting method and electronic device
CN114372356B (en) Artificial enhancement method, device and medium based on digital twins
CN107111427A (en) Change video call data
US20190259198A1 (en) Systems and methods for generating visual representations of a virtual object for display by user devices
CN111563855A (en) Image processing method and device
WO2021237619A1 (en) Video file editing method, and device, system and computer-readable storage medium
DE102014019233A1 (en) Electronic devices and methods for the shared data access of these
CN114205536A (en) Video acquisition method, control terminal, aircraft and system
DE102021125895A1 (en) LATENCY REQUIREMENTS FOR HUMAN INTERFACE DEVICES
CN103049266A (en) Mouse operation method of Delta 3D (Three-Dimensional) scene navigation
CN111445568B (en) Character expression editing method, device, computer storage medium and terminal
CN111193832B (en) Method for calculating speed and direction of parabolic motion based on mobile phone gyroscope sensor
CN108874141B (en) Somatosensory browsing method and device
CN107391005B (en) Method for controlling cursor movement on host screen and game handle

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