CN113435760B - Data processing method and device, storage medium, electronic device and smart home system - Google Patents
Data processing method and device, storage medium, electronic device and smart home system Download PDFInfo
- Publication number
- CN113435760B CN113435760B CN202110745410.9A CN202110745410A CN113435760B CN 113435760 B CN113435760 B CN 113435760B CN 202110745410 A CN202110745410 A CN 202110745410A CN 113435760 B CN113435760 B CN 113435760B
- Authority
- CN
- China
- Prior art keywords
- working
- information
- mode
- equipment
- periods
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 31
- 230000002776 aggregation Effects 0.000 claims abstract description 9
- 238000004220 aggregation Methods 0.000 claims abstract description 9
- 238000000034 method Methods 0.000 claims description 38
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 11
- 230000004931 aggregating effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000005259 measurement Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000013077 scoring method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Educational Administration (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
技术领域technical field
本发明涉及家电控制领域,具体而言,涉及一种数据的处理方法和装置、存储介质、电子装置及智能家居系统。The present invention relates to the field of home appliance control, in particular to a data processing method and device, a storage medium, an electronic device and a smart home system.
背景技术Background technique
家电设备智能化已经是现在家电领域的一大趋势。以空调为例,空调开机后往往需要用户进行调节才能切换到用户喜欢的模式,这样的交互影响了用户的体验感。现有技术中,常规的空调开机模式设置方法一般是记录上次用户使用的模式,在用户再次打开空调的时候自动切换到上次用户使用的模式,即通过记录上一次使用的模式,来进行下次开机的模式设定。但是这样设置会导致用户如果在某些条件下进行了空调模式调节,下一次开机空调自动使用的模式就不是用户喜欢的模式,用户再次开机的时候需要对空调进行多次调节,才能得到自己喜欢的模式,这一过程增加了用户的交互,用户体验感下降。The intelligence of home appliances is already a major trend in the field of home appliances. Take the air conditioner as an example. After the air conditioner is turned on, the user often needs to adjust it to switch to the user's favorite mode. Such interaction affects the user's experience. In the prior art, the conventional method for setting the start-up mode of the air conditioner is generally to record the mode used by the user last time, and automatically switch to the mode used by the user last time when the user turns on the air conditioner again, that is, by recording the mode used last time, the mode setting for the next start-up is performed. However, this setting will cause the user to adjust the air conditioner mode under certain conditions, and the next time the air conditioner is turned on, the mode automatically used by the user will not be the mode that the user likes.
发明内容Contents of the invention
本发明实施例提供了一种数据的处理方法和装置、存储介质、电子装置及智能家居系统,以至少解决相关技术中用户体验感差的问题。Embodiments of the present invention provide a data processing method and device, a storage medium, an electronic device, and a smart home system, so as to at least solve the problem of poor user experience in related technologies.
根据本发明实施例的一个实施例,提供了一种数据的处理方法,包括:获取多台设备的历史工作日志信息,其中,所述历史工作日志信息至少包括每台设备在不同工作时段下工作时所执行的工作模式;基于所述历史工作日志信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值;基于所述不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在所述不同工作时段下的最优工作模式。According to an embodiment of the present invention, a data processing method is provided, comprising: obtaining historical work log information of multiple devices, wherein the historical work log information includes at least the work mode executed by each device when working in different working hours; based on the historical work log information, calculating the scoring value of each of the devices when executing the corresponding working mode in the different working hours;
在一个示例性实施例中,所述方法还包括:接收到待检测设备的启动信息,其中,所述启动信息为启动所述待检测设备时产生的信息,至少包括所述待检测设备的工作时间;基于所述待检测设备的工作时间,确定所述待检测设备当前所处的工作时段;基于确定的所述工作时段,获取所述待检测设备的工作模式,其中,所述工作模式为所述待检测设备的所述最优工作模式。In an exemplary embodiment, the method further includes: receiving startup information of the device to be detected, wherein the startup information is information generated when the device to be detected is started, and at least includes working hours of the device to be detected; determining a current working period of the device to be detected based on the working time of the device to be detected;
在一个示例性实施例中,所述历史工作日志信息包括设备标识信息和时间信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值的方法,包括:基于所述历史工作日志信息,判断所述历史工作日志信息中的所述设备标识信息是否相同,如果设备标识信息相同,则将含有相同所述设备标识信息的所述历史工作日志信息放入第一信息集中,所述第一信息集为多个,所述第一信息集与所述设备标识信息一一对应;基于所述第一信息集,判断所述第一信息集中的所述历史工作日志信息中包含的时间信息是否处于同一工作时段,若处于同一工作时段,则将包含时间信息处于同一工作时段的历史工作日志信息放置第二信息集中,所述第二信息集为多个,所述第二信息集与所述工作时段一一对应;对处于多个所述第二信息集中的多个所述工作模式进行评分,获得所述设备在多个工作时段内各所述工作模式的评分值。In an exemplary embodiment, the historical work log information includes device identification information and time information, and the method for calculating the score value of each of the devices when executing the corresponding work mode in the different working hours includes: based on the historical work log information, judging whether the device identification information in the historical work log information is the same, and if the device identification information is the same, putting the historical work log information containing the same device identification information into a first information set. There are multiple first information sets, and the first information set corresponds to the device identification information one by one; Whether the time information contained in the historical work log information in the information set is in the same working period, and if it is in the same working period, then place the historical work log information including time information in the same working period in the second information set, the second information set is multiple, and the second information set corresponds to the working period one by one; score the multiple working modes in the multiple second information sets, and obtain the score value of each working mode of the device in multiple working periods.
在一个示例性实施例中,所述历史工作日志信息还包括模式使用日期信息和模式使用时长信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值的方法,包括:基于所述模式使用日期信息和所述模式使用时长信息,对多个所述第二信息集中的多个所述工作模式进行评分,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值。In an exemplary embodiment, the historical work log information further includes mode use date information and mode use duration information, and the method for calculating the score value of each of the devices when executing the corresponding work mode in the different work periods includes: based on the mode use date information and the mode use duration information, scoring a plurality of the work modes in the plurality of second information sets, and calculating the score value of each of the devices when executing the corresponding work mode in the different work periods.
在一个示例性实施例中,对所述评分值进行聚合处理的方法,包括:确定所述评分值是否满足预设条件,若满足预设条件,将该所述评分值对应的所述工作模式标记为所述设备在所述工作时段内的最优工作模式。In an exemplary embodiment, the method for aggregating the scoring values includes: determining whether the scoring values satisfy a preset condition, and if the preset conditions are met, marking the working mode corresponding to the scoring value as the optimal working mode of the device within the working period.
根据本发明实施例的另一个实施例,还提供了一种数据的处理装置,包括:获取模块,用于获取至少一个设备的历史工作日志信息;计算模块,用于基于所述历史工作日志信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值;确定模块,用于基于不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在所述不同工作时段下的最优工作模式。According to another embodiment of the embodiment of the present invention, there is also provided a data processing apparatus, including: an acquisition module, configured to acquire historical work log information of at least one device; a calculation module, configured to calculate, based on the historical work log information, the scoring value of each of the devices when executing a corresponding working mode in the different working hours; a determining module, configured to aggregate the scoring values based on different working hours, and determine the optimal working mode of each of the devices in the different working hours.
在一个示例性实施例中,所述处理装置还包括:接收模块,用于接收待检测设备的启动信息,其中,所述启动信息为启动所述待检测设备时产生的信息,至少包括所述待检测设备的工作时间;确定模块,用于基于所述待检测设备的工作时间,确定所述待检测设备当前所处的工作时段;获取模块,用于基于确定的工作时段,获取所述待检测设备的工作模式,其中,所述工作模式为所述待检测设备的所述最优工作模式。In an exemplary embodiment, the processing device further includes: a receiving module configured to receive startup information of the device to be detected, wherein the startup information is information generated when the device to be detected is started, and at least includes working hours of the device to be detected; a determining module is configured to determine a current working period of the device to be detected based on the working time of the device to be detected; an obtaining module is configured to acquire a working mode of the device to be detected based on the determined working period, wherein the working mode is the optimal working mode of the device to be detected.
根据本发明实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述数据的处理方法。According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above data processing method when running.
根据本发明实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的数据的处理方法。According to yet another aspect of the embodiments of the present invention, an electronic device is also provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the above data processing method through the computer program.
根据本发明实施例的又一方面,还提供了一种智能家居系统,包括电子装置,所述电子装置为上述的电子装置。According to yet another aspect of the embodiments of the present invention, there is also provided a smart home system, including an electronic device, where the electronic device is the above-mentioned electronic device.
在本发明实施例中,通过获取各台设备的历史工作日志信息,计算每台设备在不同时段工作时执行的工作模式的评分值,并基于评分值,确定每一设备在各工作时段的最优工作模式。通过这一处理方式,可基于用户以往的使用习惯推断出用户在各个时段最常用的或最喜欢的设备的工作模式,相比于现有技术中仅仅记录用户上一次使用的工作模式信息,本申请的技术方案所记录的最优工作模式更符合用户的喜好,即使用户在某些条件下更改了使用的设备工作模式,经处理过后,系统记录的仍旧为用户最常用的或最喜欢的工作模式。最优工作模式可作为一种选择推荐给用户,增加用户体验感。In the embodiment of the present invention, by obtaining the historical work log information of each device, the score value of the work mode executed by each device at different time periods is calculated, and based on the score value, the optimal work mode of each device in each work period is determined. Through this processing method, based on the user's past usage habits, the user's most frequently used or favorite device working mode at each time period can be inferred. Compared with the prior art that only records the user's last used working mode information, the optimal working mode recorded by the technical solution of the present application is more in line with the user's preferences. Even if the user changes the used device working mode under certain conditions, after processing, the system records the user's most commonly used or favorite working mode. The optimal working mode can be recommended to users as an option to increase user experience.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是本发明实施例的一种数据的处理方法的计算机终端的硬件结构框图;Fig. 1 is the hardware structural block diagram of the computer terminal of a kind of data processing method of the embodiment of the present invention;
图2是根据本发明实施例的数据的处理方法的流程图;Fig. 2 is a flowchart of a data processing method according to an embodiment of the present invention;
图3是根据本发明实施例的数据的处理方法的示意图;3 is a schematic diagram of a data processing method according to an embodiment of the present invention;
图4是根据本发明实施例的一种数据的算法的流程图;Fig. 4 is a flow chart of a data algorithm according to an embodiment of the present invention;
图5是根据本发明实施例的数据的计算处理过程的示意图;Fig. 5 is a schematic diagram of a calculation process of data according to an embodiment of the present invention;
图6是根据本发明实施例的空调免操作系统的示意图;6 is a schematic diagram of an air conditioner free operating system according to an embodiment of the present invention;
图7是根据本发明实施例的一种数据的处理装置的结构框图。Fig. 7 is a structural block diagram of a data processing device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not expressly listed or inherent to the process, method, product or device.
本申请实施例所提供的方法实施例可以在计算机终端、计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图1是本发明实施例的一种数据的处理方法的计算机终端的硬件结构框图。如图1所示,计算机终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,在一个示例性实施例中,上述计算机终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示等同功能或比图1所示功能更多的不同的配置。The method embodiments provided in the embodiments of the present application may be executed in a computer terminal, a computer terminal, or a similar computing device. Taking running on a computer terminal as an example, FIG. 1 is a block diagram of a hardware structure of a computer terminal according to a data processing method according to an embodiment of the present invention. As shown in Figure 1, the computer terminal can include one or more (only one is shown in Figure 1) processors 102 (processor 102 can include but not limited to microprocessor MCU or programmable logic device FPGA etc. processing device) and memory 104 for storing data, in an exemplary embodiment, above-mentioned computer terminal can also include the transmission device 106 and input-output device 108 for communication function. Those skilled in the art can understand that the structure shown in FIG. 1 is only for illustration, and it does not limit the structure of the above computer terminal. For example, the computer terminal may also include more or less components than those shown in FIG. 1 , or have a different configuration with functions equivalent to those shown in FIG. 1 or more functions than those shown in FIG. 1 .
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的数据的处理方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, that is, realizes the above-mentioned method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to a computer terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。The transmission device 106 is used to receive or transmit data via a network. The specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal. In one example, the transmission device 106 includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.
本实施例中提供了一种数据的处理方法,应用于上述计算机终端,图2是根据本发明实施例的数据的处理方法的流程图,该流程包括如下步骤:This embodiment provides a data processing method, which is applied to the above-mentioned computer terminal. FIG. 2 is a flowchart of a data processing method according to an embodiment of the present invention. The process includes the following steps:
步骤S202,获取多台设备的历史工作日志信息,其中,所述历史工作日志信息至少包括每台设备在不同工作时段下工作时所执行的工作模式。Step S202, acquiring historical work log information of multiple devices, wherein the historical work log information at least includes the working modes executed by each device when working in different working periods.
步骤S204,基于所述历史工作日志信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值。Step S204, based on the historical work log information, calculating the score value of each of the devices when executing the corresponding work mode in the different work periods.
步骤S206,基于所述不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在所述不同工作时段下的最优工作模式。Step S206, based on the different working periods, aggregate the scoring values to determine the optimal working mode of each of the devices under the different working periods.
上述数据的处理方法中,首先,本申请可用于多台设备的数据处理,在获取数据时,可获取多台设备的历史工作日志信息,历史工作日志信息中,最少应具有每台设备在不同时段下工作时所执行的工作模式,基于多台设备的历史工作日志,可对多台设备进行处理。需要说明的是,获取历史日志信息时可以选取一定时间段内的历史工作日志信息。以空调设备为例,在获取多台空调的历史工作日志信息时,可选择获取一个月内的空调的历史工作日志信息,也可以获取一周内的空调的历史工作日志信息。历史工作日志信息中最少应包含空调在不同时段下工作时执行的工作模式,工作模式可以包含制热时空调的温度信息、风速信息、风机转速信息、风向信息,以及制冷时所述设备的温度信息、风速信息、风机转速信息、风向信息等,其中,空调的工作时段可以进行预设值,例如,可以设置下午1时至2时为一个工作时段,也可以设置下午1时到3时为一个工作时段,具体设置方式可根据实际应用设备及场景进行选择。In the above-mentioned data processing method, firstly, this application can be used for data processing of multiple devices. When acquiring data, the historical work log information of multiple devices can be obtained. In the historical work log information, at least there should be the working mode executed by each device when working in different time periods. Based on the historical work logs of multiple devices, multiple devices can be processed. It should be noted that, when obtaining historical log information, historical work log information within a certain period of time may be selected. Taking the air conditioner as an example, when obtaining the historical work log information of multiple air conditioners, you can choose to obtain the historical work log information of the air conditioners within one month, or obtain the historical work log information of the air conditioners within one week. The historical work log information should at least include the working mode of the air conditioner when it works in different time periods. The working mode can include the temperature information, wind speed information, fan speed information, and wind direction information of the air conditioner during heating, and the temperature information, wind speed information, fan speed information, and wind direction information of the equipment during cooling. Among them, the working period of the air conditioner can be preset.
根据获取的历史工作日志信息,计算每台设备在不同工作时段下执行对应的工作模式的评分值,即就是说,在每台设备中,不同工作时段下,每个工作模式都具有评分值,同一工作模式在不同设备不同工作时段获得的评分值不一定相同。基于不同的工作时段,对不同时段的评分值进行聚合处理,最终获得每台设备在不同工作时段下的最优工作模式。聚合处理方式为多种,可根据实际应用场景选择。According to the obtained historical work log information, calculate the scoring value of each device executing the corresponding working mode in different working hours, that is to say, in each device, each working mode has a scoring value in different working hours, and the scoring values obtained by the same working mode in different working hours of different devices are not necessarily the same. Based on different working periods, the scoring values of different periods are aggregated, and finally the optimal working mode of each device under different working periods is obtained. There are multiple aggregation processing methods, which can be selected according to actual application scenarios.
采用上述数据的处理方法,通过获取各台设备的历史工作日志信息,计算每台设备在不同时段工作时执行的工作模式的评分值,并基于评分值,确定每一设备在各工作时段的最优工作模式。通过这一处理方式,可基于用户以往的使用习惯推断出用户在各个时段最常用的或最喜欢的设备的工作模式,相比于现有技术中仅仅记录用户上一次使用的工作模式信息,本申请的技术方案所记录的最优工作模式更符合用户的喜好,即使用户在某些条件下更改了使用的设备工作模式,经处理过后,系统记录的仍旧为用户最常用的或最喜欢的工作模式。最优工作模式可作为一种选择推荐给用户,增加用户体验感。Using the above data processing method, by obtaining the historical work log information of each device, calculate the score value of the work mode executed by each device when it works at different time periods, and determine the optimal work mode of each device in each work period based on the score value. Through this processing method, based on the user's past usage habits, the user's most frequently used or favorite device working mode at each time period can be inferred. Compared with the prior art that only records the user's last used working mode information, the optimal working mode recorded by the technical solution of the present application is more in line with the user's preferences. Even if the user changes the used device working mode under certain conditions, after processing, the system records the user's most commonly used or favorite working mode. The optimal working mode can be recommended to users as an option to increase user experience.
在一个示例性实施例中,在确定每台所述设备在所述不同工作时段下的最优工作模式之后,如图3所示,所述方法还包括:In an exemplary embodiment, after determining the optimal working mode of each of the devices under the different working periods, as shown in FIG. 3 , the method further includes:
S302,接收到待检测设备的启动信息,其中,所述启动信息为启动所述待检测设备时产生的信息,至少包括所述待检测设备的工作时间;S302. Receive startup information of the device to be detected, wherein the startup information is information generated when the device to be detected is started, and at least includes working hours of the device to be detected;
S304,基于所述待检测设备的工作时间,确定所述待检测设备当前所处的工作时段;S304. Based on the working time of the device to be detected, determine the current working period of the device to be detected;
S306,基于确定的所述工作时段,获取所述待检测设备的工作模式,其中,所述工作模式为所述待检测设备的所述最优工作模式。S306. Acquire a working mode of the device to be detected based on the determined working period, where the working mode is the optimal working mode of the device to be detected.
即就是说,在接收到待检测设备的启动信息后,基于启动信息,可以确定设备当前所处的工作时段并获取这一工作时段下设备的最优工作模式。采用上述方法,用户在开启某一设备后,可直接获得这一设备在当前工作时段下的最优工作模式,避免了用户如果在某些条件下进行了设备模式调节之后,再次开机的时候需要对设备进行多次调节,才能得到喜欢的设备工作模式。这一设置减少了用户与设备的交互,提升了用户的体验感。That is to say, after receiving the activation information of the device to be detected, based on the activation information, the current working period of the device can be determined and the optimal working mode of the device in this working period can be obtained. By adopting the above method, after turning on a certain device, the user can directly obtain the optimal working mode of the device in the current working period, which avoids that if the user adjusts the device mode under certain conditions, the device needs to be adjusted multiple times when the device is turned on again in order to obtain the preferred working mode of the device. This setting reduces the interaction between the user and the device and improves the user experience.
在一个示例性实施例中,所述历史工作日志信息包括设备标识信息和时间信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值的方法,所述方法包括:基于所述历史工作日志信息,判断所述历史工作日志信息中的所述设备标识信息是否相同,如果设备标识信息相同,则将含有相同所述设备标识信息的所述历史工作日志信息放入第一信息集中,所述第一信息集为多个,所述第一信息集与所述设备标识信息一一对应;基于所述第一信息集,判断所述第一信息集中的所述历史工作日志信息中包含的时间信息是否处于同一工作时段,若处于同一工作时段,则将包含时间信息处于同一工作时段的历史工作日志信息放置第二信息集中,所述第二信息集为多个,所述第二信息集与所述工作时段一一对应;对处于多个所述第二信息集中的多个所述工作模式进行评分,获得所述设备在多个工作时段内各所述工作模式的评分值。In an exemplary embodiment, the historical work log information includes device identification information and time information, and the method for calculating the scoring value of each of the devices when executing the corresponding working mode in the different working hours includes: based on the historical work log information, judging whether the device identification information in the historical work log information is the same, and if the device identification information is the same, putting the historical work log information containing the same device identification information into a first information set. There are multiple first information sets, and the first information set corresponds to the device identification information one by one; Whether the time information contained in the historical work log information in the first information set is in the same working period, and if it is in the same working period, then place the historical work log information including time information in the same working period in the second information set, the second information set is multiple, and the second information set corresponds to the working period one by one; score the multiple working modes in the multiple second information sets, and obtain the score value of each working mode of the device in multiple working periods.
具体地,设备标识信息可以为设备ID或机器编码,设备ID与每一设备一一对应,根据设备ID对历史工作日志信息进行分组之后,同一设备的历史工作日志信息处于同一第一信息集中,第一信息集个数与设备ID的个数,也即设备的个数相同。根据时间信息对第一信息集中的历史工作日志信息进行第二次分组,基于划分好的工作时段,落入同一工作时段的时间信息对应的历史工作日志信息处于同一第二信息集中,例如,划分下午1时到下午2时为一个工作时段,则产生于下午一时十五分的历史工作日志信息和产生于下午一时三十分的历史工作日志信息处于同一第二信息集中,工作时段的划分可以根据实际应用场景和设备进行修改,第二信息集的个数与工作时段的个数相同。采用上述的处理方式,可以获得每一设备在每一工作时段下的历史工作日志信息集合,便于后续确定每一设备在每一工作时段下的最优工作模式。Specifically, the device identification information may be a device ID or a machine code, and the device ID corresponds to each device one by one. After the historical work log information is grouped according to the device ID, the historical work log information of the same device is in the same first information set, and the number of the first information set is the same as the number of device IDs, that is, the number of devices. According to the time information, the historical work log information in the first information set is grouped for the second time. Based on the divided working periods, the historical work log information corresponding to the time information falling into the same working period is in the same second information set. For example, if a working period is divided from 1:00 pm to 2:00 pm, then the historical work log information generated at 1:15 pm and the historical work log information generated at 1:30 pm are in the same second information set. The division of working periods can be modified according to actual application scenarios and equipment. Using the above-mentioned processing method, the historical work log information set of each device in each working period can be obtained, which is convenient for subsequent determination of the optimal working mode of each device in each working period.
在一个示例性实施例中,所述历史工作日志信息还包括模式使用日期信息和模式使用时长信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值的方法,包括:基于所述模式使用日期信息和所述模式使用时长信息,对多个所述第二信息集中的多个所述工作模式进行评分,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值。In an exemplary embodiment, the historical work log information further includes mode use date information and mode use duration information, and the method for calculating the score value of each of the devices when executing the corresponding work mode in the different work periods includes: based on the mode use date information and the mode use duration information, scoring a plurality of the work modes in the plurality of second information sets, and calculating the score value of each of the devices when executing the corresponding work mode in the different work periods.
换言之,模式使用时长信息和模式使用日期信息用于对每台设备在不同时段下执行的工作模式进行评分。在实际应用时,可根据设备参数选择其他信息进行评分,评分方式根据评分的标准、参数等进行调整。以空调为例,在基于模式使用时长信息和模式使用日期信息进行评分时,可以使用如下计算公式:In other words, the mode use duration information and the mode use date information are used to score the work mode performed by each device at different time periods. In actual application, other information can be selected for scoring according to the device parameters, and the scoring method can be adjusted according to the scoring standards and parameters. Taking an air conditioner as an example, the following formula can be used when scoring based on the mode usage duration information and mode usage date information:
其中,k表示当前工作模式使用日期距离计算日期(即数据处理的日期)的差值,N表示最大计算日期(可自由定义),x表示模式使用时长,L表示获取历史工作日志信息时所定义的最大时间长度(即获取的工作日志信息中最早的日期与最晚的日期之间的差值)。可选择地,k的计量单位为天,N的计量单位为天,x的计量单位为分钟,L的计量单位为分钟。Among them, k represents the difference between the current working mode use date and the calculation date (i.e. the date of data processing), N represents the maximum calculation date (freely definable), x represents the mode use duration, and L represents the maximum time length defined when obtaining historical work log information (i.e. the difference between the earliest date and the latest date in the obtained work log information). Optionally, the measurement unit of k is day, the measurement unit of N is day, the measurement unit of x is minute, and the measurement unit of L is minute.
在一个示例性实施例中,对所述评分值进行聚合处理的方法,包括确定所述评分值是否满足预设条件,若满足预设条件,将该所述评分值对应的所述工作模式标记为所述设备在所述工作时段内的最优工作模式。In an exemplary embodiment, the method for aggregating the scoring values includes determining whether the scoring values satisfy a preset condition, and if the preset conditions are met, marking the working mode corresponding to the scoring value as the optimal working mode of the device within the working period.
即就是说,在对数据的聚合处理时,通过判断评分值是否满足预设条件的方式,确定满足预设条件的评分值所对应的工作模式为该设备在该工作时段下的最优工作模式,可选择的,可以设置最高评分值对应的工作模式为最优工作模式。在实际应用中,可以根据不同设备及不同应用场景、环境状况等,设置不同的判断条件,以获得最合适的最优工作模式。That is to say, during data aggregation processing, by judging whether the scoring value satisfies the preset condition, it is determined that the working mode corresponding to the scoring value satisfying the preset condition is the optimal working mode of the device in the working period. Optionally, the working mode corresponding to the highest scoring value can be set as the optimal working mode. In practical applications, different judgment conditions can be set according to different devices, different application scenarios, and environmental conditions, so as to obtain the most suitable optimal working mode.
通过上述的数据处理方式,基于各设备的历史日志信息,获得各设备在不同工作时段下的最优工作模式,当某一设备启动时,根据设备生成的启动信息,确定设备所处的工作时段并获得设备的工作模式,工作模式即为设备在当前工作时段的最优工作模式。采用这一数据的处理方式,根据用户以往的使用习惯即可获得用户的每一设备的最常用或最喜欢的工作模式,用户每次启动设备时,不需要进行调节,设备即启动用户最喜欢的工作模式,避免了现有技术中,用户在某些条件下更改了工作模式后,下一次开启设备还需要多次调节设备才可以获得自己最喜欢的工作模式的问题,减少了用户与设备的交互,增加了用户的体验感。同时,由于上述数据的处理方法可以对多个设备进行处理,不仅可以用于多台空调的设置,还可以用于家电领域如电视机、空气净化器等的设置。Through the above data processing method, based on the historical log information of each device, the optimal working mode of each device in different working hours is obtained. When a certain device is started, according to the startup information generated by the device, the working period of the device is determined and the working mode of the device is obtained. The working mode is the optimal working mode of the device in the current working period. With this data processing method, the most commonly used or favorite working mode of each device of the user can be obtained according to the user's past usage habits. When the user starts the device every time, the device does not need to be adjusted, and the device starts the user's favorite working mode. This avoids the problem in the prior art that after the user changes the working mode under certain conditions, the next time the device is turned on, the device needs to be adjusted several times to obtain its favorite working mode, which reduces the interaction between the user and the device and increases the user experience. At the same time, since the above-mentioned data processing method can process multiple devices, it can be used not only for the setting of multiple air conditioners, but also for the setting of household appliances such as television sets and air purifiers.
为了更好的理解上述数据的处理方法的过程,以下结合可选实施例对上述数据的处理的实现方法流程进行说明,但不用于限定本发明实施例的技术方案。In order to better understand the process of the above-mentioned data processing method, the flow of the above-mentioned data processing implementation method will be described below in conjunction with optional embodiments, but it is not used to limit the technical solutions of the embodiments of the present invention.
本实施例提供了一种空调开机免操作最佳模式召回算法,图4为本实施例的算法的流程图,计算过程中数据处理过程如图5所示。具体地,算法的流程如下:This embodiment provides an algorithm for recalling the optimal mode of the air conditioner without operation when starting up. FIG. 4 is a flow chart of the algorithm in this embodiment. The data processing process during the calculation process is shown in FIG. 5 . Specifically, the algorithm flow is as follows:
步骤一,预处理数据。选取一段时间内的用户使用日志(即上述历史工作日志信息)作为计算数据,定义这段时间长度为L;Step 1, preprocessing data. Select the user usage log (that is, the above-mentioned historical work log information) within a period of time as the calculation data, and define the length of this period of time as L;
需要说明的是,时间长度L是可以更改的,实际应用中可根据设备和应用场景改变L的值。It should be noted that the length of time L can be changed, and the value of L can be changed according to devices and application scenarios in actual applications.
步骤二,将步骤一中的数据进行mac分组;Step 2, performing mac grouping on the data in step 1;
Mac与设备一一对应,每一设备具有唯一的与其他设备不同的mac,根据mac对步骤一中的全部用户使用日志进行分组后,获得多个mac分组。There is a one-to-one correspondence between Macs and devices, and each device has a unique mac that is different from other devices. After grouping all user usage logs in step 1 according to mac, multiple mac groups are obtained.
步骤三,模式分段。在步骤二的基础上以时间区间(即上述的工作时段)进行分段;Step three, pattern segmentation. On the basis of step 2, segment by time interval (that is, the above-mentioned working period);
即就是说,在经过步骤二分组后形成的每一个mac分组里的日志信息,需要再根据所处的时间区间进行分段,位于同一时间区间的日志信息处于同一段中。That is to say, the log information in each mac group formed after step 2 grouping needs to be segmented according to the time interval, and the log information in the same time interval is in the same segment.
步骤四,计算模式得分。基于步骤二和步骤三的分组分段结果,对每一mac分组中的每一时间段内的工作模式计算得分,每一得分值表示这一设备在这一时间区间内执行这一工作模式时的得分。具体地,可以基于模式使用时长(即上述模式使用时长信息)、模式使用实际日期(即模式使用日期信息)计算当前的模式得分;Step 4, calculate the pattern score. Based on the grouping and segmentation results of steps 2 and 3, a score is calculated for the working mode in each time period in each mac group, and each score value represents the score when the device executes the working mode in this time period. Specifically, the current mode score can be calculated based on the mode use duration (i.e. the above-mentioned mode use duration information), the mode use actual date (i.e. the mode use date information);
计算公式如下:Calculated as follows:
其中,k表示模式使用日期距离计算日期的差值,N表示最大计算日期,x表示用户使用时长,L表示步骤一定义的最大时间长度。可选择地,k的计量单位为天,N的计量单位为天,x的计量单位为分钟,L的计量单位为分钟。Among them, k represents the difference between the mode use date and the calculation date, N represents the maximum calculation date, x represents the user's usage time, and L represents the maximum time length defined in step 1. Optionally, the measurement unit of k is day, the measurement unit of N is day, the measurement unit of x is minute, and the measurement unit of L is minute.
步骤五,得分聚合。对各分段的行为得分进行聚合排序,得到用户在当前分段的最佳使用模式(即上述最优工作模式)。Step five, score aggregation. The behavior scores of each segment are aggregated and sorted to obtain the user's best usage mode in the current segment (that is, the above-mentioned optimal working mode).
经上述步骤对数据进行处理之后,得到每一空调在每一时间区间内的最优工作模式并存储在数据库中。After the data is processed through the above steps, the optimal working mode of each air conditioner in each time interval is obtained and stored in the database.
图6为具有上述算法的空调免操作系统示意图,如图6所示,当用户开启某一台空调时,产生启动信息,上报实时环境状态,根据启动信息和实时环境状态,大数据下发该空调的最佳模式(即最佳使用模式)。Figure 6 is a schematic diagram of an air conditioner free of operating system with the above algorithm. As shown in Figure 6, when a user turns on a certain air conditioner, start-up information is generated and the real-time environment status is reported. According to the start-up information and real-time environment status, the best mode of the air conditioner (that is, the best use mode) is issued based on big data.
在本实施例中提供的对空调模式的使用时长和使用时间段进行建模而得到最佳使用模式的评估方法,可以使得用户在不同时间段开机时得到的空调模式都是用户喜欢的模式,避免了现有技术下,用户如果在某些条件下进行了空调模式调节,下次开机时得到的开机模式仍保持上一次使用模式,使得用户需要进行多次调节才能得到自己喜欢的模式的问题。采用本实施例的空调开机免操作召回算法,用户在不同时段开机都能得到自己在该时段喜欢的模式,提高了用户体验,增加了市场认可,进一步提高了经济效益。The evaluation method provided in this embodiment to obtain the best use mode by modeling the use duration and use time period of the air conditioner mode can make the air conditioner mode obtained by the user when starting up at different time periods be the user's favorite mode, avoiding the problem in the prior art that if the user adjusts the air conditioner mode under certain conditions, the start-up mode obtained when the user starts the next time remains the last use mode, so that the user needs to perform multiple adjustments to obtain the mode he likes. By adopting the operation-free recall algorithm for starting the air conditioner in this embodiment, the user can get the mode he likes when starting up at different time periods, which improves user experience, increases market recognition, and further improves economic benefits.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes several instructions to make a terminal device (which can be a mobile phone, computer, server, or network equipment, etc.) execute the methods of various embodiments of the present invention.
本发明的实施例还提供了一种数据的处理装置,该处理装置包括:获取模块,用于获取至少一个设备的历史工作日志信息;处理模块,用于基于所述历史工作日志信息,获得每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值;确定模块,用于基于所述不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在不同工作时段下的最优工作模式。An embodiment of the present invention also provides a data processing device, the processing device comprising: an acquisition module, configured to obtain historical work log information of at least one device; a processing module, configured to obtain, based on the historical work log information, a score value of each of the devices when executing a corresponding working mode in the different working hours; a determination module, configured to aggregate the scoring values based on the different working hours, and determine the optimal working mode of each of the devices in different working hours.
图7是根据本发明实施例的一种数据的处理装置的结构框图;如图4所示,包括:Fig. 7 is a structural block diagram of a data processing device according to an embodiment of the present invention; as shown in Fig. 4 , it includes:
获取模块72,获取多台设备的历史工作日志信息;Obtaining module 72, obtaining the historical work log information of multiple devices;
其中,所述历史工作日志信息至少包括每台设备在不同工作时段下工作时所执行的工作模式。Wherein, the historical work log information at least includes the working modes executed by each device when working in different working periods.
计算模块74,基于所述历史工作日志信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值;Calculation module 74, based on the historical work log information, calculates the scoring value of each of the devices when executing the corresponding working mode in the different working hours;
确定模块76,基于所述不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在所述不同工作时段下的最优工作模式。The determining module 76 performs aggregation processing on the scoring values based on the different working periods, and determines the optimal working mode of each device under the different working periods.
通过上述装置,获取模块72获取多个设备的历史工作日志信息后,计算模块74可根据所述历史工作日志信息计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值,基于评分值,确定模块76可确定每台所述设备在所述不同工作时段下的最优工作模式。通过这一结构设置,可基于用户以往的使用习惯推断出用户在各个时段最常用的或最喜欢的设备的工作模式,相比于现有技术中仅仅记录用户上一次使用的工作模式信息,本申请的技术方案所记录的最优工作模式更符合用户的喜好,即使用户在某些条件下更改了使用的设备工作模式,经处理过后,系统记录的仍旧为用户最常用的或最喜欢的工作模式。最优工作模式可作为一种选择推荐给用户,增加用户体验感。Through the above-mentioned means, after the acquisition module 72 acquires the historical work log information of multiple devices, the calculation module 74 can calculate the scoring value of each of the devices when executing the corresponding working mode in the different working hours according to the historical working log information, and based on the scoring value, the determining module 76 can determine the optimal working mode of each of the devices in the different working hours. Through this structural setting, based on the user’s past usage habits, the working mode of the user’s most commonly used or favorite device at each time period can be deduced. Compared with the prior art that only records the working mode information used by the user last time, the optimal working mode recorded by the technical solution of the present application is more in line with the user’s preferences. Even if the user changes the working mode of the device used under certain conditions, after processing, the system records the most commonly used or favorite working mode of the user. The optimal working mode can be recommended to users as an option to increase user experience.
在一个示例性实施例中,所述处理装置还包括:接收模块,用于接收待检测设备的启动信息,其中,所述启动信息为启动所述待检测设备时产生的信息,至少包括所述待检测设备的工作时间;确定模块,用于基于所述待检测设备的工作时间,确定所述待检测设备当前所处的工作时段;获取模块,用于基于确定的工作时段,获取所述待检测设备的工作模式,其中,所述工作模式为所述待检测设备的所示最优工作模式。In an exemplary embodiment, the processing device further includes: a receiving module configured to receive startup information of the device to be detected, wherein the startup information is information generated when the device to be detected is started, and at least includes working hours of the device to be detected; a determination module is configured to determine a current working period of the device to be detected based on the working time of the device to be detected; an acquisition module is configured to acquire a working mode of the device to be detected based on the determined working period, wherein the working mode is the optimal working mode of the device to be detected.
即就是说,通过接受模块接收到的待检测设备的启动信息,确定模块可以确定所述待检测设备当前所处的工作时段,基于这一工作时段,获取模块获取所述待检测设备的工作模式即为所述待检测设备的最优工作模式。这一结构设置使得用户在开启某一设备后,可直接获得这一设备在当前工作时段下的最优工作模式,避免用户在某些条件下进行了设备模式调节之后,再次开机需要对设备进行多次调节,才能得到喜欢的设备工作模式这一情况,减少了用户与设备的交互,提升了用户的体验感。That is to say, by accepting the startup information of the device to be detected received by the module, the determination module can determine the current working period of the device to be detected, and based on this working period, the acquisition module obtains the working mode of the device to be detected as the optimal working mode of the device to be detected. This structural setting enables the user to directly obtain the optimal working mode of the device in the current working period after turning on a device, avoiding the situation that the user needs to adjust the device multiple times to get the working mode of the device after restarting the device after adjusting the device mode under certain conditions, which reduces the interaction between the user and the device and improves the user experience.
根据本发明实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述数据的处理方法。According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above data processing method when running.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:
S1,获取多台设备的历史工作日志信息;S1, obtaining historical work log information of multiple devices;
S2,基于所述历史工作日志信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值;S2. Based on the historical work log information, calculate the scoring value of each of the devices when executing the corresponding working mode in the different working hours;
S3,基于所述不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在所述不同工作时段下的最优工作模式。S3. Based on the different working periods, perform aggregation processing on the scoring values to determine an optimal working mode of each of the devices under the different working periods.
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S1,获取多台设备的历史工作日志信息;S1, obtaining historical work log information of multiple devices;
S2,基于所述历史工作日志信息,计算每台所述设备在所述不同工作时段下执行对应的工作模式时的评分值;S2. Based on the historical work log information, calculate the scoring value of each of the devices when executing the corresponding working mode in the different working hours;
S3,基于所述不同工作时段,对所述评分值进行聚合处理,确定每台所述设备在所述不同工作时段下的最优工作模式。S3. Based on the different working periods, perform aggregation processing on the scoring values to determine an optimal working mode of each of the devices under the different working periods.
根据本发明实施例的又一方面,还提供了一种智能家居系统,包括电子装置,所述电子装置上述的电子装置。例如,智能家居系统可以包括空调系统,空调系统包括空调器,空调器设置有电子装置,电子装置包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present invention, there is also provided a smart home system, including an electronic device, the electronic device being the above-mentioned electronic device. For example, the smart home system may include an air-conditioning system, the air-conditioning system includes an air conditioner, the air conditioner is provided with an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: various media that can store program codes such as USB flash drives, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), mobile hard disks, magnetic disks, or optical disks.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. The steps are implemented as a single integrated circuit module. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110745410.9A CN113435760B (en) | 2021-06-30 | 2021-06-30 | Data processing method and device, storage medium, electronic device and smart home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110745410.9A CN113435760B (en) | 2021-06-30 | 2021-06-30 | Data processing method and device, storage medium, electronic device and smart home system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113435760A CN113435760A (en) | 2021-09-24 |
CN113435760B true CN113435760B (en) | 2023-07-21 |
Family
ID=77758433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110745410.9A Active CN113435760B (en) | 2021-06-30 | 2021-06-30 | Data processing method and device, storage medium, electronic device and smart home system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113435760B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0686971A2 (en) * | 1994-06-07 | 1995-12-13 | Hitachi, Ltd. | Information storing device and method for controlling same to record/reproduce information by selecting one of working modes |
CN105527944A (en) * | 2014-10-20 | 2016-04-27 | 上海科斗电子科技有限公司 | Intelligent control system capable of time partition |
CN106598711A (en) * | 2016-11-16 | 2017-04-26 | 乐视控股(北京)有限公司 | Working mode switching method and system for intelligent terminal |
CN109240114A (en) * | 2018-10-26 | 2019-01-18 | 无锡小天鹅股份有限公司 | Appliances equipment control method, device, electronic equipment and storage medium |
CN110658728A (en) * | 2019-10-08 | 2020-01-07 | 珠海格力电器股份有限公司 | Method for setting household appliance parameters, mobile device and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190258807A1 (en) * | 2017-09-26 | 2019-08-22 | Mcs2, Llc | Automated adjusting of devices |
-
2021
- 2021-06-30 CN CN202110745410.9A patent/CN113435760B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0686971A2 (en) * | 1994-06-07 | 1995-12-13 | Hitachi, Ltd. | Information storing device and method for controlling same to record/reproduce information by selecting one of working modes |
CN105527944A (en) * | 2014-10-20 | 2016-04-27 | 上海科斗电子科技有限公司 | Intelligent control system capable of time partition |
CN106598711A (en) * | 2016-11-16 | 2017-04-26 | 乐视控股(北京)有限公司 | Working mode switching method and system for intelligent terminal |
CN109240114A (en) * | 2018-10-26 | 2019-01-18 | 无锡小天鹅股份有限公司 | Appliances equipment control method, device, electronic equipment and storage medium |
CN110658728A (en) * | 2019-10-08 | 2020-01-07 | 珠海格力电器股份有限公司 | Method for setting household appliance parameters, mobile device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113435760A (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113268661A (en) | Method and device for recommending user functions and intelligent household appliance | |
CN113375297A (en) | Method and device for controlling air conditioner and air conditioner | |
CN112418909A (en) | Data processing method and data processing device of shared air conditioner | |
CN113194155A (en) | Method and device for intelligently recommending scenes in Internet of things | |
CN113435760B (en) | Data processing method and device, storage medium, electronic device and smart home system | |
CN102722410B (en) | The method of executive routine, server, mobile terminal and system | |
CN113778885B (en) | Prompt information generation method and device based on data embedded points and electronic equipment | |
WO2023159821A1 (en) | Method and device for determining operational behavior, storage medium, and electronic device | |
CN114667034A (en) | Electronic device dust removal reminder method, electronic device, fan and storage medium | |
CN112432316B (en) | Air conditioner control method and device, electronic equipment and storage medium | |
CN113834184A (en) | Control method and device for air conditioner and server | |
CN110749054B (en) | Method and device for determining temperature change rate | |
CN112612547A (en) | Parameter determination method and device, storage medium and electronic device | |
CN112325459A (en) | Energy-saving control method, device, equipment and storage medium | |
CN107560065A (en) | A kind of intelligent air-conditioner control method and server | |
CN110793163B (en) | Air conditioner configuration processing method and device | |
WO2024045501A1 (en) | Recommendation information determination method and apparatus, and storage medium and electronic apparatus | |
CN111737136B (en) | Object testing method and device based on Internet of things platform | |
CN112418910B (en) | Data processing method and data processing device of shared air conditioner | |
CN112488590B (en) | Target object classification method and device, storage medium and electronic device | |
CN112146240B (en) | Operation control method, control device, drive-by-wire apparatus, server, and storage medium | |
CN115933421A (en) | Energy-saving control method and device for electrical equipment and electrical equipment | |
CN110736238B (en) | Method and device for controlling air conditioner, equipment, storage medium and electronic device | |
CN113283646B (en) | Method, device, storage medium and electronic device for controlling equipment operation | |
CN113435642A (en) | Edible strategy determination method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |