WO2020134573A1 - 应用程序设置菜单项的管理方法、系统及智能电视 - Google Patents

应用程序设置菜单项的管理方法、系统及智能电视 Download PDF

Info

Publication number
WO2020134573A1
WO2020134573A1 PCT/CN2019/115274 CN2019115274W WO2020134573A1 WO 2020134573 A1 WO2020134573 A1 WO 2020134573A1 CN 2019115274 W CN2019115274 W CN 2019115274W WO 2020134573 A1 WO2020134573 A1 WO 2020134573A1
Authority
WO
WIPO (PCT)
Prior art keywords
setting
setting menu
menu item
database
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2019/115274
Other languages
English (en)
French (fr)
Inventor
司洪龙
孙哲
程晋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Publication of WO2020134573A1 publication Critical patent/WO2020134573A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the embodiments of the present application relate to the technical field of data processing, and in particular, to a management method, system, and smart TV for setting menu items of application programs.
  • the application provides a management method, system and smart TV for setting menu items of application programs.
  • An embodiment of the present application provides a management system for setting menu items of an application program, including: an application program, a database, and a setting program; wherein,
  • the application program is used to send a setting menu item operation request to the database, and the setting menu item operation request is used to instruct the database to provide data information of the setting menu item built in the application program;
  • the database is used to store the data information according to the operation request of the setting menu item
  • the setting program is used to read the data information in the database and display setting menu items built in the application program.
  • the setting program reads the data information of the setting menu items built in the application program by monitoring the database, and the data information is stored in the database according to the setting menu item operation request sent to the database by the application program;
  • the setting program displays setting menu items built in the application program according to the data information.
  • An embodiment of the present application also provides a smart TV, including:
  • a smart TV including:
  • Memory configured to store databases
  • the processor connected to the memory is configured to run a setup program and an application program, wherein,
  • the setting program reads data information of setting menu items built in the application program by monitoring the database, and the data information is stored in the setting menu item operation request sent to the database according to the application program In the database
  • the setting program displays setting menu items built in the application program according to the data information.
  • the existing two modules of the setting program and the application program are expanded into three service modules: the application program, the database, and the setting program.
  • the database stores the data information of the setting menu items built in the application in the database according to the setting menu item operation request sent by the application;
  • the setting program reads the data information of the setting menu items built in the application by listening to the database, Then display the setting menu items.
  • the setting program is responsible for view generation and interaction with the user; the database is responsible for maintaining the data information of the setting menu items of the application programs within it. Therefore, the setup program is only responsible for monitoring changes in the database to obtain data information from the database, and display the display results based on the data information.
  • the setup program since the setup program does not need to interact directly with the application program, it reduces the excessive maintenance management process of the setup program, such as controlling the registration authority of multiple application programs, maintaining multiple application identification and access interfaces, and holding the application program.
  • FIG. 1 is a schematic diagram of a possible system architecture to which an embodiment of this application is applicable;
  • FIG. 2 is a schematic flowchart of a method for managing a menu item set by an application according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for managing an application setting menu item provided in Embodiment 1 of the present application;
  • FIG. 4 is a schematic flowchart of a method for managing an application setting menu item provided in Embodiment 2 of the present application;
  • FIG. 5 is a schematic structural diagram of a display terminal provided by an embodiment of this application.
  • FIG. 6 is a first schematic diagram of a smart TV provided by an embodiment of the present application.
  • the application actively registers with the setting program and provides its own application identification and access interface; when the setting program needs to display the setting menu items of the application ,
  • the setting program queries and obtains the description data of the setting menu items stored in the application's own database through this access interface, and then displays the setting menu items of the application according to the obtained description data.
  • the setup program when there are many applications installed in the system, the setup program needs to control the registration authority of multiple applications, maintain multiple application IDs and access interfaces, hold a strong connection relationship with multiple applications, etc., It makes the setup program difficult to maintain and manage; at the same time, when the setup program displays the application's setup menu items, it needs to send a query request to the application first, and after obtaining the description data returned by the application, process the description data to obtain the information that needs to be displayed Because it relies heavily on the search time of the setting program's own database and the feedback time of the application, the display efficiency is low.
  • This application provides a method and system for managing setting menu items of an application program and a smart TV to reduce the maintenance and management process of excessive setting programs and improve the display efficiency when displaying the setting menu items built in the application program through the setting program .
  • a possible system architecture applicable to the embodiments of the present application includes a setting program 101, an application program 102, and a database 103.
  • the setting program 101 is responsible for generating the view corresponding to the setting menu item and interacting with the user;
  • the application program 102 is responsible for providing the application information and the built-in setting menu item information to the database 103, and can also respond to the request of the setting program 101
  • the corresponding setting menu items are modified;
  • the database 103 can be processed by the data management program to add, delete, check, and modify data in the database.
  • the setting menu items displayed by the setting program in the application program need to be stored in the database, and maintained through the data management program.
  • the setting menu item information generally includes: application unique identifier (Package), setting menu item name (Name), setting menu item unique identifier (Id), application receiving identifier (Action), setting menu item current status (Status), The execution result (Result) of the application execution setting menu item modification.
  • Table 1 lists the data structure of the setting menu item information
  • Table 2 lists the necessary fields and corresponding descriptions in each setting menu item information.
  • the setting menu item information built in an application is exemplarily shown, and the application package name of the application is "com.AAA.ChildLock".
  • the application package name of the application is "com.AAA.ChildLock”.
  • the setting menu item names are "child lock”, "power on lock” and "viewing time setting”.
  • "child lock” and "power-on lock” are direct operation setting menu items, with 1 or 0 representing the current state.
  • the current status of "Child Lock” and "Power On Lock” are both 1, indicating that the current status of both is modified to open.
  • "child lock” is 1, indicating that the execution result is successful, that is, the application has modified the current state of the child lock to open; and "boot lock” is 0, indicating the execution result If it fails, that is, the application fails to modify the current state of the power-on lock to be on;
  • Watch time setting is 1, indicating that the execution result is successful, that is, the application has modified the watch time.
  • the field value types used in the embodiments of the present application are not unique.
  • the application unique identifier may use the application package name, and may also be replaced by setting a designated Id for each application.
  • the descriptions in the table are only examples of field descriptions in one way, and are not limited to these field types. Implementation through other field types is still essentially a way of data persistence, and belongs to the scope of the design scheme proposed in this application.
  • An embodiment of the present application provides a method for managing setting menu items of an application program, so as to display the setting menu items built in the application program through the setting program.
  • the method for managing setting menu items of an application program includes the following steps:
  • Step 201 The setting program reads the data information of the setting menu items built in the application program in the database, and the data information is obtained by storing the setting menu item information according to the setting menu item operation request sent by the application program to the database .
  • Step 202 The setting program displays the setting menu items built in the application program according to the data information.
  • the existing two modules, the setup program and the application program are expanded into three business modules: the application program, the database, and the setup program.
  • the application program operates the setting menu item and sends a setting menu item operation request to the database.
  • the database stores the data information of the setting menu item in the received setting menu item operation request.
  • the setting program directly reads the data information of the setting menu item of the application in the database, and displays the setting menu item.
  • the setting program is a program for displaying setting menu items of all application programs, and the setting menu items of the application program include various setting menu items built in the application program.
  • the setup program only displays the setup menu items of the applications written in the database. Each application writes data to the database at an appropriate time. After that, the setup program listens to database changes and obtains data from the database and displays it.
  • the view display logic of the setting menu items mainly refers to the information change or maintenance initiated by the application program actively; the other is the setting menu items.
  • the modification logic here mainly refers to the modification of setting menu items initiated by the user. The following introduces these two kinds of logic, as well as the functions of the application, database, and setup program.
  • the display of the setting menu item built in the application by the setting program may be triggered by the setting menu item display instruction.
  • the method further includes:
  • the setting program receives a setting menu item display instruction; the setting menu item display instruction is used to instruct the setting program to display a setting menu item built in the application program.
  • the view of the setting menu items can be processed accordingly, such as adding a new setting menu item or changing the setting menu item Etc., but not displayed for this view.
  • the setting program After receiving the setting menu item display instruction, the setting program displays a view of the setting menu item to the user.
  • the view display logic for setting menu items generally corresponds to the application installation, update, or the application itself sends the application information to the database at the appropriate time.
  • the application information includes the application package name information, the received information, and the desired The specific information of the setting menu items displayed in the setting program.
  • the data management program responsible for managing the database after receiving the setting menu item write request, performs a security check on the requesting application, and writes the received setting menu item information into the database after passing the security check .
  • a third-party application performs system signature to obtain trust, or sets an application whitelist in the system.
  • security inspection method there are multiple implementation methods of the security inspection method here, but they are basically security inspection behaviors, and fall within the scope of the design scheme of the embodiments of the present application.
  • the setting menu item write request includes an application installation request, an application update request, and an application active write request.
  • the setting program obtains the application information data to be displayed from the database according to the data changes in the database, generates a view interface of the setting program, and binds the view layout to the application, setting menu item layout, and setting menu item information. If the user triggers the display instruction of the application, the setting program displays the view of the application to the user.
  • the data management program will also listen to the application uninstall broadcast.
  • the data management program detects that the application information exists in the database, and then directly deletes all data corresponding to the uninstalled application package name in the database.
  • the setting program also deletes all views corresponding to the application.
  • the setting program receives a setting menu item modification instruction; the setting menu item modification instruction is used to instruct to modify a target menu item in the setting menu of the application program;
  • the setting program sends a setting menu item modification request to the application program, so that the application program modifies the target menu item.
  • the setting program stores the application identification of the registered application program and the corresponding communication interface.
  • the application identifier is used to uniquely identify an application program. Taking an Android system as an example, the application identifier of an application can be an application package name.
  • the communication interface is used to send information and requests to the application.
  • the setting program does not directly call the application program, but sends a setting menu item modification request to the application program through the communication interface.
  • the request carries the application reception identifier.
  • the application program receives the setting menu item modification request sent by the setting program through the same communication interface, and performs related modification operations on the setting menu item.
  • the setting program directly modifies the setting menu items in the application program. Therefore, for one application program in the setting program, multiple rewriting interfaces need to be maintained, and one rewriting interface corresponds to one setting menu item.
  • the setting program first needs to find the rewriting interface corresponding to the application ID and the setting menu item from its own database, and then to modify the description data inside the application program, and then the application program uses the description data to modify Own setting menu item.
  • the efficiency of each display and modification depends heavily on the search efficiency of the database and the feedback time of the application, which greatly affects the efficiency. For pages that interact with users, the impact is very large and serious Sometimes, ANR (Application Not Responding) problems will occur, which seriously affect the user experience.
  • ANR Application Not Responding
  • Each setting menu item can be composed of one or more controls, and the types of controls can include: buttons, switches, progress bars, drop-down lists, option boxes, and so on.
  • the user modifies the setting menu item by operating the control of the setting menu item.
  • the setting menu items corresponding to the setting menu item modification request can be divided into direct operation type setting menu items and entry type setting menu items.
  • Direct operation type setting menu items can be operated directly on the page of the setting program, such as switches, buttons, selection boxes, etc.
  • the entry category setting menu item requires the application to open the application's own setting interface and receive the modification instruction input by the user through the application's setting interface.
  • the user triggers the change of the setting menu item through the page of the setting program, and inputs the modification of the operation item.
  • the setting program After receiving the setting menu item modification instruction, the setting program sends a setting menu item modification request to the relevant application program through the communication interface.
  • the setting menu item modification request carries the setting menu item modification information.
  • the application determines the type of the setting menu item that is modified according to the fields in the setting menu item modification request. For example, in the embodiment of the present application, the current state value of the setting menu item of the direct operation type setting menu item is set to 1 or 0, the entry type setting menu item has no current state, and the value of the setting menu item current state is -1.
  • the application determines that the setting menu item is a direct operation type setting menu item, the setting menu item is modified directly according to the change information in the setting menu item modification request. If the application determines that the setting menu item is an entry-type setting menu item, it opens its corresponding setting page, where the application can receive user modifications to related setting menu items, and then set the setting menu item according to the modification instruction input by the user to modify.
  • the application program modifies the setting menu items
  • the information sent to the data management program contains the execution result of the modification.
  • the setting program reads the data information of the setting menu of the application program from the database, including:
  • the setting program listens to changes in the database and reads the updated data information of the target menu item
  • the updated data information of the target menu item is that the data management program updates the data of the target menu item in the database according to the update request sent by the application program and carrying the successful modification of the target menu item After getting.
  • the application program modifies the setting menu item, it sends a message carrying the execution result of the setting menu item modification to the data management program. If the setting menu item modification execution result is successful, the application program sends an update request carrying the target menu item modification success to the data management program. After receiving the update request, the data management program updates the data of the corresponding setting menu item in the database to the received data. At this time, the setting program monitors the changes of the database, and updates the view of the setting menu item according to the modified data in the database, and presents it to the user.
  • the application program fails to execute the setting menu item modification, the application program sends a setting menu item modification failure message to the data management program.
  • the data management program receives the setting menu item modification failure message, it does not update the setting menu item data, but instead marks the setting menu item modification failure.
  • the setting program does not change the view of the setting menu item, but according to this modification failure flag to give the user the necessary prompt to prevent the problem that the view does not correspond to the data.
  • the application program receives a modification request of a setting menu item input by a user on a setting page of the application program.
  • the application still sends the modified setting menu item information to the data management program, so that the data management program updates the setting menu item information in the database.
  • the setting program updates the view information of the setting menu item accordingly, keeping the setting menu item view of the setting program consistent with the setting menu item information inside the application program.
  • the linkage relationship between setting menu items is logically associated in the application. When one item is modified, the application automatically changes other setting menu items associated with it.
  • the setup program adds a change listener to the database.
  • the setting program processes the view of setting menu items in the setting program according to the change of the database, including:
  • the setting program sets a change listener in the database
  • the setting program receives the change result of the database sent by the change listener;
  • the setting program displays the change result.
  • the setting program updates its own view information by listening to the callback to keep it consistent with the setting state in the database.
  • the setting program receives the monitoring callback, directly obtains the application information data to be displayed from the database, generates its own view interface, and combines the view layout with the application information data, setting the menu item layout, and setting the menu item Information.
  • the data management program receives the setting menu item update request
  • the setting menu item information in the database is updated to the received data.
  • the setup program is triggered to listen to the callback, and the setup program updates the view of the setup menu item according to the modified data in the database to complete the user operation.
  • the state of the setting menu item of the setting program and the state of the setting menu item within the application are strictly maintained by setting the change listener, that is, after the application operation is completed and the result is returned, the setting program views the monitoring callback of the database The refresh of the interface.
  • this data interaction method also avoids the setting program frequently performing search operations in the database, greatly improving the efficiency of modifying settings.
  • the three program modules are decoupled, and the setting program does not directly act with the application program, and only sends a modification request, and then listens to the database.
  • the modification of the direct operation class setting menu item or the opening of the entry class setting menu item page is still done by the application itself, and the execution result is reported to the database.
  • the embodiment of the present application reduces the logic complexity of each program module, makes each program module logically clear, has clear responsibilities, and is easier to maintain and expand later.
  • the user modifies the setting menu items on the page of the setting program.
  • the specific steps are shown in FIG. 3, including:
  • Step 301 The setting program receives the setting menu item modification instruction sent by the user through the setting program page.
  • Step 302 The setting program sends a setting menu item modification request to the application program.
  • the setting menu item modification request includes the application program receiving identifier.
  • Step 303 The application program determines the type of the setting menu item corresponding to the setting menu item modification request. If it is an entry type setting menu item, step 304 is performed; if it is a direct operation type setting menu item, step 306 is performed.
  • Step 304 The application opens the application's own page corresponding to the setting menu item.
  • Step 305 The application program receives the user's setting menu item modification instruction through the application program's own page.
  • Step 306 The application program modifies the setting menu item information according to the setting menu item modification instruction.
  • Step 307 The application program sends the current setting menu item information and the modification execution result to the data management program.
  • Step 308 The data management program judges the modification execution result. If the execution is successful, then step 309 is executed; otherwise, step 311 is executed.
  • Step 309 The data management program sets the execution result of the application program modification setting menu item of the setting menu item in the database to 1, and modifies the setting menu item information.
  • Step 310 The setting program monitors the modification of the setting menu item information in the database, and updates the view of the setting menu item in the setting menu.
  • Step 311 The data management program sets the execution result of the application program modification setting menu item of the setting menu item in the database to 0.
  • Step 312 The setting program listens to the application program that modifies the setting menu item in the database, and the execution result of the setting menu item is set to 0, and a failure prompt is displayed.
  • the user displays the setting menu items of the application on the page of the setting program.
  • the specific steps are shown in FIG. 4 and include:
  • Step 401 The application program determines to perform application installation, or application update, or application active writing, and the application program performs related operations.
  • Step 402 The application sends a setting menu item write request to the data management program.
  • Step 403 The data management program performs a security check on the application program. If the check passes, step 404 is executed; otherwise, it ends directly.
  • Step 404 The data management program writes the setting menu item information to the database according to the setting menu item writing request.
  • Step 405 The setting program monitors that the data in the database changes.
  • Step 406 The setting program determines the type of data change. If the database information increases, step 407 is performed; if the database information is updated, step 408 is performed; if the database information decreases, step 409 is performed.
  • Step 407 The setting program adds setting menu item entries of related applications to the view of the setting menu.
  • Step 408 The setting program updates setting menu item entries of related applications in the setting menu view.
  • Step 409 The setting program deletes the setting menu item entry of the relevant application in the view of the setting menu.
  • the present application also provides a display terminal, which can be a smart TV, a mobile terminal, etc., as shown in FIG. 5, including
  • It includes a processor 501, a memory 502, a transceiver 503, and a bus interface 504, where the processor 501, the memory 502, and the transceiver 503 are connected through a bus interface 504;
  • the processor 501 is configured to read the program in the memory 502 and execute any method shown in FIGS. 2-4.
  • a smart TV provided by an embodiment of the present application includes:
  • the memory 610 is used to store a database
  • the processor 620 connected to the memory is used to run a setting program and an application program, wherein,
  • the setting program reads data information of setting menu items built in the application program by monitoring the database, and the data information is stored in the setting menu item operation request sent to the database according to the application program In the database
  • the setting program displays setting menu items built in the application program according to the data information.
  • the TV only also includes a user interface 630 and a bus interface 640, the processor 620 and the memory 610 are interactively connected through the bus interface 640, and the user interface 630 and the bus interface 640 are connected.
  • the setting item operation request is a setting menu write request; the data information is stored in the database according to a setting menu item write request sent by the application to the database.
  • the setting item operation request is a setting menu write request; the data information is stored in the database according to a setting menu item write request sent by the application to the database.
  • the processor may be a CPU (Central Processing Unit), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), FPGA (Field-Programmable Gate Array), or CPLD (Complex Programmable Logic Device) , Responsible for programmable logic devices).
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • CPLD Complex Programmable Logic Device
  • the memory may include a read-only memory (ROM) and a random access memory (RAM), and provide the processor with program instructions and data stored in the memory.
  • ROM read-only memory
  • RAM random access memory
  • the memory may be used to store the database provided by the embodiments of the present application. You can also store any program.
  • the processor may run any program stored in the memory.
  • These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
  • the device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种应用程序的设置菜单项的管理方法,该方法包括:设置程序通过监听数据库,从数据库中读取应用程序内置的设置菜单的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求存储在所述数据库中的(201);所述设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项(202)。

