WO2012159382A1 - Method and terminal for screen display - Google Patents

Method and terminal for screen display Download PDF

Info

Publication number
WO2012159382A1
WO2012159382A1 PCT/CN2011/078723 CN2011078723W WO2012159382A1 WO 2012159382 A1 WO2012159382 A1 WO 2012159382A1 CN 2011078723 W CN2011078723 W CN 2011078723W WO 2012159382 A1 WO2012159382 A1 WO 2012159382A1
Authority
WO
WIPO (PCT)
Prior art keywords
decoration
file
gui element
terminal
decoration file
Prior art date
Application number
PCT/CN2011/078723
Other languages
French (fr)
Chinese (zh)
Inventor
黄连芳
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012159382A1 publication Critical patent/WO2012159382A1/en

Links

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
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Definitions

  • the present invention relates to the field of electronic technology, and in particular to a screen display method and a terminal. Background technique
  • a primary object of the present invention is to provide a screen display method and terminal for enabling a terminal to add text or multimedia data at any interface and at any position.
  • a screen display method comprising:
  • the terminal accepts the decoration file added by the user
  • the GUI elements include: menus, buttons, forms, pictures, and text boxes.
  • the first current display scene and the second current display scene include: an interface of the parent window, a current coordinate position, and an operation of the GUI element response.
  • the decoration file comprises: a file having multimedia data or/and text information.
  • the method further includes: recording a path stored by the multimedia data, and saving a coordinate position added by the decoration file;
  • the accepting the decoration file added by the user specifically includes: when the terminal starts the decoration mode, popping up a text box for the user to input the text information.
  • a terminal the terminal includes: an accepting unit, an associating unit, and a display unit; wherein, the accepting unit is configured to accept a decoration file added by the user;
  • An association unit configured to associate the decoration file to a graphical user interface GUI element, and save a first current display scene where the GUI element is located;
  • a display unit configured to: when the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display The decoration file is described, otherwise the decoration file is not read and displayed.
  • the GUI elements include: menus, buttons, forms, pictures, and text boxes.
  • the first current display scene and the second current display scene include: an interface of the parent window, a current coordinate position, and an operation of the GUI element response.
  • the decoration file comprises: a file having multimedia data or/and text information.
  • the terminal further includes a saving unit, configured to record a path stored by the multimedia data when the decoration file includes multimedia data, and save a coordinate position added by the decoration file.
  • the accepting unit is further configured to start at the terminal when the decoration file includes text information In the decoration mode, a text box for the user to input text information pops up.
  • the screen display method and terminal provided by the present invention associate a decorative file with a corresponding GUI element and save a corresponding scene, and reproduce the decorative file through the GUI element and the scene, on the terminal. It realizes the function of adding text or multimedia data in any interface and anywhere, which improves user experience.
  • FIG. 1 is a flowchart of a method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 3 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of adding a decoration file by a user according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of displaying, by a user, the decoration file according to an embodiment of the present invention.
  • FIG. 6 is a diagram showing a display state of an application example according to an embodiment of the present invention.
  • the terminal includes an electronic device having a GUI function of a graphical user interface such as a mobile phone, a PDA or a player.
  • a graphical user interface such as a mobile phone, a PDA or a player.
  • the embodiment of the invention provides a screen display method. As shown in FIG. 1, the method includes the following steps:
  • Step S110 The terminal accepts a decoration file added by the user.
  • the decoration file includes: a text with multimedia data or/and text information. Pieces.
  • Step S120 Associate the decoration file to a GUI element of a graphical user interface, and save a first current display scene where the GUI element is located;
  • the GUI element includes: a menu, a button, a form, a picture, a text box, and the like.
  • Step S130 When the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display the decoration File, otherwise the decoration file is not read and displayed.
  • the first current display scene and the second current display scene include: an interface where the parent window is located, a current coordinate position, and an operation of the GUI element response.
  • the method further includes: recording the path stored by the multimedia data. ;
  • the accepting the decoration file added by the user specifically includes: when the terminal starts the decoration mode, popping up a text box for the user to input the text information.
  • the display scene includes a series of matching conditions, and each GUI element has different matching conditions, for example: the button is a GUI element, and it contains multiple attributes. If the button is used as the left soft key of the standby interface of the mobile phone, the user adds a decoration file on the top, and the system calls a method of the base class of the GUI element (button) when the related GUI element (button) is added by the user to the decoration file. In this method, the path where the decoration file is located is recorded, and the coordinate position added by the decoration file is saved; the scene data generated according to the decoration file is associated with this GUI element.
  • the button is a GUI element, and it contains multiple attributes.
  • the decoration file associated with the object is enumerated, and the current scene (the second current display scene) is compared with the scene in the record (the first current display scene), and if it matches, it is displayed on the button.
  • the decoration file is not displayed, and the function of adding text information or multimedia data to any interface on the terminal and any position is realized, thereby improving the user experience.
  • a display scene matching condition and an indication of the displayed scene Corresponding, and the identifier of the display scene is combined with multimedia data or text information to form a decorative record
  • the decoration record is saved in the decoration file, a GUI element corresponds to one or more decoration records, and the terminal system can load the decoration file at startup or
  • the decoration file is loaded by the user through the software menu.
  • the decoration file is loaded, the decoration record inside is added to the system's decoration record database, so that the user can create or download a specific decoration file to modify the system GUI element interface. Style features.
  • the embodiment of the present invention further provides a terminal, as shown in FIG. 2, including:
  • the accepting unit 210 is configured to accept a decoration file added by the user, and the decoration file includes: a file having multimedia data or/and text information.
  • the association unit 220 is configured to associate the decoration file to the graphical user interface GUI element, and save the first current display scene where the GUI element is located; wherein the GUI element comprises: a menu, a button, a form, a picture, and text box.
  • the display unit 230 is configured to: when the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display The decorative file, otherwise the decorative file is not read and displayed.
  • the first current display scene and the second current display scene include: an interface where the parent window is located, a current coordinate position, and an operation of the GUI element response.
  • the terminal further includes a saving unit 240, as shown in FIG. 3, configured to record a path stored by the multimedia data when the decoration file includes multimedia data, and save the coordinates added by the decoration file.
  • the accepting unit 210 is further configured to: when the decoration file includes the text information, when the terminal starts the decoration mode, pop up a text box for the user to input the text information.
  • the application example includes a process of adding a decoration file by a user and a process of displaying the decoration file by a user, where: as shown in FIG. 4, the process of adding a decoration file by the user includes The following steps: Step S301: The user starts the decoration mode on a certain interface, adds multimedia data (may also be text information), and the terminal compresses and resizes the multimedia data according to the file size and size that can be supported under the decoration file, or the font font or size. Make settings to form a decorative file.
  • Step S302 The user previews the decoration file to be added, and manually configures the size, size, position, and play time of the decoration file.
  • the position can also be set to any, and the user can pull the decoration file to adjust its position.
  • Step S303 The GUI layer of the terminal invokes a decoration function (On User Decorate ( )) for the user of the GUI element class base class, and the coordinate position of the decoration file (3 ⁇ 4 port x, y) is recorded.
  • the location is associated with the corresponding GUI element and decoration file.
  • the coordinate position may be the upper left corner coordinate of the decoration file or the center position of the decoration file.
  • Step S304 After the decoration file processing of the GUI element ends, the GUI element automatically generates multimedia data and display scene information corresponding to the multimedia data (such as an identifier of the displayed scene).
  • Step S305 Add the multimedia data and the display scene information to the image database and the scene database, respectively.
  • the process of displaying the decoration file by the user includes the steps shown in FIG. 5:
  • Step S306 The system of the terminal invokes a GUI element.
  • Step S307 The GUI layer of the system of the terminal determines whether the current GUI element has a decoration record. If yes, step S308 is invoked; otherwise, step 312 is performed.
  • Step S308 enumerate the decoration record data associated with the GUI element; when enumerating, use the GUI identifier as an index, and query the corresponding decoration record in the GUI element decoration record database and enumerate.
  • Step S309 It is judged whether the identifier of the display scene with the decoration record matches the identifier of the currently displayed scene, and if yes, the process goes to step S310; otherwise, the process goes to step S312.
  • Step S310 Extract the multimedia data corresponding to the GUI element from the image database.
  • Step S311 Calculate appropriate image data (such as generation of vector graphics) and draw on the GUI element.
  • Different GUI elements have different display scene judgment conditions, such as the button mentioned above.
  • the display condition of the element display condition if it is replaced by the desktop clock class, the judgment condition may be different.
  • the desktop clock may have a digital form or a circular dial form, then the user adds a decorative file to the dial clock. , will not be displayed when the clock is displayed in digital form.
  • Step S312 Display an interface with or without decoration.
  • the background is the display of the standby interface.
  • the user adds a cartoon picture of the rabbit in the standby area, and adds the interface of “doing everything well”, which plays an entertainment role.
  • the text size and font can be set by the user.
  • the GUI element of the original GUI layer of the terminal is expanded after the drawing operation, for example, after the operation of drawing a menu, drawing a button, drawing a picture, or drawing a picture, the operation of the decorative function is added.
  • the user can select whether the decoration is displayed or not through the software switch, and the decoration file is displayed only when the software switch is turned on.
  • the GUI element class of the original GUI layer is extended, and a data link for finding related decoration records is added to each of the decorative decorative function elements.
  • the decoration record may be composed of a scene identifier and multimedia data, and each scene identifier corresponds to a scene.
  • the judgment conditions include: Whether the parent window is the standby interface, whether the button position is in the lower left corner of the screen (left soft key position), and the response function after the button is pressed is the left soft key handler of the system. Wait.

