WO2012024969A1 - Device and method for managing applications of mobile terminal, interface windows and services - Google Patents

Device and method for managing applications of mobile terminal, interface windows and services Download PDF

Info

Publication number
WO2012024969A1
WO2012024969A1 PCT/CN2011/076031 CN2011076031W WO2012024969A1 WO 2012024969 A1 WO2012024969 A1 WO 2012024969A1 CN 2011076031 W CN2011076031 W CN 2011076031W WO 2012024969 A1 WO2012024969 A1 WO 2012024969A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
application
management module
interface
data
Prior art date
Application number
PCT/CN2011/076031
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 WO2012024969A1 publication Critical patent/WO2012024969A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop

Definitions

  • the present invention relates to the field of application development of mobile terminals, and more particularly to a mobile terminal application, interface window, and service management apparatus and method. Background technique
  • Mobile terminal applications include: local applications such as multimedia audio and video applications, telecommunication applications and file managers, prior art applications, windows and business data management modes, as shown in Figure 1, in application development of mobile terminals, applications There is a strong coupling relationship between interface window display, process control and business functions. It does not support window interface, individual modification and compilation of business functions, nor does it support visual interface design tools to automatically generate interface window display functions. Any support platform or upper layer The replacement of the Graphical User Interface (GUI) requires a lot of manpower and time to redesign related applications, which makes the application development method lack flexibility, and P strives for low code stability and application development efficiency. .
  • GUI Graphical User Interface
  • the main purpose of the present invention is to provide a mobile terminal application and an interface window. And business management devices and methods to improve application development flexibility and development efficiency, and increase the stability of application development.
  • the present invention provides a mobile terminal application, an interface window, and a service management device, including: an interface window module, a UI separation application development framework, and a service module;
  • the interface window module sends an event message to the UI separation application development framework, and displays the management result of the corresponding event on the window interface;
  • the UI separation application development framework is located between the interface window module and the business module, and is configured to obtain a corresponding processing entry according to the event message sent by the interface window module, and call the corresponding processing function to separately manage the application event, the window event, and the service data. ;
  • the service module is configured to provide corresponding business functions and business data to the UI separation application development framework through corresponding interfaces.
  • the UI separation application development framework includes: a configuration management module, an event management module, a data management module, and an application and window management module;
  • a configuration management module configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
  • An event management module configured to acquire a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
  • a data management module configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
  • An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
  • the service data related information configured in the configuration management module includes: The service data description information and the control data association information, where the service data description information includes information such as a service data type, a service data identifier, an interface function name, and the like; the control data association information includes a control ID of the interface window control and a service data identifier associated therewith;
  • the configured application related information includes: an application identifier, and a processing entry of the application;
  • the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
  • the interface between the service module and the UI separation application development framework includes: a data interface and a function interface.
  • the invention also provides a mobile terminal application, an interface window and a service management method, which comprise:
  • the corresponding processing entry is obtained, and the application event, the window event, and the service data are respectively managed by calling the corresponding processing function, and the management result of the corresponding event is displayed through the interface window.
  • the method before the obtaining the corresponding processing entry according to the event message sent by the interface window, the method further includes: configuring related information of the application, the window, and the service data, and saving the information.
  • the service data related information that is configured includes: service data description information and control data association information, where the service data description information includes information such as a service data type, a service data identifier, an interface function name, and the like; The control ID of the interface window control and the business data identifier associated with it;
  • the configured application related information includes: an application identifier, and a processing entry of the application;
  • the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
  • the application event, the window event, and the service data are respectively managed by calling the corresponding processing function, and the following is: obtaining the processing entry or window of the corresponding application in the configured application related information or the window related information according to the event message.
  • Processing entry depending on the application
  • the function manages the application event, or manages the window event according to the processing function of the window, and acquires the corresponding control interface and/or service data interface according to the configured business data related information, and manages the business data.
  • the invention also provides a UI separation application development framework, which is located between the interface window module and the service module, and is configured to obtain a corresponding processing entry according to an event message sent by the interface window module, and call a corresponding processing function to respectively apply an event, Window events and business data are managed.
  • a UI separation application development framework which is located between the interface window module and the service module, and is configured to obtain a corresponding processing entry according to an event message sent by the interface window module, and call a corresponding processing function to respectively apply an event, Window events and business data are managed.
  • the UI separation application development framework includes: a configuration management module, an event management module, a data management module, and an application and window management module;
  • a configuration management module configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
  • An event management module configured to obtain a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
  • a data management module configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
  • An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
  • the invention provides a mobile terminal application, an interface window and a service management device and method, and acquires a corresponding processing entry according to an event message sent by an interface window, and respectively applies an application processing function to an application event, a window event, and a service data. Manage and display the management results through the interface window.
  • the advantages are as follows: In the development process of the entire application, the interface developer does not need to care about the implementation and usage details of the business module, and only needs to implement the interface window data by calling the corresponding interface window control interface according to the business data information provided by the business module. Load or update; implement business functions based on the functional interfaces provided by the business module. Business function developer You don't need to care about the specific implementation details of the interface window control. You only need to provide business data and corresponding interfaces. It realizes the separation and development between the interface window and the business, improves the flexibility and development efficiency of application development, and increases the application. Development stability and easy maintenance. DRAWINGS
  • FIG. 1 is a schematic diagram of a management mode of a mobile terminal application, an interface window, and a service in the prior art
  • FIG. 2 is a schematic diagram of a mobile terminal application, an interface window, and a service management apparatus according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an event management module according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a data management module according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a structure of a window management module according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of starting a file manager application of a mobile terminal according to Embodiment 1 of the present invention. detailed description
  • the basic idea of the present invention is: obtaining a corresponding processing entry according to an event message sent by the interface window, respectively managing application events, window events, and business data by calling a corresponding processing function, and displaying the management result through the interface window.
  • the present invention provides a mobile terminal application, an interface window, and a service management device.
  • the device includes: an interface window module, a UI separation application development framework, and a service module; wherein, the interface window module is configured to separate from the UI.
  • the application development framework sends an event message, and displays the management result of the corresponding event in the window interface;
  • the interface window module includes a plurality of interface window controls that implement specific functions;
  • the UI separation application development framework is located between the interface window module and the business module, and is configured to obtain a corresponding processing entry according to the event message sent by the interface window module, and call the corresponding processing function to separately manage the application event, the window event, and the service data. ;
  • a service module configured to provide a corresponding service to the UI separation application development framework through the corresponding interface Functional and business data.
  • the UI separation application development framework includes: a configuration management module, an event management module, a data management module, and an application and window management module; wherein
  • a configuration management module configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
  • An event management module configured to obtain a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
  • a data management module configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
  • An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
  • the service data related information configured by the configuration management module includes: service data description information and control data association information, where the service data description information includes information such as a service data type, a service data identifier, and an interface function name; and the control data association information includes an interface.
  • the configuration related information includes: an application identifier, and a processing entry of the application; and the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
  • the interface between the service module and the UI separation application development framework includes: a function interface and a service data interface; wherein the function interface is used to provide a business function to the UI separation application development framework, such as deleting or adding files and directories;
  • the data interface includes: a data query interface and a data change interface.
  • the UI separation application development framework invokes the data query interface to query the display data of the service module, or when the external event message causes the service data to change, the service module is connected through the data change.
  • the port reports the change of the data to the UI separation application development framework, and the UI separation application development framework calls the function interface to request to update the service data.
  • the event management module includes: a preprocessing module and an event distribution module, as shown in FIG. 3, wherein
  • a pre-processing module configured to encapsulate the event message into a unified format, and send the encapsulated event message to the event distribution module together with the application identifier or the window identifier;
  • An event distribution module configured to acquire a processing entry of the corresponding application from the configuration management module according to the application identifier in the event message, or obtain a processing entry of the corresponding window from the configuration management module according to the window identifier in the event message And distributing the event message encapsulated into a unified format to a corresponding application or window, and calling a corresponding processing function.
  • the data management module includes: a data interaction module and a service data management module. As shown in FIG. 4, a data management interface is provided between the data interaction module and the service data management module according to the service data type;
  • the data interaction module is configured to obtain the service data identifier associated with the control data in the control data association information in the configuration management module, notify the service data management module of the service data identifier, and invoke the corresponding control interface by using the control ID. Implementing data interaction between the data interaction module and the interface window module through the control interface;
  • the service data management module is configured to obtain information such as a service data type and an interface function by using the service data identifier in the service data description information in the configuration management module, invoke a service data interface of the corresponding service module, and implement service data management through the service data interface.
  • the data management module acquires a corresponding control interface and/or a service data interface, and manages the service data, including:
  • the data interaction module in the data management module calls the corresponding interface window control through the control ID
  • the control interface obtains the interface window data from the corresponding interface window control through the control interface, and sends the data to the business data management module in the data management module through the data management interface, and then obtains the service associated with it from the control data association information through the control ID.
  • the service data management module obtains the corresponding service data type and interface function name in the service data description information by using the service data identifier, and invokes the service data interface of the corresponding service module.
  • the service data interface saves the acquired interface window data to the corresponding service module; or
  • the service data management module obtains the service data from the corresponding service module through the service data interface, and sends the data to the data interaction module through the data management interface, and the data interaction module passes the control
  • the ID calls the control interface of the corresponding interface window control, and loads the acquired business data into the corresponding interface window control through the control interface;
  • the data interaction module updates the changed data through the data management interface provided by the service data management module, and obtains the control ID through the service data identifier maintained by the data interaction module itself and the associated content of the control ID, through the control
  • the ID calls the control interface and loads the updated data into the interface window control that needs to be refreshed.
  • the application and window management module includes: an application management module and a window management module, wherein
  • the application management module is configured to manage the application event according to the processing function of the application, and specifically includes: the application management module invokes the startup interface of the related support platform application according to the application ID, and obtains the acquired application basic attribute information and the application startup information to the support platform. Registration, completing the startup process of the application; for the running application, the application management module invokes the stop interface of the support platform application according to the application ID, and logs out to the support platform to complete the stop operation of the application; the application management module acquires the application through the application ID. The current state, and by maximizing the current state of the application stored by itself, the application is maximized or minimized.
  • a window management module configured to manage window events according to a processing function of the window; the window management module includes: a window control module, a window attribute control module, and a window sequence control module, as shown in FIG. 5;
  • a window attribute control module configured to obtain a single instance or a multi-instance attribute of the configured window from the corresponding configuration information, and provide the window control module and the window sequence control module through the attribute interface of the window attribute control module;
  • a window control module configured to obtain, by using a property interface of the window property control module, information about the configured window, and generate a window code to create, destroy, and switch the window;
  • a window sequence control module configured to generate an initial window stack according to a user operation, and reorder and organize the order of the windows in the initial window stack according to the instance attribute of the window; in the window destruction and switching process, the window stack may be referred to The window is sorted in order to destroy and switch the window.
  • the window sequence control module reorders and organizes the order of the windows in the initial window stack according to the instance attribute of the window, and specifically includes: when the window in the window stack is opened again by the user, moving the window to the window stack At the top level, if the window is a single instance property, the window opened first in the window stack is deleted; if the window is a multi-instance property, the window opened first in the window stack is retained.
  • the present invention further provides a mobile terminal application, an interface window, and a service management method.
  • a mobile terminal application an interface window
  • a service management method a service management method
  • Embodiment 1 The startup process of the mobile terminal file manager application, as shown in FIG. 6, includes the following steps:
  • Step 601 The user starts the file manager application by using a button, and the interface window module sends the button event message to the event management module;
  • the user presses the file manager application icon in the nine-square grid main menu of the window interface of the mobile terminal to start the file manager application.
  • the standby application interface window module After receiving the button event message of the file manager application, the standby application interface window module sends the button event message to the event management module of the UI separation application development framework.
  • Step 602 The event management module obtains a processing entry of the file manager application from the configured application related information according to the button event message, and invokes a corresponding processing function;
  • the event management module obtains a processing entry of the pre-configured file manager application from the configured application related information according to the application identifier in the event message, and invokes a corresponding processing function to trigger the application and the window management module.
  • Step 603 The application and window management module starts the file manager application and the corresponding service by using the processing function
  • Step 604 The application and window management module starts a main interface window of the file manager, and sends an initialization event message to the event management module.
  • the application and window management module obtains the main interface window layout of the file manager application through the configuration management module, starts the main interface window of the file manager, and adds the window to the file manager's window stack for management.
  • Step 605 The event management module triggers the data management module to perform interface window control filling by using the initialization event message.
  • the event management module triggers the data management module by using the initialization event message, and the data management module obtains the association information between the control ID and the service data identifier of the interface window control through the configuration management module according to the control ID in the initialization message, by calling the control
  • the interface populates the business data in the business module to the corresponding interface window control.
  • Step 606 The interface window module implements the interface display, and completes the startup process of the file manager.
  • Embodiment 2 The user stops the file manager application:
  • the application is divided into an interface window module, a UI separation application development framework, and a service module according to various functions implemented by the application, and the process of setting each module is the same as that in the first embodiment, and will not be described in detail herein.
  • Process 1) the user presses a button or clicks the file manager stop icon to stop the file manager application, and the user triggers the interface window module to send a file manager application stop event message to the event management module through a button operation;
  • the event management module After receiving the file manager application stop event message, the event management module locates the application stop processing function of the file manager;
  • the interface window sends a window destruction event message to the event management module; the event management module locates the message to the file manager's window destruction processing function; triggers the data through the window destruction processing function The management module releases the associated information of the maintained interface window control and the service data;
  • the interface developer does not need to care about the implementation and usage details of the business module. It only needs to update the data of the interface window by calling the corresponding interface window control interface according to the business data information provided by the business module.
  • Business function developers do not need to care about the specific implementation details of the interface window control, only need to provide business data and the corresponding interface.
  • the decoupling between the interface window module and the business module is separated by the UI application development framework, and the division of labor of the application developer is refined, the development efficiency and stability are improved, and the maintenance is easy.

