WO2020238174A1 - 电子设备控制方法及装置、计算机可读存储介质 - Google Patents

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

Info

Publication number
WO2020238174A1
WO2020238174A1 PCT/CN2019/126831 CN2019126831W WO2020238174A1 WO 2020238174 A1 WO2020238174 A1 WO 2020238174A1 CN 2019126831 W CN2019126831 W CN 2019126831W WO 2020238174 A1 WO2020238174 A1 WO 2020238174A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
user
electronic
information
acquiring
Prior art date
Application number
PCT/CN2019/126831
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 珠海格力电器股份有限公司
Publication of WO2020238174A1 publication Critical patent/WO2020238174A1/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
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • 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] or 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

Definitions

  • This application relates to the technical field of intelligent electrical appliance control, and in particular to an electronic device control method and device, and a computer-readable storage medium.
  • a user uses an air conditioner for cooling in summer. When the air conditioner fails, the temperature of the environment where the user is located will rise due to the lack of the cooling effect of the air conditioner, so that the user will feel the heat and bring a bad experience to the user.
  • this application provides an electronic device control method and device, and a computer-readable storage medium.
  • An electronic device control method including:
  • a second electronic device with the same function as the first electronic device is acquired according to a preset first database, and the first database is used to record the electronic device
  • the function information of and the association information between multiple different electronic devices, the first database includes the first electronic device and the second electronic device;
  • the acquiring a second electronic device with the same function as the first electronic device according to a preset first database includes:
  • the second electronic device is determined from the at least one third electronic device.
  • determining the second electronic device from the at least one third electronic device includes:
  • the third electronic device with the smallest distance from the user is the second electronic device.
  • the electronic device library further includes priority information of the multiple different electronic devices, and determining the second electronic device from the at least one third electronic device includes:
  • the electronic device with the highest priority among the at least one third electronic device is the second electronic device.
  • the activating the second electronic device includes:
  • this application also provides an electronic device control device, including:
  • the first obtaining module is configured to obtain the working state of the first electronic device, where the working state includes a normal state and a fault state;
  • the second acquiring module is configured to acquire a second electronic device with the same function as the first electronic device according to a preset first database when it is determined that the first electronic device is in the fault state, and the first electronic device
  • a database is used to record function information of electronic devices and associated information between multiple different electronic devices, and the first database includes the first electronic device and the second electronic device;
  • the activation module is used to activate the second electronic device.
  • the second acquisition module is used to:
  • the second electronic device is determined from the at least one third electronic device.
  • the second acquisition module is specifically configured to:
  • the third electronic device with the smallest distance from the user is the second electronic device.
  • the electronic device library further includes priority information of the multiple different electronic devices
  • the second acquiring module is further configured to:
  • the electronic device with the highest priority among the at least one third electronic device is the second electronic device.
  • the startup module is used to:
  • this application also provides an electronic device control device, including:
  • At least one processor and a memory connected to the at least one processor;
  • the memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the method described in the foregoing embodiment by executing the instructions stored in the memory.
  • this application also provides a computer-readable storage medium, including:
  • the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by at least one processor of the computer device, the method as described in the foregoing embodiment is implemented.
  • This application obtains the working status of the first electronic device, and when it is determined that the first electronic device is in a fault state, according to the preset first database, obtains the second electronic device with the same function as the first electronic device, and starts the second electronic device. Therefore, when the first electronic device fails, the present invention can activate the second electronic device with the same function as the first electronic device, and use the second electronic device to replace or compensate the failed first electronic device. When an electronic device fails, the second electronic device continues to provide services to the user, so that the user can still enjoy the corresponding service when the first electronic device fails, which can achieve a technology that improves the user experience of the user when using household appliances effect.
  • FIG. 1 is a flowchart of an electronic device control method provided by an embodiment of the application
  • 2a is a schematic diagram of a relationship network between electronic devices in a preset first database provided by an embodiment of this application;
  • 2b is a schematic diagram of another relationship network between electronic devices in a preset first database provided by an embodiment of the application;
  • FIG. 3 is a schematic structural diagram of an electronic device control apparatus provided by an embodiment of the application.
  • FIG. 4 is a flowchart when the cloud server according to an embodiment of the application executes an electronic device control method
  • FIG. 5 is a schematic diagram of the physical structure of an electronic device control apparatus provided by an embodiment of the application.
  • a method and device for controlling electronic equipment are provided, and the controlling method includes:
  • a second electronic device with the same function as the first electronic device is acquired according to a preset first database, and the first database is used to record the electronic device
  • the function information of and the association information between multiple different electronic devices, the first database includes the first electronic device and the second electronic device;
  • this application can start the second electronic device with the same function as the first electronic device when the first electronic device fails, and use the second electronic device to replace or compensate for the failed first electronic device, That is, when the first electronic device fails, the second electronic device continues to provide services to the user, so that the user can still enjoy the corresponding service when the first electronic device fails, so as to improve the user experience of the user when using household appliances Technical effect.
  • the present application provides an electronic device control method, including the following steps:
  • Step S110 Obtain a working state of the first electronic device, where the working state includes a normal state and a fault state;
  • Step S120 When it is determined that the first electronic device is in the fault state, a second electronic device having the same function as the first electronic device is obtained according to a preset first database, and the first database is used for Recording function information of an electronic device and associated information between multiple different electronic devices, the first database including the first electronic device and the second electronic device;
  • Step S130 start the second electronic device.
  • the control method in the embodiments of the present application is applied to a smart home system.
  • the smart home system includes a control terminal, at least one electronic device, etc.
  • the control terminal is in communication and connection with all electronic devices, and the control terminal controls any electronic device in the system to turn on, Turn off and adjust the working mode of the electronic device.
  • the control terminal includes a computer, server, cloud server, etc.
  • the electronic device in the smart home system is a household appliance, such as a cabinet air conditioner, a wall-mounted air conditioner, Electric fans, mobile air conditioners, air conditioners, electric heaters, electric water heaters, TVs, refrigerators, etc.
  • the control method is executed by the control terminal in the smart home system, or executed by the control device connected to the control terminal.
  • step S110 is executed.
  • the first electronic device When acquiring the working state of the first electronic device, the first electronic device acquires its own working state, and then the first electronic device sends the acquired working state to the electronic device control device, or the electronic device control device detects the first electronic device The working status of the device.
  • the air conditioner detects its own working status.
  • the air conditioner detects that it has a fault, it sends information indicating that the working status of the air conditioner is a fault state to the server.
  • the server obtains the air conditioner The working state is a fault state.
  • the server sends information for detecting the working status to the electronic device connected to it at regular intervals.
  • the air conditioner receives the information, it sends feedback information representing its current working status to the server.
  • the feedback information of the air conditioner obtains the working status of the air conditioner.
  • after the air conditioner receives the information it cannot send feedback information to the server because it is in a fault state, and the server cannot receive the feedback information within a preset time period, and the server determines that the air conditioner is in a fault state.
  • step S120 is executed.
  • a preset first database is stored in the electronic device control device, and the first database is used to record the function information of the electronic device and the associated information between a plurality of different electronic devices.
  • the function information is the work of the electronic device.
  • Each electronic device realizes at least one function when working.
  • the function information of air conditioner includes: "refrigeration”, “heating”, “dehumidification”, etc., if multiple different electronic devices have the same function information , It is considered that there is an association between the multiple electronic devices, that is, there is a corresponding relationship between the multiple electronic devices, and the association information is understood as the corresponding relationship.
  • the first database is a non-relational database or a relational database.
  • a graph database is a non-relational database, which uses graph theory to store relational information between entities.
  • the first database is a graph database, as shown in Figure 2a.
  • Figure 2b exemplarily shows the relationship network between different electronic devices in the graph database.
  • the first database records the relationship network between different electronic devices centered on the user's residence, workplace, etc., for example, the user has 3 residences, then the first database includes at least 3 A relationship network centered on different residences.
  • the user’s home 201 is the center.
  • the home 201 has an electric fan 202, a mobile air conditioner 203, a cabinet air conditioner 204, a wall-mounted air conditioner 205, an air conditioner fan 206, and an electric fan 202.
  • the associated information among mobile air conditioners 203, cabinet air conditioners 204, wall-mounted air conditioners 205, and air-conditioning fans 206 are all marked as "refrigeration", that is, electric fan 202, mobile air conditioner 203, cabinet air conditioner 204, wall-mounted air conditioner 205 Both the air conditioning fan and the air conditioning fan 206 have a cooling function. It should be understood that in a graph database, the relationship between node sets and connected nodes is mainly used.
  • the nodes are home 201, electric fan 202, mobile air conditioner 203, cabinet air conditioner 204,
  • the 6 nodes of the air conditioner 205 and the air conditioner fan 206, the node set is the collection of these 6 nodes, and the relationship between the connected nodes is a unique element of the graph database.
  • the relationship between the connected nodes in Figure 2a is represented by arrows. The relationship between the two nodes.
  • the cabinet type air conditioner 204 is the center, and the home 201 has a cabinet.
  • Type air conditioner 204 and electric fan 202, mobile air conditioner 203, wall-mounted air conditioner 205 or air-conditioning fan 206 among which the relevant information between cabinet-type air conditioner 204 and electric fan 202, mobile air conditioner 203, wall-mounted air conditioner 205 or air-conditioning fan 206 It is "refrigeration”.
  • electric fan 202 mobile air conditioner 203, wall-mounted air conditioner 205 and air-conditioning fan 206
  • electric fan 202 mobile air conditioner 203, wall-mounted air conditioner 205 and air-conditioning fan
  • the associated information between 206 is also "refrigeration”.
  • one or more of the user's residence, electronic device, and function information is used as a keyword to obtain the associated information, as shown in FIG. 2a and FIG. 2b.
  • the relationship network Take the relationship network as an example.
  • the user's residence ie, home 201
  • functional information ie "cooling”
  • the relationship network as shown in Figure 2a is obtained, and the user's residence (ie, home 201) , Electronic equipment (ie, cabinet air conditioner 204) and function information (ie, "refrigeration") as keywords
  • the relationship network as shown in FIG. 2b will be obtained.
  • the second electronic device having the same function as the first electronic device is acquired according to the preset first database. Specifically, when the second electronic device is acquired, it includes Use the following methods:
  • Manner 1 According to the function information of the first electronic device, one of the electronic devices associated with the first electronic device is randomly determined to be the second electronic device.
  • Manner 2 Obtain the working mode of the first electronic device before being in the fault state; determine the function information of the first electronic device in the working mode; use the first electronic device in the working mode
  • the function information below is a keyword. From the related information between the multiple different electronic devices, at least one related information corresponding to the keyword is searched; according to the at least one related information, at least one third electronic device is acquired. Device; determine the second electronic device from the at least one third electronic device.
  • Manner 3 Obtain the first location where the user is located and the second location where each third electronic device in the at least one third electronic device is located; calculate the first location based on each second location and the first location The distance between each third electronic device and the user; the third electronic device with the smallest distance from the user is determined to be the second electronic device.
  • the first electronic device is a cabinet air conditioner, and there are 4 electronic devices with the same functions as the cabinet air conditioner, and the mobile air conditioner is randomly determined as the second electronic device.
  • the first electronic device is allowed to include multiple function information
  • the preset first database is allowed to store multiple relational networks including the first electronic device. Therefore, in some embodiments, the first electronic device is obtained first.
  • the relationship network of electronic devices can be regarded as one piece of related information or multiple pieces of related information.
  • the relationship network in Figure 2a is home-centered, and multiple electronic devices have the function of "refrigeration”.
  • the relationship network of the equipment is a corresponding relationship with "refrigeration" as the connection.
  • the corresponding relationship is that the electric fan 202 is associated with the mobile air conditioner 203, the cabinet air conditioner, the wall-mounted air conditioner 205, and the air conditioning fan 206.
  • the relationship network shown in Figure 2b is centered on electronic equipment. This electronic equipment has a "refrigeration" connection with every other electronic equipment.
  • the electronic equipment has multiple correspondences, such as cabinet air conditioner 204 and electric equipment. There are four correspondences: the fan 202 corresponds, the cabinet air conditioner 204 corresponds to the mobile air conditioner 203, the cabinet air conditioner 204 corresponds to the wall-mounted air conditioner 205, and the cabinet air conditioner 204 corresponds to the air conditioning fan 206.
  • the first electronic device is an air-conditioning fan
  • the function information of the air-conditioning fan includes “cooling” and “heating”
  • the working mode of the air-conditioning fan before the failure state is the heating mode, thereby determining the function information of the air-conditioning fan in the heating mode For "heating”.
  • the associated information corresponding to the air-conditioning fan is marked as "cooling” and "heating”.
  • the associated information marked as "heating” corresponds to electronic devices such as wall-mounted air conditioners, mobile air conditioners, and
  • the associated information marked “refrigeration” corresponds to electronic equipment including wall-mounted air conditioners, mobile air conditioners and electric fans.
  • the third electronic device includes wall-mounted air conditioner and mobile air conditioner. And the electric heater, and then determine the electric heater as the second electronic device from the wall-mounted air conditioner, mobile air conditioner and electric heater.
  • each third electronic device is preset with a priority, and the priority is preset by the system, set by the user, or set by the smart home system when the electronic device leaves the factory.
  • the third electronic device includes electric fans, mobile air conditioners, and air-conditioning fans. The user sets the priority of the air-conditioning fan to be higher than the priority of the electric fan and higher than the priority of the mobile air-conditioning according to their preferences, so that the second electronic device has the highest priority Air conditioning fan.
  • the first position of the user and the second position of each third electronic device in the at least one third electronic device are acquired, According to each second location and the first location, the distance between each third electronic device and the user is calculated, so as to determine that the third electronic device with the smallest distance from the user is the second electronic device.
  • the first position and the second position are acquired through microwave radar technology, and the specific radar band and working mode used can refer to the microwave radar in the prior art, which is not limited here.
  • the first electronic device is a wall-mounted air conditioner
  • the determined third electronic device includes an electric fan, a mobile air conditioner, and a cabinet air conditioner.
  • the acquired first position and second position are precise coordinates, and the linear distance between each third electronic device and the user is calculated according to the coordinates.
  • the distance between the electric fan and the user is 2.2m
  • the mobile air conditioner The distance to the user is 3m
  • the cabinet air conditioner is 3.1m away from the user, so that the distance between the electric fan and the user is the smallest, and the electric fan is determined to be the second electronic device.
  • the first position and the second position are fuzzy positioning, for example, taking the structure of the user's home as a reference, it is obtained that the user is in the master bedroom, the electric fan is in the master bedroom, and the cabinet air conditioner is in the master bedroom. In the living room, the mobile air conditioner is in the second bedroom, so it is determined that the distance between the electric fan in the master bedroom and the user is the smallest, so the electric fan is determined as the second electronic device.
  • step S120 After performing step S120, continue to perform step S130, that is, start the second electronic device.
  • step S130 start the second electronic device.
  • the following methods are included when starting the second electronic device:
  • Mode b sending prompt information to the user’s terminal device; receiving a response message from the terminal device, where the response message is used to indicate whether to start the second electronic device; when the response message indicates to start the second electronic device, start the second electronic device equipment.
  • the second electronic device is directly activated, for example, a startup message is sent to the second electronic device.
  • the startup message includes the working mode.
  • the second electronic device After receiving the startup message, the second electronic device will This operating mode is activated.
  • the working mode in this embodiment refers to the working mode corresponding to both the second electronic device and the first electronic device.
  • the first electronic device is an electric heater
  • the second electronic device is an air conditioning fan
  • the heater is in the heating mode when it is in the working mode before the fault state, so when the air-conditioning fan is started, the air-conditioning fan must also work in the heating mode to achieve the function of using the air-conditioning fan to compensate for the malfunctioning electric heater.
  • a prompt message needs to be sent to the user's terminal device.
  • the prompt message includes a short message or voice message.
  • the prompt message is used to prompt the user that the first electronic device is malfunctioning and prompt the user to start the second electronic device instead First electronic equipment.
  • the user's terminal equipment includes electronic devices with communication capabilities such as mobile phones, computers, and tablets.
  • the control device of the electronic device needs to wait for a response message sent by the terminal device.
  • the response message is used to indicate whether to start the second electronic device. After receiving the response message, if the response message indicates to start the second electronic device, then start the second electronic device. For the electronic device, if the response message indicates that the second electronic device is not to be activated, the second electronic device is not to be activated.
  • step S130 it is allowed to set the do-not-disturb time, and the above-mentioned method a is used during the do-not-disturb time, and the above-mentioned method b is used outside the do-not-disturb time.
  • the user sets the Do Not Disturb time from 11 pm to 8 am, that is, the user wants not to be disturbed by the prompt message during the evening break, so that during the Do Not Disturb time, if the first electronic device fails, the second electronic device will automatically start The electronic device provides a service for the user, so that the user can still enjoy a comfortable service when the first electronic device fails, and will not be disturbed by the sound of the prompt message.
  • a notification message will also be sent to the user's terminal device.
  • the notification message is used to notify the user that the first electronic device is malfunctioning and start the second electronic device for the user.
  • the notification message will be sent to the terminal device application. , For users to consult.
  • Fig. 3 exemplarily shows the flow when the electronic device control device starts the second electronic device according to the control method in the above method embodiment, where the electronic device control device is a cloud server, the first electronic device is a mobile air conditioner, and the second electronic device The second electronic device is an electric fan as an example.
  • the process includes the following steps:
  • Step S310 the cloud server receives the information that the mobile air conditioner is in a fault state sent by the mobile air conditioner
  • Step S320 the cloud server obtains the function information of the mobile air conditioner that has failed
  • Step S330 the cloud server searches the first database for household appliances that can replace the mobile air conditioner
  • Step S340 the cloud server determines that the home appliance that can replace the mobile air conditioner is an electric fan
  • Step S350 sending prompt information to the user's mobile phone
  • Step S360 the cloud server receives a response message sent by the user's mobile phone instructing to start the electric fan, and starts the electric fan.
  • step S310 the cloud server receives the information indicating the working status of the mobile air conditioner sent by the mobile air conditioner, thereby determining that the mobile air conditioner is in a fault state, and executes step S320, that is, the cloud server obtains the function information of the mobile air conditioner according to the working mode of the mobile air conditioner For example, the mobile air conditioner was in the cooling mode before the failure, so that the function information of the mobile air conditioner was determined to be "cooling".
  • step S330 is executed.
  • the cloud server searches the first database for household appliances that can replace mobile air conditioners.
  • Equipment the electronic equipment includes electric fans, cabinet air conditioners, and air conditioning fans.
  • Step S340 is continued, for example, the cloud server determines that the home appliance with the highest priority is an electric fan according to the priority.
  • step S350 is executed, that is, a prompt message is sent to the user's mobile phone.
  • the prompt message is used to notify the user that the mobile air conditioner is malfunctioning, and it is recommended to start the electric fan.
  • step S360 is executed, after receiving a response message instructing to start the electric fan, the electric fan is started.
  • an electronic device control device 40 including:
  • the first obtaining module 41 is configured to obtain a working state of the first electronic device, where the working state includes a normal state and a fault state;
  • the second acquiring module 42 is configured to acquire a second electronic device with the same function as the first electronic device according to a preset first database when it is determined that the first electronic device is in the fault state.
  • the first database is used to record the function information of the electronic device and the association information between multiple different electronic devices, and the first database includes the first electronic device and the second electronic device;
  • the activation module 43 is used to activate the second electronic device.
  • the second acquisition module is used to:
  • the second electronic device is determined from the at least one third electronic device.
  • the second acquisition module is specifically configured to:
  • the third electronic device with the smallest distance from the user is the second electronic device.
  • the electronic device library further includes priority information of the multiple different electronic devices
  • the second acquiring module is further configured to:
  • the electronic device with the highest priority among the at least one third electronic device is the second electronic device.
  • the startup module is used to:
  • an electronic device control device 50 including:
  • At least one processor 51 and a memory 52 connected to the at least one processor 51;
  • the memory 52 stores instructions that can be executed by the at least one processor 51, and the at least one processor 51 executes the instructions stored in the memory 52 to execute the steps of the method described in the foregoing method embodiment.
  • the processor 51 specifically includes a central processing unit (CPU) or an application specific integrated circuit (ASIC).
  • the processor is one or more integrated circuits used to control program execution; in other specific embodiments, the processor is developed using a field programmable gate array (FPGA) Hardware circuit; in other specific embodiments, the controller is a baseband processor.
  • FPGA field programmable gate array
  • the processor 51 includes at least one processing core.
  • the device further includes a memory 52.
  • the memory 52 includes a read only memory (ROM), a random access memory (RAM), and a disk memory.
  • the memory 52 is used to store data required by the processor 51 during operation.
  • This application also provides a computer-readable storage medium, including:
  • the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by at least one processor of the computer device, the method as described in the foregoing method embodiment is implemented.
  • the working state of the first electronic device is acquired.
  • a second electronic device with the same function as the first electronic device is acquired according to a preset first database, and Start the second electronic device. Therefore, this application can start the second electronic device with the same function as the first electronic device when the first electronic device fails, and use the second electronic device to replace or compensate the failed first electronic device, That is, when the first electronic device fails, the second electronic device continues to provide services to the user, so that the user can still enjoy the corresponding service when the first electronic device fails, which can improve the user’s user experience when using household appliances.
  • the technical effects are provided.
  • the embodiments of the present application are provided as methods, systems, or computer program products. Therefore, this application adopts a form including a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application adopts the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, optical storage, etc.
  • these computer program instructions are stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate instructions including the manufacture of the device
  • the instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • these computer program instructions are loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable data processing equipment
  • the instructions executed on the device provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Selective Calling Equipment (AREA)