Abstract

A method and terminal for screen display, said method comprising: a terminal receiving an embellished document added by a user, associating said embellished document with a graphical user interface GUI element, and storing the first current display tableau where said GUI element is located; when the GUI element is next displayed, determining whether a second current display tableau of the GUI element again being displayed is identical to the first current display tableau and, if it is identical, the embellished document is read and displayed and, if is not, the embellished document is not read and displayed.

Description

屏幕显示方法及终端 技术领域  Screen display method and terminal
本发明涉及电子技术领域, 尤其指是屏幕显示方法及终端。 背景技术  The present invention relates to the field of electronic technology, and in particular to a screen display method and a terminal. Background technique
随着通信技术的发展, 终端应用层出不穷; 此外, 随着终端屏幕的不 断增大, 界面也更加丰富和人性化。 但现有技术一般只能通过更换墙纸或 运行特定软件(如装饰电脑桌面的雪花软件)等, 改变墙纸状态, 以达到 娱乐的目的。  With the development of communication technology, terminal applications are emerging one after another; in addition, as the terminal screen continues to increase, the interface is more abundant and user-friendly. However, the prior art can only change the state of the wallpaper by changing the wallpaper or running specific software (such as snowflake software for decorating the computer desktop) to achieve entertainment purposes.
在现有技术中, 还没有一种装饰模式, 能像贴窗花一样在手机屏幕任 意位置贴图片 (如大头贴、 卡通图片等)、 动画甚至是一段视频。 用户可能 对终端上的一些按钮或图标不熟悉, 需要使用其他图标做标示。 此外, 也 不能通过添加文本框的形式, 在任意位置输入文字信息。 发明内容  In the prior art, there is no decorative mode, which can stick pictures (such as photo stickers, cartoon pictures, etc.), animations and even a video on any position of the mobile phone screen. Users may be unfamiliar with some of the buttons or icons on the terminal and need to use other icons for labeling. In addition, you cannot enter text information anywhere by adding a text box. Summary of the invention
本发明的主要目的是提供一种屏幕显示方法及终端, 以使终端具有在 任意界面、 任意位置添加文字或多媒体数据的功能。  SUMMARY OF THE INVENTION A primary object of the present invention is to provide a screen display method and terminal for enabling a terminal to add text or multimedia data at any interface and at any position.
本发明解决其技术问题所采用的技术方案是:  The technical solution adopted by the present invention to solve the technical problem thereof is:
一种屏幕显示方法, 该方法包括:  A screen display method, the method comprising:
终端接受用户添加的装饰文件;  The terminal accepts the decoration file added by the user;
将所述装饰文件关联到图形用户界面 GUI元素, 并保存所述 GUI元素 所在的第一当前显示场景;  Associating the decoration file to a graphical user interface GUI element and saving a first current display scene in which the GUI element is located;
当所述 GUI元素再次被显示时, 判断所述 GUI元素再次被显示时的第 二当前显示场景与所述第一当前显示场景是否一致, 如果是, 则读取并显 示所述装饰文件, 否则不读取和显示所述装饰文件。 When the GUI element is displayed again, determining whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if so, reading and displaying The decoration file is shown, otherwise the decoration file is not read and displayed.
优选地, 所述 GUI元素包括: 菜单、 按钮、 窗体、 图片和文字框。 优选地, 所述第一当前显示场景和第二当前显示场景包括: 父窗口所 在界面、 当前的坐标位置和所述 GUI元素响应的操作。  Preferably, the GUI elements include: menus, buttons, forms, pictures, and text boxes. Preferably, the first current display scene and the second current display scene include: an interface of the parent window, a current coordinate position, and an operation of the GUI element response.
优选地, 所述装饰文件包括: 具有多媒体数据或 /和文字信息的文件。 优选地, 所述装饰文件包括多媒体数据时, 在接受用户添加的装饰文 件之后, 该方法进一步包括: 记录该多媒体数据所存储的路径, 保存装饰 文件添加的坐标位置;  Preferably, the decoration file comprises: a file having multimedia data or/and text information. Preferably, when the decoration file includes multimedia data, after accepting the decoration file added by the user, the method further includes: recording a path stored by the multimedia data, and saving a coordinate position added by the decoration file;
所述装饰文件包括文字信息时, 所述接受用户添加的装饰文件, 具体 包括: 在终端启动装饰模式时, 弹出供用户输入文字信息的文本框。  When the decoration file includes the text information, the accepting the decoration file added by the user specifically includes: when the terminal starts the decoration mode, popping up a text box for the user to input the text information.
一种终端, 该终端包括: 接受单元、 关联单元、 显示单元; 其中, 接受单元, 用于接受用户添加的装饰文件;  A terminal, the terminal includes: an accepting unit, an associating unit, and a display unit; wherein, the accepting unit is configured to accept a decoration file added by the user;
关联单元, 用于将所述装饰文件关联到图形用户界面 GUI元素, 并保 存所述 GUI元素所在的第一当前显示场景;  An association unit, configured to associate the decoration file to a graphical user interface GUI element, and save a first current display scene where the GUI element is located;
显示单元, 用于当所述 GUI元素再次被显示时, 判断所述 GUI元素再 次被显示时的第二当前显示场景与所述第一当前显示场景是否一致, 如果 是, 则读取并显示所述装饰文件, 否则不读取和显示所述装饰文件。  a display unit, configured to: when the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display The decoration file is described, otherwise the decoration file is not read and displayed.
优选地, 所述 GUI元素包括: 菜单、 按钮、 窗体、 图片和文字框。 优选地, 所述第一当前显示场景和第二当前显示场景包括: 父窗口所 在界面、 当前的坐标位置和所述 GUI元素响应的操作。  Preferably, the GUI elements include: menus, buttons, forms, pictures, and text boxes. Preferably, the first current display scene and the second current display scene include: an interface of the parent window, a current coordinate position, and an operation of the GUI element response.
优选地, 所述装饰文件包括: 具有多媒体数据或 /和文字信息的文件。 优选地, 所述终端还包括保存单元, 用于当所述装饰文件包括多媒体 数据时, 则记录所述多媒体数据所存储的路径, 并保存装饰文件添加的坐 标位置。  Preferably, the decoration file comprises: a file having multimedia data or/and text information. Preferably, the terminal further includes a saving unit, configured to record a path stored by the multimedia data when the decoration file includes multimedia data, and save a coordinate position added by the decoration file.
所述接受单元, 还用于当所述装饰文件包括文字信息时, 在终端启动 装饰模式时, 弹出供用户输入文字信息的文本框。 The accepting unit is further configured to start at the terminal when the decoration file includes text information In the decoration mode, a text box for the user to input text information pops up.
实施本发明的技术方案, 具有以下有益效果: 本发明提供的屏幕显示 方法及终端, 采用装饰文件关联到对应的 GUI元素上且保存对应场景, 并 通过 GUI元素和场景再现装饰文件, 在终端上实现了在任意界面、 任意位 置添加文字或多媒体数据的功能, 提高了用户体验度。 附图说明  The technical solution of the present invention has the following beneficial effects: The screen display method and terminal provided by the present invention associate a decorative file with a corresponding GUI element and save a corresponding scene, and reproduce the decorative file through the GUI element and the scene, on the terminal. It realizes the function of adding text or multimedia data in any interface and anywhere, which improves user experience. DRAWINGS
图 1为本发明实施例提供的方法流程图;  FIG. 1 is a flowchart of a method according to an embodiment of the present invention;
图 2为本发明实施例提供的终端的结构示意图;  2 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图 3为本发明实施例提供的终端的另一结构示意图;  3 is another schematic structural diagram of a terminal according to an embodiment of the present invention;
图 4为本发明实施例提供的用户添加装饰文件的流程图;  4 is a flowchart of adding a decoration file by a user according to an embodiment of the present invention;
图 5为本发明实施例提供的用户显示该装饰文件的流程图;  FIG. 5 is a flowchart of displaying, by a user, the decoration file according to an embodiment of the present invention;
图 6为本发明实施例提供的一个应用例的显示状态图。  FIG. 6 is a diagram showing a display state of an application example according to an embodiment of the present invention.
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一 步说明。 具体实施方式  The implementation, functional features and advantages of the objects of the present invention will be further described in conjunction with the embodiments herein. detailed description
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图 及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体 实施例仅仅用以解释本发明, 并不用于限定本发明。 本发明中, 终端包括 手机、 PDA或播放器等具有图形用户界面 GUI技术的电子设备, 以下将以 手机为例, 详细说明本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the present invention, the terminal includes an electronic device having a GUI function of a graphical user interface such as a mobile phone, a PDA or a player. Hereinafter, the present invention will be described in detail by taking a mobile phone as an example.
本发明实施例提供一种屏幕显示方法, 如图 1 所示, 该方法包括以下 几个步驟:  The embodiment of the invention provides a screen display method. As shown in FIG. 1, the method includes the following steps:
步驟 S110、 终端接受用户添加的装饰文件;  Step S110: The terminal accepts a decoration file added by the user.
本实施例中, 所述装饰文件包括: 具有多媒体数据或 /和文字信息的文 件。 In this embodiment, the decoration file includes: a text with multimedia data or/and text information. Pieces.
步驟 S120、 将所述装饰文件关联到图形用户界面 GUI元素, 并保存所 述 GUI元素所在的第一当前显示场景; 所述 GUI元素包括: 菜单、 按钮、 窗体、 图片和文字框等。  Step S120: Associate the decoration file to a GUI element of a graphical user interface, and save a first current display scene where the GUI element is located; the GUI element includes: a menu, a button, a form, a picture, a text box, and the like.
步驟 S130、 当所述 GUI元素再次被显示时,判断所述 GUI元素再次被 显示时的第二当前显示场景与所述第一当前显示场景是否一致, 如果是, 则读取并显示所述装饰文件, 否则不读取和显示所述装饰文件。  Step S130: When the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display the decoration File, otherwise the decoration file is not read and displayed.
上述实施例中, 优选地, 所述第一当前显示场景和第二当前显示场景 包括: 父窗口所在界面, 当前的坐标位置和所述 GUI元素响应的操作。  In the above embodiment, preferably, the first current display scene and the second current display scene include: an interface where the parent window is located, a current coordinate position, and an operation of the GUI element response.
在上述实施例中, 更为具体的, 当所述装饰文件包括多媒体数据(如 音频、 视频、 图像等) 时, 则接受用户添加的装饰文件之后, 进一步包括: 记录该多媒体数据所存储的路径;  In the above embodiment, more specifically, when the decoration file includes multimedia data (such as audio, video, image, etc.), after accepting the decoration file added by the user, the method further includes: recording the path stored by the multimedia data. ;
当所述装饰文件包括文字信息时, 所述接受用户添加的装饰文件, 具 体包括: 在终端启动所述装饰模式时, 弹出供用户输入文字信息的文本框。  When the decoration file includes the text information, the accepting the decoration file added by the user specifically includes: when the terminal starts the decoration mode, popping up a text box for the user to input the text information.
上述实施例中, 显示场景包括了一系列的匹配条件, 且每种 GUI元素 有不同的匹配条件, 例如: 按钮为 GUI元素, 它包含了多个属性。 如果按 钮作为手机的待机界面左软键时, 用户在上面添加了一个装饰文件, 系统 在相关 GUI元素(按钮)被用户添加装饰文件的时候调用这个 GUI元素(按 钮)类基类的一个方法, 在这个方法中, 将装饰文件所在的路径记录下来, 并保存装饰文件添加的坐标位置; 根据所述装饰文件生成场景数据与这个 GUI元素相关联。 在下次这个按钮被显示的时候, 列举该对象关联的装饰 文件, 并将当前场景 (第二当前显示场景) 与记录中的场景 (第一当前显 示场景)进行比较, 如果匹配就在按钮上显示装饰文件, 否则不予显示, 实现了在终端上的任意界面、 任意位置添加文字信息或多媒体数据的功能, 提高了用户体验度。 其中: 一个显示场景匹配条件与一个显示场景的标识 相关联, 而显示场景的标识又与多媒体数据或者文字信息组成一条装饰记 录, 装饰记录保存在装饰文件中, 一个 GUI元素对应一个或多个装饰记录, 终端的系统可以在启动时加载装饰文件或是由用户通过软件菜单加载装饰 文件, 当装饰文件被加载时里面的装饰记录会被添加到系统的装饰记录数 据库中, 这样用户可以自己制作或下载特定的装饰文件, 以达到修改系统 GUI元素界面风格的功能。 In the above embodiment, the display scene includes a series of matching conditions, and each GUI element has different matching conditions, for example: the button is a GUI element, and it contains multiple attributes. If the button is used as the left soft key of the standby interface of the mobile phone, the user adds a decoration file on the top, and the system calls a method of the base class of the GUI element (button) when the related GUI element (button) is added by the user to the decoration file. In this method, the path where the decoration file is located is recorded, and the coordinate position added by the decoration file is saved; the scene data generated according to the decoration file is associated with this GUI element. The next time this button is displayed, the decoration file associated with the object is enumerated, and the current scene (the second current display scene) is compared with the scene in the record (the first current display scene), and if it matches, it is displayed on the button. The decoration file is not displayed, and the function of adding text information or multimedia data to any interface on the terminal and any position is realized, thereby improving the user experience. Where: a display scene matching condition and an indication of the displayed scene Corresponding, and the identifier of the display scene is combined with multimedia data or text information to form a decorative record, the decoration record is saved in the decoration file, a GUI element corresponds to one or more decoration records, and the terminal system can load the decoration file at startup or The decoration file is loaded by the user through the software menu. When the decoration file is loaded, the decoration record inside is added to the system's decoration record database, so that the user can create or download a specific decoration file to modify the system GUI element interface. Style features.
本发明实施例还提供一种终端, 如图 2所示, 包括:  The embodiment of the present invention further provides a terminal, as shown in FIG. 2, including:
接受单元 210, 用于接受用户添加的装饰文件, 所述装饰文件包括: 具 有多媒体数据或 /和文字信息的文件。  The accepting unit 210 is configured to accept a decoration file added by the user, and the decoration file includes: a file having multimedia data or/and text information.
关联单元 220, 用于将所述装饰文件关联到图形用户界面 GUI元素, 并保存所述 GUI元素所在的第一当前显示场景;其中,所述 GUI元素包括: 菜单、 按钮、 窗体、 图片和文字框。  The association unit 220 is configured to associate the decoration file to the graphical user interface GUI element, and save the first current display scene where the GUI element is located; wherein the GUI element comprises: a menu, a button, a form, a picture, and text box.
显示单元 230, 用于当所述 GUI元素再次被显示时, 判断所述 GUI元 素再次被显示时的第二当前显示场景与所述第一当前显示场景是否一致, 如果是, 则读取并显示所述装饰文件, 否则不读取和显示所述装饰文件。 其中, 所述第一当前显示场景和第二当前显示场景包括: 父窗口所在界面, 当前的坐标位置和所述 GUI元素响应的操作。  The display unit 230 is configured to: when the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display The decorative file, otherwise the decorative file is not read and displayed. The first current display scene and the second current display scene include: an interface where the parent window is located, a current coordinate position, and an operation of the GUI element response.
进一步的实施例中, 所述终端还包括如图 3所示的保存单元 240, 用于 当所述装饰文件包括多媒体数据时, 则记录该多媒体数据所存储的路径, 并保存装饰文件添加的坐标位置;  In a further embodiment, the terminal further includes a saving unit 240, as shown in FIG. 3, configured to record a path stored by the multimedia data when the decoration file includes multimedia data, and save the coordinates added by the decoration file. Location
所述接受单元 210, 还用于: 当所述装饰文件包括文字信息时, 在终端 启动所述装饰模式时, 弹出供用户输入文字信息的文本框。  The accepting unit 210 is further configured to: when the decoration file includes the text information, when the terminal starts the decoration mode, pop up a text box for the user to input the text information.
下面提供一种上述方法和终端的更为具体的应用例, 该应用例包括用 户添加装饰文件的过程和用户显示该装饰文件的过程, 其中: 如图 4所示, 用户添加装饰文件的过程包括以下几个步驟: 步驟 S301: 用户在某一界面启动装饰模式, 添加多媒体数据(也可以 为文字信息), 终端根据装饰文件下可以支持的文件尺寸和大小对多媒体数 据进行压缩和尺寸调整, 或者对文字字体或大小进行设置, 形成装饰文件。 A more specific application example of the foregoing method and terminal is provided. The application example includes a process of adding a decoration file by a user and a process of displaying the decoration file by a user, where: as shown in FIG. 4, the process of adding a decoration file by the user includes The following steps: Step S301: The user starts the decoration mode on a certain interface, adds multimedia data (may also be text information), and the terminal compresses and resizes the multimedia data according to the file size and size that can be supported under the decoration file, or the font font or size. Make settings to form a decorative file.
步驟 S302: 用户预览该准备添加的装饰文件, 手动配置装饰文件的尺 寸、 大小、 位置和播放时间等。 位置也可以设置为任意, 用户可以任意拉 动装饰文件以调整其位置。  Step S302: The user previews the decoration file to be added, and manually configures the size, size, position, and play time of the decoration file. The position can also be set to any, and the user can pull the decoration file to adjust its position.
步驟 S303:终端的 GUI层调用 GUI元素类基类的用于用户的装饰函数 ( On User Decorate ( ) ), i己录添力口装饰文件的坐标位置( ¾口 x, y ), ^寻坐标 位置与对应的 GUI元素和装饰文件相关联。 所述坐标位置可以是装饰文件 的左上角坐标, 也可以是装饰文件的中心位置。  Step S303: The GUI layer of the terminal invokes a decoration function (On User Decorate ( )) for the user of the GUI element class base class, and the coordinate position of the decoration file (3⁄4 port x, y) is recorded. The location is associated with the corresponding GUI element and decoration file. The coordinate position may be the upper left corner coordinate of the decoration file or the center position of the decoration file.
步驟 S304: 当该 GUI元素的装饰文件处理结束后,该 GUI元素自动生 成多媒体数据和该多媒体数据对应的显示场景信息 (如显示场景的标识)。  Step S304: After the decoration file processing of the GUI element ends, the GUI element automatically generates multimedia data and display scene information corresponding to the multimedia data (such as an identifier of the displayed scene).
步驟 S305: 将多媒体数据和显示场景信息分别添加到图象数据库和场 景数据库中。  Step S305: Add the multimedia data and the display scene information to the image database and the scene database, respectively.
用户显示该装饰文件的过程包括如图 5所示的步驟:  The process of displaying the decoration file by the user includes the steps shown in FIG. 5:
步驟 S306: 终端的系统调用 GUI元素。  Step S306: The system of the terminal invokes a GUI element.
步驟 S307: 终端的系统的 GUI层判断当前 GUI元素是否有装饰记录, 若有, 则调用步驟 S308; 否则, 执行步驟 312。  Step S307: The GUI layer of the system of the terminal determines whether the current GUI element has a decoration record. If yes, step S308 is invoked; otherwise, step 312 is performed.
步驟 S308: 列举该 GUI元素下关联的装饰记录数据; 列举时通过 GUI 标识作为索引 ,在 GUI元素装饰记录数据库中查询对应的装饰记录并列举。  Step S308: enumerate the decoration record data associated with the GUI element; when enumerating, use the GUI identifier as an index, and query the corresponding decoration record in the GUI element decoration record database and enumerate.
步驟 S309: 判断具有装饰记录的显示场景的标识是否与当前显示场景 的标识匹配, 如果是, 转入步驟 S310; 否则转入步驟 S312。  Step S309: It is judged whether the identifier of the display scene with the decoration record matches the identifier of the currently displayed scene, and if yes, the process goes to step S310; otherwise, the process goes to step S312.
步驟 S310: 从图像数据库中取出该 GUI元素对应的多媒体数据。  Step S310: Extract the multimedia data corresponding to the GUI element from the image database.
步驟 S311: 计算出合适的图象数据(比如矢量图形的生成) 画到 GUI 元素上。 不同的 GUI元素有不同的显示场景判断条件, 比如前面说的按钮 元素的显示场景判断条件, 如果换成桌面时钟类, 那么判断条件可能又不 一样, 比如桌面时钟可能有数字形式的或是圆形表盘形式的, 那么用户在 表盘钟上添加了装饰文件的时候, 在时钟显示成数字形式的时候就不会被 显示出来。 Step S311: Calculate appropriate image data (such as generation of vector graphics) and draw on the GUI element. Different GUI elements have different display scene judgment conditions, such as the button mentioned above. The display condition of the element display condition, if it is replaced by the desktop clock class, the judgment condition may be different. For example, the desktop clock may have a digital form or a circular dial form, then the user adds a decorative file to the dial clock. , will not be displayed when the clock is displayed in digital form.
步驟 S312: 显示带有装饰或不带装饰的界面。  Step S312: Display an interface with or without decoration.
如图 6所示: 背景为待机界面的显示情况, 用户在待机界添加了兔子 的卡通图片, 以及添加了文字 "用心做好每一件事情" 的界面, 起到了娱 乐的作用。 文字大小和字体可以由用户设定。  As shown in Figure 6: The background is the display of the standby interface. The user adds a cartoon picture of the rabbit in the standby area, and adds the interface of “doing everything well”, which plays an entertainment role. The text size and font can be set by the user.
此外,还可以在原有 GUI层的 GUI元素基础上增加装饰功能扩展示意 图, 包括:  In addition, it is also possible to add a decorative function expansion diagram based on the GUI elements of the original GUI layer, including:
在终端的系统原有 GUI层的 GUI元素进行绘画操作之后进行扩展, 比 如在画菜单、 画按钮、 画窗体、 画图片等操作之后, 增加装饰功能的操作。 此外, 用户可以通过软件开关选择装饰显示与否, 只有当软件开关打开时, 才显示装饰文件。  The GUI element of the original GUI layer of the terminal is expanded after the drawing operation, for example, after the operation of drawing a menu, drawing a button, drawing a picture, or drawing a picture, the operation of the decorative function is added. In addition, the user can select whether the decoration is displayed or not through the software switch, and the decoration file is displayed only when the software switch is turned on.
对原有 GUI层的 GUI元素类进行扩展, 在每种支持装饰功能元素的基 础上增加了可以查找相关装饰记录的数据链接。 装饰记录可以由场景标识 和多媒体数据构成, 每个场景标识对应一种场景。 以上述待机界面左软键 这个 GUI元素为例,如果用户在待机界面的左软键上添加了一个装饰文件, 那么这个左软键是按钮类型的 GUI元素, 它匹配的显示场景用于判断这个 按钮是否是待机左软键, 其判断条件包括: 父窗口是否是待机界面, 按钮 位置是否在屏幕左下角 (左软键位置), 按钮按下后的响应函数是不是系统 的左软键处理程序等。  The GUI element class of the original GUI layer is extended, and a data link for finding related decoration records is added to each of the decorative decorative function elements. The decoration record may be composed of a scene identifier and multimedia data, and each scene identifier corresponds to a scene. Taking the GUI element of the left soft key of the standby interface as an example, if the user adds a decoration file to the left soft key of the standby interface, the left soft key is a button type GUI element, and the matching display scene is used to judge this. Whether the button is the standby left soft key, the judgment conditions include: Whether the parent window is the standby interface, whether the button position is in the lower left corner of the screen (left soft key position), and the response function after the button is pressed is the left soft key handler of the system. Wait.
以上仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本 发明的保护范围之内。  The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention should be included in the scope of the present invention. Inside.

