CN103677553A - Method and device for achieving dynamic background - Google Patents

Method and device for achieving dynamic background Download PDF

Info

Publication number
CN103677553A
CN103677553A CN201210341370.2A CN201210341370A CN103677553A CN 103677553 A CN103677553 A CN 103677553A CN 201210341370 A CN201210341370 A CN 201210341370A CN 103677553 A CN103677553 A CN 103677553A
Authority
CN
China
Prior art keywords
picture
interface
moved
mobile terminal
default
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
Application number
CN201210341370.2A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210341370.2A priority Critical patent/CN103677553A/en
Publication of CN103677553A publication Critical patent/CN103677553A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and device for achieving a dynamic background, and belongs to the technical field of communication. The method comprises the step of receiving and reading indication information of any interface, the step of obtaining a picture corresponding to the interface and displaying the picture in the interface, and the step of moving the picture according to the preset moving method so that the contents, displayed in the interface, of the picture can be moved. The device comprises a receiving module, a processing module and a moving module. The area of the picture is set to be larger than the area of a screen used for displaying the interface, the picture is moved according to the preset moving method so that the contents, displayed in the interface, of the picture can be moved, and therefore the effect of producing the dynamic background is achieved, the dynamic background can be achieved only by moving one picture according to the preset moving method, the achieving method is simple, and time and resources can be saved.

Description