Abstract

The present invention discloses a device and method for managing applications of mobile terminal, interface windows and services, and the method includes: acquiring the corresponding processing entry according to the event message sent by the interface window, managing application events, window events and service data respectively through calling the corresponding processing functions, and displaying managing result in the interface window. Applying said device and method in the present invention enables independent development of the interface windows and services in the whole application development process, thus improving the flexibility of application development and the efficiency of development, increasing the stability of application development, and can easily be maintained subsequently.

Description

一种移动终端应用、 界面窗口及业务的管理装置及方法 技术领域  Mobile terminal application, interface window and service management device and method thereof
本发明涉及移动终端的应用开发领域, 特别是一种移动终端应用、 界 面窗口及业务的管理装置及方法。 背景技术  The present invention relates to the field of application development of mobile terminals, and more particularly to a mobile terminal application, interface window, and service management apparatus and method. Background technique
随着移动终端, 尤其是手机等通讯终端的更新日益加速, 终端设备制 造商之间的竟争越发的激烈, 能否结合当前最新技术和需要, 快速推出性 能稳定的型号机, 直接关系到终端设备制造商的市场占有率。  With the accelerating update of mobile terminals, especially mobile phones and other communication terminals, the competition between terminal equipment manufacturers is becoming more and more fierce. Whether it can be combined with the latest technology and needs, the model machines with stable performance can be quickly introduced, which is directly related to the terminal. Market share of equipment manufacturers.
移动终端应用包括: 多媒体音视频应用、 电信应用和文件管理器等本 地应用, 现有技术中的应用、 窗口及业务数据管理模式, 如图 1 所示, 在 移动终端的应用开发中, 应用的界面窗口显示、 流程控制和业务功能之间 存在强烈的耦合关系, 既不支持窗口界面、 业务功能的单独修改和编制, 也不支持可视化界面设计工具自动生成界面窗口显示函数, 任何支撑平台 或上层图形用户界面(GUI, Graphical User Interface )的更换, 都需要投入 大量的人力和时间去重新设计相关的应用, 使得应用的开发方式缺乏灵活 性, P争低了代码的稳定性和应用开发的效率。 在嵌入式移动终端如手机的 应用开发领域, 由于市场需求变动大, 在界面窗口定制、 业务功能变更增 加或支撑平台发生变化的情况下, 往往都需要投入大量的人力和时间去重 新适配、 调试相关的应用, 增加了应用开发的工作量, 从而降低了函数的 稳定性和应用开发的效率, 使后续维护成本增加。 发明内容  Mobile terminal applications include: local applications such as multimedia audio and video applications, telecommunication applications and file managers, prior art applications, windows and business data management modes, as shown in Figure 1, in application development of mobile terminals, applications There is a strong coupling relationship between interface window display, process control and business functions. It does not support window interface, individual modification and compilation of business functions, nor does it support visual interface design tools to automatically generate interface window display functions. Any support platform or upper layer The replacement of the Graphical User Interface (GUI) requires a lot of manpower and time to redesign related applications, which makes the application development method lack flexibility, and P strives for low code stability and application development efficiency. . In the field of application development of embedded mobile terminals such as mobile phones, due to the large changes in market demand, in the case of interface window customization, business function changes or support platform changes, it is often necessary to invest a lot of manpower and time to re-adapt, Debugging related applications increases the workload of application development, thereby reducing the stability of functions and the efficiency of application development, and increasing subsequent maintenance costs. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种移动终端应用、 界面窗口 及业务的管理装置及方法, 以提高应用开发的灵活性和开发效率, 增加应 用开发的稳定性。 In view of this, the main purpose of the present invention is to provide a mobile terminal application and an interface window. And business management devices and methods to improve application development flexibility and development efficiency, and increase the stability of application development.
为解决上述技术问题, 本发明的技术方案是这样实现的:  In order to solve the above technical problem, the technical solution of the present invention is implemented as follows:
本发明提供了一种移动终端应用、 界面窗口及业务的管理装置, 包括: 界面窗口模块、 UI分离应用开发框架、 以及业务模块; 其中,  The present invention provides a mobile terminal application, an interface window, and a service management device, including: an interface window module, a UI separation application development framework, and a service module;
界面窗口模块, 向 UI分离应用开发框架发送事件消息, 并在窗口界面 显示相应事件的管理结果;  The interface window module sends an event message to the UI separation application development framework, and displays the management result of the corresponding event on the window interface;
UI分离应用开发框架, 介于界面窗口模块和业务模块之间, 用于根据 界面窗口模块发送的事件消息获取相应的处理入口 , 调用相应的处理函数 分別对应用事件、 窗口事件及业务数据进行管理;  The UI separation application development framework is located between the interface window module and the business module, and is configured to obtain a corresponding processing entry according to the event message sent by the interface window module, and call the corresponding processing function to separately manage the application event, the window event, and the service data. ;
业务模块, 用于通过相应接口向 UI分离应用开发框架提供相应的业务 功能和业务数据。  The service module is configured to provide corresponding business functions and business data to the UI separation application development framework through corresponding interfaces.
上述方案中, 所述 UI分离应用开发框架中包括: 配置管理模块、 事件 管理模块、 数据管理模块、 以及应用和窗口管理模块; 其中,  In the above solution, the UI separation application development framework includes: a configuration management module, an event management module, a data management module, and an application and window management module;
配置管理模块, 用于配置应用、 窗口、 及业务数据的相关信息并保存, 并向事件管理模块、 数据管理模块及应用和窗口管理模块提供相应的配置 信息;  a configuration management module, configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
事件管理模块, 用于根据事件消息在配置管理模块中获取相应的处理 入口 , 并调用相应的处理函数, 触发数据管理模块和 /或应用和窗口管理模 块;  An event management module, configured to acquire a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
数据管理模块, 用于根据配置管理模块配置的业务数据相关信息获取 相应的控件接口和 /或业务数据接口, 并对业务数据进行管理;  a data management module, configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
应用和窗口管理模块, 用于根据应用的处理函数对应用事件进行管理, 以及根据窗口的处理函数对窗口事件进行管理。  An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
上述方案中, 所述配置管理模块中配置的业务数据相关信息包括: 业 务数据描述信息及控件数据关联信息, 其中, 业务数据描述信息包括业务 数据类型、 业务数据标识、 接口函数名等信息; 控件数据关联信息包括界 面窗口控件的控件 ID和与其关联的业务数据标识; In the above solution, the service data related information configured in the configuration management module includes: The service data description information and the control data association information, where the service data description information includes information such as a service data type, a service data identifier, an interface function name, and the like; the control data association information includes a control ID of the interface window control and a service data identifier associated therewith;
所述配置的应用相关信息包括: 应用标识、 及应用的处理入口; 所述配置的窗口相关信息包括: 窗口标识、 窗口实例属性、 及窗口的 处理入口。  The configured application related information includes: an application identifier, and a processing entry of the application; the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
上述方案中, 所述业务模块与 UI分离应用开发框架之间的接口包括: 数据接口和功能接口。  In the above solution, the interface between the service module and the UI separation application development framework includes: a data interface and a function interface.
本发明还提供了一种移动终端应用、 界面窗口及业务的管理方法, 包 括:  The invention also provides a mobile terminal application, an interface window and a service management method, which comprise:
根据界面窗口发送的事件消息获取相应的处理入口, 通过调用相应的 处理函数分别对应用事件、 窗口事件及业务数据进行管理, 并通过界面窗 口显示相应事件的管理结杲。  According to the event message sent by the interface window, the corresponding processing entry is obtained, and the application event, the window event, and the service data are respectively managed by calling the corresponding processing function, and the management result of the corresponding event is displayed through the interface window.
上述方案中, 所述根据界面窗口发送的事件消息获取相应的处理入口 之前, 该方法还包括: 配置应用、 窗口、 及业务数据的相关信息并保存。  In the foregoing solution, before the obtaining the corresponding processing entry according to the event message sent by the interface window, the method further includes: configuring related information of the application, the window, and the service data, and saving the information.
上述方案中, 配置的所述业务数据相关信息包括: 业务数据描述信息 及控件数据关联信息, 其中, 业务数据描述信息包括业务数据类型、 业务 数据标识、 接口函数名等信息; 控件数据关联信息包括界面窗口控件的控 件 ID和与其关联的业务数据标识;  In the foregoing solution, the service data related information that is configured includes: service data description information and control data association information, where the service data description information includes information such as a service data type, a service data identifier, an interface function name, and the like; The control ID of the interface window control and the business data identifier associated with it;
所述配置的应用相关信息包括: 应用标识、 及应用的处理入口; 所述配置的窗口相关信息包括: 窗口标识、 窗口实例属性、 及窗口的 处理入口。  The configured application related information includes: an application identifier, and a processing entry of the application; the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
上述方案中, 所述通过调用相应的处理函数分別对应用事件、 窗口事 件及业务数据进行管理, 为: 根据事件消息在配置的应用相关信息或窗口 相关信息中获取相应的应用的处理入口或窗口的处理入口, 根据应用的处 理函数对应用事件进行管理, 或根据窗口的处理函数对窗口事件进行管理, 以及根据配置的业务数据相关信息获取相应的控件接口和 /或业务数据接 口, 并对业务数据进行管理。 In the above solution, the application event, the window event, and the service data are respectively managed by calling the corresponding processing function, and the following is: obtaining the processing entry or window of the corresponding application in the configured application related information or the window related information according to the event message. Processing entry, depending on the application The function manages the application event, or manages the window event according to the processing function of the window, and acquires the corresponding control interface and/or service data interface according to the configured business data related information, and manages the business data.
本发明还提供了一种 UI分离应用开发框架, 介于界面窗口模块和业务 模块之间, 用于根据界面窗口模块发送的事件消息获取相应的处理入口, 调用相应的处理函数分别对应用事件、 窗口事件及业务数据进行管理。  The invention also provides a UI separation application development framework, which is located between the interface window module and the service module, and is configured to obtain a corresponding processing entry according to an event message sent by the interface window module, and call a corresponding processing function to respectively apply an event, Window events and business data are managed.
上述方案中, 所述 UI分离应用开发框架中包括: 配置管理模块、 事件 管理模块、 数据管理模块、 以及应用和窗口管理模块; 其中,  In the above solution, the UI separation application development framework includes: a configuration management module, an event management module, a data management module, and an application and window management module;
配置管理模块, 用于配置应用、 窗口、 及业务数据的相关信息并保存, 并向事件管理模块、 数据管理模块及应用和窗口管理模块提供相应的配置 信息;  a configuration management module, configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
事件管理模块, 用于根据事件消息在配置管理模块中获取相应的处理 入口, 并调用相应的处理函数, 触发数据管理模块和 /或应用和窗口管理模 块;  An event management module, configured to obtain a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
数据管理模块, 用于根据配置管理模块配置的业务数据相关信息获取 相应的控件接口和 /或业务数据接口, 并对业务数据进行管理;  a data management module, configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
应用和窗口管理模块, 用于根据应用的处理函数对应用事件进行管理, 以及根据窗口的处理函数对窗口事件进行管理。  An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
本发明所提供的一种移动终端应用、 界面窗口及业务的管理装置及方 法, 根据界面窗口发送的事件消息获取相应的处理入口, 通过调用相应的 处理函数分别对应用事件、 窗口事件及业务数据进行管理, 并通过界面窗 口显示管理结果。 其优点在于: 在整个应用的开发过程中, 界面开发人员 不需要关心业务模块的实现和使用细节, 只需要根据业务模块提供的业务 数据信息, 通过调用相应的界面窗口控件接口实现界面窗口的数据加载或 更新; 根据业务模块提供的功能接口, 实现业务功能。 业务功能开发人员 也不需要关心界面窗口控件的具体实现细节, 只需要提供业务数据和相应 的接口即可, 实现了界面窗口与业务之间的分离开发, 提高了应用开发的 灵活性和开发效率, 增加了应用开发的稳定性, 且易于后续的维护。 附图说明 The invention provides a mobile terminal application, an interface window and a service management device and method, and acquires a corresponding processing entry according to an event message sent by an interface window, and respectively applies an application processing function to an application event, a window event, and a service data. Manage and display the management results through the interface window. The advantages are as follows: In the development process of the entire application, the interface developer does not need to care about the implementation and usage details of the business module, and only needs to implement the interface window data by calling the corresponding interface window control interface according to the business data information provided by the business module. Load or update; implement business functions based on the functional interfaces provided by the business module. Business function developer You don't need to care about the specific implementation details of the interface window control. You only need to provide business data and corresponding interfaces. It realizes the separation and development between the interface window and the business, improves the flexibility and development efficiency of application development, and increases the application. Development stability and easy maintenance. DRAWINGS
图 1为现有技术中移动终端应用、 界面窗口及业务的管理模式示意图; 图 2为本发明实施例中移动终端应用、 界面窗口及业务的管理装置示 意图;  1 is a schematic diagram of a management mode of a mobile terminal application, an interface window, and a service in the prior art; FIG. 2 is a schematic diagram of a mobile terminal application, an interface window, and a service management apparatus according to an embodiment of the present invention;
图 3为本发明实施例中事件管理模块的組成结构示意图;  3 is a schematic structural diagram of an event management module according to an embodiment of the present invention;
图 4为本发明实施例中数据管理模块的组成结构示意图;  4 is a schematic structural diagram of a data management module according to an embodiment of the present invention;
图 5为本发明实施例中窗口管理模块的組成结构示意图;  FIG. 5 is a schematic structural diagram of a structure of a window management module according to an embodiment of the present invention; FIG.
图 6为本发明实施例一中移动终端文件管理器应用的启动流程图。 具体实施方式  FIG. 6 is a flowchart of starting a file manager application of a mobile terminal according to Embodiment 1 of the present invention. detailed description
本发明的基本思想是: 根据界面窗口发送的事件消息获取相应的处理 入口, 通过调用相应的处理函数分别对应用事件、 窗口事件及业务数据进 行管理, 并通过界面窗口显示管理结果。  The basic idea of the present invention is: obtaining a corresponding processing entry according to an event message sent by the interface window, respectively managing application events, window events, and business data by calling a corresponding processing function, and displaying the management result through the interface window.
本发明提供了移动终端应用、 界面窗口及业务的管理装置, 如图 2所 示, 该装置包括: 界面窗口模块、 UI分离应用开发框架和业务模块; 其中, 界面窗口模块, 用于向 UI分离应用开发框架发送事件消息, 并在窗口 界面显示相应事件的管理结果; 界面窗口模块包括多个实现具体功能的界 面窗口控件;  The present invention provides a mobile terminal application, an interface window, and a service management device. As shown in FIG. 2, the device includes: an interface window module, a UI separation application development framework, and a service module; wherein, the interface window module is configured to separate from the UI. The application development framework sends an event message, and displays the management result of the corresponding event in the window interface; the interface window module includes a plurality of interface window controls that implement specific functions;
UI分离应用开发框架, 介于界面窗口模块和业务模块之间, 用于根据 界面窗口模块发送的事件消息获取相应的处理入口 , 调用相应的处理函数 分別对应用事件、 窗口事件及业务数据进行管理;  The UI separation application development framework is located between the interface window module and the business module, and is configured to obtain a corresponding processing entry according to the event message sent by the interface window module, and call the corresponding processing function to separately manage the application event, the window event, and the service data. ;
业务模块, 用于通过相应接口向 UI分离应用开发框架提供相应的业务 功能和业务数据。 a service module, configured to provide a corresponding service to the UI separation application development framework through the corresponding interface Functional and business data.
所述 UI分离应用开发框架包括: 配置管理模块、 事件管理模块、 数据 管理模块、 以及应用和窗口管理模块; 其中,  The UI separation application development framework includes: a configuration management module, an event management module, a data management module, and an application and window management module; wherein
配置管理模块, 用于配置应用、 窗口、 及业务数据的相关信息并保存, 并向事件管理模块、 数据管理模块及应用和窗口管理模块提供相应的配置 信息;  a configuration management module, configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
事件管理模块, 用于根据事件消息在配置管理模块中获取相应的处理 入口, 并调用相应的处理函数, 触发数据管理模块和 /或应用和窗口管理模 块;  An event management module, configured to obtain a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
数据管理模块, 用于根据配置管理模块配置的业务数据相关信息获取 相应的控件接口和 /或业务数据接口, 并对业务数据进行管理;  a data management module, configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
应用和窗口管理模块, 用于根据应用的处理函数对应用事件进行管理, 以及根据窗口的处理函数对窗口事件进行管理。  An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
所述配置管理模块配置的业务数据相关信息包括: 业务数据描述信息 及控件数据关联信息, 其中, 业务数据描述信息包括业务数据类型、 业务 数据标识、 接口函数名等信息; 控件数据关联信息包括界面窗口控件的控 件 ID和与其关联的业务数据标识;  The service data related information configured by the configuration management module includes: service data description information and control data association information, where the service data description information includes information such as a service data type, a service data identifier, and an interface function name; and the control data association information includes an interface. The control ID of the window control and the business data identifier associated with it;
所述配置的应用相关信息包括: 应用标识、 及应用的处理入口等信息; 所述配置的窗口相关信息包括: 窗口标识、 窗口实例属性、 及窗口的 处理入口等信息。  The configuration related information includes: an application identifier, and a processing entry of the application; and the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
所述业务模块与 UI分离应用开发框架之间的接口包括: 功能接口和业 务数据接口; 其中,功能接口,用于向 UI分离应用开发框架提供业务功能, 如删除或增加文件和目录等; 业务数据接口包括: 数据查询接口和数据变 动接口, UI分离应用开发框架调用数据查询接口向业务模块查询显示数据, 或者, 当外界的事件消息导致业务数据变化时, 业务模块通过数据变动接 口将数据变化的通知上报给 UI分离应用开发框架, 由 UI分离应用开发框 架调用功能接口请求更新业务数据。 The interface between the service module and the UI separation application development framework includes: a function interface and a service data interface; wherein the function interface is used to provide a business function to the UI separation application development framework, such as deleting or adding files and directories; The data interface includes: a data query interface and a data change interface. The UI separation application development framework invokes the data query interface to query the display data of the service module, or when the external event message causes the service data to change, the service module is connected through the data change. The port reports the change of the data to the UI separation application development framework, and the UI separation application development framework calls the function interface to request to update the service data.
所述事件管理模块包括: 预处理模块和事件分发模块, 如图 3 所示, 其中,  The event management module includes: a preprocessing module and an event distribution module, as shown in FIG. 3, wherein
预处理模块, 用于将事件消息封装成统一的格式, 并将所封装的事件 消息与应用标识或窗口标识一起发送给事件分发模块;  a pre-processing module, configured to encapsulate the event message into a unified format, and send the encapsulated event message to the event distribution module together with the application identifier or the window identifier;
事件分发模块, 用于根据所述事件消息中的应用标识从配置管理模块 中获取相应的应用的处理入口, 或根据所述事件消息中的窗口标识从配置 管理模块中获取相应的窗口的处理入口, 将所述封装成统一格式的事件消 息分发到相应的应用或窗口, 调用相应的处理函数。  An event distribution module, configured to acquire a processing entry of the corresponding application from the configuration management module according to the application identifier in the event message, or obtain a processing entry of the corresponding window from the configuration management module according to the window identifier in the event message And distributing the event message encapsulated into a unified format to a corresponding application or window, and calling a corresponding processing function.
所述数据管理模块包括: 数据交互模块和业务数据管理模块, 如图 4 所示, 在数据交互模块与业务数据管理模块之间根据业务数据类型设有相 应的数据管理接口; 其中,  The data management module includes: a data interaction module and a service data management module. As shown in FIG. 4, a data management interface is provided between the data interaction module and the service data management module according to the service data type;
数据交互模块, 用于在配置管理模块中的控件数据关联信息中, 通过 控件 ID获取到与其关联的业务数据标识, 并将业务数据标识通知业务数据 管理模块, 以及通过控件 ID调用对应的控件接口, 通过所述控件接口实现 数据交互模块与界面窗口模块之间数据的交互;  The data interaction module is configured to obtain the service data identifier associated with the control data in the control data association information in the configuration management module, notify the service data management module of the service data identifier, and invoke the corresponding control interface by using the control ID. Implementing data interaction between the data interaction module and the interface window module through the control interface;
业务数据管理模块, 用于在配置管理模块中的业务数据描述信息中通 过业务数据标识获取业务数据类型和接口函数等信息, 调用相应的业务模 块的业务数据接口, 通过业务数据接口实现业务数据管理模块与业务模块 之间数据的交互, 以及根据业务数据类型为数据交互模块提供相应的数据 管理接口。  The service data management module is configured to obtain information such as a service data type and an interface function by using the service data identifier in the service data description information in the configuration management module, invoke a service data interface of the corresponding service module, and implement service data management through the service data interface. The interaction of data between the module and the business module, and the corresponding data management interface for the data interaction module according to the service data type.
所述数据管理模块获取相应的控件接口和 /或业务数据接口, 并对业务 数据进行管理, 具体包括:  The data management module acquires a corresponding control interface and/or a service data interface, and manages the service data, including:
数据管理模块中的数据交互模块通过控件 ID调用相应界面窗口控件的 控件接口, 通过控件接口从相应界面窗口控件中获取界面窗口数据, 并通 过数据管理接口发送给数据管理模块中的业务数据管理模块, 再从控件数 据关联信息中通过控件 ID获取到与其关联的业务数据标识后通过数据管理 接口发送给业务数据管理模块, 业务数据管理模块通过业务数据标识在业 务数据描述信息中获取相应的业务数据类型、 接口函数名, 调用相应的业 务模块的业务数据接口, 通过业务数据接口将获取的界面窗口数据保存到 相应的业务模块; 或者, The data interaction module in the data management module calls the corresponding interface window control through the control ID The control interface obtains the interface window data from the corresponding interface window control through the control interface, and sends the data to the business data management module in the data management module through the data management interface, and then obtains the service associated with it from the control data association information through the control ID. After the data identifier is sent to the service data management module through the data management interface, the service data management module obtains the corresponding service data type and interface function name in the service data description information by using the service data identifier, and invokes the service data interface of the corresponding service module. The service data interface saves the acquired interface window data to the corresponding service module; or
当用户通过指定控件 ID触发对界面窗口控件的数据加载时, 业务数据 管理模块通过业务数据接口从相应的业务模块中获取业务数据, 并通过数 据管理接口发送给数据交互模块, 数据交互模块通过控件 ID调用相应界面 窗口控件的控件接口, 通过控件接口将获取的业务数据加载到相应界面窗 口控件; 或者,  When the user triggers data loading of the interface window control by specifying the control ID, the service data management module obtains the service data from the corresponding service module through the service data interface, and sends the data to the data interaction module through the data management interface, and the data interaction module passes the control The ID calls the control interface of the corresponding interface window control, and loads the acquired business data into the corresponding interface window control through the control interface; or
当业务数据发生变动时, 数据交互模块通过业务数据管理模块提供的 数据管理接口对发生变动的数据进行更新, 通过数据交互模块自身维护的 业务数据标识和控件 ID的关联内容获取控件 ID , 通过控件 ID调用控件接 口, 将更新后的数据加载到需要刷新的界面窗口控件中。  When the service data changes, the data interaction module updates the changed data through the data management interface provided by the service data management module, and obtains the control ID through the service data identifier maintained by the data interaction module itself and the associated content of the control ID, through the control The ID calls the control interface and loads the updated data into the interface window control that needs to be refreshed.
所述应用和窗口管理模块, 包括: 应用管理模块和窗口管理模块, 其 中,  The application and window management module includes: an application management module and a window management module, wherein
应用管理模块, 用于根据应用的处理函数对应用事件进行管理, 具体 包括: 应用管理模块根据应用 ID调用相关支撑平台应用的启动接口, 并将 获取的应用基本属性信息和应用启动信息向支撑平台注册, 完成应用的启 动过程; 对于正在运行的应用, 应用管理模块根据应用 ID调用支撑平台应 用的停止接口, 并向支撑平台注销, 完成应用的停止操作; 应用管理模块 通过应用 ID获取到应用的当前状态, 并通过改变自身存储的应用的当前状 态, 完成应用的最大化或最小化操作。 窗口管理模块, 用于根据窗口的处理函数对窗口事件进行管理; 窗口 管理模块包括: 窗口控制模块、 窗口属性控制模块、 窗口顺序控制模块, 如图 5所示; 其中, The application management module is configured to manage the application event according to the processing function of the application, and specifically includes: the application management module invokes the startup interface of the related support platform application according to the application ID, and obtains the acquired application basic attribute information and the application startup information to the support platform. Registration, completing the startup process of the application; for the running application, the application management module invokes the stop interface of the support platform application according to the application ID, and logs out to the support platform to complete the stop operation of the application; the application management module acquires the application through the application ID. The current state, and by maximizing the current state of the application stored by itself, the application is maximized or minimized. a window management module, configured to manage window events according to a processing function of the window; the window management module includes: a window control module, a window attribute control module, and a window sequence control module, as shown in FIG. 5;
窗口属性控制模块, 用于从相应配置信息中获取所配置的窗口的单实 例或多实例属性, 并通过窗口属性控制模块的属性接口提供给窗口控制模 块和窗口顺序控制模块;  a window attribute control module, configured to obtain a single instance or a multi-instance attribute of the configured window from the corresponding configuration information, and provide the window control module and the window sequence control module through the attribute interface of the window attribute control module;
窗口控制模块, 用于通过所述窗口属性控制模块的属性接口获取配置 的窗口相关信息, 并生成窗口代码, 进行窗口的创建、 销毁、 切换;  a window control module, configured to obtain, by using a property interface of the window property control module, information about the configured window, and generate a window code to create, destroy, and switch the window;
窗口顺序控制模块, 用于根据用户的操作生成初始窗口栈, 并根据所 述窗口的实例属性对初始窗口栈中窗口的顺序进行重新排序和组织; 在窗 口销毁、 切换过程中, 可以参照窗口栈中窗口排列顺序对窗口进行销毁和 切换。  a window sequence control module, configured to generate an initial window stack according to a user operation, and reorder and organize the order of the windows in the initial window stack according to the instance attribute of the window; in the window destruction and switching process, the window stack may be referred to The window is sorted in order to destroy and switch the window.
所述窗口顺序控制模块根据所述窗口的实例属性对初始窗口栈中窗口 的顺序进行重新排序和組织, 具体包括: 当窗口栈中的窗口被用户再次打 开时, 将该窗口移至窗口栈的最上层, 如果该窗口为单实例属性, 则将窗 口栈中最先打开的该窗口删除; 如果该窗口为多实例属性, 则保留窗口栈 中最先打开的该窗口。  The window sequence control module reorders and organizes the order of the windows in the initial window stack according to the instance attribute of the window, and specifically includes: when the window in the window stack is opened again by the user, moving the window to the window stack At the top level, if the window is a single instance property, the window opened first in the window stack is deleted; if the window is a multi-instance property, the window opened first in the window stack is retained.
基于上述装置, 本发明还提供了一种移动终端应用、 界面窗口及业务 的管理方法, 下面通过具体实施例对本发明的方案进行详细描述。  Based on the foregoing apparatus, the present invention further provides a mobile terminal application, an interface window, and a service management method. The following describes the solution of the present invention in detail through specific embodiments.
实施例一: 移动终端文件管理器应用的启动流程, 如图 6所示, 包括 以下步骤:  Embodiment 1: The startup process of the mobile terminal file manager application, as shown in FIG. 6, includes the following steps:
步骤 601: 用户通过按键启动文件管理器应用, 界面窗口模块将按键事 件消息发送给事件管理模块;  Step 601: The user starts the file manager application by using a button, and the interface window module sends the button event message to the event management module;
本步骤中, 用户在移动终端的窗口界面的九宫格主菜单中, 按键或点 击文件管理器应用图标, 欲启动文件管理器应用。 此时, 在移动终端内部, 待机应用界面窗口模块接收到启动文件管理器应用的按键事件消息后, 将 该按键事件消息发送给 UI分离应用开发框架的事件管理模块。 In this step, the user presses the file manager application icon in the nine-square grid main menu of the window interface of the mobile terminal to start the file manager application. At this time, inside the mobile terminal, After receiving the button event message of the file manager application, the standby application interface window module sends the button event message to the event management module of the UI separation application development framework.
步骤 602:事件管理模块根据按键事件消息从配置的应用相关信息中获 取文件管理器应用的处理入口, 并调用相应的处理函数;  Step 602: The event management module obtains a processing entry of the file manager application from the configured application related information according to the button event message, and invokes a corresponding processing function;
本步骤中, 事件管理模块根据事件消息中的应用标识从配置的应用相 关信息中获取预先配置的文件管理器应用的处理入口, 并调用相应的处理 函数, 触发应用和窗口管理模块。  In this step, the event management module obtains a processing entry of the pre-configured file manager application from the configured application related information according to the application identifier in the event message, and invokes a corresponding processing function to trigger the application and the window management module.
步驟 603:应用和窗口管理模块通过所述处理函数启动文件管理器应用 和对应的业务;  Step 603: The application and window management module starts the file manager application and the corresponding service by using the processing function;
步骤 604: 应用和窗口管理模块启动文件管理器的主界面窗口,发送初 始化事件消息给事件管理模块;  Step 604: The application and window management module starts a main interface window of the file manager, and sends an initialization event message to the event management module.
本步骤中, 应用和窗口管理模块通过配置管理模块获取文件管理器应 用的主界面窗口布局, 启动文件管理器的主界面窗口, 并将该窗口加入到 文件管理器的窗口栈中进行管理。  In this step, the application and window management module obtains the main interface window layout of the file manager application through the configuration management module, starts the main interface window of the file manager, and adds the window to the file manager's window stack for management.
步驟 605:事件管理模块通过该初始化事件消息触发数据管理模块进行 界面窗口控件填充;  Step 605: The event management module triggers the data management module to perform interface window control filling by using the initialization event message.
本步骤中, 事件管理模块通过该初始化事件消息触发数据管理模块, 由数据管理模块根据初始化消息中的控件 ID通过配置管理模块获取界面窗 口控件的控件 ID与业务数据标识的关联信息, 通过调用控件接口将业务模 块中的业务数据填充至相应的界面窗口控件。  In this step, the event management module triggers the data management module by using the initialization event message, and the data management module obtains the association information between the control ID and the service data identifier of the interface window control through the configuration management module according to the control ID in the initialization message, by calling the control The interface populates the business data in the business module to the corresponding interface window control.
步骤 606: 界面窗口模块实现界面显示, 完成文件管理器的启动流程。 实施例二: 用户停止文件管理器应用:  Step 606: The interface window module implements the interface display, and completes the startup process of the file manager. Embodiment 2: The user stops the file manager application:
本实施例中, 按照应用所实现的各部分功能将应用分成界面窗口模块、 UI分离应用开发框架和业务模块,并对各模块进行设置的过程同实施例一, 在此不做详细描述。 过程 1 )用户按键或点击文件管理器停止图标停止文件管理器应用, 用 户通过按键操作触发界面窗口模块向事件管理模块发送文件管理器应用停 止事件消息; In this embodiment, the application is divided into an interface window module, a UI separation application development framework, and a service module according to various functions implemented by the application, and the process of setting each module is the same as that in the first embodiment, and will not be described in detail herein. Process 1) the user presses a button or clicks the file manager stop icon to stop the file manager application, and the user triggers the interface window module to send a file manager application stop event message to the event management module through a button operation;
过程 2 )事件管理模块接收到文件管理器应用停止事件消息后, 定位至 文件管理器的应用停止处理函数;  Process 2) After receiving the file manager application stop event message, the event management module locates the application stop processing function of the file manager;
过程 3 )在应用停止处理函数中触发应用和窗口管理模块, 由应用和窗 口管理模块停止文件管理器应用和对应的业务; 应用和窗口管理模块根据 维护文件管理器的窗口栈自动销毁文件管理器所属的窗口;  Process 3) triggering the application and window management module in the application stop processing function, and stopping the file manager application and the corresponding service by the application and window management module; the application and window management module automatically destroying the file manager according to the window stack of the maintenance file manager Own window
过程 4 )文件管理器的主界面窗口销毁过程中, 界面窗口发送窗口销毁 事件消息给事件管理模块; 事件管理模块将该消息定位到文件管理器的窗 口销毁处理函数; 通过窗口销毁处理函数触发数据管理模块释放维护的界 面窗口控件与业务数据的关联信息;  Process 4) During the destruction of the main interface window of the file manager, the interface window sends a window destruction event message to the event management module; the event management module locates the message to the file manager's window destruction processing function; triggers the data through the window destruction processing function The management module releases the associated information of the maintained interface window control and the service data;
过程 5 )文件管理器主界面窗口关闭, 文件管理器应用和相应的业务停 止, 完成文件管理器的停止流程。  Process 5) The file manager main interface window is closed, the file manager application and the corresponding business are stopped, and the file manager stop process is completed.
在整个应用的开发过程中, 界面开发人员不需要关心业务模块的实现 和使用细节, 只需要根据业务模块提供的业务数据信息, 通过调用相应的 界面窗口控件接口实现界面窗口的数据加载或更新; 业务功能开发人员也 不需要关心界面窗口控件的具体实现细节, 只需要提供业务数据和相应的 接口即可。  During the development of the entire application, the interface developer does not need to care about the implementation and usage details of the business module. It only needs to update the data of the interface window by calling the corresponding interface window control interface according to the business data information provided by the business module. Business function developers do not need to care about the specific implementation details of the interface window control, only need to provide business data and the corresponding interface.
如此,通过 UI分离应用开发框架对界面窗口模块和业务模块间的解耦, 细化了应用开发人员的分工, 提高了开发效率和稳定性, 且易于维护。  In this way, the decoupling between the interface window module and the business module is separated by the UI application development framework, and the division of labor of the application developer is refined, the development efficiency and stability are improved, and the maintenance is easy.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种移动终端应用、 界面窗口及业务的管理装置, 其特征在于, 包 括: 界面窗口模块、 UI分离应用开发框架、 以及业务模块; 其中,  A mobile terminal application, an interface window, and a service management device, comprising: an interface window module, a UI separation application development framework, and a service module; wherein
界面窗口模块, 向 UI分离应用开发框架发送事件消息, 并在窗口界面 显示相应事件的管理结果;  The interface window module sends an event message to the UI separation application development framework, and displays the management result of the corresponding event on the window interface;
UI分离应用开发框架, 介于界面窗口模块和业务模块之间, 用于根据 界面窗口模块发送的事件消息获取相应的处理入口, 调用相应的处理函数 分別对应用事件、 窗口事件及业务数据进行管理;  The UI separation application development framework is located between the interface window module and the business module, and is configured to obtain a corresponding processing entry according to the event message sent by the interface window module, and call the corresponding processing function to separately manage the application event, the window event, and the service data. ;
业务模块, 用于通过相应接口向 UI分离应用开发框架提供相应的业务 功能和业务数据。  The service module is configured to provide corresponding business functions and business data to the UI separation application development framework through corresponding interfaces.
2、 根据权利要求 1所述的装置, 其特征在于, 所述 UI分离应用开发 框架中包括: 配置管理模块、 事件管理模块、 数据管理模块、 以及应用和 窗口管理模块; 其中,  2. The device according to claim 1, wherein the UI separation application development framework comprises: a configuration management module, an event management module, a data management module, and an application and window management module;
配置管理模块, 用于配置应用、 窗口、 及业务数据的相关信息并保存, 并向事件管理模块、 数据管理模块及应用和窗口管理模块提供相应的配置 信息;  a configuration management module, configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
事件管理模块, 用于根据事件消息在配置管理模块中获取相应的处理 入口, 并调用相应的处理函数, 触发数据管理模块和 /或应用和窗口管理模 块;  An event management module, configured to obtain a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
数据管理模块, 用于根据配置管理模块配置的业务数据相关信息获取 相应的控件接口和 /或业务数据接口, 并对业务数据进行管理;  a data management module, configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
应用和窗口管理模块, 用于根据应用的处理函数对应用事件进行管理, 以及根据窗口的处理函数对窗口事件进行管理。  An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
3、 根据权利要求 2所述的装置, 其特征在于, 所述配置管理模块中配 置的业务数据相关信息包括: 业务数据描述信息及控件数据关联信息, 其 中, 业务数据描述信息包括业务数据类型、 业务数据标识、 接口函数名等 信息; 控件数据关联信息包括界面窗口控件的控件 ID和与其关联的业务数 据标识; The device according to claim 2, wherein the service data related information configured in the configuration management module comprises: service data description information and control data association information, The service data description information includes information such as a service data type, a service data identifier, and an interface function name; the control data association information includes a control ID of the interface window control and a service data identifier associated with the control window;
所述配置的应用相关信息包括: 应用标识、 及应用的处理入口; 所述配置的窗口相关信息包括: 窗口标识、 窗口实例属性、 及窗口的 处理入口。  The configured application related information includes: an application identifier, and a processing entry of the application; the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
4、 根据权利要求 1所述的装置, 其特征在于, 所述业务模块与 UI分 离应用开发框架之间的接口包括: 数据接口和功能接口。  The device according to claim 1, wherein the interface between the service module and the UI separation application development framework comprises: a data interface and a function interface.
5、 一种移动终端应用、 界面窗口及业务的管理方法, 其特征在于, 包 括:  5. A mobile terminal application, an interface window, and a service management method, the method comprising:
根据界面窗口发送的事件消息获取相应的处理入口, 通过调用相应的 处理函数分别对应用事件、 窗口事件及业务数据进行管理, 并通过界面窗 口显示相应事件的管理结杲。  According to the event message sent by the interface window, the corresponding processing entry is obtained, and the application event, the window event, and the service data are respectively managed by calling the corresponding processing function, and the management result of the corresponding event is displayed through the interface window.
6、 根据权利要求 5所述的方法, 其特征在于, 所述根据界面窗口发送 的事件消息获取相应的处理入口之前, 该方法还包括: 配置应用、 窗口、 及业务数据的相关信息并保存。  The method according to claim 5, wherein before the obtaining the corresponding processing entry according to the event message sent by the interface window, the method further comprises: configuring related information of the application, the window, and the service data and saving.
7、 根据权利要求 6所述的方法, 其特征在于, 配置的所述业务数据相 关信息包括: 业务数据描述信息及控件数据关联信息, 其中, 业务数据描 述信息包括业务数据类型、 业务数据标识、 接口函数名等信息; 控件数据 关联信息包括界面窗口控件的控件 ID和与其关联的业务数据标识;  The method according to claim 6, wherein the configured service data related information includes: service data description information and control data association information, where the service data description information includes a service data type, a service data identifier, Information such as interface function name; control data association information includes a control ID of the interface window control and a service data identifier associated therewith;
所述配置的应用相关信息包括: 应用标识、 及应用的处理入口; 所述配置的窗口相关信息包括: 窗口标识、 窗口实例属性、 及窗口的 处理入口。  The configured application related information includes: an application identifier, and a processing entry of the application; the configured window related information includes: a window identifier, a window instance attribute, and a processing entry of the window.
8、 根据权利要求 7所述的方法, 其特征在于, 所述通过调用相应的处 理函数分別对应用事件、 窗口事件及业务数据进行管理, 为: 根据事件消 息在配置的应用相关信息或窗口相关信息中获取相应的应用的处理入口或 窗口的处理入口 , 根据应用的处理函数对应用事件进行管理, 或根据窗口 的处理函数对窗口事件进行管理, 以及根据配置的业务数据相关信息获取 相应的控件接口和 /或业务数据接口, 并对业务数据进行管理。 The method according to claim 7, wherein the application event, the window event, and the service data are respectively managed by calling a corresponding processing function, as follows: Acquiring the processing entry of the processing entry or window of the corresponding application in the configured application related information or the window related information, managing the application event according to the processing function of the application, or managing the window event according to the processing function of the window, and according to The configured service data related information acquires a corresponding control interface and/or a service data interface, and manages the business data.
9、 一种 UI分离应用开发框架, 其特征在于, 介于界面窗口模块和业 务模块之间, 用于根据界面窗口模块发送的事件消息获取相应的处理入口, 调用相应的处理函数分别对应用事件、 窗口事件及业务数据进行管理。  A UI separation application development framework, characterized in that, between the interface window module and the service module, the method is used to obtain a corresponding processing entry according to an event message sent by the interface window module, and call the corresponding processing function to respectively apply the event. , window events and business data management.
10、根据权利要求 9所述的 UI分离应用开发框架,其特征在于, 包括: 配置管理模块、 事件管理模块、 数据管理模块、 以及应用和窗口管理模块; 其中,  The UI separation application development framework according to claim 9, comprising: a configuration management module, an event management module, a data management module, and an application and window management module;
配置管理模块, 用于配置应用、 窗口、 及业务数据的相关信息并保存, 并向事件管理模块、 数据管理模块及应用和窗口管理模块提供相应的配置 信息;  a configuration management module, configured to store and save information about applications, windows, and business data, and provide corresponding configuration information to the event management module, the data management module, and the application and window management module;
事件管理模块, 用于根据事件消息在配置管理模块中获取相应的处理 入口, 并调用相应的处理函数, 触发数据管理模块和 /或应用和窗口管理模 块;  An event management module, configured to obtain a corresponding processing entry in the configuration management module according to the event message, and invoke a corresponding processing function to trigger the data management module and/or the application and the window management module;
数据管理模块, 用于根据配置管理模块配置的业务数据相关信息获取 相应的控件接口和 /或业务数据接口, 并对业务数据进行管理;  a data management module, configured to acquire a corresponding control interface and/or a service data interface according to the service data related information configured by the configuration management module, and manage the service data;
应用和窗口管理模块, 用于根据应用的处理函数对应用事件进行管理, 以及根据窗口的处理函数对窗口事件进行管理。  An application and window management module for managing application events according to an application's processing function, and managing window events according to a window's processing function.
PCT/CN2011/076031 2010-08-25 2011-06-21 Device and method for managing applications of mobile terminal, interface windows and services WO2012024969A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010263054.9A CN102377853B (en) 2010-08-25 2010-08-25 Management device and method for application, interface window and service of mobile terminal
CN201010263054.9 2010-08-25

