CN103902165B - The method and apparatus for realizing menu background - Google Patents

The method and apparatus for realizing menu background Download PDF

Info

Publication number
CN103902165B
CN103902165B CN201210581388.XA CN201210581388A CN103902165B CN 103902165 B CN103902165 B CN 103902165B CN 201210581388 A CN201210581388 A CN 201210581388A CN 103902165 B CN103902165 B CN 103902165B
Authority
CN
China
Prior art keywords
menu
background picture
background
picture
current
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
CN201210581388.XA
Other languages
Chinese (zh)
Other versions
CN103902165A (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.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology 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 Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201210581388.XA priority Critical patent/CN103902165B/en
Publication of CN103902165A publication Critical patent/CN103902165A/en
Application granted granted Critical
Publication of CN103902165B publication Critical patent/CN103902165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus for realizing menu background, belong to communication technical field.Methods described includes:Receive the information for selecting menu option in a menu;Default menu option and background picture configuration file are inquired about, multiple background pictures corresponding with the menu option selected are obtained;According to default time interval and order, the multiple background picture is illustrated on menu background successively.Described device includes:Receiving module, enquiry module and display module.The present invention is after the information of selection menu option in a menu is received, by obtaining multiple background pictures corresponding with the menu option of selection, according to default time interval and order, multiple background pictures are illustrated on menu background successively, so that when choosing different menu options, different dynamic menu backgrounds can be realized so that menu background variation.

Description

The method and apparatus for realizing menu background
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus for realizing menu background.
Background technology
With the continuous improvement of computer hardware performance, the UI of various softwares has been driven(User Interface, Yong Hujie Face)The innovation of technology.Especially in terms of user mutual UI, various friendly interaction UI emerge in an endless stream, and pass through this friendly friendship Mutual UI, substantially increases the quality of software.In existing various interactive UI, most of technology and application all concentrate on software In displaying in terms of overall interface and control, and it often have ignored the optimization at menu background interface.
The existing method for realizing menu background is as follows:Menu background is set to static images form, or transparent form.
However, during the present invention is realized, inventor has found that prior art at least has problems with:
Existing that menu background simply is set into static images form, or transparent form, menu background is single.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of method and dress for realizing menu background Put.The technical scheme is as follows:
On the one hand there is provided a kind of method for realizing menu background, methods described includes:
Receive the information for selecting menu option in a menu;
Default menu option and background picture configuration file are inquired about, multiple back ofs the body corresponding with the menu option selected are obtained Scape picture;
According to default time interval and order, the multiple background picture is illustrated on menu background successively.
On the other hand there is provided a kind of device for realizing menu background, described device includes:
Receiving module, the information of menu option is selected for receiving in a menu;
Enquiry module, for after the receiving module receives the information of selection menu option in a menu, inquiry to be default Menu option and background picture configuration file, obtain multiple background pictures corresponding with the menu option of selection;
Display module, for after the enquiry module obtains the corresponding multiple background pictures of menu option with selecting, According to default time interval and order, the multiple background picture is illustrated on menu background successively.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
It is corresponding many by the menu option for obtaining with selecting after the information of selection menu option in a menu is received Individual background picture, according to default time interval and order, multiple background pictures are illustrated on menu background successively so that When choosing different menu options, it is possible to achieve different dynamic menu backgrounds so that menu background variation.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of method flow diagram for realizing menu background that the embodiment of the present invention one is provided;
Fig. 2 is a kind of method flow diagram for realizing menu background that the embodiment of the present invention two is provided;
Fig. 3 is a kind of apparatus structure schematic diagram for realizing menu background that the embodiment of the present invention three is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The embodiments of the invention provide a kind of method for realizing menu background, referring to Fig. 1, this method includes:
101:Receive the information for selecting menu option in a menu.
102:Default menu option and background picture configuration file are inquired about, obtains corresponding many with the menu option selected Individual background picture.
103:According to default time interval and order, multiple background pictures are illustrated on menu background successively.
Preferably, the information for selecting menu option in a menu is received, including:
Obtain the information that mouse moves into any menu option in menu.
Preferably, according to default time interval and order, multiple background pictures are illustrated on menu background successively, wrapped Include:
The first frame background picture in multiple background pictures is set to current background picture;
Current background picture is shown on menu background;
Judge whether the displaying time span of current background picture reaches default time span value;
Whether if reached, it is last frame background picture to judge current background picture;
If it is not, then the next frame background picture of current background picture is set into current background picture, then perform The step of current background picture being shown on menu background.
Preferably, after judging current background picture and whether being last frame background picture, in addition to:
If it is, performing the step that the first frame background picture in multiple background pictures is set to current background picture Suddenly.
Preferably, show that current background picture includes on menu background:
By way of painting certainly, by current background picture presentation on menu background.
The method for realizing menu background described in the embodiment of the present invention, is receiving the letter of selection menu option in a menu To be many according to default time interval and order by obtaining multiple background pictures corresponding with the menu option of selection after breath Individual background picture is illustrated on menu background successively so that when choosing different menu options, it is possible to achieve different dynamics Menu background so that menu background variation.
Embodiment two
The embodiments of the invention provide a kind of method for realizing menu background, referring to Fig. 2, this method includes:
201:Judge whether to receive the information for selecting menu option in a menu, if received, perform 202;It is no Then, terminate.
Specifically, when user is selected from the menu menu option, correspondingly, it can be received by modes such as mouse, keyboards The information of menu option is selected in a menu, including:
Obtain the information that mouse moves into any menu option in menu.
Specifically, the coordinate moved into according to the coordinate of the menu option of each in menu, mouse, it can be determined that go out mouse tool What body was moved into is which of menu menu option, so as to learn which menu option is selected.
202:Default menu option and background picture configuration file are inquired about, obtains corresponding many with the menu option selected Individual background picture.
Specifically, the mode of configuration file can be used, the corresponding background picture of each menu option is configured.Configuration file Configuration content include:The corresponding background picture of each menu option, the path of background picture, the exhibition method of background picture Deng.Wherein, between the displaying order of the exhibition method of background picture including background picture, and time between each background picture Every.
Wherein, multiple background pictures corresponding with each menu option, can be that each object is carried out to be continuously shot Parsed to or to existing animation.Wherein, background picture can be Gif(Graphics Interchange Format, graphic interchange format)、JPEG(Joint Photographic Experts Group, joint figure As expert group) etc. various forms.
203:The first frame background picture in multiple background pictures is set to current background picture.
204:Current background picture is shown on menu background.
Specifically, when showing current background picture on menu background, it can be realized by way of painting certainly, with Layout and each action of menu background are realized based on Windows windows.
Specifically, can be by using GDI(Graphics Device Interface, GDI)+ parse With each background picture of displaying.
205:Judge whether the displaying time span of current background picture reaches default time span value, if reached, Then perform 206;Otherwise, 204 are performed.
Specifically, the displaying time span of each background picture(That is, default time span value), i.e., every 2 Backgrounds Time interval between piece, can be configured according to practical application situation, such as could be arranged to 100us, 50us.
Specifically, it can control whether displaying time span reaches the default time by using thread or timer Length value.When such as using thread, a thread can be set for each background picture, each thread is used to show corresponding background Picture, sets the displaying time span of corresponding background picture in each thread.
206:Whether judge current background picture is last frame background picture in multiple background pictures, if it is, Perform 203;Otherwise, 207 are performed.
207:The next frame background picture of current background picture is set to current background picture, 204 are then performed.
It should be noted that the use habit in order to not change user, the behaviour of other basic operations, such as various mouses Response of work, keyboard direction and shortcut etc., imitates the mode of operation of the original menus of Windows completely.
The method for realizing menu background described in the embodiment of the present invention, is receiving the letter of selection menu option in a menu To be many according to default time interval and order by obtaining multiple background pictures corresponding with the menu option of selection after breath Individual background picture is illustrated on menu background successively so that when choosing different menu options, it is possible to achieve different dynamics Menu background so that menu background variation.
Embodiment three
Referring to Fig. 3, the embodiments of the invention provide a kind of device for realizing menu background, it is characterised in that the device bag Include:
Receiving module 301, the information of menu option is selected for receiving in a menu;
Enquiry module 302, for after receiving module 301 receives the information of selection menu option in a menu, inquiry to be pre- If menu option and background picture configuration file, obtain multiple background pictures corresponding with the menu option of selection;
Display module 303, for obtaining multiple background pictures corresponding with the menu option selected in enquiry module 302 Afterwards, according to default time interval and order, multiple background pictures are illustrated on menu background successively.
Preferably, the receiving module 301 includes:
Acquiring unit, the information of any menu option in menu is moved into for obtaining mouse.
Preferably, the display module 303 includes:
First setting unit, for after multiple background pictures corresponding with the menu option of selection are obtained, by multiple back ofs the body The first frame background picture in scape picture is set to current background picture;
Display unit, for being set to the first frame background picture in multiple background pictures currently in the first setting unit After background picture, current background picture is shown on menu background;
First judging unit, for after display unit shows current background picture on menu background, judging the current back of the body Whether the displaying time span of scape picture reaches default time span value;
Second judging unit, for being to reach in the judged result of the first judging unit, then judges that current background picture is No is last frame background picture;
Second setting unit, for being in the judged result of the second judging unit, then by under current background picture One frame background picture is set to current background picture, then notifies display unit is performed to show current background figure on menu background The step of piece.
Preferably, the display module 303 also includes:
Notification unit, for being then to notify the first setting unit is performed will be many in the judged result of the second judging unit The step of the first frame background picture in individual background picture is set to current background picture.
Preferably, display unit includes:
Subelement is shown, for the first frame background picture in multiple background pictures being set in the first setting unit to work as After preceding background picture, by way of painting certainly, by current background picture presentation on menu background.
The device for realizing menu background described in the embodiment of the present invention, is receiving the letter of selection menu option in a menu To be many according to default time interval and order by obtaining multiple background pictures corresponding with the menu option of selection after breath Individual background picture is illustrated on menu background successively so that when choosing different menu options, it is possible to achieve different dynamics Menu background so that menu background variation.
It should be noted that:The device for realizing menu background of above-described embodiment offer is in triggering intelligent network service, only With the division progress of above-mentioned each functional module for example, in practical application, can as needed and by above-mentioned functions distribution by Different functional modules is completed, i.e., the internal structure of equipment is divided into different functional modules, described above complete to complete Portion or partial function.In addition, above-described embodiment provide realize the device of menu background and realize that the method for menu background is real Apply example and belong to same design, it implements process and refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (8)

1. a kind of method for realizing menu background, it is characterised in that methods described includes:
Receive the information for selecting menu option in a menu;
Default menu option and background picture configuration file are inquired about, multiple Backgrounds corresponding with the menu option selected are obtained Piece, multiple background pictures corresponding with each menu option are that each object is continuously shot, or to existing Animation parsed;The corresponding background picture of the menu option configured by configuration file, and the configuration file is matched somebody with somebody Putting content includes:The corresponding background picture of each menu option, the path of the background picture, the displaying side of the background picture Formula, wherein, the exhibition method of the background picture includes the displaying order of the background picture, and between each background picture Time interval;
According to default time interval and order, the multiple background picture is illustrated on menu background successively;
Wherein, the reception selects the information of menu option in a menu, including:
Obtain the information that mouse moves into any menu option in the menu.
2. according to the method described in claim 1, it is characterised in that described according to default time interval and order, will be described Multiple background pictures are illustrated on menu background successively, including:
The first frame background picture in the multiple background picture is set to current background picture;
The current background picture is shown on the menu background;
Judge whether the displaying time of the current background picture reaches default time span value;
Whether if reached, it is last frame background picture to judge the current background picture;
If it is not, then the next frame background picture of the current background picture is set into the current background picture, then The step of execution shows the current background picture on the menu background.
3. method according to claim 2, it is characterised in that described to judge whether the current background picture is last After frame background picture, in addition to:
If it is, performing the step that the first frame background picture in the multiple background picture is set to current background picture Suddenly.
4. method according to claim 2, it is characterised in that described that the current background is shown on the menu background Picture includes:
By way of painting certainly, by the current background picture presentation on the menu background.
5. a kind of device for realizing menu background, it is characterised in that described device includes:
Receiving module, the information of menu option is selected for receiving in a menu;
Enquiry module, for after the receiving module receives the information of selection menu option in a menu, inquiring about default dish Uniterming and background picture configuration file, obtain multiple background pictures corresponding with the menu option selected, are selected with each menu The corresponding multiple background pictures of item, each object is continuously shot, or existing animation is parsed; The corresponding background picture of the menu option is configured by configuration file, and the configuration content of the configuration file includes:Each menu The corresponding background picture of option, the path of the background picture, the exhibition method of the background picture, wherein, the Background The exhibition method of piece includes the displaying order of the background picture, and the time interval between each background picture;
Display module, for after the enquiry module obtains the corresponding multiple background pictures of menu option with selecting, according to Default time interval and order, the multiple background picture is illustrated on menu background successively;
Wherein, the receiving module includes:
Acquiring unit, the information of any menu option in the menu is moved into for obtaining mouse.
6. device according to claim 5, it is characterised in that the display module includes:
First setting unit, for after multiple background pictures corresponding with the menu option of selection are obtained, by the multiple back of the body The first frame background picture in scape picture is set to current background picture;
Display unit, for being set to the first frame background picture in the multiple background picture in first setting unit After current background picture, the current background picture is shown on the menu background;
First judging unit, for after the display unit shows the current background picture on the menu background, sentencing Whether the displaying time of the disconnected current background picture reaches default time span value;
Second judging unit, is to reach for the judged result in first judging unit, then judges the current background figure Whether piece is last frame background picture;
Second setting unit, for being in the judged result of second judging unit, then by the current background picture Next frame background picture be set to the current background picture, then notify the display unit to perform in the menu background The step of upper displaying current background picture.
7. device according to claim 6, it is characterised in that the display module also includes:
Notification unit, for being then to notify first setting unit to perform in the judged result of second judging unit The step of the first frame background picture in the multiple background picture is set to current background picture.
8. device according to claim 6, it is characterised in that the display unit includes:
Subelement is shown, for the first frame background picture in the multiple background picture being set in first setting unit After current background picture, by way of painting certainly, by the current background picture presentation on the menu background.
CN201210581388.XA 2012-12-27 2012-12-27 The method and apparatus for realizing menu background Active CN103902165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210581388.XA CN103902165B (en) 2012-12-27 2012-12-27 The method and apparatus for realizing menu background

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210581388.XA CN103902165B (en) 2012-12-27 2012-12-27 The method and apparatus for realizing menu background

Publications (2)

Publication Number Publication Date
CN103902165A CN103902165A (en) 2014-07-02
CN103902165B true CN103902165B (en) 2017-08-01

Family

ID=50993516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210581388.XA Active CN103902165B (en) 2012-12-27 2012-12-27 The method and apparatus for realizing menu background

Country Status (1)

Country Link
CN (1) CN103902165B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9804759B2 (en) 2012-05-09 2017-10-31 Apple Inc. Context-specific user interfaces
US9547425B2 (en) 2012-05-09 2017-01-17 Apple Inc. Context-specific user interfaces
US10304347B2 (en) 2012-05-09 2019-05-28 Apple Inc. Exercised-based watch face and complications
US10990270B2 (en) 2012-05-09 2021-04-27 Apple Inc. Context-specific user interfaces
US10613743B2 (en) 2012-05-09 2020-04-07 Apple Inc. User interface for receiving user input
CN106462340B (en) 2014-06-27 2019-09-13 苹果公司 The user interface that size reduces
EP3195098A2 (en) 2014-07-21 2017-07-26 Apple Inc. Remote user interface
EP3158425A1 (en) * 2014-08-02 2017-04-26 Apple Inc. Context-specific user interfaces
US10452253B2 (en) 2014-08-15 2019-10-22 Apple Inc. Weather user interface
US10254948B2 (en) 2014-09-02 2019-04-09 Apple Inc. Reduced-size user interfaces for dynamically updated application overviews
EP4209872A1 (en) 2014-09-02 2023-07-12 Apple Inc. Phone user interface
US10055121B2 (en) 2015-03-07 2018-08-21 Apple Inc. Activity based thresholds and feedbacks
WO2016144385A1 (en) 2015-03-08 2016-09-15 Apple Inc. Sharing user-configurable graphical constructs
US9916075B2 (en) 2015-06-05 2018-03-13 Apple Inc. Formatting content for a reduced-size user interface
EP4321088A3 (en) 2015-08-20 2024-04-24 Apple Inc. Exercise-based watch face
DK201770423A1 (en) 2016-06-11 2018-01-15 Apple Inc Activity and workout updates
DK179412B1 (en) 2017-05-12 2018-06-06 Apple Inc Context-Specific User Interfaces
US11327650B2 (en) 2018-05-07 2022-05-10 Apple Inc. User interfaces having a collection of complications
US11960701B2 (en) 2019-05-06 2024-04-16 Apple Inc. Using an illustration to show the passing of time
US11131967B2 (en) 2019-05-06 2021-09-28 Apple Inc. Clock faces for an electronic device
EP3827323B1 (en) 2019-05-06 2023-12-13 Apple Inc. Restricted operation of an electronic device
US10878782B1 (en) 2019-09-09 2020-12-29 Apple Inc. Techniques for managing display usage
DK181103B1 (en) 2020-05-11 2022-12-15 Apple Inc User interfaces related to time
EP4133371A1 (en) 2020-05-11 2023-02-15 Apple Inc. User interfaces for managing user interface sharing
US11372659B2 (en) 2020-05-11 2022-06-28 Apple Inc. User interfaces for managing user interface sharing
US11694590B2 (en) 2020-12-21 2023-07-04 Apple Inc. Dynamic user interface with time indicator
US11720239B2 (en) 2021-01-07 2023-08-08 Apple Inc. Techniques for user interfaces related to an event
US11921992B2 (en) 2021-05-14 2024-03-05 Apple Inc. User interfaces related to time

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201260228Y (en) * 2008-08-06 2009-06-17 青岛海信移动通信技术股份有限公司 Mobile terminal
WO2009101937A1 (en) * 2008-02-12 2009-08-20 Sharp Kabushiki Kaisha Content display processing device, content display processing method, and content display processing program
CN102439558A (en) * 2009-05-19 2012-05-02 三星电子株式会社 Mobile device and method for editing pages used for a home screen
CN102541528A (en) * 2010-12-29 2012-07-04 北京新媒传信科技有限公司 Menu creating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009101937A1 (en) * 2008-02-12 2009-08-20 Sharp Kabushiki Kaisha Content display processing device, content display processing method, and content display processing program
CN201260228Y (en) * 2008-08-06 2009-06-17 青岛海信移动通信技术股份有限公司 Mobile terminal
CN102439558A (en) * 2009-05-19 2012-05-02 三星电子株式会社 Mobile device and method for editing pages used for a home screen
CN102541528A (en) * 2010-12-29 2012-07-04 北京新媒传信科技有限公司 Menu creating method and device

Also Published As

Publication number Publication date
CN103902165A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103902165B (en) The method and apparatus for realizing menu background
CN105808044B (en) Information pushing method and device
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
CN107870690A (en) For generating equipment, method and the graphic user interface of tactile output
CN110109592A (en) Head portrait creation and editor
CN109219796A (en) Digital touch on real-time video
CN106502638A (en) For providing equipment, method and the graphic user interface of audiovisual feedback
CN102662664A (en) Interface animation realization method and system
CN105393202B (en) Method for providing the portable equipment of combined user interface component and controlling it
CN105955582B (en) Information displaying method and terminal device
CN108495169A (en) Information displaying method and device
CN103631484A (en) Interface control position adjusting method, device and terminal
CN107818490A (en) Equipment choosing guidance method, device, computer-readable recording medium and terminal
CN104980563A (en) Operation demonstration method and operation demonstration device
CN107766024B (en) PPT projection control method and system based on splicing wall
CN110456949A (en) For the equipment, method and graphic user interface of taskbar to be navigated and shown between user interface
CN106610826A (en) Making method and device for online scenario application
CN106162353A (en) Interface processing method, Apparatus and system
CN107402755A (en) The modular showing method and device of the small application of wechat
CN105575198B (en) The methods of exhibiting and device of instructional video
CN110096322A (en) The method and device of adaptive terminal screen, storage medium, electronic device
US20100199201A1 (en) System and method for displaying a display panel
CN108614677A (en) Method for information display, mobile terminal and computer readable storage medium
CN106161635B (en) Information processing method, terminal and server
CN107807774A (en) The control method and split type glasses of a kind of Split type intelligent glasses

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building block A room 602

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.