A kind of method and apparatus of realizing dynamic background
Technical field
The present invention relates to communication technical field, particularly a kind of method and apparatus of realizing dynamic background.
Background technology
Along with the development of the communication technology, the function of the mobile terminals such as mobile phone is also more and more, and user not only can be by the mobile terminals such as the mobile phone breath of making a phone call, send short messages, but also various software can be installed in mobile terminal, realizes various functions.And in the various interfaces of mobile terminal and various softwares, can be applied to background, as used wallpaper as a setting in the standby interface of mobile terminal, in the display interface of software, use picture as a setting etc.In order to reach better display effect, can background be set to dynamically, in various interfaces, realize dynamic background at present.
The existing method that realizes dynamic background mainly comprises following methods:
First: receive the indication information of opening arbitrary interface; Obtain the picture of the dynamic format corresponding with this interface, the picture of this dynamic format (as gif form etc.) is resolved, obtain a plurality of static images, wherein, the frame picture in the picture that each static images is this dynamic format; Order according between the time interval between every frame picture in the picture of this dynamic format and every frame picture, is presented at a plurality of static images in corresponding interface successively.
Second: receive the indication information of opening arbitrary interface; Obtain a plurality of static images corresponding with this interface; According to the default Image Display time interval and Image Display order, a plurality of static images are presented in corresponding interface successively.
Yet in realizing process of the present invention, inventor finds that prior art at least exists following problem:
The existing method that realizes dynamic background, demonstration successively by a plurality of static images realizes dynamic background, need to use a plurality of static images, and a plurality of static images also need to show according to certain time interval and DISPLAY ORDER, implementation is loaded down with trivial details, lose time and resource.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method and apparatus of realizing dynamic background.Described technical scheme is as follows:
On the one hand, provide a kind of method that realizes dynamic background, described method comprises:
The indication information at arbitrary interface is opened in reception;
Obtain the picture corresponding with described interface, and by described Image Display in described interface; Wherein, the area of described picture is greater than for showing the area of the screen at described interface;
According to default move mode, described picture is moved, so that the content that described picture shows in described interface is moved.
On the other hand, provide a kind of device of realizing dynamic background, described device comprises:
Receiver module, for receiving the indication information of opening arbitrary interface;
Processing module, for receiving after the indication information of opening arbitrary interface when described receiver module, obtains the picture corresponding with described interface, and by described Image Display in described interface; Wherein, the area of described picture is greater than for showing the area of the screen at described interface;
Mobile module, for when described processing module by described Image Display behind described interface, according to default move mode, described picture is moved, so that the content that described picture shows in described interface is moved.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Area by picture is set to be greater than the area for the screen of display interface, according to default move mode, picture is moved, so that the content that picture shows in interface is moved, thereby produce the effect of dynamic background, only need a picture to move and can realize dynamic background according to default move mode, implementation is simple, can save time and resource.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of method flow diagram of realizing dynamic background that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram of realizing dynamic background that the embodiment of the present invention two provides;
Fig. 3 is a kind of schematic diagram Showing Picture that the embodiment of the present invention two provides;
Fig. 4 is the schematic diagram that another kind that the embodiment of the present invention two provides Shows Picture;
Fig. 5 is a kind of apparatus structure schematic diagram of realizing dynamic background that the embodiment of the present invention three provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of method that realizes dynamic background, and referring to Fig. 1, the method comprises:
101: receive the indication information of opening arbitrary interface.
102: obtain the picture corresponding with this interface, and by Image Display in this interface; Wherein, the area of picture is greater than for showing the area of the screen at this interface.
103: the move mode according to default, moves picture, so that the content that picture shows in this interface is moved.
Further, the move mode according to default, moves picture, comprising:
Monitoring mobile terminal, judges whether mobile terminal is moved;
If mobile terminal is moved,, according to the situation of movement of mobile terminal, picture is moved accordingly.
Further, the situation of movement according to mobile terminal, moves accordingly to picture, comprising:
Obtain direction and angle that mobile terminal moves;
According to default mobile terminal and picture, move relation, picture is moved accordingly.
Further, after judging whether mobile terminal is moved, also comprise:
If mobile terminal is not moved,, according to default motion track, picture is moved.
Further, Image Display, in this interface, being comprised:
According to display mode placed in the middle, picture is presented in this interface between two parties; Or
According to left-justify display mode, picture left-justify is presented in this interface; Or
According to Right Aligns display mode, picture Right Aligns is presented in this interface.
The method that realizes dynamic background described in the embodiment of the present invention, area by picture is set to be greater than the area for the screen of display interface, according to default move mode, picture is moved, so that the content that picture shows in interface is moved, thereby produce the effect of dynamic background, only need a picture to move and can realize dynamic background according to default move mode, implementation is simple, can save time and resource.The position that can move according to mobile terminal, moves picture, more presses close to people's operating habit, realizes better effects if.
Embodiment bis-
The embodiment of the present invention provides a kind of method that realizes dynamic background, and referring to Fig. 2, the method comprises:
201: receive the indication information of opening arbitrary interface.
202: obtain the picture corresponding with this interface, and by Image Display in this interface.
Wherein, picture can be static images, dynamic picture etc., and the content of picture can be personage, landscape etc., and the format and content of picture is not specifically limited, and can arrange flexibly according to practical application situation.
Wherein, the area of picture is greater than for showing the area of the screen at this interface.Preferably, the length that need to meet picture is greater than for showing the length of the screen at this interface, and the width of picture is greater than for showing the width of the screen at this interface.
Particularly, can be according to practical application situation in advance for this interface arranges a picture as the background at this interface, and by picture-storage in server or mobile terminal, when needed, from the place of storage, obtain.The area of picture need to be greater than for showing the area of the screen at this interface, if the area of picture is less than or equal to for showing the area of the screen at this interface, Background can be stretched and amplifies.
And, it should be noted that, the area of picture is more greater than for showing the area of the screen at this interface, and the dynamic effect showing is better.For concrete large how many areas, do not limit, can arrange flexibly according to practical application situation.
Particularly, Image Display, in this interface, being comprised:
According to display mode placed in the middle, picture is presented in this interface between two parties; Or
According to left-justify display mode, picture left-justify is presented in this interface; Or
According to Right Aligns display mode, picture Right Aligns is presented in this interface.
Particularly, referring to Fig. 3, for according to display mode placed in the middle, picture is presented to the schematic diagram in this interface between two parties.It should be noted that, because the area of picture is greater than for showing the area of the screen at this interface, picture can all not be presented in this interface.
203: monitoring mobile terminal, judge whether mobile terminal is moved, if mobile terminal is moved, carry out 204; Otherwise, carry out 206.
204: obtain direction and angle that mobile terminal moves.
Particularly, can, by monitoring mobile terminals such as gravity sensor or gyroscopes, obtain direction and angle that mobile terminal moves.
205: according to default mobile terminal and picture, move relation, picture is moved accordingly, then carry out 207.
Particularly, it (is direction and the angle that mobile terminal moves that default mobile terminal and picture move relation, and the relation between the position that picture moves), can pre-set the mobile corresponding relation between mobile terminal and picture according to practical application situation, and be stored in server or mobile terminal with forms such as forms, from the place of storage, read when needed.Can arrange as the case may be, this is not limited.As referring to Fig. 3 and Fig. 4, when establishing mobile terminal horizontal tilt x and spending, the position that picture moves is for being moved to the left y cm.
206: the motion track according to default, picture is moved, then carry out 207.
Particularly, default motion track can be move again on first move down, first moving to left moves to right etc. again, and default motion track is not specifically limited, can arrange flexibly according to practical application situation.
207: judge whether to receive the indication information of closing this interface, if received, finish; Otherwise carry out 203.
The method that realizes dynamic background described in the embodiment of the present invention, area by picture is set to be greater than the area for the screen of display interface, according to default move mode, picture is moved, so that the content that picture shows in interface is moved, thereby produce the effect of dynamic background, only need a picture to move and can realize dynamic background according to default move mode, implementation is simple, can save time and resource.The position that can move according to mobile terminal, moves picture, more presses close to people's operating habit, realizes better effects if.
Embodiment tri-
Referring to Fig. 5, the embodiment of the present invention provides a kind of device of realizing dynamic background, and this device comprises:
Receiver module 301, for receiving the indication information of opening arbitrary interface;
Processing module 302, for receiving after the indication information of opening arbitrary interface when receiver module 301, obtains the picture corresponding with interface, and by Image Display in interface; Wherein, the area of picture is greater than the area for the screen of display interface;
Mobile module 303, for when processing module 302 by Image Display behind interface, the move mode according to default, moves picture, so that the content that picture shows in interface is moved.
Further, mobile module 303 comprises:
Judging unit, for when processing module 302 by Image Display behind interface, monitoring mobile terminal, judge whether mobile terminal is moved;
The first mobile unit, is mobile terminal while being moved for the judged result when judging unit, and the situation of movement according to mobile terminal, moves accordingly to picture.
Further, the first mobile unit comprises:
First obtains subelement, for the judged result when judging unit, is mobile terminal while being moved, and obtains direction and angle that mobile terminal moves;
Mover unit, for obtaining subelement and obtain after the direction and angle that mobile terminal moves when first, moves relation according to default mobile terminal and picture, and picture is moved accordingly.
Further, mobile module 303 also comprises:
The second mobile unit, is mobile terminal while not being moved for the judged result when judging unit, and the motion track according to default, moves picture.
Further, processing module 302 comprises:
The first display unit, for according to display mode placed in the middle, is presented in interface by picture between two parties; Or
The second display unit, for according to left-justify display mode, is presented at picture left-justify in interface; Or
The 3rd display unit, for according to Right Aligns display mode, is presented at picture Right Aligns in interface.
The method that realizes dynamic background described in the embodiment of the present invention, area by picture is set to be greater than the area for the screen of display interface, according to default move mode, picture is moved, so that the content that picture shows in interface is moved, thereby produce the effect of dynamic background, only need a picture to move and can realize dynamic background according to default move mode, implementation is simple, can save time and resource.The position that can move according to mobile terminal, moves picture, more presses close to people's operating habit, realizes better effects if.
It should be noted that: above-described embodiment provides while realizing the device of dynamic background, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the device of realizing dynamic background that above-described embodiment provides belongs to same design with the embodiment of the method that realizes dynamic background, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method that realizes dynamic background, is characterized in that, described method comprises:
The indication information at arbitrary interface is opened in reception;
Obtain the picture corresponding with described interface, and by described Image Display in described interface; Wherein, the area of described picture is greater than for showing the area of the screen at described interface;
According to default move mode, described picture is moved, so that the content that described picture shows in described interface is moved.
2. method according to claim 1, is characterized in that, described according to default move mode, and described picture is moved, and comprising:
Monitoring mobile terminal, judges whether described mobile terminal is moved;
If described mobile terminal is moved, according to the situation of movement of described mobile terminal, described picture is moved accordingly.
3. method according to claim 2, is characterized in that, according to the situation of movement of described mobile terminal, described picture is moved accordingly, comprising:
Obtain direction and angle that described mobile terminal moves;
According to default mobile terminal and picture, move relation, described picture is moved accordingly.
4. method according to claim 2, is characterized in that, after judging whether described mobile terminal is moved, also comprises:
If described mobile terminal is not moved, according to default motion track, described picture is moved.
5. method according to claim 1, is characterized in that, described Image Display, in described interface, being comprised:
According to display mode placed in the middle, described picture is presented in described interface between two parties; Or
According to left-justify display mode, described picture left-justify is presented in described interface; Or
According to Right Aligns display mode, described picture Right Aligns is presented in described interface.
6. a device of realizing dynamic background, is characterized in that, described device comprises:
Receiver module, for receiving the indication information of opening arbitrary interface;
Processing module, for receiving after the indication information of opening arbitrary interface when described receiver module, obtains the picture corresponding with described interface, and by described Image Display in described interface; Wherein, the area of described picture is greater than for showing the area of the screen at described interface;
Mobile module, for when described processing module by described Image Display behind described interface, according to default move mode, described picture is moved, so that the content that described picture shows in described interface is moved.
7. device according to claim 6, is characterized in that, described mobile module comprises:
Judging unit, for when described processing module by described Image Display behind described interface, monitoring mobile terminal, judge whether described mobile terminal is moved;
The first mobile unit, is described mobile terminal while being moved for the judged result when described judging unit, according to the situation of movement of described mobile terminal, described picture is moved accordingly.
8. device according to claim 7, is characterized in that, described the first mobile unit comprises:
First obtains subelement, for the judged result when described judging unit, is described mobile terminal while being moved, and obtains direction and angle that described mobile terminal moves;
Mover unit, for obtaining subelement and obtain after the direction and angle that described mobile terminal moves when described first, moves relation according to default mobile terminal and picture, and described picture is moved accordingly.
9. device according to claim 7, is characterized in that, described mobile module also comprises:
The second mobile unit, is described mobile terminal while not being moved for the judged result when described judging unit, according to default motion track, described picture is moved.
10. device according to claim 6, is characterized in that, described processing module comprises:
The first display unit, for according to display mode placed in the middle, is presented at described picture in described interface between two parties; Or
The second display unit, for according to left-justify display mode, is presented at described picture left-justify in described interface; Or
The 3rd display unit, for according to Right Aligns display mode, is presented at described picture Right Aligns in described interface.
CN201210341370.2A 2012-09-14 2012-09-14 Method and device for achieving dynamic background Pending CN103677553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210341370.2A CN103677553A (en) 2012-09-14 2012-09-14 Method and device for achieving dynamic background

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210341370.2A CN103677553A (en) 2012-09-14 2012-09-14 Method and device for achieving dynamic background