Claims

权利要求书 Claim
1、 一种屏幕显示方法, 其特征在于, 该方法包括:  A screen display method, characterized in that the method comprises:
终端接受用户添加的装饰文件;  The terminal accepts the decoration file added by the user;
将所述装饰文件关联到图形用户界面 GUI元素, 并保存所述 GUI元素 所在的第一当前显示场景;  Associating the decoration file to a graphical user interface GUI element and saving a first current display scene in which the GUI element is located;
当所述 GUI元素再次被显示时, 判断所述 GUI元素再次被显示时的第 二当前显示场景与所述第一当前显示场景是否一致, 如果是, 则读取并显 示所述装饰文件, 否则不读取和显示所述装饰文件。  When the GUI element is displayed again, determining whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if so, reading and displaying the decoration file, otherwise The decorative file is not read and displayed.
2、如权利要求 1所述屏幕显示方法,其特征在于,所述 GUI元素包括: 菜单、 按钮、 窗体、 图片和文字框。  2. The screen display method according to claim 1, wherein the GUI elements comprise: a menu, a button, a form, a picture, and a text box.
3、 如权利要求 2所述屏幕显示方法, 其特征在于, 所述第一当前显示 场景和第二当前显示场景包括: 父窗口所在界面、 当前的坐标位置和所述 GUI元素响应的操作。  The screen display method according to claim 2, wherein the first current display scene and the second current display scene comprise: an interface where the parent window is located, a current coordinate position, and an operation of the GUI element response.
4、如权利要求 3所述屏幕显示方法,其特征在于, 所述装饰文件包括: 具有多媒体数据或 /和文字信息的文件。  The screen display method according to claim 3, wherein the decoration file comprises: a file having multimedia data or/and text information.
5、 如权利要求 4所述屏幕显示方法, 其特征在于, 所述装饰文件包括 多媒体数据时, 在接受用户添加的装饰文件之后, 该方法进一步包括: 记 录所述多媒体数据所存储的路径, 保存装饰文件添加的坐标位置;  The screen display method according to claim 4, wherein, when the decoration file comprises multimedia data, after accepting the decoration file added by the user, the method further comprises: recording a path stored by the multimedia data, saving The coordinate position added by the decoration file;
所述装饰文件包括文字信息时, 所述接受用户添加的装饰文件为: 在 终端启动装饰模式时, 弹出供用户输入文字信息的文本框。  When the decoration file includes text information, the decoration file added by the user is: when the terminal starts the decoration mode, a text box for the user to input text information is popped up.
6、 一种终端, 其特征在于, 该终端包括: 接受单元、 关联单元、 显示 单元; 其中,  A terminal, comprising: an accepting unit, an associating unit, and a display unit; wherein
接受单元, 用于接受用户添加的装饰文件;  An accepting unit for accepting a decoration file added by a user;
关联单元, 用于将所述装饰文件关联到图形用户界面 GUI元素, 并保 存所述 GUI元素所在的第一当前显示场景; 显示单元, 用于当所述 GUI元素再次被显示时, 判断所述 GUI元素再 次被显示时的第二当前显示场景与所述第一当前显示场景是否一致, 如果 是, 则读取并显示所述装饰文件, 否则不读取和显示所述装饰文件。 An association unit, configured to associate the decoration file to a graphical user interface GUI element, and save a first current display scene where the GUI element is located; a display unit, configured to: when the GUI element is displayed again, determine whether the second current display scene when the GUI element is displayed again is consistent with the first current display scene, and if yes, read and display The decoration file is described, otherwise the decoration file is not read and displayed.
7、 如权利要求 6所述终端, 其特征在于, 所述 GUI元素包括: 菜单、 按钮、 窗体、 图片和文字框。  7. The terminal according to claim 6, wherein the GUI element comprises: a menu, a button, a form, a picture, and a text box.
8、 如权利要求 7所述终端, 其特征在于, 所述第一当前显示场景和第 二当前显示场景包括: 父窗口所在界面、 当前的坐标位置和所述 GUI元素 响应的操作。  8. The terminal according to claim 7, wherein the first current display scene and the second current display scene comprise: an interface where the parent window is located, a current coordinate position, and an operation of the GUI element response.
9、 如权利要求 8所述终端, 其特征在于, 所述装饰文件包括: 具有多 媒体数据或 /和文字信息的文件。  9. The terminal according to claim 8, wherein the decoration file comprises: a file having multimedia data or/and text information.
10、 如权利要求 9所述终端, 其特征在于, 该终端还包括保存单元, 用于当所述装饰文件包括多媒体数据时, 记录所述多媒体数据所存储的路 径, 并保存装饰文件添加的坐标位置;  The terminal according to claim 9, wherein the terminal further comprises a saving unit, configured to record a path stored by the multimedia data when the decoration file includes multimedia data, and save coordinates added by the decoration file Location
所述接受单元, 还用于当所述装饰文件包括文字信息时, 在终端启动 装饰模式时, 弹出供用户输入文字信息的文本框。  The accepting unit is further configured to: when the decorative file includes text information, pop up a text box for the user to input text information when the terminal starts the decoration mode.
PCT/CN2011/078723 2011-05-25 2011-08-22 Method and terminal for screen display WO2012159382A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101371607A CN102207865A (en) 2011-05-25 2011-05-25 Screen display method and terminal
CN201110137160.7 2011-05-25

