WO2014134998A1 - Application platform-level configuration method and device - Google Patents

Application platform-level configuration method and device Download PDF

Info

Publication number
WO2014134998A1
WO2014134998A1 PCT/CN2014/072079 CN2014072079W WO2014134998A1 WO 2014134998 A1 WO2014134998 A1 WO 2014134998A1 CN 2014072079 W CN2014072079 W CN 2014072079W WO 2014134998 A1 WO2014134998 A1 WO 2014134998A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
mobile device
function set
set parameter
foreground
Prior art date
Application number
PCT/CN2014/072079
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 WO2014134998A1 publication Critical patent/WO2014134998A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the present invention relates to the field of communications, and in particular to an application platform configuration method and apparatus.
  • BACKGROUND OF THE INVENTION Smartphones have become the standard equipment of people nowadays.
  • various types of mobile application software are also emerging, which greatly facilitates and enriches people's lives.
  • users can configure the scene according to personal habits and preferences.
  • people have different needs for their use.
  • the configuration and adjustment of the scene function set of all application softwares are provided by the system (ie, application platform) to provide global unified settings.
  • the system ie, application platform
  • users have different requirements for their scenario configuration.
  • an application platform configuration method including: acquiring an identity of an application in a foreground of a mobile device; determining a scenario function set parameter corresponding to the identity identifier, where The scenario function set parameter includes one or more parameters for configuring an application platform of the mobile device; and configuring an application platform of the mobile device according to the scenario function set parameter.
  • obtaining the identity of the application in the foreground of the mobile device comprises: listening to a system service interface of the mobile device; acquiring, according to the monitored information of the application in the foreground of the mobile device, the application in the foreground Identity.
  • determining the scene function set parameter corresponding to the identity identifier includes: determining, by using a correspondence between the saved identity identifier and the scene function set parameter, the scene function set parameter corresponding to the identity identifier, where The correspondence is stored in the mobile device and/or server.
  • the method before determining the scenario function set parameter corresponding to the identity identifier, the method further includes: acquiring the identity identifier of the application in the foreground in the mobile device; by listening to the interface invoked by the application Obtaining, by the application, one or more parameters for configuring an operation platform of the mobile device; and storing a correspondence between a scene function set parameter including the one or more parameters and the identity identifier.
  • the scene function set parameter includes at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area.
  • an application platform configuration apparatus including: a first acquiring module, configured to acquire an identity of an application in a foreground of a mobile device; and a determining module, configured to determine a scene function set parameter corresponding to the identifier, where the scene function set parameter includes one or more parameters for configuring an application platform of the mobile device; and a configuration module, configured to set the parameter according to the scene function set , configuring an application platform of the mobile device.
  • the first obtaining module includes: a listening unit, configured to monitor a system service interface of the mobile device; and an acquiring unit, configured to obtain, according to the monitored information of the application in the foreground of the mobile device, The identity of the app.
  • the determining module is configured to determine the scene function set parameter corresponding to the identity identifier by using a correspondence between the saved identity identifier and the scene function set parameter, where the corresponding relationship is saved in the mobile In the device and / or server.
  • the device further includes: a second acquiring module, configured to acquire the identity identifier of the application in the foreground in the mobile device; and a third acquiring module, configured to listen to an interface invoked by the application, And acquiring, by the application, one or more parameters for configuring an operation platform of the mobile device; and the saving module is configured to save a correspondence between the scene function set parameter including the one or more parameters and the identity identifier.
  • the scene function set parameter includes at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area.
  • the identifier of the application in the foreground of the mobile device is obtained, and the scenario function set parameter corresponding to the identity identifier is determined, where the scenario function set parameter is used to configure the application platform of the mobile device.
  • One or more parameters; configuring the application of the mobile device according to the scene function set parameter The method of the station solves the problem caused by manually adjusting the configuration parameters of the application platform after the user switches the application in the related technology, thereby improving the user experience.
  • FIG. 1 is a schematic flow chart of an application platform configuration method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an application platform configuration device according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a preferred structure of an application platform configuration device according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a device for intelligent memory of a platform application scenario according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a platformized mobile phone application scenario intelligent memory according to an embodiment of the invention
  • FIG. 7 is a schematic flowchart of a platformized mobile application scenario intelligent reading according to an embodiment of the invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • the invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
  • the steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, may differ from this The steps shown are performed in the order shown or described.
  • FIG. 1 is a schematic flowchart of an application platform configuration method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps: Step S102: Obtaining a mobile device An identifier of the application in the foreground; Step S104, determining a scenario function set parameter corresponding to the identity identifier, where the scenario function set parameter includes one or more parameters configured to configure an application platform of the mobile device; Step S106: Configure an application platform of the mobile device according to the scene function set parameter.
  • the user needs to manually adjust the configuration of the application platform when switching software in the related technology.
  • the technical solution of the present embodiment solves the problem caused by manually adjusting the configuration parameters of the application platform after the user switches the application, and improves the user experience.
  • the foregoing application platforms include, but are not limited to, a mobile operating system or an operating platform such as an Android operating system, an iOS (Apple operating system), and a Windows (Windows) series mobile operating system.
  • the identifier is an identifier that can uniquely identify different applications, for example: the package name of the application, the original file name of the application or the version number of the application, the vendor identifier, and the like.
  • the application in the foreground is also called an activated application or an activated application, and refers to an active application that the user currently switches to.
  • a service for recording information of an application in an activated state the service may be retrieved through a system service interface of the mobile device.
  • the service when obtaining the identity of the application in the foreground of the mobile device, the service may be utilized to obtain the application in the foreground by listening to the system service interface of the mobile device and according to the information of the application in the foreground of the monitored mobile device.
  • Identity Preferably, in the above method, the identity of the changed application currently in the foreground may be acquired only when the application in the foreground is changed.
  • the scene function set parameter corresponding to the identity identifier is determined by the corresponding relationship between the saved identity identifier and the scene function set parameter, where the corresponding relationship is saved in the mobile device and/or the server, and the mobile device is
  • a certain synchronization rule may be set to synchronize the correspondence between the mobile device and the server.
  • the scene function set parameters can be synchronized to the cloud (ie, the server), so that the scene function set parameters can be loaded on different mobile phones.
  • the embodiment further provides a method for automatically saving the correspondence between the identity identifier and the identity identifier according to the manual configuration of the user: before determining the scenario function set parameter corresponding to the identity identifier, the mobile device is also obtained in the foreground.
  • the identity of the application, and the interface invoked by the monitoring application obtain one or more parameters of the application to configure the operating platform of the mobile device; and then save the corresponding function of the scene function set parameter including the one or more parameters and the identity identifier relationship.
  • the location where the correspondence is saved may also be in the current mobile device or in the server.
  • the scene function set parameter comprises at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area.
  • the scene function set parameters can be: parameters for adjusting the volume level, parameters for adjusting the pitch level, parameters for adjusting the size and shape of the display area, and the like.
  • the parameters of the scenario function set are not limited to the parameters exemplified above, and may further include: control parameters for enabling/disabling functions of the application platform such as the wireless Internet access function, according to the application scenario of the application. , you can configure and select these parameters flexibly.
  • the embodiment further provides an application platform configuration device, which is used to implement the application platform configuration method. The specific implementation process of the application platform configuration device described in the device embodiment has been detailed in the method embodiment. Description, no longer repeat here. 2 is a schematic structural diagram of an application platform configuration device according to an embodiment of the present invention.
  • the device includes: a first obtaining module 22, a determining module 24, and a configuration module 26, wherein the first acquiring module 22, Set to obtain an identity of the application in the foreground of the mobile device; the determining module 24 is coupled to the first obtaining module 22, and configured to determine a scene function set parameter corresponding to the identity identifier, where the scenario function set parameter includes The application platform performs one or more parameters of the configuration; the configuration module 26 is coupled to the determination module 24, configured to configure the application platform of the mobile device according to the scene function set parameters.
  • the modules and units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware.
  • a processor includes a first obtaining module 22, a determining module 24, and a configuration module 26.
  • the name of these modules does not constitute a limitation on the module itself in some cases.
  • the first obtaining module 22 may also be described as "a module that is set to acquire the identity of the application in the foreground in the mobile device".
  • FIG. 3 is a schematic diagram of a preferred structure of an application platform configuration apparatus according to an embodiment of the present invention. As shown in FIG.
  • the first acquisition module 22 includes: a monitoring unit 222, configured to monitor a system service interface of the mobile device;
  • the obtaining unit 224 is coupled to the listening unit 222, and is configured to obtain the identity of the application in the foreground according to the information of the application in the foreground of the monitored mobile device.
  • the determining module 24 is configured to determine a scene function set parameter corresponding to the identity identifier by using a correspondence between the saved identity identifier and the scene function set parameter, where the correspondence relationship is saved in the mobile device and/or the server.
  • FIG. 4 is a schematic diagram of a preferred structure of an application platform configuration apparatus according to an embodiment of the present invention. As shown in FIG.
  • the apparatus further includes: a second obtaining module 42 configured to acquire an application in the foreground of the mobile device.
  • the third obtaining module 44 is configured to obtain one or more parameters configured by the application to the operating platform of the mobile device by listening to the interface invoked by the application; the saving module 46 is coupled to the second obtaining module 42
  • the third obtaining module 44 and the determining module 24 are configured to save a correspondence between the scene function set parameter including the one or more parameters and the identity identifier.
  • the scene function set parameter comprises at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area. Description and description are made below in conjunction with the preferred embodiments.
  • the preferred embodiment provides a method for intelligent memory of a platform application scenario, which is used for intelligently remembering scene feature sets involved in different mobile phone applications, to solve how to intelligently memorize users to each application software.
  • the preferred embodiment relates to a method for memorizing settings of a scene function set of each application and actively configuring the values according to the memory when the application is called.
  • the method for setting the scene function set of each application of the platform intelligent memory should provide the following functions:
  • FIG. 5 is a schematic structural diagram of a device for intelligently remembering a mobile phone application scenario according to an embodiment of the present invention.
  • the user scene data collection module is configured to collect a set of scene function settings of the application for the user;
  • the application module is set to listen for changes in the foreground application and the unique identifier of the application.
  • the principle is to obtain the application unique identifier through the interface of the get system, and record the unique identifier of the current application in the system service.
  • FIG. 6 is a schematic flowchart of a platformized mobile application scenario smart memory according to an embodiment of the present invention.
  • the memory process of the scene-scenario includes: the user scene data collection module notifies the platformized scene function set configuration management module when the function set data of the system is changed, and the platform-based scene function set configuration management module obtains the current through the application monitoring module.
  • the unique identifier of the application, and the application and the scene function set data binding are stored in the platformized scene data storage module.
  • the scenario reading process includes: when the monitoring application module monitors the current application change, notifies the platformized scene function set configuration management module, and transmits the unique identifier of the current application to the platformized scene function set configuration management module.
  • the platformized scene function set configuration management module stores the module according to the unique identifier to query whether there is a scene storage value of the application, and if so, invokes an interface of each function set provided by the system according to the scene value, and if not, uses the system.
  • Default configuration The following describes the preferred embodiment by adjusting the volume value of the game on the Android platform. The process includes the following steps: Step 1. The user opens a game software, and the volume value is modified in the setting; Step 2.
  • the user scene data acquisition module The monitoring volume setting interface, when the volume setting interface is called, the user scene data collecting module sends a message to the platformized scene function set configuration management module, and transmits the modified volume value as a parameter; Step 3, the platformized scene function After receiving the notification message of the user scene data collection module, the set configuration management module calls the interface provided by the monitoring application module to obtain the package name (unique identifier) of the current application; Step 4: The listening module obtains the interface of the get system service.
  • the application package name is recorded, and when the set interface for writing the application package name in the system service is called, the listening application module will go to the interface get package name, and then compare with the package name in the record, if different, To notify the platformized scene function set configuration management module; Step 5, level Scene feature set of configuration management module identifier with a unique value of one to one volume of the current application, the composition of the array, stored in the scene data storing module platform; Step 6: The monitoring application module monitors the current application package name, and when the package name changes, that is, the current foreground application changes, for example, when the current application is found to be switched from the WeChat to the music playing application, or the current application is switched by the game application.
  • the platform When the desktop is idle, the platform is configured to notify the platformized feature set configuration management module, and the current application package name is passed as a parameter; Step 7.
  • the platformized scene function set configuration management module stores the array of modules according to the package name. Query, if there is a record, the system interface that sets the volume is called to set the corresponding value; if not, it is set according to the value of the desktop application (launcher). It can be seen that the method for intelligent memory of the platformized mobile application scenario provided in the above preferred embodiment uses the platform to record the configuration data of the scene function set of each application on the mobile phone, and automatically remembers the next time the user invokes the application.
  • the configuration in the application configures the scene feature set of the application; at the same time, the scene function set configuration of various applications memorized by the mobile phone can be uploaded to the cloud sharing, so that the user can still follow the usage habit through the cloud synchronization after the user replaces the mobile phone.
  • the scene configuration of the mobile phone application allows the user to have a more convenient and comfortable feeling during the use of the mobile application software, and at the same time, can improve the user experience of the mobile phone and make the mobile phone more humanized.
  • Industrial Applicability determines the corresponding scene function set parameter according to the identity of the application, and configures the application platform by using the determined scene function set parameter, and solves the need to manually adjust the configuration parameter of the application platform after the user switches the application.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are an application platform-level configuration method and device, the method comprising: obtaining the identifier of an application in the front end of a mobile device; determining a scenario function set parameter corresponding to the identifier, the scenario function set parameter comprising one or multiple parameters used to configure the application platform of the mobile device; configuring the application platform of the mobile device according to the scenario function set parameter. The present invention solves the problem in prior art that the configuration parameter of a platform must be manually adjusted after a user switches applications, thereby enhancing the user experience.

