WO2019227368A1 - 模式控制方法、装置、可读存储介质及电子设备 - Google Patents

模式控制方法、装置、可读存储介质及电子设备 Download PDF

Info

Publication number
WO2019227368A1
WO2019227368A1 PCT/CN2018/089161 CN2018089161W WO2019227368A1 WO 2019227368 A1 WO2019227368 A1 WO 2019227368A1 CN 2018089161 W CN2018089161 W CN 2018089161W WO 2019227368 A1 WO2019227368 A1 WO 2019227368A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
information
mode
current
user
Prior art date
Application number
PCT/CN2018/089161
Other languages
English (en)
French (fr)
Inventor
彭灵
陈辉萍
钟城广
盘国权
范高如
李鑫
陈清泉
黄立旺
王增均
朱荆莲
李文彬
姚化桥
俞伟良
陈海裕
杨金桂
李文和
李国凯
郭飞锋
Original Assignee
深圳市蚂蚁雄兵物联技术有限公司
深圳佳比泰智能照明股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市蚂蚁雄兵物联技术有限公司, 深圳佳比泰智能照明股份有限公司 filed Critical 深圳市蚂蚁雄兵物联技术有限公司
Priority to PCT/CN2018/089161 priority Critical patent/WO2019227368A1/zh
Priority to CN201880000683.7A priority patent/CN109451752A/zh
Publication of WO2019227368A1 publication Critical patent/WO2019227368A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to the field of intelligent control technology, and in particular, to a mode control method, device, readable storage medium, and electronic device.
  • Smart home is a living environment. It is a living environment with a smart home system installed on the platform of the house.
  • the process of implementing a smart home system is called smart home integration.
  • Take the house as a platform use integrated wiring technology, network communication technology, smart home-system design scheme security prevention technology, automatic control technology, audio and video technology to integrate facilities related to home life, build efficient residential facilities and family schedule management System to improve home safety, convenience, comfort, and artistry, and to achieve an environmentally friendly and energy-saving living environment.
  • the user experience is currently low.
  • an object of the present disclosure includes providing a mode control method, a device, a readable storage medium, and an electronic device to improve at least one of the above problems.
  • An embodiment of the present disclosure provides a mode control method applied to an electronic device.
  • the method includes:
  • the electronic device determines a mode selected by a user
  • the electronic device controls a working state of a home device that is communicatively connected with the electronic device based on the current information.
  • the determining, by the electronic device, a mode selected by a user includes:
  • the electronic device When the electronic device detects that the user clicks a mode identifier on the mode operation interface, it determines that the clicked mode identifier is the mode selected by the user.
  • the determining, by the electronic device, a mode selected by a user includes:
  • the electronic device receives a user's mode demand voice
  • the electronic device determines a mode selected by a user based on the keywords.
  • the electronic device determining the mode selected by the user based on the keywords includes:
  • the electronic device matches the keywords with a preset keyword database. If the matching is successful, it is determined that the mode corresponding to the keywords is the mode selected by the user.
  • the electronic device controlling a working state of a home device that is communicatively connected with the electronic device includes:
  • the electronic device compares the current information with preset information, and controls a working state of a home device that is communicatively connected with the electronic device according to a comparison result.
  • the method further includes:
  • the electronic device controls at least one acquisition device corresponding to the mode to work.
  • the at least one acquisition device includes a light sensor
  • the electronic device acquiring current information of an environment in which the electronic device is in the mode includes:
  • the household equipment includes curtains, and the curtains are communicatively connected to the electronic equipment, and the electronic equipment controls a working state of the household equipment communicably connected to the electronic equipment based on the current information, including:
  • the electronic device controls the working state of the curtain based on the current season information and the current light intensity information.
  • the electronic device controlling the working state of the curtain based on the current season information and the current light intensity information includes:
  • the electronic device compares the current light intensity information with the preset light intensity information corresponding to the current season information, and if the current light intensity information is greater than the preset light intensity information, controls the curtain to be pulled down.
  • the at least one acquisition device includes a temperature sensor
  • the acquiring, by the electronic device, current information of an environment in which the electronic device is located in the mode includes:
  • the home device includes an air conditioner, and the air conditioner is in communication connection with the electronic device, and the electronic device controls a working state of the home device in communication connection with the electronic device based on the current information, including:
  • the electronic device controls an operating state of the air conditioner based on the current season information and the current temperature information.
  • the electronic device controlling the working state of the air conditioner based on the current season information and the current temperature information includes:
  • the electronic device compares current temperature information with preset temperature information corresponding to the current season information, and controls the air conditioner to turn on if the current temperature information is greater than the preset temperature information.
  • the at least one acquisition device includes a humidity sensor
  • the obtaining, by the electronic device, current information of an environment in which the electronic device is located in the mode includes:
  • the home device includes a humidifier, the humidifier is in communication connection with the electronic device, and the electronic device controls a working state of the home device in communication connection with the electronic device based on the current information, including:
  • the electronic device controls a working state of the humidifier that is communicatively connected with the electronic device based on the current season information and the current humidity information.
  • the electronic device controls a working state of the humidifier in communication with the electronic device, including:
  • the electronic device compares the current humidity information with the preset humidity information corresponding to the current season information, and if the current humidity information is less than the preset humidity information, controls the humidifier to turn on.
  • An embodiment of the present disclosure further provides a mode control device that runs on an electronic device.
  • the device includes a determination unit, an acquisition unit, and a control unit.
  • the determining unit is configured to determine a mode selected by the user.
  • the obtaining unit is configured to obtain current information of an environment in which the electronic device is located in the mode.
  • the control unit is configured to control an operating state of a home device communicatively connected with the electronic device based on the current information.
  • the determining unit is configured to determine that when the user clicks a mode identifier on the mode operation interface, the clicked mode identifier is the mode selected by the user.
  • the determining unit is configured to: receive a user's mode required voice; obtain keywords based on the mode required voice; and determine a mode selected by the user based on the keywords.
  • the determining unit is configured to match the keywords with a preset keyword database, and if the matching is successful, determine that a mode corresponding to the keywords is a mode selected by a user.
  • control unit is configured to compare the current information with preset information, and control a working state of a home device that is communicatively connected with the electronic device according to the comparison result.
  • control unit is configured to control at least one acquisition device corresponding to the mode to work.
  • An embodiment of the present disclosure further provides a readable storage medium, where the readable storage medium stores program code, and the program code executes the foregoing method when read and run by a processor.
  • An embodiment of the present disclosure further provides an electronic device including a processor and a memory, the processor and the memory being electrically connected through a bus; the memory stores program code; and the processor is configured to pass the bus Read and run the program code from the memory, and execute the above method.
  • Embodiments of the present disclosure provide a mode control method, a device, a readable storage medium, and an electronic device.
  • the method is applied to an electronic device.
  • the method includes the electronic device determining a mode selected by a user and obtaining the mode.
  • Current information of the environment in which the electronic device is located and then based on the current information, control the working state of the home device that is communicatively connected with the electronic device.
  • the mode selected by the user the current information in the mode is obtained, and then the home equipment is controlled to achieve the linkage between the home equipment and the mode, which is more intelligent and improves the user experience.
  • FIG. 1 is an application environment of an embodiment of the present disclosure
  • FIG. 2 is a structural block diagram of an electronic device applicable to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a mode control method according to an embodiment of the present disclosure.
  • FIG. 4 is a structural block diagram of a mode control apparatus according to an embodiment of the present disclosure.
  • FIG. 1 it is a schematic diagram of interaction between an electronic device 100 and a home device 200 according to an embodiment of the present disclosure.
  • the electronic device 100 is communicatively connected with the home device, for example, it can be connected via Bluetooth or a network for data communication or interaction.
  • the network may be a wired or wireless network.
  • the electronic device 100 may include a memory 102, a memory controller 104, one or more (only one is shown in FIG. 2) a processor 106, a peripheral interface 108, an input / output module 110, an audio module 112, a display module 114, and a radio frequency module. 116 and mode control.
  • the components of the memory 102, the storage controller 104, the processor 106, the peripheral interface 108, the input / output module 110, the audio module 112, the display module 114, and the radio frequency module 116 are directly or indirectly electrically connected to realize data transmission or Interaction.
  • these components can be electrically connected through one or more communication buses or signal buses.
  • the mode control method includes at least one software function module that can be stored in the memory 102 in the form of software or firmware, such as a software function module or a computer program included in the mode control device.
  • the memory 102 may store various software programs and modules, such as program instructions / modules corresponding to the mode control method and device provided in the embodiments of the present application.
  • the processor 106 executes various functional applications and data processing by running software programs and modules stored in the memory 102, that is, implementing the mode control method in the embodiment of the present application.
  • the memory 102 may include, but is not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), and Erasable Read-Only Memory (Erasable, Programmable, Read-Only Memory, EPROM), electrically erasable read-only memory (Electric, Erasable, Programmable, Read-Only Memory, EEPROM), etc.
  • RAM Random Access Memory
  • ROM Read-Only Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Read-Only Memory
  • EPROM Electrically erasable read-only memory
  • EEPROM electrically erasable read-only memory
  • the processor 106 may be an integrated circuit chip with signal processing capabilities.
  • the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc .; it may also be a digital signal processor (DSP), and an application specific integrated circuit (ASIC ), Ready-made programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the peripheral interface 108 couples various input / input devices to the processor 106 and the memory 102.
  • the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they can be implemented by separate chips.
  • the input-output module 110 is configured to provide a user with input data to implement the interaction between the user and the electronic device 100.
  • the input / output module 110 may be, but is not limited to, a mouse, a keyboard, and the like.
  • the audio module 112 provides an audio interface to a user, which may include one or more microphones, one or more speakers, and audio circuits.
  • the display module 114 provides an interactive interface (such as a user operation interface) between the electronic device 100 and a user or is used to display image data for the user's reference.
  • the display module 114 may be a liquid crystal display or a touch display. If it is a touch display, it may be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense touch operations from one or more locations on the touch display at the same time, and pass the sensed touch operations to the processor 106 Perform calculations and processing.
  • the radio frequency module 116 is used to receive and send electromagnetic waves, to realize mutual conversion between electromagnetic waves and electrical signals, and to communicate with a communication network or other equipment.
  • FIG. 2 is merely schematic, and the electronic device 100 may further include more or fewer components than those shown in FIG. 2, or have a different configuration from that shown in FIG. 2.
  • the components shown in Figure 2 can be implemented using hardware, software, or a combination thereof.
  • the electronic device 100 may be a terminal device such as a personal computer (PC), a tablet computer, a mobile phone, a notebook computer, a smart TV, a set-top box, or a vehicle terminal.
  • a client is installed in the electronic device 100, and the client may be a browser or a third-party application software.
  • an APP is installed in the electronic device.
  • an embodiment of the present disclosure provides a mode control method applied to an electronic device.
  • the method includes: step S300, step S310, and step S320.
  • Step S300 The electronic device determines a mode selected by the user.
  • step S300 may include:
  • the electronic device When the electronic device detects that the user clicks a mode identifier on the mode operation interface, it determines that the clicked mode identifier is the mode selected by the user.
  • step S300 may include:
  • the electronic device receives a user's mode demand voice
  • the electronic device determines a mode selected by a user based on the keywords.
  • the electronic device determining the mode selected by the user based on the keywords includes:
  • the electronic device matches the keywords with a preset keyword database. If the matching is successful, it is determined that the mode corresponding to the keywords is the mode selected by the user.
  • each pattern corresponds to a plurality of keywords and is stored in a keyword database.
  • the electronic device sees the movie based on the received user's mode requirement language, obtains keywords to watch the movie, matches the keywords to watch the movie and the preset keyword database, If the matching is successful, it is determined that the mode corresponding to the keyword, that is, the viewing mode is the mode selected by the user. Similarly, when the user says "I want to sleep", the electronic device obtains the keyword and then sleeps, and determines that the sleep mode corresponding to the keyword and sleep is the mode selected by the user.
  • Step S310 The electronic device obtains current information of an environment in which the electronic device is located in the mode.
  • the method may further include:
  • the electronic device controls at least one acquisition device corresponding to the mode to work.
  • Each of the at least one acquisition device is communicatively connected with the electronic device, for example, each acquisition device is communicatively connected with the electronic device through a wireless network.
  • the mode includes a sleep mode, at least one acquisition device corresponding to the sleep mode includes a temperature sensor, a humidity sensor, and a light sensor, and the electronic device controls the temperature sensor to perform temperature acquisition in the room, the humidity sensor performs humidity acquisition in the room, and light sensor performs Light intensity collection in the room.
  • the mode includes a viewing mode, at least one acquisition device corresponding to the sleep mode includes a light sensor, and the electronic device controls the light sensor to perform light intensity acquisition in the room.
  • the mode may further include a meal mode, an exercise mode, and the like.
  • Step S320 Based on the current information, the electronic device controls a working state of a home device that is communicatively connected with the electronic device.
  • step S320 may include:
  • the electronic device compares the current information with preset information, and controls a working state of a home device that is communicatively connected with the electronic device according to a comparison result.
  • the at least one acquisition device includes a light sensor
  • step S310 includes:
  • Step S320 includes:
  • the electronic device controls the working state of the curtain based on the current season information and the current light intensity information.
  • the electronic device controlling the working state of the curtain based on the current season information and the current light intensity information includes:
  • the electronic device compares the current light intensity information with the preset light intensity information corresponding to the current season information, and if the current light intensity information is greater than the preset light intensity information, controls the curtain to be pulled down.
  • the mode includes a viewing mode
  • at least one acquisition device corresponding to the viewing mode includes a light sensor
  • the electronic device acquires current season information in the viewing mode and receives the current light collected by the light sensor. Strong information, comparing the current light intensity information with preset light intensity information corresponding to the current season information, and if the current light intensity information is greater than the preset light intensity information, controlling the curtain to be pulled down. If the current light intensity information is not greater than the preset light intensity information, controlling the curtain to be pulled up. Realize the linkage between curtains and this viewing mode.
  • the at least one acquisition device includes a temperature sensor
  • step S310 includes:
  • Step S320 includes:
  • the electronic device controls an operating state of the air conditioner based on the current season information and the current temperature information.
  • the electronic device controlling the working state of the air conditioner based on the current season information and the current temperature information includes:
  • the electronic device compares the current temperature information with preset temperature information corresponding to the current season information, and if the current temperature information is greater than the preset temperature information, controls the air conditioner to turn on.
  • the at least one acquisition device includes a humidity sensor
  • step S310 includes:
  • Step S320 includes:
  • the electronic device controls a working state of the humidifier that is communicatively connected with the electronic device based on the current season information and the current humidity information.
  • the electronic device controls a working state of the humidifier in communication with the electronic device, including:
  • the electronic device compares the current humidity information with the preset humidity information corresponding to the current season information, and if the current humidity information is less than the preset humidity information, controls the humidifier to turn on.
  • the mode includes a sleep mode, and at least one acquisition device corresponding to the sleep mode includes a light sensor and a temperature.
  • the electronic device obtains current season information in the viewing mode and receives the current light collected by the light sensor. Strong information, comparing the current light intensity information with preset light intensity information corresponding to the current season information, and if the current light intensity information is greater than the preset light intensity information, controlling the curtain to be pulled down, If the current light intensity information is not greater than the preset light intensity information, controlling the curtain to be pulled up; the electronic device obtains current season information in the sleep mode and receives the current temperature collected by the temperature sensor Information, the electronic device compares the current temperature information with preset temperature information corresponding to the current season information, and if the current temperature information is greater than the preset temperature information, controls the air conditioner to turn on so that the air conditioner Performing cooling work, if the current temperature information is not greater than the preset temperature information, controlling the air conditioner to be turned off; the electronic device Acquiring current season information in the sleep mode and receiving current humidity information
  • An embodiment of the present disclosure provides a mode control method.
  • the method is applied to an electronic device.
  • the method includes: after the electronic device determines a mode selected by a user, obtaining a current environment of the electronic device in the mode. Information, and then based on the current information, control the working status of the home device that is communicatively connected with the electronic device. According to the mode selected by the user, the current information in the mode is obtained, and then the home equipment is controlled to achieve the linkage between the home equipment and the mode, which is more intelligent and improves the user experience.
  • an embodiment of the present disclosure further provides a mode control device 400 that runs on an electronic device.
  • the device 400 includes a determining unit 410, an obtaining unit 420, and a control unit 430.
  • the determination unit 410 is configured to determine a mode selected by a user.
  • the determining unit 410 is configured to, when detecting that the user clicks a mode identifier on the mode operation interface, determine that the clicked mode identifier is the mode selected by the user.
  • the determining unit 410 is configured to: receive a user's mode required voice; obtain keywords based on the mode required voice; and determine a mode selected by the user based on the keywords.
  • the determining unit 410 is configured to match the keywords with a preset keyword database, and if the matching is successful, determine that a mode corresponding to the keywords is a mode selected by a user.
  • the obtaining unit 420 is configured to obtain current information of an environment in which the electronic device is located in the mode.
  • the control unit 430 is configured to control an operating state of a home device that is communicatively connected with the electronic device based on the current information.
  • control unit 430 is configured to compare the current information with preset information, and control a working state of a home device that is communicatively connected with the electronic device according to the comparison result.
  • control unit 430 is configured to control at least one acquisition device corresponding to the mode to work.
  • the at least one acquisition device includes a light sensor, and the acquisition unit 420 is configured to acquire current season information in the mode and receive current light intensity information collected by the light sensor.
  • the household equipment includes a curtain, the curtain is communicatively connected to the electronic device, and the control unit 430 is configured to control the working state of the curtain based on the current season information and the current light intensity information.
  • the control unit 430 is configured to compare the current light intensity information with the preset light intensity information corresponding to the current season information, and if the current light intensity information is greater than the preset light intensity information, control the curtain to be pulled down.
  • the obtaining unit 420 is configured to obtain current season information in the mode and receive current temperature information collected by the temperature sensor.
  • the household equipment includes an air conditioner, the air conditioner is communicatively connected to the electronic device, and the control unit 430 is configured to control an operating state of the air conditioner based on the current season information and the current temperature information.
  • the control unit 430 is configured to compare the current temperature information with preset temperature information corresponding to the current season information, and control the air conditioner to be turned on if the current temperature information is greater than the preset temperature information.
  • the obtaining unit 420 is configured to obtain the current season information in the mode and receive the current humidity information collected by the humidity sensor.
  • the household device includes a humidifier, the humidifier is in communication with the electronic device, and the control unit 430 is configured to control the humidification in communication with the electronic device based on the current season information and the current humidity information. Working status of the device.
  • the control unit 430 is configured to compare the current humidity information with the preset humidity information corresponding to the current season information, and if the current humidity information is less than the preset humidity information, control the humidifier to turn on.
  • the above units may be implemented by software code. At this time, the above units may be stored in the memory 102. The above units can also be implemented by hardware such as integrated circuit chips.
  • the implementation principle and technical effects of the mode control device 400 provided by the embodiment of the present disclosure are the same as those of the foregoing method embodiments.
  • the parts not mentioned in the device embodiments may refer to the corresponding content in the foregoing method embodiments.
  • An embodiment of the present disclosure further provides a readable storage medium, where the readable storage medium stores program code, and the program code executes the foregoing method when read and run by a processor.
  • An embodiment of the present disclosure further provides an electronic device including a processor and a memory, where the processor and the memory are electrically connected through a bus; the memory stores program code; and the processor is configured to pass the The bus reads and runs the program code from the memory, and executes the foregoing method.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more components for implementing a specified logical function Executable instructions.
  • the functions marked in the blocks may also occur in a different order than those marked in the drawings.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or action. , Or it can be implemented with a combination of dedicated hardware and computer instructions.
  • the functional modules in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
  • the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
  • relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order among them.
  • the terms "including”, “comprising”, or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also those that are not explicitly listed Or other elements inherent to such a process, method, article, or device. Without more restrictions, the elements defined by the sentence “including a " do not exclude the existence of other identical elements in the process, method, article, or equipment that includes the elements.
  • Embodiments of the present disclosure provide a mode control method, a device, a readable storage medium, and an electronic device.
  • the method is applied to an electronic device.
  • the method includes the electronic device determining a mode selected by a user and obtaining the mode.
  • Current information of the environment in which the electronic device is located and then based on the current information, control the working state of the home device that is communicatively connected with the electronic device.
  • the mode selected by the user the current information in the mode is obtained, and then the home equipment is controlled to achieve the linkage between the home equipment and the mode, which is more intelligent and improves the user experience.