Abstract

一种电子设备(202,203,204,205,206)控制方法及装置(40,50),控制方法包括:(S110)获取第一电子设备的工作状态;(S120)在确定第一电子设备处于故障状态时,根据预设的第一数据库,获取与第一电子设备具备相同功能的第二电子设备;(S130)启动第二电子设备。有益效果:能够在第一电子设备出现故障时,启动与第一电子设备具备相同功能的第二电子设备,利用第二电子设备替代或补偿故障的第一电子设备继续向用户提供服务,从而用户能在第一电子设备发生故障时仍然享受到相应的服务。

Description

电子设备控制方法及装置、计算机可读存储介质
相关申请
本申请要求2019年05月29日申请的,申请号为201910456334.2,名称为“一种电子设备控制方法及装置”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及智能电器控制技术领域,尤其涉及一种电子设备控制方法及装置、计算机可读存储介质。
背景技术
家用电器的出现提高了用户的生活品质,给用户带来了便利,但日常生活中家用电器出现故障是不可避免的,家用电器出现故障后就需要等待维修或购买新的家用电器。虽然目前已有很多能够迅速发现家用电器出现故障并通知售后服务人员进行维修的方法,但一旦家用电器发生故障,用户在一段时间内就无法享受该家用电器提供的服务。例如,用户在夏天使用空调制冷,当空调发生故障后,由于没有空调的制冷作用,用户所处环境的温度会升高,从而用户会感受到炎热,给用户带来不好的体验。
发明内容
为了解决如何提高用户在使用家用电器时的用户体验的问题,本申请提供了一种电子设备控制方法及装置、计算机可读存储介质。
一种电子设备控制方法,包括:
获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
启动所述第二电子设备。
在一实施例中,所述根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,包括:
获取所述第一电子设备在处于所述故障状态之前的工作模式;
确定所述第一电子设备在所述工作模式下的功能信息;
以所述第一电子设备在所述工作模式下的功能信息为关键词,从所述多个不同电子设备之间的关联信息中,搜索与所述关键词对应的至少一个关联信息;
根据所述至少一个关联信息,获取至少一个第三电子设备;
从所述至少一个第三电子设备中确定所述第二电子设备。
在一实施例中,从所述至少一个第三电子设备中确定所述第二电子设备,包括:
获取用户所在的第一位置以及所述至少一个第三电子设备中每个第三电子设备所在的第二位置;
根据所述每个第二位置和所述第一位置,计算所述每个第三电子设备与所述用户之间的距离;
确定与所述用户的距离最小的第三电子设备为所述第二电子设备。
在一实施例中,所述电子设备库还包括所述多个不同电子设备的优先级信息,从所述至少一个第三电子设备中确定所述第二电子设备,包括:
确定所述至少一个第三电子设备中优先级最高的电子设备为所述第二电子设备。
在一实施例中,所述启动所述第二电子设备,包括:
向所述用户的终端设备发送提示信息;
接收所述终端设备的响应消息,所述响应消息用于指示是否启动所述第二电子设备;
在所述响应消息指示启动所述第二电子设备时,启动所述第二电子设备。
基于同一申请思路,本申请还提供了一种电子设备控制装置,包括:
第一获取模块,用于获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
第二获取模块,用于在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
启动模块,用于启动所述第二电子设备。
在一实施例中,所述第二获取模块用于:
获取所述第一电子设备在处于所述故障状态之前的工作模式;
确定所述第一电子设备在所述工作模式下的功能信息;
以所述第一电子设备在所述工作模式下的功能信息为关键词,从所述多个不同电子设 备之间的关联信息中,搜索与所述关键词对应的至少一个关联信息;
根据所述至少一个关联信息,获取至少一个第三电子设备;
从所述至少一个第三电子设备中确定所述第二电子设备。
在一实施例中,所述第二获取模块具体用于:
获取用户所在的第一位置以及所述至少一个第三电子设备中每个第三电子设备所在的第二位置;
根据所述每个第二位置和所述第一位置,计算所述每个第三电子设备与所述用户之间的距离;
确定与所述用户的距离最小的第三电子设备为所述第二电子设备。
在一实施例中,所述电子设备库还包括所述多个不同电子设备的优先级信息,所述第二获取模块还用于:
确定所述至少一个第三电子设备中优先级最高的电子设备为所述第二电子设备。
在一实施例中,所述启动模块用于:
向所述用户的终端设备发送提示信息;
接收所述终端设备的响应消息,所述响应消息用于指示是否启动所述第二电子设备;
在所述响应消息指示启动所述第二电子设备时,启动所述第二电子设备。
基于同一申请思路,本申请还提供了一种电子设备控制装置,包括:
至少一个处理器,以及与所述至少一个处理器连接的存储器;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,执行如上述实施例中所述的方法。
基于同一申请思路,本申请还提供了一种计算机可读存储介质,包括:
所述计算机可读存储介质上存储有计算机指令,当所述计算机指令被所述计算机装置的至少一个处理器执行时,实现如上述实施例中所述的方法。
本申请通过获取第一电子设备的工作状态,在确定第一电子设备处于故障状态时,根据预设的第一数据库,获取与第一电子设备具备相同功能的第二电子设备,并启动第二电子设备,因此,本发明能够在第一电子设备出现故障时,启动与第一电子设备具备相同功能的第二电子设备,利用第二电子设备替代或补偿故障的第一电子设备,即在第一电子设备发生故障时,通过第二电子设备继续向用户提供服务,从而用户能在第一电子设备发生故障时仍然享受到相应的服务,可以达到提高用户在使用家用电器时的用户体验的技术效果。
附图说明
图1为本申请实施例提供的电子设备控制方法的流程图;
图2a为本申请实施例提供的预设的第一数据库中电子设备之间的一种关系网络的示意图;
图2b为本申请实施例提供的预设的第一数据库中电子设备之间的另一种关系网络的示意图;
图3为本申请实施例提供的电子设备控制装置的结构示意图;
图4为本申请实施例提供的云服务器执行电子设备控制方法时的流程图;
图5为本申请实施例提供的电子设备控制装置的物理结构示意图。
具体实施方式
为了便于理解本申请,下面将参照相关附图对本申请进行更全面的描述。附图中给出了本申请的较佳的实施例。但是,本申请可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。
本申请实施例中的技术方案的总体思路如下:
提供了一种电子设备控制方法及装置,该控制方法包括:
获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
启动所述第二电子设备。
本实施例中,通过获取第一电子设备的工作状态,在确定第一电子设备处于故障状态时,根据预设的第一数据库,获取与第一电子设备具备相同功能的第二电子设备,并启动第二电子设备,因此,本申请能够在第一电子设备出现故障时,启动与第一电子设备具备相同功能的第二电子设备,利用第二电子设备替代或补偿故障的第一电子设备,即在第一电子设备发生故障时,通过第二电子设备继续向用户提供服务,从而用户能在第一电子设备发生故障时仍然享受到相应的服务,达到提高用户在使用家用电器时的用户体验的技术效果。
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技 术方案进行详细的说明。
如图1所示,本申请提供了一种电子设备控制方法,包括以下步骤:
步骤S110,获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
步骤S120,在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
步骤S130,启动所述第二电子设备。
本申请实施例中的控制方法应用于智能家居系统中,智能家居系统包括控制终端、至少一个电子设备等,控制终端与所有电子设备通信连接,控制终端控制该系统中的任意一个电子设备开启、关闭及调整电子设备的工作模式,其中,在一些实施例中,该控制终端包括计算机、服务器、云服务器等,智能家居系统中的电子设备为家用电器,例如,柜式空调、挂式空调、电风扇、移动空调、空调扇、电暖器、电热水器、电视机、电冰箱等。在一些实施例中,本控制方法由智能家居系统中的控制终端执行、或者由与控制终端连接的控制装置执行。
首先,执行步骤S110。
获取第一电子设备的工作状态时,由第一电子设备获取自身的工作状态,然后第一电子设备将获取到的工作状态发送给电子设备控制装置,或者,由电子设备控制装置检测第一电子设备的工作状态。
为方便说明,下文中以第一电子设备为空调,电子设备控制装置为服务器为例。在一些实施例中,空调检测自身的工作状态,当空调检测到自身出现故障,则将用于表征空调的工作状态为故障状态的信息发送给服务器,服务器接收到该信息后,则获取空调的工作状态为故障状态。在另一些实施例中,服务器每隔一段时间向与其连接的电子设备发送用于检测工作状态的信息,当空调接收该信息后,则向服务器发送表征其当前的工作状态的反馈信息,服务器根据空调的反馈信息获取空调的工作状态。在又一些实施例中,当空调接收该信息后,由于处于故障状态,因此,无法向服务器发送反馈信息,则服务器在预设时长内接收不到反馈信息,从而服务器确定空调处于故障状态。
执行完步骤S110之后,执行步骤S120。
具体来讲,电子设备控制装置中存储有预设的第一数据库,该第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,其中,功能信息为电子设备工作时实现的功能,每个电子设备工作时实现至少一个功能,例如,空调的功能信息包括: “制冷”、“制热”、“除湿”等,若多个不同的电子设备具备相同的功能信息,则认为该多个电子设备之间有关联,即多个电子设备之间存在对应关系,该关联信息理解为该对应关系。例如,空调和电风扇均具备“制冷”功能,则空调和电风扇之间存在对应关系,在一些实施例中,将空调和电风扇之间的关联信息标记为“制冷”,该关联信息就能够表示空调与电风扇是对应的,且具体是通过“制冷”对应。在一些实施例中,该第一数据库是非关系型数据库或关系型数据库,例如,图数据库属于非关系型数据库,其应用图形理论存储实体之间的关系信息,第一数据库是图数据库,图2a和图2b中示例性的给出了图数据库中不同电子设备之间的关系网络。
具体来说,在一些实施例中,第一数据库中以用户的住所、工作场所等为中心记录不同电子设备之间的关系网络,比如用户拥有3个住所,则第一数据库中至少包括3个以不同住所为中心的关系网络,如图2a中以用户的家201为中心,家201中拥有电风扇202、移动空调203、柜式空调204、挂式空调205和空调扇206,电风扇202、移动空调203、柜式空调204、挂式空调205和空调扇206之间的关联信息均标记为“制冷”,也就是,电风扇202、移动空调203、柜式空调204、挂式空调205和空调扇206都具有制冷功能。需要理解的是,在一个图数据库中,主要由节点集和连接节点的关系,以图2a中的关系网络为例,节点就是家201、电风扇202、移动空调203、柜式空调204、挂式空调205和空调扇206这6个节点,节点集就是这6个节点的集合,而连接节点的关系是图数据库特有的组成元素,例如图2a中的连接节点的关系就是以箭头形式表示的两个节点的关系。
在一些实施例中,除了以用户的家为中心,还以电子设备为中心呈现不同电子设备之间的关系网络,如图2b中所示,以柜式空调204为中心,家201中有柜式空调204与电风扇202、移动空调203、挂式空调205或空调扇206,其中,柜式空调204与电风扇202、移动空调203、挂式空调205或空调扇206之间的关联信息都是“制冷”,在图2b中虽然没有标明电风扇202、移动空调203、挂式空调205和空调扇206之间的关联信息,但电风扇202、移动空调203、挂式空调205和空调扇206之间的关联信息也均为“制冷”。
在一些实施例中,在从第一数据库中获取关联信息时,使用用户的住所、电子设备、功能信息中的一者或多者作为关键词来获取关联信息,以图2a和图2b中的关系网络为例,使用用户的住所(即,家201)和功能信息(即“制冷”)作为关键词,则获取到如图2a中的关系网络,而使用用户的住所(即,家201)、电子设备(即,柜式空调204)和功能信息(即“制冷”)作为关键词,则会获取到如图2b中的关系网络。
在一些实施例中,在确定第一电子设备处于故障状态时,根据预设的第一数据库,获取与第一电子设备具备相同功能的第二电子设备,具体在获取第二电子设备时,包括采用 以下方式:
方式1,根据第一电子设备的功能信息,在与第一电子设备存在关联的电子设备中随机确定一个电子设备为第二电子设备。
方式2,获取所述第一电子设备在处于所述故障状态之前的工作模式;确定所述第一电子设备在所述工作模式下的功能信息;以所述第一电子设备在所述工作模式下的功能信息为关键词,从所述多个不同电子设备之间的关联信息中,搜索与所述关键词对应的至少一个关联信息;根据所述至少一个关联信息,获取至少一个第三电子设备;从所述至少一个第三电子设备中确定所述第二电子设备。
方式3,获取用户所在的第一位置以及所述至少一个第三电子设备中每个第三电子设备所在的第二位置;根据所述每个第二位置和所述第一位置,计算所述每个第三电子设备与所述用户之间的距离;确定与所述用户的距离最小的第三电子设备为所述第二电子设备。
对于上述方式1,直接根据第一电子设备的功能信息,由于第一电子设备的关联信息表示第一电子设备与其它电子设备之间的对应关系,从第一电子设备对应的关联信息中就能够查找到与第一电子设备具备相同功能的电子设备,若仅查找到一个电子设备,则确定该电子设备为第二电子设备,若查找到两个及以上的电子设备,则随机确定其中的一个为第二电子设备。以图2b中的关系网络为例,第一电子设备为柜式空调,共有4个与柜式空调具备相同功能的电子设备,随机确定移动空调为第二电子设备。
采用上述方式2时,第一电子设备允许包括多个功能信息,且预设的第一数据库中允许存储有多个包括第一电子设备的关系网络时,所以在一些实施例中,先获取第一电子设备在处于故障状态之前的工作模式,根据该工作模式确定第一电子设备在该工作模式下的功能信息,并以第一电子设备在该工作模式下的功能信息为关键词,从多个不同电子设备之间的关联信息中,搜索与该关键词对应的至少一个关联信息,每个关联信息对应于至少一个第三电子设备,从而通过至少一个关联信息获取至少一个第三电子设备,第三电子设备也是与第一电子设备具备相同功能的电子设备,从而从至少一个第三电子设备中以确定出第二电子设备。需要说明的是,电子设备的关系网络允许看做一个关联信息或多个关联信息,如图2a中的关系网络是以家为中心,多个电子设备均具有“制冷”这一功能信息,电子设备的关系网络是以“制冷”为联系的一个对应关系,该对应关系为电风扇202与移动空调203、柜式空调、挂式空调205以及空调扇206关联。而如图2b中的关系网络是以电子设备为中心,该电子设备与其它的每一个电子设备都具有“制冷”这一联系,该电子设备具有多个对应关系,如柜式空调204与电风扇202对应、柜式空调204与移动空调203 对应、柜式空调204与挂式空调205对应和柜式空调204与空调扇206对应这个4个对应关系。
例如,第一电子设备为空调扇,空调扇的功能信息包括“制冷”和“制热”,该空调扇处于故障状态之前的工作模式为加热模式,从而确定空调扇在加热模式下的功能信息为“制热”。在第一数据库中,与空调扇对应的关联信息被标记为“制冷”和“制热”两种,其中,标记为“制热”的关联信息对应的电子设备有挂式空调、移动空调和电加热器,标记为“制冷”的关联信息对应的电子设备包括挂式空调、移动空调和电风扇。以“制热”为关键词,从有“制冷”和“制热”这两种标记的关联信息中搜索“制热”对应的关联信息,就得到第三电子设备包括挂式空调、移动空调和电加热器,然后从挂式空调、移动空调和电加热器中确定电加热器为第二电子设备。
在方式2中,从至少一个第三电子设备中确定第二电子设备时,在一些实施例中,采用从至少一个第三电子设备中随机确定一个电子设备为第二电子设备;在又一些实施例中,确定至少一个第三电子设备中优先级最高的电子设备为第二电子设备。其中,每个第三电子设备都预先设置有优先级,该优先级是电子设备在出厂时系统预设的、用户设置的或者智能家居系统设置的。例如,第三电子设备包括电风扇、移动空调和空调扇,用户根据自己的喜好设置了空调扇的优先级大于电风扇的优先级大于移动空调的优先级,从而第二电子设备就是优先级最高的空调扇。
对于上述方式3,是在方式2的基础上,确定出至少一个第三电子设备之后,获取用户所在的第一位置和至少一个第三电子设备中每个第三电子设备所在的第二位置,根据每个第二位置和第一位置,计算每个第三电子设备与用户之间的距离,从而确定与用户距离最小的第三电子设备为第二电子设备。具体来讲,在一些实施例中,通过微波雷达技术获取第一位置和第二位置,具体采用的雷达波段和工作方式可以参考现有技术中的微波雷达,在此不作限制。
举例来说,第一电子设备为挂式空调,确定出的第三电子设备包括电风扇、移动空调和柜式空调。在一些实施例中,获取到的第一位置和第二位置是精确的坐标,根据坐标计算出每个第三电子设备与用户的直线距离,比如电风扇与用户的距离为2.2m、移动空调距离用户3m、柜式空调距离用户3.1m,从而电风扇与用户的距离最小,确定电风扇为第二电子设备。在又一些实施例中,获取第一位置和第二位置时是模糊的定位,比如,以用户家中的结构为参考,获取到用户在主卧中、电风扇在主卧中、柜式空调在客厅中、移动空调在次卧中,从而确定同在主卧中的电风扇与用户的距离最小,因此确定电风扇为第二电子设备。
执行完步骤S120之后,继续执行步骤S130,即,启动所述第二电子设备。启动第二电子设备时包括以下方式:
方式a,直接启动第二电子设备。
方式b,向用户的终端设备发送提示信息;接收终端设备的响应消息,所述响应消息用于指示是否启动所述第二电子设备;在响应消息指示启动第二电子设备时,启动第二电子设备。
对于方式a,在获取第二电子设备之后,就直接启动第二电子设备,例如,向第二电子设备发送启动消息,启动消息包括工作模式,第二电子设备接收到该启动消息后,会根据该工作模式启动。需要说明的是,本实施例中的工作模式是指与第二电子设备和第一电子设备均对应的工作模式,例如,第一电子设备为电加热器,第二电子设备为空调扇,电加热器在处于故障状态之前的工作模式时加热模式,从而启动空调扇时需要让空调扇也工作于加热模式,以达到利用空调扇补偿故障的电加热器的作用。
而采用方式b时,需要向用户的终端设备发送提示信息,该提示信息包括短信或者语音信息,该提示信息用于提示用户第一电子设备出现故障,并提示用户可以启动第二电子设备来代替第一电子设备。用户的终端设备包括手机、电脑、平板电脑等具备通信能力的电子设备。此时,电子设备的控制装置需要等待终端设备发送的响应消息,该响应消息用于指示是否启动第二电子设备,在接收到响应消息后,若响应消息指示启动第二电子设备再启动第二电子设备,若响应消息指示不启动第二电子设备,则不启动第二电子设备。需要理解的是,在其它实施例中,还允许设置等待响应消息的时间,如10分钟、30分钟、60分钟等,在该等待时间内没有接收到响应消息就认为用户选择不启动第二电子设备。
进一步,在执行步骤S130时,允许设置免打扰时间,在免打扰时间内采用上述方式a,在免打扰时间外采用上述方式b。例如,用户设置了免打扰时间为下午11点至上午8点,即用户在晚间休息时希望不被提示信息打扰,从而在免打扰时间内,若第一电子设备出现故障,会自动启动第二电子设备为用户提供服务,让用户在第一电子设备出现故障时仍能享受到舒适的服务,并且不会被提示信息的声音打扰。对于上述方式a,也会向用户的终端设备发送通知消息,该通知消息用于通知用户第一电子设备出现故障,并为用户启动第二电子设备,该通知消息会发送至终端设备的应用程序中,以供用户查阅。
图3中示例性的给出了电子设备控制装置根据上述方法实施例中的控制方法启动第二电子设备时流程,其中,以电子设备控制装置为云服务器,第一电子设备为移动空调以及第二电子设备为电风扇为例,该流程包括以下步骤:
步骤S310,云服务器接收移动空调发送的移动空调处于故障状态的信息;
步骤S320,云服务器获取发生故障的移动空调的功能信息;
步骤S330,云服务器从第一数据库中查找可代替移动空调的家电;
步骤S340,云服务器确定可代替移动空调的家电为电风扇;
步骤S350,向用户的手机发送提示信息;
步骤S360,云服务器接收用户的手机发送的指示启动电风扇的响应消息,启动电风扇。
首先,执行步骤S310,云服务器接收移动空调发送的表示移动空调工作状态的信息,从而确定移动空调处于故障状态,并执行步骤S320,即,云服务器根据移动空调的工作模式获取移动空调的功能信息,例如,出现故障前移动空调处于降温模式,从而确定移动空调的功能信息为“制冷”。执行完步骤S320之后,便执行步骤S330,云服务器从第一数据库中查找可替代移动空调的家电,例如根据“制冷”这一关键词,查找与移动空调具有“制冷”对应的关联信息的电子设备,该电子设备包括电风扇、柜式空调、空调扇。继续执行步骤S340,例如,云服务器根据优先级确定出优先级最高的家电是电风扇。执行完步骤S340之后,执行步骤S350,即,向用户的手机发送提示信息,该提示信息用于通知用户移动空调出现故障,建议启动电风扇。最后执行步骤S360,在接收到指示启动电风扇的响应消息后,启动电风扇。
参见图4,基于同一申请构思,本申请提供了一种电子设备控制装置40,包括:
第一获取模块41,用于获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
第二获取模块42,用于在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
启动模块43,用于启动所述第二电子设备。
在一些实施例中,所述第二获取模块用于:
获取所述第一电子设备在处于所述故障状态之前的工作模式;
确定所述第一电子设备在所述工作模式下的功能信息;
以所述第一电子设备在所述工作模式下的功能信息为关键词,从所述多个不同电子设备之间的关联信息中,搜索与所述关键词对应的至少一个关联信息;
根据所述至少一个关联信息,获取至少一个第三电子设备;
从所述至少一个第三电子设备中确定所述第二电子设备。
在一些实施例中,所述第二获取模块具体用于:
获取用户所在的第一位置以及所述至少一个第三电子设备中每个第三电子设备所在的第二位置;
根据所述每个第二位置和所述第一位置,计算所述每个第三电子设备与所述用户之间的距离;
确定与所述用户的距离最小的第三电子设备为所述第二电子设备。
在一些实施例中,所述电子设备库还包括所述多个不同电子设备的优先级信息,所述第二获取模块还用于:
确定所述至少一个第三电子设备中优先级最高的电子设备为所述第二电子设备。
在一些实施例中,所述启动模块用于:
向所述用户的终端设备发送提示信息;
接收所述终端设备的响应消息,所述响应消息用于指示是否启动所述第二电子设备;
在所述响应消息指示启动所述第二电子设备时,启动所述第二电子设备。
参见图5,本申请提供了一种电子设备控制装置50,包括:
至少一个处理器51,以及与所述至少一个处理器51连接的存储器52;
所述存储器52存储有能够被所述至少一个处理器51执行的指令,所述至少一个处理器51通过执行所述存储器52存储的指令,执行如上述方法实施例中所述的方法的步骤。
在一些实施例中,处理器51具体包括中央处理器(central processing unit,CPU)或特定应用集成电路(application specific integrated circuit,ASIC)。在一些具体实施例中,处理器是一个或多个用于控制程序执行的集成电路;在另一些具体实施例中,处理器是使用现场可编程门阵列(field programmable gate array,FPGA)开发的硬件电路;在其它具体实施例中,控制器是基带处理器。
在一些实施例中,处理器51包括至少一个处理核心。
在一些实施例中,该装置还包括存储器52,存储器52包括只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)和磁盘存储器。存储器52用于存储处理器51运行时所需的数据。
本申请还提供了一种计算机可读存储介质,包括:
所述计算机可读存储介质上存储有计算机指令,当所述计算机指令被所述计算机装置的至少一个处理器执行时,实现如上述方法实施例中所述的方法。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
本申请实施例中,获取第一电子设备的工作状态,在确定第一电子设备处于故障状态时,根据预设的第一数据库,获取与第一电子设备具备相同功能的第二电子设备,并启动 第二电子设备,因此,本申请能够在第一电子设备出现故障时,启动与第一电子设备具备相同功能的第二电子设备,利用第二电子设备替代或补偿故障的第一电子设备,即在第一电子设备发生故障时,通过第二电子设备继续向用户提供服务,从而用户能在第一电子设备发生故障时仍然享受到相应的服务,可以达到提高用户在使用家用电器时的用户体验的技术效果。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
本领域内的技术人员应明白,在一些实施例中,本申请的实施例提供为方法、系统、或计算机程序产品。因此,本申请采用包括完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
在一些实施例中,这些计算机程序指令存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
在其它实施例中,这些计算机程序指令装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种电子设备控制方法,其特征在于,包括:
    获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
    在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
    启动所述第二电子设备。
  2. 如权利要求1所述的电子设备控制方法,其特征在于,所述根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,包括:
    获取所述第一电子设备在处于所述故障状态之前的工作模式;
    确定所述第一电子设备在所述工作模式下的功能信息;
    以所述第一电子设备在所述工作模式下的功能信息为关键词,从所述多个不同电子设备之间的关联信息中,搜索与所述关键词对应的至少一个关联信息;
    根据所述至少一个关联信息,获取至少一个第三电子设备;
    从所述至少一个第三电子设备中确定所述第二电子设备。
  3. 如权利要求2所述的电子设备控制方法,其特征在于,从所述至少一个第三电子设备中确定所述第二电子设备,包括:
    获取用户所在的第一位置以及所述至少一个第三电子设备中每个第三电子设备所在的第二位置;
    根据所述每个第二位置和所述第一位置,计算所述每个第三电子设备与所述用户之间的距离;
    确定与所述用户的距离最小的第三电子设备为所述第二电子设备。
  4. 如权利要求2所述的电子设备控制方法,其特征在于,所述电子设备库还包括所述多个不同电子设备的优先级信息,从所述至少一个第三电子设备中确定所述第二电子设备,包括:
    确定所述至少一个第三电子设备中优先级最高的电子设备为所述第二电子设备。
  5. 如权利要求1-4中任一项所述的电子设备控制方法,其特征在于,所述启动所述第二电子设备,包括:
    向所述用户的终端设备发送提示信息;
    接收所述终端设备的响应消息,所述响应消息用于指示是否启动所述第二电子设备;
    在所述响应消息指示启动所述第二电子设备时,启动所述第二电子设备。
  6. 一种电子设备控制装置,其特征在于,包括:
    第一获取模块,用于获取第一电子设备的工作状态,所述工作状态包括正常状态和故障状态;
    第二获取模块,用于在确定所述第一电子设备处于所述故障状态时,根据预设的第一数据库,获取与所述第一电子设备具备相同功能的第二电子设备,所述第一数据库用于记录电子设备的功能信息以及多个不同电子设备之间的关联信息,所述第一数据库包括所述第一电子设备和所述第二电子设备;
    启动模块,用于启动所述第二电子设备。
  7. 如权利要求6所述的电子设备控制装置,其特征在于,所述第二获取模块用于:
    获取所述第一电子设备在处于所述故障状态之前的工作模式;
    确定所述第一电子设备在所述工作模式下的功能信息;
    以所述第一电子设备在所述工作模式下的功能信息为关键词,从所述多个不同电子设备之间的关联信息中,搜索与所述关键词对应的至少一个关联信息;
    根据所述至少一个关联信息,获取至少一个第三电子设备;
    从所述至少一个第三电子设备中确定所述第二电子设备。
  8. 如权利要求7所述的电子设备控制装置,其特征在于,所述第二获取模块具体用于:
    获取用户所在的第一位置以及所述至少一个第三电子设备中每个第三电子设备所在的第二位置;
    根据所述每个第二位置和所述第一位置,计算所述每个第三电子设备与所述用户之间的距离;
    确定与所述用户的距离最小的第三电子设备为所述第二电子设备。
  9. 一种电子设备控制装置,其特征在于,包括:
    至少一个处理器,以及与所述至少一个处理器连接的存储器;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,执行如权利要求1-5中任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,包括:
    所述计算机可读存储介质上存储有计算机指令,当所述计算机指令被所述计算机装置的至少一个处理器执行时,实现如权利要求1-5中任一项所述的方法。
