WO2018209873A1 - 应用程序界面生成方法和装置 - Google Patents

应用程序界面生成方法和装置 Download PDF

Info

Publication number
WO2018209873A1
WO2018209873A1 PCT/CN2017/104476 CN2017104476W WO2018209873A1 WO 2018209873 A1 WO2018209873 A1 WO 2018209873A1 CN 2017104476 W CN2017104476 W CN 2017104476W WO 2018209873 A1 WO2018209873 A1 WO 2018209873A1
Authority
WO
WIPO (PCT)
Prior art keywords
comfort level
application interface
air data
color matching
generating
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/CN2017/104476
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.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment 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 GD Midea Air Conditioning Equipment Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Publication of WO2018209873A1 publication Critical patent/WO2018209873A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of information processing technologies, and in particular, to an application interface generation method and apparatus.
  • the interface of the application is freely set by the user.
  • the above method is difficult to have a good visual effect, or when the environment time changes, the operation is cumbersome and inconvenient for the user to use.
  • the object of the present invention is to solve at least one of the technical problems in the related art to some extent.
  • the first object of the present invention is to provide an application interface generation method for generating a corresponding application interface according to the comfort of a space environment, satisfying user requirements, and improving the user experience.
  • a second object of the present invention is to provide an application interface generating apparatus.
  • a third object of the present invention is to provide another application interface generating apparatus.
  • a fourth object of the present invention is to provide a non-transitory computer readable storage medium.
  • a fifth object of the present invention is to provide a computer program product.
  • the first aspect of the present invention provides an application interface generation method, including: acquiring air data obtained by detecting a target space; and generating a comfort level of the target space according to the air data. Wherein the comfort level is used to indicate a degree of comfort; querying a color matching rule corresponding to the comfort level; and generating an application interface that conforms to the color matching rule.
  • the application interface generation method of the embodiment of the present invention obtains the air data obtained by detecting the target space, and generates a comfort level of the target space according to the air data, and generates a matching color matching rule according to the color matching rule corresponding to the comfort level.
  • the application interface thereby realizing the generation of the corresponding application interface according to the comfort of the space environment, satisfies the user's needs and improves the user experience.
  • the second aspect of the present invention provides an application interface generating apparatus, including: an obtaining module, configured to acquire air data obtained by detecting a target space; and a first generating module, configured to Number of air And generating a comfort level of the target space; wherein the comfort level is used to indicate a comfort level; the query module is configured to query a color matching rule corresponding to the comfort level; and the second generating module is configured to generate a match The application interface of the color matching rule.
  • the application interface generating apparatus of the embodiment of the present invention obtains the air data obtained by detecting the target space, and generates a comfort level of the target space according to the air data, and generates a matching color matching rule according to the color matching rule corresponding to the comfort level.
  • the application interface thereby realizing the generation of the corresponding application interface according to the comfort of the space environment, satisfies the user's needs and improves the user experience.
  • a third aspect of the present invention provides another application interface generating apparatus, including: a processor; a memory for storing the processor executable instructions; wherein the processor is configured to Obtaining air data obtained by detecting the target space; generating a comfort level of the target space according to the air data; wherein the comfort level is used to indicate a comfort level; and querying a color matching corresponding to the comfort level Rules; generate an application interface that conforms to the color matching rules.
  • a fourth aspect of the present invention provides a non-transitory computer readable storage medium capable of executing an application interface generation method when an instruction in the storage medium is executed by a processor
  • the method includes: acquiring air data obtained by detecting a target space; generating a comfort level of the target space according to the air data; wherein the comfort level is used to indicate a comfort level; and querying the comfort The color matching rule corresponding to the degree level; generating an application interface that conforms to the color matching rule.
  • a fifth aspect of the present invention provides a computer program product, when an instruction processor in the computer program product executes, executing an application interface generation method, the method comprising: acquiring a pair The target space is detected by the air data; according to the air data, a comfort level of the target space is generated; wherein the comfort level is used to indicate a comfort level; and a color matching rule corresponding to the comfort level is queried; generating An application interface that conforms to the color matching rules.
  • FIG. 1 is a schematic flowchart of a method for generating an application program interface according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another application interface generation method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of still another method for generating an application interface according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an application program interface generating apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a first generation module according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another first generation module according to an embodiment of the present invention.
  • the application program in the embodiment of the present invention is installed on the terminal device, and may include, but is not limited to, one or more of a tablet computer, a mobile phone, and a smart wear device.
  • FIG. 1 is a schematic flowchart diagram of a method for generating an application interface according to an embodiment of the present invention. As shown in FIG. 1, the application interface generation method includes the following steps:
  • Step 101 Acquire air data obtained by detecting the target space.
  • the target space may be an office, a bedroom, a movie theater, and the like.
  • the target space is installed with many devices, such as household appliances, computers, etc., and multiple sensors (such as temperature sensors, humidity sensors, etc.) can be disposed in one or more of the above devices, thereby obtaining The air data obtained by the sensor detecting the target space.
  • the user opens the application and obtains the air data of the target space uploaded by the temperature sensor and the humidity sensor through the server as temperature and humidity.
  • Step 102 Generate a comfort level of the target space according to the air data; wherein the comfort level is used to indicate the comfort level.
  • the target range in which the air data is located is determined, and according to the target range in which the air data is located, the correspondence between the data range and the comfort level is queried, and the comfort level corresponding to the air data is obtained.
  • the air data is at least two, including: temperature, humidity, and/or pollutant concentration, respectively querying a comfort level corresponding to the at least two air data, and weighting the comfort level corresponding to the at least two air data. On average, get the comfort level of the target space.
  • comfort level is used to indicate the comfort level. It can also be understood that the comfort level is 1 level for the most comfortable, the comfort level is level 2 for comfort... the highest level for the comfort level is the most uncomfortable. . It is also understandable that Comfort level 1 indicates the most uncomfortable, comfort level 2 is uncomfortable... The highest level of comfort level is the most comfortable.
  • the comfort level is used to indicate that the degree of comfort can be selected according to the actual application or user habits.
  • Step 103 query the color matching rule corresponding to the comfort level.
  • Step 104 Generate an application interface that conforms to the color matching rule.
  • different comfort levels are stored in advance corresponding to different color matching rules, and after the corresponding color matching rules are queried according to the generated comfort level, an application interface conforming to the color matching rules is generated.
  • Table 1 is the correspondence table between the comfort level and the color matching rules.
  • Comfort level Color matching rules 1 0xFF000001 2 0xFF000002 3 0xFF000003 4 0xFF000004 5 0xFF000005 6 0xFF000006 7 0xFF000007
  • color matching rules indicate different elements.
  • “0xFF000001” in Table 1 is an element of the color matching rule, and “0xFF000001” can be used to replace the background in the application interface when the comfort level is level 1. , text format and / or controls to get an application interface that meets the color matching rules.
  • the background, the text format and/or the control in the application interface described above are not limited, and the replaceable object may be added or deleted as needed.
  • the application interface generation method of the embodiment of the present invention obtains the air data obtained by detecting the target space, and generates the comfort level of the target space according to the air data, and selects the color matching rule corresponding to the comfort level. Finally, an application interface conforming to the color matching rule is generated, thereby realizing the corresponding application interface according to the comfort of the space environment, satisfying the user's demand and improving the user experience.
  • FIG. 2 is a schematic flowchart diagram of another application interface generation method according to an embodiment of the present invention. As shown in FIG. 2, the application interface generation method includes the following steps:
  • Step 201 Determine, from each data range, a target range in which the air data is located.
  • Step 202 Query the correspondence between the data range and the comfort level according to the target range in which the air data is located, and obtain a comfort level corresponding to the air data.
  • the comfort level corresponds to a data range of different air data.
  • the target range of the air data is determined from each data range [27, 28], and the target range is [27,28]
  • the corresponding comfort level is 2, thereby determining that the corresponding comfort level is 2 when the temperature is 27 degrees; and determining the target range of the air data from each data range when the humidity is 10%, for example.
  • the target range is [10%, 15%] corresponding to a comfort level of 4, thereby determining a corresponding comfort level of 4 when the humidity is 10%.
  • FIG. 3 is a schematic flowchart diagram of still another method for generating an application interface according to an embodiment of the present invention. As shown in FIG. 3, the application interface generation method includes the following steps:
  • Step 301 Query a comfort level corresponding to at least two air data.
  • Step 302 Perform weighted averaging on the comfort levels corresponding to the at least two air data to obtain a comfort level of the target space.
  • the air data is at least two, including: temperature, humidity, and/or concentration of pollutants.
  • the weighted average of the comfort levels corresponding to the at least two air data is obtained, and there are many ways to obtain the comfort level of the target space, which can be selected according to actual application requirements, as an example, for at least two air data.
  • the corresponding comfort level is weighted averaged, and the comfort level closest to the weighted average calculation result is used as the comfort level of the target space.
  • the comfort level corresponds to a data range of different air data, and is specifically described below in conjunction with Table 2 for ease of understanding:
  • Table 2 is the correspondence table between the comfort level and the data range of the air data.
  • User A's current home temperature is 26 degrees
  • humidity is 20%
  • Pm2.5 concentration is 15 milligrams per cubic meter.
  • the user's temperature comfort is 1 by query table 2, and the humidity is comfortable.
  • the degree is 2
  • the Pm2.5 comfort is 2
  • use 0xFF000002 in Table 1 to configure the application interface.
  • the comfort level is obtained by calculation through a plurality of air data, thereby further improving the user experience.
  • the present invention also provides an application interface generating apparatus.
  • FIG. 4 is a schematic structural diagram of an apparatus for generating an application interface according to an embodiment of the present invention.
  • the application interface generating apparatus includes: an obtaining module 11, a first generating module 12, a querying module 13, and a second generating module 14.
  • the obtaining module 11 is configured to acquire air data obtained by detecting the target space.
  • the first generation module 12 is configured to generate a comfort level of the target space according to the air data; wherein the comfort level is used to indicate the comfort level.
  • the query module 13 is configured to query a color matching rule corresponding to the comfort level.
  • the second generating module 14 is configured to generate an application interface that conforms to the color matching rule.
  • FIG. 5 is a schematic structural diagram of a first generation module according to an embodiment of the present invention.
  • the first generation module 12 includes: a determining unit 121 and a first query unit 122.
  • the determining unit 121 is configured to determine, from each data range, a target range in which the air data is located.
  • the first query unit 122 is configured to query a correspondence between the data range and the comfort level according to the target range in which the air data is located, and obtain a comfort level corresponding to the air data.
  • FIG. 6 is a schematic structural diagram of another first generation module according to an embodiment of the present invention.
  • the first generation module 12 includes: a second query unit 123 and a processing unit 124.
  • the second query unit 123 is configured to query the comfort level corresponding to the at least two air data when the air data is at least two, including: temperature, humidity, and/or pollutant concentration.
  • the processing unit 124 is configured to perform weighted averaging on the comfort level corresponding to the at least two air data to obtain a comfort level of the target space.
  • the processing unit 124 is specifically configured to weight the comfort level corresponding to the at least two air data In each case, the comfort level closest to the calculation result of the weighted average is used as the comfort level of the target space.
  • the second generating module 14 is specifically configured to query an element indicated by the color matching rule, and use an element to replace the background, the text format, and/or the control in the application interface to obtain an application interface that meets the color matching rule.
  • the application interface generating apparatus of the embodiment of the present invention acquires the air data obtained by detecting the target space, and generates a comfort level of the target space according to the air data, and selects a color matching rule corresponding to the comfort level. Finally, an application interface conforming to the color matching rule is generated, thereby realizing the corresponding application interface according to the comfort of the space environment, satisfying the user's demand and improving the user experience.
  • the present invention also provides another application interface generating apparatus, comprising: a processor, and a memory for storing the processor executable instructions.
  • the processor is configured to: acquire air data obtained by detecting the target space; generate a comfort level of the target space according to the air data; wherein the comfort level is used to indicate the comfort level; and the color matching rule corresponding to the query comfort level ; Generate an application interface that conforms to the color matching rules.
  • the present invention also provides a non-transitory computer readable storage medium, enabling execution of an application interface generation method when instructions in the storage medium are executed by a processor, the method
  • the method includes: acquiring air data obtained by detecting the target space; and generating a comfort level of the target space according to the air data; wherein the comfort level is used to indicate the comfort level; the color matching rule corresponding to the comfort level is searched; and the color matching rule is generated according to the color matching rule.
  • the present invention further provides a computer program product, when an instruction processor in the computer program product executes, executing an application interface generation method, the method comprising: acquiring a target space for detection The obtained air data; according to the air data, a comfort level of the target space is generated; wherein the comfort level is used to indicate the comfort level; the color matching rule corresponding to the comfort level is searched; and the application interface conforming to the color matching rule is generated.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” can be clearly indicated Or implicitly including at least one of the features. In the description of the present invention, the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware and in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated module can also be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Quality.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Air Conditioning Control Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种应用程序界面生成方法和装置,其中,方法包括:获取对目标空间进行检测得到的空气数据(101);根据空气数据,生成目标空间的舒适度等级;其中,舒适度等级用于指示舒适程度(102);查询舒适度等级对应的配色规则(103);生成符合配色规则的应用程序界面(104)。由此,实现根据空间环境的舒适度生成对应的应用程序界面,满足了用户需求,提升了用户使用体验。