Description

应用程序设置菜单项的管理方法、系统及智能电视
本公开要求在2018年12月24日提交中国专利局、申请号为201811581418.0,申请名称为“应用程序设置菜单项的管理方法、系统及智能电视”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本申请实施例涉及数据处理技术领域,尤其涉及一种应用程序设置菜单项的管理方法、系统及智能电视。
背景技术
在目前的Android系统中,许多应用程序基于自身的功能为用户提供了各种设置菜单项,以现有的系统形式,用户必须单独进入各个应用程序中提供的单独设置页面查看各个设置菜单项,并在应用程序页面中对设置菜单项进行修改,以此来操作或更改某项功能。不同的应用程序提供的设置菜单项及设置页面的入口也都不同,随着系统中安装的应用程序越来越多,用户使用的复杂度也随之提高。
申请内容
本申请提供一种应用程序的设置菜单项的管理方法、系统及智能电视。
本申请实施例提供的一种应用程序的设置菜单项的管理系统,包括:应用程序、数据库以及设置程序;其中,
所述应用程序,用于向所述数据库发送设置菜单项操作请求,所述设置菜单项操作请求用于指示向所述数据库提供应用程序内置的设置菜单项的数据信息;
所述数据库,用于根据所述设置菜单项操作请求,存储所述数据信息;
所述设置程序,用于读取所述数据库中的所述数据信息,对所述应用程序内置的设置菜单项进行显示。
本申请实施例提供的一种应用程序的设置菜单项的管理方法,包括:
设置程序通过监听数据库,读取应用程序内置的设置菜单项的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求存储在所述数据库中的;
所述设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项。
本申请实施例还提供一种智能电视,包括:
一种智能电视,包括:
存储器,配置为存储数据库;
与所述存储器连接的处理器,配置为运行设置程序和应用程序,其中,
所述设置程序通过监听所述数据库,读取所述应用程序内置的设置菜单项的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求存储在所述数据库中的;
所述设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项。
本申请实施例中,将现有的设置程序和应用程序两个模块,扩展为三个业务模块:应用程序、数据库和设置程序。其中,数据库根据应用程序发送的设置菜单项操作请求,将应用程序内置的设置菜单项的数据信息存储在数据库内; 设置程序通过监听数据库读取到该应用程序内置的设置菜单项的数据信息,进而对设置菜单项进行显示。
这样,设置程序负责视图生成及与用户交互;数据库,负责维护其内的应用程序的设置菜单项的数据信息。因此,设置程序只负责监听数据库的变化而从数据库中获取数据信息,并根据该数据信息显示展示结果。一方面,由于设置程序不必与应用程序直接交互,从而减少了设置程序过多的维护管理过程,如控制多个应用程序的注册权限、维护多个应用标识和访问接口、持有与应用程序之间的强连接关系等,提高了显示展示结果的效率;另一方面,将设置菜单项管理流程中的视图、数据、控制进行分离,降低各模块之间的耦合度,将各模块中更多的资源使用在自身功能上,提高效率与完成度的同时,降低模块间的逻辑复杂度,使各模块更易于扩展和维护。
以上是本公开的简单概述,已解释申请的某些方面。该概述不是对申请及其各个方面、实例和/或配置的全面或详细的概述。其目的既不是确定申请的主要或关键元件,也不描述申请的范围,而是简要的介绍申请的某些概念,作为对下文详细描述的介绍。应该理解,本披露文件的其他方面、实例和/或配置可以单独或组合利用上文陈述或下文详述的一个或多个特征。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例所适用的一种可能的系统构架的示意图;
图2为本申请实施例提供的一种应用程序设置菜单项的管理方法的流程示意图;
图3为本申请实施例一提供的一种应用程序设置菜单项的管理方法的流程示意图;
图4为本申请实施例二提供的一种应用程序设置菜单项的管理方法的流程示意图;
图5为本申请实施例提供的显示终端的结构示意图;
图6位本申请实施例提供的智能电视的第一示意图。
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部份实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
传统技术中提供一种在设置程序中显示应用程序的设置菜单项的技术方案:应用程序主动向设置程序注册,提供自身的应用标识和访问接口;在设置程序需要显示应用程序的设置菜单项时,设置程序通过此访问接口查询并获取存储在应用程序自身数据库中的设置菜单项的描述数据,然后根据获取的描述数据 显示应用程序的设置菜单项。
上述过程中,在系统中安装的应用程序较多时,设置程序需要控制多个应用程序的注册权限、维护多个应用标识和访问接口、持有与多个应用程序之间的强连接关系等,造成设置程序难以维护管理;同时在设置程序显示应用程序的设置菜单项时,需要先向应用程序发送查询请求,在得到应用程序发回的描述数据后,再处理描述数据从而获取需要展示的信息,由于严重依赖设置程序自身数据库的查找时间和应用程序的反馈时间,导致显示效率较低。
本申请提供一种应用程序的设置菜单项的管理方法、系统及智能电视,用以在实现通过设置程序显示应用程序内置的设置菜单项时,减少设置程序过多的维护管理过程以及提高显示效率。
本申请实施例所适用的一种可能的系统构架,如图1所示,包括设置程序101、应用程序102,以及数据库103。其中,设置程序101,负责设置菜单项对应的视图生成及与用户交互;应用程序102,负责向数据库103提供应用程序信息及其内置的设置菜单项信息,同时也可响应设置程序101的请求对相应设置菜单项进行修改;数据库103,可由数据管理程序负责数据库中数据的增删查改等处理。
在一些实施例中,为了给系统的运行提供持久化的数据支持,应用程序中需要对设置程序显示的设置菜单项,在数据库中存储其中的设置菜单项信息,并通过数据管理程序进行维护。其中,设置菜单项信息一般包含:应用唯一标识(Package)、设置菜单项名称(Name)、设置菜单项唯一标识(Id)、应用程序接收标识(Action)、设置菜单项当前状态(Status)、应用程序执行设置菜单项修改的执行结果(Result)。表1列举了设置菜单项信息的数据结构,表2列 举了每一条设置菜单项信息中必要的字段及相应说明。
表1
Figure PCTCN2019115274-appb-000001
表2
Figure PCTCN2019115274-appb-000002
Figure PCTCN2019115274-appb-000003
上述表1中,示例性展示了一个应用程序内置的设置菜单项信息,该应用程序的应用包名为“com.AAA.ChildLock”。在该应用程序中,展示了三个设置菜单项,设置菜单项名称分别为“儿童锁”、“开机锁”和“观看时长设置”。其中,“儿童锁”和“开机锁”均为直接操作类设置菜单项,由1或0代表当前状态。“儿童锁”和“开机锁”的当前状态均为1,表明两者的当前状态均修改为开启。第三个设置菜单项“观看时长设置”,其“设置菜单项当前状态”为-1,则“观看时长设置”为入口类设置菜单项,对该设置菜单项的修改需在应用程序的页面中操作。针对应用程序执行设置菜单项修改的执行结果,“儿童锁”为1,表明执行结果为成功,即应用程序已将儿童锁的当前状态修改为开启;而“开机锁”为0,表明执行结果为失败,即应用程序未能将开机锁的当前状态修改为开启;“观看时长设置”为1,表明执行结果为成功,即应用程序已修改了观看时长。
在一些实施例中,本申请实施例中采用的字段值类型并非唯一,如应用唯一标识可以使用应用包名,同样也可以通过为每个应用设置指定Id的方式代替。表中所述只是以一种方式作为字段说明的示例,并不仅限于这些字段类型。通过其他字段类型进行实现,本质上依然属于数据持久化的方式,隶属于本申请所提出的设计方案范围。
本申请实施例提供了一种应用程序的设置菜单项的管理方法,用以实现通过设置程序显示应用程序内置的设置菜单项。如图2所示,本申请实施例提供 的应用程序的设置菜单项的管理方法,包括以下步骤:
步骤201、设置程序读取数据库中应用程序内置的设置菜单项的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求对设置菜单项信息进行存储得到的。
步骤202、设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项。
在一些实施例中,将现有的设置程序和应用程序两个模块,扩展为三个业务模块:应用程序、数据库和设置程序。其中,应用程序对设置菜单项进行操作,并向数据库发送设置菜单项操作请求。数据库根据收到的设置菜单项操作请求,将设置菜单项的数据信息存储在其内。设置程序直接读取数据库中该应用程序设置菜单项的数据信息,对设置菜单项进行显示。
在一些实施例中,设置程序是用于显示所有应用程序的设置菜单项的程序,应用程序的设置菜单项中包括该应用程序内置的各个设置菜单项。设置程序中只展示数据库中被写入的应用程序的设置菜单项,各应用程序在适当时间自行向数据库中写入数据,之后设置程序监听数据库变化而从数据库中获取数据并进行展示。
在一些实施例中,对设置菜单项的管理主要有两种逻辑,一种是设置菜单项的视图展示逻辑,这里主要是指应用程序主动发起的信息变更或维护;另一种是设置菜单项的修改逻辑,这里主要是指用户发起的对设置菜单项的修改。下面分别介绍这两种逻辑,以及其中应用程序、数据库和设置程序的功能。
第一:设置菜单项的展示逻辑
本申请实施例中,设置程序对应用程序内置的设置菜单项的显示可以由设 置菜单项显示指令来触发。可选的,所述设置程序从数据库中读取设置菜单项的数据信息之前,还包括:
所述设置程序接收设置菜单项显示指令;所述设置菜单项显示指令用于指示所述设置程序显示所述应用程序内置的设置菜单项。
具体实施过程中,设置程序从数据库中读取到应用程序内置的设置菜单项的数据信息后,可以对该设置菜单项的视图进行相应处理,如加入新增的设置菜单项或者更改设置菜单项等,但对该视图不显示。当设置程序接收到设置菜单项显示指令后,向用户显示该设置菜单项的视图。
对于设置菜单项的视图展示逻辑,一般对应于应用程序安装、更新时,或应用程序自身在适当时间,主动向数据库发送应用程序信息,应用程序信息包括应用程序包名信息、接收的信息、所要在设置程序中进行展示的设置菜单项的具体信息等。
具体实施过程中,负责管理数据库的数据管理程序收到设置菜单项写入请求后,对发出请求的应用程序进行安全性检查,通过安全性检查后将收到的设置菜单项信息写入数据库中。
在一些实施例中,安全检查有多种实现方式,例如第三方应用进行系统签名获取信任,或系统中设置应用白名单等等。需要注意的是此处安全检查方法有多种实现方式,但根本上都属于安全检查行为,隶属于本申请实施例设计方案的范围。
安全检查通过后,数据管理程序在数据库中进行相应操作。设置菜单项写入请求包括应用安装请求、应用更新请求、应用主动写入请求等。例如,当数据管理程序接到应用安装请求后,将应用程序的所有设置菜单项数据写入数据 库中。设置程序根据数据库中数据的改动,从数据库中获取要展示的应用信息数据,生成设置程序的视图界面,并将视图布局与应用程序、设置菜单项布局与设置菜单项信息进行绑定。若用户触发了该应用程序的显示指令,则设置程序将该应用程序的视图向用户进行展示。
在一些实施例中,数据管理程序还会监听应用卸载广播。当有应用卸载后,数据管理程序检测到数据库中存在该应用的信息,然后直接删除数据库中被卸载应用包名对应的全部数据。相应的,设置程序也删除该应用程序对应的所有视图。
第二:设置菜单项的修改逻辑
在一些实施例中,所述设置程序接收设置菜单项修改指令;所述设置菜单项修改指令用于指示修改所述应用程序的设置菜单中的目标菜单项;
所述设置程序向所述应用程序发送设置菜单项修改请求,以使所述应用程序对所述目标菜单项进行修改。
具体实施过程中,设置程序中存储有已注册的应用程序的应用标识及对应的通讯接口。其中,应用标识用来唯一标识一个应用程序。以安卓系统为例,应用程序的应用标识可以为应用包名。通讯接口用来向应用程序发送信息和请求。本申请实施例中,设置程序不直接调用应用程序,而是通过通讯接口向应用程序发送设置菜单项修改请求。请求中携带应用程序接收标识。应用程序通过同一个通讯接口接收设置程序发送的设置菜单项修改请求,并对设置菜单项进行相关修改操作。
现有技术中,设置程序直接修改应用程序中的设置菜单项,因此设置程序中针对一个应用程序,需要维护多个改写接口,一个改写接口对应于一个设置 菜单项。每次对设置菜单项修改时,设置程序都要先从其自身数据库中查找应用程序标识和设置菜单项对应的改写接口,然后再去修改应用程序内部的描述数据,应用程序再通过描述数据修改自身的设置菜单项。当数据量过大时,每次显示及修改的效率严重依赖于数据库的查找效率及应用程序的反馈时间,十分影响效率,对于与用户存在交互行为的页面来说,影响是十分巨大的,严重时会产生ANR(Application Not Responding,应用程序无响应)问题,严重影响用户体验。
一般来说,设置程序有两种途径触发设置菜单项的修改,一种是设置程序直接在其内的页面修改设置菜单项,另一种是设置程序向应用程序发送修改请求,以通过应用程序自身的页面修改设置菜单项。每个设置菜单项可以由一个或多个控件组成,控件的类型可以包括:按钮、开关、进度条、下拉列表、选项方块等。用户通过操作设置菜单项的控件,修改设置菜单项。
也即,设置菜单项修改请求对应的设置菜单项可以分为直接操作类设置菜单项和入口类设置菜单项。直接操作类设置菜单项可以直接在设置程序的页面中进行操作,例如开关、按钮、选择框等。入口类设置菜单项需要应用程序打开应用程序自身的设置界面,接收用户通过应用程序的设置界面输入的修改指令。
具体来说,用户通过设置程序的页面进行设置菜单项的更改触发,输入对操作项的修改。设置程序接收到设置菜单项修改指令后,通过通讯接口向相关的应用程序发送设置菜单项修改请求,设置菜单项修改请求中携带设置菜单项修改信息。应用程序接收到设置菜单项修改请求后,根据设置菜单项修改请求中的字段判断被修改的设置菜单项的类型。例如,本申请实施例中将直接操作 类设置菜单项的设置菜单项当前状态的值设置为1或0,入口类设置菜单项无当前状态,其设置菜单项当前状态的值为-1。
若应用程序判断设置菜单项为直接操作类设置菜单项,直接根据设置菜单项修改请求中的更改信息对设置菜单项进行修改。若应用程序判断设置菜单项为入口类设置菜单项,则打开自身对应的设置页面,应用程序可以在此页面中接收用户对相关设置菜单项的修改,再根据用户输入的修改指令对设置菜单项进行修改。
进一步地,应用程序修改完设置菜单项后,向数据管理程序发送的信息中包含此次修改的执行结果。所述设置程序从数据库中读取应用程序的设置菜单的数据信息,包括:
所述设置程序监听到所述数据库的变化,读取所述目标菜单项更新后的数据信息;
其中,所述目标菜单项更新后的数据信息是所述数据管理程序根据所述应用程序发送的携带目标菜单项修改成功的更新请求,而将所述数据库中所述目标菜单项的数据进行更新后得到的。
具体地,应用程序对设置菜单项修改完成后,向数据管理程序发送携带设置菜单项修改执行结果的消息。若设置菜单项修改执行结果为成功,则应用程序向数据管理程序发送携带目标菜单项修改成功的更新请求。数据管理程序接收到更新请求后,将数据库中对应设置菜单项的数据更新为接收到的数据。此时,设置程序监听到数据库的变化,并根据数据库中修改后的数据更新该设置菜单项的视图,并向用户进行展示。
另一方面,若应用程序对设置菜单项修改的执行结果为失败,则应用程序 向数据管理程序发送设置菜单项修改失败消息。数据管理程序接收到设置菜单项修改失败消息后,不更新设置菜单项的数据,而是对设置菜单项进行修改失败标记。设置程序也不改变该设置菜单项的视图,而是根据此修改失败标记给用户以必要的提示,以防出现视图与数据不对应的问题。
此外,用户也有一定概率情况下会直接进入应用程序内部的设置页面,进行设置菜单项的修改。应用程序接收用户在应用程序的设置页面输入的设置菜单项修改请求。
此时,应用程序依然会将修改的设置菜单项信息发送给数据管理程序,以使数据管理程序将数据库中该设置菜单项的信息进行更新。设置程序则相应更新该设置菜单项的视图信息,保持设置程序的设置菜单项视图与应用程序内部的设置菜单项信息一致。
在一些实施例中,某些设置菜单项之间存在联动关系,如打开了护眼模式,那么屏幕亮度也会随之变化。设置菜单项之间的联动关系在应用程序中进行逻辑关联,修改其中一项时,应用程序自动更改与之关联的其他设置菜单项。
在一些实施例中,设置程序对数据库中添加了更改监听器。所述设置程序根据所述数据库的变化,对所述设置程序中设置菜单项的视图进行处理,包括:
所述设置程序在所述数据库中设置更改监听器;
所述设置程序接收所述更改监听器发送的所述数据库的变化结果;
所述设置程序对所述变化结果进行显示。
在具体实施过程中,数据库中有信息发生改变时,设置程序通过监听回调更新自身视图信息,使其与数据库中的设置状态保持一致。例如,当应用程序安装、更新时,设置程序接收监听回调,直接从数据库中获取要展示的应用信 息数据,生成自身视图界面,并将视图布局与应用信息数据、设置菜单项布局以及设置菜单项信息进行绑定。又例如,当数据管理程序接收到设置菜单项更新请求后,将数据库中设置菜单项信息更新为接收到的数据。此时,触发设置程序监听回调,设置程序根据数据库中修改后的数据更新该设置菜单项的视图,完成用户操作。
本申请实施例中通过设置更改监听器严格保持设置程序的设置菜单项状态与应用程序内部设置菜单项状态的一致,即在应用程序操作完成返回结果后,设置程序通过对数据库的监听回调进行视图界面的刷新。同时,这种数据交互方式也避免了设置程序频繁的在数据库中执行查找操作,大大提高了修改设置的效率。
在一些实施例中,将三个程序模块解耦合,设置程序不直接与应用程序发生动作,只发送修改请求,然后监听数据库。直接操作类设置菜单项的修改或入口类设置菜单项页面的打开还是由应用程序自身完成,并向数据库汇报执行结果。本申请实施例降低了各个程序模块的逻辑复杂度,使各个程序模块逻辑清晰、职责分明,更易于后期的维护和扩展。
为了更清楚地理解本申请,下面具体实施例对上述流程进行详细描述,在一些实施例中,用户在设置程序的页面上对设置菜单项进行修改,具体步骤如图3所示,包括:
步骤301、设置程序通过设置程序的页面接收用户发出的设置菜单项修改指令。
步骤302、设置程序向应用程序发送设置菜单项修改请求,设置菜单项修改请求中包括应用程序接收标识。
步骤303、应用程序判断该设置菜单项修改请求对应的设置菜单项类型,若为入口类设置菜单项,则执行步骤304;若为直接操作类设置菜单项,则执行步骤306。
步骤304、应用程序打开该设置菜单项对应的应用程序自身页面。
步骤305、应用程序通过应用程序自身页面接收用户的设置菜单项修改指令。
步骤306、应用程序根据设置菜单项修改指令,对设置菜单项信息进行修改。
步骤307、应用程序向数据管理程序发送当前设置菜单项信息以及修改执行结果。
步骤308、数据管理程序判断修改执行结果,若执行成功,则执行步骤309;否则执行步骤311。
步骤309、数据管理程序将数据库中该设置菜单项的应用程序修改设置菜单项的执行结果设置为1,并修改设置菜单项信息。
步骤310、设置程序监听到数据库中设置菜单项信息的修改,更新设置菜单中该设置菜单项的视图。
步骤311、数据管理程序将数据库中该设置菜单项的应用程序修改设置菜单项的执行结果设置为0。
步骤312、设置程序监听到数据库中设置菜单项的应用程序修改设置菜单项的执行结果设置为0,显示失败提示。
在一些实施例中,用户在设置程序的页面上对应用程序的设置菜单项进行显示,具体步骤如图4所示,包括:
步骤401、应用程序确定进行应用安装,或者应用更新,或者应用主动写入,应用程序自身进行相关操作。
步骤402、应用程序向数据管理程序发送设置菜单项写入请求。
步骤403、数据管理程序对应用程序进行安全检查,若检查通过,则执行步骤404;否则直接结束。
步骤404、数据管理程序根据设置菜单项写入请求,向数据库中写入设置菜单项信息。
步骤405、设置程序监听到数据库中的数据发生变化。
步骤406、设置程序判断数据变化类型,若数据库信息增加,则执行步骤407;若数据库信息更新,则执行步骤408;若数据库信息减少,则执行步骤409。
步骤407、设置程序在设置菜单的视图中增加相关应用的设置菜单项条目。
步骤408、设置程序在设置菜单的视图中更新相关应用的设置菜单项条目。
步骤409、设置程序在设置菜单的视图中删除相关应用的设置菜单项条目。
基于相同的原理,本申请还提供一种显示终端,该显示终端可以为智能电视,移动终端等,如图5所示,包括
包括处理器501、存储器502、收发机503、总线接口504,其中处理器501、存储器502与收发机503之间通过总线接口504连接;
所述处理器501,用于读取所述存储器502中的程序,执行图2-图4任一所示的方法。
参见图6,本申请实施例还提供的一种智能电视,包括:
存储器610,用于存储数据库;
与所述存储器连接的处理器620,用于运行设置程序和应用程序,其中,
所述设置程序通过监听所述数据库,读取所述应用程序内置的设置菜单项的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求存储在所述数据库中的;
所述设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项。
所述只能电视还包括用户接口630和总线接口640,所述处理器620和存储器610通过所述总线接口640交互连接,所述用户接口630和所述总线接口640连接。
在一些实施例中,所述设置项操作请求为设置菜单写入请求;所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项写入请求而存储在所述数据库中的。
在一些实施例中,所述设置项操作请求为设置菜单写入请求;所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项写入请求而存储在所述数据库中的。
在一些实施例中,处理器可以是CPU(中央处理器),ASIC(Application Specific Intergrated Circuit,专用集成电路),FPGA(Field-Programmable Gate Array,现场可编程门阵列)或CPLD(Complex Programmable Logic Device,负责可编程逻辑器件)。
存储器可以包括只读存储器(ROM)和随机存取存储器(RAM),并向处理器提供存储器中存储的程序指令和数据。
在本申请的实施例中,存储器可以用于存储本申请实施例提供的数据库。也可以存储任一程序。
在本申请的实施例中,处理器可以运行任一存储在存储器中的程序。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。