PCT/CN2019/126831 2019-05-29 2019-12-20 电子设备控制方法及装置、计算机可读存储介质 WO2020238174A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910456334.2A CN112015090A (zh) 2019-05-29 2019-05-29 一种电子设备控制方法及装置
CN201910456334.2 2019-05-29

Publications (1)

Publication Number Publication Date
WO2020238174A1 true WO2020238174A1 (zh) 2020-12-03

Family

ID=73501678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/126831 WO2020238174A1 (zh) 2019-05-29 2019-12-20 电子设备控制方法及装置、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN112015090A (zh)
WO (1) WO2020238174A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114815642A (zh) * 2022-03-30 2022-07-29 青岛海尔科技有限公司 智能设备的控制方法和装置、存储介质及电子装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104033992A (zh) * 2014-06-06 2014-09-10 广东美的暖通设备有限公司 多联机空调故障处理方法及空调器
CN105783207A (zh) * 2016-05-12 2016-07-20 青岛海信电子设备股份有限公司 一种空调系统控制方法及空调系统
JP2017083137A (ja) * 2015-10-30 2017-05-18 シャープ株式会社 補助ヒータを備えた電気機器
CN107678891A (zh) * 2017-10-13 2018-02-09 郑州云海信息技术有限公司 一种存储系统的双控方法、装置及可读存储介质
CN107680295A (zh) * 2017-06-12 2018-02-09 平安科技(深圳)有限公司 柜员机控件更新方法和装置
CN108088046A (zh) * 2018-01-10 2018-05-29 珠海格力电器股份有限公司 空调设备及控制装置和显示屏故障处理方法
CN110515307A (zh) * 2019-08-27 2019-11-29 珠海格力电器股份有限公司 一种控制智能家居设备的方法及网络设备

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9079125B2 (en) * 2010-09-07 2015-07-14 Liberty Evans, Llc Modular wastewater treatment system management
CN103020049A (zh) * 2011-09-20 2013-04-03 中国电信股份有限公司 搜索方法及搜索系统
CN103091589B (zh) * 2013-01-24 2016-01-20 中国神华能源股份有限公司 一种电气设备故障的应急处理方法
KR20150026257A (ko) * 2013-09-02 2015-03-11 삼성전자주식회사 액세서리의 정보를 업 데이트하는 전자 장치 및 방법
CN103499960B (zh) * 2013-10-09 2016-05-11 广东索博智能科技有限公司 智能家居无线控制系统
CN104571036B (zh) * 2014-12-29 2017-04-12 小米科技有限责任公司 智能家居开启方法及装置
CN104596031B (zh) * 2014-12-31 2017-06-06 广东美的制冷设备有限公司 服务器、空调器及空调系统
CN104964386A (zh) * 2015-05-29 2015-10-07 广东美的制冷设备有限公司 智能设备控制方法、装置及智能设备控制系统
US10231430B2 (en) * 2015-06-03 2019-03-19 The Gsi Group Llc Animal house climate control system and method for automatic configuration and equipment substitution in the system
CN105180363A (zh) * 2015-09-08 2015-12-23 广东美的制冷设备有限公司 空调器的控制方法、终端及系统
CN107193264B (zh) * 2017-06-07 2019-05-10 四川谊田集群科技有限公司 一种工业自动化事件溯源的方法和系统
CN107703893A (zh) * 2017-09-18 2018-02-16 广东美的制冷设备有限公司 基于日程的家电控制方法、装置和计算机可读存储介质
CN108679779B (zh) * 2018-05-03 2020-06-05 广东美的制冷设备有限公司 空调器室外机、空调器、控制方法、控制器及存储介质
CN109212980A (zh) * 2018-08-09 2019-01-15 珠海格力电器股份有限公司 一种智能家居场景的启动方法及装置
CN109379152B (zh) * 2018-11-16 2024-05-28 国网江苏省电力有限公司电力科学研究院 一种用电信息采集及设备诊断评估仿真装置及实现方法
CN109631244A (zh) * 2018-11-30 2019-04-16 广东美的制冷设备有限公司 控制方法、控制装置、空调器及存储介质
CN109600285B (zh) * 2018-12-26 2020-05-01 北京蓦然认知科技有限公司 一种智能家居中动态构建环境调节规则列表的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104033992A (zh) * 2014-06-06 2014-09-10 广东美的暖通设备有限公司 多联机空调故障处理方法及空调器
JP2017083137A (ja) * 2015-10-30 2017-05-18 シャープ株式会社 補助ヒータを備えた電気機器
CN105783207A (zh) * 2016-05-12 2016-07-20 青岛海信电子设备股份有限公司 一种空调系统控制方法及空调系统
CN107680295A (zh) * 2017-06-12 2018-02-09 平安科技(深圳)有限公司 柜员机控件更新方法和装置
CN107678891A (zh) * 2017-10-13 2018-02-09 郑州云海信息技术有限公司 一种存储系统的双控方法、装置及可读存储介质
CN108088046A (zh) * 2018-01-10 2018-05-29 珠海格力电器股份有限公司 空调设备及控制装置和显示屏故障处理方法
CN110515307A (zh) * 2019-08-27 2019-11-29 珠海格力电器股份有限公司 一种控制智能家居设备的方法及网络设备