Abstract

本公开实施例提供了一种模式控制方法、装置、可读存储介质及电子设备,涉及智能控制技术领域。所述方法应用于一电子设备,方法包括所述电子设备确定用户选择的模式后,获取在所述模式下的所述电子设备所处环境的当前信息,然后基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。实现了根据用户选择的模式,获取该模式下的当前信息,进而控制家用设备,实现家用设备与模式的联动,更智能,提升用户体验。

Description

模式控制方法、装置、可读存储介质及电子设备 技术领域
本公开涉及智能控制技术领域,尤其是涉及一种模式控制方法、装置、可读存储介质及电子设备。
背景技术
智能家居是一个居住环境,是以住宅为平台安装有智能家居系统的居住环境,实施智能家居系统的过程就称为智能家居集成。以住宅为平台,利用综合布线技术、网络通信技术、智能家居-系统设计方案安全防范技术、自动控制技术、音视频技术将家居生活有关的设施集成,构建高效的住宅设施与家庭日程事务的管理系统,提升家居安全性、便利性、舒适性、艺术性,并实现环保节能的居住环境。目前在控制家用设备方面,用户体验低。
发明内容
有鉴于此,本公开的目的包括,提供一种模式控制方法、装置、可读存储介质及电子设备,以改善上述问题中的至少一个问题。
本公开实施例提供一种模式控制方法,应用于一电子设备,所述方法包括:
所述电子设备确定用户选择的模式;
所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息;
所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。
可选地,所述电子设备确定用户选择的模式,包括:
所述电子设备检测到用户在模式操作界面上点击一个模式标识时,确定点击的模式标识为用户选择的模式。
可选地,所述电子设备确定用户选择的模式,包括:
所述电子设备接收用户的模式需求语音;
所述电子设备基于所述模式需求语音,获得关键词;
所述电子设备基于所述关键词,确定用户选择的模式。
可选地,所述电子设备基于所述关键词,确定用户选择的模式,包括:
所述电子设备将所述关键词与预设的关键词库进行匹配,若匹配成功,确定所述关键词对应的模式为用户选择的模式。
可选地,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
所述电子设备将所述当前信息与预设的信息进行对比,并根据对比结果控制与所述电子设备通信连接的家用设备的工作状态。
可选地,在所述电子设备确定用户选择的模式之后,在所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息之前,所述方法还包括:
所述电子设备控制与所述模式对应的至少一个采集设备进行工作。
可选地,所述至少一个采集设备包括光传感器,所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息,包括:
所述电子设备获取在所述模式下的当前季节信息并接收所述光传感器采集的当前光强信息;
所述家用设备包括窗帘,所述窗帘与所述电子设备通信连接,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
所述电子设备基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态。
可选地,所述电子设备基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态,包括:
所述电子设备将当前光强信息与所述当前季节信息对应的预设光强信息进行对比,若所述当前光强信息大于所述预设光强信息时,控制所述窗帘拉下。
可选地,所述至少一个采集设备包括温度传感器,所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息,包括:
所述电子设备获取在所述模式下的当前季节信息并接收所述温度传感器采集的当前温度信息;
所述家用设备包括空调,所述空调与所述电子设备通信连接,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
所述电子设备基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态。
可选地,所述电子设备基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态,包括:
所述电子设备将当前温度信息与所述当前季节信息对应的预设温度信息进行对比,若所述当前温度信息大于所述预设温度信息时,控制所述空调开启。
可选地,所述至少一个采集设备包括湿度传感器,所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息,包括:
所述电子设备获取在所述模式下的当前季节信息并接收所述湿度传感器采集的当 前湿度信息;
所述家用设备包括加湿器,所述加湿器与所述电子设备通信连接,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
所述电子设备基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态。
可选地,所述电子设备基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态,包括:
所述电子设备将当前湿度信息与所述当前季节信息对应的预设湿度信息进行对比,若所述当前湿度信息小于所述预设湿度信息时,控制所述加湿器开启。
本公开实施例还提供了一种模式控制装置,运行于一电子设备,所述装置包括确定单元、获取单元和控制单元。确定单元配置成确定用户选择的模式。获取单元配置成获取在所述模式下的所述电子设备所处环境的当前信息。控制单元配置成基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。
可选地,所述确定单元配置成检测到用户在模式操作界面上点击一个模式标识时,确定点击的模式标识为用户选择的模式。
可选地,所述确定单元配置成:接收用户的模式需求语音;基于所述模式需求语音,获得关键词;以及基于所述关键词,确定用户选择的模式。
可选地,所述确定单元配置成将所述关键词与预设的关键词库进行匹配,若匹配成功,确定所述关键词对应的模式为用户选择的模式。
可选地,所述控制单元配置成将所述当前信息与预设的信息进行对比,并根据对比结果控制与所述电子设备通信连接的家用设备的工作状态。
可选地,所述控制单元配置成控制与所述模式对应的至少一个采集设备进行工作。
本公开实施例还提供了一种可读存储介质,所述可读存储介质存储有程序代码,所述程序代码在被处理器读取并运行时,执行上述的方法。
本公开实施例还提供了一种电子设备,包括处理器和存储器,所述处理器和所述存储器通过总线电连接;所述存储器中存储有程序代码;所述处理器配置成通过所述总线从所述存储器中读取并运行所述程序代码,执行上述的方法。
本公开实施例提供了一种模式控制方法、装置、可读存储介质及电子设备,所述方法应用于一电子设备,方法包括所述电子设备确定用户选择的模式后,获取在所述模式下的所述电子设备所处环境的当前信息,然后基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。实现了根据用户选择的模式,获取该模式下的当前信息,进而控制家用设备,实现家用设备与模式的联动,更智能,提升用户体验。
本公开的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本公开而了解。本公开的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
为了更清楚地说明本公开具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例的应用环境;
图2为一种可应用于本公开实施例中的电子设备的结构框图;
图3为本公开实施例提供的模式控制方法的流程图;
图4为本公开实施例提供的模式控制装置的结构框图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。
因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
如图1所示,是本公开实施例提供的一种电子设备100与家用设备200的交互示意图。在本实施例中,家用设备200可以为多个(图1中示出一个)。电子设备100与家用设备通信连接,例如,可以通过蓝牙或网络连接,以进行数据通信或交互。所述网络可以是有线或无线网络。
请参阅图2,示出了一种可应用于本公开实施例中的电子设备100的结构框图。电子设备100可以包括存储器102、存储控制器104、一个或多个(图2中仅示出一个)处理器106、外设接口108、输入输出模块110、音频模块112、显示模块114、射频模块116和模式控制装置。
存储器102、存储控制器104、处理器106、外设接口108、输入输出模块110、音频模块112、显示模块114、射频模块116各元件之间直接或间接地电连接,以实现数据的传输 或交互。例如,这些元件之间可以通过一条或多条通讯总线或信号总线实现电连接。模式控制方法分别包括至少一个可以以软件或固件(firmware)的形式存储于存储器102中的软件功能模块,例如所述模式控制装置包括的软件功能模块或计算机程序。
存储器102可以存储各种软件程序以及模块,如本申请实施例提供的模式控制方法及装置对应的程序指令/模块。处理器106通过运行存储在存储器102中的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现本申请实施例中的模式控制方法。
存储器102可以包括但不限于随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。
处理器106可以是一种集成电路芯片,具有信号处理能力。上述处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。其可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述外设接口108将各种输入/输入装置耦合至处理器106以及存储器102。在一些实施例中,外设接口108、处理器106以及存储控制器104可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。
输入输出模块110用于提供给用户输入数据实现用户与电子设备100的交互。所述输入输出模块110可以是,但不限于,鼠标和键盘等。
音频模块112向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。
显示模块114在电子设备100与用户之间提供一个交互界面(例如用户操作界面)或用于显示图像数据给用户参考。在本实施例中,所述显示模块114可以是液晶显示器或触控显示器。若为触控显示器,其可为支持单点和多点触控操作的电容式触控屏或电阻式触控屏等。支持单点和多点触控操作是指触控显示器能感应到来自该触控显示器上一个或多个位置处同时产生的触控操作,并将该感应到的触控操作交由处理器106进行计算和处理。
射频模块116用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通信网络或者其他设备进行通信。
可以理解,图2所示的结构仅为示意,电子设备100还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。图2中所示的各组件可以采用硬件、软件 或其组合实现。
于本公开实施例中,该电子设备100可以为PC(personal computer)电脑、平板电脑、手机、笔记本电脑、智能电视、机顶盒、车载终端等终端设备。电子设备100中安装有客户端,该客户端可以是浏览器也可以是第三方应用软件。
在本实施例中,电子设备中安装有APP。
请参阅图3,本公开实施例提供了一种模式控制方法,应用于一电子设备,所述方法包括:步骤S300、步骤S310和步骤S320。
步骤S300:所述电子设备确定用户选择的模式。
可选地,步骤S300可以包括:
所述电子设备检测到用户在模式操作界面上点击一个模式标识时,确定点击的模式标识为用户选择的模式。
可选地,步骤S300可以包括:
所述电子设备接收用户的模式需求语音;
所述电子设备基于所述模式需求语音,获得关键词;
所述电子设备基于所述关键词,确定用户选择的模式。
可选地,所述电子设备基于所述关键词,确定用户选择的模式,包括:
所述电子设备将所述关键词与预设的关键词库进行匹配,若匹配成功,确定所述关键词对应的模式为用户选择的模式。
在本实施例中,每个模式对应多个关键词,存储在关键词库中。
例如,用户说“我想看电影”,电子设备基于接收到的用户的模式需求语言即相看电影,获取关键词即看电影,将关键词即看电影与预设的关键词库进行匹配,匹配成功,确定关键词对应的模式即观影模式为用户选择的模式。同理,用户说“我想睡觉”,电子设备获取关键词即睡觉,确定关键词即睡觉对应的睡眠模式为用户选择的模式。
步骤S310:所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息。
可选地,在步骤S300之后,在步骤S310之前,所述方法还可以包括:
所述电子设备控制与所述模式对应的至少一个采集设备进行工作。
其中,至少一个采集设备中的每个采集设备与电子设备通信连接,例如每个采集设备通过无线网络与电子设备通信连接。
例如,所述模式包括睡眠模式,与睡眠模式对应的至少一个采集设备包括温度传感器、湿度传感器和光传感器,电子设备控制温度传感器进行房间内的温度采集、湿度传感器进行房间内的湿度采集和光传感器进行房间内的光强采集。例如,所述模式 包括观影模式,与睡眠模式对应的至少一个采集设备包括光传感器,电子设备控制光传感器进行房间内的光强采集。所述模式还可以包括吃饭模式、运动模式等。
步骤S320:所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。
可选地,步骤S320可以包括:
所述电子设备将所述当前信息与预设的信息进行对比,并根据对比结果控制与所述电子设备通信连接的家用设备的工作状态。
可选地,所述至少一个采集设备包括光传感器,步骤S310包括:
所述电子设备获取在所述模式下的当前季节信息并接收所述光传感器采集的当前光强信息;
所述家用设备包括窗帘,所述窗帘与所述电子设备通信连接,步骤S320包括:
所述电子设备基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态。
可选地,所述电子设备基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态,包括:
所述电子设备将当前光强信息与所述当前季节信息对应的预设光强信息进行对比,若所述当前光强信息大于所述预设光强信息时,控制所述窗帘拉下。
例如,所述模式包括观影模式,与观影模式对应的至少一个采集设备包括光传感器,所述电子设备获取所述观影模式下的当前季节信息及接收光传感器采集到的所述当前光强信息,将所述当前光强信息与所述当前季节信息对应的预设光强信息进行对比,若所述当前光强信息大于所述预设光强信息时,控制所述窗帘拉下。若所述当前光强信息不大于所述预设光强信息时,控制所述窗帘拉上。实现窗帘与该观影模式的联动。
可选地,所述至少一个采集设备包括温度传感器,步骤S310包括:
所述电子设备获取在所述模式下的当前季节信息并接收所述温度传感器采集的当前温度信息;
所述家用设备包括空调,所述空调与所述电子设备通信连接,步骤S320包括:
所述电子设备基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态。
可选地,所述电子设备基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态,包括:
所述电子设备将当前温度信息与所述当前季节信息对应的预设温度信息进行对 比,若所述当前温度信息大于所述预设温度信息时,控制所述空调开启。
可选地,所述至少一个采集设备包括湿度传感器,步骤S310包括:
所述电子设备获取在所述模式下的当前季节信息并接收所述湿度传感器采集的当前湿度信息;
所述家用设备包括加湿器,所述加湿器与所述电子设备通信连接,步骤S320包括:
所述电子设备基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态。
可选地,所述电子设备基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态,包括:
所述电子设备将当前湿度信息与所述当前季节信息对应的预设湿度信息进行对比,若所述当前湿度信息小于所述预设湿度信息时,控制所述加湿器开启。
例如,所述模式包括睡眠模式,与睡眠模式对应的至少一个采集设备包括光传感器、温度,所述电子设备获取所述观影模式下的当前季节信息及接收光传感器采集到的所述当前光强信息,将所述当前光强信息与所述当前季节信息对应的预设光强信息进行对比,若所述当前光强信息大于所述预设光强信息时,控制所述窗帘拉下,若所述当前光强信息不大于所述预设光强信息时,控制所述窗帘拉上;所述电子设备获取在所述睡眠模式下的当前季节信息并接收所述温度传感器采集的当前温度信息,所述电子设备将当前温度信息与所述当前季节信息对应的预设温度信息进行对比,若所述当前温度信息大于所述预设温度信息时,控制所述空调开启,使得所述空调进行制冷工作,若所述当前温度信息不大于所述预设温度信息时,控制所述空调关闭;所述电子设备获取在所述睡眠模式下的当前季节信息并接收所述湿度传感器采集的当前湿度信息,所述电子设备将当前湿度信息与所述当前季节信息对应的预设湿度信息进行对比,若所述当前湿度信息小于所述预设湿度信息时,控制所述加湿器开启,若所述当前湿度信息不小于所述预设温度信息时,控制所述加湿器关闭。实现窗帘、空调、加湿器与该睡眠模式的联动。
本公开实施例提供了一种模式控制方法,所述方法应用于一电子设备,方法包括所述电子设备确定用户选择的模式后,获取在所述模式下的所述电子设备所处环境的当前信息,然后基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。实现了根据用户选择的模式,获取该模式下的当前信息,进而控制家用设备,实现家用设备与模式的联动,更智能,提升用户体验。
请参阅图4,本公开实施例还提供了一种模式控制装置400,运行于一电子设备,所述装置400包括确定单元410、获取单元420和控制单元430。
确定单元410配置成确定用户选择的模式。
可选地,所述确定单元410配置成检测到用户在模式操作界面上点击一个模式标识时,确定点击的模式标识为用户选择的模式。
可选地,所述确定单元410配置成:接收用户的模式需求语音;基于所述模式需求语音,获得关键词;以及基于所述关键词,确定用户选择的模式。
可选地,所述确定单元410配置成将所述关键词与预设的关键词库进行匹配,若匹配成功,确定所述关键词对应的模式为用户选择的模式。
获取单元420配置成获取在所述模式下的所述电子设备所处环境的当前信息。
控制单元430配置成基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。
可选地,所述控制单元430配置成将所述当前信息与预设的信息进行对比,并根据对比结果控制与所述电子设备通信连接的家用设备的工作状态。
可选地,所述控制单元430配置成控制与所述模式对应的至少一个采集设备进行工作。
所述至少一个采集设备包括光传感器,获取单元420配置成获取在所述模式下的当前季节信息并接收所述光传感器采集的当前光强信息。
所述家用设备包括窗帘,所述窗帘与所述电子设备通信连接,控制单元430配置成基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态。
控制单元430配置成将当前光强信息与所述当前季节信息对应的预设光强信息进行对比,若所述当前光强信息大于所述预设光强信息时,控制所述窗帘拉下。
可选地,获取单元420配置成获取在所述模式下的当前季节信息并接收所述温度传感器采集的当前温度信息。
所述家用设备包括空调,所述空调与所述电子设备通信连接,控制单元430配置成基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态。
控制单元430配置成所述电子设备将当前温度信息与所述当前季节信息对应的预设温度信息进行对比,若所述当前温度信息大于所述预设温度信息时,控制所述空调开启。
可选地,获取单元420配置成获取在所述模式下的当前季节信息并接收所述湿度传感器采集的当前湿度信息。
所述家用设备包括加湿器,所述加湿器与所述电子设备通信连接,控制单元430配置成基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态。
控制单元430配置成将当前湿度信息与所述当前季节信息对应的预设湿度信息进行对比,若所述当前湿度信息小于所述预设湿度信息时,控制所述加湿器开启。
以上各单元可以是由软件代码实现,此时,上述的各单元可存储于存储器102内。以上各单元同样可以由硬件例如集成电路芯片实现。
本公开实施例提供的模式控制装置400,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。
本公开实施例还提供了一种可读存储介质,所述可读存储介质存储有程序代码,所述程序代码在被处理器读取并运行时,执行上述的方法。
本公开实施例还提供了一种电子设备,包括处理器和存储器,所述处理器和所述存储器通过总线电连接;所述存储器中存储有程序代码;所述处理器,配置成通过所述总线从所述存储器中读取并运行所述程序代码,执行上述的方法。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本公开的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本公开各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在 任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
工业实用性
本公开实施例提供了一种模式控制方法、装置、可读存储介质及电子设备,所述方法应用于一电子设备,方法包括所述电子设备确定用户选择的模式后,获取在所述模式下的所述电子设备所处环境的当前信息,然后基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。实现了根据用户选择的模式,获取该模式下的当前信息,进而控制家用设备,实现家用设备与模式的联动,更智能,提升用户体验。

