CN1815444A - Portable multimedia player interface customizing method using script file configuration - Google Patents

Portable multimedia player interface customizing method using script file configuration Download PDF

Info

Publication number
CN1815444A
CN1815444A CNA2006100496341A CN200610049634A CN1815444A CN 1815444 A CN1815444 A CN 1815444A CN A2006100496341 A CNA2006100496341 A CN A2006100496341A CN 200610049634 A CN200610049634 A CN 200610049634A CN 1815444 A CN1815444 A CN 1815444A
Authority
CN
China
Prior art keywords
script file
interface
configuration
script
portable multimedia
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.)
Granted
Application number
CNA2006100496341A
Other languages
Chinese (zh)
Other versions
CN100370421C (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.)
WEIYUAN SCIENCE-TECHNOLOGY Co Ltd HANGHZOU
Original Assignee
WEIYUAN SCIENCE-TECHNOLOGY Co Ltd HANGHZOU
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 WEIYUAN SCIENCE-TECHNOLOGY Co Ltd HANGHZOU filed Critical WEIYUAN SCIENCE-TECHNOLOGY Co Ltd HANGHZOU
Priority to CNB2006100496341A priority Critical patent/CN100370421C/en
Publication of CN1815444A publication Critical patent/CN1815444A/en
Priority to PCT/CN2007/000625 priority patent/WO2007098689A1/en
Application granted granted Critical
Publication of CN100370421C publication Critical patent/CN100370421C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

Through XML script file, user carries out configuration of script for interface. Parser for script file setup in PMP player parses information of script file customized by user, and reflects parsed result to final interface display. The invention discloses a fast and simple method to let user change interface according to own requirement.

Description