Description

应用程序界面生成方法和装置
相关申请的交叉引用
本申请要求广东美的制冷设备有限公司于2017年05月17日提交的、发明名称为“应用程序界面生成方法和装置”的、中国专利申请号“201710348335.6”的优先权。
技术领域
本发明涉及信息处理技术领域,尤其涉及一种应用程序界面生成方法和装置。
背景技术
目前,用户对于应用软件的需求,不仅仅局限于应用程序的功能,还包括对应用程序的外观。因此,应用程序的界面设计越来越重。
相关技术中,通过用户对应用程序的界面进行自由设置,配置出的界面。然而,上述方式很难具有好的视觉效果,或者在环境时刻变化时,操作繁琐,不方便用户使用。
发明内容
本发明的目的旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本发明的第一个目的在于提出一种应用程序界面生成方法,以实现根据空间环境的舒适度生成对应的应用程序界面,满足了用户需求,提升了用户使用体验。
本发明的第二个目的在于提出一种应用程序界面生成装置。
本发明的第三个目的在于提出另一种应用程序界面生成装置。
本发明的第四个目的在于提出一种非临时性计算机可读存储介质。
本发明的第五个目的在于提出一种计算机程序产品。
为达上述目的,本发明第一方面实施例提出了一种应用程序界面生成方法,包括:获取对目标空间进行检测得到的空气数据;根据所述空气数据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;查询所述舒适度等级对应的配色规则;生成符合所述配色规则的应用程序界面。
本发明实施例的应用程序界面生成方法,通过获取对目标空间进行检测得到的空气数据,并根据空气数据生成目标空间的舒适度等级,从查询舒适度等级对应的配色规则,最后生成符合配色规则的应用程序界面,由此,实现根据空间环境的舒适度生成对应的应用程序界面,满足了用户需求,提升了用户使用体验。
为达上述目的,本发明第二方面实施例提出了一种应用程序界面生成装置,包括:获取模块,用于获取对目标空间进行检测得到的空气数据;第一生成模块,用于根据所述空气数 据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;查询模块,用于查询所述舒适度等级对应的配色规则;第二生成模块,用于生成符合所述配色规则的应用程序界面。
本发明实施例的应用程序界面生成装置,通过获取对目标空间进行检测得到的空气数据,并根据空气数据生成目标空间的舒适度等级,从查询舒适度等级对应的配色规则,最后生成符合配色规则的应用程序界面,由此,实现根据空间环境的舒适度生成对应的应用程序界面,满足了用户需求,提升了用户使用体验。
为达上述目的,本发明第三方面实施例提出了另一种应用程序界面生成装置,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为:获取对目标空间进行检测得到的空气数据;根据所述空气数据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;查询所述舒适度等级对应的配色规则;生成符合所述配色规则的应用程序界面。
为了实现上述目的,本发明第四方面实施例提出了一种非临时性计算机可读存储介质,当所述存储介质中的指令由处理器被执行时,使得能够执行一种应用程序界面生成方法,所述方法包括:获取对目标空间进行检测得到的空气数据;根据所述空气数据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;查询所述舒适度等级对应的配色规则;生成符合所述配色规则的应用程序界面。
为了实现上述目的,本发明第五方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种应用程序界面生成方法,所述方法包括:获取对目标空间进行检测得到的空气数据;根据所述空气数据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;查询所述舒适度等级对应的配色规则;生成符合所述配色规则的应用程序界面。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本发明实施例所提供的一种应用程序界面生成方法的流程示意图;
图2为本发明实施例所提供的另一种应用程序界面生成方法的流程示意图;
图3为本发明实施例所提供的又一种应用程序界面生成方法的流程示意图;
图4为本发明实施例提供的一种应用程序界面生成装置的结构示意图;
图5为本发明实施例提供的一种第一生成模块的结构示意图;
图6为本发明实施例提供的另一种第一生成模块的结构示意图。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。
下面参考附图描述本发明实施例的应用程序界面生成方法和装置。
需要说明的是,本发明实施例中的应用程序安装在终端设备上,可以包括但不限于平板电脑、手机和智能佩戴设备等中的一种或者多种。
图1为本发明实施例所提供的一种应用程序界面生成方法的流程示意图。如图1所示,该应用程序界面生成方法包括以下步骤:
步骤101,获取对目标空间进行检测得到的空气数据。
具体地,目标空间可以是办公室、卧室和电影院等等。在实际应用中,目标空间安装有很多设备,比如家用电器、电脑等等,可以将多个传感器(比如温度传感器、湿度传感器等等)设置在上述一个或者多个设备中,由此可以获取通过传感器对目标空间进行检测得到的空气数据。
其中,空气数据有很多种,可以根据实际应用需要进行检测获取,比如温度、湿度和污染物浓度等。
作为一种场景实现,用户打开应用程序,通过服务器获取温度传感器和湿度传感器上传的目标空间的空气数据为温度和湿度。
步骤102,根据空气数据,生成目标空间的舒适度等级;其中,舒适度等级用于指示舒适程度。
具体地,根据空气数据,生成目标空间的舒适度等级的方式有很多种,可以根据实际应用需要进行选择设置,举例说明如下:
第一种示例,从各数据范围中,确定空气数据所处的目标范围,根据空气数据所处的目标范围,查询数据范围与舒适度等级之间的对应关系,得到空气数据对应的舒适度等级。
第二种示例,空气数据为至少两个,包括:温度、湿度和/或污染物浓度,分别查询至少两个空气数据对应的舒适度等级,对至少两个空气数据对应的舒适度等级进行加权平均,得到目标空间的舒适度等级。
需要说明的是,舒适度等级用于指示舒适程度,也可以理解的是,舒适度等级为1级表示最舒适,舒适度等级为2级舒适…到舒适度等级最高的一级为最不舒适。还可以理解的是, 舒适度等级1级表示最不舒适,舒适度等级为2级不舒适…到舒适度等级最高的一级为最舒适。
由此,舒适度等级用于指示舒适程度可以根据实际应用或者用户习惯等进行选择设置。
步骤103,查询舒适度等级对应的配色规则.
步骤104,生成符合配色规则的应用程序界面。
具体地,预先存储不同的舒适度等级对应不同的配色规则,根据生成的舒适度等级查询到其对应的配色规则后,生成符合配色规则的应用程序界面。
其中,为了本领域人员更加清楚舒适度等级与配色规则的关系,下面结合表1具体说明如下:
表1为舒适度等级与配色规则的关系对应表
舒适度等级 配色规则
1 0xFF000001
2 0xFF000002
3 0xFF000003
4 0xFF000004
5 0xFF000005
6 0xFF000006
7 0xFF000007
由此,从表1可以看出不同的舒适度等级对应的配色规则不同,比如“舒适度等级1”对应的“0xFF000001”…等等。
其中,生成符合配色规则的应用程序界面有很多种方式,可以根据实际应用需要进行选择设置,作为一种示例,查询配色规则所指示的元素,利用元素,对应替换应用程序界面中的背景、文本格式和/或控件,得到符合配色规则的应用程序界面。
可理解的是,不同的配色规则指示的元素不同,比如表1的“0xFF000001”为配色规则的一种元素,可以在舒适度等级为1级时选用“0xFF000001”对应替换应用程序界面中的背景、文本格式和/或控件,得到符合配色规则的应用程序界面。
其中,不限于上述描述的应用程序界面中的背景、文本格式和/或控件,可以根据需要进行增加或者删减可以替换的对象。
综上所述,本发明实施例的应用程序界面生成方法,通过获取对目标空间进行检测得到的空气数据,并根据空气数据生成目标空间的舒适度等级,从查询舒适度等级对应的配色规则,最后生成符合配色规则的应用程序界面,由此,实现根据空间环境的舒适度生成对应的应用程序界面,满足了用户需求,提升了用户使用体验。
基于以上实施例,为了更加清楚的描述如何根据空气数据,生成目标空间的舒适度等级,通过图2和图3所示实施例具体说明如下:
图2为本发明实施例所提供的另一种应用程序界面生成方法的流程示意图。如图2所示,该应用程序界面生成方法包括以下步骤:
步骤201,从各数据范围中,确定空气数据所处的目标范围。
步骤202,根据空气数据所处的目标范围,查询数据范围与舒适度等级之间的对应关系,得到空气数据对应的舒适度等级。
具体地,舒适度等级对应不同的空气数据的数据范围,在确定空气数据比如温度为27度时,从各数据范围中,确定空气数据所处的目标范围为[27,28],目标范围为[27,28]对应的舒适度等级为2,由此确定温度为27度时对应的舒适度等级为2;再比如湿度为10%时从各数据范围中,确定空气数据所处的目标范围为[10%,15%],目标范围为[10%,15%]对应的舒适度等级为4,由此确定湿度为10%时对应的舒适度等级为4等等。
需要说明的是,本实施例主要针对空气数据为单个的情况下,如何确定舒适度度等级的。
图3为本发明实施例所提供的又一种应用程序界面生成方法的流程示意图。在如图3所示,该应用程序界面生成方法包括以下步骤:
步骤301,分别查询至少两个空气数据对应的舒适度等级。
步骤302,对至少两个空气数据对应的舒适度等级进行加权平均,得到目标空间的舒适度等级。
本实施例中,空气数据为至少两个,包括:温度、湿度和/或污染物浓度。
其中,对至少两个空气数据对应的舒适度等级进行加权平均,得到目标空间的舒适度等级的方式有很多种,可以根据实际应用需要进行选择设置,作为一种示例,对至少两个空气数据对应的舒适度等级进行加权平均,将与加权平均的计算结果最接近的舒适度等级,作为目标空间的舒适度等级。
需要说明的是,还可以根据用户的需求对不同的空气数据赋予不同的权重进行计算,从而进一步满足用户个性化需求。
具体地,舒适度等级对应不同的空气数据的数据范围,为了便于理解结合表2具体说明如下:
表2为舒适度等级与空气数据的数据范围的关系对应表
Figure PCTCN2017104476-appb-000001
Figure PCTCN2017104476-appb-000002
具体地,空气数据有很多种,比如表2中选择温度、湿度和Pm2.5浓度即污染物浓度,根据其不同的数据范围确定其舒适度等级。
作为一种可以实现的场景,用户A当前家庭的温度为26度,湿度为20%,Pm2.5浓度为15毫克每立方米,通过查询表2得知用户的温度舒适度为1,湿度舒适度为2,Pm2.5舒适度为2,通过计算得知用户的最终舒适度为1/3+2/3+2/3=5/3约等于2。则选用表1中的0xFF000002进行配置应用程序界面。
由此,通过多个空气数据进行计算获取舒适度等级,进一步提高用户使用体验。
为了实现上述实施例,本发明还提出一种应用程序界面生成装置。
图4为本发明实施例提供的一种应用程序界面生成装置的结构示意图。
如图4所示,该应用程序界面生成装置包括:获取模块11、第一生成模块12、查询模块13和第二生成模块14。
其中,获取模块11,用于获取对目标空间进行检测得到的空气数据。
第一生成模块12,用于根据空气数据,生成目标空间的舒适度等级;其中,舒适度等级用于指示舒适程度。
查询模块13,用于查询舒适度等级对应的配色规则。
第二生成模块14,用于生成符合配色规则的应用程序界面。
图5为本发明实施例提供的一种第一生成模块的结构示意图。第一生成模块12包括:确定单元121、第一查询单元122。
其中,确定单元121,用于从各数据范围中,确定空气数据所处的目标范围。
第一查询单元122,用于根据空气数据所处的目标范围,查询数据范围与舒适度等级之间的对应关系,得到空气数据对应的舒适度等级。
图6为本发明实施例提供的另一种第一生成模块的结构示意图。第一生成模块12包括:第二查询单元123、处理单元124。
其中,第二查询单元123,用于在空气数据为至少两个,包括:温度、湿度和/或污染物浓度时,分别查询至少两个空气数据对应的舒适度等级。
处理单元124,用于对至少两个空气数据对应的舒适度等级进行加权平均,得到目标空间的舒适度等级。
进一步地,处理单元124,具体用于对至少两个空气数据对应的舒适度等级进行加权平 均,将与加权平均的计算结果最接近的舒适度等级,作为目标空间的舒适度等级。
进一步地,第二生成模块14,具体用于查询配色规则所指示的元素,利用元素,对应替换应用程序界面中的背景、文本格式和/或控件,得到符合配色规则的应用程序界面。
需要说明的是,前述对应用程序界面生成方法实施例的解释说明也适用于该实施例的应用程序界面生成装置,此处不再赘述。
综上所述,本发明实施例的应用程序界面生成装置,通过获取对目标空间进行检测得到的空气数据,并根据空气数据生成目标空间的舒适度等级,从查询舒适度等级对应的配色规则,最后生成符合配色规则的应用程序界面,由此,实现根据空间环境的舒适度生成对应的应用程序界面,满足了用户需求,提升了用户使用体验。
为了实现上述实施例,本发明还提出另一种应用程序界面生成装置,包括:处理器,以及用于存储所述处理器可执行指令的存储器。
其中,处理器被配置为:获取对目标空间进行检测得到的空气数据;根据空气数据,生成目标空间的舒适度等级;其中,舒适度等级用于指示舒适程度;查询舒适度等级对应的配色规则;生成符合配色规则的应用程序界面。
为了实现上述实施例,本发明还提出一种非临时性计算机可读存储介质,当所述存储介质中的指令由处理器被执行时,使得能够执行一种应用程序界面生成方法,所述方法包括:获取对目标空间进行检测得到的空气数据;根据空气数据,生成目标空间的舒适度等级;其中,舒适度等级用于指示舒适程度;查询舒适度等级对应的配色规则;生成符合配色规则的应用程序界面。
为了实现上述实施例,本发明还提出一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种应用程序界面生成方法,所述方法包括:获取对目标空间进行检测得到的空气数据;根据空气数据,生成目标空间的舒适度等级;其中,舒适度等级用于指示舒适程度;查询舒适度等级对应的配色规则;生成符合配色规则的应用程序界面。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示 或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介 质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (13)

  1. 一种应用程序界面生成方法,其特征在于,包括以下步骤:
    获取对目标空间进行检测得到的空气数据;
    根据所述空气数据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;
    查询所述舒适度等级对应的配色规则;
    生成符合所述配色规则的应用程序界面。
  2. 根据权利要求1所述的应用程序界面生成方法,其特征在于,所述根据所述空气数据,生成所述目标空间的舒适度等级,包括:
    从各数据范围中,确定所述空气数据所处的目标范围;
    根据所述空气数据所处的目标范围,查询数据范围与舒适度等级之间的对应关系,得到所述空气数据对应的舒适度等级。
  3. 根据权利要求1所述的应用程序界面生成方法,其特征在于,所述空气数据为至少两个,包括:温度、湿度和/或污染物浓度;所述根据所述空气数据,生成所述目标空间的舒适度等级,包括:
    分别查询至少两个空气数据对应的舒适度等级;
    对所述至少两个空气数据对应的舒适度等级进行加权平均,得到所述目标空间的舒适度等级。
  4. 根据权利要求3所述的应用程序界面生成方法,其特征在于,所述对所述至少两个空气数据对应的舒适度等级进行加权平均,得到所述目标空间的舒适度等级,包括:
    对所述至少两个空气数据对应的舒适度等级进行加权平均;
    将与加权平均的计算结果最接近的舒适度等级,作为所述目标空间的舒适度等级。
  5. 根据权利要求1-4任一项所述的应用程序界面生成方法,其特征在于,所述生成符合所述配色规则的应用程序界面,包括:
    查询所述配色规则所指示的元素;
    利用所述元素,对应替换所述应用程序界面中的背景、文本格式和/或控件,得到符合所述配色规则的应用程序界面。
  6. 一种应用程序界面生成装置,其特征在于,包括:
    获取模块,用于获取对目标空间进行检测得到的空气数据;
    第一生成模块,用于根据所述空气数据,生成所述目标空间的舒适度等级;其中,所述舒适度等级用于指示舒适程度;
    查询模块,用于查询所述舒适度等级对应的配色规则;
    第二生成模块,用于生成符合所述配色规则的应用程序界面。
  7. 根据权利要求6所述的应用程序界面生成装置,其特征在于,所述第一生成模块,包括:
    确定单元,用于从各数据范围中,确定所述空气数据所处的目标范围;
    第一查询单元,用于根据所述空气数据所处的目标范围,查询数据范围与舒适度等级之间的对应关系,得到所述空气数据对应的舒适度等级。
  8. 根据权利要求6所述的应用程序界面生成装置,其特征在于,所述第一生成模块还包括:
    第二查询单元,用于在所述空气数据为至少两个,包括:温度、湿度和/或污染物浓度时,分别查询至少两个空气数据对应的舒适度等级;
    处理单元,用于对所述至少两个空气数据对应的舒适度等级进行加权平均,得到所述目标空间的舒适度等级。
  9. 根据权利要求8所述的应用程序界面生成装置,其特征在于,所述处理单元具体用于:
    对所述至少两个空气数据对应的舒适度等级进行加权平均;
    将与加权平均的计算结果最接近的舒适度等级,作为所述目标空间的舒适度等级。
  10. 根据权利要求6-9任一项所述的应用程序界面生成装置,其特征在于,所述第二生成模块具体用于:
    查询所述配色规则所指示的元素;
    利用所述元素,对应替换所述应用程序界面中的背景、文本格式和/或控件,得到符合所述配色规则的应用程序界面。
  11. 一种应用程序界面生成装置,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时,实现如权利要求1-5中任一所述的应用程序界面生成方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-5中任一所述的应用程序界面生成方法。
  13. 一种计算机程序产品,其特征在于,当所述计算机程序产品中的指令由处理器执行时,执行如权利要求1-5中任一所述的应用程序界面生成方法。