Claims (20)

  1. 一种模式控制方法,其特征在于,应用于一电子设备,所述方法包括:
    所述电子设备确定用户选择的模式;
    所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息;
    所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备确定用户选择的模式,包括:
    所述电子设备检测到用户在模式操作界面上点击一个模式标识时,确定点击的模式标识为用户选择的模式。
  3. 根据权利要求1所述的方法,其特征在于,所述电子设备确定用户选择的模式,包括:
    所述电子设备接收用户的模式需求语音;
    所述电子设备基于所述模式需求语音,获得关键词;
    所述电子设备基于所述关键词,确定用户选择的模式。
  4. 根据权利要求3所述的方法,其特征在于,所述电子设备基于所述关键词,确定用户选择的模式,包括:
    所述电子设备将所述关键词与预设的关键词库进行匹配,若匹配成功,确定所述关键词对应的模式为用户选择的模式。
  5. 根据权利要求1-4任意一项所述的方法,其特征在于,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
    所述电子设备将所述当前信息与预设的信息进行对比,并根据对比结果控制与所述电子设备通信连接的家用设备的工作状态。
  6. 根据权利要求1-4任意一项所述的方法,其特征在于,在所述电子设备确定用户选择的模式之后,在所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息之前,所述方法还包括:
    所述电子设备控制与所述模式对应的至少一个采集设备进行工作。
  7. 根据权利要求6所述的方法,其特征在于,所述至少一个采集设备包括光传感器,所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息,包括:
    所述电子设备获取在所述模式下的当前季节信息并接收所述光传感器采集的当前光强信息;
    所述家用设备包括窗帘,所述窗帘与所述电子设备通信连接,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
    所述电子设备基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态。
  8. 根据权利要求7所述的方法,其特征在于,所述电子设备基于所述当前季节信息及所述当前光强信息,控制所述窗帘的工作状态,包括:
    所述电子设备将当前光强信息与所述当前季节信息对应的预设光强信息进行对比,若所述当前光强信息大于所述预设光强信息时,控制所述窗帘拉下。
  9. 根据权利要求6所述的方法,其特征在于,所述至少一个采集设备包括温度传感器,所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息,包括:
    所述电子设备获取在所述模式下的当前季节信息并接收所述温度传感器采集的当前温度信息;
    所述家用设备包括空调,所述空调与所述电子设备通信连接,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
    所述电子设备基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态。
  10. 根据权利要求9所述的方法,其特征在于,所述电子设备基于所述当前季节信息及所述当前温度信息,控制所述空调的工作状态,包括:
    所述电子设备将当前温度信息与所述当前季节信息对应的预设温度信息进行对比,若所述当前温度信息大于所述预设温度信息时,控制所述空调开启。
  11. 根据权利要求6所述的方法,其特征在于,所述至少一个采集设备包括湿度传感器,所述电子设备获取在所述模式下的所述电子设备所处环境的当前信息,包括:
    所述电子设备获取在所述模式下的当前季节信息并接收所述湿度传感器采集的当前湿度信息;
    所述家用设备包括加湿器,所述加湿器与所述电子设备通信连接,所述电子设备基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态,包括:
    所述电子设备基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态。
  12. 根据权利要求11所述的方法,其特征在于,所述电子设备基于所述当前季节信息及所述当前湿度信息,控制与所述电子设备通信连接的所述加湿器的工作状态,包括:
    所述电子设备将当前湿度信息与所述当前季节信息对应的预设湿度信息进行对 比,若所述当前湿度信息小于所述预设湿度信息时,控制所述加湿器开启。
  13. 一种模式控制装置,其特征在于,运行于一电子设备,所述装置包括:
    确定单元,配置成确定用户选择的模式;
    获取单元,配置成获取在所述模式下的所述电子设备所处环境的当前信息;
    控制单元,配置成基于所述当前信息,控制与所述电子设备通信连接的家用设备的工作状态。
  14. 根据权利要求13所述的装置,其特征在于,所述确定单元配置成检测到用户在模式操作界面上点击一个模式标识时,确定点击的模式标识为用户选择的模式。
  15. 根据权利要求13所述的装置,其特征在于,所述确定单元配置成:接收用户的模式需求语音;基于所述模式需求语音,获得关键词;以及基于所述关键词,确定用户选择的模式。
  16. 根据权利要求15所述的装置,其特征在于,所述确定单元配置成将所述关键词与预设的关键词库进行匹配,若匹配成功,确定所述关键词对应的模式为用户选择的模式。
  17. 根据权利要求13-16任意一项所述的装置,其特征在于,所述控制单元配置成将所述当前信息与预设的信息进行对比,并根据对比结果控制与所述电子设备通信连接的家用设备的工作状态。
  18. 根据权利要求13-16任意一项所述的装置,其特征在于,所述控制单元配置成控制与所述模式对应的至少一个采集设备进行工作。
  19. 一种可读存储介质,其特征在于,所述可读存储介质存储有程序代码,所述程序代码在被处理器读取并运行时,执行如权利要求1-12任一权项所述的方法。
  20. 一种电子设备,其特征在于,包括处理器和存储器,所述处理器和所述存储器通过总线电连接;所述存储器中存储有程序代码;所述处理器配置成通过所述总线从所述存储器中读取并运行所述程序代码,执行如权利要求1-12任一权项所述的方法。