Use the portable multimedia player interface customizing method of script file configuration
Technical field
The present invention relates to the method for customizing of portable multimedia player interface.
Background technology
Current society, people's tourism, go on business, outdoor activities increase day by day, the portable multimedia terminal demand increases sharply, portable multimedia terminal market is in the ascendant.
Portable media player PMP (Portable Media Player) also has the PVP of being called (PersonalVideo Player, personal video player), and perhaps address below is referred to as portable media player for the MP4 player, the English PMP that is called for short.
Portable media player is also supported music except the basic function of seeing a film, browsing pictures, many products can also have the FM radio, recording, video record, digital camera, digital vedio recording, portable hard drive, digital partner, PDA, recreation, functions such as online, PMP generally carries screen, the user can be from cable TV network, the analog or digital terrestrial TV station, DVD recorder, the video file of various forms is downloaded in digital camera or internet etc., picture, music even play to PMP, and show by this machine display screen or TV, can satisfy the needs of displaying video at any time.
Existing various PMP products adopt static describing mode mostly on the market in the realization of interface display, can't customize its corresponding interface along with user's needs fast, and the user needs is a kind of interface that fast, simply customizes within the specific limits, and this just need carry out brand-new design to the interface implementation of product.
Summary of the invention
The problem to be solved in the present invention is, the weak point that realizes designing at existing PMP interface, providing a kind of drives by script, can realize design by the interface of the quick easy configuration of user, improve the changeability at PMP interface, the user can be customized own needed interface easily, change the machine-made present situation in interface of existing product, demonstrate fully the personalization of modern product.
The technical scheme that solves the problems of the technologies described above employing is:
Use the portable multimedia player interface customizing method of script file configuration, it is characterized in that carrying out according to the following steps:
A. adopt script file that configurable interface element is described;
B. adopt script file that each function button is remapped;
C. adopt script file to each functional module according to carry out and realize its function by key definition;
D. by the script file resolver in the PMP player script file is resolved, the process that system is described according to script file is carried out the execution of interface, key assignments configuration and functional module.
Described script (script) is to use a kind of specific descriptive language, and the executable file according to certain form is write is called grand or autoexec again.Script can be called temporarily and be carried out usually by application program.
The interface of PMP mainly is made of interface of main menu and each subfunction interface, adopts interface customizing method of the present invention, and the user can write the interface script according to own idea, and by the file system that carries information is burnt among the flash and is cured; These work are all finished online, and just realize according to user's configuration information at its interface after finishing.PMP when work internal system embed one small and exquisite, but script file resolver efficiently,, according to the configurator among the flash each element at interface is resolved such as configuration informations such as color, icons by resolver, realize that the user changes the requirement at interface.
Description of drawings
Fig. 1 is original mp3 broadcast interface.
Fig. 2 is the user new interface of the present invention through script describing.
Fig. 3 is the process flow diagram of customizing script file.
Fig. 4 is to use the process flow diagram of script file.
Embodiment
Below in conjunction with the accompanying drawings and the specific embodiments purpose of the present invention, feature and effect are further described.
The purpose of interface customizing is to provide a series of configurable option by the developer, makes finally to be reflected to the modification content that the user can be voluntarily the interface and to get on.
And the developer provides the method at customization interface with which kind of mechanism, roughly there are two kinds at present, a kind of interactivity script that is based on is as the lua on the PC, python etc., these scripts are supported interactively program development, script itself also is a language, explains execution by built-in script engine, and the advantage of this class scheme is powerful, but user itself needs this speech like sound of study, and the customization difficulty is very big.
And another kind of script such as XML, ini file then is highly suitable for disposing fast various parameters, and the user can change a certain content fast, and customization speed is very fast, and our design just is based on so a kind of thought.
Should be pointed out that just succinct example described herein, but our invention is not limited to this example, comprises thought related to the present invention and method in addition.
In order to give gem-pure configuration structure of user, we have carried out the piecemeal description for each subsystem, and use the xml document to organize data structure.XML is easy to read and write, and its characteristic has determined it to be very easy to be applied to writing of script.The structuring characteristic of its data relation between data of description that makes becomes easy.Adopt standard XML to describe the attribute and the drafting mode of GUI firmware.And use the unicode coding well to support chinesization.
In order to guarantee the efficient of system and minimize that resolver is formulated to only reading the most succinct, the most understandable xml document format, promptly uses label to describe the structure and the content of each element fully.
Interface as total system has been comprised in<PMP-SCHEME〉</PMP-SCHEME〉in the label.The following of it then comprised
<!--overall situation is set--〉
<GLOBAL>。。。</GLOBAL>
<!--log-on message--〉
<STARTUP>。。。</STARTUP>
。。。
Or the like all kinds of by developer's specified message.The flow process of whole interface configuration as shown in Figure 3.
● whole interface customization work divides two steps:
Step 1: adopt file editor to edit on computers, generate XML file according to the definition of customer requirements configuration interface according to the XML script file.
Step 2:, download, be cured among the FLASH of PMP media player by computer software on computers XML script configurator and interface images.
● also divide two steps during use:
Step 1:PMP program is read the script file that is stored in the FLASH storer.
Step 2:PMP procedure script resolver is resolved the script file of reading, and carries out program according to the result who resolves and carries out.
As a concrete example, comprise as the interface customizing content of mp3 player:
1. the content of the various menu
2. the configuration of player
A) background image
B) display position of reproduction time
C) volume display position
D) song title display position and font, font color
E) position of broadcast icon
F) picture of progress bar location pointer
G) frequency display position (position, lower left corner)
H) be presented at literal on the HEADER
Shown in the following code of its concrete ios dhcp sample configuration IOS DHCP:
<MP3>
<!--menu definition--〉
<MENU>
。。。
</MENU>
<REP--MENU>
。。。
</REP-MENU>
<!--broadcast interface customization (, then not showing this project)--〉if column content is empty
<PLAYER-INTERFACE>
<!--background image--〉
<BK-IMAGE>conf\ico\mp3\mp3-bk.jPg</BK-IMAGE>
<!--display position of reproduction time--〉
<TIME-POS>40,68</TIME-POS>
<!--volume display position--〉
<SOUND-POS>240,150</SOUND-POS>
<!--song title display position and font, font color--
<NAME-POS>27,197</NAME-POS>
<FONT>Ariel</FONT>
<FONT-COLOR>WHITE</FONT-COLOR>
<!--playing the position of icon--〉
<PLAYE-ICOPOS>77,165</PLAYE-ICOPOS>
<ROS-ICOPOS>33,165</PLAYE-ICOPOS>
<!--display position of progress bar (RECT)--〉
<PROG-LINE>126,165,300,175</PROG-LINE>
<!--picture of progress bar location pointer--〉
<PROG-LEFT>conf\ico\prog\paused.bmp</PROG-LEFT>
<PROG-MID>conf\ico\prog\smallM.bmp</PROG-MID>
<PROG-RIGHT>conf\ico\prog\paused.bmp</PROG-RIGHT>
<!--frequency display position (position, lower left corner)--〉
<F-BOD>216,120</F-BOD>
<F-HEIGHT>60</F-HEIGHT>
<F-DNUM>10</F-DNUM>
<F-WIDTH>4</F-WIDTH>
<F-I-WIDTH>2</F-I-WIDTH>
<!--being presented at the literal on the HEADER--〉
<HEAD-DISP>Mp3</HEAD-DISP>
</PLAYER-INTERFACE>
</MP3>
Resolver reads in after this structure can the information that it is corresponding to be filled in the structure and goes, and calls the total body by system at last.And drafting player.
And the mapping function of key assignments also is to realize by script.A simple example is as follows:
<!--key assignments binding--〉
<KEYMAP>
<UP>7</UP>
<DOWN>S</DOWN>
<LEFT>9</LEFT>
<RIGHT>6</RIGHT>
<MENU>10</MENU>
<BACK>11</BACK>
<REC>O</REC>
<OK>8</OK>
<PREV></PREV>
<NEXT></NEXT>
<F1>12</F1>
<F2>2</F2>
<F3>3</F3>
<F4>4</F4>
<F5>1</F5>
<KEY-STANDBY></KEY-STANDBY>
<KEY-POWEROFF></KEY-POWEROFF>
</KEYMAP>
By as above this logic key the correspondence of secondary or physical bond is changed the function of each button, numeral wherein is the internal number of physical button, and it is that system is fixing.The developer provides a series of function keys for mapping, and this also belongs to our invention category.
We can also pass through the annotated logic key information, so that describe the functional module that button calls.
<MP3>
<!--title--〉
…….
<!--the logic key information is realized functions of modules--〉
<!--realize retreating right button realization advancing upwarding key by left button and realize that volume increases down Arrow and realizes that volume reduces--〉
<LEFT>Forword</LEFT>
<RIGHT>Reverse</RIGHT>
<UP>VolumeUp</UP>
<DOWN>VolumeDown</DOWN>
</MP3>
By the functional module name in the middle of the logic key, the script file resolver is made action to button operation and is carried out, and the functional module of corresponding name will be called by system, carry out the function that this module realizes this module.The developer provides script file that each functional module is realized that according to carry out behaviour by key definition this also belongs to our invention category.
After the script file editor finishes, and by the file system that carries information is burnt among the flash and is cured.Among the PMP embedded one efficiently the script resolver obtain configuration information, and begin to carry out according to the information of resolving, finally reach the purpose of the free configuration interface of user.
As mentioned above, in the present invention, can make user's configuration interface and need not any study fast, and make that the configuration at interface is very flexible, and the user who makes can redefine the function of physical button easily, reach previous purpose.
Although the preferred embodiments of the present invention are to be used for illustrative purpose, it is apparent to those skilled in the art that under the situation that does not break away from the scope of the invention described in claim and spirit, can carry out various modifications, augment and replace the present invention.