Description

应用平台化配置方法和装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种应用平台化配置方法和装置。 背景技术 智能手机已成为时下人们的标准装备, 相应的, 各类手机应用软件也层出不穷, 极大的方便和丰富了人们的生活。 其中, 对于很多风靡和广受欢迎的软件如游戏、 音 乐播放器、 微信、 微薄、 语音导航、 论坛、 浏览器等, 用户都可以根据个人习惯和喜 欢进行场景配置。 对于不同类型的应用, 人们对其使用需求也各不相同。 在手机平台上, 所有的应用软件的场景功能集的配置和调节都是系统 (即应用平 台) 提供接口进行全局统一设置的。 然而, 对于不同的应用, 用户是对其场景配置使 有不同需求的。 例如: 当用户玩游戏时, 有时不希望它的背景音乐声音很大, 便会通 过调节媒体音量的声音去改变音量; 而随后使用微信进行语音短信或实时对讲时, 用 户又希望声音越大越好, 这样就又需要再次调节媒体音量大小; 用户对于不同应用软 件的亮度需求也不尽相同, 玩游戏时, 用户追求视觉效果, 喜欢明亮些, 而阅读小说 和逛论坛时, 为防止眼睛过于疲劳会选择低亮度; 还有字体大小, 显示区域大小等等。 如此以来, 在各类应用软件切换使用过程中, 用户会觉得很是不便。 针对相关技术中用户切换应用之后需要手动调整应用平台的配置参数所导致的问 题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种应用平台化配置方法和装置, 以至少解决上述问题。 根据本发明实施例的一个方面, 提供了一种应用平台化配置方法, 包括: 获取移 动设备中处于前台的应用的身份标识; 确定与所述身份标识对应的场景功能集参数, 其中, 所述场景功能集参数包括用于对所述移动设备的应用平台进行配置的一个或多 个参数; 根据所述场景功能集参数, 配置所述移动设备的应用平台。 优选地, 获取所述移动设备中处于前台的应用的身份标识包括: 监听所述移动设 备的系统服务接口; 根据监听到的所述移动设备中处于前台的应用的信息, 获取处于 前台的应用的身份标识。 优选地, 确定与所述身份标识对应的所述场景功能集参数包括: 通过保存的身份 标识与场景功能集参数的对应关系,确定与所述身份标识对应的所述场景功能集参数, 其中, 所述对应关系保存在所述移动设备和 /或服务端中。 优选地, 在确定与所述身份标识对应的场景功能集参数之前, 所述方法还包括: 获取所述移动设备中处于前台的所述应用的所述身份标识; 通过监听所述应用调用的 接口, 获取所述应用对所述移动设备的操作平台进行配置的一个或多个参数; 保存包 括该一个或多个参数的场景功能集参数与所述身份标识的对应关系。 优选地, 所述场景功能集参数包括以下至少之一的参数: 音量、 音调、 屏幕亮度、 屏幕对比度、 字体、 显示区域。 根据本发明实施例的另一个方面, 还提供了一种应用平台化配置装置, 包括: 第 一获取模块, 设置为获取移动设备中处于前台的应用的身份标识; 确定模块, 设置为 确定与所述身份标识对应的场景功能集参数, 其中, 所述场景功能集参数包括用于对 所述移动设备的应用平台进行配置的一个或多个参数; 配置模块, 设置为根据所述场 景功能集参数, 配置所述移动设备的应用平台。 优选地, 所述第一获取模块包括: 监听单元, 设置为监听所述移动设备的系统服 务接口; 获取单元, 设置为根据监听到的所述移动设备中处于前台的应用的信息, 获 取处于前台的应用的身份标识。 优选地, 所述确定模块, 设置为通过保存的身份标识与场景功能集参数的对应关 系, 确定与所述身份标识对应的所述场景功能集参数, 其中, 所述对应关系保存在所 述移动设备和 /或服务端中。 优选地, 所述装置还包括: 第二获取模块, 设置为获取所述移动设备中处于前台 的所述应用的所述身份标识; 第三获取模块, 设置为通过监听所述应用调用的接口, 获取所述应用对所述移动设备的操作平台进行配置的一个或多个参数; 保存模块, 设 置为保存包括该一个或多个参数的场景功能集参数与所述身份标识的对应关系。 优选地, 所述场景功能集参数包括以下至少之一的参数: 音量、 音调、 屏幕亮度、 屏幕对比度、 字体、 显示区域。 通过本发明实施例, 采用获取移动设备中处于前台的应用的身份标识; 确定与该 身份标识对应的场景功能集参数, 其中, 该场景功能集参数包括用于对移动设备的应 用平台进行配置的一个或多个参数; 根据该场景功能集参数, 配置移动设备的应用平 台的方式, 解决了相关技术中用户切换应用之后需要手动调整应用平台的配置参数所 导致的问题, 提升了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的应用平台化配置方法的流程示意图; 图 2是根据本发明实施例的应用平台化配置装置的结构示意图; 图 3是根据本发明实施例的应用平台化配置装置的优选结构示意图一; 图 4是根据本发明实施例的应用平台化配置装置的优选结构示意图二; 图 5 是根据本发明实施例的平台化的手机应用场景智能记忆的装置的结构示意 图; 图 6是根据本发明实施例的平台化的手机应用场景智能记忆的流程示意图; 图 7是根据本发明实施例的平台化的手机应用场景智能读取的流程示意图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执 行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤。 本实施例提供了一种应用平台化配置方法, 图 1是根据本发明实施例的应用平台 化配置方法的流程示意图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 获取移动设备中处于前台的应用的身份标识; 步骤 S104, 确定与身份标识对应的场景功能集参数, 其中, 场景功能集参数包括 用于对移动设备的应用平台进行配置的一个或多个参数; 步骤 S106, 根据场景功能集参数, 配置移动设备的应用平台。 通过上述步骤, 根据应用的身份标识确定对应的场景功能集参数, 并使用确定的 场景功能集参数对应用平台进行配置的方式, 相对于相关技术中切换软件时需要用户 手动调整应用平台的配置的技术方案, 本实施例的技术方案解决了用户切换应用之后 需要手动调整应用平台的配置参数所导致的问题, 提升了用户体验。 需要说明的是, 上述的应用平台包括但不限于: 安卓操作系统、 iOS (苹果操作系 统)、 视窗 (Windows) 系列手机操作系统等手机操作系统或操作平台。 其中的身份标识是指可以对不同的应用进行唯一标识的标识符, 例如: 应用的包 名、 应用的原始文件名或者应用的版本号、 厂商标识等。 其中, 处于前台的应用又称作激活的应用或处于激活状态的应用, 是指用户当前 切换到的、 活动的应用。 优选地, 在应用平台的系统服务中, 包括用于记录处于激活状态的应用的信息的 服务, 该服务可以通过移动设备的系统服务接口调取。 因此, 在获取移动设备中处于 前台的应用的身份标识时, 可以利用该服务, 通过监听移动设备的系统服务接口, 并 根据监听到的移动设备中处于前台的应用的信息, 获取处于前台的应用的身份标识。 优选地, 在上述方法中, 可以只在监听到处于前台的应用发生变化的情况下, 才 获取变化后的当前正处于前台的应用的身份标识。 优选地, 可以通过保存的身份标识与场景功能集参数的对应关系, 确定与身份标 识对应的场景功能集参数,其中,上述对应关系保存在移动设备和 /或服务端中,并且, 在移动设备和服务端中军保存有上述对应关系的情况下,还可以设置一定的同步规则, 在移动设备和服务端之间同步上述对应关系。 采用该方式可以将场景功能集参数同步 到云端 (即服务端), 便于在不同手机上加载该场景功能集参数。 优选地, 本实施例还提供了一种根据用户的手动配置, 自动保存身份标识与身份 标识的对应关系的方法: 在确定与身份标识对应的场景功能集参数之前, 同样获取移 动设备中处于前台的应用的身份标识, 以及通过监听应用调用的接口, 获取应用对移 动设备的操作平台进行配置的一个或多个参数; 然后保存包括该一个或多个参数的场 景功能集参数与身份标识的对应关系。 保存该对应关系的位置同样也可以是在当前的 移动设备中, 也可以保存在服务端中。 优选地, 场景功能集参数包括以下至少之一的参数: 音量、 音调、 屏幕亮度、 屏 幕对比度、 字体、 显示区域。 例如: 场景功能集参数可以是: 用于调整音量大小的参 数、 用于调整音调高低的参数、 用于调整显示区域的尺寸和形状的参数等。 需要说明 的是: 场景功能集参数并不限于上述所例举的参数, 还可以包括: 用于开启 /关闭无线 上网功能等等应用平台所能够具有的功能的控制参数, 根据应用的应用场景需要, 可 以灵活进行配置和选择这些参数。 本实施例还提供了一种应用平台化配置装置, 该装置用于实现上述应用平台化配 置方法, 装置实施例中描述的应用平台化配置装置具体的实现过程在方法实施例中已 经进行过详细说明, 在此不再赘述。 图 2是根据本发明实施例的应用平台化配置装置的结构示意图, 如图 2所示, 该 装置包括: 第一获取模块 22、 确定模块 24和配置模块 26, 其中, 第一获取模块 22, 设置为获取移动设备中处于前台的应用的身份标识;确定模块 24耦合至第一获取模块 22, 设置为确定与身份标识对应的场景功能集参数, 其中, 场景功能集参数包括用于 对移动设备的应用平台进行配置的一个或多个参数; 配置模块 26耦合至确定模块 24, 设置为根据场景功能集参数, 配置移动设备的应用平台。 本发明的实施例中所涉及到的模块、 单元可以通过软件的方式实现, 也可以通过 硬件的方式来实现。本实施例中的所描述的模块、单元也可以设置在处理器中, 例如, 可以描述为: 一种处理器包括第一获取模块 22、 确定模块 24和配置模块 26。 其中, 这些模块的名称在某种情况下并不构成对该模块本身的限定, 例如, 第一获取模块 22 还可以被描述为"设置为获取移动设备中处于前台的应用的身份标识的模块"。 图 3是根据本发明实施例的应用平台化配置装置的优选结构示意图一, 如图 3所 示, 优选地, 第一获取模块 22包括: 监听单元 222, 设置为监听移动设备的系统服务 接口; 获取单元 224耦合至监听单元 222, 设置为根据监听到的移动设备中处于前台 的应用的信息, 获取处于前台的应用的身份标识。 优选地,确定模块 24,设置为通过保存的身份标识与场景功能集参数的对应关系, 确定与身份标识对应的场景功能集参数, 其中, 对应关系保存在移动设备和 /或服务端 中。 图 4是根据本发明实施例的应用平台化配置装置的优选结构示意图二, 如图 4所 示, 优选地, 该装置还包括: 第二获取模块 42, 设置为获取移动设备中处于前台的应 用的身份标识; 第三获取模块 44, 设置为通过监听应用调用的接口, 获取应用对移动 设备的操作平台进行配置的一个或多个参数; 保存模块 46耦合至第二获取模块 42、 第三获取模块 44和确定模块 24, 设置为保存包括该一个或多个参数的场景功能集参 数与身份标识的对应关系。 优选地, 场景功能集参数包括以下至少之一的参数: 音量、 音调、 屏幕亮度、 屏 幕对比度、 字体、 显示区域。 下面结合优选实施例进行描述和说明。 本优选实施例提供了一种平台化的手机应用场景智能记忆的方法, 用于针对不同 的手机应用所涉及的场景功能集进行智能记忆, 以解决如何平台化的智能记忆住用户 对各应用软件的场景功能集配置, 并在应用运行时进行智能配置的问题。 从而使手机 更加人性化, 提升用户体验。 本优选实施例涉及的方法, 包括记忆各个应用的场景功能集设置以及在应用被调 用时按照记忆的值进行主动配置。 该的平台化智能记忆各应用的场景功能集设置的方法中要提供如下功能: The present invention relates to the field of communications, and in particular to an application platform configuration method and apparatus. BACKGROUND OF THE INVENTION Smartphones have become the standard equipment of people nowadays. Accordingly, various types of mobile application software are also emerging, which greatly facilitates and enriches people's lives. Among them, for many popular and popular software such as games, music players, WeChat, meager, voice navigation, forums, browsers, etc., users can configure the scene according to personal habits and preferences. For different types of applications, people have different needs for their use. On the mobile phone platform, the configuration and adjustment of the scene function set of all application softwares are provided by the system (ie, application platform) to provide global unified settings. However, for different applications, users have different requirements for their scenario configuration. For example: When a user plays a game, sometimes he does not want its background music to be very loud, and the volume is changed by adjusting the volume of the media volume. When using WeChat for voice messages or real-time intercom, the user wants the voice to be louder. Ok, so you need to adjust the volume of the media again. The brightness requirements of different applications are different. When playing games, users pursue visual effects and prefer to be brighter. When reading novels and visiting forums, Fatigue will choose low brightness; there is also font size, display area size and so on. As a result, users may find it inconvenient during the switching of various applications. In view of the problems caused by manually adjusting the configuration parameters of the application platform after the user switches the application in the related art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides an application platform configuration method and apparatus to solve at least the above problems. According to an aspect of the embodiments of the present invention, an application platform configuration method is provided, including: acquiring an identity of an application in a foreground of a mobile device; determining a scenario function set parameter corresponding to the identity identifier, where The scenario function set parameter includes one or more parameters for configuring an application platform of the mobile device; and configuring an application platform of the mobile device according to the scenario function set parameter. Preferably, obtaining the identity of the application in the foreground of the mobile device comprises: listening to a system service interface of the mobile device; acquiring, according to the monitored information of the application in the foreground of the mobile device, the application in the foreground Identity. Preferably, determining the scene function set parameter corresponding to the identity identifier includes: determining, by using a correspondence between the saved identity identifier and the scene function set parameter, the scene function set parameter corresponding to the identity identifier, where The correspondence is stored in the mobile device and/or server. Preferably, before determining the scenario function set parameter corresponding to the identity identifier, the method further includes: acquiring the identity identifier of the application in the foreground in the mobile device; by listening to the interface invoked by the application Obtaining, by the application, one or more parameters for configuring an operation platform of the mobile device; and storing a correspondence between a scene function set parameter including the one or more parameters and the identity identifier. Preferably, the scene function set parameter includes at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area. According to another aspect of the embodiments of the present invention, an application platform configuration apparatus is further provided, including: a first acquiring module, configured to acquire an identity of an application in a foreground of a mobile device; and a determining module, configured to determine a scene function set parameter corresponding to the identifier, where the scene function set parameter includes one or more parameters for configuring an application platform of the mobile device; and a configuration module, configured to set the parameter according to the scene function set , configuring an application platform of the mobile device. Preferably, the first obtaining module includes: a listening unit, configured to monitor a system service interface of the mobile device; and an acquiring unit, configured to obtain, according to the monitored information of the application in the foreground of the mobile device, The identity of the app. Preferably, the determining module is configured to determine the scene function set parameter corresponding to the identity identifier by using a correspondence between the saved identity identifier and the scene function set parameter, where the corresponding relationship is saved in the mobile In the device and / or server. Preferably, the device further includes: a second acquiring module, configured to acquire the identity identifier of the application in the foreground in the mobile device; and a third acquiring module, configured to listen to an interface invoked by the application, And acquiring, by the application, one or more parameters for configuring an operation platform of the mobile device; and the saving module is configured to save a correspondence between the scene function set parameter including the one or more parameters and the identity identifier. Preferably, the scene function set parameter includes at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area. According to the embodiment of the present invention, the identifier of the application in the foreground of the mobile device is obtained, and the scenario function set parameter corresponding to the identity identifier is determined, where the scenario function set parameter is used to configure the application platform of the mobile device. One or more parameters; configuring the application of the mobile device according to the scene function set parameter The method of the station solves the problem caused by manually adjusting the configuration parameters of the application platform after the user switches the application in the related technology, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a schematic flow chart of an application platform configuration method according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of an application platform configuration device according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a preferred structure of an application platform configuration device according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a device for intelligent memory of a platform application scenario according to an embodiment of the present invention; FIG. 6 is a schematic flowchart of a platformized mobile phone application scenario intelligent memory according to an embodiment of the invention; FIG. 7 is a schematic flowchart of a platformized mobile application scenario intelligent reading according to an embodiment of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, may differ from this The steps shown are performed in the order shown or described. This embodiment provides an application platform configuration method. FIG. 1 is a schematic flowchart of an application platform configuration method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps: Step S102: Obtaining a mobile device An identifier of the application in the foreground; Step S104, determining a scenario function set parameter corresponding to the identity identifier, where the scenario function set parameter includes one or more parameters configured to configure an application platform of the mobile device; Step S106: Configure an application platform of the mobile device according to the scene function set parameter. Through the foregoing steps, determining the corresponding scene function set parameter according to the identity of the application, and configuring the application platform by using the determined scene function set parameter, the user needs to manually adjust the configuration of the application platform when switching software in the related technology. The technical solution of the present embodiment solves the problem caused by manually adjusting the configuration parameters of the application platform after the user switches the application, and improves the user experience. It should be noted that the foregoing application platforms include, but are not limited to, a mobile operating system or an operating platform such as an Android operating system, an iOS (Apple operating system), and a Windows (Windows) series mobile operating system. The identifier is an identifier that can uniquely identify different applications, for example: the package name of the application, the original file name of the application or the version number of the application, the vendor identifier, and the like. The application in the foreground is also called an activated application or an activated application, and refers to an active application that the user currently switches to. Preferably, in the system service of the application platform, a service for recording information of an application in an activated state, the service may be retrieved through a system service interface of the mobile device. Therefore, when obtaining the identity of the application in the foreground of the mobile device, the service may be utilized to obtain the application in the foreground by listening to the system service interface of the mobile device and according to the information of the application in the foreground of the monitored mobile device. Identity. Preferably, in the above method, the identity of the changed application currently in the foreground may be acquired only when the application in the foreground is changed. Preferably, the scene function set parameter corresponding to the identity identifier is determined by the corresponding relationship between the saved identity identifier and the scene function set parameter, where the corresponding relationship is saved in the mobile device and/or the server, and the mobile device is In the case where the server-side military has the above-mentioned correspondence relationship, a certain synchronization rule may be set to synchronize the correspondence between the mobile device and the server. In this way, the scene function set parameters can be synchronized to the cloud (ie, the server), so that the scene function set parameters can be loaded on different mobile phones. Preferably, the embodiment further provides a method for automatically saving the correspondence between the identity identifier and the identity identifier according to the manual configuration of the user: before determining the scenario function set parameter corresponding to the identity identifier, the mobile device is also obtained in the foreground. The identity of the application, and the interface invoked by the monitoring application, obtain one or more parameters of the application to configure the operating platform of the mobile device; and then save the corresponding function of the scene function set parameter including the one or more parameters and the identity identifier relationship. The location where the correspondence is saved may also be in the current mobile device or in the server. Preferably, the scene function set parameter comprises at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area. For example: The scene function set parameters can be: parameters for adjusting the volume level, parameters for adjusting the pitch level, parameters for adjusting the size and shape of the display area, and the like. It should be noted that the parameters of the scenario function set are not limited to the parameters exemplified above, and may further include: control parameters for enabling/disabling functions of the application platform such as the wireless Internet access function, according to the application scenario of the application. , you can configure and select these parameters flexibly. The embodiment further provides an application platform configuration device, which is used to implement the application platform configuration method. The specific implementation process of the application platform configuration device described in the device embodiment has been detailed in the method embodiment. Description, no longer repeat here. 2 is a schematic structural diagram of an application platform configuration device according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a first obtaining module 22, a determining module 24, and a configuration module 26, wherein the first acquiring module 22, Set to obtain an identity of the application in the foreground of the mobile device; the determining module 24 is coupled to the first obtaining module 22, and configured to determine a scene function set parameter corresponding to the identity identifier, where the scenario function set parameter includes The application platform performs one or more parameters of the configuration; the configuration module 26 is coupled to the determination module 24, configured to configure the application platform of the mobile device according to the scene function set parameters. The modules and units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described modules and units in this embodiment may also be disposed in a processor, for example, as follows: A processor includes a first obtaining module 22, a determining module 24, and a configuration module 26. The name of these modules does not constitute a limitation on the module itself in some cases. For example, the first obtaining module 22 may also be described as "a module that is set to acquire the identity of the application in the foreground in the mobile device". . FIG. 3 is a schematic diagram of a preferred structure of an application platform configuration apparatus according to an embodiment of the present invention. As shown in FIG. 3, the first acquisition module 22 includes: a monitoring unit 222, configured to monitor a system service interface of the mobile device; The obtaining unit 224 is coupled to the listening unit 222, and is configured to obtain the identity of the application in the foreground according to the information of the application in the foreground of the monitored mobile device. Preferably, the determining module 24 is configured to determine a scene function set parameter corresponding to the identity identifier by using a correspondence between the saved identity identifier and the scene function set parameter, where the correspondence relationship is saved in the mobile device and/or the server. FIG. 4 is a schematic diagram of a preferred structure of an application platform configuration apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus further includes: a second obtaining module 42 configured to acquire an application in the foreground of the mobile device. The third obtaining module 44 is configured to obtain one or more parameters configured by the application to the operating platform of the mobile device by listening to the interface invoked by the application; the saving module 46 is coupled to the second obtaining module 42 The third obtaining module 44 and the determining module 24 are configured to save a correspondence between the scene function set parameter including the one or more parameters and the identity identifier. Preferably, the scene function set parameter comprises at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area. Description and description are made below in conjunction with the preferred embodiments. The preferred embodiment provides a method for intelligent memory of a platform application scenario, which is used for intelligently remembering scene feature sets involved in different mobile phone applications, to solve how to intelligently memorize users to each application software. The scene feature set configuration, and the problem of intelligent configuration while the application is running. Thereby making the mobile phone more user-friendly and improving the user experience. The preferred embodiment relates to a method for memorizing settings of a scene function set of each application and actively configuring the values according to the memory when the application is called. The method for setting the scene function set of each application of the platform intelligent memory should provide the following functions:
1 ) 能够识别当前前台的应用程序, 获取应用的唯一标识符 (例如包名); 1) Identify the current foreground application and get the unique identifier of the application (such as the package name);
2) 获取用户对于前台应用所设置的场景功能集数据; 3 ) 将应用程序和场景功能集数据进行绑定, 并储存在手机的闪存 (flash) 中2) Obtain the scene function set data set by the user for the foreground application; 3) Bind the application and scene function set data, and store it in the flash memory of the mobile phone
(注: 手机的 flash相当于电脑的硬盘); (Note: The flash of the mobile phone is equivalent to the hard disk of the computer);
4) 在用户打开某一应用时, 获取应用程序的唯一标识符, 去 flash中查询是 否有储存该应用的场景功能集数据, 如果有, 进行智能配置。 图 5 是根据本发明实施例的平台化的手机应用场景智能记忆的装置的结构示意 图, 如图 5所示, 其中, 用户场景数据采集模块, 设置为采集用户对于应用的场景功能集设置; 监听应用模块, 设置为监听前台应用的变化以及应用的唯一标识符, 其原理是通 过 get (获取)系统服务的接口去获取应用唯一标识符, 记录下来, 当系统服务中的当 前应用唯一标识符的 set (设置) 接口被调用时, 监听应用模块就会去 get, 然后与记 录中的应用唯一标识符去比较, 如果有改变,便通知平台化场景功能集配置管理模块, 平台化场景功能集配置管理模块将应用标识符和场景功能集数据进行绑定, 存入平台 化场景数据存储模块中; 平台化场景功能集配置管理模块, 设置为根据应用标识符去平台化场景数据存储 模块中查询, 如果有该应用的配置, 便根据配置调用系统提供的各功能集的接口进行 配置, 没有则按照桌面应用 (即最初配置值) 进行配置。 图 6是根据本发明实施例的平台化的手机应用场景智能记忆的流程示意图, 图 7 是根据本发明实施例的平台化的手机应用场景智能读取的流程示意图, 如图 6和图 7 所示- 场景的记忆过程包括: 用户场景数据采集模块在监听到系统的功能集数据发生变 化时, 通知平台化场景功能集配置管理模块, 平台化场景功能集配置管理模块通过应 用监听模块来获取当前应用的唯一标识符, 将应用和场景功能集数据绑定存入平台化 场景数据存储模块中。 场景读取过程包括: 监听应用模块监听到当前应用发生变化时, 通知平台化场景 功能集配置管理模块, 同时将当前应用的唯一标识符传给平台化场景功能集配置管理 模块。 平台化场景功能集配置管理模块根据唯一标识符去存储模块查询是否有该应用 的场景存储值, 如有, 就根据场景值调用系统提供的各功能集的接口进行配置, 如果 没有, 就使用系统默认值配置。 下面以安卓平台调节游戏的音量值为例对上述优选实施例进行说明, 该过程包括 如下步骤: 步骤 1、 用户打开一游戏软件, 在设置中修改了音量值; 步骤 2、 用户场景数据采集模块监听音量的设置接口, 当音量的设置接口被调用 时, 用户场景数据采集模块发消息给平台化场景功能集配置管理模块, 同时将修改后 音量值作为参数传递过去; 步骤 3、 平台化场景功能集配置管理模块在收到用户场景数据采集模块的通知消 息后, 调用监听应用模块提供的接口去获取当前应用的包名 (唯一标识符); 步骤 4、监听模块通过 get系统服务的接口去获取应用包名, 并记录下来, 当系统 服务中用于写应用包名的 set接口被调用时, 监听应用模块就会去该接口 get包名, 然 后与记录中的包名比较, 如果不同, 便去通知平台化场景功能集配置管理模块; 步骤 5、 平台化场景功能集配置管理模块将当前应用的唯一标识符与音量值一一 对应, 组成数组, 存入平台化场景数据存储模块; 步骤 6、 监听应用模块监听当前应用的包名, 当包名发生变化时, 也即当前的前 台应用发生变化, 例如, 当发现当前应用由微信切换为音乐播放应用, 或者当前应用 由游戏应用切换为空闲态桌面时, 发消息通知平台化场景功能集配置管理模块, 同时 将目前应用的包名作为参数传递过去; 步骤 7、 平台化场景功能集配置管理模块根据包名去存储模块的数组中查询, 如 果有记录, 则会调用设置音量的系统接口进行相应的数值设置; 如果没有, 则按照桌 面应用 (launcher) 的值设置。 可见, 在上述优选实施例中提供的平台化的手机应用场景智能记忆的方法, 采用 平台化的记录用户对于手机上各个应用的场景功能集配置数据, 在用户下次调用该应 用时自动按照记忆中的配置对该应用的场景功能集进行配置; 同时还可以将手机记忆 的各类应用的场景功能集配置上传至云共享中, 以便用户更换手机后依旧可以通过云 同步按照他的使用习惯来进行手机应用的场景配置, 让用户在手机应用软件的使用过 程中有更加方便舒适的感觉, 同时也能提高手机的用户体验, 使手机更加人性化。 工业实用性 本发明实施例根据应用的身份标识确定对应的场景功能集参数, 并使用确定的场 景功能集参数对应用平台进行配置的方式, 解决了用户切换应用之后需要手动调整应 用平台的配置参数所导致的问题, 提升了用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上上述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 4) When the user opens an application, obtain a unique identifier of the application, and go to the flash to query whether there is a scene function set data for storing the application, and if so, perform intelligent configuration. FIG. 5 is a schematic structural diagram of a device for intelligently remembering a mobile phone application scenario according to an embodiment of the present invention. As shown in FIG. 5, the user scene data collection module is configured to collect a set of scene function settings of the application for the user; The application module is set to listen for changes in the foreground application and the unique identifier of the application. The principle is to obtain the application unique identifier through the interface of the get system, and record the unique identifier of the current application in the system service. When the interface is called, the listening application module will go to get, and then compare with the application unique identifier in the record. If there is a change, notify the platformized scene function set configuration management module, platformized scene function set configuration The management module binds the application identifier and the scene function set data, and stores the data in the platformized scene data storage module; The platformized scene function set configuration management module is configured to perform a query in the platform data storage module according to the application identifier. If there is a configuration of the application, the interface of each function set provided by the system is configured according to the configuration, and no The desktop application (that is, the initial configuration value) is configured. FIG. 6 is a schematic flowchart of a platformized mobile application scenario smart memory according to an embodiment of the present invention, and FIG. 7 is a schematic flowchart of a platformized mobile application scenario intelligent reading according to an embodiment of the present invention, as shown in FIG. 6 and FIG. The memory process of the scene-scenario includes: the user scene data collection module notifies the platformized scene function set configuration management module when the function set data of the system is changed, and the platform-based scene function set configuration management module obtains the current through the application monitoring module. The unique identifier of the application, and the application and the scene function set data binding are stored in the platformized scene data storage module. The scenario reading process includes: when the monitoring application module monitors the current application change, notifies the platformized scene function set configuration management module, and transmits the unique identifier of the current application to the platformized scene function set configuration management module. The platformized scene function set configuration management module stores the module according to the unique identifier to query whether there is a scene storage value of the application, and if so, invokes an interface of each function set provided by the system according to the scene value, and if not, uses the system. Default configuration. The following describes the preferred embodiment by adjusting the volume value of the game on the Android platform. The process includes the following steps: Step 1. The user opens a game software, and the volume value is modified in the setting; Step 2. The user scene data acquisition module The monitoring volume setting interface, when the volume setting interface is called, the user scene data collecting module sends a message to the platformized scene function set configuration management module, and transmits the modified volume value as a parameter; Step 3, the platformized scene function After receiving the notification message of the user scene data collection module, the set configuration management module calls the interface provided by the monitoring application module to obtain the package name (unique identifier) of the current application; Step 4: The listening module obtains the interface of the get system service. The application package name is recorded, and when the set interface for writing the application package name in the system service is called, the listening application module will go to the interface get package name, and then compare with the package name in the record, if different, To notify the platformized scene function set configuration management module; Step 5, level Scene feature set of configuration management module identifier with a unique value of one to one volume of the current application, the composition of the array, stored in the scene data storing module platform; Step 6: The monitoring application module monitors the current application package name, and when the package name changes, that is, the current foreground application changes, for example, when the current application is found to be switched from the WeChat to the music playing application, or the current application is switched by the game application. When the desktop is idle, the platform is configured to notify the platformized feature set configuration management module, and the current application package name is passed as a parameter; Step 7. The platformized scene function set configuration management module stores the array of modules according to the package name. Query, if there is a record, the system interface that sets the volume is called to set the corresponding value; if not, it is set according to the value of the desktop application (launcher). It can be seen that the method for intelligent memory of the platformized mobile application scenario provided in the above preferred embodiment uses the platform to record the configuration data of the scene function set of each application on the mobile phone, and automatically remembers the next time the user invokes the application. The configuration in the application configures the scene feature set of the application; at the same time, the scene function set configuration of various applications memorized by the mobile phone can be uploaded to the cloud sharing, so that the user can still follow the usage habit through the cloud synchronization after the user replaces the mobile phone. The scene configuration of the mobile phone application allows the user to have a more convenient and comfortable feeling during the use of the mobile application software, and at the same time, can improve the user experience of the mobile phone and make the mobile phone more humanized. Industrial Applicability The embodiment of the present invention determines the corresponding scene function set parameter according to the identity of the application, and configures the application platform by using the determined scene function set parameter, and solves the need to manually adjust the configuration parameter of the application platform after the user switches the application. The resulting problem enhances the user experience. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种应用平台化配置方法, 包括: 1. An application platform configuration method, including:
获取移动设备中处于前台的应用的身份标识;  Obtaining the identity of the application in the foreground in the mobile device;
确定与所述身份标识对应的场景功能集参数, 其中, 所述场景功能集参数 包括用于对所述移动设备的应用平台进行配置的一个或多个参数;  And determining, by the scenario function set parameter, one or more parameters for configuring an application platform of the mobile device;
根据所述场景功能集参数, 配置所述移动设备的应用平台。  And configuring an application platform of the mobile device according to the scenario function set parameter.
2. 根据权利要求 1所述的方法, 其中, 获取所述移动设备中处于前台的应用的身 份标识包括: 2. The method according to claim 1, wherein obtaining the identity identifier of the application in the foreground in the mobile device comprises:
监听所述移动设备的系统服务接口;  Monitoring a system service interface of the mobile device;
根据监听到的所述移动设备中处于前台的应用的信息, 获取处于前台的应 用的身份标识。  Obtaining the identity of the application in the foreground according to the monitored information of the application in the foreground of the mobile device.
3. 根据权利要求 1所述的方法, 其中, 确定与所述身份标识对应的所述场景功能 集参数包括: The method according to claim 1, wherein determining the scene function set parameter corresponding to the identity identifier comprises:
通过保存的身份标识与场景功能集参数的对应关系, 确定与所述身份标识 对应的所述场景功能集参数, 其中, 所述对应关系保存在所述移动设备和 /或服 务端中。  The scene function set parameter corresponding to the identity identifier is determined by the corresponding relationship between the saved identity identifier and the scene function set parameter, where the correspondence relationship is saved in the mobile device and/or the service end.
4. 根据权利要求 1至 3中任一项所述的方法, 其中, 在确定与所述身份标识对应 的场景功能集参数之前, 所述方法还包括: The method according to any one of claims 1 to 3, wherein, before determining the scene function set parameter corresponding to the identity identifier, the method further includes:
获取所述移动设备中处于前台的所述应用的所述身份标识; 通过监听所述应用调用的接口, 获取所述应用对所述移动设备的操作平台 进行配置的一个或多个参数;  Obtaining the identity identifier of the application in the foreground in the mobile device; and acquiring one or more parameters configured by the application to configure an operation platform of the mobile device by listening to an interface invoked by the application;
保存包括该一个或多个参数的场景功能集参数与所述身份标识的对应关 系。  A correspondence between the scene function set parameters including the one or more parameters and the identity is saved.
5. 根据权利要求 1至 3中任一项所述的方法, 其中, 所述场景功能集参数包括以 下至少之一的参数: 音量、 音调、 屏幕亮度、 屏幕对比度、 字体、 显示区域。 The method according to any one of claims 1 to 3, wherein the scene function set parameter comprises at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area.
6. 一种应用平台化配置装置, 包括: 第一获取模块, 设置为获取移动设备中处于前台的应用的身份标识; 确定模块, 设置为确定与所述身份标识对应的场景功能集参数, 其中, 所 述场景功能集参数包括用于对所述移动设备的应用平台进行配置的一个或多个 参数; 6. An application platform configuration device, comprising: a first acquiring module, configured to acquire an identity of an application in the foreground of the mobile device, and a determining module, configured to determine a scene function set parameter corresponding to the identity identifier, where the scenario function set parameter includes One or more parameters of the configuration platform of the mobile device;
配置模块, 设置为根据所述场景功能集参数, 配置所述移动设备的应用平 台  a configuration module, configured to configure an application platform of the mobile device according to the scenario function set parameter
7. 根据权利要求 6所述的装置, 其中, 所述第一获取模块包括: The device according to claim 6, wherein the first acquiring module comprises:
监听单元, 设置为监听所述移动设备的系统服务接口;  a listening unit, configured to monitor a system service interface of the mobile device;
获取单元, 设置为根据监听到的所述移动设备中处于前台的应用的信息, 获取处于前台的应用的身份标识。  And an obtaining unit, configured to obtain an identity of the application in the foreground according to the monitored information of the application in the foreground of the mobile device.
8. 根据权利要求 6所述的装置, 其中, 所述确定模块, 设置为通过保存的身份标 识与场景功能集参数的对应关系, 确定与所述身份标识对应的所述场景功能集 参数, 其中, 所述对应关系保存在所述移动设备和 /或服务端中。 The device according to claim 6, wherein the determining module is configured to determine the scene function set parameter corresponding to the identity identifier by using a correspondence between the saved identity identifier and the scene function set parameter, where The correspondence is saved in the mobile device and/or the server.
9. 根据权利要求 6至 8中任一项所述的装置, 其中, 所述装置还包括: 第二获取模块, 设置为获取所述移动设备中处于前台的所述应用的所述身 份标识; The device according to any one of claims 6 to 8, wherein the device further comprises: a second obtaining module, configured to acquire the identity identifier of the application in the foreground in the mobile device;
第三获取模块, 设置为通过监听所述应用调用的接口, 获取所述应用对所 述移动设备的操作平台进行配置的一个或多个参数;  a third obtaining module, configured to obtain one or more parameters configured by the application for the operating platform of the mobile device by listening to an interface invoked by the application;
保存模块, 设置为保存包括该一个或多个参数的场景功能集参数与所述身 份标识的对应关系。  The saving module is configured to save a correspondence between the scene function set parameter including the one or more parameters and the identity identifier.
10. 根据权利要求 6至 8中任一项所述的装置, 其中, 所述场景功能集参数包括以 下至少之一的参数: 音量、 音调、 屏幕亮度、 屏幕对比度、 字体、 显示区域。 The apparatus according to any one of claims 6 to 8, wherein the scene function set parameter comprises at least one of the following parameters: volume, pitch, screen brightness, screen contrast, font, display area.
PCT/CN2014/072079 2013-09-12 2014-02-14 Application platform-level configuration method and device WO2014134998A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310415901.2 2013-09-12
CN201310415901.2A CN104461700A (en) 2013-09-12 2013-09-12 Application platform configuring method and device