PCT/CN2018/089161 2018-05-31 2018-05-31 模式控制方法、装置、可读存储介质及电子设备 WO2019227368A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/089161 WO2019227368A1 (zh) 2018-05-31 2018-05-31 模式控制方法、装置、可读存储介质及电子设备
CN201880000683.7A CN109451752A (zh) 2018-05-31 2018-05-31 模式控制方法、装置、可读存储介质及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/089161 WO2019227368A1 (zh) 2018-05-31 2018-05-31 模式控制方法、装置、可读存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2019227368A1 true WO2019227368A1 (zh) 2019-12-05

Family

ID=65544036

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089161 WO2019227368A1 (zh) 2018-05-31 2018-05-31 模式控制方法、装置、可读存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN109451752A (zh)
WO (1) WO2019227368A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698272A (zh) * 2019-03-14 2020-09-22 青岛海尔智能技术研发有限公司 一种应用场景的控制方法及系统
CN111736476B (zh) * 2020-05-28 2021-07-27 珠海格力电器股份有限公司 一种联动控制装置、楼宇管理系统及其联动控制方法
CN114879823A (zh) * 2022-03-24 2022-08-09 深圳市广通远驰科技有限公司 温度保护策略的配置方法、装置、电子设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203353A1 (en) * 2002-06-25 2004-10-14 Intel Corporation Apparatus and method to automatically adjust volume or control operation of an appliance
CN103634168A (zh) * 2012-08-20 2014-03-12 海尔集团公司 智能家庭中的家电设备的音量的调节方法和系统
CN205067996U (zh) * 2015-09-30 2016-03-02 王竞 智能家居管理装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7706923B2 (en) * 2003-12-02 2010-04-27 Honeywell International Inc. Controller interface with separate schedule review mode
CN101586866B (zh) * 2009-06-17 2011-09-28 广东美的电器股份有限公司 一种提高变频空调出风温度舒适性的控制方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203353A1 (en) * 2002-06-25 2004-10-14 Intel Corporation Apparatus and method to automatically adjust volume or control operation of an appliance
CN103634168A (zh) * 2012-08-20 2014-03-12 海尔集团公司 智能家庭中的家电设备的音量的调节方法和系统
CN205067996U (zh) * 2015-09-30 2016-03-02 王竞 智能家居管理装置