Publications (1)

Publication Number Publication Date
WO2012024969A1 true WO2012024969A1 (en) 2012-03-01

Family

ID=45722866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076031 WO2012024969A1 (en) 2010-08-25 2011-06-21 Device and method for managing applications of mobile terminal, interface windows and services

Country Status (2)

Country Link
CN (1) CN102377853B (en)
WO (1) WO2012024969A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937923B (en) * 2012-10-24 2016-04-06 浪潮通用软件有限公司 A kind of method of automatic preservation user interface state
CN103677421B (en) * 2013-12-20 2018-05-18 青岛海信移动通信技术股份有限公司 A kind of business display methods and device applied on touch screen interface
WO2016131207A1 (en) * 2015-02-16 2016-08-25 锤子软件(北京)有限公司 Control method, control apparatus and electronic device
CN104699488A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method, equipment and system for acquiring APP (application) interface control data dynamically
CN105528257B (en) * 2016-01-08 2021-01-05 腾讯科技(深圳)有限公司 Single-process data processing method and device
CN111273972A (en) * 2018-12-04 2020-06-12 珠海格力电器股份有限公司 Window management method, device, storage medium and terminal
CN109739661B (en) * 2018-12-27 2021-06-22 思必驰科技股份有限公司 Method, device and system for updating messages between collaborative modules

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040127250A1 (en) * 2002-09-23 2004-07-01 Bjorn Bjare Middleware application message/event model
CN1909705A (en) * 2005-08-05 2007-02-07 杭州波导软件有限公司 Universal developing platform based on mobile terminal platform
CN101349993A (en) * 2008-09-18 2009-01-21 浙江大学 Method for implementing embedded type remote debugging software standard socket communication interface
CN101403981A (en) * 2008-11-07 2009-04-08 中兴通讯股份有限公司 Management method and system for mobile phone application program running state

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100476695C (en) * 2003-12-26 2009-04-08 申学东 Management method of computer interface
KR100606849B1 (en) * 2004-10-25 2006-08-01 엘지전자 주식회사 Terminal for mobile telecommunications
CN100391149C (en) * 2005-05-12 2008-05-28 中国科学院计算技术研究所 Application managing sub-system in multi-node intelligent network application service system and method
CN101499004A (en) * 2008-01-31 2009-08-05 株式会社日立制作所 System and method for connecting virtual machine and user interface
CN101685392B (en) * 2008-09-27 2014-07-16 盛乐信息技术(上海)有限公司 Device for separating user interface form service logic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040127250A1 (en) * 2002-09-23 2004-07-01 Bjorn Bjare Middleware application message/event model
CN1909705A (en) * 2005-08-05 2007-02-07 杭州波导软件有限公司 Universal developing platform based on mobile terminal platform
CN101349993A (en) * 2008-09-18 2009-01-21 浙江大学 Method for implementing embedded type remote debugging software standard socket communication interface
CN101403981A (en) * 2008-11-07 2009-04-08 中兴通讯股份有限公司 Management method and system for mobile phone application program running state