Claims (4)

1. use the portable multimedia player interface customizing method of script file configuration, it is characterized in that carrying out according to the following steps:
A. adopt script file that configurable interface element is described;
B. adopt script file that each function button is remapped;
C. adopt script file to each functional module according to carry out and realize its function by key definition;
D. by the script file resolver in the PMP player script file is resolved, the process that system is described according to script file is carried out the execution of interface, key assignments configuration and functional module.
2. the portable multimedia player interface customizing method of use script file as claimed in claim 1 configuration is characterized in that described script file is based on interactivity script establishment.
3. the portable multimedia player interface customizing method of use script file as claimed in claim 2 configuration is characterized in that described script file is based on lua or the establishment of python language.
4. the portable multimedia player interface customizing method of use script file configuration as claimed in claim 1 is characterized in that described script file is XML or ini file.5. as the portable multimedia player interface customizing method of any one described use script file configuration of claim 1-4, it is characterized in that described player interface comprises interface of main menu and each subfunction interface.
CNB2006100496341A 2006-02-28 2006-02-28 Portable multimedia player interface customizing method using script file configuration Expired - Fee Related CN100370421C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2006100496341A CN100370421C (en) 2006-02-28 2006-02-28 Portable multimedia player interface customizing method using script file configuration
PCT/CN2007/000625 WO2007098689A1 (en) 2006-02-28 2007-02-28 Portable multimedia player interface customizing method using script file configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100496341A CN100370421C (en) 2006-02-28 2006-02-28 Portable multimedia player interface customizing method using script file configuration

Publications (2)

Publication Number Publication Date
CN1815444A true CN1815444A (en) 2006-08-09
CN100370421C CN100370421C (en) 2008-02-20

Family

ID=36907662

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100496341A Expired - Fee Related CN100370421C (en) 2006-02-28 2006-02-28 Portable multimedia player interface customizing method using script file configuration

Country Status (2)