Also Published As

Publication number Publication date
CN112015090A (zh) 2020-12-01

Similar Documents

Publication Publication Date Title
CN109219783B (zh) 具有自动设备发现和设备模型分布的建筑物管理系统
CN109257259B (zh) 场景联动控制方法、装置及家电设备
WO2020098755A1 (zh) 一种智能家居控制方法、智能家居设备及存储介质
US9881470B2 (en) Automated crowdsourced power outage identification and staggering of HVAC system restarts
WO2018039814A1 (zh) 一种智能家居控制方法、装置和系统
WO2020199673A1 (zh) 控制家电设备的方法、装置和家电设备
WO2022142623A1 (zh) 智能设备控制方法、装置、电子设备和计算机可读介质
US10698373B2 (en) Device in home network and method for executing instruction in home network
WO2014106443A1 (zh) 一种空调控制系统
WO2021027437A1 (zh) 资源调度方法及系统、计算机可读存储介质
CN113110147A (zh) 智能设备跨平台联动的方法和装置、设备及存储介质
Ahmad et al. Remote Home Management: An alternative for working at home while away
CN105426212B (zh) 虚拟设备组成动态更新方法及装置
WO2020238174A1 (zh) 电子设备控制方法及装置、计算机可读存储介质
CN107477791B (zh) 一种空调漏氟检测方法、装置及空调系统
CN104033993A (zh) 一种信息处理方法及空调
CN104777754B (zh) 一种虚拟设备创建方法及装置
CN103092118A (zh) 家电安全检查系统及方法
US20230204243A1 (en) Systems and methods for optimizing data routing in hvac networks
CN108075908B (zh) 处理操作请求的方法及装置
TWI526867B (zh) 電子裝置與其資訊更新控制模組
CN112147904A (zh) 信息传输方法、装置和家电设备
CN114839887B (zh) 设备属性的配置方法、装置、存储介质及电子装置
KR102723317B1 (ko) Hvac 시스템의 고장 진단 방법 및 이를 이용한 장치
CN110822667A (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: 19931284

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

Country of ref document: EP

Kind code of ref document: A1