Claims (12)

  1. 一种智能电视中应用程序的设置菜单项的管理系统,所述系统包括:应用程序、数据库以及设置程序;其中,
    所述应用程序,用于向所述数据库发送设置菜单项操作请求,所述设置菜单项操作请求用于指示向所述数据库提供应用程序内置的设置菜单项的数据信息;
    所述数据库,用于根据所述设置菜单项操作请求,存储所述数据信息;
    所述设置程序,用于读取所述数据库中的所述数据信息,对所述应用程序内置的设置菜单项进行显示。
  2. 如权利要求1所述的系统,所述设置菜单项操作请求为设置菜单项写入请求时,所述数据库用于根据所述设置菜单项写入请求,写入所述数据信息。
  3. 如权利要求1所述的系统,所述设置菜单项操作请求为设置菜单项更新请求时,所述数据库用于根据所述设置菜单项更新请求,更新所述数据信息。
  4. 一种智能电视中应用程序的设置菜单项的管理方法,其特征在于,所述方法包括:
    设置程序通过监听数据库,读取应用程序内置的设置菜单项的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求存储在所述数据库中的;
    所述设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项。
  5. 如权利要求4所述的方法,所述设置项操作请求为设置菜单写入请求;所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项写入请求而存储在所述数据库中的。
  6. 如权利要求4所述的方法,所述设置程序通过监听数据库,读取应用程序内置的设置菜单项的数据信息之前,还包括:
    所述设置程序接收设置菜单项显示指令;所述设置菜单项显示指令用于指示所述设置程序显示所述应用程序内置的设置菜单项。
  7. 如权利要求4所述的方法,所述设置项操作请求为设置菜单项更新请求时,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项更新请求而更新在所述数据库中的;其中,所述设置菜单项更新请求携带所述应用程序内置的设置菜单项中修改成功的目标菜单项。
  8. 如权利要求7所述的方法,所述应用程序向所述数据库发送设置菜单项更新请求之前,所述方法还包括:
    所述设置程序接收设置菜单项修改指令;所述设置菜单项修改指令用于指示修改所述应用程序的设置菜单项中的目标菜单项;
    所述设置程序向所述应用程序发送设置菜单项修改请求,以使所述应用程序对所述目标菜单项进行修改。
  9. 如权利要求4至8任一项所述的方法,所述设置程序通过监听数据库,读取应用程序内置的设置菜单项的数据信息,具体包括:
    所述设置程序在所述数据库中设置监听器,通过所述监听器监听到所述数据库的变化;
    所述设置项程序接收所述监听器的监听回调,从所述数据库中读取所述应用程序内置的设置菜单的数据信息。
  10. 一种智能电视,包括:
    存储器,用于存储数据库;
    与所述存储器连接的处理器,用于运行设置程序和应用程序,其中,
    所述设置程序通过监听所述数据库,读取所述应用程序内置的设置菜单项的数据信息,所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项操作请求存储在所述数据库中的;
    所述设置程序根据所述数据信息,显示所述应用程序内置的设置菜单项。
  11. 根据权利要求10所述的智能电视,所述设置项操作请求为设置菜单写入请求;所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项写入请求而存储在所述数据库中的。
  12. 根据权利要求10所述的智能电视,所述设置项操作请求为设置菜单写入请求;所述数据信息为根据所述应用程序向所述数据库发送的设置菜单项写入请求而存储在所述数据库中的。