Publications (1)

Publication Number Publication Date
WO2014134998A1 true WO2014134998A1 (en) 2014-09-12

Family

ID=51490616

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072079 WO2014134998A1 (en) 2013-09-12 2014-02-14 Application platform-level configuration method and device

Country Status (2)

Country Link
CN (1) CN104461700A (en)
WO (1) WO2014134998A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959530A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Method and system for invoking a camera function according to an individualized property of an application
CN106502540B (en) * 2016-10-26 2020-02-25 北京奇虎科技有限公司 Method and device for customizing functions in main application interface by using floating window
CN110569069A (en) * 2018-06-06 2019-12-13 海能达通信股份有限公司 Configuration management method, configuration management system and device with storage function
CN111381897B (en) * 2018-12-28 2024-05-17 北京字节跳动网络技术有限公司 Interface calling method and device, mobile terminal and storage medium
CN113225429B (en) * 2021-05-19 2022-08-30 Tcl通讯(宁波)有限公司 Display effect optimization method and system and intelligent terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149757A (en) * 2007-11-09 2008-03-26 腾讯科技(深圳)有限公司 Method for accomplishing scene style word input
US20120303589A1 (en) * 2010-02-09 2012-11-29 Zte Corporation Method and Device for Mobile Terminal Scene Management and Backup Recovery
CN102959547A (en) * 2012-05-03 2013-03-06 华为技术有限公司 Word bank adjusting method and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929650A (en) * 2012-07-11 2013-02-13 北京金山安全软件有限公司 Method and device for independently configuring application program running environment and mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149757A (en) * 2007-11-09 2008-03-26 腾讯科技(深圳)有限公司 Method for accomplishing scene style word input
US20120303589A1 (en) * 2010-02-09 2012-11-29 Zte Corporation Method and Device for Mobile Terminal Scene Management and Backup Recovery
CN102959547A (en) * 2012-05-03 2013-03-06 华为技术有限公司 Word bank adjusting method and equipment