PCT/CN2017/104476 2017-05-17 2017-09-29 应用程序界面生成方法和装置 Ceased WO2018209873A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710348335.6A CN107193561A (zh) 2017-05-17 2017-05-17 应用程序界面生成方法和装置
CN201710348335.6 2017-05-17

Publications (1)

Publication Number Publication Date
WO2018209873A1 true WO2018209873A1 (zh) 2018-11-22

Family

ID=59874027

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104476 Ceased WO2018209873A1 (zh) 2017-05-17 2017-09-29 应用程序界面生成方法和装置

Country Status (2)

Country Link
CN (1) CN107193561A (zh)
WO (1) WO2018209873A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193561A (zh) * 2017-05-17 2017-09-22 广东美的制冷设备有限公司 应用程序界面生成方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086378A (zh) * 2006-06-07 2007-12-12 乐金电子(天津)电器有限公司 空调器及其运转方法
CN101867659A (zh) * 2010-06-23 2010-10-20 惠州Tcl移动通信有限公司 一种移动终端及其界面显示方法和装置
CN103577175A (zh) * 2012-08-01 2014-02-12 腾讯科技(深圳)有限公司 移动终端软件界面更换的方法及装置
CN203907882U (zh) * 2013-12-09 2014-10-29 美的集团股份有限公司 空调器的舒适度显示电路及空调器
CN104317592A (zh) * 2014-10-24 2015-01-28 百度在线网络技术(北京)有限公司 输入法程序界面的调整方法及装置
CN107193561A (zh) * 2017-05-17 2017-09-22 广东美的制冷设备有限公司 应用程序界面生成方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086378A (zh) * 2006-06-07 2007-12-12 乐金电子(天津)电器有限公司 空调器及其运转方法
CN101867659A (zh) * 2010-06-23 2010-10-20 惠州Tcl移动通信有限公司 一种移动终端及其界面显示方法和装置
CN103577175A (zh) * 2012-08-01 2014-02-12 腾讯科技(深圳)有限公司 移动终端软件界面更换的方法及装置
CN203907882U (zh) * 2013-12-09 2014-10-29 美的集团股份有限公司 空调器的舒适度显示电路及空调器
CN104317592A (zh) * 2014-10-24 2015-01-28 百度在线网络技术(北京)有限公司 输入法程序界面的调整方法及装置
CN107193561A (zh) * 2017-05-17 2017-09-22 广东美的制冷设备有限公司 应用程序界面生成方法和装置