Also Published As

Publication number Publication date
CN109451752A (zh) 2019-03-08

Similar Documents

Publication Publication Date Title
US11671662B2 (en) Methods and systems for controlling media display in a smart media display environment
CN108447480B (zh) 智能家居设备控制的方法、智能语音终端和网络设备
US20200333810A1 (en) System and method for using a wireless device as a sensor for an energy management system
KR100606760B1 (ko) 사용자 예약에 따른 홈 네트워크 시스템 및 그 제어방법
CN110308660B (zh) 智能设备控制方法及装置
CN113170000B (zh) 设备控制方法、装置、系统、电子设备以及云服务器
WO2020199673A1 (zh) 控制家电设备的方法、装置和家电设备
WO2019227368A1 (zh) 模式控制方法、装置、可读存储介质及电子设备
CN103246267B (zh) 具有三维用户界面的远程控制装置及其界面生成方法
US20170208363A1 (en) Methods and Systems for Automatic Media Output Based on User Proximity
CN105652826A (zh) 一种智能家居控制方法、控制器、移动终端以及系统
WO2020224346A1 (zh) 控制装置及其操作方法,和语音交互装置及其操作方法
CN110618614A (zh) 一种智能家居的控制方法、装置、存储介质及机器人
KR20220041911A (ko) 이벤트 기반 레코딩
KR102498714B1 (ko) 콘텐트 제공을 위한 전자 장치 및 방법
US10445149B2 (en) Method for controlling multiple devices connected via network
CN107392481B (zh) 酒店能耗计算方法、装置及系统
TW202114389A (zh) 家電設備系統、控制方法、及控制程式
JP2000347970A (ja) ホームネットワークシステム及びホストコンピュータ
US20220103888A1 (en) Thermostat with interactive features and system and method for use of same
US20220103889A1 (en) Thermostat with interactive features and system and method for use of same
CN115731684A (zh) 无线按键开关设备的控制方法和装置
CN114911556A (zh) 界面显示方法、装置、设备及存储介质
WO2006072870A1 (en) Remote controller
CN114815635A (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: 18920327

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18920327

Country of ref document: EP

Kind code of ref document: A1