Also Published As

Publication number Publication date
CN104461700A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
US10762105B2 (en) Extensible application state preservation architecture
US9825801B1 (en) Systems and methods for using seektables to stream media items
KR102040754B1 (en) Interaction method, terminal and server based on recommended content
EP3890289B1 (en) Screen locking method and mobile terminal
US9189130B2 (en) Application shortcut user interface systems and methods
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
CN104902316B (en) Method, device, intelligent sound box and the mobile terminal of synchronous reproduction time
US20170171602A1 (en) Method and electronic device for controlling three stream video play
WO2014134998A1 (en) Application platform-level configuration method and device
JP2013537668A (en) Method and apparatus for automatic classification of applications in mobile terminals
US10206618B2 (en) Optimized visibility for sleep sessions over time
CN104427404A (en) Video segment extraction and play methods and devices
WO2015066999A1 (en) Terminal screen power saving method, device and terminal
CN105007053A (en) Audio play method and device
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
US20180096063A1 (en) Audio file acquisition and update notification sending method, device, and system
RU2676413C2 (en) Terminal and media file processing method
CN105868420A (en) Network resource loading mode configuration method and device
US10795633B2 (en) Desktop sharing method and mobile terminal
JP6223566B2 (en) Method and apparatus for processing mobile terminal applications
CN104615432B (en) Splash screen information processing method and client
JP5132825B1 (en) Game management server device, game management server device program, and terminal device program
CN113163255A (en) Video playing method, device, terminal and storage medium
US10291740B2 (en) Method and apparatus for determining application to be recommended
WO2015193748A1 (en) Information acquiring apparatus and method, and electronic device

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

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

Country of ref document: EP

Kind code of ref document: A1