Publications (1)

Publication Number Publication Date
CN103677553A true CN103677553A (en) 2014-03-26

Family

ID=50315298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210341370.2A Pending CN103677553A (en) 2012-09-14 2012-09-14 Method and device for achieving dynamic background

Country Status (1)

Country Link
CN (1) CN103677553A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915102A (en) * 2015-06-25 2015-09-16 走遍世界(北京)信息技术有限公司 Graphical interface based interaction method and apparatus
CN105975059A (en) * 2016-04-26 2016-09-28 掌赢信息科技(上海)有限公司 Background change method and electronic equipment
WO2016165420A1 (en) * 2015-08-10 2016-10-20 中兴通讯股份有限公司 Picture display method on mobile terminal and corresponding mobile terminal
CN106293408A (en) * 2016-08-10 2017-01-04 乐视控股(北京)有限公司 A kind of wallpaper treatment method and device
CN109697003A (en) * 2018-12-11 2019-04-30 广州市久邦数码科技有限公司 A kind of dynamic desktop background display method and mobile terminal
CN109842542A (en) * 2017-11-27 2019-06-04 腾讯数码(天津)有限公司 Instant session method and device, electronic equipment, storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060004108A (en) * 2004-07-08 2006-01-12 에스케이 텔레콤주식회사 System and method for moving background picture in use of a mobile telephone
CN1825265A (en) * 2005-02-23 2006-08-30 三星电子株式会社 Apparatus and method for controlling menu navigation in a terminal
CN101087459A (en) * 2006-06-09 2007-12-12 三星电子株式会社 Portable device and method of providing menu icons
US20080186332A1 (en) * 2007-01-10 2008-08-07 Samsung Electronics Co., Ltd. Apparatus and method for providing wallpaper
CN102098373A (en) * 2009-12-10 2011-06-15 Tcl集团股份有限公司 Mobile terminal, screen display method and device thereof
CN102375713A (en) * 2010-08-17 2012-03-14 宏碁股份有限公司 Electronic device and image wobbling-resistant method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060004108A (en) * 2004-07-08 2006-01-12 에스케이 텔레콤주식회사 System and method for moving background picture in use of a mobile telephone
CN1825265A (en) * 2005-02-23 2006-08-30 三星电子株式会社 Apparatus and method for controlling menu navigation in a terminal
CN101087459A (en) * 2006-06-09 2007-12-12 三星电子株式会社 Portable device and method of providing menu icons
US20080186332A1 (en) * 2007-01-10 2008-08-07 Samsung Electronics Co., Ltd. Apparatus and method for providing wallpaper
CN102098373A (en) * 2009-12-10 2011-06-15 Tcl集团股份有限公司 Mobile terminal, screen display method and device thereof
CN102375713A (en) * 2010-08-17 2012-03-14 宏碁股份有限公司 Electronic device and image wobbling-resistant method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915102A (en) * 2015-06-25 2015-09-16 走遍世界(北京)信息技术有限公司 Graphical interface based interaction method and apparatus
CN104915102B (en) * 2015-06-25 2018-09-07 走遍世界(北京)信息技术有限公司 The exchange method and device of graphical interfaces
WO2016165420A1 (en) * 2015-08-10 2016-10-20 中兴通讯股份有限公司 Picture display method on mobile terminal and corresponding mobile terminal
CN106445272A (en) * 2015-08-10 2017-02-22 中兴通讯股份有限公司 Picture display method on mobile terminal, and corresponding mobile terminal
CN105975059A (en) * 2016-04-26 2016-09-28 掌赢信息科技(上海)有限公司 Background change method and electronic equipment
CN106293408A (en) * 2016-08-10 2017-01-04 乐视控股(北京)有限公司 A kind of wallpaper treatment method and device
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
CN109697003A (en) * 2018-12-11 2019-04-30 广州市久邦数码科技有限公司 A kind of dynamic desktop background display method and mobile terminal
CN109697003B (en) * 2018-12-11 2021-09-10 广州市久邦数码科技有限公司 Dynamic desktop background display method and mobile terminal