PCT/CN2019/115274 2018-12-24 2019-11-04 应用程序设置菜单项的管理方法、系统及智能电视 Ceased WO2020134573A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811581418.0A CN109753529A (zh) 2018-12-24 2018-12-24 应用程序设置菜单项的管理方法、系统及智能电视
CN201811581418.0 2018-12-24

Publications (1)

Publication Number Publication Date
WO2020134573A1 true WO2020134573A1 (zh) 2020-07-02

Family

ID=66403059

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/115274 Ceased WO2020134573A1 (zh) 2018-12-24 2019-11-04 应用程序设置菜单项的管理方法、系统及智能电视

Country Status (2)

Country Link
CN (1) CN109753529A (zh)
WO (1) WO2020134573A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753529A (zh) * 2018-12-24 2019-05-14 青岛海信电器股份有限公司 应用程序设置菜单项的管理方法、系统及智能电视

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2017724A1 (en) * 2007-07-12 2009-01-21 Hitachi, Ltd. Method for user interface, display device, and user interface system
CN102510389A (zh) * 2011-09-26 2012-06-20 Tcl集团股份有限公司 应用发送、安装、呈现方法与系统
CN103517125A (zh) * 2012-09-19 2014-01-15 Tcl美国研究所 一种电视机、电视服务系统及其实现方法
CN104714805A (zh) * 2015-03-23 2015-06-17 海信集团有限公司 一种控制应用程序的设置菜单的方法及装置
CN107340969A (zh) * 2017-08-24 2017-11-10 北京拉酷网络科技有限公司 基于触控板的快速信息输入交互方法及输入交互系统
CN109753529A (zh) * 2018-12-24 2019-05-14 青岛海信电器股份有限公司 应用程序设置菜单项的管理方法、系统及智能电视

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833467B (zh) * 2010-05-14 2013-12-04 华为终端有限公司 一种在Android的菜单中添加菜单项的方法及设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2017724A1 (en) * 2007-07-12 2009-01-21 Hitachi, Ltd. Method for user interface, display device, and user interface system
CN102510389A (zh) * 2011-09-26 2012-06-20 Tcl集团股份有限公司 应用发送、安装、呈现方法与系统
CN103517125A (zh) * 2012-09-19 2014-01-15 Tcl美国研究所 一种电视机、电视服务系统及其实现方法
CN104714805A (zh) * 2015-03-23 2015-06-17 海信集团有限公司 一种控制应用程序的设置菜单的方法及装置
CN107340969A (zh) * 2017-08-24 2017-11-10 北京拉酷网络科技有限公司 基于触控板的快速信息输入交互方法及输入交互系统
CN109753529A (zh) * 2018-12-24 2019-05-14 青岛海信电器股份有限公司 应用程序设置菜单项的管理方法、系统及智能电视