Also Published As

Publication number Publication date
CN107193561A (zh) 2017-09-22

Similar Documents

Publication Publication Date Title
US12159303B2 (en) Prospective object search techniques based on removed objects
US20180285752A1 (en) Method for providing information and electronic device supporting the same
US9361666B2 (en) Learning user preferences for photo adjustments
TWI739081B (zh) 個人化參數學習方法、睡眠輔助裝置及非暫態電腦可讀取記錄媒體
CN102917135B (zh) 一种推荐用户穿衣搭配的方法及装置
WO2019062230A1 (zh) 空调器及其运行参数的推荐方法、系统和大数据服务器
CN113495487A (zh) 一种调节目标设备运行参数的终端和方法
US20180052938A1 (en) Methods and systems for social network based content recommendations
CN108062573A (zh) 模型训练方法及装置
CN107302579A (zh) 菜谱推荐方法、装置和系统
CN106951527B (zh) 一种歌曲推荐方法及装置
KR102380979B1 (ko) 이미지의 메타데이터 관리 방법 및 장치
TW201234230A (en) Angular contact geometry
CN106462270B (zh) 用于电子设备的输入设备、方法和系统
US20150347076A1 (en) Information presentation apparatus, information presentation method, and recording medium storing computer program
CN116522463B (zh) 室内设计方法、装置、设备及存储介质
US9325754B2 (en) Information processing device and information processing method
CN103019730A (zh) 一种界面元素展示的方法及电子设备
US20180116272A1 (en) Methods and systems for 3d printing food items
CN110971761A (zh) 生成显示参数曲线的方法、装置、移动终端以及存储介质
CN109871941B (zh) 数据处理方法、装置及相关产品
WO2018209873A1 (zh) 应用程序界面生成方法和装置
US20160070438A1 (en) Interfacing Method for User Feedback
WO2023137957A1 (zh) 环境光感值的获取方法、电子设备及计算机可读存储介质
CN110278250B (zh) 终端选择方法、装置和存储介质

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.06.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17909864

Country of ref document: EP

Kind code of ref document: A1