Similar Documents

Publication Publication Date Title
CN107728901B (en) Interface display method and device and terminal
CN107770477B (en) Video call method, device, terminal and storage medium
CN103677553A (en) Method and device for achieving dynamic background
CN108733334A (en) Image quality parameter adjusting method, device, terminal and storage medium
CN107844228A (en) Message display method, device and terminal
WO2016173427A1 (en) Method, device and computer readable medium for creating motion blur effect
CN103902165A (en) Method and device for implementing background of menu
CN105824836B (en) Screenshot sharing method and device, and information receiving method and device
CN106101756A (en) Barrage display packing, barrage adding method, Apparatus and system
CN103024567A (en) Method and system for video preview of mobile terminal
CN104540012B (en) Content shared method, apparatus and terminal
CN107766023A (en) Method for information display, device, terminal and storage medium
CN107678826A (en) interface display method, device, mobile terminal and storage medium
CN107566579A (en) Image pickup method, device, terminal and storage medium
CN104571979B (en) A kind of method and apparatus for realizing split view
CN101754433A (en) Method for displaying file content in mobile terminal and mobile terminal
CN103338405A (en) Screen capture application method, equipment and system
CN102981613A (en) Terminal and terminal control method
CN107682635A (en) Image capturing method, device, terminal and storage medium
CN111901832B (en) Wireless screen projection module and screen projection method of all-in-one machine
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN103383620A (en) Method for displaying help information on mobile terminal and mobile terminal
CN103384294A (en) Method for adjusting visual angle of screen and mobile terminal of method
CN102854980A (en) Method, device and system capable of achieving interaction of tablet personal computer and mobile phone
CN107765773A (en) A kind of method, apparatus of display information, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326