Also Published As

Publication number Publication date
CN102377853B (en) 2014-10-22
CN102377853A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
WO2012024969A1 (en) Device and method for managing applications of mobile terminal, interface windows and services
WO2018086580A1 (en) Extensible heterogeneous cloud platform adaptation method and system thereof
US9378030B2 (en) Method and apparatus for interactive mobile device guidance
WO2020228838A1 (en) Containerized vnf deployment method and related device
CN103176789B (en) A kind of method and system for realizing open platform Function Extension
CN105786473A (en) Task management method and device of multi-task interface as well as terminal equipment
WO2011147218A1 (en) Method for implementing application management and non-intelligent mobile terminal
WO2024077885A1 (en) Management method, apparatus and device for container cluster, and non-volatile readable storage medium
CN111614729A (en) Method and device for controlling kubernets container cluster and electronic equipment
CN102375894B (en) Method for managing different types of file systems
CN112417051A (en) Container arrangement engine resource management method and device, readable medium and electronic equipment
CN109428764A (en) The instantiation method of virtual network function
WO2012024974A1 (en) Device and method of mobile terminal data management
CN105843647A (en) Application installation method and device
CN110442426A (en) A kind of password remapping method, device and storage medium
CN104735271A (en) Method for intelligent multimedia telephone terminal to process voice services and terminal
US11411812B2 (en) Dynamic service creation for microservice-based integration service
CN103036917A (en) Achievement method of client side platform and client side platform
CN112558968B (en) Method, device, equipment and storage medium for generating resource tree view
CN102023862B (en) Mobile terminal control method and system
CN109660379B (en) Network method, system and terminal
KR20110122996A (en) Apparatus for executing application, method thereof and computer recordable medium storing the method
CN101729510A (en) Storage service system for virtual network and method for establishing the same
WO2020135350A1 (en) Network element access method and apparatus, network management platform and computer-readable storage medium
US6804339B1 (en) Real-time object-oriented database for TAPI service providers

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: 11819344

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: 11819344

Country of ref document: EP

Kind code of ref document: A1