Country Link
CN (1) CN100370421C (en)
WO (1) WO2007098689A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840415A (en) * 2010-03-15 2010-09-22 福建鑫诺通讯技术有限公司 Method for controlling local resources through LUA scripts under B/S structure
CN101980338A (en) * 2010-10-09 2011-02-23 深圳市万兴软件有限公司 Custom DVD menu generation method and device and corresponding DVD making system
CN101419550B (en) * 2008-11-21 2011-04-06 上海市信息投资股份有限公司 Dynamic collocation method and device for interface and action of set-top box multimedia interface
CN102221953A (en) * 2010-04-14 2011-10-19 上海中标软件有限公司 Realization method for transparent user interface video player and player thereof
CN101187870B (en) * 2007-10-18 2011-11-09 金蝶软件(中国)有限公司 Software system interface picture management method
CN102455906A (en) * 2010-11-01 2012-05-16 腾讯科技(深圳)有限公司 Method and system for changing player skin
CN102522016A (en) * 2011-12-23 2012-06-27 刘焯琛 Intelligent interaction system used for video teaching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7073130B2 (en) * 2001-01-31 2006-07-04 Microsoft Corporation Methods and systems for creating skins
US7917557B2 (en) * 2002-09-05 2011-03-29 Koninklijke Philips Electronics N.V. Method and devices for creating a second playlist based on a first playlist
CN1253788C (en) * 2002-11-11 2006-04-26 华为技术有限公司 Method for creating interface and generation system based on description
CN1506814A (en) * 2002-12-10 2004-06-23 联想(北京)有限公司 Method of describing application program interface with expandable markup language
CN2731563Y (en) * 2004-10-18 2005-10-05 深圳新中桥通信有限公司 Portable multimedia player

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187870B (en) * 2007-10-18 2011-11-09 金蝶软件(中国)有限公司 Software system interface picture management method
CN101419550B (en) * 2008-11-21 2011-04-06 上海市信息投资股份有限公司 Dynamic collocation method and device for interface and action of set-top box multimedia interface
CN101840415A (en) * 2010-03-15 2010-09-22 福建鑫诺通讯技术有限公司 Method for controlling local resources through LUA scripts under B/S structure
CN102221953A (en) * 2010-04-14 2011-10-19 上海中标软件有限公司 Realization method for transparent user interface video player and player thereof
CN101980338A (en) * 2010-10-09 2011-02-23 深圳市万兴软件有限公司 Custom DVD menu generation method and device and corresponding DVD making system
CN102455906A (en) * 2010-11-01 2012-05-16 腾讯科技(深圳)有限公司 Method and system for changing player skin
CN102455906B (en) * 2010-11-01 2014-12-10 腾讯科技(深圳)有限公司 Method and system for changing player skin
CN102522016A (en) * 2011-12-23 2012-06-27 刘焯琛 Intelligent interaction system used for video teaching

Also Published As

Publication number Publication date
WO2007098689A1 (en) 2007-09-07
CN100370421C (en) 2008-02-20

Similar Documents

Publication Publication Date Title
CN1610874A (en) Mobile communication apparatus, display control method for mobile communication apparatus and program thereof
CN1815444A (en) Portable multimedia player interface customizing method using script file configuration
CN101059983A (en) Apparatus and method of playing back the storage medium
CN1666197A (en) Method and apparatus for moving focus for navigation in interactive mode
CN1922567A (en) Printing apparatus, and firmware updating method therefor
CN1680973A (en) Optical symbols indentifying system and method based on use for network service
CN1261694A (en) Information processor, information processing system and information providing medium
CN101076166A (en) Device having display buttons and display method and medium for the device
CN1773537A (en) Cell-phone terminal device, mail processing method, and program
CN101079301A (en) Device and method for text to audio mapping, and animation of the text
CN1759435A (en) Roll display control
CN1916843A (en) Method and system for laying out and accessing modules of user interface
CN100340954C (en) Multimedia presentation computing device
CN1909101A (en) Reproducing apparatus, reproducing method, and content reproducing system
CN103257996B (en) The apparatus and method for coding and decoding image file
CN1392727A (en) Device and method for reproducing data from storage medium containing preloading character
CN1684059A (en) Editing method and device for multimedia information files
CN1932797A (en) System and method for synchronous reproduction of local and remote content in a communication network
CN1908894A (en) Brew-based dynamic user interface system structure and method for realization
CN1417697A (en) Image display method and information equipment
CN101064825A (en) Mobile equipment based sport video personalized customization method and apparatus thereof
CN1393793A (en) Method for using and updating network education resources
CN1705367A (en) Information processing apparatus and information processing method
CN1991724A (en) Input unit, mobile terminal unit, and content data manipulation method
CN1867914A (en) File management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080220

Termination date: 20160228

CF01 Termination of patent right due to non-payment of annual fee