Also Published As

Publication number Publication date
CN109753529A (zh) 2019-05-14

Similar Documents

Publication Publication Date Title
CN107015823B (zh) 具有动态子包加载的应用容器
US20220075696A1 (en) Application Exception Recovery
CN110727525B (zh) 用于活动协作的配套应用程序
US20190228062A1 (en) Method, apparatus, and server for rendering a cell page, and readable storage medium
CN108023808B (zh) 应用程序中的消息分发方法及装置
WO2022063165A1 (zh) 功能执行方法及装置
CN107958365B (zh) 物料信息变更方法、装置、存储介质及电子设备
CN103218115A (zh) 一种通知栏的优化显示方法及移动终端
CN105159721A (zh) 一种多模式启动智能设备的方法及其系统
CN109032587A (zh) 一种数据流管理框架、方法、终端设备及存储介质
CN113342455A (zh) 基于多操作系统的图层处理方法及车机系统
CN107943466A (zh) 数据库访问语句生成方法、装置及设备
WO2025045002A9 (zh) 处理数据表的方法、装置、设备和存储介质
US20140137120A1 (en) Managing transactions within an application server
US10666557B2 (en) Method to manage data flow for edge-core distributed analytics systems
US10089139B2 (en) Systems, methods and media for managing embedded content
US20260050449A1 (en) System Selected Fungible Configurable Attributes For A Compute Instance
CN112148169A (zh) 标识显示控制方法、装置及电子设备
CN111857466A (zh) 消息显示方法和装置
CN111475248A (zh) 一种rtl处理方法、系统、存储介质及电子设备
WO2026052128A1 (zh) 界面交互的方法、装置、设备和存储介质
CN106355084A (zh) 基于回调机制的安卓组权限管理方法及系统
CN119966935A (zh) 界面交互的方法、装置、设备和存储介质
CN114896019B (zh) 一种桌面窗口控制方法、装置、电子设备及存储介质
US20230206756A1 (en) Method and system of controlling traffic lighting apparatus, electronic device and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1