Publications (1)

Publication Number Publication Date
WO2012159382A1 true WO2012159382A1 (en) 2012-11-29

Family

ID=44696713

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078723 WO2012159382A1 (en) 2011-05-25 2011-08-22 Method and terminal for screen display

Country Status (2)

Country Link
CN (1) CN102207865A (en)
WO (1) WO2012159382A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5119474A (en) * 1989-06-16 1992-06-02 International Business Machines Corp. Computer-based, audio/visual creation and presentation system and method
CN101916245A (en) * 2010-08-30 2010-12-15 中国电信股份有限公司 Method and device for realizing e-book annotation on electronic reader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5119474A (en) * 1989-06-16 1992-06-02 International Business Machines Corp. Computer-based, audio/visual creation and presentation system and method
CN101916245A (en) * 2010-08-30 2010-12-15 中国电信股份有限公司 Method and device for realizing e-book annotation on electronic reader

Also Published As

Publication number Publication date
CN102207865A (en) 2011-10-05

Similar Documents

Publication Publication Date Title
TWI592021B (en) Method, device, and terminal for generating video
US10915225B2 (en) User terminal apparatus and method of controlling the same
US10904482B2 (en) Method and apparatus for generating video file, and storage medium
US10956008B2 (en) Automatic home screen determination based on display device
TWI459282B (en) Method and system and computer readable product for providing a user interface for accessing multimedia items
US10558698B2 (en) Lyric page generation method and lyric page generation apparatus
TWI475470B (en) Electronic device and operation method of application programs
US20060224962A1 (en) Context menu navigational method for accessing contextual and product-wide choices via remote control
KR102037465B1 (en) User terminal device and method for displaying thereof
US20160110010A1 (en) Display apparatus and controlling method thereof
WO2018157812A1 (en) Method and apparatus for implementing video branch selection and playback
WO2018120169A1 (en) Method for automatically setting wallpaper, terminal device and graphical user interface
JP6066602B2 (en) Processing equipment
KR20100132705A (en) Method for providing contents list and multimedia apparatus applying the same
TWI646835B (en) Television program playing method and related terminal device
CN111464430B (en) Dynamic expression display method, dynamic expression creation method and device
AU2014287980A1 (en) Portable device for providing combined UI component and method of controlling the same
JP2015517777A (en) Multiple video playback method and apparatus
KR20140081220A (en) user terminal apparatus and contol method thereof
US20120066595A1 (en) Multimedia apparatus and method for providing content
US9152315B2 (en) Method and apparatus for operating an electronic book function in a mobile device
WO2012159382A1 (en) Method and terminal for screen display
CN111381801B (en) Audio playing method based on double-screen terminal and communication terminal
CN117440073A (en) Display method, display device, electronic equipment and readable storage medium
KR20160044400A (en) Display apparatus and controlling method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11865980

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11865980

Country of ref document: EP

Kind code of ref document: A1